CN-122018759-A - Startup display method and device, electronic equipment and storage medium
Abstract
The disclosure provides a startup display method, a startup display device, electronic equipment and a storage medium, and relates to the technical field of computing resource management. The method comprises the steps of responding to a starting instruction, obtaining starting content and starting log information, wherein the starting log information is generated in the starting process of the electronic equipment, loading a first layer picture in a screen of the electronic equipment, wherein the starting content is displayed in the first layer picture, loading a second layer picture in a target area of the screen, the starting log information is displayed in the second layer picture, and the second layer picture is covered on the first layer picture. According to the scheme, the coexistence display of the starting log information and the starting content can be realized in the starting process of the electronic equipment.
Inventors
- Request for anonymity
Assignees
- 摩尔线程智能科技(北京)股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251215
Claims (11)
- 1. A power-on-display method, which is applied to an electronic device, the method comprising: responding to a starting instruction, acquiring starting content and starting log information, wherein the starting log information is generated in the starting process of the electronic equipment; loading a first picture layer picture in a screen of the electronic equipment, wherein the starting-up content is displayed in the first picture layer picture, and And loading a second layer picture in a target area of the screen, wherein the starting log information is displayed in the second layer picture, and the second layer picture is covered on the first layer picture.
- 2. The power-on display method according to claim 1, wherein loading a second layer picture in a target area of the screen comprises: Determining a target overlay layer from the one or more candidate overlay layers; Binding the starting log information with the target superposition layer, and loading a second layer picture of the target superposition layer in a target area of the screen, wherein the starting log information bound with the target superposition layer is displayed in the second layer picture.
- 3. The startup display method according to claim 2, wherein the binding the startup log information with the target overlay layer includes: Rendering the starting log information to a target memory area; registering a target memory area carrying the starting log information as a frame buffer object managed by a rendering manager, and generating a corresponding frame buffer object identifier; binding the frame buffer object identification with the target overlay layer.
- 4. The boot-up display method according to claim 3, wherein the rendering the boot log information to the target memory area comprises: Applying for a target memory area; obtaining a writable virtual address of the target memory area in a memory mapping mode; And rendering the starting log information to a target memory area where the writable virtual address is located.
- 5. The startup display method according to claim 1, wherein presenting the startup log information in the second layer picture includes: And acquiring new starting log information according to a specified period, or generating the new starting log information in the starting process of the electronic equipment, wherein the new starting log information is displayed in the second layer picture.
- 6. The power-on start-up display method according to any one of claims 1 to 5, further comprising: after the electronic equipment is started, closing the second layer picture and releasing the resource of the second layer picture; And presenting a desktop in the first layer picture.
- 7. The power-on start-up display method according to any one of claims 1 to 5, further comprising: After the electronic equipment is started, presenting a desktop in the first layer picture; And displaying a second layer picture in a target area of the screen in a lease isolation mode, wherein the starting log information is displayed in the second layer picture.
- 8. The power-on display method according to any one of claims 1 to 5, wherein the second layer picture is in a pixel format supporting a transparent channel, such that the second layer picture is overlaid on the first layer picture in a semi-transparent or opaque manner.
- 9. A power-on-display device, characterized in that it is applied to an electronic apparatus, said device comprising: The information acquisition module is used for responding to the detection of a starting instruction to acquire starting content and starting log information, wherein the starting log information is generated in the starting process of the electronic equipment; A picture loading module for loading a first picture layer picture in the screen of the electronic equipment, wherein the starting content is displayed in the first picture layer picture, and The picture loading module is further used for loading a second picture layer picture in the target area of the screen, the starting log information is displayed in the second picture layer picture, and the second picture layer picture is covered on the first picture layer picture.
- 10. An electronic device, comprising: Processor, and A memory having stored thereon computer readable instructions which when executed by the processor implement the power-on-start-up display method of any one of claims 1 to 8.
- 11. A computer readable storage medium, having stored thereon a computer program which, when executed by a processor, implements a power-on-display method according to any of claims 1 to 8.
Description
Startup display method and device, electronic equipment and storage medium Technical Field The disclosure relates to the technical field of display of electronic equipment, and in particular relates to a startup display method and device, electronic equipment and a storage medium. Background In the startup process of an electronic device, in order to facilitate system debugging and status monitoring, it is generally required to output startup log information generated by a kernel and system services to a display device. Currently, a common implementation is to display the log text directly on the screen full screen through a frame buffer console (framebuffer console, fbcon) mechanism. However, since the frame buffer console mechanism adopts a single frame buffer to perform full-screen rendering, when the boot log is displayed, the main display content such as the boot animation, the brand identification and the like output by the boot loader or in the initialization stage can be completely covered, or the log text can be covered by the subsequent boot content, so that the problem that the log information and the boot content are in conflict exists. It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art. Disclosure of Invention The embodiment of the disclosure aims to provide a startup display method, a startup display device, electronic equipment and a storage medium, which can realize coexistence display of startup log information and startup content in the startup process of the electronic equipment. Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure. According to a first aspect of an embodiment of the present disclosure, there is provided a startup display method, including: responding to a starting instruction, acquiring starting content and starting log information, wherein the starting log information is generated in the starting process of the electronic equipment; loading a first picture layer picture in a screen of the electronic equipment, wherein the starting-up content is displayed in the first picture layer picture, and And loading a second layer picture in a target area of the screen, wherein the starting log information is displayed in the second layer picture, and the second layer picture is covered on the first layer picture. In some example embodiments of the present disclosure, based on the foregoing solution, loading the second layer picture in the target area of the screen includes: Determining a target overlay layer from the one or more candidate overlay layers; Binding the starting log information with the target superposition layer, and loading a second layer picture of the target superposition layer in a target area of the screen, wherein the starting log information bound with the target superposition layer is displayed in the second layer picture. In some example embodiments of the present disclosure, based on the foregoing solution, the binding the start log information with the target overlay layer includes: Rendering the starting log information to a target memory area; registering a target memory area carrying the starting log information as a frame buffer object managed by a rendering manager, and generating a corresponding frame buffer object identifier; binding the frame buffer object identification with the target overlay layer. In some example embodiments of the present disclosure, based on the foregoing solution, the rendering the start log information to the target memory area includes: Applying for a target memory area; obtaining a writable virtual address of the target memory area in a memory mapping mode; And rendering the starting log information to a target memory area where the writable virtual address is located. In some example embodiments of the present disclosure, based on the foregoing solution, the rendering the start log information to the target memory area includes: Analyzing log text stored by the kernel according to the line to obtain starting log information; And rendering the starting log information to a target memory area according to a built-in word model table. In some example embodiments of the present disclosure, based on the foregoing solution, presenting the start log information in the second layer picture includes: And acquiring new starting log information according to a specified period, or generating the new starting log information in the starting process of the electronic equipment, wherein the new starting log information is displayed in the second layer picture. In some example embodiments of the present disclosure, based on the foregoing scheme, the size of the second layer picture is smaller than