Interface display methods, systems, and trains applied to trains
By prioritizing the train display interface based on its importance level and usage frequency, and by adopting differentiated loading strategies and coordinate adjustments, the problem of interface display stuttering and latency under limited hardware resources was solved, achieving efficient and safe interface display.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CRRC QINGDAO SIFANG CO LTD
- Filing Date
- 2026-03-24
- Publication Date
- 2026-06-30
AI Technical Summary
When hardware resources are limited, traditional interface display methods on train displays cause lag and delays, making it impossible to meet the needs of complex interface displays.
Priorities are determined based on the importance level and usage frequency of the display interface, and a differentiated loading strategy is adopted. High-priority interfaces are preloaded into memory, while low-priority interfaces are loaded on demand. The interface display is optimized by combining coordinate adjustment and rendering strategies.
It improved the loading speed of important interfaces and the resource utilization of the display, ensuring the safety and real-time performance of train operation, and optimized the allocation of hardware resources.
Smart Images

Figure CN122308955A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of train display technology, and more specifically, to an interface display method, system, and train for use on trains. Background Technology
[0002] With the continuous improvement of train intelligence and informatization, the number of display interfaces that train displays need to support is increasing, and the interface elements and dynamic effects are becoming more and more complex.
[0003] However, the hardware resources of train displays are often limited. Traditional interface display methods often experience stuttering and delays when switching between multiple interfaces in scenarios with limited hardware resources, and cannot meet the interface display requirements of train displays. Summary of the Invention
[0004] In view of this, the present disclosure provides an interface display method, system and train for use in trains.
[0005] One aspect of this disclosure provides a method for displaying an interface on a train, comprising: in response to the startup of a train display, determining the priority of each display interface based on its importance level and usage frequency within a preset historical period, wherein the importance level is determined based on the correlation between the interface function and train operation safety; determining a target loading strategy for each display interface from a plurality of loading strategies based on the priority of each display interface, wherein the loading strategies include at least a first loading strategy and a second loading strategy, wherein the first loading strategy instructs that interface data be preloaded into memory, and the second loading strategy instructs that interface data be loaded into memory in response to an interface access request, wherein the display interface using the first loading strategy has a higher priority than the display interface using the second loading strategy; determining the target display interface as the target loading strategy of the first loading strategy, and loading the interface data of the target display interface into memory so as to display the target display interface using the interface data of the target display interface in memory in response to an interface access request for the target display interface.
[0006] According to embodiments of this disclosure, the first loading strategy includes at least a first loading sub-strategy and a second loading sub-strategy. Determining the target loading strategy for each of the display interfaces from multiple loading strategies includes: when the priority of the display interface is first priority, using the first loading sub-strategy as the target loading strategy for the display interface, wherein the first loading sub-strategy instructs pre-rendering of the interface data in the memory; when the priority of the display interface is second priority, using the second loading sub-strategy as the target loading strategy for the display interface, wherein the second loading sub-strategy instructs rendering of the interface data in the memory in response to an interface access request, wherein the usage frequency of the first priority display interface is higher than that of the second priority display interface.
[0007] According to an embodiment of this disclosure, the interface display method further includes: determining a first display interface from a plurality of target display interfaces whose target loading strategy is the first loading sub-strategy; rendering the target interface data of the first display interface to obtain the first display interface; setting the interface coordinates of the first display interface to a first coordinate value outside the display coordinate range according to the display coordinate range of the train display; and in response to an interface access request for the first display interface, setting the interface coordinates of the first display interface to a second coordinate value within the display coordinate range, so that the train display displays the first display interface.
[0008] According to an embodiment of this disclosure, the interface display method further includes: determining a second display interface from a plurality of target display interfaces whose target loading strategy is the second loading sub-strategy; setting a container storing interface data of the second display interface to a hidden state; and, in response to an interface access request for the second display interface, setting the container to a displayed state to trigger the rendering of the interface data of the second display interface.
[0009] According to an embodiment of this disclosure, the interface display method further includes: in response to an interface access request for a third display interface, using a loader to load and render the interface data of the third display interface, so that the train display shows the third display interface, wherein the target loading strategy of the third display interface is the second loading strategy.
[0010] According to an embodiment of this disclosure, the interface display method further includes: evaluating the resource utilization rate of the train display and obtaining an evaluation result; when the evaluation result indicates sufficient resources, determining a target third display interface from a plurality of third display interfaces based on the usage frequency of each of the third display interfaces; loading the interface data of the target third display interface into memory so as to respond to an interface access request for the target third display interface by displaying the interface data of the target third display interface in memory on the target third display interface.
[0011] According to embodiments of this disclosure, the above-mentioned evaluation of the resource utilization of the train display to obtain the evaluation result includes: obtaining the processor utilization and memory utilization of the train display; and determining that the evaluation result indicates sufficient resources when the processor utilization is less than a preset processor utilization threshold and the memory utilization is less than a preset memory utilization threshold.
[0012] According to embodiments of this disclosure, the interface display method further includes: in response to receiving an interface access request, determining the interface to be accessed for the interface access request; determining a jumpable display interface of the interface to be accessed; and, if the target loading strategy of the jumpable display interface is the second loading strategy, loading the interface data of the jumpable display interface into memory so as to display the jumpable display interface using the interface data of the jumpable display interface in memory in response to the interface access request for the jumpable display interface.
[0013] According to embodiments of this disclosure, the aforementioned jumpable display interface includes multiple interfaces, and the interface display method further includes: acquiring train fault data; and determining, based on the train fault data and the interface functions of each jumpable display interface, the loading order of loading the interface data of the multiple jumpable display interfaces into memory, wherein the loading order is determined according to the degree of correlation between the interface functions and the train fault data.
[0014] According to embodiments of this disclosure, the priority of each display interface is determined based on its importance level and usage frequency within a preset historical period. This includes: determining the priority of a display interface as a first priority when its importance level is first and its usage frequency is greater than a preset usage frequency threshold, wherein the first level indicates that the interface function of the display interface is related to train operation safety; determining the priority of a display interface as a second priority when its importance level is first and its usage frequency is less than or equal to the preset usage frequency threshold; and determining the priority of a display interface as a third priority when its importance level is second, wherein the second level indicates that the interface function of the display interface is unrelated to train operation safety.
[0015] Another aspect of this disclosure provides an interface display device for trains, comprising: a priority determination module, configured to determine the priority of each display interface based on its importance level and usage frequency within a preset historical period in response to the activation of a train display, wherein the importance level is determined based on the correlation between the interface function and train operation safety; a strategy determination module, configured to determine a target loading strategy for each display interface from a plurality of loading strategies based on the priority of each display interface, wherein the loading strategies include at least a first loading strategy and a second loading strategy, wherein the first loading strategy instructs that interface data be preloaded into memory, and the second loading strategy instructs that interface data be loaded into memory in response to an interface access request, wherein the priority of a display interface using the first loading strategy is higher than the priority of a display interface using the second loading strategy; and an interface loading module, configured to determine that the target loading strategy is the target display interface of the first loading strategy, and load the interface data of the target display interface into memory so as to display the target display interface using the interface data of the target display interface in memory in response to an interface access request for the target display interface.
[0016] Another aspect of this disclosure provides an interface display system for trains, including a processor and a train display; the processor is configured to: in response to the train display starting up, determine the priority of each display interface based on its importance level and usage frequency within a preset historical period, wherein the importance level is determined based on the correlation between the interface function and train operation safety; determine a target loading strategy for each display interface from multiple loading strategies based on the priority of each display interface, wherein the loading strategies include at least a first loading strategy and a second loading strategy, wherein the first loading strategy instructs to preload interface data into memory, and the second loading strategy instructs to load interface data into memory in response to an interface access request, wherein the display interface using the first loading strategy has a higher priority than the display interface using the second loading strategy; determine the target display interface as the target loading strategy of the first loading strategy, and load the interface data of the target display interface into memory so as to display the target display interface using the interface data of the target display interface in memory in response to an interface access request for the target display interface; the train display is configured to display the display interface targeted by the interface access request.
[0017] Another aspect of this disclosure provides a computer-readable storage medium storing computer-executable instructions that, when executed, are used to implement the method described above.
[0018] Another aspect of this disclosure provides a computer program product including computer-executable instructions that, when executed, are used to implement the method described above.
[0019] According to embodiments of this disclosure, the priority of a display interface is determined based on its importance level and usage frequency within a predetermined historical period. This prioritizes display interfaces that are highly relevant to train operation safety and have a high usage frequency. Furthermore, by determining different loading strategies for display interfaces of different priorities, the interface data of higher-priority display interfaces is preloaded into memory, while the interface data of lower-priority display interfaces is loaded into memory upon access. This ensures both the loading speed of important display interfaces and conserves the hardware resources of the train display, guaranteeing the real-time performance and reliability of important display interfaces in scenarios where train display hardware resources are limited. Attached Figure Description
[0020] The above and other objects, features and advantages of this disclosure will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0021] Figure 1 The illustration schematically depicts an interface display method, system, and train application scenario according to embodiments of the present disclosure;
[0022] Figure 2 A flowchart illustrating an interface display method applied to a train according to an embodiment of the present disclosure is shown schematically.
[0023] Figure 3 A flowchart illustrating the determination of a target loading strategy for a display interface according to an embodiment of the present disclosure is shown schematically.
[0024] Figure 4 A flowchart illustrating an interface upgrade according to an embodiment of the present disclosure is shown schematically;
[0025] Figure 5 A block diagram schematically illustrates an interface display device applied to a train according to an embodiment of the present disclosure; and
[0026] Figure 6 A block diagram of an interface display system applied to a train according to an embodiment of the present disclosure is shown schematically. Detailed Implementation
[0027] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0028] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0029] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0030] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).
[0031] In the embodiments disclosed herein, the collection, updating, analysis, processing, use, transmission, provision, disclosure, and storage of data (e.g., including but not limited to user personal information) comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. In particular, necessary measures have been taken to prevent unauthorized access to user personal information data and to safeguard user personal information security, network security, and national security.
[0032] In the embodiments disclosed herein, user authorization or consent is obtained before acquiring or collecting user personal information.
[0033] The traditional method for loading train display interfaces involves preloading interface data into memory and controlling the display attributes of the interface when switching interfaces. However, this loading method results in even undisplayed interfaces consuming monitor memory. In most display modes, the backend logic for undisplayed interfaces continues to run, while in some display modes, undisplayed interfaces are rendered in real-time in the background.
[0034] As the complexity of train display interfaces increases and dynamic effects are introduced, the existing display framework can no longer meet the interface display requirements without changing the train display hardware. The hardware cannot simultaneously support a large number of complex interfaces, so it is necessary to optimize the train's interface display method.
[0035] Some display methods employ a dynamic loading strategy, loading and rendering the interface upon entry. The interface is not saved in the background. However, this method allows users to perceive the backend data refresh process, and there is a delay upon entering the interface, potentially impacting train operation safety.
[0036] This disclosure provides an interface display method for trains, comprising: in response to the startup of a train display, determining the priority of each display interface based on its importance level and usage frequency within a preset historical period, wherein the importance level is determined based on the correlation between the interface function and train operation safety; determining a target loading strategy for each display interface from multiple loading strategies based on the priority of each display interface, wherein the loading strategies include at least a first loading strategy and a second loading strategy, wherein the first loading strategy instructs that interface data be preloaded into memory, and the second loading strategy instructs that interface data be loaded into memory in response to an interface access request, wherein the priority of a display interface using the first loading strategy is higher than the priority of a display interface using the second loading strategy; determining the target display interface as the target loading strategy of the first loading strategy, and loading the interface data of the target display interface into memory so that, in response to an interface access request for the target display interface, the interface data of the target display interface in memory is used to display the target display interface.
[0037] The embodiments of this disclosure determine the priority of display interfaces based on their importance level and usage frequency within a predetermined historical period. This prioritizes display interfaces that are highly relevant to train operation safety and are used frequently. Furthermore, by determining different loading strategies for display interfaces of different priorities, the interface data of higher-priority display interfaces is preloaded into memory, while the interface data of lower-priority display interfaces is loaded into memory upon access. This ensures both the loading speed of important display interfaces and conserves the hardware resources of the train display, guaranteeing the real-time performance and reliability of important display interfaces in scenarios where train display hardware resources are limited.
[0038] Figure 1 The illustration schematically depicts an interface display method, system, and train application scenario according to embodiments of the present disclosure. It should be noted that... Figure 1 The examples shown are merely examples of application scenarios that can be applied to the embodiments of this disclosure, in order to help those skilled in the art understand the technical content of this disclosure, but do not mean that the embodiments of this disclosure cannot be used in other devices, systems, environments or scenarios.
[0039] like Figure 1 As shown, the application scenario according to this embodiment may include a processor 110 and a train display 120. The processor 110 and the train display 120 are communicatively connected.
[0040] Users can interact with the processor 110 through the train display 120 to perform related operations on the interface.
[0041] The processor 110 is responsible for executing various calculation and decision-making tasks in the interface display method. It processes and analyzes the collected data and controls the train display 120 to display the interface to which the interface access request is directed.
[0042] The train display 120 is responsible for displaying the interface that the user needs to access.
[0043] It should be noted that the interface display method for trains provided in this embodiment can generally be executed by the processor 110. Correspondingly, the interface display device for trains provided in this embodiment can generally be housed in the processor 110. Alternatively, the interface display method for trains provided in this embodiment can also be executed by a processor different from the processor 110 but capable of communicating with the train display 120 and / or the processor 110. Correspondingly, the interface display device for trains provided in this embodiment can also be housed in a processor different from the processor 110 but capable of communicating with the train display 120 and / or the processor 110. Or, the interface display method for trains provided in this embodiment can also be executed by the train display 120. Correspondingly, the interface display device for trains provided in this embodiment can also be housed in the train display 120.
[0044] It should be understood that Figure 1 The number of processors and train displays shown is merely illustrative. Any number of processors and train displays can be used depending on implementation requirements.
[0045] Figure 2 A flowchart illustrating an interface display method applied to a train according to an embodiment of the present disclosure is shown schematically.
[0046] like Figure 2 As shown, the method includes operations S210~S230.
[0047] In operation S210, in response to the activation of the train display, the priority of each display interface is determined based on its importance level and usage frequency within a preset historical period.
[0048] In operation S220, the target loading strategy for each display interface is determined from multiple loading strategies based on the priority of each display interface.
[0049] In operation S230, the target display interface is determined to be the first loading strategy, and the interface data of the target display interface is loaded into memory so that in response to the interface access request for the target display interface, the interface data of the target display interface in memory is used to display the target display interface.
[0050] In the embodiments of this disclosure, the importance level of the display interface is determined based on the relevance of the interface function to train operation safety. For example, interfaces directly related to train operation control, such as speed monitoring and signal system status display, should be set to the highest importance level because the accuracy and real-time performance of these interfaces directly affect the safe operation of the train. On the other hand, some auxiliary interfaces, such as passenger information system displays and carriage temperature control, while having a significant impact on passenger experience, have a lower direct correlation with train operation safety, and therefore their importance level can be relatively lower.
[0051] When determining usage frequency, it can be assessed by recording the number of times and duration of access to each display interface. Frequently accessed interfaces, such as the main driver interface and train status monitoring interface, have a higher usage frequency and should be given higher priority. Conversely, interfaces that are rarely accessed or only accessed under specific circumstances, such as system settings interfaces and fault diagnosis interfaces, have a lower usage frequency and their priority can be correspondingly reduced.
[0052] By comprehensively considering the importance level and usage frequency of the display interface, a reasonable priority can be assigned to each display interface, and then different loading strategies can be determined according to the priority to achieve efficient and safe loading of the train display interface.
[0053] In some embodiments, the priority of each display interface can be dynamically determined by the processor each time the train display is started. In other embodiments, the priority of each display interface can also be personalized by the user.
[0054] In the embodiments of this disclosure, the loading strategy includes at least a first loading strategy and a second loading strategy. The first loading strategy indicates that interface data is preloaded into memory, and the second loading strategy indicates that interface data is loaded into memory in response to an interface access request. The display interface using the first loading strategy has a higher priority than the display interface using the second loading strategy.
[0055] For high-priority display interfaces, the first loading strategy is adopted, which means that the interface data is preloaded into memory even when it is not accessed, so as to ensure that it can be displayed immediately when the user needs it. For low-priority display interfaces, the second loading strategy is adopted, which only loads the interface data from the storage device into memory when the user's interface access request is received, thereby reducing memory usage and improving the overall system operating efficiency.
[0056] Based on the target loading strategy for each display interface, the processor can load the display interface using the target loading strategy. For target display interfaces with the first loading strategy, the interface data of the target display interface needs to be preloaded into memory. Therefore, after determining the target loading strategy for each display interface, the processor can preload the interface data of each target display interface into memory so that when the user accesses the target display interface, it is not necessary to load the interface data of the target display interface again, thereby improving the display efficiency of the target display interface.
[0057] Since the interface data needs to be rendered after being loaded into memory before it can be displayed on the train monitor, the target display interface can also be pre-rendered, but the target display interface can be controlled not to be displayed on the train monitor in order to further improve display efficiency.
[0058] According to embodiments of this disclosure, the priority of a display interface is determined based on its importance level and usage frequency within a predetermined historical period. This prioritizes display interfaces that are highly relevant to train operation safety and have a high usage frequency. Furthermore, by determining different loading strategies for display interfaces of different priorities, the interface data of higher-priority display interfaces is preloaded into memory, while the interface data of lower-priority display interfaces is loaded into memory upon access. This ensures both the loading speed of important display interfaces and conserves the hardware resources of the train display, guaranteeing the real-time performance and reliability of important display interfaces in scenarios where train display hardware resources are limited.
[0059] According to embodiments of this disclosure, the priority of each display interface is determined based on its importance level and usage frequency within a preset historical period. This includes: determining the priority of a display interface as first priority when its importance level is first and its usage frequency is greater than a preset usage frequency threshold, where first priority indicates that the interface function of the display interface is related to train operation safety; determining the priority of a display interface as second priority when its importance level is first and its usage frequency is less than or equal to the preset usage frequency threshold; and determining the priority of a display interface as third priority when its importance level is second, where second priority indicates that the interface function of the display interface is unrelated to train operation safety.
[0060] When determining the priority of display interfaces, both the importance level and usage frequency of the display interfaces can be considered, dividing them into three priority levels. Furthermore, considering the impact on train operation safety, the importance of the display interfaces should be considered first, followed by their usage frequency.
[0061] The specific method for determining the importance level of a display interface is to determine whether the interface function is related to train operation safety. If the interface function is related to train operation safety, the importance level of the display interface is determined to be Level 1. If the interface function is not related to train operation safety, the importance level of the display interface can be determined to be Level 2.
[0062] For example, the speed monitoring interface and the signal system status display interface are directly related to train operation safety, so their importance level is set to Level 1. While the passenger information system display interface and the carriage temperature control interface are important for improving passenger experience, their direct correlation with train operation safety is lower, so their importance level is set to Level 2.
[0063] After determining the importance levels, the priority is further divided based on the usage frequency of each display interface. For interfaces with the highest importance level and high usage frequency, such as the main driver's interface, their priority is set to the highest, i.e., first priority, ensuring that these interfaces can respond quickly at all times. For interfaces with the highest importance level but low usage frequency, their priority is set to second priority, such as safety monitoring interfaces under certain conditions. For interfaces with the highest importance level, regardless of their usage frequency, their priority is configured as third priority. This optimizes the allocation of system resources while ensuring train operation safety.
[0064] According to embodiments of this disclosure, by dividing the display interfaces into three priorities based on their importance level and usage frequency, the utilization of hardware resources can be optimized to the maximum extent while ensuring train operation safety, thereby improving the overall performance of the train display and the user experience.
[0065] Figure 3 A flowchart illustrating the determination of a target loading strategy for a display interface according to an embodiment of the present disclosure is shown schematically.
[0066] like Figure 3 As shown, determining the target loading strategy for the display interface includes operations S301 to S308.
[0067] Start operating S301.
[0068] In operation S302, determine whether the importance level of the display interface is first level. If the importance level of the display interface is first level, execute operation S303; otherwise, execute operation S306.
[0069] In operation S303, determine whether the usage frequency of the display interface is greater than a preset usage frequency threshold. If the usage frequency of the display interface is greater than the preset usage frequency threshold, execute operation S304; otherwise, execute operation S305.
[0070] In operation S304, the priority of the display interface is set to first priority.
[0071] When operating S305, the priority of the display interface is set to the second priority.
[0072] In operation S306, the priority of the display interface is set to the third priority.
[0073] When operating S307, the target loading strategy for the display interface is determined based on the priority of the display interface.
[0074] Operation S308 has ended.
[0075] According to embodiments of this disclosure, determining a target loading strategy for each display interface from multiple loading strategies includes: when the priority of a display interface is first priority, using a first loading sub-strategy as the target loading strategy for the display interface; when the priority of a display interface is second priority, using a second loading sub-strategy as the target loading strategy for the display interface, wherein the usage frequency of the first priority display interface is higher than that of the second priority display interface.
[0076] In embodiments of this disclosure, the first loading strategy includes at least a first loading sub-strategy and a second loading sub-strategy. The first loading sub-strategy instructs pre-rendering of UI data in memory, and the second loading sub-strategy instructs rendering of UI data in memory in response to a UI access request.
[0077] Since the first priority display interface is used more frequently, in order to further improve the display efficiency of the first priority display interface, the first loading sub-strategy can be used to load the first priority display interface.
[0078] When a display interface is set as the highest priority, the execution flow of the first loading sub-strategy is automatically triggered. Under this strategy, the processor not only preloads the interface's data into memory but also performs pre-rendering processing on this data, but does not directly display the interface on the train's display screen. When a user actually initiates an access request, the train's display screen can instantly display the complete interface content without any further data loading or rendering operations, thereby reducing display latency.
[0079] For display interfaces designated as second priority, a second loading sub-strategy is employed. Under this strategy, interface data is also loaded into memory, but no pre-rendering is performed. When a user initiates an access request, the processor immediately renders the interface data in memory and displays the interface on the train's monitor. Although this process involves a slight delay compared to the first loading sub-strategy, the impact of this delay on the user experience is minimal because second-priority display interfaces are used relatively infrequently, while also effectively conserving memory resources.
[0080] According to embodiments of this disclosure, by setting differentiated loading strategies for important display interfaces with different usage frequencies, important display interfaces with high usage frequencies are pre-rendered, while important display interfaces with low usage frequencies are rendered on access. This not only reduces the display latency of the display interfaces but also effectively saves the hardware resources of the train display.
[0081] According to embodiments of this disclosure, the interface display method further includes: determining a first display interface from a plurality of target display interfaces whose target loading strategy is a first loading sub-strategy; rendering the target interface data of the first display interface to obtain the first display interface; setting the interface coordinates of the first display interface to a first coordinate value outside the display coordinate range according to the display coordinate range of the train display; and in response to an interface access request for the first display interface, setting the interface coordinates of the first display interface to a second coordinate value within the display coordinate range, so that the train display displays the first display interface.
[0082] In the embodiments of this disclosure, the first display interface can be a display interface with a priority level of first. When loading the first-level display interface using the first loading sub-strategy, in order to avoid the first display interface not being directly displayed on the train display, the coordinates can be adjusted.
[0083] When loading the first display interface using coordinate adjustment, the interface data of the first display interface can be loaded into memory and rendered. Furthermore, the coordinate values of the first display interface are set to a first coordinate value that exceeds the current display coordinate range of the train monitor. Thus, although the interface data already exists in memory and has been rendered, these interfaces are not visible on the train monitor unless the user requests access.
[0084] When a user sends an access request for a specific first-level display interface through interactive operations, the processor responds quickly and adjusts the coordinates of that interface from the first coordinate value to the second coordinate value, which is within the display coordinate range of the train display. This makes the previously invisible first-level display interface appear on the train display instantly, achieving a fast and seamless display switch.
[0085] For example, the upper left corner of the train display can be considered the origin of a two-dimensional coordinate system, with the horizontal axis (X-axis) increasing to the right and the vertical axis (Y-axis) increasing downwards, in pixels. When the first display interface is not needed, its coordinates can be set to negative X and Y values, thus hiding it from the train display. When the user requests access to the first display interface, its coordinates are set to positive X and Y values, making it visible on the train display.
[0086] For example, interface coordinates can also be three-dimensional. In a three-dimensional coordinate system, the first display interface can be hidden by setting its Z-coordinate value to a negative value. When the first display interface needs to be displayed, the Z-coordinate value is adjusted to a positive value, making the first display interface appear on the train display. This method of adjusting three-dimensional coordinates provides more flexibility and hierarchy to the interface display, and is especially suitable for application scenarios that require displaying complex spatial relationships or multi-layered interfaces.
[0087] According to embodiments of this disclosure, by adjusting coordinates to control the hiding and showing of the first display interface, rapid interface switching and efficient management can be achieved without increasing the hardware burden. This loading strategy significantly reduces response latency during user operations while avoiding performance bottlenecks caused by rendering all interfaces simultaneously.
[0088] According to embodiments of this disclosure, the interface display method further includes: determining a second display interface from a plurality of target display interfaces whose target loading strategy is a second loading sub-strategy; setting a container storing interface data of the second display interface to a hidden state; and, in response to an interface access request for the second display interface, setting the container to a displayed state to trigger the rendering of the interface data of the second display interface.
[0089] In embodiments of this disclosure, the second display interface can be a display interface with a second priority level. When loading the second-level display interface using the second loading sub-strategy, since these interfaces are used relatively infrequently, they do not require pre-rendering and coordinate adjustment as required for the first-level display interfaces. Instead, to save memory resources and reduce system load, the container storing these interface data can be set to a hidden state.
[0090] When a user requests access to a specific secondary display interface through interactive operations, the processor moves the container storing that interface data from a hidden state to a visible state. This operation triggers the rendering process of the interface data, generating an image that can be displayed on the train's monitor. Since the rendering process occurs after the user requests access, there may be a slight delay. However, because the secondary display interface is used infrequently, this delay has a relatively small impact on the user experience.
[0091] Once rendering is complete, the train display will show the second-level display interface requested by the user. This loading strategy not only effectively saves memory resources but also avoids unnecessary rendering operations when the train display starts up or when these interfaces are not needed, thereby improving the overall performance and response speed of the train interface display system.
[0092] According to embodiments of this disclosure, for a second display interface that is used less frequently, the container storing the interface data of the second display interface is set to a hidden state, and the container is set to a displayed state when the second display interface needs to be accessed. This not only reduces the display latency of the second display interface, but also saves the hardware resources of the train display, effectively balances memory usage and display requirements, and ensures that the system can still operate efficiently even when the hardware resources of the train display are limited.
[0093] By combining the first and second loading sub-strategies, the loading strategy can be flexibly adjusted according to the usage frequency of different important display interfaces. This differentiated loading strategy not only ensures that important display interfaces related to train operation safety can respond and display quickly, but also optimizes the allocation and utilization of system resources, improving the overall performance of train displays and the user experience.
[0094] According to an embodiment of this disclosure, the interface display method further includes: in response to an interface access request for a third display interface, using a loader to load and render interface data of the third display interface, so that the train display shows the third display interface, wherein the target loading strategy of the third display interface is a second loading strategy.
[0095] In the embodiments of this disclosure, the third display interface can be a display interface with a priority level of third level, and the target loading strategy for the third display interface is the second loading strategy. For third-level display interfaces, since they have a low direct correlation with train operation safety and are used relatively infrequently, the second loading strategy is adopted for loading. The core of the second loading strategy is on-demand loading and rendering, that is, the interface data of the third display interface will only be dynamically loaded and rendered by the loader when the user explicitly issues an access request.
[0096] When a user triggers an access request to the third display interface through the interactive interface, the processor immediately responds to the request, starts the dynamic loader, and locates the position where the third display interface data is stored. The loader then loads this data into memory and triggers the rendering engine to render the interface data. After rendering is complete, the processor transmits the generated interface image data to the train display, thus enabling the display of the third display interface.
[0097] While this on-demand loading and rendering method introduces some latency compared to preloading and pre-rendering strategies, this latency is acceptable considering the frequency and importance of the third-level display interface. Simultaneously, this strategy effectively avoids unnecessary memory consumption and rendering overhead, thereby optimizing the allocation and utilization of system resources.
[0098] According to embodiments of this disclosure, for third display interfaces with lower importance, loading and rendering are only performed on demand when a user requests access. This allows the train interface display system to ensure rapid response from important display interfaces while rationally allocating hardware resources, avoiding performance degradation caused by loading too many unimportant display interfaces simultaneously. This strategy is particularly suitable for resource-constrained train display environments, ensuring that the train interface display system maintains efficient and stable operation even under limited hardware conditions.
[0099] According to embodiments of this disclosure, the interface display method further includes: evaluating the resource utilization rate of the train display and obtaining an evaluation result; if the evaluation result indicates sufficient resources, determining a target third display interface from a plurality of third display interfaces based on the usage frequency of each third display interface; loading the interface data of the target third display interface into memory so as to respond to an interface access request for the target third display interface by displaying the interface data of the target third display interface in memory on the target third display interface.
[0100] In the embodiments of this disclosure, the resource utilization of the train display can also be evaluated. If the evaluation result indicates that the hardware resources are sufficient, the unloaded third display interface can be loaded into memory to improve resource utilization and reduce the display latency of the third display interface.
[0101] In some embodiments, when evaluating the resource utilization of the train display, hardware performance parameters such as memory utilization and processor utilization may be considered. If the resource utilization is less than a preset resource utilization threshold, the resources are determined to be sufficient.
[0102] Due to limited resources on the train display, it may not be possible to load all the interface data of the third display interfaces into memory. Therefore, the interface data of the target third display interfaces with higher usage frequency can be loaded into memory according to their usage frequency. When a user needs to access the target third display interface, the interface data of the target third display interface in memory can be rendered to obtain an interface image, and the interface image can be transmitted to the train display for display.
[0103] After loading the interface data of the target third display interface into memory, resource utilization can be continuously evaluated. If resources are insufficient, the interface data of the target third display interface in memory can be deleted to reduce the load on the train display, thereby ensuring the fast response and display of important display interfaces.
[0104] In other embodiments, the upgrade process for a third display interface can be triggered when a user needs to close the third display interface after accessing it. For example, the decision to destroy the interface data of the third display interface from memory can be determined based on real-time resource utilization and the usage frequency of the third display interface. When resources are sufficient and the usage frequency of the third display interface is high, the third display interface, which is in the third priority position, can be upgraded to the second priority position, so that the interface data of the third display interface is stored in memory. When resources are insufficient, the third display interface can be downgraded to the third priority position.
[0105] According to embodiments of this disclosure, by real-time evaluation of the resource utilization rate of the train display and dynamic loading based on the usage frequency of the third display interface when resources are sufficient, the response speed and resource utilization efficiency of the train display can be further improved. When resource utilization is low, some frequently used target third display interfaces can be pre-loaded into memory. This allows the interface data to be directly read from memory and rendered when a user initiates an interface access request, significantly reducing display latency. Simultaneously, this dynamic loading mechanism effectively avoids excessive memory usage caused by loading too much interface data at once, ensuring stable operation of the train interface display system even with limited resources.
[0106] According to embodiments of this disclosure, the resource utilization of a train display is evaluated to obtain an evaluation result, including: obtaining the processor utilization and memory utilization of the train display; and determining that the evaluation result indicates sufficient resources when the processor utilization is less than a preset processor utilization threshold and the memory utilization is less than a preset memory utilization threshold.
[0107] Resource utilization can specifically include processor utilization and memory utilization. When evaluating the resource utilization of train displays, real-time data for both processor and memory utilization must be obtained separately. Processor and memory utilization can be obtained through the performance monitoring module built into the train interface display system or through third-party performance monitoring tools to ensure data accuracy and real-time performance.
[0108] After obtaining the specific values of processor utilization and memory utilization, they are compared with preset processor utilization thresholds and preset memory utilization thresholds, respectively. The preset processor utilization thresholds and preset memory utilization thresholds can be reasonably set according to the actual hardware configuration and performance requirements of the train's display to ensure the accuracy and reliability of the evaluation results.
[0109] When determining the evaluation results, if the processor utilization is less than a preset processor utilization threshold and the memory utilization is less than a preset memory utilization threshold, the evaluation results indicate that the current train display has sufficient resources. In this case, the system can dynamically load some frequently used target third-party display interfaces into memory based on their usage frequency to improve response speed and display efficiency during subsequent access. For example, if memory utilization is <60% and processor utilization is <50%, resources are considered sufficient.
[0110] If the processor utilization is greater than or equal to a preset processor utilization threshold or the memory utilization is greater than or equal to a preset memory utilization threshold, then the evaluation results indicate that the current train display is experiencing resource strain. In this case, some infrequently used data or interface data from the third display interface can be deleted from memory to free up memory space.
[0111] According to embodiments of this disclosure, resource utilization of the train display is assessed from both processor utilization and memory utilization perspectives, making the resource utilization assessment process more comprehensive and accurate, thereby improving the accuracy of loading strategy adjustment timing. This flexibility and adaptability enable the train interface display system to maintain efficient and stable operation in various complex environments, improving user experience.
[0112] According to embodiments of this disclosure, when the evaluation results indicate sufficient resources, a target third display interface is determined from multiple third display interfaces based on the usage frequency of each third display interface, including: determining the amount of available memory based on the memory utilization rate of the train display; and determining at least one target third display interface from multiple third display interfaces in descending order of usage frequency based on the amount of available memory.
[0113] Since train displays have limited memory resources, in order to ensure the overall reliability of the train interface display system and avoid loading too much non-critical display data into memory, the amount of available memory can be determined based on the train display's memory utilization rate.
[0114] After determining the available memory, third-party display interfaces can be selected sequentially in descending order of usage frequency until memory is insufficient. The selected third-party display interfaces become the target third-party display interfaces. This ensures that frequently used third-party display interfaces are loaded first, resulting in a faster response time when a user initiates an access request.
[0115] According to embodiments of this disclosure, by determining at least one target third display interface from multiple third display interfaces in descending order of usage frequency based on available memory, the system can prioritize the rapid loading and display of frequently used interfaces, effectively balancing memory usage and user experience. This dynamic filtering mechanism based on usage frequency not only improves interface access efficiency but also avoids the risk of system lag or crashes due to insufficient memory. Simultaneously, memory usage can be continuously monitored, and when available memory drops below a safe threshold, an automatic interface data destruction process is triggered, releasing memory space in ascending order of usage frequency, thereby ensuring the stable operation of core functions. Through this intelligent memory management strategy, the train interface display system can achieve efficient and reliable interface loading and display control in resource-constrained environments.
[0116] Figure 4 A flowchart illustrating an interface upgrade according to an embodiment of this disclosure is shown schematically.
[0117] like Figure 4 As shown, the interface upgrade includes operations S401 to S409.
[0118] Operating S401, begin.
[0119] In operation S402, determine whether the current display interface is the third display interface. If the current display interface is the third display interface, execute operation S403; otherwise, execute operation S409.
[0120] In operation S403, determine whether the current display interface has been upgraded. If the current display interface has not been upgraded, execute operation S404; otherwise, execute operation S409.
[0121] In operation S404, it is determined whether the usage frequency of the current display interface is greater than a preset usage frequency threshold. If the usage frequency of the current display interface is greater than the preset frequency threshold, operation S405 is executed; otherwise, operation S408 is executed.
[0122] In operation S405, determine whether the memory utilization rate is less than a preset memory utilization rate threshold. If the memory utilization rate is less than the preset memory utilization rate threshold, execute operation S406; otherwise, execute operation S408.
[0123] In operation S406, determine whether the processor utilization is less than a preset processor utilization threshold. If the processor utilization is less than the preset processor utilization threshold, execute operation S407; otherwise, execute operation S408.
[0124] When operating S407, the priority of the currently displayed interface is upgraded to the second priority.
[0125] In operation S408, the priority of the currently displayed interface is determined to be the third priority.
[0126] Operation S409, end.
[0127] According to embodiments of this disclosure, the interface display method further includes: in response to receiving an interface access request, determining the interface to be accessed for the interface access request; determining a jumpable display interface of the interface to be accessed; and, if the target loading strategy of the jumpable display interface is a second loading strategy, loading the interface data of the jumpable display interface into memory so as to respond to the interface access request for the jumpable display interface by displaying the interface data of the jumpable display interface in memory.
[0128] In the embodiments of this disclosure, when the train interface display system receives an interface access request, it first determines the display interface to be accessed. Since the user's next access can only be a jumpable display interface of the interface to be accessed, the interface data of the jumpable display interface can also be loaded into memory synchronously. When the user needs to access the jumpable display interface, the interface data in memory is rendered directly, reducing the display latency of the jumpable display interface.
[0129] A jumpable display interface refers to an interface that has a logical connection with the display interface to be accessed or that the user may access further. These interfaces may serve as the next option in the user's operation flow. In some embodiments, the jumpable display interface can be determined based on the interface data of the display interface to be accessed, or the display interface that the user will access next after accessing the display interface to be accessed can be determined based on the user's historical behavior data.
[0130] After identifying the jumpable display interfaces, their target loading strategy can be examined. If the target loading strategy for these interfaces is the second loading strategy, i.e., an on-demand loading and rendering strategy, the interface data for these interfaces can be loaded into memory, reducing the waiting time for users accessing them. By pre-loading the interface data into memory, the system can respond quickly when a user initiates an access request, directly reading the interface data from memory and rendering it, thereby significantly reducing display latency.
[0131] For example, if the user is currently on the axle temperature interface, the next navigation should only be to the vibration interface, traction interface, or single-vehicle axle temperature interface. In this case, these three interfaces can be configured as pre-loaded targets. The axle temperature interface will then load these interfaces in the background, ensuring a smooth navigation for the user on subsequent visits.
[0132] The loading process for interface data of jumpable displays also needs to take into account the resource limitations of the train's display. When there are a large number of jumpable displays, the interface data of some frequently used jumpable displays can be loaded into memory based on the current available memory, ensuring that insufficient memory is not caused by loading too much interface data.
[0133] According to embodiments of this disclosure, by employing this strategy of pre-loading jumpable display interfaces, the train interface display system can further optimize the user's operating flow while ensuring rapid response of important display interfaces. Furthermore, this strategy effectively avoids increased system load caused by frequent loading and rendering of interface data, ensuring that the train interface display system maintains efficient and stable operation even with limited resources.
[0134] According to embodiments of this disclosure, the jumpable display interface includes multiple interfaces, and the interface display method further includes: acquiring train fault data; and determining the loading order of loading the interface data of the multiple jumpable display interfaces into memory based on the train fault data and the interface functions of each jumpable display interface, wherein the loading order is determined according to the degree of correlation between the interface functions and the train fault data.
[0135] During train operation, faults may involve multiple systems and components, and different jumpable display interfaces often correspond to different monitoring and fault diagnosis functions. Therefore, after acquiring train fault data, it is possible to analyze and determine the correlation between each interface function and the current fault based on this data and the interface functions of each jumpable display interface.
[0136] When analyzing the correlation between interface functions and train fault data, preset algorithms or rules can be used to parse the train fault data and extract key fault information, such as fault type, fault location, and fault severity. Then, this key fault information is matched with the interface functions of each jumpable display interface to evaluate the correlation between each jumpable display interface and the current fault.
[0137] After determining the correlation between interface functions and train fault data, the loading order of interface data for multiple jumpable display interfaces can be determined from high to low correlation. In this way, with limited resources, interface data for the jumpable display interfaces most relevant to the current fault can be loaded first, ensuring that maintenance personnel can quickly obtain critical information and improve fault handling efficiency.
[0138] Meanwhile, for interfaces that are less relevant to the current fault and can be redirected, the system can load them later if resources allow, or load them dynamically according to the user's actual needs.
[0139] According to embodiments of this disclosure, this strategy for determining the loading order based on train fault data not only improves the pertinence and effectiveness of the train interface display system in fault handling, but also further optimizes the allocation and utilization of system resources, ensuring that the train interface display system can maintain efficient and stable operation under various complex conditions.
[0140] Figure 5 A block diagram of an interface display device applied to a train according to an embodiment of the present disclosure is shown schematically.
[0141] like Figure 5 As shown, the interface display device 500 applied to trains includes a priority determination module 510, a strategy determination module 520, and an interface loading module 530.
[0142] The priority determination module 510 is used to determine the priority of each display interface in response to the activation of the train display, based on the importance level of each display interface and its usage frequency within a preset historical period. The importance level is determined according to the relevance of the interface function to train operation safety. In some embodiments, the priority determination module 510 may be used to perform the operation S210 described above, which will not be repeated here.
[0143] The strategy determination module 520 is used to determine the target loading strategy for each display interface from multiple loading strategies based on the priority of each display interface. The loading strategies include at least a first loading strategy and a second loading strategy. The first loading strategy instructs that interface data be preloaded into memory, and the second loading strategy instructs that interface data be loaded into memory in response to an interface access request. The display interface using the first loading strategy has a higher priority than the display interface using the second loading strategy. In some embodiments, the strategy determination module 520 may be used to perform the operation S220 described above, which will not be repeated here.
[0144] The interface loading module 530 is used to determine the target display interface with the first loading strategy, and load the interface data of the target display interface into memory so that, in response to an interface access request for the target display interface, the interface data of the target display interface in memory can be used to display the target display interface. In some embodiments, the interface loading module 530 can be used to perform the operation S230 described above, which will not be repeated here.
[0145] According to embodiments of this disclosure, the first loading strategy includes at least a first loading sub-strategy and a second loading sub-strategy. The strategy determination module 520 includes a first strategy determination sub-module and a second strategy determination sub-module.
[0146] The first strategy determination submodule is used to use the first loading sub-strategy as the target loading strategy for the display interface when the priority of the display interface is the first priority. The first loading sub-strategy indicates that the interface data in memory should be pre-rendered.
[0147] The second strategy determination submodule is used to use the second loading sub-strategy as the target loading strategy for the display interface when the priority of the display interface is the second priority. The second loading sub-strategy instructs to render the interface data in memory in response to the interface access request. The display interface with the first priority is used more frequently than the display interface with the second priority.
[0148] According to embodiments of this disclosure, the interface display device 500 applied to a train further includes a first interface determination module, an interface rendering module, a first coordinate setting module, and a second coordinate setting module.
[0149] The first interface determination module is used to determine the first display interface whose target loading strategy is the first loading sub-strategy from multiple target display interfaces.
[0150] The interface rendering module is used to render the target interface data of the first display interface to obtain the first display interface.
[0151] The first coordinate setting module is used to set the interface coordinates of the first display interface to a first coordinate value that is outside the display coordinate range, based on the display coordinate range of the train display.
[0152] The second coordinate setting module is used to respond to an interface access request for the first display interface by setting the interface coordinates of the first display interface to a second coordinate value that is within the display coordinate range, so that the train display shows the first display interface.
[0153] According to embodiments of this disclosure, the interface display device 500 applied to a train further includes a second interface determination module, a hiding setting module, and a display setting module.
[0154] The second interface determination module is used to determine the second display interface from multiple target display interfaces where the target loading strategy is the second loading sub-strategy.
[0155] The hidden settings module is used to hide the container that stores the interface data of the second display interface.
[0156] The display settings module is used to respond to an interface access request for the second display interface by setting the container to a display state, thereby triggering the rendering of the interface data of the second display interface.
[0157] According to embodiments of this disclosure, the interface display device 500 applied to a train further includes a loading and rendering module.
[0158] The loading and rendering module is used to respond to the interface access request for the third display interface. It uses a loader to load and render the interface data of the third display interface so that the train display can show the third display interface. The target loading strategy for the third display interface is the second loading strategy.
[0159] According to embodiments of this disclosure, the interface display device 500 applied to a train further includes a resource evaluation module, a target third determination module, and a target loading module.
[0160] The resource assessment module is used to evaluate the resource utilization rate of the train display and obtain the assessment results.
[0161] The target third determination module is used to determine the target third display interface from multiple third display interfaces based on the usage frequency of each third display interface, provided that there are sufficient resources to characterize the evaluation results.
[0162] The target loading module is used to load the interface data of the target third display interface into memory so that, in response to the interface access request for the target third display interface, the interface data of the target third display interface in memory can be used to display the target third display interface.
[0163] According to embodiments of this disclosure, the resource assessment module includes a resource acquisition submodule and a result determination submodule.
[0164] The resource acquisition submodule is used to obtain the processor utilization and memory utilization of the train display.
[0165] The result determination submodule is used to determine whether the evaluation results indicate sufficient resources when the processor utilization is less than a preset processor utilization threshold and the memory utilization is less than a preset memory utilization threshold.
[0166] According to embodiments of this disclosure, the target third determination module includes an available memory determination submodule and a target third determination submodule.
[0167] The available memory determination submodule is used to determine the amount of available memory based on the memory utilization of the train display.
[0168] The target third determination submodule is used to determine at least one target third display interface from multiple third display interfaces based on the amount of available memory and in descending order of usage frequency.
[0169] According to embodiments of this disclosure, the interface display device 500 applied to a train further includes a pending access determination module, a jumpable determination module, and a jumpable loading module.
[0170] The pending access determination module is used to determine the pending display interface in response to a received interface access request.
[0171] The jumpable determination module is used to determine the jumpable display interface of the interface to be accessed.
[0172] The jumpable loading module is used to load the interface data of the jumpable display interface into memory when the target loading strategy of the jumpable display interface is the second loading strategy, so as to respond to the interface access request for the jumpable display interface and use the interface data of the jumpable display interface in memory to display the jumpable display interface.
[0173] According to embodiments of this disclosure, the jumpable display interface includes multiple interfaces, and the interface display device 500 applied to the train further includes a fault acquisition module and a sequence determination module.
[0174] The fault acquisition module is used to acquire train fault data.
[0175] The sequence determination module is used to determine the loading order of the interface data of multiple jumpable display interfaces into memory based on train fault data and the interface functions of each jumpable display interface. The loading order is determined according to the degree of correlation between the interface functions and the train fault data.
[0176] According to embodiments of this disclosure, the priority determination module 510 includes a first priority determination submodule, a second priority determination submodule, and a third priority determination submodule.
[0177] The first priority determination submodule is used to determine the priority of the display interface as first priority when the importance level of the display interface is first level and the usage frequency is greater than the preset usage frequency threshold. The first level indicates that the interface function of the display interface is related to the safety of train operation.
[0178] The second priority determination submodule is used to determine the priority of the display interface as the second priority when the importance level of the display interface is the first level and the usage frequency is less than or equal to the preset usage frequency threshold.
[0179] The third priority determination submodule is used to determine the priority of the display interface as the third priority when the importance level of the display interface is the second level. The second level indicates that the interface function of the display interface is not related to the safety of train operation.
[0180] Any one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure, or at least part of the functions of any one or more of them, can be implemented in one module. Any one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure can be implemented by dividing them into multiple modules. Any one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure can be at least partially implemented as hardware circuitry, such as a Field-Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a System-on-Chip, a System-on-a-Substrate, a System-on-Package, an Application-Specific Integrated Circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, one or more of the modules, submodules, units, and subunits according to embodiments of the present disclosure can be at least partially implemented as computer program modules, which, when run, can perform corresponding functions.
[0181] For example, the interface display device 500 applied to a train may include any of the following modules: priority determination module 510, strategy determination module 520, and interface loading module 530. These modules / units / sub-units can be combined into a single module / unit / sub-unit, or any one of these modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least some of the functions of one or more of these modules / units / sub-units can be combined with at least some of the functions of other modules / units / sub-units and implemented in a single module / unit / sub-unit. According to embodiments of this disclosure, at least one of the following modules / units / sub-units in the interface display device 500 applied to a train may be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or any other reasonable method of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, the interface display device 500 applied to the train may include at least one of the priority determination module 510, strategy determination module 520 and interface loading module 530, which may be at least partially implemented as a computer program module, and when the computer program module is run, it can perform corresponding functions.
[0182] Figure 6 A block diagram of an interface display system applied to a train according to an embodiment of the present disclosure is shown schematically.
[0183] like Figure 6 As shown, the interface display system 600 applied to trains includes a processor 110 and a train display 120.
[0184] The processor 110 is configured to: in response to the startup of the train display, determine the priority of each display interface based on its importance level and usage frequency within a preset historical period, wherein the importance level is determined based on the relevance of the interface function to train operation safety; determine the target loading strategy for each display interface from multiple loading strategies based on the priority of each display interface, wherein the loading strategy includes at least a first loading strategy and a second loading strategy, wherein the first loading strategy instructs the preloading of interface data into memory, and the second loading strategy instructs the loading of interface data into memory in response to an interface access request, wherein the priority of the display interface using the first loading strategy is higher than the priority of the display interface using the second loading strategy; determine the target display interface whose target loading strategy is the first loading strategy, and load the interface data of the target display interface into memory so that, in response to an interface access request for the target display interface, the interface data of the target display interface in memory can be used to display the target display interface.
[0185] Train display 120 is configured to display the interface to which the interface access request is targeted.
[0186] According to embodiments of this disclosure, the first loading strategy includes at least a first loading sub-strategy and a second loading sub-strategy. The processor 110 is further configured to: when the priority of the display interface is first priority, use the first loading sub-strategy as the target loading strategy for the display interface, and the first loading sub-strategy instructs to pre-render the interface data in memory; when the priority of the display interface is second priority, use the second loading sub-strategy as the target loading strategy for the display interface, and the second loading sub-strategy instructs to render the interface data in memory in response to an interface access request, wherein the usage frequency of the first priority display interface is higher than the usage frequency of the second priority display interface.
[0187] According to an embodiment of this disclosure, the processor 110 is further configured to: determine a first display interface from a plurality of target display interfaces whose target loading strategy is a first loading sub-strategy; render the target interface data of the first display interface to obtain the first display interface; set the interface coordinates of the first display interface to a first coordinate value outside the display coordinate range according to the display coordinate range of the train display; and, in response to an interface access request for the first display interface, set the interface coordinates of the first display interface to a second coordinate value within the display coordinate range, so that the train display shows the first display interface.
[0188] According to an embodiment of this disclosure, the processor 110 is further configured to: determine a second display interface from a plurality of target display interfaces whose target loading strategy is a second loading sub-strategy; set a container storing interface data of the second display interface to a hidden state; and, in response to an interface access request for the second display interface, set the container to a displayed state to trigger the rendering of the interface data of the second display interface.
[0189] According to an embodiment of this disclosure, the processor 110 is further configured to: in response to an interface access request for a third display interface, load and render interface data of the third display interface using a loader, so that the train display shows the third display interface, wherein the target loading strategy of the third display interface is a second loading strategy.
[0190] According to an embodiment of this disclosure, the processor 110 is further configured to: evaluate the resource utilization of the train display and obtain an evaluation result; if the evaluation result indicates that resources are sufficient, determine a target third display interface from a plurality of third display interfaces based on the usage frequency of each third display interface; load the interface data of the target third display interface into memory so as to display the target third display interface using the interface data of the target third display interface in memory in response to an interface access request for the target third display interface.
[0191] According to an embodiment of this disclosure, the processor 110 is further configured to: acquire the processor utilization and memory utilization of the train display; and determine that the evaluation result indicates sufficient resources when the processor utilization is less than a preset processor utilization threshold and the memory utilization is less than a preset memory utilization threshold.
[0192] According to an embodiment of this disclosure, the processor 110 is further configured to: determine the amount of available memory based on the memory utilization of the train display; and determine at least one target third display interface from a plurality of third display interfaces in descending order of usage frequency based on the amount of available memory.
[0193] According to an embodiment of this disclosure, the processor 110 is further configured to: in response to receiving an interface access request, determine the display interface to be accessed for the interface access request; determine the jumpable display interface of the display interface to be accessed; and, if the target loading strategy of the jumpable display interface is a second loading strategy, load the interface data of the jumpable display interface into memory so as to display the jumpable display interface using the interface data of the jumpable display interface in memory in response to the interface access request for the jumpable display interface.
[0194] According to an embodiment of this disclosure, the processor 110 is further configured to: acquire train fault data; and determine the loading order of loading interface data of multiple jumpable display interfaces into memory based on the fault type involved in the train fault data and the interface function of each jumpable display interface, wherein the loading order is determined according to the degree of correlation between the interface function and the fault type.
[0195] According to embodiments of this disclosure, the processor is further configured to: determine the priority of the display interface as a first priority when the importance level of the display interface is a first level and the usage frequency is greater than a preset usage frequency threshold, wherein the first level indicates that the interface function of the display interface is related to train operation safety; determine the priority of the display interface as a second priority when the importance level of the display interface is a first level and the usage frequency is less than or equal to the preset usage frequency threshold; and determine the priority of the display interface as a third priority when the importance level of the display interface is a second level, wherein the second level indicates that the interface function of the display interface is not related to train operation safety.
[0196] It should be noted that the interface display system part in the embodiments of this disclosure corresponds to the interface display method part in the embodiments of this disclosure. For a detailed description of the interface display system part, please refer to the interface display method part, which will not be repeated here.
[0197] This disclosure also provides a train that includes the aforementioned interface display system applied to the train.
[0198] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.
[0199] According to embodiments of this disclosure, the computer-readable storage medium can be a non-volatile computer-readable storage medium. Examples include, but are not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0200] For example, according to embodiments of this disclosure, a computer-readable storage medium may include the ROM and / or RAM and / or one or more memories other than ROM and RAM described above.
[0201] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods provided in the embodiments of this disclosure. When the computer program product is run on an electronic device, the program code is used to enable the electronic device to implement the application interface display method for trains provided in the embodiments of this disclosure.
[0202] When the computer program is executed by the processor 110, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0203] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices or magnetic storage devices. In another embodiment, the computer program may also be transmitted and distributed as signals over a network medium, and downloaded and installed via a communication component, and / or installed from a removable medium. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0204] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on a user's computing device, partially on a user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0205] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions. Those skilled in the art will understand that the features described in the various embodiments of the present disclosure can be combined and / or combined in various ways, even if such combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments of this disclosure may be combined and / or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0206] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.
Claims
1. A method for displaying an interface on a train, comprising: In response to the activation of the train display, the priority of each display interface is determined based on its importance level and usage frequency within a preset historical period. The importance level is determined according to the correlation between the interface function and train operation safety. Based on the priority of each display interface, a target loading strategy for each display interface is determined from multiple loading strategies. The loading strategy includes at least a first loading strategy and a second loading strategy. The first loading strategy indicates that interface data is preloaded into memory, and the second loading strategy indicates that interface data is loaded into memory in response to an interface access request. The display interface using the first loading strategy has a higher priority than the display interface using the second loading strategy. The target display interface is determined to be the first loading strategy, and the interface data of the target display interface is loaded into memory so that, in response to an interface access request for the target display interface, the interface data of the target display interface in memory is used to display the target display interface.
2. The interface display method according to claim 1, wherein The first loading strategy includes at least a first loading sub-strategy and a second loading sub-strategy, and determining the target loading strategy for each display interface from the multiple loading strategies includes: When the priority of the display interface is the first priority, the first loading sub-strategy is used as the target loading strategy of the display interface, and the first loading sub-strategy indicates that the interface data in the memory is pre-rendered. When the priority of the display interface is the second priority, the second loading sub-strategy is used as the target loading strategy for the display interface. The second loading sub-strategy indicates that the interface data in memory is rendered in response to the interface access request. The display interface with the first priority is used more frequently than the display interface with the second priority.
3. The interface display method of claim 2, wherein, The interface display method further includes: From multiple target display interfaces, the target loading strategy is determined to be the first display interface of the first loading sub-strategy; The target interface data of the first display interface is rendered to obtain the first display interface; Based on the display coordinate range of the train display, the interface coordinates of the first display interface are set to a first coordinate value that is outside the display coordinate range; In response to an interface access request for the first display interface, the interface coordinates of the first display interface are set to a second coordinate value that is within the range of the display coordinates, so that the train display shows the first display interface.
4. The interface display method of claim 2, wherein, The interface display method further includes: From multiple target display interfaces, determine the second display interface whose target loading strategy is the second loading sub-strategy; Set the container storing the interface data of the second display interface to a hidden state; In response to an interface access request for the second display interface, the container is set to a display state to trigger the rendering of interface data for the second display interface.
5. The interface display method of claim 1, wherein, The interface display method further includes: In response to an interface access request for a third display interface, a loader is used to load and render the interface data of the third display interface so that the train display shows the third display interface, wherein the target loading strategy of the third display interface is the second loading strategy.
6. The interface display method according to claim 5, wherein, The interface display method further includes: The resource utilization rate of the train display is evaluated, and the evaluation results are obtained. When the evaluation results indicate sufficient resources, a target third display interface is determined from the plurality of third display interfaces based on the usage frequency of each of the third display interfaces. The interface data of the target third display interface is loaded into memory so that, in response to an interface access request for the target third display interface, the interface data of the target third display interface in memory is used to display the target third display interface.
7. The interface display method according to claim 6, wherein, The evaluation of the resource utilization rate of the train display, and the resulting evaluation, include: Obtain the processor utilization and memory utilization of the train display; If the processor utilization is less than a preset processor utilization threshold and the memory utilization is less than a preset memory utilization threshold, the evaluation result is determined to indicate that the resources are sufficient.
8. The interface display method according to claim 6, wherein, The step of determining a target third display interface from multiple third display interfaces based on the usage frequency of each third display interface, when the evaluation results indicate sufficient resources, includes: Based on the memory utilization rate of the train display, determine the amount of available memory; Based on the available memory, at least one target third display interface is determined from the plurality of third display interfaces in descending order of usage frequency.
9. The interface display method according to claim 1, wherein, The interface display method further includes: In response to receiving an interface access request, determine the display interface to be accessed in the interface access request; Determine the accessible display interface for the target display interface; When the target loading strategy for the jumpable display interface is the second loading strategy, the interface data of the jumpable display interface is loaded into memory so that, in response to an interface access request for the jumpable display interface, the interface data of the jumpable display interface in memory is used to display the jumpable display interface.
10. The interface display method according to claim 9, wherein, The jumpable display interface includes multiple interfaces, and the interface display method further includes: Acquire train fault data; Based on the train fault data and the interface functions of each jumpable display interface, the loading order of loading the interface data of multiple jumpable display interfaces into memory is determined, and the loading order is determined according to the degree of correlation between the interface functions and the train fault data.
11. The interface display method according to claim 1, wherein, The priority of each display interface is determined based on its importance level and usage frequency within a preset historical period, including: If the importance level of the display interface is first level and the usage frequency is greater than a preset usage frequency threshold, the priority of the display interface is determined to be first priority. The first level indicates that the interface function of the display interface is related to train operation safety. If the importance level of the display interface is first level and the usage frequency is less than or equal to a preset usage frequency threshold, the priority of the display interface is determined to be second priority. If the importance level of the display interface is the second level, the priority of the display interface is determined to be the third priority. The second level indicates that the interface function of the display interface is not related to train operation safety.
12. An interface display system for trains, comprising a processor and a train display; The processor is configured to: in response to the startup of the train display, determine the priority of each display interface based on its importance level and usage frequency within a preset historical period, wherein the importance level is determined based on the correlation between the interface function and train operation safety; determine a target loading strategy for each display interface from multiple loading strategies based on the priority of each display interface, wherein the loading strategy includes at least a first loading strategy and a second loading strategy, wherein the first loading strategy instructs to preload interface data into memory, and the second loading strategy instructs to load interface data into memory in response to an interface access request, wherein the display interface using the first loading strategy has a higher priority than the display interface using the second loading strategy; determine the target display interface as the target loading strategy of the first loading strategy, and load the interface data of the target display interface into memory so that, in response to an interface access request for the target display interface, the processor can display the target display interface using the interface data of the target display interface in memory; The train display is configured to show the display interface to which the interface access request is directed.
13. The interface display system according to claim 12, wherein, The first loading strategy includes at least a first loading sub-strategy and a second loading sub-strategy, and the processor is further configured to: When the priority of the display interface is the first priority, the first loading sub-strategy is used as the target loading strategy of the display interface, and the first loading sub-strategy indicates that the interface data in the memory is pre-rendered. When the priority of the display interface is the second priority, the second loading sub-strategy is used as the target loading strategy for the display interface. The second loading sub-strategy indicates that the interface data in memory is rendered in response to the interface access request. The display interface with the first priority is used more frequently than the display interface with the second priority.
14. The interface display system according to claim 13, wherein, The processor is also configured to: From multiple target display interfaces, the target loading strategy is determined to be the first display interface of the first loading sub-strategy; The target interface data of the first display interface is rendered to obtain the first display interface; Based on the display coordinate range of the train display, the interface coordinates of the first display interface are set to a first coordinate value that is outside the display coordinate range; In response to an interface access request for the first display interface, the interface coordinates of the first display interface are set to a second coordinate value that is within the range of the display coordinates, so that the train display shows the first display interface.
15. The interface display system according to claim 13, wherein, The processor is also configured to: From multiple target display interfaces, determine the second display interface whose target loading strategy is the second loading sub-strategy; Set the container storing the interface data of the second display interface to a hidden state; In response to an interface access request for the second display interface, the container is set to a display state to trigger the rendering of interface data for the second display interface.
16. The interface display system according to claim 12, wherein, The processor is also configured to: In response to an interface access request for a third display interface, a loader is used to load and render the interface data of the third display interface so that the train display shows the third display interface, wherein the target loading strategy of the third display interface is the second loading strategy.
17. The interface display system according to claim 16, wherein, The processor is also configured to: The resource utilization rate of the train display is evaluated, and the evaluation results are obtained. When the evaluation results indicate sufficient resources, a target third display interface is determined from the plurality of third display interfaces based on the usage frequency of each of the third display interfaces. The interface data of the target third display interface is loaded into memory so that, in response to an interface access request for the target third display interface, the interface data of the target third display interface in memory is used to display the target third display interface.
18. The interface display system according to claim 17, wherein, The processor is also configured to: Obtain the processor utilization and memory utilization of the train display; If the processor utilization is less than a preset processor utilization threshold and the memory utilization is less than a preset memory utilization threshold, the evaluation result is determined to indicate that the resources are sufficient.
19. The interface display system according to claim 17, wherein, The processor is also configured to: Based on the memory utilization rate of the train display, determine the amount of available memory; Based on the available memory, at least one target third display interface is determined from the plurality of third display interfaces in descending order of usage frequency.
20. The interface display system according to claim 12, wherein, The processor is also configured to: In response to receiving an interface access request, determine the display interface to be accessed in the interface access request; Determine the accessible display interface for the target display interface; When the target loading strategy for the jumpable display interface is the second loading strategy, the interface data of the jumpable display interface is loaded into memory so that, in response to an interface access request for the jumpable display interface, the interface data of the jumpable display interface in memory is used to display the jumpable display interface.
21. The interface display system according to claim 20, wherein, The processor is also configured to: Acquire train fault data; Based on the fault types involved in the train fault data and the interface functions of each jumpable display interface, the loading order of loading the interface data of multiple jumpable display interfaces into memory is determined, and the loading order is determined according to the degree of correlation between the interface function and the fault type.
22. The interface display system according to claim 12, wherein, The processor is also configured to: If the importance level of the display interface is first level and the usage frequency is greater than a preset usage frequency threshold, the priority of the display interface is determined to be first priority. The first level indicates that the interface function of the display interface is related to train operation safety. If the importance level of the display interface is first level and the usage frequency is less than or equal to a preset usage frequency threshold, the priority of the display interface is determined to be second priority. If the importance level of the display interface is the second level, the priority of the display interface is determined to be the third priority. The second level indicates that the interface function of the display interface is not related to train operation safety.
23. A train comprising the interface display system as described in any one of claims 12 to 22.