Vehicle central control screen display abnormity positioning method and device, equipment and medium
By obtaining the key signal of the central control screen and analyzing relevant data, the problem of positioning abnormal display of the central control screen is solved, the system stability and security are improved, and the risks caused by black screen are reduced.
Patent Information
- Application Number
- CN202510410710.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-02
- Publication Date
- 2025-07-22
AI Technical Summary
In the prior art, it is difficult to accurately locate the root cause when the vehicle central control screen is displayed abnormally, resulting in limited user operation and safety hazards, especially in navigation systems, which may increase the risk of traffic accidents.
By obtaining the specified key signal pressed by the user within the preset time, the designated data of the central control system is obtained according to the first preset rule, and the reasons for the abnormal screen display are analyzed according to the second preset rule, including screenshot content, memory information, CPU information, input/output information, Bugreport stack information, application performance data, etc.
It realizes accurate positioning of abnormal display of central control screens, reduces the difficulty of R&D and analysis, improves system stability and security, and avoids user operation restrictions and safety hazards caused by black screens.
Smart Images

Figure CN120348148A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device, equipment, and medium for positioning abnormal display on a vehicle's central control screen. Background Art
[0002] With more and more functions in in-vehicle systems, the services will become more and more complex, and the function interactions will also become more and more complex. Frequent interactions of a large number of services will cause the system load to increase, and naturally various problems of abnormal screen displays will occur, such as various difficult problems like black screens, blue screens, restarts, etc.
[0003] Taking the black screen as an example, the black screen is a common stability problem, specifically referring to a pure black interface that appears during the operation of an application program, and the user cannot perform any operations. The black screen problem seriously affects the normal interface operation of users and may also lead to serious safety hazards. For example, if a black screen occurs in the navigation system, the driver will be unable to obtain navigation guidance, increasing the risk of traffic accidents. Solving the black screen problem is very important, especially in the application program development and debugging stages. If these problems are not solved in time and appear in mass-produced vehicles, it will cause huge losses to vehicle manufacturers and users. Currently, it is very difficult to locate the root cause of the problem only from the logs, which also brings difficulties to R & D analysis. Summary of the Invention
[0004] In view of the above defects in the prior art, the present invention provides a method and device, equipment, and medium for positioning abnormal display on a vehicle's central control screen to solve the technical problem that it is difficult to analyze and locate when an abnormal screen display occurs in the prior art.
[0005] To achieve the above object and other related objects, the present invention provides a method for positioning abnormal display on a vehicle's central control screen, including: obtaining a specified key signal pressed by a user when responding to an abnormal screen display on the central control screen of the vehicle within a preset time; obtaining specified data of the central control system of the vehicle according to the specified key signal according to a first preset rule; and positioning the cause of the abnormal screen display of the central control system according to the specified data according to a second preset rule.
[0006] In an embodiment of the present invention, the value range of the preset time is 1 to 20 seconds, and the specified key signal is a plurality of key combination signals defined in a sequential order.
[0007] In an embodiment of the present invention, obtaining the specified data of the central control system of the vehicle according to the specified key signal according to a first preset rule includes: when receiving the specified key signal, setting the attribute value of a first attribute to a preset value; and when monitoring that the attribute value of the first attribute is the preset value, obtaining the specified data of the central control system according to the first preset rule.
[0008] In an embodiment of the present invention, obtaining specified data of the vehicle's central control system according to a first preset rule includes: obtaining a screenshot content of the central control screen; obtaining memory information, CPU information, and input / output information of the central control system according to Rule 1; obtaining Bugreport stack information of the central control system according to Rule 2; obtaining information related to Surface, memory information, Activity, window, display, and input of the central control system according to Rule 3; and obtaining runtime performance data of application programs and system components of the central control system according to Rule 4.
[0009] In an embodiment of the present invention, according to the specified data, positioning the cause of the abnormal screen display of the central control system according to a second preset rule includes: judging whether there is a memory leak according to the memory information: if so, positioning the process that occupies the most memory; judging whether the CPU resources are consumed completely according to the CPU information: if so, positioning the process that consumes the most CPU resources; judging whether there is an IO block according to the input / output information: if so, positioning the process with the highest disk usage rate.
[0010] In an embodiment of the present invention, according to the specified data, positioning the cause of the abnormal screen display of the central control system according to a second preset rule includes: judging whether the screenshot content is abnormal: if so, positioning the problem process according to the information related to Surface, Activity, and window; if not, performing board support package driver analysis and QNX operating system virtualization analysis.
[0011] In an embodiment of the present invention, according to the specified data, positioning the cause of the abnormal screen display of the central control system according to a second preset rule includes: judging whether the cause of the abnormal screen display is caused by an abnormality of the central control system according to the Bugreport stack information: if so, positioning the abnormal program of the central control system; judging whether the display sending process is normal according to the runtime performance data of the application programs and system components: if so, performing board support package driver analysis and QNX operating system virtualization analysis.
[0012] To achieve the above object and other related objects, the present invention further provides a device for positioning abnormal screen display of a vehicle central control screen, including: a signal acquisition unit, configured to acquire a specified key signal pressed by a user when the central control screen of the vehicle shows an abnormal screen display within a preset time; a data acquisition unit, configured to obtain specified data of the vehicle's central control system according to the specified key signal according to a first preset rule; and a processing unit, configured to position the cause of the abnormal screen display of the central control system according to the specified data according to a second preset rule.
[0013] To achieve the above and other related objectives, the present invention further provides an electronic device, including a processor, a memory, and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute the computer program stored in the memory to implement the method provided in any one of the above embodiments.
[0014] To achieve the above and other related objectives, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is used to cause a computer to execute the method provided in any one of the above embodiments.
[0015] Beneficial effects of the present invention: A method, device, equipment, and medium for locating abnormal display on a vehicle central control screen proposed by the present invention. This method triggers the process of locating abnormal display problems through a combination key, which is convenient for users to capture data in a timely manner when encountering problems. Then, it obtains specified data according to the first preset rule and analyzes based on this specified data. The first preset rule can be set according to the situation and can include many judgment logics, so that the problems of abnormal screen display can be fully analyzed, which helps to accurately locate the root cause of the abnormal display. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0017] Figure 1 It is a flowchart of the positioning method provided in an embodiment of the present invention;
[0018] Figure 2 It is the first detailed flowchart of step S200 provided in an embodiment of the present invention;
[0019] Figure 3 It is the second detailed flowchart of step S200 provided in an embodiment of the present invention;
[0020] Figure 4 It is the first detailed flowchart of step S300 provided in an embodiment of the present invention;
[0021] Figure 5 It is the second detailed flowchart of step S300 provided in an embodiment of the present invention;
[0022] Figure 6 It is a schematic diagram of the positioning system provided in an embodiment of the present invention;
[0023] Figure 7Schematic structural diagram of an electronic device provided by an embodiment of the present invention.
[0024] Description of reference numerals in the drawings: 101, signal acquisition unit; 102, data acquisition unit; 103, processing unit; 201, processor; 202, memory. Detailed implementation manners
[0025] The following describes the embodiments of the present invention through specific specific examples. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. It should be noted that, without conflict, the following embodiments and the features in the embodiments can be combined with each other. Except for the specific methods, devices, and materials used in the embodiments, according to the knowledge of those skilled in the art in the technical field and the description of the present invention, any methods, devices, and materials similar to or equivalent to those described in the embodiments of the present invention can also be used to implement the present invention.
[0026] It should be understood that the terms used in the embodiments of the present invention are for the purpose of describing specific specific implementation manners, rather than for limiting the protection scope of the present invention. Unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as commonly understood by those skilled in the technical field of the present invention.
[0027] In the following description, a large number of details are explored to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In some of these embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0028] The flowcharts and block diagrams in the drawings illustrate the architecture, functions, and operations that the methods and computer program products according to various embodiments disclosed in the present invention may achieve. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and this module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that, in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0029] Please refer toFigure 1 , Figure 1 A method for locating an abnormality in a vehicle central control screen display provided in an embodiment of the present invention includes steps S100 to S300.
[0030] Step S100, obtaining the designated button signal pressed by the user in response to the abnormal screen display on the central control screen of the vehicle within a preset time. In order to accurately locate the problem of abnormal screen display, the present invention requires the user to press the designated button within a preset time when the screen display abnormality occurs on the central control screen of the vehicle, so that when the signal is obtained, the positioning method of the present invention can be started. The screen display abnormality can be, for example, a black screen, a blue screen, a display error, etc.
[0031] In a specific embodiment of the present invention, the preset time is a pre-set value, and its value range is 1 to 20 seconds, which can be set as needed. This time will affect the effective time of locating the problem of abnormal screen display. For example, if the preset time is set to 10 seconds, when the specified key signal is obtained, it means that the central control screen of the vehicle has a screen display abnormality problem within 10 seconds, and the subsequent analysis is also mainly based on the data within these 10 seconds.
[0032] In a specific embodiment of the present invention, the designated key signal is a plurality of key combination signals defined in a sequential order. The designated key signal should not conflict with other operation keys as much as possible, and can be set to a key combination of a larger number as much as possible. For example, the designated key signal can be set to: press the custom key 3 times, and then press the square control volume key 3 times. After such setting, if the user's central control screen displays an abnormality during the use of the vehicle (for example, during driving), these keys can be pressed within 10 seconds. After obtaining the user's pressing of the designated key signal, the subsequent steps S200 and S300 can be executed.
[0033] In this step, the central control screen is generally the display screen of the central control system, which is generally independent of the vehicle system and can realize many functions such as navigation, audio and video playback, vehicle control, etc. Common central control systems are mostly Android systems, Hongmeng systems, or iOS systems, etc. In some of the following embodiments, the Android system is used as an example for description.
[0034] Step S200: According to the designated key signal, designated data of the central control system of the vehicle is obtained according to the first preset rule.
[0035] See also Figure 2, in a specific embodiment of the present invention, step S200 includes: S211. When a specified key signal is received, set the attribute value of the first attribute to a preset value; S212. When it is monitored that the attribute value of the first attribute is the preset value, obtain the specified data of the central control system according to the first preset rule. In this embodiment, the reason for introducing the first attribute is to separately set the key operation and the monitoring system. The advantages of doing so are as follows: First, the key operations in the vehicle system are usually processed by the hardware layer, while the monitoring system belongs to the software layer. Since the hardware and software belong to different system modules, directly monitoring the keys requires cross-module communication, increasing complexity and latency; Second, directly allowing the monitoring system to monitor the keys may introduce security risks. By setting the first attribute as an intermediate step, it can be ensured that the monitoring system is only started when needed, improving the stability and security of the system; Third, the separate setting conforms to the modular design principle, facilitating system maintenance and upgrade. In specific implementation, when a specified key signal is received, vendor.log.log_dump_cur_info (i.e., the first attribute) is set to 1, and when this value is monitored to be 1, the specified data is obtained.
[0036] Please refer to Figure 3 , in a specific embodiment of the present invention, obtaining the specified data of the central control system of the vehicle according to the first preset rule includes steps S221 to S225.
[0037] Step S221. Obtain the screenshot content of the central control screen. The screenshot content of the central control screen is crucial for the subsequent analysis of screen display abnormal problems. Therefore, in this step, it is necessary to first obtain the screenshot content of the central control screen.
[0038] Step S222. Obtain the memory information, CPU information, and input / output (I / O) information of the central control system according to Rule 1. Rule 1 is a sub-rule of the first preset rule, and Rule 1 can be understood as the code command for specifically obtaining information. Taking the Android system as an example, Rule 1 corresponds to the following code, and the specified information of the central control system can be obtained through these commands.
[0039] cat / proc / meminfo > ${root_path}procmeminfo.txt; This command grabs the memory usage of the system, including information such as total memory, free memory, cache, and swap space.
[0040] cat / proc / vmstat > ${root_path}vmstat.txt; This command grabs the statistical information of virtual memory, including paging, swapping, memory allocation, etc.
[0041] cat / proc / pressure / io > ${root_path}pressureio.txt; This command captures I / O pressure information and reflects the load of the system on I / O operations.
[0042] cat / proc / pressure / memory > ${root_path}pressurememory.txt; This command captures memory pressure information and reflects the load of the system on memory allocation.
[0043] cat / proc / pressure / cpu > ${root_path}pressurecpu.txt; This command captures CPU pressure information and reflects the load of the system on CPU resources.
[0044] The above information can help analyze the performance bottlenecks of the system, such as problems like insufficient memory, excessive I / O load, or tight CPU resources.
[0045] Step S223, obtain the Bugreport stack information of the central control system according to Rule 2. Bugreport stack information is an important tool for debugging and problem troubleshooting. It provides the detailed status and error context during program operation, helping developers efficiently locate and solve problems. For example, the Bugreport stack information can be obtained through the following code.
[0046] logi "bugreport start..."
[0047] bugreport_result=$( / system / bin / bugreportz)
[0048] bugreport_path=$(echo $bugreport_result | sed's / ^OK: / / ')
[0049] sync
[0050] cp $bugreport_path ${root_path} / bugreport.zip.
[0051] This code is used to generate the BugReport of the Android system, which is a compressed package containing device logs, stack traces, and other diagnostic information.
[0052] Step S224: Obtain the information related to Surface, memory information (meminfo), Activity, Window, Display, and Input of the central control system according to Rule 3. Specifically, in implementation, the relevant information can be obtained through the Android system command dumpsys.
[0053] Among this information, Surface is a low-level object for graphics rendering in Android, usually associated with Window and View. This part of the information can help analyze graphics rendering performance or problems; memory-related information includes detailed information on memory usage, including memory allocation for each process, heap memory, shared memory, etc.; Activity-related information includes the lifecycle state of Activity, task stack, launch mode, etc., which helps analyze the behavior of Activity or troubleshoot related problems; window-related information includes the layout, hierarchy, focus state, etc. of the window. The window is the container of Activity and manages the display and interaction of views; display-related information includes screen resolution, density, current display mode, etc.; input-related information includes touch events, key events, input method state, etc., which helps analyze user interaction or input-related problems.
[0054] In a specific embodiment of the present invention, for example, the above relevant information can be obtained through the following code:
[0055] / system / bin / dumpsysSurfaceFlinger>${root_path}surfaceglinger.txt2>&1
[0056] / system / bin / dumpsysmeminfo>${root_path}meminfo.txt
[0057] / system / bin / dumpsys activity a>${root_path}activity.txt
[0058] / system / bin / dumpsys window w>${root_path}window.txt
[0059] / system / bin / dumpsys display>${root_path}display.txt
[0060] / system / bin / dumpsys input>${root_path}input.txt.
[0061] Step S225: Obtain the runtime performance data of the application programs and system components of the central control system according to Rule 4. For example, these data can be captured through atrace, and the specific code is as follows.
[0062] / system / bin / atrace -o / data / atrace-traces / trace_curinfo.atrace-trace -t 10s -b 200mb sched freq idle am wmgfx view binder_driverhaldalvik camera input res. This code is used to call the atrace tool in the Android system to capture performance data, specify the path and name of the output file, and the generated trace data will be saved to the / data / atrace-traces / trace_curinfo.atrace-trace file. Set the trace duration to 10 seconds, set the size of the trace buffer to 200MB for storing trace data, and specify the event categories to be traced, including: CPU scheduling information (sched), CPU frequency adjustment information (freq), CPU idle status information (idle), Activity Manager information (am), window manager and graphics rendering information (wmgfx), view layout and drawing information (view), Binder driver and Dalvik virtual machine information (binder_driverhaldalvik), camera operation information (camera), user input (such as touch, key) information (input), and resource management information (res).
[0063] cp / data / atrace-traces / trace_curinfo.atrace-trace
[0064] ${root_path}trace_curinfo.atrace-trace. This code is to copy the generated trace file from / data / atrace-traces / trace_curinfo.atrace-trace to
[0065] the ${root_path}trace_curinfo.atrace-trace path, where ${root_path} is a variable representing the prefix of the target path.
[0066] Through the above steps, you can get enough data and save them all in a folder. For example, you can get the following files: XXX.png (screenshot), activity.txt, bugreport.zip, display.txt, input.txt, meminfo.txt, procmeminfo.txt, surfaceglinger.txt, trace_curinfo.atrace-trace, wmstat.txt, window.txt; in addition, you can also get other data information related to screen display abnormalities according to other rules.
[0067] Step S300: According to the specified data, locate the cause of the abnormal screen display of the central control system according to the second preset rule. After enough data is obtained according to step S200, the cause of the abnormal screen display can be analyzed based on these data.
[0068] See also Figure 4 In a specific embodiment of the present invention, step S300 includes steps S311 to S313.
[0069] Step S311, based on the memory information, determine whether there is a memory leak: if so, locate the process that occupies the largest memory. If some processes are abnormal, the excessive memory occupation will lead to memory leaks, resulting in abnormal screen display. Therefore, the abnormal program can be located based on the memory information. For example, through meminfo, it is seen that the memory of a process is increasing in large quantities until the system memory is leaked. Then the system will have low memory, which will lead to various binder communication anomalies, and further the system will freeze and the screen display will be abnormal. It can be determined that this process caused the screen display abnormality.
[0070] Step S312: According to the CPU information, determine whether the CPU resources are exhausted: if so, locate the process that consumes the most CPU resources. Similarly, the CPU resources of the central control system are also limited. If the CPU resources are exhausted, the screen display will be abnormal. Therefore, the process that consumes a lot of CPU resources can be located according to the CPU information.
[0071] Step S313: According to the input / output information, determine whether there is IO blocking: if yes, locate the process with the largest disk usage. In step S200, the input / output (IO) information is obtained, through which it can be seen which process is constantly reading and writing, causing the system IO blocking and causing system abnormality.
[0072] In a specific embodiment of the present invention, step S300 includes: determining whether the screenshot content is abnormal: if so, locating the problem process according to the information related to Surface, Activity, and the window; if not, performing board support package (BSP) driver analysis and QNX operating system virtualization analysis. In this step, if the screenshot content is normal and consistent with the displayed content, it indicates that the data given by the Android application layer is correct, and there is no problem passing through the window display layer and then being synthesized by SurfaceFlinger. At this time, if a screen display abnormality occurs on-site, then board support package (BSP) driver analysis and QNX operating system virtualization analysis are required.
[0073] The BSP is a software support package provided for a specific hardware platform (such as a development board or an embedded device), mainly used for the interaction between the operating system and the hardware. In the Android system, the BSP is the bridge connecting the Android framework and the underlying hardware. In the above embodiment, the screen display abnormality may be caused by an underlying hardware or driver abnormality. Therefore, it is necessary to analyze whether there are problems in the relevant modules of the BSP (such as display drivers, power management, etc.).
[0074] In the above embodiment, if the screenshot content is abnormal (for example, black), then it is necessary to locate the problem process according to the information related to Surface, Activity, and the window. Specifically, if the information of dump activity windowdisplay surfaceflinger shows that the active activity and the focused window have the same package name, and the information in the SurfaceFlinger layer is also the same layer, and at this time the data given by this process is abnormal, then the data given by this process itself is problematic. For example, abnormal projection data of Carplay causes the CSD screen to go black.
[0075] Please refer to Figure 5 , in a specific embodiment of the present invention, step S300 further includes step S321 and step S322.
[0076] Step S321: Based on the Bugreport stack information, determine whether the reason for the abnormal screen display is caused by an abnormality in the central control system. If so, locate the abnormal program in the central control system. Analyze the current background services, active processes, system exceptions, and system crashes through the Bugreport information. For example, if the core service crashes or the core process experiences an ANR (Application Not Responding), which causes the heartbeat not to be sent to QNX, and restarting Android results in a black screen, the cause of the problem can also be confirmed. ANR is a common abnormal phenomenon in the Android system, usually occurring when the main thread of an application is blocked and unable to respond to user operations or system events in a timely manner.
[0077] Step S322: Based on the runtime performance data of the application and system components, determine whether the display delivery process is normal. If so, perform board support package driver analysis and QNX operating system virtualization analysis. Through trace_curinfo.atrace - trace, it is possible to see which process is currently delivering the display from Android to virtualization, and at the same time, it is also possible to see the series of processes from the application data being drawn to the system being synthesized and finally delivered to the BSP for display. If there is a display delivery process, then underlying BSP and virtualization analysis are required. If there is no display delivery process, then Android analysis is required.
[0078] It should be noted that the step division of the above various methods is only for clear description. During implementation, they can be combined into one step or some steps can be split into multiple steps. As long as the same logical relationship is included, they are all within the protection scope of this application. Making insignificant modifications to the algorithm or process or introducing insignificant designs, but without changing the core design of the algorithm and process, are all within the protection scope of this patent.
[0079] Please refer to Figure 6 , Figure 6 A method for locating a black screen problem of a vehicle central control provided by an embodiment of the present invention includes a signal acquisition unit 101, a data acquisition unit 102, and a processing unit 103. Among them, the signal acquisition unit 101 is used to acquire a specified key signal pressed by the user when responding to an abnormal screen display of the vehicle's central control screen within a preset time. The data acquisition unit 102 is used to acquire specified data of the vehicle's central control system according to the specified key signal according to a first preset rule. The processing unit 103 is used to locate the reason for the abnormal screen display of the central control system according to the specified data according to a second preset rule.
[0080] It should be noted that the positioning device for abnormal screen display in this embodiment corresponds to the positioning method for abnormal screen display described above. The functional modules in the positioning device for abnormal screen display respectively correspond to the corresponding steps in the positioning method for abnormal screen display. The positioning device for abnormal screen display in this embodiment can be implemented in cooperation with the positioning method for abnormal screen display. That is, without conflict, the relevant technical details mentioned in the positioning method for abnormal screen display in the above embodiments can also be applied to the positioning device for abnormal screen display in this embodiment.
[0081] Please refer to Figure 7 , Figure 7 which is an electronic device provided by an embodiment of the present invention, including a processor 201, a memory 202, and a communication bus; the communication bus is used to connect the processor 201 and the memory 202; the processor 201 is used to execute the computer program stored in the memory 202 to implement the above-mentioned positioning method for abnormal screen display.
[0082] The above-mentioned electronic device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, etc.
[0083] The above-mentioned electronic device can be any electronic product that can interact with users. For example, a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an Internet Protocol Television (IPTV), a smart wearable device, etc.
[0084] The above-mentioned electronic device may further include a network device and / or a user device. Among them, the network device includes, but is not limited to, a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of hosts or network servers based on cloud computing (Cloud Computing).
[0085] The network where the above-mentioned electronic device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.
[0086] The above-mentioned processor may, for example, be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components; the above-mentioned memory may include a random access memory (RAM for short), and may also include a non-volatile memory, such as at least one disk memory.
[0087] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is used to make a computer execute the above-mentioned method for locating abnormal screen display.
[0088] The above embodiments are only illustrative of the principles and effects of the present invention, and are not used to limit the present invention. Any person familiar with this technology can modify or change the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical idea disclosed by the present invention should still be covered by the claims of the present invention.
Claims
1. A method for locating abnormal display on the central control screen of a vehicle, characterized in that, Including: Obtaining a specified key signal pressed by a user within a preset time in response to a screen display anomaly on the central control screen of a vehicle; Obtaining specified data of the central control system of the vehicle according to the specified key signal according to a first preset rule; Locating the cause of the screen display anomaly of the central control system according to the specified data according to a second preset rule.
2. The positioning method for abnormal display of the vehicle center control screen according to claim 1, characterized in that The value range of the preset time is 1 to 20 seconds, and the specified key signal is a plurality of key combination signals defined in sequence.
3. The vehicle center control screen display abnormality positioning method according to claim 1, characterized in that, Obtaining specified data of the central control system of the vehicle according to the specified key signal according to a first preset rule includes: When the specified key signal is received, setting the attribute value of a first attribute to a preset value; When it is monitored that the attribute value of the first attribute is the preset value, obtaining the specified data of the central control system according to a first preset rule.
4. The positioning method for abnormal display of the vehicle center control screen according to claim 1, characterized in that, Obtaining specified data of the central control system of the vehicle according to a first preset rule includes: Obtaining the screenshot content of the central control screen; Obtaining the memory information, CPU information, and input / output information of the central control system according to Rule 1; Obtaining the Bugreport stack information of the central control system according to Rule 2; Obtaining information related to Surface, memory information, Activity, window, display, and input of the central control system according to Rule 3; Obtaining the runtime performance data of application programs and system components of the central control system according to Rule 4.
5. The positioning method for abnormal display of the vehicle center control screen according to claim 4, characterized in that, Locating the cause of the screen display anomaly of the central control system according to the specified data according to a second preset rule includes: Judging whether there is a memory leak according to the memory information: if so, locating the process that occupies the most memory; Judging whether the CPU resources are consumed completely according to the CPU information: if so, locating the process that consumes the most CPU resources; Judging whether there is an IO block according to the input / output information: if so, locating the process with the highest disk usage rate.
6. The positioning method for abnormal display of the vehicle center control screen according to claim 4, characterized in that, Locating the cause of the screen display anomaly of the central control system according to the specified data according to a second preset rule includes: Judging whether the screenshot content is abnormal: If so, locating the problem process according to the information related to Surface, Activity, and window; If not, performing board support package driver analysis and QNX operating system virtualization analysis.
7. The positioning method for abnormal display of the vehicle center control screen according to claim 4, wherein Locating the cause of the screen display anomaly of the central control system according to the specified data according to a second preset rule includes: Judging whether the cause of the screen display anomaly is caused by a central control system anomaly according to the Bugreport stack information: if so, locating the central control system anomaly program; Judging whether the display sending process is normal according to the runtime performance data of the application programs and system components: if so, performing board support package driver analysis and QNX operating system virtualization analysis.
8. A method for locating abnormal display of a vehicle's central control screen, characterized in that, Including: A signal acquisition unit, configured to obtain a specified key signal pressed by a user within a preset time in response to a screen display anomaly on the central control screen of a vehicle; A data acquisition unit, configured to obtain specified data of the vehicle's central control system according to the specified key signal according to a first preset rule; A processing unit, configured to locate the cause of the abnormal screen display of the central control system according to the specified data according to a second preset rule.
9. An electronic device, characterized in that, It includes a processor, a memory, and a communication bus; the communication bus is used to connect the processor and the memory; the processor is configured to execute a computer program stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A computer program is stored thereon, and the computer program is used to cause a computer to execute the method according to any one of claims 1 to 7.