Page display method and device, storage medium and electronic device

CN114428920BActive Publication Date: 2026-10-23NANJING ZHONGXING XIN SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011182914.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-29
Publication Date
2026-10-23
Estimated Expiration
2040-10-29

AI Technical Summary

Technical Problem

[0007]本发明实施例提供了一种页面展示方法、装置、存储介质和电子装置,以至少解决相关技术中的服务器EPG不能控制和修改本地页面的页面展示方式,以及难以快速地根据预设的效果参数对全局页面进行展示的问题

Benefits of technology

[0024]通过本发明的上述实施例,通过在GLSurfaceView视图上对将要展示的该页面进行绘图展示,从而可实现对本地页面的展示方式进行控制和修改,并且对全局页面进行效果展示时,不必给每个页面添加相应的属性,从而提高了全局页面展示效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114428920B_ABST
    Figure CN114428920B_ABST
Patent Text Reader

Abstract

The application provides a page display method and device, a storage medium and an electronic device, and the method comprises the following steps: an application receives page display parameter information; the application obtains the control right of a page window, extracts preset effect parameters from the page display parameter information; the application adds a GLSurfaceView view on a Webview control, and calls a coloring script filter, and performs drawing display on the page to be displayed on the GLSurfaceView view according to the effect parameters. In the application, the page to be displayed is drawn on the GLSurfaceView view, so that the display mode of the local page can be controlled and modified, and when the effect of the global page is displayed, it is not necessary to add corresponding attributes to each page, so that the global page display efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display technology, and more specifically, to a page display method, apparatus, storage medium, and electronic device. Background Technology

[0002] With the continuous popularization and development of the internet, browsing web pages has gradually become the main way for people to obtain information. Currently, web pages available for users to browse can display various types of content such as text, images, and videos to fully meet users' browsing needs.

[0003] Currently, the method for displaying pages in grayscale or blur and adding icons is through the Electrical Program Guide (EPG) page redesign service. For each page that needs to be displayed, page attributes are added and page functions are called to achieve the desired effect. However, this solution has the following drawbacks:

[0004] Defect 1: To achieve a global effect, each page needs to be modified. Once the server EPG is redesigned or upgraded, developers need to consider refactoring the functions during development, making development cumbersome, inefficient, and difficult to quickly achieve a global effect.

[0005] Defect 2: When the page exists on the local terminal, the server EPG cannot control or modify the page.

[0006] There are currently no effective solutions to the problems of difficulty in quickly achieving global page display in related technologies, and the inability of the server EPG to control and modify local pages. Summary of the Invention

[0007] This invention provides a page display method, apparatus, storage medium, and electronic device to at least solve the problems in related technologies where the server EPG cannot control and modify the page display method of local pages, and it is difficult to quickly display the global page according to preset effect parameters.

[0008] According to an embodiment of the present invention, a page display method is provided, comprising: an application receiving page display parameter information; the application acquiring control of the page window and extracting preset effect parameters from the page display parameter information; the application adding a GLSurfaceView view to a WebView control and calling a shading script filter to draw and display the page to be displayed on the GLSurfaceView view according to the effect parameters.

[0009] In an exemplary embodiment, before the application receives the page display parameter information, the method may further include: the terminal receiving a signal carrying user-defined page display parameter information, wherein the page display parameter information includes at least one of the following: page display mode, start time, end time, and effect parameters; the terminal comparing the current system time with the start time and end time in the signal; when the current system time is within the range of the start time and end time, reading the page display mode in the signal, and sending the page display parameter information to the application corresponding to the page display mode, wherein the page display mode includes at least one of the following: application-specific mode, special page mode, and system-wide mode.

[0010] In an exemplary embodiment, after the terminal compares the current system time with the start time and the end time in the signal, the method may further include: when the current system time is less than the start time, periodically comparing the current system time with the start time to determine that the current system time is within the range between the start time and the end time.

[0011] In one exemplary embodiment, sending the page display parameter information to the application corresponding to the page display mode may include at least one of the following: when the page display mode is a system global mode, sending a global broadcast carrying the page display parameter information to all applications within the terminal that need to display an interface through the local network management of the terminal; when the page display mode is a specific application mode, sending the page display parameter information to a specific application through the terminal's internal communication function; when the mode content in the signal is a special page mode, sending the page display parameter information to a local application with a special page through the terminal's internal communication function.

[0012] In one exemplary embodiment, the application draws and displays the page to be displayed on the GLSurfaceView view according to the effect parameters, which may include: comparing the current system time with the end time; when the current system time is less than the end time, the application draws and displays the page to be displayed on the GLSurfaceView view; when the current system time is greater than the end time, the GLSurfaceView view is deleted and the original page display is restored.

[0013] In an exemplary embodiment, when the application is an application with a special page, before drawing and displaying the page to be displayed on the GLSurfaceView view according to the effect parameters, the process may further include: the application with the special page calling a system function to obtain an identification code for the special page; and the application with the special page determining whether the page to be displayed is the special page based on the identification code.

[0014] In one exemplary embodiment, the effect parameters may include at least one of the following: graying out, adding icons, and blurring the interface.

[0015] According to another embodiment of the present invention, a page display device is provided, including a terminal and an application. The application includes: a first receiving module for receiving page display parameter information; a control extraction module for acquiring control of the page window and extracting preset effect parameters from the page display parameter information; and an adding display module for adding a GLSurfaceView view to a Webview control and calling a shading script filter to draw and display the page to be displayed on the GLSurfaceView view according to the effect parameters.

[0016] In one exemplary embodiment, the terminal may include: a second receiving module, configured to receive a signal carrying user-defined page display parameter information, wherein the page display parameter information includes at least one of the following: page display mode, start time, end time, and effect parameters; a comparison module, configured to compare the current system time with the start time and the end time in the signal; and a read-send module, configured to, when the current system time is within the range of the start time and the end time, read the page display mode in the signal and send the page display parameter information to the application corresponding to the page display mode, wherein the page display mode includes at least one of the following: specific application mode, special page mode, and system global mode.

[0017] In an exemplary embodiment, the terminal may further include: a timing comparison module, configured to periodically compare the current system time with the start time when the current system time is less than the start time, so as to determine that the current system time is within the range between the start time and the end time.

[0018] In an exemplary embodiment, the read-and-send module may further include: a first sending unit, configured to, when the page display mode is a system global mode, send a global broadcast carrying the page display parameter information to all applications within the terminal that need to display an interface via the local network management of the terminal; a second sending unit, configured to, when the page display mode is a specific application mode, send the page display parameter information to a specific application via the terminal's internal communication function; and a third sending unit, configured to, when the mode content in the signal is a special page mode, send the page display parameter information to a local application with a special page via the terminal's internal communication function.

[0019] In an exemplary embodiment, the added display module may include: a comparison unit for comparing the current system time with the end time; a drawing display unit for drawing and displaying the page to be displayed on the GLSurfaceView when the current system time is less than the end time; and a display restoration unit for deleting the GLSurfaceView and restoring the original page display when the current system time is greater than the end time.

[0020] In an exemplary embodiment, when the application is an application with a special page, the application may further include: a calling module, configured to call a system function to obtain an identification code of the special page; and a judging module, configured to judge whether the page to be displayed is the special page based on the identification code.

[0021] In one exemplary embodiment, the effect parameters may include at least one of the following: graying out, adding icons, and blurring the interface.

[0022] According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.

[0023] According to yet another embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0024] Through the above embodiments of the present invention, by drawing and displaying the page to be displayed on the GLSurfaceView, the display method of the local page can be controlled and modified, and when displaying the effect of the global page, it is not necessary to add corresponding attributes to each page, thereby improving the display efficiency of the global page. Attached Figure Description

[0025] Figure 1 This is a flowchart of a page display method according to an embodiment of the present invention;

[0026] Figure 2 This is a structural block diagram of a page display device according to an embodiment of the present invention;

[0027] Figure 3 This is a structural block diagram of a page display device with multiple page display modes according to an embodiment of the present invention;

[0028] Figure 4 This is a structural block diagram of a page display device according to an embodiment of the present invention, when the application is an application with a special page;

[0029] Figure 5 This is a structural block diagram of a set-top box based on the Android system according to an optional embodiment of the present invention;

[0030] Figure 6 This is a flowchart of a method for controlling the overall display effect of a terminal with one click according to an optional embodiment of the present invention. Detailed Implementation

[0031] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.

[0032] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0033] This embodiment provides a page display method. Figure 1 This is a flowchart of a page display method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:

[0034] Step S101: The application receives the parameter information displayed on the page.

[0035] In step S102, the application obtains control of the page window and extracts preset effect parameters from the page display parameter information.

[0036] In step S103, the application adds a GLSurfaceView to the Webview control and calls the shading script filter to draw and display the page to be displayed on the GLSurfaceView according to the effect parameters.

[0037] In this embodiment, WebView is a very important control in Android, and its function is to display a web page.

[0038] In this embodiment, GLSurfaceView is a view that inherits from SurfaceView, and its embedded surface is specifically responsible for OpenGL rendering.

[0039] Before step S101 in this embodiment, the method may further include: the terminal receiving a signal carrying user-defined page display parameter information, wherein the page display parameter information includes at least one of the following: page display mode, start time, end time, and effect parameters; the terminal comparing the current system time with the start time and end time in the signal; when the current system time is within the range of the start time and end time, reading the page display mode in the signal, and sending the page display parameter information to the application corresponding to the page display mode, wherein the page display mode includes at least one of the following: specific application mode, special page mode, and system global mode.

[0040] In this embodiment, after the terminal compares the current system time with the start time and the end time in the signal, it may further include: when the current system time is less than the start time, periodically comparing the current system time with the start time to determine that the current system time is within the range between the start time and the end time.

[0041] In this embodiment, sending the page display parameter information to the application corresponding to the page display mode may include at least one of the following: when the page display mode is a system global mode, a global broadcast carrying the page display parameter information is sent to all applications within the terminal that need to display an interface through the local network management of the terminal; when the page display mode is a specific application mode, the page display parameter information is sent to a specific application through the terminal's internal communication function; when the mode content in the signal is a special page mode, the page display parameter information is sent to a local application with a special page through the terminal's internal communication function.

[0042] In this embodiment, step S103 may include: comparing the current system time with the end time; when the current system time is less than the end time, the application draws and displays the page to be displayed on the GLSurfaceView; when the current system time is greater than the end time, the GLSurfaceView is deleted and the original page display is restored.

[0043] In this embodiment, when the application is an application with a special page, before step S103, the process may further include: the application with the special page calling a system function to obtain the identification code of the special page; and the application with the special page determining whether the page to be displayed is the special page based on the identification code.

[0044] In this embodiment, the effect parameters may include at least one of the following: graying out, adding icons, and blurring the interface.

[0045] Through the above steps, after the application gains control of the page window, including the local page, it can perform global or partial drawing display of the page to be displayed based on the effect parameters extracted from the page display parameter information. It is not necessary to add corresponding attributes to each page, which solves the problems in related technologies of difficulty in modifying the page display method of the local page and difficulty in displaying the page globally based on preset effect parameters. This achieves the effect of globally modifying the page display method and improving the page display efficiency.

[0046] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0047] This embodiment also provides a page display device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the terms "module" and "unit" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0048] Figure 2 This is a structural block diagram of a page display device according to an embodiment of the present invention, such as... Figure 2 As shown, the device is located in the terminal and includes: a first receiving module 10, an extraction module 20, and a display module 30.

[0049] The first receiving module 10 is used to receive page display parameter information.

[0050] The extraction module 20 is used to obtain control of the page window and extract preset effect parameters from the page display parameter information.

[0051] The display module 30 is used to add a GLSurfaceView view to the Webview control and call the shading script filter to draw and display the page to be displayed on the GLSurfaceView view according to the effect parameters.

[0052] Figure 3 This is a structural block diagram of a page display device with multiple page display modes according to an embodiment of the present invention, such as... Figure 3 As shown, the device includes, in addition to Figure 2 In addition to all the modules shown, it also includes a second receiving module 40, a comparison module 50, and a sending module 60.

[0053] The second receiving module 40 is used to receive a signal carrying user-defined page display parameter information, wherein the page display parameter information includes at least one of the following: page display mode, start time, end time, and effect parameters.

[0054] The comparison module 50 is used to compare the current system time with the start time and the end time in the signal.

[0055] The sending module 60 is used to read the page display mode in the signal when the current system time is within the range of the start time and the end time, and send the page display parameter information to the application corresponding to the page display mode. The page display mode includes at least one of the following: specific application mode, special page mode, and system global mode.

[0056] In this embodiment, the comparison module 50 can also be used to periodically compare the current system time with the start time when the current system time is less than the start time, so as to determine that the current system time is within the range between the start time and the end time.

[0057] In this embodiment, the sending module 60 may further include: a first sending unit 61, a second sending unit 62, and a third sending unit 63.

[0058] The first sending unit 61 is used to send a global broadcast carrying the page display parameter information to all applications in the terminal that need to display the interface through the local network management of the terminal when the page display mode is the system global mode.

[0059] The second sending unit 62 is used to send the page display parameter information to a specific application through the terminal's internal communication function when the page display mode is a specific application mode.

[0060] The third sending unit 63 is used to send the page display parameter information to a local application with a special page through the terminal's internal communication function when the mode content in the signal is a special page mode.

[0061] In this embodiment, the display module 30 may include a display unit 31 and a recovery unit 32.

[0062] The display unit 31 is used to draw and display the page to be displayed on the GLSurfaceView when the current system time is less than the end time.

[0063] The recovery unit 32 is used to delete the GLSurfaceView view and restore the original page display when the current system time is greater than the end time.

[0064] Figure 4 This is a structural block diagram of a page display device according to an embodiment of the present invention, when the application is an application with a special page. Figure 4 As shown, the device includes Figure 3 In addition to all the modules shown, the device also includes: a calling module 70 and a judgment module 80.

[0065] The calling module 70 is used to call system functions to obtain the identification code of a special page.

[0066] The judgment module 80 is used to determine whether the page to be displayed is the special page based on the identification code.

[0067] In this embodiment, the effect parameters may include at least one of the following: graying out, adding icons, and blurring the interface.

[0068] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0069] To facilitate understanding of the technical solutions provided by this invention, detailed descriptions will be given below in conjunction with specific scenario embodiments.

[0070] This embodiment relates to the field of network visualization terminals, specifically to a method that adds a GLSurfaceView to a WebView in a terminal application, and then uses a shading script filter to draw the displayed interface, enabling one-click quick graying or blurring of the page display and the addition of icons. It also describes the application of these functions in three modes (global, specific page, and special page) on the terminal, and provides a user option interface, allowing users to send signals to control the overall display effect of the terminal with one click.

[0071] The technical problem to be solved in this embodiment is to provide a method that enables one-click quick graying or blurring of page display and addition of icons through a terminal coloring script filter. This method can achieve the above three functions globally without modifying each EPG page individually, and it also includes local pages on the terminal. Considering user experience, this method provides three usage modes for the above three functions, as well as preset start and end times, reducing the number of user operations.

[0072] 1. For special pages such as the homepage and screensaver pages;

[0073] 2. For specific applications, such as browsers and settings interfaces;

[0074] 3. Consider the overall situation.

[0075] This embodiment can connect to the network and browse information based on HTTP (Hypertext Transfer Protocol), and can obtain page resources, image resources, and video resources from the server.

[0076] In this embodiment, HTTP is a simple request-response protocol that typically runs on top of TCP. It specifies what messages a client might send to the server and what kind of response it might receive.

[0077] Figure 5 This is a structural block diagram of a set-top box based on the Android system according to an optional embodiment of the present invention, such as... Figure 5 As shown, the terminal involved in this embodiment is similar to a set-top box product based on the Android system, wherein the browser application is used to display relevant screens, the VOD application plays videos, and there are also internal communication modules, network management modules, etc.

[0078] In this embodiment, the local application is used to receive, parse, and extract information from the broadcast sent by the network management system. In special page mode, the terminal's internal communication function can send information to the local application that controls the special page.

[0079] In this embodiment, the browser application is used to display relevant screens. This embodiment can achieve one-click quick graying or blurring of specific applications such as browsers, settings interfaces, and added icons through a terminal coloring script filter. This method can achieve the above three functions globally without modifying the EPG page one by one, and it also includes the local pages on the terminal.

[0080] In this embodiment, the network management system can send broadcasts. In system-wide mode, the local network management application on the terminal will send a global broadcast to all relevant applications on the terminal that need to display the interface to the user.

[0081] In this embodiment, the terminal calls the communication module to receive and parse signals in JSON format, read the information in the signals, and pre-store the signal content in a terminal file. Additionally, the terminal can call the communication module to read pattern content from the signals.

[0082] Figure 6 This is a flowchart of a method for controlling the overall display effect of a terminal with one click according to an optional embodiment of the present invention, such as... Figure 6 As shown, the process includes the following steps:

[0083] Step S601: The user uses the remote control device that is compatible with the terminal, or the interface displayed on the terminal, to select the following parameters: function (add icon, grayed-out interface, blurred interface), mode (global mode, special page mode, specific application mode), function start time, and function end time. Then, the user presses the OK button, calls the function provided by the terminal to encapsulate these parameters into a JSON (JavaScript Object Notation) format signal, and sends it to the terminal. Proceed to step S602.

[0084] In this embodiment, JSON is a lightweight data exchange format that uses a text format that is completely independent of programming languages ​​to store and represent data.

[0085] In step S602, the terminal calls the communication module to receive and parse the JSON format signal, read the information in the signal, and pre-store the signal content in the terminal file.

[0086] In step S602 of this embodiment, a system function can be called to obtain the current time, and the current time is compared with the start time and end time in the signal. If the current time is greater than the end time, proceed to step S608; if the current time is greater than the start time, then the current time is compared with the start time periodically until the current time is within the range of the start time and end time in the signal, then proceed to step S603; if the current time is within the range of the start time and end time in the signal, proceed to step S603.

[0087] Step S603: The terminal calls the communication module to read the mode content in the signal.

[0088] In step S603 of this embodiment, if it is a specific application mode, the terminal internal communication function is used to send information to the specific application. The specific application receives, parses the broadcast sent by the network management system and extracts the information, and then proceeds to step S604.

[0089] In step S603 of this embodiment, if it is a special page mode, the terminal internal communication function is used to send information to the local application that controls the special page. The local application receives, parses the broadcast sent by the network management system and extracts the information, and then proceeds to step S605.

[0090] In step S603 of this embodiment, if it is a system global mode, the local network management application of the terminal will send a global broadcast to all relevant applications in the terminal that need to display the interface to the user. The relevant applications receive, parse the broadcast sent by the network management and extract the information in the broadcast, and then proceed to step S604.

[0091] Step S604: The application obtains window control during runtime and retrieves the effect parameters of the corresponding functions that have been set.

[0092] In step S604 of this embodiment, if the current time is greater than the end time, proceed to step S607.

[0093] In step S604 of this embodiment, if the current time is not greater than the end time, a new GLSurfaceView is added on the WebView, the shading script filter is called, and the page to be displayed is drawn and displayed. Then, the user is waited to switch pages. Once the page is switched, this step is repeated.

[0094] Step S605: The application calls a system function at runtime to obtain the identification code of the special page, then proceeds to step S606.

[0095] Step S606: If the page to be displayed is the special page, the application runtime obtains window control, retrieves the effect parameters of the corresponding function that have been set, and if the current time is greater than the end time, proceed to step S607; if the current time is not greater than the end time, add a new GLSurfaceView on the WebView, call the shading script filter, draw and display the page to be displayed, and then wait for the user to switch pages, repeating this step; if the page to be displayed is not the special page, but the current page is the special page, then restore the parameters of the corresponding function, restore the display effect, and then wait for the user to switch pages again, repeating this step once the page is switched.

[0096] Step S607: Restore the parameters of the corresponding function to restore the display effect, then proceed to step S608.

[0097] Step S608, End.

[0098] In this embodiment, the "shading script filter" in steps S604 and S606 can use GLSurfaceView from the Android UI framework. GLSurfaceView can achieve efficient drawing using GLES2.0, a subset of the Open Graphics Library (OpenGL). GLES2.0 has a set of shading script filters capable of creating various effects. By adding a GLSurfaceView on top of the WebView and resetting the filter parameters, the interface content can be drawn and displayed on the GLSurfaceView, enabling functions such as adding icons, graying out the interface, and blurring the interface.

[0099] In this embodiment, OpenGL is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics.

[0100] In this embodiment, a user interface can be provided to facilitate user operation, and may include the following modules:

[0101] (1) Function selection: Add icon function, gray out interface function, blur interface function;

[0102] (2) Mode selection: Global mode, special page mode, specific application mode;

[0103] (3) Function start time and function end time: The time information is pre-stored in the terminal, so it does not need to be reset even if the terminal is restarted. It also enables function reservation, reducing user operations.

[0104] This embodiment provides three functional modes (global, application-specific, and special page), offering users more choices and applicability to more scenarios. Users can control the overall display effect of the terminal with a single click after selecting the desired mode on the provided interface.

[0105] Furthermore, when making global modifications, this embodiment can involve local pages existing on the terminal. Existing technologies cannot modify local pages within the control terminal. This allows for truly global modifications compared to existing technologies.

[0106] Finally, this embodiment achieves global grayscale or blurring of the page display and adds icon functionality without having to add corresponding attributes to each page, thus reducing the workload of developers.

[0107] Specifically, the page display method provided in this embodiment can be applied to scenarios such as the following:

[0108] 1. On special occasions such as national memorial services and Qingming Festival, the terminal interface is grayed out (or blacked out, hereinafter referred to as graying out) to express feelings of remembrance and mourning;

[0109] 2. During festive holidays such as National Day and Spring Festival, add holiday icons to the terminal interface to enhance the festive atmosphere;

[0110] 3. When the device is in youth mode or for other special needs, it will automatically block or blur some pages that are not suitable for display.

[0111] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.

[0112] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0113] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.

[0114] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0115] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0116] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0117] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A page display method, characterized in that, include: The application receives page display parameter information, wherein the page display parameter information includes at least one of the following: page display mode, start time, end time, effect parameters, and the effect parameters include at least one of the following: graying out, adding icons, and blurring the interface; The application gains control of the page window and extracts the effect parameters from the page display parameter information; The application adds a GLSurfaceView to the Webview control and calls the shader program to draw and display the page to be displayed on the GLSurfaceView according to the effect parameters.

2. The method according to claim 1, characterized in that, before the application receives the page display parameter information, it further includes: The terminal receives a signal carrying user-defined page display parameters. The terminal compares the current system time with the start time and end time in the parameter information displayed on the page; When the current system time is within the range of the start time and the end time, the system reads the page display mode from the page display parameter information and sends the page display parameter information to the application corresponding to the page display mode. The page display mode includes at least one of the following: application-specific mode, special page mode, and system global mode.

3. The method according to claim 2, characterized in that, After the terminal compares the current system time with the start time and end time in the parameter information displayed on the page, the method further includes: When the current system time is less than the start time, the current system time is periodically compared with the start time to determine that the current system time is within the range between the start time and the end time.

4. The method according to claim 2, characterized in that, Sending the page display parameter information to the application corresponding to the page display mode includes at least one of the following: When the page display mode is the system global mode, the local network management of the terminal sends a global broadcast carrying the page display parameter information to all applications in the terminal that need to display the interface. When the page display mode is a specific application mode, the page display parameter information is sent to the specific application through the terminal's internal communication function; When the mode content in the signal is a special page mode, the page display parameter information is sent to the local application with the special page through the terminal's internal communication function.

5. The method according to claim 4, characterized in that, The application draws and displays the page to be shown on the GLSurfaceView view according to the effect parameters, including: Compare the current system time with the end time; When the current system time is less than the end time, the application draws and displays the page to be displayed on the GLSurfaceView. When the current system time is greater than the end time, delete the GLSurfaceView view and restore the original page display.

6. The method according to claim 4, characterized in that, When the application is an application with a special page, before drawing and displaying the page to be shown according to the effect parameters, the process further includes: The application with the special page calls a system function to obtain the identification code of the special page; The application with the special page determines whether the page to be displayed is the special page based on the identification code.

7. A page display device, characterized in that, The device is located in the terminal, and the device includes: The first receiving module is used to receive page display parameter information, wherein the page display parameter information includes at least one of the following: page display mode, start time, end time, effect parameters, and the effect parameters include at least one of the following: graying out, adding icons, and blurring the interface. The extraction module is used to acquire control of the page window and extract the effect parameters from the page display parameter information. The display module is used to add a GLSurfaceView view to the Webview control and call the shader program to draw and display the page to be displayed on the GLSurfaceView view according to the effect parameters.

8. The apparatus according to claim 7, characterized in that, include: The second receiving module is used to receive signals carrying user-defined page display parameter information; The comparison module is used to compare the current system time with the start time and end time in the parameter information displayed on the page; The sending module is used to read the page display mode from the page display parameter information when the current system time is within the range of the start time and the end time, and send the page display parameter information to the application corresponding to the page display mode. The page display mode includes at least one of the following: specific application mode, special page mode, and system global mode.

9. The apparatus according to claim 8, characterized in that, The comparison module is used to periodically compare the current system time with the start time when the current system time is less than the start time, so as to determine that the current system time is within the range between the start time and the end time.

10. The apparatus according to claim 8, characterized in that, The sending module further includes: The first sending unit is used to send page display parameter information globally to all applications within the terminal that need to display the interface through the local network management of the terminal when the page display mode is the system global mode. The second sending unit is used to send the page display parameter information to the specific application through the terminal's internal communication function when the page display mode is a specific application mode. The third sending unit is used to send the page display parameter information to a local application with a special page through the terminal's internal communication function when the mode content in the signal is a special page mode.

11. The apparatus according to claim 10, characterized in that, The display module includes: The display unit is used to draw and display the page to be displayed on the GLSurfaceView when the current system time is less than the end time; The recovery unit is used to delete the GLSurfaceView view and restore the original page display when the current system time is greater than the end time.

12. The apparatus according to claim 10, characterized in that, In the case that the application is an application with a special page, the device further includes: The calling module is used to call system functions to obtain the identification code of a special page; The judgment module is used to determine whether the page to be displayed is the special page based on the identification code.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 6.

14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Display method used for electronic ink screen

    CN106126084A

  • User interface rendering method and device of application program, medium and electronic equipment

    CN110347464A