Method for viewing log on in-vehicle infotainment unit, electronic device, in-vehicle infotainment unit and vehicle
By using built-in log viewing software on the car machine and using multi-screen hardware to view logs directly on the car machine, the problems of cumbersome and unreal-time operations in the existing technology are solved, and a simple and efficient log viewing experience is achieved.
Patent Information
- Application Number
- PCT/CN2024/112986
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-13
- Filing Date
- 2024-08-19
- Publication Date
- 2025-06-19
AI Technical Summary
The prior art is complicated to view logs on the vehicle computer, requiring multiple steps and relying on external devices such as PC and USB cables, and the operation process is complicated and not real-time.
It provides a method to view logs on the car machine. Through the built-in log viewing software, it uses multiple screen hardware in the existing car cockpit to view system logs directly on the car machine, and supports format conversion and display of text and non-text format logs.
Simplifies log viewing operations, reduces dependence on external devices, realizes real-time log viewing, and improves log viewing efficiency and user experience.
Smart Images

Figure CN2024112986_19062025_PF_FP_ABST
Abstract
Description
Method for viewing logs on vehicle computer, electronic device, vehicle computer and vehicle Technical Field
[0001] The present invention relates to a method for viewing a log, an electronic device, a vehicle computer and a vehicle, and in particular to a method for viewing a log on a vehicle computer, an electronic device, a vehicle computer and a vehicle. Background Art
[0002] Vehicle logs are crucial in the automotive industry, recording various vehicle information and events. Logs are an essential and crucial module during the system development phase. After vehicles enter production and maintenance, logs provide crucial insights for locating and resolving vehicle issues. Logs are crucial in several ways:
[0003] System debugging and problem location: System logs are a key tool for developers to troubleshoot problems. When an application or operating system exhibits unusual behavior, crashes, or errors, system logs can provide detailed information about the problem, helping developers quickly locate the cause.
[0004] Performance optimization: System logs record application and operating system performance data, including response time, memory usage, CPU utilization, etc. Developers can analyze this data, identify performance bottlenecks, and take measures to optimize application performance.
[0005] Security Analysis: System logs can also be used to monitor the security of applications and operating systems. By examining logs, developers can identify potential security vulnerabilities, abnormal behavior, and unauthorized access, thereby improving application security.
[0006] User Support: When users encounter problems, they often provide error logs generated by the application or system, which helps developers better understand the problem and provide more effective support. System logs can provide context for the problem and help quickly resolve user feedback.
[0007] In the prior art, viewing logs on a vehicle computer is cumbersome and requires the following steps:
[0008] A PC device is required to connect to the vehicle system, and according to the operating system on the PC device, select the corresponding version of the driver and configure it.
[0009] A USB cable is required to connect the PC and the car system.
[0010] The vehicle must have a USB port reserved for the connection. R&D vehicles typically have only one USB debugging port, and some even require manual wiring to connect the USB debugging port. Production vehicles generally do not have a USB debugging port.
[0011] The vehicle system needs to have debugging service software and set corresponding permissions, run the ADB server, and allow the PC to connect via USB.
[0012] You can use the adb tool to view system logs only if all of the above prerequisites are met. adb only provides command-line operations, which imposes many limitations on its use.
[0013] The overall operation process is relatively complex and requires reliance on multiple hardware and software, which greatly limits log viewing operations and creates many obstacles for development and debugging. In many cases, the conditions for real-time debugging and viewing logs are not available, and the only option is to export logs to a USB flash drive after the problem occurs. This operation method will cause more problems:
[0014] Due to a long time or too many input logs, when a problem occurs, the related logs are overwritten and the exported logs are invalid for solving the problem.
[0015] A lot of logs are exported, so it takes more time to analyze the logs and locate the problem.
[0016] In reality, there are multiple vehicles and the system version of the same vehicle is frequently updated. To match the log to a specific vehicle, it may be necessary to restore the specific system version when the problem occurred. All of these will increase the workload and may even be difficult to achieve.
[0017] Summary of the Invention
[0018] The object of the present invention is to provide a method for viewing logs on a vehicle computer, an electronic device, a vehicle computer and a vehicle, so as to solve the shortcomings of the prior art.
[0019] The present invention provides the following solutions:
[0020] A method for viewing logs on a vehicle computer, comprising:
[0021] Start the log viewing software and read the log data and corresponding configuration files according to the log type;
[0022] Display the log viewing software interface on the specified screen, or:
[0023] Detect the currently idle display screens, select a display screen to display the log file according to a preset priority, or randomly select a display screen to display the log viewing software interface.
[0024] Furthermore, the reading of log data and corresponding configuration files according to the log type further includes:
[0025] Get the log type to be viewed and obtain the log data source information corresponding to the log type to be viewed from the configuration file;
[0026] If the log to be viewed is a text format log, the log content data to be viewed is sent to the display screen buffer, and the corresponding log content is displayed on the log viewing software interface;
[0027] If the log to be viewed is a non-text format log, the log to be viewed is converted into a text format and then sent to the display screen buffer.
[0028] Furthermore, the format conversion of the log to be viewed is specifically performed by obtaining a converter program corresponding to the log type from a configuration file corresponding to the log file.
[0029] Furthermore, the selection of the display screen according to the preset priority is specifically as follows:
[0030] The order of priority from high to low is: central control screen, passenger screen and rear seat screen;
[0031] When the car computer screen displays the log file, it is displayed in full screen, or the car computer window is divided into multiple sub-windows, and different types of logs are displayed in each sub-window.
[0032] Furthermore, when the vehicle computer window is divided into multiple sub-windows and different types of logs are displayed in each sub-window, the content of the log window is automatically scrolled as the log is output by default, or:
[0033] Drag the scroll bar through human-computer interaction to view the log content.
[0034] A system for viewing logs on a vehicle computer, comprising:
[0035] The log viewing software startup module is used to start the log viewing software and read the log data and corresponding configuration files according to the log type;
[0036] The first log viewing software interface display module is used to display the log viewing software interface on a designated screen, or:
[0037] The second log viewing software interface display module is used to detect the currently idle display screen, select a display screen to display the log file according to a preset priority, or randomly select a display screen to display the log viewing software interface.
[0038] A vehicle computer is provided with a system for viewing logs on the vehicle computer.
[0039] An electronic device comprises: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method.
[0040] A computer-readable storage medium stores a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of the method.
[0041] A vehicle, comprising:
[0042] An electronic device for implementing the method described;
[0043] a processor that runs a program, and when the program runs, performs the steps of the method on data output from the electronic device;
[0044] The storage medium is used to store a program, and when the program is run, the program executes the steps of the method for data output from the electronic device.
[0045] Compared with the prior art, the present invention has the following advantages:
[0046] The present invention provides a built-in application software on the vehicle computer, through which the system log can be viewed. This can reduce the dependence on external devices, such as PCs and USB cables, and eliminate the need for some system services and configurations to check the log.
[0047] The present invention can fully utilize the multiple screen hardware in existing car cockpits, not only to view logs, but also to configure or automatically optimize display modes for actual debugging scenarios. The current configuration of intelligent car cockpits is mainly composed of 2-4 display screens. The main central control screen is usually larger than 15 inches, with a display area far exceeding the display size of many laptops and a higher resolution. The actual user experience of viewing logs on the car computer is better than that on a small-screen laptop. Due to the rapid development of car computer systems, these favorable conditions have not yet been fully utilized and explored.
[0048] This system not only allows real-time log viewing, but also significantly improves log viewing quality, ease of use, and efficiency through a graphical display and user interface. System issues can be tested and reproduced on-site in actual vehicles, and real-time logs can be used to instantly locate and confirm them, significantly reducing development and debugging time.
[0049] The current vehicle-mounted system has relatively high computing power resources. The impact of the vehicle-mounted log viewing software on the system load is almost negligible. It also makes full use of the existing computing power resources and provides more advanced and convenient debugging methods for research and development.
[0050] This invention combines the existing operating system and hardware environment of smart cockpits, tapping into the potential of hardware resources, simplifying operational processes and usage methods, and providing targeted optimizations tailored to the vehicle's operating environment. This facilitates the viewing and use of vehicle logs, significantly improving R&D efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0052] FIG1 is a flow chart of a method for viewing logs on a vehicle computer.
[0053] FIG2 is an architecture diagram of a system for viewing logs on a vehicle computer.
[0054] FIG3 is one implementation of an embodiment of the present invention in a specific application scenario.
[0055] FIG4 is a second implementation of an embodiment of the present invention in a specific application scenario.
[0056] FIG5 is a diagram of an interactive interface for integrating multiple logs in a vehicle computer display window.
[0057] FIG6 is a diagram of an interactive interface showing different types of logs in multiple sub-windows.
[0058] FIG7 is a schematic structural diagram of an electronic device. DETAILED DESCRIPTION
[0059] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0060] The flowchart of the method for viewing logs on a vehicle computer as shown in FIG1 includes:
[0061] Step S1, start the log viewing software and read the log data and corresponding configuration file according to the log type;
[0062] Specifically, the reading of log data and corresponding configuration files according to the log type further includes:
[0063] Get the log type to be viewed and obtain the log data source information corresponding to the log type to be viewed from the configuration file;
[0064] If the log to be viewed is a text format log, the log content data to be viewed is sent to the display screen buffer, and the corresponding log content is displayed on the log viewing software interface;
[0065] If the log to be viewed is a non-text format log, the log to be viewed is converted into a text format and then sent to the display screen buffer.
[0066] Exemplarily, the format conversion of the log to be viewed is specifically performed by: obtaining a converter program corresponding to the log type from a configuration file corresponding to the log file.
[0067] Step S2, displaying the log viewing software interface on the designated screen, or proceeding to step S3:
[0068] Exemplarily, in step S2, after the application is started, it is displayed in full screen, and according to the log type selected by the user, the log data source is read and the log content is displayed in real time on the interface.
[0069] Step S3: Detect currently idle display screens and select a display screen to display the log file according to a preset priority, or:
[0070] Specifically, the display screen is selected according to a preset priority, specifically:
[0071] The order of priority from high to low is: central control screen, passenger screen and rear seat screen;
[0072] For example, there are multiple display screens in the car cabin, which may include:
[0073] ①Central control display screen between the front driver and the passenger seat
[0074] ②Display screen in front of the co-pilot seat
[0075] ③ Display screens on the back of the driver and co-driver seats (for second-row passengers)
[0076] ④Other display screens.
[0077] When the car computer screen displays the log file, it can be displayed in full screen, or the car computer window can be divided into multiple sub-windows, and different types of logs can be displayed in each sub-window;
[0078] Specifically, when the vehicle computer window is divided into multiple sub-windows and different types of logs are displayed in each sub-window, the content of the log window is automatically scrolled as the log is output by default. You can freeze the current display content and stop it from automatically scrolling as the log is output, or:
[0079] Drag the scroll bar through human-computer interaction to view the log content.
[0080] Exemplarily, the preset priorities are: A priority order: 1-central control screen (highest priority), 2-screen in front of the co-pilot, 3-screen behind the co-pilot (lowest priority).
[0081] B When the 1st central control screen is occupied (an application is active or the user is operating), the 2nd front passenger screen and the 3rd rear passenger screen are idle. The 2nd front passenger screen has a higher priority, and the log shows that the application is automatically displayed on the 2nd front passenger screen.
[0082] During debugging, if the screen in front of the second passenger seat is occupied by a newly launched application and requires operation, the vehicle log viewing application will automatically switch to the idle screen behind the third passenger seat. This is an automatic and dynamic switching based on the actual screen usage.
[0083] Step S4: randomly select a display screen to display the log viewing software interface.
[0084] For the method steps disclosed in the above embodiments, for the purpose of simple description, the method steps are expressed as a series of action combinations. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0085] Any process or method description described in a flowchart or other manner can be understood as: a module, fragment or part of a code that includes one or more executable instructions for implementing a specific logical function or process step, and the scope of the preferred embodiment of the present invention includes alternative implementations, in which the order shown or discussed may not be followed, including executing and implementing the functions in a substantially simultaneous manner or in a reverse order according to the functions involved, or executing computer instructions and implementing the corresponding functions according to program structures such as loops and branches, which can naturally be understood by those skilled in the art when implementing the embodiments of the present invention.
[0086] The system for viewing logs on the vehicle computer, as shown in Figure 2, includes:
[0087] The log viewing software startup module is used to start the log viewing software and read the log data and corresponding configuration files according to the log type;
[0088] The first log viewing software interface display module is used to display the log viewing software interface on a designated screen, or:
[0089] The second log viewing software interface display module is used to detect the currently idle display screen, select a display screen to display the log file according to a preset priority, or randomly select a display screen to display the log viewing software interface.
[0090] It is worth noting that although only some basic functional modules are disclosed in the embodiment of the present invention, it does not mean that the composition of the present system is limited to the above basic functional modules. On the contrary, what this embodiment wants to express is that on the basis of the above basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the existing technology to form an infinite number of embodiments or technical solutions. In other words, this system is open rather than closed. Just because this embodiment only discloses individual basic functional modules, it cannot be considered that the scope of protection of the claims of the present invention is limited to the disclosed basic functional modules. At the same time, for the convenience of description, the above devices are described in terms of functions, which are divided into various units and modules. Of course, when implementing the present invention, the functions of each unit and module can be implemented in the same or one or more software and / or hardware.
[0091] The above-described system implementations are merely illustrative. For example, the various functional modules, units, or subsystems in the system may or may not be physically separate, or may or may not be physical units. They may be located in the same location or distributed across multiple different systems and their subsystems or modules. Those skilled in the art may select some or all of the functional modules, units, or subsystems to achieve the objectives of the embodiments of the present invention based on actual needs. In these cases, those of ordinary skill in the art can understand and implement them without inventive effort.
[0092] As shown in Figures 3, 4, 5, and 6, the vehicle log viewing software improves and optimizes the ability to view logs on the vehicle through the following methods:
[0093] 1. View logs
[0094] (1) After the application is started, it is displayed in full screen. According to the log type selected by the user, the log data source is read and the log content is displayed in real time on the interface. The Android system has many types of log files, such as:
[0095] Logcat logs are log information of the normal operation of the application.
[0096] ANR logs are log records of unresponsive application interfaces.
[0097] Crash log records the call stack information when the application crashes.
[0098] (2) The vehicle log viewing software can flexibly display multiple logs on the interface.
[0099] Method 1: Integrate and display multiple logs in a large window;
[0100] Method 2: Split the application window into multiple sub-windows, and each sub-window displays different types of logs.
[0101] (3) The log window content automatically scrolls with the log output by default. You can freeze the current display content and no longer scroll automatically with the log output, or you can drag the scroll bar to view the output log content.
[0102] (4) The processing flow of log display has been described in other embodiments and will not be repeated here.
[0103] Flexible display across multiple screens:
[0104] (1) There are multiple displays in the car cabin, which may include:
[0105] ①Central control display screen between the front driver and the passenger seat
[0106] ②Display screen in front of the co-pilot seat
[0107] ③ Display screens on the back of the driver and co-driver seats (for second-row passengers)
[0108] ④Other display screens.
[0109] (2) In a car with multiple screens, the car log viewing software can be displayed on multiple screens, and the user can set a variety of display strategies:
[0110] ① Configure the priority order of the display screens in the configuration file, and the software will automatically select the idle high-priority screen for display.
[0111] For example:
[0112] A Priority order: 1-Central control screen (highest priority), 2-Screen in front of the co-pilot, 3-Screen behind the co-pilot (lowest priority).
[0113] B When the 1st central control screen is occupied (an application is active or the user is operating), the 2nd front passenger screen and the 3rd rear passenger screen are idle. The 2nd front passenger screen has a higher priority, and the log shows that the application is automatically displayed on the 2nd front passenger screen.
[0114] During debugging, if the screen in front of the second passenger seat is occupied by a newly launched application and requires operation, the vehicle log viewing application will automatically switch to the idle screen behind the third passenger seat. This is an automatic and dynamic switching based on the actual screen usage.
[0115] ② You can configure a fixed display mode based on the actual usage scenario. For example, if the application to be debugged is displayed on the co-pilot screen, in addition to operations on the co-pilot screen, operations and linkages also need to be performed on the central control screen. In this case, set the log application to be fixedly displayed on the display screen behind the co-pilot.
[0116] ③Simultaneously display different log types on multiple screens. When performing complex debugging, you need to view log information from multiple application processes and multiple types of log information at the same time. You can configure multiple screens to display logs from different applications or different types of logs simultaneously. This mode provides more display space and allows you to display more content simultaneously, without affecting the logs on different screens.
[0117] (3) Screen selection algorithm Please refer to the algorithm flow of software selecting the display screen in other embodiments.
[0118] Optimization operations for vehicle logs:
[0119] (1) Log search and filtering
[0120] Log output is extensive, and the software provides search and filtering capabilities to filter out important information of interest to developers. The existing logcat command can only be used via command-line parameters, or through other tools or scripts for post-log analysis, which is inflexible and inefficient.
[0121] By entering the search keyword in the search box on the interface of the vehicle log viewing software, all log lines that match the search keyword in the log are filtered out.
[0122] (2) Quick menu operation
[0123] In the log display window, a touch interface is provided to simplify log operations. Long press the selected keyword and a shortcut menu will pop up on the interface, providing a variety of convenient functions:
[0124] Search: Click the "Search" menu item to search for keywords.
[0125] Save log fragments: Click and hold a line of log, select "Save log starting position" from the pop-up menu; find the line to save the log end on the interface, select "Save log end position" again, and a save file dialog box will pop up. Enter the name of the saved file and confirm.
[0126] (3) Automatically identify keywords
[0127] Log data has a relatively fixed format, for example:
[0128] 09-07 06:30:22.510 2134 4150D Service Manager: service is started
[0129] The meaning of the fields are:
[0130] 09-07 06:30:22.510, log output time
[0131] 2134, process ID number
[0132] 4150, thread ID number
[0133] D, log level, including: E-error, W-warning, I (capital letter i)-infomation, D-debug and other different levels
[0134] Service Manager, Log Tag
[0135] The log content is followed by TAG.
[0136] The vehicle log viewer automatically identifies information, including process ID, tag, and log tag (TAG). These keywords are specially marked (colored and underlined) on the software interface. Users can click to filter the log according to the clicked keyword information. For example, clicking the process ID of a log line on the interface (such as 2134 in the example above) will filter all log information output by process number 2134; clicking a tag (such as Service Manager in the example above) will filter all log information with this tag.
[0137] This solution significantly optimizes log viewing and operational efficiency. During real-car road testing, R&D personnel can view log information and analyze and locate the cause of problems in real time while sitting in the passenger seat or back seat. This reduces reliance on additional equipment, fully utilizes existing equipment on the vehicle, and improves efficiency. It also enriches the scenarios and processes for on-vehicle development and debugging, freeing them from the limitations of physical connections (USB debugging cables) and allowing them to be used with physical connections, enabling collaborative debugging by multiple people. For example, everyone can simultaneously operate the vehicle screen, control background services on the debugging PC, and view log information on the vehicle.
[0138] As shown in FIG7 , the present invention provides a method and system for viewing logs on a vehicle computer, and also provides a corresponding vehicle computer, electronic equipment, storage medium, and vehicle:
[0139] A vehicle computer is provided with a system for viewing logs on the vehicle computer.
[0140] An electronic device includes: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of a method for viewing a log on a vehicle computer.
[0141] A computer-readable storage medium stores a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of a method for viewing a log on a vehicle computer.
[0142] A vehicle, comprising:
[0143] An electronic device for realizing a method for viewing logs on a vehicle computer;
[0144] a processor, the processor running a program, and when the program is running, executing the steps of the method for viewing logs on a vehicle computer for data output from the electronic device;
[0145] The storage medium is used to store a program. When the program is running, the program executes the steps of the method for viewing logs on a vehicle computer for data output from an electronic device.
[0146] Figure 5 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. The device 800 includes a processor 801, a memory 802, a communication interface 803 and a bus 804. The processor 801, the memory 802 and the communication interface 803 communicate via the bus 804, and may also communicate via other means such as wireless transmission. The memory 802 is used to store instructions, and the processor 801 is used to execute the instructions stored in the memory 802. The memory 802 stores program code 8021, and the processor 801 can call the program code 8021 stored in the memory 802 to execute the method for viewing logs on the vehicle computer.
[0147] It should be understood that in the embodiment of the present application, the processor 801 may be a CPU, or may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0148] The memory 802 may include a read-only memory (ROM) and a random access memory (RAM), and provide instructions and data to the processor 801. The memory 802 may also include a non-volatile random access memory. The memory 802 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0149] In addition to the data bus, the bus 804 may also include a power bus, a control bus, a status signal bus, etc. However, for the sake of clarity, various buses are labeled as the bus 804 in the figure.
[0150] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid state drive (SSD).
[0151] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art, and will not be interpreted in an idealized or overly formal sense unless specifically defined.
[0152] It should be noted that certain terms are used in this specification and claims to refer to specific components. Those skilled in the art will understand that different manufacturers may use different terms to refer to the same component. This specification and claims do not distinguish components based on differences in terms, but rather on differences in their functions.
[0153] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features that are included in other embodiments but not other features, combinations of features from different embodiments are intended to be within the scope of the present invention and to form different embodiments. For example, any one of the embodiments claimed in the claims may be used in any combination in the embodiments of the present invention.
[0155] Throughout this specification, references to terms such as "one embodiment," "example," or "specific example" indicate that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of the present invention. In this specification, schematic representations of these terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0156] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in this field can implement it. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0157] All features disclosed in this specification, or steps in all methods or processes disclosed, except for mutually exclusive features and / or steps, may be combined in any manner. Any feature disclosed in this specification, unless otherwise stated, may be replaced by an alternative feature that is equivalent or serves a similar purpose. That is, unless otherwise stated, each feature is merely an example of a set of equivalent or similar features. Throughout this specification, like reference numerals indicate like elements.
[0158] Those skilled in the art will appreciate that the modules in the devices in the embodiments can be adaptively changed and set in one or more devices different from the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition they can be divided into multiple submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including corresponding claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner can be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including corresponding claims, abstracts and drawings) can be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0159] In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for example, the division of units is merely a logical functional division, and other division methods may be used in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or certain instructions may not be executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units through some interface, which may be electrical, mechanical, or other forms not shown.
[0160] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that one of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.
[0161] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for viewing logs on a vehicle computer, characterized in that: include: Start the log viewing software and read the log data and corresponding configuration files according to the log type; Display the log viewing software interface on the specified screen, or: Detect the currently idle display screen, select a display screen to display the log file according to the preset priority, or randomly select a display screen to display the log viewing software interface.
2. The method for viewing logs on a vehicle computer according to claim 1, characterized in that: The step of reading log data and corresponding configuration files according to log types further includes: Get the log type to be viewed, and obtain the log data source information corresponding to the log type to be viewed from the configuration file; If the log to be viewed is a text format log, the log content data to be viewed is sent to the display screen buffer, and the corresponding log content is displayed on the log viewing software interface; If the log to be viewed is a non-text format log, the format of the log to be viewed is converted, and the file format of the log to be viewed is converted into a text format and then sent to the display screen buffer.
3. The method for viewing logs on a vehicle computer according to claim 2, characterized in that: The format conversion of the log to be viewed is specifically performed by: obtaining a converter program corresponding to the log type from a configuration file corresponding to the log file.
4. The method for viewing logs on a vehicle computer according to claim 1, characterized in that: The selection of the display screen according to the preset priority is specifically: The order of priority from high to low is: center console screen, co-pilot screen and rear seat screen; When the vehicle computer screen displays the log file, it is displayed in full screen, or the vehicle computer window is divided into multiple sub-windows, and different types of logs are displayed in each sub-window.
5. The method for viewing logs on a vehicle computer according to claim 4, characterized in that: When the vehicle computer window is divided into multiple sub-windows and different types of logs are displayed in each sub-window, the content of the log window is automatically scrolled as the log is output by default, or: Drag the scroll bar through human-computer interaction to view the log content.
6. A system for viewing logs on a vehicle computer, characterized in that: include: The log viewing software startup module is used to start the log viewing software and read the log data and the corresponding configuration file according to the log type; The first log viewing software interface display module is used to display the log viewing software interface on a specified screen, or: The second log viewing software interface display module is used to detect the currently idle display screen, select a display screen to display the log file according to a preset priority, or randomly select a display screen to display the log viewing software interface.
7. A vehicle computer, characterized in that: The vehicle computer is provided with the system for viewing logs on the vehicle computer as claimed in claim 7.
8. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method described in any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that: It stores a computer program executable by an electronic device, and when the computer program runs on the electronic device, the electronic device executes the steps of the method described in any one of claims 1 to 5.
10. A vehicle, characterized in that: Specifically include: An electronic device, configured to implement the method according to any one of claims 1 to 6; A processor, wherein the processor runs a program, and when the program runs, the processor performs the steps of the method according to any one of claims 1 to 6 on the data output from the electronic device; A storage medium for storing a program, wherein when the program is run, the program executes the steps of the method according to any one of claims 1 to 6 for data output from an electronic device.
Citation Information
Patent Citations
Apparatus and method for displaying log information
CN102067156A
Log display method and device and electronic equipment
CN113495828A
Vehicle-mounted application log visualization method and system, electronic equipment and storage medium
CN117076262A
Method for checking log on vehicle machine, electronic equipment, vehicle machine and vehicle
CN117931586A
In-vehicle apparatus and log collection system
US20190182275A1