CN110891199A - Page display method and display equipment - Google Patents

Page display method and display equipment Download PDF

Info

Publication number
CN110891199A
CN110891199A CN201911115458.0A CN201911115458A CN110891199A CN 110891199 A CN110891199 A CN 110891199A CN 201911115458 A CN201911115458 A CN 201911115458A CN 110891199 A CN110891199 A CN 110891199A
Authority
CN
China
Prior art keywords
page
common
frequently
stack
pages
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.)
Granted
Application number
CN201911115458.0A
Other languages
Chinese (zh)
Other versions
CN110891199B (en
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.)
Qingdao Hisense Media Network Technology Co Ltd
Juhaokan Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201911115458.0A priority Critical patent/CN110891199B/en
Publication of CN110891199A publication Critical patent/CN110891199A/en
Application granted granted Critical
Publication of CN110891199B publication Critical patent/CN110891199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4826End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a page display method and display equipment, which comprise the following steps: responding to user operation to start a main page, and establishing a main page stack taking the main page as the stack bottom; determining common pages, starting the common pages and storing the common pages in corresponding common page stacks, wherein the common pages are respectively in one-to-one correspondence with the corresponding common page stacks; in response to the selection of the frequently-used control by the user, calling a layout file of the frequently-used page from a frequently-used page stack corresponding to the frequently-used page and loading data of the frequently-used page; and responding to the selection of the user on the unusual control, starting to display the unusual pages and stacking the unusual pages in the main page stack. The independent management of some application pages as common pages is increased, all frames of the common pages are loaded, and the common pages are displayed only by filling data, so that the display speed of the common pages is increased, and the display speed of the pages in the application is accelerated.

Description

Page display method and display equipment
Technical Field
The application relates to the technical field of smart televisions, in particular to a page display method and device, a storage medium and a display device.
Background
The intelligent television is a new television product which is provided with a full-open platform, carries an operating system, and can automatically install and uninstall various application software and continuously expand and upgrade functions while users enjoy common television contents. The smart television is a new product formed based on internet wave impact, aims to bring more convenient experience to users, and has become the trend of televisions at present. With the popularization of smart televisions, smart televisions have gradually become indispensable listening trial entertainment tools for most families. The intelligent television provides the user with the audition experience which cannot be compared with the mobile small-screen terminal by the unique large-screen terminal attribute.
As is known, the application page must be started through a certain life cycle, wherein a certain time is consumed for loading some basic loading items (such as loading layout, initializing control and the like), and when the configuration level of system hardware is lower, the time required for starting the application page is longer, so that a user can intuitively feel that the switching speed of the application page is slower. Therefore, when the same application is applied to intelligent equipment with different system hardware configuration levels, the application page switching speed is lower for equipment with relatively lower hardware configuration level.
Disclosure of Invention
The application provides a page display method and display equipment, which can accelerate the display speed of a page in an application and improve the user experience.
In a first aspect, the present application provides a page display method, including:
starting an application to enter an application home page, creating the application home page in a main page stack, and creating the main page stack with the application home page as the stack bottom;
determining a common page, wherein the common page is a page which is not an application home page in the application;
starting the common pages and storing the common pages in corresponding common page stacks, wherein the common pages are respectively in one-to-one correspondence with the corresponding common page stacks;
if an operation instruction for opening the frequently-used page is received, calling a layout file of the frequently-used page from a frequently-used page stack corresponding to the frequently-used page and loading data of the frequently-used page;
and if an operation instruction for opening the unusual page is received, starting to display the unusual page and stacking the unusual page in the main page stack.
In a second aspect, the present application also provides a display device, including: a controller;
the controller is configured to:
starting an application to enter an application home page, creating the application home page in a main page stack, and creating the main page stack with the application home page as the stack bottom;
determining a common page, wherein the common page is a page which is not an application home page in the application;
starting the common pages and storing the common pages in corresponding common page stacks, wherein the common pages are respectively in one-to-one correspondence with the corresponding common page stacks;
if an operation instruction for opening the frequently-used page is received, calling a layout file of the frequently-used page from a frequently-used page stack corresponding to the frequently-used page and loading data of the frequently-used page;
and if an operation instruction for opening the unusual page is received, starting to display the unusual page and stacking the unusual page in the main page stack.
According to the page display method and the display device, the controls in the user main page are divided into the common controls and the non-common controls, the page started by clicking the common controls is the common page, and the page started by clicking the non-common controls is the non-common page. When a main page is started in response to user operation, creating the main page in a main page stack, and creating the main page stack with the main page as the bottom of the stack; after the main page is started, the common pages are determined, the common pages are started and stored in the corresponding common page stacks, and the common pages are in one-to-one correspondence with the corresponding common page stacks respectively. When a user selects a common control, in response to the selection of the common control by the user, calling a layout file of a common page from a common page stack corresponding to the common page and loading data of the common page; when the user selects the non-common control, in response to the selection of the non-common control by the user, starting to display the non-common page and stacking the non-common page in the main page stack. According to the page display method, the pages corresponding to some controls in the main page interface are selected as the commonly used pages, each commonly used page is independently managed through the corresponding commonly used page stack, and in the page jumping process, all frames of the commonly used pages can be loaded, and only data needs to be filled in when the commonly used pages are displayed, so that the display speed of the commonly used pages is improved, and the display speed of the pages is further increased.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flowchart of a page display method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another page display method according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a page A in the embodiment of the present application;
FIG. 4 is a schematic structural diagram of a general page 1 in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a common page 2 in the embodiment of the present application;
FIG. 6 is a schematic structural diagram of page B in the embodiment of the present application;
FIG. 7 is a schematic structural diagram of a page C in the embodiment of the present application;
fig. 8 is a timing diagram of page jump provided in the embodiment of the present application;
fig. 9 is a schematic structural diagram of a page displaying apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a display device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a flowchart of a page display method provided in an embodiment of the present application. The page display method provided by the embodiment of the application is mainly applied to display equipment, and is particularly suitable for Android system display equipment such as an Android system smart television. The display device provided by the embodiment of the application comprises a display and a controller, wherein the display is used for displaying the user interface according to the specific processing of the control.
As shown in fig. 1, a page display method provided by the embodiment of the present application includes:
s100: the method comprises the steps of starting a main page in response to user operation, creating the main page in a main page stack, and creating the main page stack with the main page as the stack bottom, wherein a common control and an unusual control are arranged in an interface of the main page.
When a user starts the display equipment or starts the application, the display equipment receives a starting signal of the user and responds to the operation of the user to start the main page. The onCreate (), the onStart (), and the onResume () are executed in response to a user operation to thereby start the main page. When a main page is started, a main page stack is established, a main page is established in the main page stack, and the main page stack with the main page as the stack bottom is established. The interface of the main page is provided with a plurality of controls, and the controls are divided into common controls and non-common controls in the embodiment of the application. The page entered when the frequently-used control is selected is called a frequently-used page, and the page entered when the frequently-used control is selected is an frequently-used page.
In the page design, some pages are selected as common pages, common controls corresponding to the common pages are correspondingly arranged on a main page, corresponding pages which are not selected as the common pages are non-common pages, and non-common controls corresponding to the non-common pages are arranged on the main page.
In the embodiment of the application, the main page stack is used for managing all the pages of the application including the main page of the application except the common page.
S200: and determining a common page, wherein the common page is a page which can be entered by selecting the common control.
And after the main page is started, determining the common page of the corresponding main page. Optionally, all the controls in the main page are traversed, common controls are found out, and the common pages under the main page are determined according to the common controls.
S300: and starting the common pages and storing the common pages in corresponding common page stacks, wherein the common pages are respectively in one-to-one correspondence with the corresponding common page stacks.
And after the main page is started, namely the main page is displayed on the display equipment, the corresponding common page under the main page is determined, and the common page is started in the corresponding common page stack. Specifically, the background executes onCreate (), onStart (), but not shown, for the commonly used pages. And when the number of the common pages is multiple, sequentially starting each common page until all the common pages corresponding to the main page are started. In the embodiment of the application, the common page stacks corresponding to each common page are independent, that is, the common pages respectively correspond to the common page stacks one by one. Therefore, the common page stacks are independent from the main page stack, and when more than one common page stack is included, the common page stacks are also independent from each other.
Optionally, the starting process of the common page is as follows: starting a main page, wherein the page starts a frequently-used page in onCreate (), the frequently-used page can execute onCreate (), onStart () life cycles in advance, and the like until the last frequently-used page is started, and in the onCreate (), starting the main page again to enable other frequently-used pages not to be displayed, and continuously executing onStop () to be in a background. In the process, the common pages are not displayed, for example, the loading page is displayed until the main page is displayed.
Each common page is a page corresponding to the control under the main page, that is, the common page is a certain level of the main page, and the optional common page can be any page in the application. In order to more effectively increase the presentation speed of the application page, the common page generally selects a page which is often required to be presented by a user in the application. Generally, for each application, the design of the application has an emphasis point, such as according to the 28 principle, that is, 20% of pages occupy 80% of the operating time of the software, and the display time of such pages has a great influence on the user experience. Therefore, such a page can be selected as a common page.
In the embodiment of the application, after the application is started and enters the application home page, the common page can be started through the Intent background. Optionally, in order to implement starting of the corresponding common page in the corresponding common page stack, a "single instance" attribute is added to the common page in the application registration page, that is, the common page uses a single instance starting mode, so that each common page has an independent stack of its own, and when the common page is started for the first time, a common page stack corresponding to the common page is established.
The number of commonly used pages may be selected for a particular application. However, in the embodiment of the present application, the number of the common pages is preferably not more than 4, for example, the number of the common pages is 2 or 3. Therefore, the user experience of the application during starting can be prevented from being influenced by the fact that too many resources are occupied when the application is started, and meanwhile the effect of improving the display speed of the page in the application can be achieved.
When a user needs to check other pages of the application, the user selects a corresponding control in the main page through a remote controller and the like, gives an instruction for checking the corresponding page to the controller, receives the user checking instruction, responds to the control selected by the user, and displays the page. If the user selects the frequently-used control, the controller executes the step S400 in response to the user selecting the frequently-used control, and if the user selects the frequently-used control, the controller executes the step S500 in response to the user selecting the frequently-used control.
S400: and responding to the selection of the frequently-used control by the user, calling the layout file of the frequently-used page from the frequently-used page stack corresponding to the frequently-used page, and loading the data of the frequently-used page.
When the user selects the common control, the controller responds to the selection of the user on the common control, the controller calls the layout file of the common page from the corresponding common page stack, records the data of the common page, and then displays the common page corresponding to the common control on the display.
Specifically, when the user selects the commonly-used control 1, the controller receives an operation instruction of the commonly-used control 1 selected by the user, calls a layout file of a commonly-used page in a commonly-used page stack corresponding to a certain commonly-used page corresponding to the commonly-used control 1, loads commonly-used page data, fills the commonly-used page data into the layout file, and executes onStart () and onsemu (), so that the time for loading the layout file of the commonly-used page is saved, the time for displaying the commonly-used page is reduced, the displaying speed of the commonly-used page is increased, and the displaying speed of the page in the application is increased. Meanwhile, the current page is hidden by executing onPause (), onStop ().
S500: and responding to the selection of the user on the unusual control, starting to display the unusual pages and stacking the unusual pages in the main page stack.
When the user selects the unusual control, the controller responds to the selection of the unusual control by the user, starts the unusual page corresponding to the unusual control, and stacks the unusual page in the main page stack.
Specifically, when the user selects the unusual control 2, the controller receives an operation instruction of the user selecting the unusual control 2, starts to display an unusual page corresponding to the unusual control 2, and stacks the unusual page in the main page stack. The uncommon page is launched and may be exposed by executing onCreate (), onStart (), onResume ().
Optionally, in the page display method provided in the embodiment of the present application, the controller detects a control selected by a user, and determines whether the control selected by the user is a frequently-used control;
when the control selected by the user is a common control, generating an operation instruction for opening a common page, calling a layout file of the common page from a common page stack corresponding to the common page according to the operation instruction for opening the common page, and loading data of the common page;
and when the control selected by the user is the non-use control, generating an operation instruction for opening the non-use page, and stacking the non-use page in the main page stack according to the operation instruction for opening the non-use page.
According to the page display method provided by the embodiment of the application, the controls in the user main page are divided into the common controls and the non-common controls, the page started by clicking the common controls is the common page, and the page started by clicking the non-common controls is the non-common page. When a main page is started in response to user operation, creating the main page in a main page stack, and creating the main page stack with the main page as the bottom of the stack; after the main page is started, the common pages are determined, the common pages are started and stored in the corresponding common page stacks, and the common pages are in one-to-one correspondence with the corresponding common page stacks respectively. When a user selects a common control, in response to the selection of the common control by the user, calling a layout file of a common page from a common page stack corresponding to the common page and loading data of the common page; when the user selects the non-common control, in response to the selection of the non-common control by the user, starting to display the non-common page and stacking the non-common page in the main page stack. According to the page display method, the pages corresponding to some controls in the main page interface are selected as the commonly used pages, each commonly used page is independently managed through the corresponding commonly used page stack, and in the page jumping process, all frames of the commonly used pages can be loaded, and only data needs to be filled in when the commonly used pages are displayed, so that the display speed of the commonly used pages is improved, and the display speed of the pages is further increased.
Further, in the page display method provided in the embodiment of the present application, the method further includes: and generating a page superposition list according to the page entering sequence. The page overlay list is used to record the entry order of the pages in use by the application. Optionally, a list ArrayList < Activity > is used for recording according to the page access order. By combining the page overlay list provided by the application, when the application receives the return command, the return command is executed according to the page overlay list. Further, when a return operation instruction is received, the page overlay list is updated, and timeliness of the page overlay list is guaranteed.
The page display method provided by the embodiment of the application further comprises the following steps: when an operation instruction of exiting the frequently-used page is received, determining the previous page of the frequently-used page through the page superposition list, starting and displaying the previous page, and keeping the frequently-used page in a corresponding frequently-used page stack.
When the currently displayed page of the display is a frequently-used page, if the controller receives an operation instruction for exiting the current page, the currently displayed frequently-used page needs to be exited, the controller acquires a page superposition list, determines a previous page of the currently displayed frequently-used page, starts displaying the previous page, and continuously keeps the frequently-used page in a corresponding frequently-used page stack, namely the frequently-used page in the frequently-used page stack is not destroyed. Therefore, when the common page is opened again, the layout file of the common page can be called from the corresponding common page stack, and then the common page file is loaded
In the present embodiment, the starting and displaying of the previous page includes:
if the previous page is a common page, calling a layout file of the previous page from a common page stack corresponding to the previous page and loading data of the previous page;
and if the previous page is an unused page, calling a layout file of the previous page from the main page stack and loading data of the previous page.
Specifically, the method comprises the following steps: when exiting from the current common page, the controller acquires a page superposition list, determines that the last page of the current common page is the common page, and calls a layout file of the last page and loads data of the last page from a common page stack corresponding to the last page so as to achieve the purpose of exiting from the current common page and starting displaying the last page; when exiting from the current common page, the controller acquires the page superposition list, determines that the last page of the current common page is an abnormal page, and calls the layout file of the last page from the main page stack and loads the data of the last page, thereby achieving the purpose of exiting from the current common page and starting to display the last page.
The page display method provided by the embodiment of the application further comprises the following steps: when an operation instruction of exiting the unusual page is received, determining the last page of the unusual page through the page superposition list;
if the previous page is a frequently-used page, calling a layout file of the previous page from a frequently-used page stack corresponding to the previous page, loading data of the previous page and deleting the frequently-used page from the main page stack;
and if the previous page is an unused page, deleting the unused page from the main page stack and displaying the previous page.
When the currently displayed page of the display is an unusual page, if the controller receives an operation instruction for exiting the current page, that is, the currently displayed unusual page needs to be exited, the controller acquires a page overlay list and determines the last page of the current unusual page. If the previous page is a frequently-used page, calling the layout file of the previous page from a frequently-used page stack corresponding to the previous page and loading the data of the previous page, thereby achieving the purpose of exiting the current frequently-used page to start and display the previous page; if the previous page is the non-use page, deleting the current non-use page from the main page stack, and displaying the previous page, thereby achieving the purpose of exiting the current non-use page and starting to display the previous page. And when the non-frequently used page in the main page stack is returned, destroying the corresponding non-frequently used page in the main page stack.
In the embodiment of the application, a user can send a return operation instruction to the display device through the return key, and the controller receives the return operation command. When the controller receives a return operation instruction, the embodiment of the application also provides another page display method. Fig. 2 is a schematic flow chart of a page display method according to an embodiment of the present application.
As shown in fig. 2, a page display method provided in an embodiment of the present application includes:
s600: and when a return operation instruction is received, determining the previous page according to the page superposition list, and judging whether the previous page is a frequently-used page or not.
S610: and if the previous page is a common page, calling the layout file of the previous page from a common page stack corresponding to the previous page and loading the data of the previous page.
S620: and if the previous page is the frequently-used page, judging whether the current page is the frequently-used page.
S621: and if the current page is a common page, calling the layout file of the previous page from the main page stack and loading the data of the previous page.
S622: and if the current page is an abnormal page, deleting the current page from the main page stack and displaying the previous page.
When the controller receives a page return instruction, the controller acquires a page superposition list to determine the previous page of the current page, and judges whether the previous page is a frequently-used page. Optionally, page attribute information is added to the page overlay list, and the attribute information is used for indicating whether the page is a frequently-used page or a non-frequently-used page, so that whether the page is a frequently-used page or not is conveniently judged.
If the controller determines that the previous page is a frequently-used page, the layout file of the previous page is called from a frequently-used page stack corresponding to the previous page, the data of the previous page is loaded, and then the previous page is displayed on the display. If the controller determines that the last page is the frequently-used page, the controller continues to judge whether the current page is the frequently-used page. And if the controller determines that the current page is a frequently-used page, calling the layout file of the previous page from the main page stack and loading the data of the previous page. And if the controller determines that the current page is an abnormal page, deleting the current page from the main page stack and displaying the previous page.
Further, in the application page display method provided in the embodiment of the present application, S610: if the previous page is a common page, calling the layout file of the previous page and loading the data of the previous page from a common page stack corresponding to the previous page, further comprising:
s611: judging whether the current page is a common page or not;
s612: if the current page is a common page, keeping the current page in a common page stack corresponding to the current page;
s613: and if the current page is an abnormal page, deleting the current page from the main page stack.
In the embodiment of the present application, the pages can be arbitrarily skipped through Intent according to the above-specified protocol. For example, page a enters page b, page b is defined, and page a enters page b by the following method.
Intent intent=new Intent();
Intent.setAction(“com.android.this.is.b.page”);
StartActivity(intent)。
In this way, the jump from page a to page b can be realized. After jumping, if the page b does not exist, onCreate (), onStart (), onResume () are executed and then displayed, and the page a executes onPause (), and onStop () is hidden. After jumping, if page b already exists, onStart () is executed, onResume () is shown, page a executes onPause (), and onsop () is hidden.
In the embodiment of the application, when the control selected by the user in the main page interface is received, the controller starts the page corresponding to the control in an Intent mode in response to the selection of the user on the control. When the controller receives a page return instruction, if the current page is a common page, starting the previous page in an Intent mode; and if the previous page is a common page, starting the previous page in an Intent mode.
The page display method provided by the embodiment of the present application is explained in detail below with reference to specific examples.
Assume that the main page of the XX application is page A, which is shown in FIG. 3. Setting the page corresponding to the "movie" control as a common page (marked as common page 1), and when the "movie" in the page a is clicked, entering the page common page 1, where the page common page 1 is shown in fig. 4. Setting the page corresponding to the "latest online" control on the frequently-used page 1 as a frequently-used page (marked as a frequently-used page 2), and when the "latest online" on the frequently-used page 1 is clicked, entering the frequently-used page 2 of the page, wherein the frequently-used page 2 is shown in the attached figure 5. Setting the page corresponding to the control of "purchasing single slice" on the common page 2 as a page B, and entering the page B when clicking the "purchasing single slice" on the common page 2, wherein the page B is as shown in the attached figure 6. Setting the page corresponding to the "purchase immediately" control on the page B as the page C, and when the "purchase immediately" on the page B is clicked, entering the page C, where the page C is as shown in fig. 7. In the application of the example, the common page 1 and the common page 2 are selected as common pages.
When the application is started, entering a page A of the application, creating the page A in a main page stack, and creating the main page stack with the page A as the bottom of the stack. After the application is started to enter the page A, determining that the common page of the application is a common page 1 and a common page 2, and respectively starting the common page 1 and the common page 2 by a common page 1 stack and a common page 2 stack which are established in the background, wherein the common page 1 enters the common page 1 stack, the common page 2 enters the common page 2 stack, and the common page 1 stack and the common page 2 stack are independent from each other and independent from the main page stack.
Suppose that the user clicks "movie" in page a into commonly used page 1, clicks "latest up line" in commonly used page 1 into commonly used page 2, clicks "buy single" in commonly used page 2 into page B, and clicks "buy immediately" in page B into page C. Thus, the page start of the page a → the frequently used page 1 → the frequently used page 2 → the page B → the page C is realized, that is, the jump of the page a → the frequently used page 1 → the frequently used page 2 → the page B → the page C is realized.
FIG. 8 is a timing diagram of an example page jump of the present example. In order to complete the starting of the page a → the frequently-used page 1 → the frequently-used page 2 → the page B → the page C, the application receives a command that the user clicks "movie and television", because the frequently-used page 1 to be started is the frequently-used page, the application calls the layout file of the frequently-used page 1 in the frequently-used page stack 1 and then fills in data, and the starting of the page a to the frequently-used page 1 is completed; the application receives a command that a user clicks 'latest online', and since the common page 2 to be started is a common page, the application calls a layout file of the common page 2 in the common page stack 2 and then fills data, and the starting of the common page 1 to the common page 2 is completed; the application receives a command that a user clicks 'buy a single chip', and the page B to be started is an unused page, so that the application starts the page B, including loading a frame of the page B and filling corresponding data, and completes the starting of the commonly used pages 2 to B; the application receives a command that the user clicks 'buy immediately', because the page C to be started is an unused page, the application starts the page C, and the frame of the page C is loaded and corresponding data is filled in, so that the starting of the pages B to C is completed. Specifically, as shown in fig. 8, the jump between the pages is implemented in an Intent manner.
And generating a page overlapping list according to the page entering sequence, wherein the page overlapping list is as shown in the table 1. The page stack is managed as table 2, the common page 1 and the common page 2 respectively have an independent stack corresponding to the common page 1 and the common page 2, and the non-use pages enter the main page stack according to the starting sequence of the non-use pages.
Table 1:
page A (Main page)
General page 1
General page 2
Page B
Page C
Table 2:
Figure BDA0002273918880000071
the page return specific execution steps are shown in fig. 8. Specifically, the method comprises the following steps: after the page C finishes the operation, the user gives a return command to the controller through a remote controller or other modes, the controller receives the return command, the last page of the page C is the page B and the page B is the non-use page which are obtained according to the indication of the page superposition list 1, meanwhile, the current page C is judged to be the non-use page, the page C is deleted from the main page stack, the page B is displayed, and then the page C is returned to the page B. When the controller receives a return command when the display displays the page B, the controller obtains that the last page of the page B is a frequently-used page 2 and the frequently-used page 2 is a frequently-used page according to the indication of the page superposition list 1, starts the frequently-used page 2 through Intent, deletes the page B from a main page stack because the current page B is the frequently-used page, displays the frequently-used page 2, and then returns to the frequently-used page 2 from the page B. When the controller receives a return command when the display displays the frequently-used page 2, the controller obtains that the previous page of the frequently-used page 2 is the frequently-used page 1 and the frequently-used page 1 is the frequently-used page as shown in the page overlay list 1, starts the frequently-used page 1 through Intent, and continuously keeps the currently-used page 2 in the corresponding frequently-used page stack 2 because the currently-used page 2 is the frequently-used page. When the controller receives a return command when the display displays the frequently-used page 1, the last page of the frequently-used page 1 is obtained as the page A and the page A is the main page according to the page superposition list 1, the page A is started through Intent, and the currently-used page 1 is continuously kept in the corresponding frequently-used page stack 1 because the currently-used page 1 is the frequently-used page. Thus, the return of page C → page B → frequent page 2 → frequent page 1 → page a is completed.
Based on the page display method provided by the embodiment of the application, the embodiment of the application also provides a page display device, and the page display device is used for realizing page display.
Fig. 9 is a schematic structural diagram of a page displaying apparatus according to an embodiment of the present application. As shown in fig. 9, the page displaying apparatus provided in the embodiment of the present application includes:
a main page starting module 901, configured to create the main page in a main page stack, and create the main page stack with the main page as a stack bottom, where an interface of the main page is provided with a common control and an unusual control;
a frequently-used page starting module 902, configured to determine a frequently-used page, where the frequently-used page is a page that can be entered by selecting the frequently-used control; starting the common pages and storing the common pages in corresponding common page stacks, wherein the common pages are respectively in one-to-one correspondence with the corresponding common page stacks;
a frequently-used page display module 903, configured to, in response to selection of the frequently-used control by a user, call a layout file of the frequently-used page from a frequently-used page stack corresponding to the frequently-used page, and load data of the frequently-used page;
and an unusual page presentation module 904, configured to, in response to selection of the unusual control by the user, start presentation of the unusual page and stack the unusual page in the main page stack.
Further, the page display device provided in the embodiment of the present application further includes:
and the page superposition list generating module is used for generating a page superposition list according to the page entering sequence. Further, the page overlay list generation module is further configured to update the page overlay list when a return operation instruction is received.
Further, the page display device provided in the embodiment of the present application further includes:
and the frequently-used page returning module is used for determining the last page of the frequently-used page through the page superposition list when receiving an operation instruction for exiting the frequently-used page, starting and displaying the last page and keeping the frequently-used page in the corresponding frequently-used page stack.
Further, the page display device provided in the embodiment of the present application further includes:
the last page determining module is used for determining the last page of the unusual page through the page superposition list when receiving an operation instruction of exiting the unusual page;
the unused page returning module is used for calling the layout file of the previous page from the frequently-used page stack corresponding to the previous page, loading the data of the previous page and deleting the unused page from the main page stack if the previous page is the frequently-used page; and if the previous page is an unused page, deleting the unused page from the main page stack and displaying the previous page.
Further, in the page display device provided in the embodiment of the present application, the first page returning module includes:
the first common page returning submodule is used for calling the layout file of the previous page from the common page stack corresponding to the previous page and loading the data of the previous page if the previous page is the common page;
and a second common page returning submodule, if the previous page is an unused page, calling the layout file of the previous page from the main page stack and loading the data of the previous page.
Further, the page display device provided in the embodiment of the present application further includes:
the page judgment module is used for determining a previous page according to the page superposition list and judging whether the previous page is a common page or not when a return operation instruction is received;
the first page returning module is used for calling the layout file of the previous page from the common page stack corresponding to the previous page and loading the data of the previous page if the previous page is a common page;
the second page returning module is used for judging whether the current page is a frequently-used page or not if the previous page is the frequently-used page;
the second page returning submodule is used for calling the layout file of the previous page from the main page stack and loading the data of the previous page if the current page is a frequently-used page; and if the current page is an abnormal page, deleting the current page from the main page stack and displaying the previous page.
Based on the page display method provided by the embodiment of the application, the embodiment of the application also provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the page display method when being executed by a processor.
Based on the page display method provided by the embodiment of the application, the embodiment of the application further provides a display device. Fig. 10 is a schematic structural diagram of a display device according to an embodiment of the present application. As shown in fig. 10, a display device provided in an embodiment of the present application includes a controller configured to:
responding to user operation to start a main page, creating the main page in a main page stack, and creating the main page stack with the main page as a stack bottom, wherein a common control and an unusual control are arranged in an interface of the main page;
determining a common page, wherein the common page is a page which can be entered by selecting the common control;
starting the common pages and storing the common pages in corresponding common page stacks, wherein the common pages are respectively in one-to-one correspondence with the corresponding common page stacks;
in response to the selection of the frequently-used control by the user, calling a layout file of the frequently-used page from a frequently-used page stack corresponding to the frequently-used page and loading data of the frequently-used page;
and responding to the selection of the user on the unusual control, starting to display the unusual pages and stacking the unusual pages in the main page stack.
According to the display device provided by the embodiment of the application, by using the page display method, the page display speed of the display device is improved, the application page can be displayed more quickly under the condition of the same hardware configuration level, or the hardware configuration level is reduced and the cost is saved under the condition that the same application page display speed is achieved.
It should be noted that, in the present specification, all the embodiments are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment is mainly described as a difference from the other embodiments, and related parts may be referred to the part of the description of the method embodiment. Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A page display method is characterized by comprising the following steps:
responding to user operation to start a main page, creating the main page in a main page stack, and creating the main page stack with the main page as a stack bottom, wherein a common control and an unusual control are arranged in an interface of the main page;
determining a common page, wherein the common page is a page which can be entered by selecting the common control;
starting the common pages and storing the common pages in corresponding common page stacks, wherein the common pages are respectively in one-to-one correspondence with the corresponding common page stacks;
in response to the selection of the frequently-used control by the user, calling a layout file of the frequently-used page from a frequently-used page stack corresponding to the frequently-used page and loading data of the frequently-used page;
and responding to the selection of the user on the unusual control, starting to display the unusual pages and stacking the unusual pages in the main page stack.
2. The page display method according to claim 1, wherein in response to a user selecting the common control, a layout file of the common page is called from a common page stack corresponding to the common page and data of the common page is loaded; in response to the selection of the unusual control by a user, starting to display the unusual pages and stacking the unusual pages in the main page stack; the method then further comprises:
and generating a page superposition list according to the page entering sequence.
3. The page display method according to claim 2, wherein after generating the page overlay list according to the page entry order, the method further comprises:
when an operation instruction of exiting the frequently-used page is received, determining the previous page of the frequently-used page through the page superposition list, starting and displaying the previous page, and keeping the frequently-used page in a corresponding frequently-used page stack.
4. The page display method according to claim 2, wherein after generating the page overlay list according to the page entry order, the method further comprises:
when an operation instruction of exiting the unusual page is received, determining the last page of the unusual page through the page superposition list;
if the previous page is a frequently-used page, calling a layout file of the previous page from a frequently-used page stack corresponding to the previous page, loading data of the previous page and deleting the frequently-used page from the main page stack;
and if the previous page is an unused page, deleting the unused page from the main page stack and displaying the previous page.
5. The page display method of claim 3, wherein the starting of displaying the previous page comprises:
if the previous page is a common page, calling a layout file of the previous page from a common page stack corresponding to the previous page and loading data of the previous page;
and if the previous page is an unused page, calling a layout file of the previous page from the main page stack and loading data of the previous page.
6. The page display method according to claim 2, wherein after generating the page overlay list according to the page entry order, the method further comprises:
and updating the page superposition list when a return operation instruction is received.
7. The page display method according to claim 1, wherein the number of commonly used pages is not more than 4.
8. The page display method according to claim 2, wherein after generating the page overlay list according to the page entry order, the method further comprises:
when a return operation instruction is received, determining a previous page according to the page superposition list, and judging whether the previous page is a frequently-used page or not;
if the previous page is a common page, calling a layout file of the previous page from a common page stack corresponding to the previous page and loading data of the previous page;
if the previous page is an abnormal page, judging whether the current page is an abnormal page or not;
if the current page is a common page, calling the layout file of the previous page from the main page stack and loading the data of the previous page;
and if the current page is an abnormal page, deleting the current page from the main page stack and displaying the previous page.
9. The page display method according to claim 2, wherein in response to selection of the common control by a user, a layout file of the common page is called from a common page stack corresponding to the common page and data of the common page is loaded; in response to the selection of the unusual control by a user, starting to display the unusual pages and stacking the unusual pages in the main page stack; the method comprises the following steps:
detecting a control selected by a user, and judging whether the control selected by the user is a common control or not;
when the control selected by the user is a common control, generating an operation instruction for opening a common page, calling a layout file of the common page from a common page stack corresponding to the common page according to the operation instruction for opening the common page, and loading data of the common page;
and when the control selected by the user is the non-use control, generating an operation instruction for opening the non-use page, and stacking the non-use page in the main page stack according to the operation instruction for opening the non-use page.
10. A display device, comprising: a controller;
the controller is configured to:
responding to user operation to start a main page, creating the main page in a main page stack, and creating the main page stack with the main page as a stack bottom, wherein a common control and an unusual control are arranged in an interface of the main page;
determining a common page, wherein the common page is a page which can be entered by selecting the common control;
starting the common pages and storing the common pages in corresponding common page stacks, wherein the common pages are respectively in one-to-one correspondence with the corresponding common page stacks;
in response to the selection of the frequently-used control by the user, calling a layout file of the frequently-used page from a frequently-used page stack corresponding to the frequently-used page and loading data of the frequently-used page;
and responding to the selection of the user on the unusual control, starting to display the unusual pages and stacking the unusual pages in the main page stack.
CN201911115458.0A 2019-11-14 2019-11-14 Page display method and display equipment Active CN110891199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911115458.0A CN110891199B (en) 2019-11-14 2019-11-14 Page display method and display equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911115458.0A CN110891199B (en) 2019-11-14 2019-11-14 Page display method and display equipment

Publications (2)

Publication Number Publication Date
CN110891199A true CN110891199A (en) 2020-03-17
CN110891199B CN110891199B (en) 2022-01-21

Family

ID=69747524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911115458.0A Active CN110891199B (en) 2019-11-14 2019-11-14 Page display method and display equipment

Country Status (1)

Country Link
CN (1) CN110891199B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995884A (en) * 2014-05-29 2014-08-20 北京中电普华信息技术有限公司 Hybrid application page switching method and system
US20150200994A1 (en) * 2012-05-29 2015-07-16 Google Inc. Preloading resources of a web page
CN106155675A (en) * 2015-04-23 2016-11-23 阿里巴巴集团控股有限公司 The page switching method of application program and device
CN106507195A (en) * 2016-11-29 2017-03-15 四川长虹电器股份有限公司 Method based on the intelligent television application handover management of linux system
CN107016081A (en) * 2017-03-30 2017-08-04 北京小米移动软件有限公司 page loading method and device
CN108351757A (en) * 2015-11-06 2018-07-31 大日本印刷株式会社 Mobile terminal and application program
CN109376318A (en) * 2018-09-03 2019-02-22 中国平安人寿保险股份有限公司 A kind of page loading method, computer readable storage medium and terminal device
CN109753615A (en) * 2018-12-24 2019-05-14 北京三快在线科技有限公司 The method and apparatus for preloading webpage, storage medium and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150200994A1 (en) * 2012-05-29 2015-07-16 Google Inc. Preloading resources of a web page
CN103995884A (en) * 2014-05-29 2014-08-20 北京中电普华信息技术有限公司 Hybrid application page switching method and system
CN106155675A (en) * 2015-04-23 2016-11-23 阿里巴巴集团控股有限公司 The page switching method of application program and device
CN108351757A (en) * 2015-11-06 2018-07-31 大日本印刷株式会社 Mobile terminal and application program
CN106507195A (en) * 2016-11-29 2017-03-15 四川长虹电器股份有限公司 Method based on the intelligent television application handover management of linux system
CN107016081A (en) * 2017-03-30 2017-08-04 北京小米移动软件有限公司 page loading method and device
CN109376318A (en) * 2018-09-03 2019-02-22 中国平安人寿保险股份有限公司 A kind of page loading method, computer readable storage medium and terminal device
CN109753615A (en) * 2018-12-24 2019-05-14 北京三快在线科技有限公司 The method and apparatus for preloading webpage, storage medium and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
范仁义: "Activity启动模式之singleinstance", 《HTTPS://WWW.CNBLOGS.COM/RENYI-FAN/P/7271769.HTML》 *

Also Published As

Publication number Publication date
CN110891199B (en) 2022-01-21

Similar Documents

Publication Publication Date Title
US9665841B2 (en) Cross-platform application framework
JP6195182B2 (en) Application scenario identification method, power consumption management method, apparatus, and terminal device
JP5819953B2 (en) Application with many experience modules
CN108595218B (en) Method and device for loading dynamic library of system
US20100255882A1 (en) Apparatus and a method for arranging elements on a display
US9875109B2 (en) Method and apparatus for generating user adaptive application in mobile terminal
CN107577472B (en) Software installation method and device and computer readable storage medium
US20150326933A1 (en) Video reproduction apparatus, control method thereof, and computer-readable storage medium storing program
CN105700928A (en) Control information display method and device and electronic equipment
US7506150B2 (en) Computer system and related method of playing audio files when booting
CN111083564B (en) Intelligent television upgrading method, intelligent terminal, intelligent peripheral and intelligent television
US20140007007A1 (en) Terminal device and method of controlling the same
US10009772B2 (en) Electronic apparatus and method of executing application program
WO2023103599A1 (en) Screen projection method and apparatus, storage medium and electronic device
CN113110881A (en) Display terminal, display method thereof and device with storage function
US7761853B2 (en) Portable terminal device, method for restoring program, method for terminating program, and computer program therefor
CN108268261B (en) UI (user interface) customization method of intelligent terminal, storage medium and intelligent terminal
CN110891199B (en) Page display method and display equipment
KR101859977B1 (en) The method for returning home screen in portable terminal with multi-software platform and device thereof
CN113721936B (en) Application management method, intelligent terminal, device and storage medium
WO2022171058A1 (en) Application program processing method and apparatus, and electronic device
CN112860302A (en) Application program control method and device, electronic equipment and readable storage medium
CN105138380A (en) Method and device for starting Linux system
CN109976866B (en) Operation method and device
KR100516047B1 (en) Computers and their methods for running add-on devices without an operating system

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
GR01 Patent grant
GR01 Patent grant