CN117519541A - Page display method and device, electronic equipment and readable storage medium - Google Patents

Page display method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117519541A
CN117519541A CN202311416150.6A CN202311416150A CN117519541A CN 117519541 A CN117519541 A CN 117519541A CN 202311416150 A CN202311416150 A CN 202311416150A CN 117519541 A CN117519541 A CN 117519541A
Authority
CN
China
Prior art keywords
page
application
image
animation
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311416150.6A
Other languages
Chinese (zh)
Inventor
乔峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202311416150.6A priority Critical patent/CN117519541A/en
Publication of CN117519541A publication Critical patent/CN117519541A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a page display method, a page display device, electronic equipment and a readable storage medium, which belong to the technical field of computers, and the method comprises the following steps: receiving a first input of an application icon of a first application; responding to a first input, and acquiring a first prerendered image of a first page of a first application, wherein the first prerendered image is a prestored image corresponding to the first page; a first launch animation of the first page is displayed based on the first pre-rendered image.

Description

Page display method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of computers, and particularly relates to a page display method, a page display device, electronic equipment and a readable storage medium.
Background
In the process of using the electronic device, a user can open a certain page of the application by clicking an application icon of the application displayed on a desktop of the electronic device. In general, after receiving a click input of an application icon of an application by a user, an electronic device displays a start animation of a section of page, where the start animation is a dynamic display process that a page to be opened is unfolded from the application icon, and the size of the application icon is enlarged to be full of a screen of the electronic device.
However, before the animation is started up for displaying the page, the electronic device needs to first perform a preparation work for starting up the application program, wait for the window for displaying the animation to be drawn, and then use the drawn window to perform processes such as expanding the animation. Therefore, when a user opens a page of an application, the time delay of starting animation of the page displayed by the electronic equipment is increased, and the response speed of the electronic equipment is slower.
Disclosure of Invention
An object of the embodiments of the present application is to provide a page display method, a device, an electronic device, and a readable storage medium, which can improve a response speed of the electronic device.
In a first aspect, an embodiment of the present application provides a page display method, where the method includes: receiving a first input of an application icon of a first application; responding to a first input, and acquiring a first prerendered image of a first page of a first application, wherein the first prerendered image is a prestored image corresponding to the first page; a first launch animation of the first page is displayed based on the first pre-rendered image.
In a second aspect, an embodiment of the present application provides a page display device, including: the device comprises a receiving module, an acquisition module and a display module; the receiving module is used for receiving a first input of an application icon of a first application; the acquisition module is used for responding to the first input received by the receiving module and acquiring a first prerendered image of a first page of a first application, wherein the first prerendered image is a prestored image corresponding to the first page; and the display module is used for displaying the first starting animation of the first page based on the first prerendered image acquired by the acquisition module.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In an embodiment of the application, a first input of an application icon of a first application is received; responding to a first input, and acquiring a first prerendered image of a first page of a first application, wherein the first prerendered image is a prestored image corresponding to the first page; a first launch animation of the first page is displayed based on the first pre-rendered image. In the scheme, when the page of the application is required to be displayed, the starting animation of the page can be directly displayed through the pre-stored pre-rendered image corresponding to the page, so that a user can perceive the page display process in advance through displaying the starting animation, the response time delay before the page display is shortened, and the response speed of the electronic equipment is improved.
Drawings
FIG. 1 (A) is a schematic diagram of an interface for clicking an application icon by a user according to an embodiment of the present application;
fig. 1 (B) is an interface schematic diagram of an electronic device displaying an application page according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a process for displaying a startup animation of an application page according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of a startup animation of an application page displayed by pre-rendering an image according to an embodiment of the present application;
FIG. 4 is one of the flowcharts of a page display method according to an embodiment of the present application;
FIG. 5 is a second flowchart of a page display method according to an embodiment of the present disclosure;
FIG. 6 is a third flowchart of a page display method according to an embodiment of the present disclosure;
fig. 7 is an example schematic diagram of a page display method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a page display device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 10 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The terms "at least one," "at least one," and the like in the description and in the claims of the present application mean that they encompass any one, any two, or a combination of two or more of the objects. For example, at least one of a, b, c (item) may represent: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", wherein a, b, c may be single or plural. Similarly, the term "at least two" means two or more, and the meaning of the expression is similar to the term "at least one".
The page display method, the device, the electronic equipment and the readable storage medium provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The page display method, the device, the electronic equipment and the readable storage medium can be applied to a scene of opening a certain page of an application, and particularly can be applied to a scene of opening the page of the application from an application icon in a desktop.
Currently, applications are the primary way users interact with electronic devices. In most scenarios, the pages of an application are opened and displayed from application icons in the desktop. The user can trigger the electronic equipment to display the page of the application corresponding to the application icon by clicking the application icon of the desktop. In general, for comfortable feedback to a user, a section of starting animation that expands from an application icon to a full electronic device screen is generally performed after the user clicks. Before the animation is started on the display page, the electronic device needs to perform the processes of preparing an application program, waiting for the drawing of the window for displaying the animation to be completed, and using the drawn window to perform the unfolding animation.
As shown in fig. 1 (a), when the user wants to open the page of the application a, the user can trigger the electronic device to start the application a by clicking on the application icon 11 of the application a displayed on the desktop, and display a start animation of opening the page of the application a. The starting animation may include a dynamic presentation process of expanding from the application icon size to full of the electronic device screen, that is, a process of gradually enlarging and displaying as shown in a dotted line part shown in fig. 1 (a). After the start-up animation ends, the electronic device may display page 12 of application a, as shown in fig. 1 (B).
In the page display method, the device, the electronic equipment and the readable storage medium provided by the embodiment of the application, as the starting animation of the page can be directly displayed through the prerendered image of the page when the page of the application is required to be displayed, the user can perceive the page display process in advance through displaying the starting animation, the response time delay before the page display is shortened, and the response speed of the electronic equipment is improved.
The software environment to which the page display method provided by the embodiment of the present invention is applied is described below by taking an operating system as an example.
Fig. 2 is a schematic diagram of a possible architecture of an operating system according to an embodiment of the present invention. In fig. 2, the architecture of the operating system includes at least 3 layers, respectively: an application layer, a window management service layer and a system desktop layer.
Wherein the application layer comprises various application programs (including system application programs and third party application programs) in the operating system; the window management service program in the window management service layer is used for managing the system window; the system desktop layer includes a desktop launcher that manages a desktop interface for a user to interact with the electronic device.
In the system architecture shown in fig. 2, after a user clicks on an application icon in the desktop of the electronic device, the electronic device may create an event 21 through the system desktop layer, and notify the window management service layer to open an application page through the event 21. The window management service layer may thus create an event 22 through a service (Window Manager Service, WMS) that manages windows in the user interface and notify the application layer to launch an application and open an application page through the event 22. At this point, the application layer may load and render the page to be opened. After the application layer loads and renders the page to be opened, the window management service layer may be informed that the page is rendered. So that the window management service layer can create event 23 and inform the system desktop layer to perform the startup animation of the page through event 23. Finally, the system desktop layer may create event 24 to perform a start animation of the page, completing the display of the page.
In this way, the delay between executing the event 21 to the event 24 by the electronic device is high, that is, the response time delay from clicking the application icon by the user to displaying the application page by the electronic device is long, resulting in a slow response speed of the electronic device.
In the control page display method, device, electronic device and readable storage medium provided in the embodiments of the present application, as shown in fig. 3, after a user clicks an application icon in a desktop of the electronic device, the electronic device may create an event 21 through a system desktop layer, and notify a window management service layer to open an application page through the event 21. Thus, the window management service layer can create an event 30 through the WMS, add a pre-rendering window through the event 30, load a pre-rendering image on the pre-rendering window, and display a start animation based on the pre-rendering image on the desktop. Therefore, the delay between the execution events 21 and 24 of the electronic equipment is reduced, the response time delay between clicking the application icon by a user and displaying the application page by the electronic equipment is shortened, and the response speed of the electronic equipment is improved. And, after the electronic device loads and renders the page to be opened, an event 31 may be created through the window management service layer, and the prerendered screen may be removed through the event 31, so that a real page may be displayed.
The execution subject of the page display method provided in the embodiment of the present application may be a page display device. The page display means may be an electronic device or a component in the electronic device, such as an integrated circuit or a chip, for example. The page display method provided in the embodiment of the present application will be exemplarily described below by taking an electronic device as an example.
The embodiment of the application provides a page display method, and fig. 4 shows a flowchart of the page display method provided by the embodiment of the application, and the method can be applied to electronic equipment. As shown in fig. 4, the page display method provided in the embodiment of the present application may include the following steps 401 to 403.
Step 401, the electronic device receives a first input of an application icon of a first application.
In some embodiments of the present application, the first application may be any application in an electronic device.
In some embodiments of the present application, the first application may be a native application program or a fast application in the electronic device.
The first application may be, for example, a video playback application installed in the electronic device.
The first application may also be a game speed application that does not require installation, for example.
In some embodiments of the present application, the application icon of the first application may be an icon displayed in a desktop of the electronic device, or may be an icon displayed in another interface. The embodiments of the present application are not particularly limited.
For example, the application icon of the first application may be displayed as an icon in the application store home page.
In some embodiments of the present application, the display form of the application icon of the first application may be any possible form of square, circle, polygon, irregular shape, and the like. The embodiments of the present application are not particularly limited.
In some embodiments of the present application, the first input is used to launch a first application, thereby triggering the electronic device to display a page of the first application.
In some embodiments of the present application, the starting manner of the first application may be divided into a cold start and a hot start.
Under the condition that the starting mode of the first application is cold starting, the first page can be a first page of the first application. That is, the user may trigger the electronic device to display the home page of the first application via the first input.
And under the condition that the starting mode of the first application is hot starting, the first page can be the page displayed by the first application last time. That is, the user may trigger the electronic device to display the page last displayed by the first application through the first input.
In some embodiments of the present application, the page displayed by the first application last time may be a page displayed when the first application is changed from the foreground application to the background application.
It should be noted that, the cold start may instruct the electronic device to start an application that is not in an operating state; the warm boot may instruct the electronic device to launch the application in the running state. In other words, when the application is cold started, the background has no process for running the first application; when the application is started up, a process for running the first application exists in the background.
In some embodiments of the present application, the first input may be an input displaying a page of the first application. In other words, the first input may be a display input of a page of the first application.
In some embodiments of the present application, the first input includes, but is not limited to: the touch input of the user to the application icon of the first application by the touch device such as a finger or a stylus pen, or a voice command input by the user, or a specific gesture input by the user, or other feasibility inputs, which can be specifically determined according to the actual use requirement, and the embodiment of the application is not limited. The specific gesture in the embodiment of the present application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the application may be single click input, double click input, or any number of click inputs, and may also be long press input or short press input.
For example, the electronic device may receive a click input of an application icon of the first application by a user, and display a page of the first application.
For example, the electronic device may receive a user's voice input of an application icon of the first application, such as "open the first application," displaying a page of the first application.
In some embodiments of the present application, when a user desires to display a certain page of a first application, the user may input an application icon of the first application, that is, the first input, so that the electronic device starts the first application and displays the page of the first application.
Step 402, the electronic device obtains a first prerendered image of a first page of a first application in response to a first input.
The first prerendered image may be a prestored image corresponding to a first page.
In some embodiments of the present application, the first page may be any page of the first application.
The first page may be, for example, a home page of the first application of the electronic device; alternatively, the first page may also be the first page to be displayed when the first application is launched.
The first page may be any page in the running process of the first application.
In some embodiments of the present application, the first prerendered image may be a pre-stored image associated with page content of the first page. It can be appreciated that the electronic device may first open the page of the application based on the pre-stored first pre-rendered image during the loading and rendering of the first page, so that the user perceives the page display process in advance.
For example, assuming that the first page is a shopping cart page of a shopping application, the first pre-rendered image may be an image containing a shopping cart manifest.
For example, assuming that the first page is a play page of video 1 of the video play application, the first pre-rendered image may be an image containing a screenshot of video 1.
For example, assuming that the first page is a chat page of a communication application, the first pre-rendered image may be an image containing controls in the chat page.
Step 403, the electronic device displays a first starting animation of the first page based on the first prerendered image.
In some embodiments of the present application, the first start animation may be: the first pre-rendered image spreads out from the application icon over the dynamic presentation process of the entire screen. In one example, the first start animation may be: the first pre-rendered image is unfolded from the application icon in the application icon size, expanding and spreading over the dynamic presentation process of the whole screen.
When the first page is displayed, the electronic device needs to complete the preparation of the application, wait for the drawing of the window for displaying the animation to be completed, and use the drawn window to perform the expanding animation, so that the first starting animation of the first page can be displayed. Therefore, the delay of the user input of the application icon and the first starting animation for displaying the first page is easily caused to be larger, and the response time of the electronic device for displaying the first page is longer. In this way, according to the page display method provided by the embodiment of the application icon, after the user inputs the application icon, the first starting animation of the first page generated based on the first prerendered image is displayed, so that the user perceives the page display process in advance, the response time delay before the page display is shortened, and the response speed of the electronic equipment is improved.
In some embodiments of the present application, the electronic device may add a pre-rendering window to the first application through the WMS and determine the pre-rendering window as a container of the first pre-rendered image, such that the electronic device may display the first launch animation of the first page through the container.
Illustratively, as shown in fig. 1 (a), when the user wants to open a page of application a, the user may trigger the electronic device to start application a by clicking on the application icon 11 of application a displayed on the desktop, and display a start animation of opening the page of application a. The starting animation may include a dynamic presentation process of expanding from the application icon size to full of the electronic device screen, that is, a process of gradually enlarging and displaying as shown in a dotted line part shown in fig. 1 (a). After the start-up animation ends, the electronic device may display page 12 of application a, as shown in fig. 1 (B).
It should be noted that, in the related art, when a user triggers to display a first page of a first application, an electronic device needs to query a storage file containing page content of the first page from a folder corresponding to the first application, then generate all rendering instructions required for rendering the first page according to the storage file, and finally render to obtain the first page according to the rendering instructions. Therefore, when the user needs to open the first page, a large time delay exists in the starting animation of the page display of the electronic equipment.
In the page display method provided by the embodiment of the application, after the user inputs the application icon through the pre-stored screenshot or the image generated according to the application attribute, the first pre-rendered image can be directly used as the image which is gradually enlarged and displayed in the first starting animation, so that the starting animation of the page can be quickly displayed without waiting for the response of the electronic equipment by the user. Therefore, the user can not sense the blocking of the electronic equipment, and the waiting time delay of the user is reduced.
According to the page display method, when the page of the application is required to be displayed, the starting animation of the page can be directly displayed through the pre-stored pre-rendered image corresponding to the page, so that a user can perceive the page display process in advance through displaying the starting animation, the response time delay before the page display is shortened, and the response speed of the electronic equipment is improved.
In some embodiments of the present application, the electronic device may acquire the first pre-rendered image through two implementations described below.
A first possible implementation: the first pre-rendered image is acquired directly from the background.
In some embodiments of the present application, as shown in fig. 5 in conjunction with fig. 4, the step 402 may include a step 402a described below, and the step 403 may include a step 403a and a step 403b described below.
In step 402a, the electronic device responds to the first input, obtains a stored first prerendered image under the condition that the first application runs in the background, and adds a first prerendered window through a window management service layer.
Step 403a, the electronic device sends a first instruction to the system desktop layer through the window management service layer.
The first instruction may be used to notify the desktop layer of the system to display the first startup animation.
Step 403b, the electronic device displays, through the system desktop layer, a first start animation of the first page in the first pre-rendering window based on the first pre-rendering image.
In some embodiments of the present application, the above "the first application runs in the background" may be understood as: after the first application is started, the electronic device only exits the page displayed by the first application, and does not close the process running the first application.
For example, the electronic device may receive a user sliding input on a side of a screen of the electronic device after launching the first application, and display a desktop of the electronic device. At this time, the first application is running in the background.
The electronic device may also receive click input of notification messages of other applications by the user after the first application is started, and skip a page displayed on a screen of the electronic device to a message notification page of the other applications. At this time, the first application is running in the background.
It may be appreciated that if the electronic device receives the first input of the application icon in the case where the first application is running in the background, the electronic device should display the page that was last displayed before the first application was running in the background. Therefore, the electronic device can store the last page displayed before the background operation of the first application, and when the user wants to redisplay the page of the first application, the electronic device can quickly acquire the prerendered image of the page.
In some embodiments of the present application, the first prerendered image may be a screenshot of a first page taken by the electronic device, with the first application running in the background.
In some embodiments of the present application, the above-mentioned "in the case where the first application runs in the background, acquiring the stored first prerendered image" may be understood as: under the condition that the first application runs in the background, the electronic equipment can directly acquire the screenshot of the first page stored in the background.
For example, the electronic device may, after receiving a user's sliding input to a side of a screen of the electronic device, before displaying a desktop of the electronic device, screenshot a last page displayed before the first application is run in the background, and store the screenshot in the background. The electronic device may then directly obtain a screenshot of the first page after receiving a first input of an application icon of the first application by the user.
In some embodiments of the present application, the electronic device may further add a first pre-rendering window through the window management service layer, and determine the first pre-rendering window as a container of the first pre-rendered image, so that the electronic device may display the first start-up animation of the first page through the container.
In some embodiments of the present application, after the electronic device adds the first prerendered window through the window management service layer, a first instruction may be sent to the system desktop layer through the window management service layer, so that the electronic device displays a first start animation of the first page in the first prerendered window through the system desktop layer based on the first prerendered image.
Therefore, the electronic equipment can directly acquire the stored first prerendered image under the condition that the first application background operates, and the starting animation of the page is displayed on the prerendered window added by the window management service layer through the system desktop layer. The convenience and flexibility of starting up the animation based on the pre-rendered image display page can be improved.
Another embodiment: a first pre-rendered image is automatically generated.
In some embodiments of the present application, the step 402 may include a step 402b described below, and the step 403 may include a step 403c described below.
Step 402b, the electronic device generates a first prerendered image based on attribute information of the first application in response to the first input, and adds the first prerendered window through the window management service layer.
Wherein, the attribute information may include at least one of: name, icon, application description.
Step 403c, the electronic device displays a first starting animation of the first page on the first prerendering window based on the first prerendering image through the system desktop layer.
In some embodiments of the present application, the name of the first application may be a common name of the first application.
In some embodiments of the present application, the icon of the first application may be a general icon of the first application.
In some embodiments of the present application, the application description of the first application may be a description of information about a functional introduction, a marketing campaign, a development company, and the like of the first application.
It is understood that the first pre-rendered image generated based on the name, icon, or application description of the first application may contain representative information of the first application. Therefore, the user can quickly know the application to which the currently opened page belongs through the first prerendered image.
Illustratively, the first application is a short message application. The electronic device may generate a pre-rendered image including a dialog box based on the attribute information of the sms application.
Illustratively, the first application is exemplified as a gaming application. The electronic device may generate a pre-rendered image containing the gamepad based on the attribute information of the gaming application.
It should be noted that, regarding the electronic device passing through the window management service layer, the first prerendering window is added and the electronic device passing through the system desktop layer, based on the first prerendering image, the detailed description of the first start animation of the first page is displayed on the first prerendering window, which can be referred to the related description in step 402 and step 403. To avoid repetition, no further description is provided here.
Therefore, the electronic equipment can directly generate the first prerendered image on the name, the icon and the application description of the first application, so that the convenience and the flexibility of starting the animation based on the prerendered image display page can be improved.
In some embodiments of the present application, after the step 401, the page display method provided in the embodiments of the present application may further include a step 404 described below.
In some embodiments of the present application, after the step 403, the page display method provided in the embodiments of the present application may further include a step 405 described below.
Step 404, the electronic device renders, through the application layer, page content of the first page based on the scripting language file corresponding to the first page in response to the first input.
In some embodiments of the present application, the Script language file may be a file describing page content written in a Java Script language corresponding to the first page, which is stored in an application file corresponding to the first application. The electronic device can analyze the script language file through the front end frame of the electronic device to obtain rendering instructions for rendering pages corresponding to the script language file, so that page contents of the pages can be rendered based on the rendering instructions.
It can be understood that after receiving the first input of the application icon of the first application by the user, the electronic device may extract, from the application file corresponding to the first application, a scripting language file corresponding to the first page to be displayed, parse the scripting language file through the front end frame, and perform, according to the result of the parsing, image rendering using the android native language.
However, since one rendering instruction corresponds to an operation description of one node in the page, the more complex the page, the more rendering instructions are needed to render the page content, and thus the longer the front end frame of the electronic device needs to parse the scripting language file. The electronic device generally cannot respond to the input of the user before the result of the parsing is obtained, so that the response speed of the electronic device is slow.
In the page display method provided by the embodiment of the application, the first pre-rendering image can be obtained while the page content of the first page is rendered based on the script language file corresponding to the first page through the application layer, so that the first starting animation can be displayed quickly. Therefore, the user can perceive the page display process in advance, the response time delay before page display is shortened, and the response speed of the electronic equipment is improved
Step 405, after the electronic device finishes rendering the page content of the first page, the electronic device cancels displaying the first starting animation through the system desktop layer, and displays the second starting animation of the first page based on the page content of the first page.
In some embodiments of the present application, the page content of the first page may include at least one of: page display content, page layout, icon style.
Illustratively, the page display content of the first page may include, but is not limited to, content of characters, images, tables, etc., displayed in the first page.
Illustratively, the page layout of the first page may include, but is not limited to, an arrangement of page content, a format setting.
For example, the page layout of the first page may include an arrangement direction of the characters, a word size of the characters, a font style of the characters, and the like.
For another example, the page layout of the first page may include a display manner of an image, a display timing of a table, and the like.
By way of example, the icon style of the first page may include, but is not limited to, the display size, display location, display time, etc. of the icons in the first page.
For example, the icon style of the first page may include a display location of an icon of the page navigation identity in the page.
For another example, the icon style of the first page may include a display size of the icon in the first page that plays the logo.
In some embodiments of the present application, the second start animation may be: the page content of the first page is unfolded from the application icon to cover the dynamic display process of the whole screen. In one example, the first start animation may be: the page content of the first page is unfolded from the application icon according to the size of the application icon, and the dynamic display process of the whole screen is expanded and paved.
It is understood that the second launch animation and the first launch animation are launch animations generated by the electronic device based on different images or content. The first starting animation can be a virtual starting animation generated by the electronic equipment based on a pre-stored first pre-rendered image, and the second starting animation can be a real starting animation generated by the electronic equipment based on the page content of the first page. The second launch animation may be a page loaded and rendered by the application layer.
In some embodiments of the present application, the electronic device may render the page content of the first page during the process of displaying the first start animation of the first page. Therefore, after the rendering of the page content of the first page is completed, the starting animation of the real page content of the first page can be timely displayed, so that the page which is viewed by the user is the real page.
It should be noted that, to avoid that the start-up animation observed by the user includes a repeated portion, for example, the user observes a process of gradually expanding from the application icon of the first application twice, the electronic device may determine, when displaying the second start-up animation of the first page, a progress of the playing start of the second start-up animation according to a progress of the playing end of the first start-up animation when canceling the first start-up animation.
For example, assuming that the electronic device, upon completing the rendering of the page content of the first page, plays the first launch animation to the 50% size of the electronic device screen from the application icon, the electronic device may begin playing the second launch animation from the 50% size of the electronic device screen as the size of the first page, such that the launch animation as viewed by the user is a complete and continuous dynamic presentation process.
In this way, since the electronic device can cancel the display of the first startup animation after the rendering of the page content of the first page is completed, and display the second startup animation of the first page based on the page content of the first page. Therefore, the real page content of the page can be displayed timely, so that a user can view the page content of the page or operate the page of the page, and the response speed of the electronic equipment for displaying the application page is improved.
In some embodiments of the present application, the page display method provided in the embodiments of the present application may further include step 406 described below.
Step 406, after the electronic device finishes rendering the page content of the first page, the electronic device captures a first page through the application layer to obtain a first screenshot, and stores the first screenshot as a first prerendered image.
In some embodiments of the present application, the first screenshot may be a screenshot of page content including the first page.
Illustratively, the first page is taken as a home page of the first application. The first screenshot may be a screenshot of a first application home page.
It is understood that the electronic device, after completing the rendering of the page content of the first page, may save the obtained first screenshot as a first prerendered image. The electronic device can display the first starting animation directly based on the first screenshot when the user wants to open the first page of the first application next time, and the time delay of waiting for the response of the electronic device is not needed.
In some embodiments of the present application, after each time of rendering of the page content of the first page, the electronic device may perform screenshot on the first page and update the stored first prerendered image, so that the stored first prerendered image may be updated in time when the page content of the first page changes.
In this way, since the electronic device can save the screenshot of the first page as the first prerendered image after the rendering of the page content of the first page is completed, the flexibility of acquiring the prerendered image can be increased.
In some embodiments of the present application, as shown in fig. 6 in conjunction with fig. 4, after the step 403, the page display method provided in the embodiments of the present application may further include the following steps 407 to 410.
Step 407, the electronic device receives a second input through the system desktop layer while displaying the first page.
Wherein the second input may be used to display the first interface.
In some embodiments of the present application, the first interface may be a desktop or a second page of the electronic device.
In some embodiments of the present application, the second page may be any page other than the first page.
The second page may be a display interface of other applications, for example.
In some embodiments of the present application, the electronic device may receive a second input from the user while the first page is displayed, jumping from the first page to the first interface. That is, the second input may be a skip input of the page.
Illustratively, the first interface is taken as a desktop of the electronic device. The electronic device may receive a user sliding input to a side of a screen of the electronic device, jumping from a first page to a desktop.
Illustratively, the first interface is taken as a message notification interface for other applications. The electronic device may receive a click input of a message notification of the other application from the user, and jump from the first page to a message notification interface of the other application.
Step 408, the electronic device responds to the second input to obtain a second prerendered image corresponding to the first interface, and adds a second prerendered window through the window management service layer.
The second prerendered image may be a prestored image corresponding to the first interface.
In some embodiments of the present application, the second pre-rendered image may be a pre-stored image associated with interface content of the first interface. It can be appreciated that the electronic device may first open the first interface based on the second pre-rendered image during loading and rendering the first interface, so that the user perceives the process of displaying the interface in advance.
It should be noted that, when the electronic device performs the page skip, the user needs to wait for the first page to exit, and then select the interface to be displayed for opening. As such, the user needs to wait for the response time of both the exit of the first page of the electronic device and the opening of the first interface, resulting in a longer waiting time for the user. In the page display method provided by the embodiment of the application, the second prerendered image corresponding to the first interface can be obtained, so that a user can perceive the display process of the first interface in advance, the response time delay before interface display is shortened, and the response speed of the electronic equipment is improved.
In some embodiments of the present application, for a message description that the electronic device acquires the second pre-rendered image corresponding to the first interface, reference may be made to the description related to the electronic device acquiring the first pre-rendered image in step 402. To avoid repetition, no further description is provided here.
Step 409, the electronic device sends a second instruction to the system desktop layer through the window management service layer.
The second instruction may be used to notify the desktop layer of the system to display a third start animation, where the third start animation may be an animation that the first page jumps to the first interface.
Step 410, the electronic device displays a third start animation on the second pre-rendering window based on the second pre-rendering image through the system desktop layer.
Wherein the first interface in the third start animation is in an operable state.
In some embodiments of the present application, the third start animation may exit the first page for the electronic device and display a dynamic presentation process of the second prerendered image.
It should be noted that, in the case that the first interface is a desktop, the electronic device in the third starting animation may directly display the desktop after exiting the first page; and under the condition that the first interface is a display interface of other applications, the electronic equipment in the third starting animation can display the second prerendered image to be unfolded from the application icon after exiting the first page, and the size of the application icon is enlarged to be in a dynamic display process of spreading the screen of the electronic equipment.
In some embodiments of the present application, the above-described operable state may indicate a state in which icons and controls in the first interface may respond to user input after receiving the user input.
Illustratively, the first interface is taken as a desktop. In the process of displaying the third starting animation, if the electronic equipment receives the click of the application icon in the desktop from the user, the electronic equipment can start the application corresponding to the application icon.
Illustratively, the first interface is taken as a music playing interface. In the process of displaying the third starting animation, if the electronic equipment receives the input of the user to the playing control in the music playing interface, the electronic equipment can start playing music.
In some embodiments of the present application, when acquiring the second prerendered image corresponding to the first interface, the electronic device may acquire all interface contents of the first interface and corresponding operations thereof from the storage file corresponding to the first interface. The electronic device may thereby set the first interface in the third start-up animation to an operable state when the third start-up animation is generated and displayed in the second pre-rendering window based on the second rendered image.
Illustratively, the first interface is taken as a desktop of the electronic device. The electronic device may obtain application icons in the desktop and applications corresponding to the application icons when obtaining the prerendered image corresponding to the desktop. And the first interface in the third starting animation is set to be in an operable state, so that the user can be triggered to start the corresponding application by inputting the application icon in the first interface in the third starting animation.
It should be noted that, regarding the above-mentioned electronic device sending the second instruction to the system desktop layer through the window management service layer and the electronic device displaying the detailed description of the third start-up animation on the second prerendered window through the system desktop layer based on the second prerendered image, reference may be made to the related descriptions in step 402 and step 403. To avoid repetition, no further description is provided here.
Therefore, the electronic equipment can display the operable interface in advance in the page skip process, so that a user can operate the next interface without waiting for the completion of the page skip, and the response speed of the electronic equipment is improved.
The above method embodiments, or various possible implementation manners in the method embodiments, may be executed separately, or may be executed in any two or more combinations, which may be specifically determined according to actual use requirements, and this embodiment of the application is not limited.
The page display method provided in the embodiment of the present application is exemplarily described below with specific examples.
As shown in fig. 7, the page display method may include steps 501 to 510 described below.
Step 501, the electronic device receives click input of an application icon of a first application in a desktop by a user through a system desktop layer.
In some embodiments of the present application, the electronic device may notify the application to start starting after receiving a click input of an application icon of a first application in the desktop from a user. At this point, the user expects a launch animation of the first application page to be displayed immediately. However, the starting process is complex, which may cause a delay in response of the electronic device.
Step 502, the electronic device adds a prerendered window for the first application through the window management service layer in response to the click input.
In some embodiments of the present application, the electronic device may use the prerendered window as a container for prerendered images through which the electronic device may display a launch animation of the page.
Step 503, the electronic device determines whether the starting mode of the first application is cold start.
Step 504, the electronic device determines whether a first prerendered image of a first page of the first application is stored when the first application is started in a cold start mode.
Step 505, the electronic device generates a first pre-rendered image based on an application attribute of the first application without storing the first pre-rendered image, and displays a first start animation of the first page on the first pre-rendered window based on the first pre-rendered image through the system desktop layer.
Wherein, the attribute information may include at least one of: name, icon, application description.
In step 506, the electronic device directly displays, through the system desktop layer, the first start animation of the first page in the first pre-rendering window based on the first pre-rendering image when the first pre-rendering image is stored.
In step 507, the electronic device renders, through the application layer, page content of the first page based on the script language file corresponding to the first page in displaying the first start-up animation.
Step 508, the electronic device determines whether rendering of the page content of the first page is completed.
It is understood that the electronic device may continue rendering the page content of the first page without completing rendering the page content of the first page.
Step 509, after completing the rendering of the page content of the first page, the electronic device intercepts the page content of the first page through the application layer, and stores the page content of the first page as a pre-rendering screen corresponding to the first page.
Step 510, the electronic device removes the display pre-rendering window and displays a second start animation of the first page through the system desktop layer.
Therefore, when the page of the application is required to be displayed, the starting animation of the page can be directly displayed through the pre-rendering image corresponding to the page, so that a user can perceive the page display process in advance through displaying the starting animation, the response time delay before the page display is shortened, and the response speed of the electronic equipment is improved.
According to the page display method provided by the embodiment of the application, the execution body can be a page display device. In the embodiment of the present application, a method for executing a page display by using a page display device is taken as an example, and the page display device provided in the embodiment of the present application is described.
Fig. 8 shows a schematic diagram of a possible structure of the page display device according to the embodiment of the present application. As shown in fig. 8, the page display device 80 may include: a receiving module 81, an acquiring module 82 and a display module 83.
Wherein, the receiving module 81 is configured to receive a first input of an application icon of a first application; an obtaining module 82, configured to obtain, in response to the first input received by the receiving module 81, a first prerendered image of a first page of the first application, where the first prerendered image is a prestored image corresponding to the first page; the display module 83 is configured to display a first start animation of the first page based on the first prerendered image acquired by the acquisition module 82.
In one possible implementation manner, the apparatus further includes: a transmitting module;
the acquiring module 82 is specifically configured to acquire a stored first prerendered image when the first application runs in the background, and add a first prerendered window through a window management service layer;
the sending module is used for sending a first instruction to the system desktop layer through the window management service layer, wherein the first instruction is used for informing the system desktop layer to display a first starting animation;
the display module 83 is specifically configured to display, through the system desktop layer, a first start animation of the first page in the first pre-rendering window based on the first pre-rendering image.
In one possible implementation manner, the obtaining module 82 is specifically configured to generate a first prerendered image based on attribute information of a first application, and add a first prerendered window through a window management service layer;
the display module 83 is specifically configured to display, through the system desktop layer, a first start animation of a first page in a first pre-rendering window based on a first pre-rendering image;
wherein the attribute information includes at least one of: name, icon, application description.
In one possible implementation manner, the apparatus further includes: a processing module;
The processing module is configured to, after the receiving module 81 receives a first input of an application icon of a first application, render, in response to the first input, page content of a first page based on a script language file corresponding to the first page through an application layer;
the display module 83 is further configured to cancel displaying the first startup animation through the system desktop layer after the processing module finishes rendering the page content of the first page, and display the second startup animation of the first page based on the page content of the first page.
In a possible implementation manner, the processing module is further configured to, after completing rendering of the page content of the first page, obtain, by using the application layer, a first screenshot of the first page, and store the first screenshot as the first prerendered image.
In a possible implementation manner, the receiving module 81 is further configured to receive, through the system desktop layer, a second input after the display module 83 displays the first startup animation of the first page based on the first prerendered image, where the first page is displayed, and the second input is used to display the first interface;
the obtaining module 82 is further configured to obtain a second pre-rendered image corresponding to the first interface in response to the second input received by the receiving module 81, and add a second pre-rendered window through the window management service layer, where the second pre-rendered image is a pre-stored image corresponding to the first interface;
The sending module is used for sending a second instruction to the system desktop layer through the window management service layer, wherein the second instruction is used for informing the system desktop layer to display a third starting animation, and the third starting animation is an animation of jumping from the first page to the first interface;
the display module 83 is further configured to, through the system desktop layer, third start an animation in the second pre-rendering window based on the second pre-rendering image acquired by the acquisition module 82, where the first interface in the third start animation is in an operable state.
According to the page display device, when the page of the application is required to be displayed, the starting animation of the page can be directly displayed through the pre-rendering image corresponding to the page, so that a user can perceive the page display process in advance through displaying the starting animation, the response time delay before the page display is shortened, and the response speed of the electronic equipment is improved.
The page display device in the embodiment of the application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The page display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The page display device provided by the embodiment of the application can realize each process realized by the embodiment of the page display method, so as to achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
Optionally, as shown in fig. 9, the embodiment of the present application further provides an electronic device 900, including a processor 901 and a memory 902, where a program or an instruction capable of running on the processor 901 is stored in the memory 902, and the program or the instruction when executed by the processor 901 implements each step of the above-mentioned page display method embodiment, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the user input unit 1007 is configured to receive a first input of an application icon of a first application; a processor 1010 for acquiring a first pre-rendered image of a first page of a first application, the first pre-rendered image being a pre-stored image corresponding to the first page, in response to a first input received by a user input unit 1007; the display unit 1006 is configured to display a first start-up animation of the first page based on the first pre-rendered image acquired by the processor 1010.
In a possible implementation manner, the processor 1010 is specifically configured to obtain, when the first application runs in the background, a stored first prerendered image, and add a first prerendered window through a window management service layer; the system desktop layer is used for displaying a first starting animation according to the first instruction;
The display unit 1006 is specifically configured to display, through the system desktop layer, a first start animation of a first page in a first pre-rendering window based on a first pre-rendering image.
In a possible implementation manner, the processor 1010 is specifically configured to generate a first prerendered image based on attribute information of a first application, and add a first prerendered window through a window management service layer;
the display unit 1006 is specifically configured to display, through the system desktop layer, a first start animation of a first page in a first pre-rendering window based on a first pre-rendering image;
wherein the attribute information includes at least one of: name, icon, application description.
In one possible implementation, the processor 1010 is configured to, after the user input unit 1007 receives a first input of an application icon of a first application, render, in response to the first input, page content of the first page based on a scripting language file corresponding to the first page through an application layer;
the display unit 1006 is further configured to cancel, through the system desktop layer, display the first startup animation after the processor 1010 finishes rendering the page content of the first page, and display, based on the page content of the first page, the second startup animation of the first page.
In a possible implementation manner, the processor 1010 is further configured to, after completing rendering of the page content of the first page, obtain, by using the application layer, a first screenshot of the first page, and store the first screenshot as the first prerendered image.
In a possible implementation manner, the user input unit 1007 is further configured to receive, after the display unit 1006 displays the first startup animation of the first page based on the first prerendered image, a second input through the system desktop layer in a case where the first page is displayed, where the second input is used to display the first interface;
the processor 1010 is further configured to obtain a second pre-rendered image corresponding to the first interface in response to the second input received by the user input unit 1007, and add a second pre-rendered window through the window management service layer, where the second pre-rendered image is a pre-stored image corresponding to the first interface; the system desktop layer is used for displaying a first starting animation, and the first starting animation is an animation of a first page jumping to a first interface;
the display unit 1006 is further configured to, through the system desktop layer, third initiate an animation in the second pre-rendering window based on the second pre-rendered image acquired by the processor 1010, where the first interface in the third initiated animation is in an operable state.
According to the electronic device, when the page of the application is required to be displayed, the starting animation of the page can be directly displayed through the pre-stored pre-rendered image corresponding to the page, so that a user can perceive the page display process in advance through displaying the starting animation, the response time delay before the page display is shortened, and the response speed of the electronic device is improved.
It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1009 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the processes of the above embodiment of the page display method are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the above page display method embodiment, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the embodiments of the page display method described above, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A method of displaying a page, the method comprising:
receiving a first input of an application icon of a first application;
responding to the first input, acquiring a first pre-rendering image of a first page of the first application, wherein the first pre-rendering image is a pre-stored image corresponding to the first page;
and displaying a first starting animation of the first page based on the first prerendered image.
2. The method of claim 1, wherein the acquiring the first pre-rendered image of the first page of the first application comprises:
under the condition that the first application runs in the background, acquiring the stored first prerendered image, and adding a first prerendered window through a window management service layer;
the displaying a first start-up animation of the first page based on the first pre-rendered image, including:
sending a first instruction to a system desktop layer through the window management service layer, wherein the first instruction is used for notifying the system desktop layer to display the first starting animation;
and displaying a first starting animation of the first page on the first pre-rendering window based on the first pre-rendering image through the system desktop layer.
3. The method of claim 1, wherein the acquiring the first pre-rendered image of the first page of the first application comprises:
generating the first prerendered image based on the attribute information of the first application, and adding a first prerendered window through a window management service layer;
the displaying a first start-up animation of the first page based on the first pre-rendered image, including:
displaying a first starting animation of the first page on the first pre-rendering window based on the first pre-rendering image through a system desktop layer;
wherein the attribute information includes at least one of: name, icon, application description.
4. A method according to any one of claims 1 to 3, wherein after the receiving the first input of the application icon for the first application, the method further comprises:
responding to the first input, and rendering page content of the first page through an application layer based on a script language file corresponding to the first page;
after the displaying the first start-up animation of the first page based on the first pre-rendered image, the method further includes:
After the rendering of the page content of the first page is completed, the first starting animation is canceled to be displayed through the system desktop layer, and the second starting animation of the first page is displayed based on the page content of the first page.
5. The method according to claim 4, wherein the method further comprises:
after the rendering of the page content of the first page is completed, the first screenshot of the first page is obtained through an application layer, and the first screenshot is saved as the first prerendered image.
6. The method of claim 1, wherein after displaying the first start-up animation of the first page based on the first pre-rendered image, the method further comprises:
receiving, by the system desktop layer, a second input for displaying the first interface while the first page is displayed;
responding to the second input, acquiring a second pre-rendering image corresponding to the first interface, and adding a second pre-rendering window through a window management service layer, wherein the second pre-rendering image is a pre-stored image corresponding to the first interface;
Sending a second instruction to the system desktop layer through the window management service layer, wherein the second instruction is used for notifying the system desktop layer to display a third starting animation, and the third starting animation is an animation for the first page to jump to the first interface;
and displaying the third starting animation on the second pre-rendering window based on the second pre-rendering image through the system desktop layer, wherein the first interface in the third starting animation is in an operable state.
7. A page display device, the device comprising: the device comprises a receiving module, an acquisition module and a display module;
the receiving module is used for receiving a first input of an application icon of a first application;
the acquisition module is used for responding to the first input received by the receiving module and acquiring a first pre-rendered image of a first page of the first application, wherein the first pre-rendered image is a pre-stored image corresponding to the first page;
the display module is used for displaying a first starting animation of the first page based on the first prerendered image acquired by the acquisition module.
8. The apparatus of claim 7, wherein the apparatus further comprises: a transmitting module;
The acquisition module is specifically configured to acquire the stored first prerendered image under the condition that the first application runs in the background, and add a first prerendered window through a window management service layer;
the sending module is used for sending a first instruction to a system desktop layer through the window management service layer, wherein the first instruction is used for informing the system desktop layer to display the first starting animation;
the display module is specifically configured to display, through the system desktop layer, a first start animation of the first page on the first prerendering window based on the first prerendering image.
9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the page display method of any one of claims 1 to 6.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the page display method according to any one of claims 1 to 6.
CN202311416150.6A 2023-10-27 2023-10-27 Page display method and device, electronic equipment and readable storage medium Pending CN117519541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311416150.6A CN117519541A (en) 2023-10-27 2023-10-27 Page display method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311416150.6A CN117519541A (en) 2023-10-27 2023-10-27 Page display method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117519541A true CN117519541A (en) 2024-02-06

Family

ID=89765413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311416150.6A Pending CN117519541A (en) 2023-10-27 2023-10-27 Page display method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117519541A (en)

Similar Documents

Publication Publication Date Title
CN107111496B (en) Customizable blade application
CN112817676B (en) Information processing method and electronic device
CN114385049A (en) Message processing method, device, equipment and storage medium
CN112788178A (en) Message display method and device
WO2023155858A1 (en) Document editing method and apparatus
CN115167721A (en) Display method and device of functional interface
CN115729544A (en) Desktop component generation method and device, electronic equipment and readable storage medium
CN117519541A (en) Page display method and device, electronic equipment and readable storage medium
CN114895815A (en) Data processing method and electronic equipment
CN111949322B (en) Information display method and device
CN114827737A (en) Image generation method and device and electronic equipment
CN114416269A (en) Interface display method and display device
US10445314B1 (en) Instant unified search
CN114519212A (en) Information display method and device
CN115328355B (en) Application function starting method and device
US11644946B2 (en) Method and user terminal for displaying icon representing set of content on a chat room screen
CN116055444A (en) Object sharing method and device
WO2024153027A1 (en) Application display method and application display apparatus
CN116909451A (en) Sharing method and device and electronic equipment
CN118349149A (en) Image display method and device and electronic equipment
CN117354594A (en) Method and device for generating media content, electronic equipment and readable storage medium
CN118132177A (en) Notification processing method and electronic equipment
CN116931799A (en) Navigation bar display method, device, equipment and medium
CN116501226A (en) Screenshot method and screenshot device
CN117149336A (en) Startup guide page display method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination