Display consistency checking method and device, electronic equipment, vehicle and storage medium
By establishing a data buffer between the computing terminal and the display terminal and using timestamps and verification codes to check data consistency, the problem of data inconsistency in interactive display of multiple terminals is solved, and rapid troubleshooting and data transmission efficiency is achieved.
Patent Information
- Application Number
- CN202411151323.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-20
AI Technical Summary
In multi-terminal interactive display, the data displayed by each terminal may be inconsistent, which affects the accuracy and user experience of the display, and the troubleshooting is cumbersome and inefficient.
Establish a data buffer between the calculation terminal and the display terminal, generate and transmit application data with timestamps and verification codes, check data consistency by comparing the timestamps and verification codes, and check connection status and if inconsistencies are found Transmission path, record exception information and retransmit data, and build a backup transmission path to deal with failures.
It realizes rapid and efficient inspection of the consistent data of the display terminal, provides accurate troubleshooting data, improves the efficiency and accuracy of troubleshooting, and ensures the integrity and continuity of data transmission.
Smart Images

Figure CN119172273A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication detection technology, and in particular to a display consistency checking method, device, electronic equipment, vehicle and storage medium. Background Art
[0002] With the continuous development of smart devices, there is a demand for multi-terminal interactive display. However, the data displayed by each terminal may be inconsistent, which in turn affects the accuracy of multi-terminal interactive display and reduces user experience. Summary of the invention
[0003] The main purpose of the embodiments of the present application is to provide a display consistency checking method, device, electronic device, vehicle and storage medium to check whether the displays of various display terminals are consistent.
[0004] To achieve the above object, an embodiment of the present application provides a display consistency checking method in one aspect, the method comprising the following steps:
[0005] Establishing a data buffer between the main transmission paths of the computing terminal and each display terminal;
[0006] Using the computing terminal to generate application data, a timestamp of the application data, and a check code corresponding to the application data;
[0007] Transmitting the application data to the data buffer for preprocessing, and then transmitting the application data from the data buffer to each of the display terminals according to the main transmission path;
[0008] Using each of the display terminals to receive the application data and record the timestamp and the check code corresponding to the application data;
[0009] The timestamp and the verification code recorded by each of the display terminals are compared with the timestamp and the verification code generated by the computing terminal to check whether the application data displayed by each of the display terminals are consistent.
[0010] In some embodiments, the method further comprises the following steps:
[0011] If the application data displayed by each of the display terminals is inconsistent, the connection status, power supply status and data transmission rate between the computing terminal and each of the display terminals are checked to determine whether the main transmission path is normal.
[0012] In some embodiments, the method further comprises the following steps:
[0013] Recording logs using the computing terminal and each of the display terminals;
[0014] identifying anomalies recorded in the log;
[0015] The anomalies are classified according to the states of the computing terminal and each of the display terminals and the configuration environment when the anomalies occur.
[0016] In some embodiments, the method further comprises the following steps:
[0017] If the timestamp recorded by each of the display terminals is inconsistent with the timestamp generated by the computing terminal, or the verification code recorded by each of the display terminals is inconsistent with the verification code generated by the computing terminal, then the inconsistency abnormal information is recorded and displayed and an alarm message is issued;
[0018] The application data is retransmitted according to the display inconsistency exception information.
[0019] In some embodiments, the method further comprises the following steps:
[0020] Building alternate transmission paths;
[0021] If the main transmission path fails, the application data is transmitted from the data buffer to each of the display terminals according to the backup transmission path.
[0022] To achieve the above object, another aspect of an embodiment of the present application provides a display consistency checking device, the device comprising:
[0023] A data buffer establishment unit, used to establish a data buffer between the main transmission paths of the computing terminal and each display terminal;
[0024] A data generating unit, configured to generate application data, a timestamp of the application data, and a check code corresponding to the application data using the computing terminal;
[0025] A data transmission unit, configured to transmit the application data to the data buffer for preprocessing, and then transmit the application data from the data buffer to each of the display terminals according to the main transmission path;
[0026] A data receiving unit, configured to receive the application data using each of the display terminals and record the timestamp and the check code corresponding to the application data;
[0027] The data comparison unit is used to compare the timestamp and the verification code recorded by each display terminal with the timestamp and the verification code generated by the computing terminal, so as to check whether the application data displayed by each display terminal is consistent.
[0028] In some embodiments, the apparatus further comprises:
[0029] The transmission path checking unit is used to check the connection status, power supply status and data transmission rate between the computing terminal and each of the display terminals if the application data displayed by each of the display terminals are inconsistent, so as to determine whether the main transmission path is normal.
[0030] In some embodiments, the apparatus further comprises a log analysis unit, wherein the log analysis unit comprises:
[0031] A log recording unit, used for recording logs using the computing terminal and each of the display terminals;
[0032] an anomaly identification unit, used to identify anomalies recorded in the log;
[0033] The abnormality classification unit is used to classify the abnormality according to the status of the computing terminal and each of the display terminals and the configuration environment when the abnormality occurs.
[0034] In some embodiments, the device further includes a display inconsistency processing unit, and the display inconsistency processing unit includes:
[0035] an abnormality recording and alarm unit, configured to record and display inconsistency abnormality information and issue an alarm message if the timestamp recorded by each of the display terminals is inconsistent with the timestamp generated by the computing terminal, or the verification code recorded by each of the display terminals is inconsistent with the verification code generated by the computing terminal;
[0036] A data retransmission unit is used to retransmit the application data according to the display inconsistency exception information.
[0037] In some embodiments, the device further includes a backup transmission unit, and the backup transmission unit includes:
[0038] A path construction unit, used for constructing a backup transmission path;
[0039] The backup transmission subunit is used to transmit the application data from the data buffer to each of the display terminals according to the backup transmission path if the main transmission path fails.
[0040] To achieve the above purpose, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above display consistency check method when executing the computer program.
[0041] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides a vehicle, which includes a display consistency checking device as described above, or an electronic device as described above.
[0042] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above display consistency checking method is implemented.
[0043] The embodiments of the present application include at least the following beneficial effects:
[0044] The present application can establish a data buffer between the main transmission path of the computing terminal and each display terminal; use the computing terminal to generate application data, generate a timestamp of the application data, and a check code corresponding to the application data; transfer the application data to the data buffer for preprocessing, and then transfer the application data from the data buffer to each display terminal according to the main transmission path; use each display terminal to receive the application data and record the timestamp and check code corresponding to the application data; compare the timestamp and check code recorded by each display terminal with the timestamp and check code generated by the computing terminal, respectively, to check whether the application data displayed by each display terminal is consistent. By comparing the timestamp and check code generated by the computing terminal with the timestamp and check code received by each display terminal, it is possible to efficiently check whether the application data displayed by each display terminal is consistent, realize rapid inspection of whether display inconsistency occurs, and provide accurate inspection data for troubleshooting display inconsistency faults. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0046] Figure 1 A flow chart of a display consistency checking method provided in an embodiment of the present application;
[0047] Figure 2 A diagram of the implementation steps of the backup transmission path provided in the embodiment of the present application;
[0048] Figure 3 A diagram of the implementation steps of log analysis provided in the embodiment of the present application;
[0049] Figure 4 A flowchart of another display consistency checking method provided in an embodiment of the present application;
[0050] Figure 5 A diagram of the implementation steps for eliminating the display inconsistency fault provided by the embodiment of the present application;
[0051] Figure 6 A schematic diagram of the structure of a display consistency checking device provided in an embodiment of the present application;
[0052] Figure 7 A schematic diagram of the structure of another display consistency checking device provided in an embodiment of the present application;
[0053] Figure 8 A schematic diagram of the structure of a log analysis unit provided in an embodiment of the present application;
[0054] Fig. 9 A schematic diagram of the structure of a display inconsistency processing unit provided in an embodiment of the present application;
[0055] Fig.10 A schematic diagram of the structure of a backup transmission unit provided in an embodiment of the present application;
[0056] Fig.11 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.
[0058] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0059] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0061] Before describing the embodiments of the present application in detail, the terms and some related technologies that may be involved in the embodiments of the present application are first described as follows:
[0062] The function of the vehicle automatic navigation system is to calculate the driving route based on the vehicle's current position provided by the GPS receiver and the vehicle's destination input by the user, and refer to the electronic map, and provide the information to the driver during driving. At present, the most widely used related technology is autonomous navigation, whose main feature is that each set of vehicle navigation equipment comes with an electronic map, and the positioning and navigation functions are all completed by the vehicle-mounted equipment. Its working process mainly includes the following steps:
[0063] 1. Input data information. Before departure, the owner enters the destination into the navigation device, directly clicks on the electronic map displayed by the system to select the location, or uses some input method to enter the destination name into the system. Depending on the input device, there can be different place name input methods, and almost all operating functions can be achieved by keys or touch screens. For convenience, products with voice recognition technology are also being developed.
[0064] 2. Display electronic maps. A crucial part of the vehicle navigation system is the electronic map stored in a CD or built-in memory (such as a hard disk). The electronic map stores geographic, road and traffic control information within a certain range, and stores relevant longitude and latitude information corresponding to the location. The vehicle host obtains the calculated longitude and latitude of the current point from the GPS receiver, and by comparing it with the electronic map data, it can determine the current location of the vehicle at any time.
[0065] Generally, the vehicle navigation system sets the vehicle's current location as the starting point by default. After the user enters the destination, the navigation system can automatically calculate the most suitable recommended route based on the map information stored on the electronic map. In some systems, users can also specify the waypoints they want to pass through on the way, or specify certain route selection rules (such as not allowing highways, following the principle of the shortest route, etc.). The recommended route will be displayed in a striking way on the map on the screen, and the current location of the vehicle will also be displayed on the screen at all times for reference. If the vehicle deviates from the recommended route during driving, the system will automatically delete the original route and recalculate the route with the vehicle's current point as the starting point, and use the revised route as the new recommended route.
[0066] Logger is the core component of log processing. log4j has 5 normal levels.
[0067] 1.static Level DEBUG:DEBUG Level indicates that fine-grained information events are very helpful for debugging applications. It is generally believed that debug is enabled when the execution of more important methods requires a detailed view of the running status.
[0068] 2.static Level INFO: INFO level indicates that the message emphasizes the running process of the application at a coarse-grained level. You can use INFO if you only need to know whether the method is running.
[0069] 3.static Level WARN: WARN level indicates a potential error situation.
[0070] 4static Level ERROR: ERROR level indicates that although an error event occurs, it still does not affect the continued operation of the system. ERROR is generally required for exception handling and other situations.
[0071] 5.static Level FATAL: FATAL level indicates that each serious error event will cause the application to exit.
[0072] Additionally, there are two special logging levels available:
[0073] 1.static Level ALL: ALL Level is the lowest level and is used to turn on all logging.
[0074] 2.static Level OFF: OFF Level is the highest level and is used to turn off all logging.
[0075] By defining the level here, you can control the switch of the corresponding level of log information in the application. For example, if the INFO level is defined here, all DEBUG level log information in the application will not be printed.
[0076] The ones with higher priority will be printed out. When the project is in production environment, it is recommended to adjust the log level of debug to warn or higher to avoid generating a large number of logs.
[0077] With the continuous development of the intelligent networking process of the vehicle industry, consumers' understanding of vehicles has gradually changed from "a means of transportation" to a "third space" connecting home and office. As a space carrier, the vehicle cockpit is increasingly valued by vehicle manufacturers and vehicle parts manufacturers. However, the functional layout of the traditional cockpit is scattered, and the human-computer interaction experience between the mechanical instrument and the central control display is poor, which cannot meet consumers' demand for intelligent vehicle cockpits. At the same time, with the development of artificial intelligence, Internet of Vehicles technology, vehicle chips and operating systems, the intelligent cockpit with human-computer interaction as the core and multi-screen linkage is about to emerge. The intelligent cockpit is a complete system composed of electronic devices such as in-vehicle entertainment system, digital LCD instrument, head up display (HUD), streaming media rearview mirror and rear display screen. The intelligent cockpit is an all-round upgrade of the traditional cockpit. In terms of hardware, the traditional mechanical instrument is upgraded to a digital LCD instrument to provide a highly technological screen display for driving information; the streaming media rearview mirror, HUD and rear display screen are added to provide users with complete navigation information, surrounding environment information and entertainment information. In terms of software, it integrates multimodal interaction, intelligent scenarios, and personalized services to meet diverse human-computer interaction needs and enhance consumers' driving experience.
[0078] However, the more functions there are in multi-screen interaction, the greater the risk of failure. Among them, the navigation function is crucial. Now in the intelligent display, the instrument interface faced by the driver will also display the navigation information transmitted by the central control screen. But unlike the central control display screen, the central control display screen calculates the navigation information transmitted and displayed by the application layer of the host, while the navigation information of the instrument screen is transmitted by the host to the instrument display, and the instrument screen is only responsible for receiving signals. Therefore, when testers conduct bench tests or actual vehicle tests, they must observe the displays of both screens at the same time, determine whether they are consistent, and then analyze them by the development end. This not only increases the task load in the test, but also involves too many professional issues in problem tracing, and is too cumbersome and inefficient in analyzing problems.
[0079] Therefore, the embodiments of the present application provide a display consistency check method, device, electronic device, vehicle and storage medium. The technical solution of the present application includes: establishing a data buffer between the main transmission path of the computing terminal and each display terminal; using the computing terminal to generate application data, generate a timestamp of the application data and a check code corresponding to the application data; transmitting the application data to the data buffer for preprocessing, and then transmitting the application data from the data buffer to each display terminal according to the main transmission path; using each display terminal to receive the application data and record the timestamp and check code corresponding to the application data; comparing the timestamp and check code recorded by each display terminal with the timestamp and check code generated by the computing terminal, respectively, to check whether the application data displayed by each display terminal is consistent. By comparing the timestamp and check code generated by the computing terminal with the timestamp and check code received by each display terminal, it is possible to efficiently check whether the application data displayed by each display terminal is consistent, realize rapid inspection of whether display inconsistency occurs, and provide accurate inspection data for troubleshooting display inconsistency faults.
[0080] Reference Figure 1 , the embodiment of the present application provides a display consistency checking method, which may include but is not limited to S100 to S140, as follows:
[0081] S100: Establishing a data buffer between the main transmission paths of the computing terminal and each display terminal.
[0082] Exemplarily, the computing terminal of this embodiment can be the host of the vehicle, that is, the main controller of the vehicle, wherein each display terminal includes a central control display screen and various other instrument screens, the application data displayed on the central control display screen is calculated and transmitted by the application layer of the host, and the application data displayed on each instrument screen is obtained by the host through transmission, and the instrument screen can only be used to receive application data transmitted by the host.
[0083] It is understandable that the data buffer can temporarily store application data generated by the computing terminal to reduce the possibility of application data being lost or damaged during transmission.
[0084] S110: Using the computing terminal to generate application data, a timestamp of the application data, and a verification code corresponding to the application data.
[0085] It is understandable that, when each application data is generated, a corresponding timestamp and a check code may be generated simultaneously. The timestamp may be used to identify the generation time of the application data, and the check code may be used to check the integrity of the application data.
[0086] Exemplarily, the application data of this embodiment may be navigation data, that is, the embodiment of the present application may check whether the current data is displayed consistently between the central control display screen and each instrument screen.
[0087] S120: The application data is transmitted to the data buffer for preprocessing, and then the application data is transmitted from the data buffer to each of the display terminals according to the main transmission path.
[0088] It is understandable that, in this embodiment, the application data may be stored in a data buffer before being transmitted, and the pre-processed application data may be transmitted to each display terminal after being uniformly processed in the data buffer.
[0089] Reference Figure 2 As a further optional implementation, in order to improve the transmission success rate of application data, the embodiment of the present application may further include S201-S202:
[0090] S201: Building a backup transmission path;
[0091] S202: If the main transmission path fails, the application data is transmitted from the data buffer to each of the display terminals according to the backup transmission path.
[0092] Specifically, this embodiment can construct multiple backup transmission paths. When a main transmission path fails, one of the backup transmission paths is arbitrarily selected to transmit the application data from the data buffer to each display terminal according to the selected backup transmission path.
[0093] S130: Utilize each of the display terminals to receive the application data and record the timestamp and the verification code corresponding to the application data.
[0094] It can be understood that in this embodiment, the content of the application data, the corresponding timestamp, the check code, the transmission status and other data can be acquired and recorded through the display terminal.
[0095] Reference Figure 3 As a further optional implementation, in order to facilitate subsequent detection of abnormalities in multi-screen interaction, the embodiment of the present application may further include S301 to S303:
[0096] S301: Recording logs using the computing terminal and each of the display terminals;
[0097] S302: Identify anomalies recorded in the log;
[0098] S303: Classify the exception according to the status of the computing terminal and each of the display terminals and the configuration environment when the exception occurs.
[0099] Exemplarily, the information recorded in the log in this embodiment may include information such as the content of the application data, the sending time, the receiving time, and the check code, and the information recorded in the log may be used for subsequent anomaly detection and troubleshooting.
[0100] S140: Compare the timestamp and the verification code recorded by each of the display terminals with the timestamp and the verification code generated by the computing terminal, respectively, to check whether the application data displayed by each of the display terminals are consistent.
[0101] Specifically, this embodiment can compare whether the timestamp recorded by each display terminal is consistent with the timestamp generated by the computing terminal, and compare whether the verification code recorded by each display terminal is consistent with the verification code generated by the computing terminal, so as to check whether the application data displayed by each display terminal is consistent. If the timestamp and the verification code are consistent, it can be considered that the application data displayed by each display terminal is consistent, otherwise it is considered inconsistent.
[0102] Reference Figure 4 In order to check for inconsistent display faults, the embodiment of the present application may further include:
[0103] S150: If the application data displayed by each of the display terminals is inconsistent, then check the connection status, power supply status and data transmission rate between the computing terminal and each of the display terminals to determine whether the main transmission path is normal.
[0104] It can be understood that the nodes of the transmission path may include computing terminals, various display terminals, data buffers, etc. In order to check whether the main transmission path is normal, this embodiment can check each node on the main transmission path. The inspection content includes node connection status, power supply status, and data transmission rate, etc.
[0105] Reference Figure 5 To eliminate the display inconsistency problem, the embodiment of the present application may further include S501 to S502:
[0106] S501: If the timestamp recorded by each of the display terminals is inconsistent with the timestamp generated by the computing terminal, or the verification code recorded by each of the display terminals is inconsistent with the verification code generated by the computing terminal, recording and displaying inconsistency abnormal information and issuing an alarm message;
[0107] S502: Retransmit the application data according to the display inconsistency exception information.
[0108] It is understandable that if the timestamp or check code is inconsistent, it means that the application data displayed by each display terminal is inconsistent. Therefore, this embodiment can record the display inconsistency exception information through logs, and then retransmit the application data based on the display inconsistency exception information, thereby improving the timeliness and accuracy of application data transmission.
[0109] In addition, when it is detected that the application data displayed on each display terminal is inconsistent, this embodiment can also issue an alarm message, such as a sound alarm, a visual prompt (such as displaying an error message on each display terminal) and a system notification (sending a notification to the driver through the vehicle system).
[0110] Next, the solution of the embodiment of the present application will be introduced and explained in conjunction with specific application examples:
[0111] Specifically, this embodiment may include the following contents:
[0112] S1: Data synchronization mechanism.
[0113] 1.1: Create a data buffer:
[0114] A data buffer is established between the vehicle host and the display terminal (central control display and instrument cluster). The data buffer can be used to temporarily store navigation information (application data) to ensure that the data will not be lost or damaged during transmission.
[0115] The navigation information is stored in the data buffer before transmission, and is then transmitted to each display terminal after being uniformly processed by the data buffer.
[0116] 1.2: Define data synchronization protocol:
[0117] Define a data synchronization protocol to synchronize navigation information between various display terminals. The synchronization protocol includes a timestamp and a checksum to improve the consistency and integrity of navigation information.
[0118] Timestamp: Each navigation information is accompanied by a timestamp when it is generated, which is used to identify the generation time of the navigation information.
[0119] Verification code: Each navigation message is accompanied by a verification code when it is generated, which is used to detect the integrity of the navigation information during transmission.
[0120] S2: Monitoring module.
[0121] 2.1: Install the monitoring module:
[0122] Monitoring modules are installed on the vehicle's main unit, central control display screen and instrument cluster respectively, and the monitoring modules can be used to record the transmission and display status of navigation information in real time.
[0123] The monitoring module can obtain and record key data such as timestamp, navigation information content, and transmission status.
[0124] 2.2: Record log:
[0125] Each monitoring module generates a data log, recording information including the sending time, receiving time, data content and verification code of the navigation information.
[0126] The content recorded in the log can be used for subsequent anomaly detection and troubleshooting.
[0127] S3: Detect anomalies.
[0128] 3.1: Data comparison:
[0129] A data comparison module is set up on the vehicle's host computer to compare the navigation information transmitted to the central control display screen and the instrument cluster in real time.
[0130] The data comparison module compares the timestamp and check code to check the consistency of the navigation information.
[0131] If it is detected that the navigation information displayed by each display terminal is inconsistent, the data comparison module can mark the abnormality and record the abnormal information in the log.
[0132] 3.2: Abnormal alarm:
[0133] If it is detected that the navigation information displayed on each display terminal is inconsistent, the host can immediately send out an alarm signal, which may include sound alarms, visual prompts (such as displaying error information on the screen) and system notifications (sending notifications to the driver through the vehicle system).
[0134] The log records exception information, including the time of occurrence, exception type, data involved, and related node information.
[0135] S4: Troubleshoot.
[0136] 4.1: Log analysis:
[0137] Analyze the abnormal information in the collected logs using a specialized log analysis tool. The log analysis tool can automatically identify and classify abnormalities and generate a detailed fault cause report.
[0138] The analysis content includes the status of each node in the transmission path, the system environment when the exception occurs, etc.
[0139] 4.2: Check the transmission path:
[0140] Check each node on the transmission path, including the host, data buffer, modules defining the synchronization protocol, and each display terminal, to check the working status of each node.
[0141] The inspection contents include node connection status, power supply status, data transmission rate, etc.
[0142] S5: Fault recovery.
[0143] 5.1: Automatic retransmission:
[0144] In this embodiment, an automatic retransmission mechanism may be provided. When it is detected that the navigation information displayed by each display terminal is inconsistent, the host may automatically trigger a retransmission operation and resend the navigation information.
[0145] The retransmission operation is based on the exception information recorded in the log to improve the accuracy and timeliness of the retransmitted data.
[0146] 5.2: Redundant design:
[0147] Build a backup transmission path. When the main transmission path fails, it will automatically switch to the backup transmission path for transmission, thereby improving the continuity of navigation information transmission.
[0148] The redundant design includes multiple independent backup transmission paths, as well as automatic switching and recovery mechanisms.
[0149] This embodiment aims to solve the problem of how to check the inconsistency of navigation information between the central control display screen and the instrument cluster through data synchronization and real-time monitoring, and improve the efficiency and accuracy of troubleshooting. Specifically, this embodiment can solve the following problems:
[0150] Data synchronization issues: Through the data buffer and synchronization protocol, the navigation information can be uniformly processed and synchronously transmitted before being transmitted to each display terminal.
[0151] Real-time problem detection: The monitoring module can check the display consistency of navigation information in real time and respond quickly.
[0152] Automated troubleshooting: Through automated anomaly detection and log analysis, the efficiency of troubleshooting is significantly improved and manual intervention is reduced.
[0153] Reference Figure 6 The embodiment of the present application further provides a display consistency checking device, which can implement the above-mentioned display consistency checking method, and the device includes:
[0154] A data buffer establishment unit, used to establish a data buffer between the main transmission paths of the computing terminal and each display terminal;
[0155] A data generating unit, configured to generate application data, a timestamp of the application data, and a check code corresponding to the application data using the computing terminal;
[0156] A data transmission unit, configured to transmit the application data to the data buffer for preprocessing, and then transmit the application data from the data buffer to each of the display terminals according to the main transmission path;
[0157] A data receiving unit, configured to receive the application data using each of the display terminals and record the timestamp and the check code corresponding to the application data;
[0158] The data comparison unit is used to compare the timestamp and the verification code recorded by each display terminal with the timestamp and the verification code generated by the computing terminal, so as to check whether the application data displayed by each display terminal is consistent.
[0159] Reference Figure 7 In some embodiments, the device further comprises:
[0160] The transmission path checking unit is used to check the connection status, power supply status and data transmission rate between the computing terminal and each of the display terminals if the application data displayed by each of the display terminals are inconsistent, so as to determine whether the main transmission path is normal.
[0161] Reference Figure 8 In some embodiments, the device further comprises a log analysis unit, wherein the log analysis unit comprises:
[0162] A log recording unit, used for recording logs using the computing terminal and each of the display terminals;
[0163] an anomaly identification unit, used to identify anomalies recorded in the log;
[0164] The abnormality classification unit is used to classify the abnormality according to the status of the computing terminal and each of the display terminals and the configuration environment when the abnormality occurs.
[0165] Reference Fig. 9 In some embodiments, the device further comprises a display inconsistency processing unit, and the display inconsistency processing unit comprises:
[0166] an abnormality recording and alarm unit, configured to record and display inconsistency abnormality information and issue an alarm message if the timestamp recorded by each of the display terminals is inconsistent with the timestamp generated by the computing terminal, or the verification code recorded by each of the display terminals is inconsistent with the verification code generated by the computing terminal;
[0167] A data retransmission unit is used to retransmit the application data according to the display inconsistency exception information.
[0168] Reference Fig.10 In some embodiments, the device further comprises a backup transmission unit, and the backup transmission unit comprises:
[0169] A path construction unit, used for constructing a backup transmission path;
[0170] The backup transmission subunit is used to transmit the application data from the data buffer to each of the display terminals according to the backup transmission path if the main transmission path fails.
[0171] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0172] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above display consistency check method when executing the computer program. The electronic device can be any smart terminal including a tablet computer, a car computer, etc.
[0173] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0174] See also Fig.11 , Fig.11 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0175] The processor 1101 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0176] The memory 1102 may be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1102 may store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1102, and the processor 1101 calls and executes the display consistency check method of the embodiment of this application;
[0177] Input / output interface 1103, used to implement information input and output;
[0178] The communication interface 1104 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0179] A bus 1105 that transmits information between various components of the device (e.g., the processor 1101, the memory 1102, the input / output interface 1103, and the communication interface 1104);
[0180] The processor 1101 , the memory 1102 , the input / output interface 1103 and the communication interface 1104 are connected to each other in communication within the device via the bus 1105 .
[0181] The embodiment of the present application also provides a vehicle, which includes a display consistency check device as described above, or an electronic device as described above. Specifically, the vehicle can be a private car, such as a sedan, SUV, MPV or pickup truck. The vehicle can also be an operating vehicle, such as a van, bus, small truck or large trailer. The vehicle can be a gasoline vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it can be a hybrid vehicle or a pure electric vehicle.
[0182] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned display consistency checking method is implemented.
[0183] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0184] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0185] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0186] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0187] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0188] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0189] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0190] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0191] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0192] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0193] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0194] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0195] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A display consistency checking method, characterized in that: The method comprises the following steps: Establishing a data buffer between the main transmission paths of the computing terminal and each display terminal; Using the computing terminal to generate application data, a timestamp of the application data, and a check code corresponding to the application data; Transmitting the application data to the data buffer for preprocessing, and then transmitting the application data from the data buffer to each of the display terminals according to the main transmission path; Using each of the display terminals to receive the application data and record the timestamp and the check code corresponding to the application data; The timestamp and the verification code recorded by each of the display terminals are compared with the timestamp and the verification code generated by the computing terminal to check whether the application data displayed by each of the display terminals are consistent.
2. A display consistency checking method according to claim 1, characterized in that: The method further comprises the following steps: If the application data displayed by each of the display terminals is inconsistent, the connection status, power supply status and data transmission rate between the computing terminal and each of the display terminals are checked to determine whether the main transmission path is normal.
3. A display consistency checking method according to claim 1, characterized in that: The method further comprises the following steps: Recording logs using the computing terminal and each of the display terminals; identifying anomalies recorded in the log; The anomalies are classified according to the states of the computing terminal and each of the display terminals and the configuration environment when the anomalies occur.
4. A display consistency checking method according to claim 1, characterized in that: The method also comprises the following steps: If the timestamp recorded by each of the display terminals is inconsistent with the timestamp generated by the computing terminal, or the verification code recorded by each of the display terminals is inconsistent with the verification code generated by the computing terminal, then the inconsistency abnormal information is recorded and displayed and an alarm message is issued; The application data is retransmitted according to the display inconsistency exception information.
5. A display consistency checking method according to any one of claims 1 to 4, characterized in that: The method also comprises the following steps: Building alternate transmission paths; If the main transmission path fails, the application data is transmitted from the data buffer to each of the display terminals according to the backup transmission path.
6. A display consistency checking device, characterized in that: The device comprises: A data buffer establishment unit, used to establish a data buffer between the main transmission paths of the computing terminal and each display terminal; A data generating unit, configured to generate application data, a timestamp of the application data, and a check code corresponding to the application data using the computing terminal; A data transmission unit, configured to transmit the application data to the data buffer for preprocessing, and then transmit the application data from the data buffer to each of the display terminals according to the main transmission path; A data receiving unit, configured to receive the application data using each of the display terminals and record the timestamp and the check code corresponding to the application data; The data comparison unit is used to compare the timestamp and the verification code recorded by each display terminal with the timestamp and the verification code generated by the computing terminal, so as to check whether the application data displayed by each display terminal is consistent.
7. The display consistency checking device according to claim 6, characterized in that: The device also includes: The transmission path checking unit is used to check the connection status, power supply status and data transmission rate between the computing terminal and each of the display terminals if the application data displayed by each of the display terminals are inconsistent, so as to determine whether the main transmission path is normal.
8. The display consistency checking device according to claim 6, characterized in that: The device further includes a log analysis unit, which includes: A log recording unit, used for recording logs using the computing terminal and each of the display terminals; an anomaly identification unit, used to identify anomalies recorded in the log; The abnormality classification unit is used to classify the abnormality according to the status of the computing terminal and each of the display terminals and the configuration environment when the abnormality occurs.
9. The display consistency checking device according to claim 6, characterized in that: The device also includes a display inconsistency processing unit, and the display inconsistency processing unit includes: an abnormality recording and alarm unit, configured to record and display inconsistency abnormality information and issue an alarm message if the timestamp recorded by each of the display terminals is inconsistent with the timestamp generated by the computing terminal, or the verification code recorded by each of the display terminals is inconsistent with the verification code generated by the computing terminal; A data retransmission unit is used to retransmit the application data according to the display inconsistency exception information.
10. A display consistency checking device according to any one of claims 6 to 9, characterized in that: The device also includes a backup transmission unit, and the backup transmission unit includes: A path construction unit, used for constructing a backup transmission path; The backup transmission subunit is used to transmit the application data from the data buffer to each of the display terminals according to the backup transmission path if the main transmission path fails.
11. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements a display consistency checking method according to any one of claims 1 to 5 when executing the computer program.
12. A vehicle, characterized in that: The vehicle comprises a display consistency checking device as claimed in claim 6 or an electronic device as claimed in claim 11.
13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, a display consistency checking method according to any one of claims 1 to 5 is implemented.
