Information display method and device, electronic equipment, storage medium and program product
By dynamically adjusting the refresh rate of the marquee display based on the CPU usage of the vehicle's infotainment system, the problems of low information display efficiency and high CPU usage caused by a fixed refresh rate are solved, thereby improving user experience and system performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- PATEO CONNECT (NANJING) CO LTD
- Filing Date
- 2024-11-18
- Publication Date
- 2026-05-19
AI Technical Summary
In existing technologies, the refresh rate or frequency of marquee effects is usually fixed, resulting in low information display efficiency in limited screen space, poor user experience, and potentially excessive CPU usage.
By periodically monitoring the CPU usage of the vehicle's infotainment system, the refresh rate of the information to be displayed is dynamically adjusted to optimize CPU usage and improve the information display effect.
It achieves improved information display effects and user experience while dynamically optimizing CPU usage, ensuring smooth and efficient information display.
Smart Images

Figure CN122064403A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of display control technology, and in particular to an information display method, device, electronic device, storage medium, and program product. Background Technology
[0002] A marquee effect, also known as a scrolling display effect or a moving display effect, is used to display information to users in a scrolling or moving manner when a user opens a corresponding application page. This display method allows users to browse more information within a limited screen space. However, in related technologies, the scrolling or moving rate or frequency of the marquee display is usually fixed. Summary of the Invention
[0003] This disclosure proposes an information display method, an information display device, an electronic device, a computer-readable storage medium, and a computer program product. This information display solution can dynamically adjust the refresh rate of the information to be displayed by periodically monitoring the CPU overhead, thereby improving the information display effect and user experience while dynamically optimizing CPU usage.
[0004] In a first aspect, embodiments of this disclosure propose an information display method, including: acquiring the central processing unit (CPU) utilization rate of the vehicle system at preset intervals; in response to the CPU utilization rate being greater than a preset utilization rate, determining a target refresh rate for the information to be displayed based on the CPU utilization rate and the preset utilization rate; and controlling the information to be displayed to be scrolled based on the target refresh rate.
[0005] Secondly, this disclosure provides an information display device, comprising: an acquisition module, a determination module, and a display module. The acquisition module is configured to acquire the central processing unit (CPU) usage rate of the vehicle system at preset intervals; the determination module is configured to determine a target refresh rate for the information to be displayed based on the CPU usage rate and the preset usage rate in response to the CPU usage rate exceeding a preset usage rate; and the display module is configured to control the scrolling display of the information to be displayed based on the target refresh rate.
[0006] Thirdly, embodiments of this disclosure provide an electronic device, which includes: at least one controller; and a memory communicatively connected to the at least one controller; wherein the memory stores instructions executable by the at least one controller, which, when executed by the at least one controller, enable the at least one controller to implement the information display method as described in any implementation of the first aspect.
[0007] Fourthly, embodiments of this disclosure provide a non-transitory computer-readable storage medium storing computer instructions that enable a computer to implement the information display method described in any of the implementations in the first aspect when executed.
[0008] Fifthly, embodiments of this disclosure provide a computer program product including a computer program, which, when executed by a processor, can implement the information display method as described in any implementation of the first aspect.
[0009] The information display scheme provided in this disclosure acquires the CPU usage rate of the vehicle system at preset intervals to periodically monitor whether it exceeds the preset usage rate. If it is determined that the currently acquired CPU usage rate exceeds the preset usage rate, a target refresh rate for controlling the scrolling display of the information to be displayed is determined based on the preset usage rate and the currently acquired CPU usage rate. In this way, by periodically monitoring the CPU overhead, the refresh rate of the information to be displayed can be dynamically adjusted, thereby improving the information display effect and user experience while dynamically optimizing the CPU usage.
[0010] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0011] Other features, objects, and advantages of this disclosure will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0012] Figure 1 This is an exemplary system architecture to which this disclosure can be applied;
[0013] Figure 2 A flowchart illustrating an information display method provided in this embodiment of the disclosure;
[0014] Figure 3 A flowchart illustrating another information display method provided in this disclosure embodiment;
[0015] Figure 4 A structural block diagram of an information display device provided in an embodiment of this disclosure;
[0016] Figure 5 This is a schematic diagram of the structure of an electronic device suitable for performing an information display method, provided as an embodiment of the present disclosure. Detailed Implementation
[0017] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding; these should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description. It should be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.
[0018] It should be noted that the collection, acquisition, storage, processing, transmission, provision, disclosure, and application of user personal information (such as multimedia application login information) involved in the technical solution disclosed herein are all carried out with the user's knowledge and explicit authorization, comply with the provisions of relevant laws and regulations, and do not violate public order and good morals.
[0019] Figure 1 An exemplary system architecture 100 is shown, in which embodiments of the information display methods, information display devices, electronic devices, non-transitory computer-readable storage media, and computer program products of the present disclosure can be applied.
[0020] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a vehicle 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, and 103 and the vehicle 105. The network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables. In some implementations of this disclosure, the terminal devices 101, 102, and 103 can be connected to the vehicle 105's telematics box (T-BOX) (not shown) via the network 104. Furthermore, the T-BOX can communicate with the vehicle's infotainment system (not shown), and the T-BOX and the infotainment system can communicate via a controller area network bus (CAN-BUS) to transmit commands and information.
[0021] Users can use terminal devices 101, 102, and 103 to interact with vehicle 105 via network 104 to receive or send messages, etc. Various applications for enabling information communication between the terminal devices 101, 102, and 103 and vehicle 105 can be installed. These applications include near-field communication applications and wireless communication applications.
[0022] Terminal devices 101, 102, and 103 can be either hardware or software. When terminal devices 101, 102, and 103 are hardware, they can be various electronic devices with displays, including but not limited to smartphones, tablets, laptops, and desktop computers. When terminal devices 101, 102, and 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software programs or software modules, or as a single software program or software module, without specific limitations.
[0023] The vehicle's infotainment system (V2X) can provide various services through its built-in applications. Taking the information display application as an example, when running this application, the V2X can achieve the following: by acquiring the CPU usage of the V2X system at preset intervals, it periodically monitors whether the CPU usage exceeds the preset limit. If the acquired CPU usage exceeds the preset limit, it determines the target refresh rate for controlling the scrolling display of the information based on the preset limit and the acquired CPU usage. In this way, by periodically monitoring the CPU overhead, the refresh rate of the information to be displayed can be dynamically adjusted, thereby improving the information display effect and user experience while dynamically optimizing CPU usage.
[0024] It should be understood that Figure 1 The number of terminal devices, networks, and vehicles shown is merely illustrative. Any number of terminal devices, networks, and vehicles can be included depending on implementation needs.
[0025] A marquee effect, also known as a scrolling display effect or a moving display effect, displays information to users in a scrolling or moving manner when a user opens a relevant application page. This display method allows users to browse more information within a limited screen space. However, in related technologies, the scrolling or moving rate or frequency of the marquee display is usually fixed. Therefore, a solution that can dynamically adjust the refresh rate of the marquee is needed.
[0026] Please refer to the following: Figure 2 , Figure 2 A flowchart of an information display method provided in this disclosure embodiment, wherein process 200 includes the following steps:
[0027] Step 201: Obtain the utilization rate of the central processing unit (CPU) of the vehicle system at preset intervals.
[0028] This step is intended for the entity implementing the information display method (e.g., Figure 1The vehicle infotainment system in the vehicle 105 shown dynamically acquires the CPU usage rate of the vehicle infotainment system at preset intervals. The value of the preset interval can be set according to the specific application scenario, and is not specifically limited here. The CPU usage rate can be expressed as a percentage or a decimal.
[0029] Step 202: In response to the CPU utilization rate being greater than the preset utilization rate, determine the target refresh rate of the information to be displayed based on the CPU utilization rate and the preset utilization rate.
[0030] Based on step 201, the CPU utilization rate obtained at the aforementioned preset interval can be compared with a preset utilization rate. This step aims to determine, when the execution entity determines that the obtained CPU utilization rate is greater than the preset utilization rate—that is, when the trigger condition for updating and adjusting the refresh rate of the information to be displayed is met—the target refresh rate for controlling the display of the information is determined based on the obtained CPU utilization rate and the preset utilization rate. The value of the preset utilization rate can be set according to the specific performance of the CPU in different vehicle systems, and is not specifically limited here. The preset utilization rate can also be expressed as a percentage or a decimal.
[0031] Step 203: Control the scrolling display of the information to be displayed according to the target refresh rate.
[0032] Building upon step 201, this step aims to allow the executing entity to control the scrolling display of the information to be displayed after determining the target refresh rate of the information to be displayed based on the preset usage rate and the obtained CPU usage rate. The information to be displayed in this embodiment may include, but is not limited to, one or more of text display information, image display information, and light display information. It may also include other types of information capable of scrolling or display.
[0033] The information display method provided in this disclosure acquires the CPU usage rate of the vehicle system at preset intervals to periodically monitor whether it exceeds a preset usage rate. If it is determined that the currently acquired CPU usage rate exceeds the preset usage rate, a target refresh rate for controlling the scrolling display of the information to be displayed is determined based on the preset usage rate and the currently acquired CPU usage rate. In this way, by periodically monitoring the CPU overhead, the refresh rate of the information to be displayed can be dynamically adjusted, thereby improving the information display effect and user experience while dynamically optimizing CPU usage.
[0034] Please refer to Figure 3 , Figure 3A flowchart of another information display method provided in this disclosure embodiment, wherein process 300 includes the following steps:
[0035] Step 301: Obtain the central processing unit usage rate of the vehicle system at preset intervals.
[0036] The above steps 301 and as follows Figure 2 The steps shown in step 201 are the same; for the same parts, please refer to the corresponding parts of the previous embodiment, and they will not be repeated here. Furthermore, the information display method can be implemented by the executing entity (e.g., Figure 1 When the vehicle's infotainment system (VIS) in the vehicle 105 shown determines that the CPU usage obtained at a preset interval is greater than the preset usage, it performs the following steps 302-303 to determine the target refresh rate of the information to be displayed based on the preset usage and the currently obtained CPU usage.
[0037] Step 302: In response to the CPU utilization rate being greater than the preset utilization rate, determine the target adjustment ratio based on the CPU utilization rate and the preset utilization rate. This target adjustment ratio can be expressed as a percentage or a decimal.
[0038] Step 303: Adjust the current refresh rate of the information to be displayed based on the target adjustment ratio to obtain the target refresh rate of the information to be displayed.
[0039] In this embodiment, in order to ensure the accuracy of the target refresh rate used to control the scrolling display of the information to be displayed, thereby ensuring the display effect of the information to be displayed, if it is determined that the CPU utilization rate obtained at a preset interval is greater than the preset utilization rate, an adjustment ratio, namely the target adjustment ratio, is first determined based on the CPU utilization rate and the preset utilization rate to adjust the current refresh rate of the information to be displayed. Then, the current refresh rate of the information to be displayed can be adjusted to the target refresh rate based on the target adjustment ratio.
[0040] Furthermore, when controlling the information to be displayed to scroll and display at a target refresh rate based on a preset usage rate and the latest obtained CPU usage rate, the aforementioned execution entity can implement the process of controlling the information to be displayed to scroll and display based on the target refresh rate through the following steps 304-305.
[0041] Step 304: Determine the target scroll rate based on the target refresh rate.
[0042] Step 305: Control the scrolling display of the information to be displayed according to the target scrolling rate.
[0043] In this embodiment, in order to ensure more accurate scrolling control of the information to be displayed, the target refresh rate obtained based on the preset usage rate and the latest CPU usage rate can be converted into a more suitable parameter for controlling the scrolling display of the information to be displayed, namely the target scroll rate, and then the scrolling display of the information to be displayed can be controlled accordingly.
[0044] exist Figure 3 Based on the corresponding information display method implementation, step 305 above can be specifically executed as follows:
[0045] In response to the fact that the length of the information to be displayed is greater than the length of the information display window, the information to be displayed is controlled to scroll from the starting position to the ending position of the information display window according to the target scroll rate and the preset scroll step.
[0046] In this embodiment, to ensure the display effect of the information to be displayed when its length exceeds the length of the information display window used to display it, a stable and smooth scrolling display needs to be achieved by gradually moving the window from its starting position to its ending position according to both the target scrolling rate and the preset scrolling step size. This ensures a good viewing experience for the user. The value of the preset scrolling step size can be set according to specific needs and is not specifically limited here.
[0047] Furthermore, in Figure 3 Based on the corresponding information display method embodiments, the following may also be included:
[0048] In response to the cumulative step size of the information to be displayed scrolling according to the target scroll rate and the preset scroll step size being greater than the preset step size, the part of the information to be displayed that is not currently displayed in the information display window is controlled to scroll from the starting position to the ending position according to the target scroll rate and the preset scroll step size; wherein, the preset step size is determined based on the length to be displayed.
[0049] In this embodiment, in order to ensure the display effect of the information to be displayed when the length of the information to be displayed exceeds the length of the information display window used to display it, when the cumulative step length of the scrolling from the starting position to the ending position of the window according to the target scrolling rate and the preset scrolling step length exceeds a certain step length, i.e., the preset time, the currently undisplayed part of the information to be displayed in the window can be controlled to gradually move from the starting position to the ending position of the window according to the same scrolling rate and scrolling step length to achieve a stable and smooth scrolling display. The preset step length can be determined based on the length of the information to be displayed to ensure the user's viewing experience of the scrolling display of the information to be displayed.
[0050] exist Figure 2-3 Based on the corresponding information display method embodiment, the target refresh rate is greater than or equal to the preset refresh rate. In this embodiment, in order to ensure that the information to be displayed can be scrolled, its refresh rate needs to be controlled above a certain refresh rate threshold, i.e., the preset refresh rate.
[0051] In some optional implementations of this embodiment, the value of the preset refresh rate can be set to a corresponding value depending on the specific circumstances of the device or system performance.
[0052] Furthermore, in some optional implementations of this embodiment, the preset refresh rate can be set to different values according to the specific content of the information to be displayed. That is, a corresponding refresh rate can be set for different display content such as text display information, image display information, and light display information. Specifically, a minimum refresh rate can be set that ensures the information to be displayed, such as text display information, image display information, and light display information, is clearly displayed.
[0053] exist Figure 2-3 Based on the corresponding information display method embodiments, after obtaining the above-mentioned target refresh rate, in a specific implementation of the present disclosure embodiment, the information display method may further include the following: determining whether the target refresh rate is less than a preset refresh rate; if so, the preset refresh rate can be determined as the new target refresh rate; if not, the above-mentioned target refresh rate is used to control the information to be displayed to scroll and display.
[0054] exist Figure 2-3 Based on the corresponding information display method embodiments, the scheme for obtaining the central processing unit usage rate of the vehicle system in step 201 or 301 above can be specifically executed as follows, including: obtaining the central processing unit usage rate through Android process monitoring instructions to ensure the efficiency and accuracy of CPU usage rate acquisition.
[0055] To deepen understanding of the solutions provided in this disclosure, considering the limited performance of chips and CPUs used in in-vehicle infotainment systems during application development, situations may arise where excessive system performance overhead leads to insufficient system smoothness. Therefore, in optimizing applications such as System User Interface (SystemUI), Android launchers, and multimedia music applications, optimization can be considered for CPU usage and effects requiring a marquee-like display of lyrics. In this implementation, CPU usage can be reduced by lowering the marquee's refresh rate. Specifically, Android's native marquee can control the refresh of controls based on the screen's refresh rate. In custom controls, the refresh rate can be dynamically adjusted based on system CPU consumption, thus dynamically optimizing system CPU usage. This specific implementation may include the following:
[0056] (1) Obtain system CPU usage through Android command line instructions (such as the android top instruction) to obtain system CPU overhead a% (corresponding to CPU utilization in the aforementioned embodiment) in real time, where 0 <= a <= 100.
[0057] (2) When CPU overhead a% > 50% (corresponding to the preset utilization rate in the aforementioned embodiments), the scrolling light display is downclocked. In a specific example, the screen scrolling light refresh rate (corresponding to the current refresh rate in the aforementioned embodiments) is 120Hz. The downclocking process involves calculating a refresh rate value c (corresponding to the target refresh rate in the aforementioned embodiments). Specifically, this can be done through the following process: first, calculate b = (100-a) / 50, and then calculate the downclocked refresh rate c = b * 120 (Hz). However, the value of c cannot be lower than 30Hz (corresponding to the preset refresh rate in the aforementioned embodiments). Specifically, the CPU utilization rate can be re-acquired every minute to adjust the refresh rate.
[0058] (3) After obtaining the marquee refresh rate c through the above formula, the marquee control can be refreshed every millisecond (corresponding to the target scroll rate in the previous embodiment), i.e., d = 1000 / c; furthermore, the marquee can be refreshed every d milliseconds by continuously notifying the handler.
[0059] (4) The scrolling marquee is refreshed by overriding the drawing method of the native Android control TextView. The specific process is as follows:
[0060] <4-i>: Determine whether the width of the lyrics text (corresponding to the length to be displayed in the previous embodiment) is greater than the width of the marquee control (corresponding to the length of the information display window in the previous embodiment). If it is greater than the width of the control, then turn on the marquee mode to ensure the display effect of the lyrics.
[0061] <4-ii>: During initialization, the width of the lyrics text is obtained as x, and the initial offset is 0 (i.e., it is located at the starting position of the marquee control);
[0062] <4-iii>: Every d milliseconds, the lyrics text is indented or moved from the starting position of the marquee control to its ending position, and the offset increments by 2 pixels each time (corresponding to the preset scrolling step size in the aforementioned embodiment);
[0063] <4-iv>: When the offset of the lyrics text movement (corresponding to the cumulative step size in the aforementioned embodiment) is greater than 2 / 3 of x (corresponding to the preset step size in the aforementioned embodiment), the truncated part of the lyrics text (corresponding to the part of the information to be displayed that is not currently displayed in the information display window in the aforementioned embodiment) is added to the end of the marquee control (i.e., the starting position of the marquee control), and together they participate in continuing to indent in the aforementioned direction.
[0064] (5) In this way, a process of dynamically adjusting the marquee refresh rate every minute based on the system CPU overhead is completed, so as to achieve a dynamic adjustment scheme for the marquee refresh rate that reduces CPU overhead when CPU usage is tight.
[0065] Further reference Figure 4 As an implementation of the methods shown in the above figures, this disclosure provides an embodiment of an information display device, which is similar to... Figure 2-3 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices (e.g., Figure 1 (The vehicle's infotainment system or onboard electronic equipment shown).
[0066] like Figure 4 As shown, the information display device 400 in this embodiment may include: an acquisition module 401, a determination module 402, and a display module 403.
[0067] The acquisition module 401 is configured to acquire the central processing unit (CPU) usage rate of the vehicle system at preset intervals; the determination module 402 is configured to determine the target refresh rate of the information to be displayed based on the CPU usage rate and the preset usage rate in response to the CPU usage rate being greater than the preset usage rate; and the display module 403 is configured to control the scrolling display of the information to be displayed based on the target refresh rate.
[0068] In some optional implementations of this embodiment, the determining module 402 is further configured to: determine a target adjustment ratio based on the central processing unit utilization rate and a preset utilization rate; and adjust the current refresh rate of the information to be displayed based on the target adjustment ratio to obtain a target refresh rate.
[0069] In some optional implementations of this embodiment, the target refresh rate is greater than or equal to the preset refresh rate.
[0070] In some optional implementations of this embodiment, the acquisition module 401 is further configured to: acquire the central processing unit usage rate through Android process monitoring instructions.
[0071] In some optional implementations of this embodiment, the display module 403 is further configured to: determine the target scroll rate based on the target refresh rate; and control the information to be displayed to scroll based on the target scroll rate.
[0072] In some optional implementations of this embodiment, the above-mentioned display module 403 is further configured to: in response to the display length of the information to be displayed being greater than the length of the information display window, control the information to be displayed to scroll from the starting position to the ending position of the information display window according to the target scroll rate and the preset scroll step.
[0073] In some optional implementations of this embodiment, the above-mentioned display module 403 is further configured to: in response to the cumulative step size of the information to be displayed scrolling according to the target scroll rate and the preset scroll step size being greater than the preset step size, control the part of the information to be displayed that is not currently displayed in the information display window to scroll from the starting position to the ending position according to the target scroll rate and the preset scroll step size; wherein, the preset step size is determined based on the length to be displayed.
[0074] In this embodiment, the specific processing of the acquisition module 401, the determination module 402, and the display module 403 in the information display device 400, and the resulting technical effects, can be referred to respectively. Figure 2-3 The relevant descriptions of the corresponding steps in the corresponding embodiments will not be repeated here.
[0075] This embodiment exists as a device embodiment corresponding to the above method embodiment. It acquires the CPU usage rate of the vehicle system every preset interval to periodically monitor whether it exceeds the preset usage rate. If it is determined that the currently acquired CPU usage rate exceeds the preset usage rate, a target refresh rate for controlling the scrolling display of the information to be displayed is determined based on the preset usage rate and the currently acquired CPU usage rate. In this way, by periodically monitoring the CPU overhead, the refresh rate of the information to be displayed can be dynamically adjusted, thereby improving the information display effect and user experience while dynamically optimizing the CPU usage.
[0076] According to embodiments of this disclosure, an electronic device is also provided, comprising: at least one controller; and a memory communicatively connected to the at least one controller; wherein the memory stores instructions executable by the at least one controller, which, when executed by the at least one controller, enables the at least one controller to implement the information display method described in any of the above embodiments. The electronic device may include a vehicle-mounted system or an in-vehicle electronic device.
[0077] According to embodiments of this disclosure, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions that enable a computer to implement the information display method described in any of the above embodiments when executed.
[0078] According to embodiments of this disclosure, this disclosure also provides a computer program product that, when executed by a processor, can implement the information display method described in any of the above embodiments.
[0079] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as in-vehicle systems, vehicle electronics, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0080] like Figure 5As shown, the electronic device 500 includes a control unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. The RAM 503 may also store various programs and data required for the operation of the electronic device 500. The control unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0081] Multiple components in electronic device 500 are connected to I / O interface 505, including: input unit 506, such as keyboard, mouse, etc.; output unit 507, such as various types of monitors, speakers, etc.; storage unit 508, such as disk, optical disk, etc.; and communication unit 509, such as network card, modem, wireless transceiver, etc. Communication unit 509 allows electronic device 500 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0082] Control unit 501 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of control unit 501 include, but are not limited to, graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various control units running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Control unit 501 performs the various methods and processes described above, such as information display methods. For example, in some embodiments, the information display method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by computing unit 501, one or more steps of the information display method described above may be performed. Alternatively, in other embodiments, control unit 501 may be configured to perform information display methods by any other suitable means (e.g., by means of firmware).
[0083] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0084] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0085] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0086] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0087] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0088] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and Virtual Private Server (VPS) services, such as high management difficulty and weak business scalability.
[0089] According to the technical solution of this disclosure embodiment, the CPU usage rate of the vehicle system is acquired every preset interval to periodically monitor whether it exceeds the preset usage rate. If it is determined that the currently acquired CPU usage rate exceeds the preset usage rate, a target refresh rate for controlling the scrolling display of the information to be displayed is determined based on the preset usage rate and the currently acquired CPU usage rate. In this way, by periodically monitoring the CPU overhead, the refresh rate of the information to be displayed can be dynamically adjusted, thereby improving the information display effect and user experience while dynamically optimizing the CPU usage.
[0090] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0091] It should also be understood that expressions such as "comprising," "including," "having," "containing," and / or "comprising" are open-ended rather than closed-ended expressions in this disclosure, indicating the presence of the stated features, elements, and / or components, but not excluding the presence of one or more other features, elements, components, and / or combinations thereof. Furthermore, when expressions such as "at least one of..." appear after a list of listed features, they modify the entire list of features, not just individual elements in the list. Additionally, when describing embodiments of this disclosure, the word "may" is used to mean "one or more embodiments of this disclosure." And the term "exemplary" is intended to refer to an example or illustration.
[0092] Unless otherwise specified, all terms used herein (including engineering and technical terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains. It should also be understood that, unless expressly stated in this disclosure, terms as defined in common dictionaries shall be interpreted as having the meaning consistent with their meaning in the context of the relevant art, and not as having an idealized or overly formalized meaning.
[0093] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. An information display method, comprising: The utilization rate of the vehicle's central processing unit is obtained at preset intervals. In response to the central processing unit (CPU) utilization rate being greater than a preset utilization rate, a target refresh rate for the information to be displayed is determined based on the CPU utilization rate and the preset utilization rate. Based on the target refresh rate, control the information to be displayed to scroll and be displayed.
2. The method according to claim 1, wherein, Determining the target refresh rate of the information to be displayed based on the central processing unit usage rate and the preset usage rate includes: The target adjustment ratio is determined based on the central processing unit utilization rate and the preset utilization rate; The current refresh rate of the information to be displayed is adjusted based on the target adjustment ratio to obtain the target refresh rate.
3. The method according to claim 1, wherein, The target refresh rate is greater than or equal to the preset refresh rate.
4. The method according to claim 1, wherein, The acquisition of the central processing unit utilization rate of the vehicle system includes: The CPU usage rate is obtained through Android process monitoring commands.
5. The method according to any one of claims 1 to 4, wherein, The step of controlling the scrolling display of the information to be displayed according to the target refresh rate includes: Determine the target scroll rate based on the target refresh rate; Based on the target scroll rate, control the information to be displayed to scroll and be displayed.
6. The method according to claim 5, wherein, The step of controlling the scrolling display of the information to be displayed according to the target scrolling rate includes: In response to the fact that the length of the information to be displayed is greater than the length of the information display window, the information to be displayed is controlled to scroll from the starting position to the ending position of the information display window according to the target scroll rate and the preset scroll step.
7. The method according to claim 6, wherein, The method further includes: In response to the cumulative step size of the information to be displayed scrolling according to the target scroll rate and the preset scroll step size being greater than the preset step size, the part of the information to be displayed that is not currently displayed in the information display window is controlled to scroll from the starting position to the ending position according to the target scroll rate and the preset scroll step size; The preset step size is determined based on the length to be displayed.
8. An information display device, comprising: The acquisition module is configured to acquire the central processing unit usage rate of the vehicle system at preset intervals. The determination module is configured to determine the target refresh rate of the information to be displayed based on the CPU utilization rate and the preset utilization rate in response to the CPU utilization rate being greater than the preset utilization rate. The display module is configured to control the scrolling display of the information to be displayed based on the target refresh rate.
9. An electronic device, comprising: At least one controller; as well as A memory communicatively connected to the at least one controller; wherein, The memory stores instructions that can be executed by the at least one controller, which, when executed by the at least one controller, enables the at least one controller to perform the information display method according to any one of claims 1-7.
10. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the information display method according to any one of claims 1-7.
11. A computer program product comprising a computer program that, when executed by a processor, implements the steps of the information display method according to any one of claims 1-7.