Page data processing method and device, program product, medium and display equipment
By recording and matching screen display parameters in the screen device, redundant calculations are reduced, solving the problem of low page refresh frame rate on devices with low computing resources, and achieving smoother page display and a better user experience.
Patent Information
- Application Number
- CN202411147011.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2026-03-03
AI Technical Summary
In existing technologies, screen devices with low computing resource configurations have a low page refresh rate when scrolling, resulting in less smooth page display and a poor user experience.
By recording screen display parameters in the screen device, if a match is found, the page data is rendered directly; otherwise, the matching parameters are calculated, reducing redundant calculations and saving computing resources.
The page refresh rate has been improved, ensuring smooth page display and changes, and enhancing the user experience.
Smart Images

Figure CN121597093A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of page data processing technology, and in particular relates to a page data processing method, apparatus, program product, medium and display device. Background Technology
[0002] Currently, interactive interface functionality has become an important component of various electronic devices. For example, users can browse page information or control the device by touching its screen. In existing technology, when a page is scrolled, the position of information modules on the screen changes, triggering a page refresh mechanism to recalculate screen display parameters for rendering the new page. However, calculating screen display parameters requires computing resources. For screens with limited computing resources (such as wired controllers in some home appliances), the computational efficiency cannot be guaranteed, resulting in a low page refresh frame rate, unsmooth page display, and a poor user experience. Therefore, improving the refresh frame rate of the displayed page is an urgent technical problem to be solved. Summary of the Invention
[0003] The embodiments of this application provide a page data processing method, apparatus, computer program product, computer-readable storage medium, and display device, which can at least to some extent improve the refresh frame rate of the displayed page.
[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part by practice of this application.
[0005] According to a first aspect of the embodiments of this application, a page data processing method is provided, the method comprising: in response to an instruction to display page data in a target screen area, obtaining current page display parameters of the page data to be displayed; if screen display parameters matching the current page display parameters are previously recorded, rendering the page data to be displayed based on the recorded screen display parameters to obtain a target page.
[0006] In some embodiments of this application, based on the foregoing scheme, the method further includes: if no screen display parameters matching the current page display parameters are recorded prior to the present, then a matching screen display parameter is calculated based on the current page display parameters, and the page data to be displayed is rendered based on the calculated screen display parameters to obtain the target page.
[0007] In some embodiments of this application, based on the foregoing scheme, after obtaining the current page display parameters of the page data to be displayed, the method further includes: if the page display parameters of the page data to be displayed are recorded in advance, then obtaining the previously recorded page display parameters of the page data to be displayed; if the current page display parameters are consistent with the previously recorded page display parameters, then determining that there are previously recorded screen display parameters that match the current page display parameters.
[0008] In some embodiments of this application, based on the foregoing scheme, the method further includes: if the current page display parameters are inconsistent with the prior page display parameters, then determining that there is no prior record of screen display parameters that match the current page display parameters.
[0009] In some embodiments of this application, based on the foregoing scheme, the method further includes: if there are no previously recorded page display parameters for the page data to be displayed, then determining that there are no previously recorded screen display parameters that match the current page display parameters.
[0010] In some embodiments of this application, based on the foregoing scheme, the method further includes: recording the display parameters of the page data to be displayed in the current page.
[0011] In some embodiments of this application, based on the foregoing scheme, the method further includes: if a touch operation targeting the target screen area is detected, triggering an instruction to display page data in the target screen area.
[0012] In some embodiments of this application, based on the foregoing scheme, the method further includes: if a wake-up command or sleep command for the screen is detected, triggering a command to display page data in the target screen area.
[0013] In some embodiments of this application, based on the foregoing scheme, the page display parameters include at least one of color value and transparency.
[0014] According to a second aspect of the embodiments of this application, a page data processing apparatus is provided, the apparatus comprising: an acquisition unit, configured to acquire current page display parameters of the page data to be displayed in the current page in response to an instruction to display page data in a target screen area; and a rendering unit, configured to render the page data to be displayed based on the recorded screen display parameters, if screen display parameters matching the current page display parameters are previously recorded, to obtain a target page.
[0015] According to a third aspect of the embodiments of this application, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor to cause a computer device having the processor to perform an operation as described in any of the first aspects above.
[0016] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided, the computer-readable storage medium storing at least one computer program instruction, the at least one computer program instruction being loaded and executed by a processor to perform the operation as described in any of the first aspects above.
[0017] According to a fifth aspect of the present application, a display device is provided, the display device including one or more processors and one or more memories, the one or more memories storing at least one computer program instruction, the at least one computer program instruction being loaded and executed by the one or more processors to perform the operation as described in any of the first aspects above.
[0018] Based on the technical solution proposed in this application, when page data needs to be displayed in a target screen area, if screen display parameters matching the current page display parameters of the page data to be displayed are pre-recorded, the page data to be displayed can be directly rendered based on the recorded screen display parameters to obtain the target page, without recalculating the screen display parameters. In this way, when some pages do not change, such as during page scrolling, the computational resources required to calculate screen display parameters based on page display parameters can be saved, CPU usage can be reduced, page refresh rate can be increased, and the smoothness of page display and changes can be guaranteed, thereby enhancing the user experience.
[0019] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0021] Figure 1 A flowchart of a page data processing method in an embodiment of this application is shown;
[0022] Figure 2An interface diagram according to an embodiment of this application is shown;
[0023] Figure 3 An interface diagram according to an embodiment of this application is shown;
[0024] Figure 4 An interface diagram according to an embodiment of this application is shown;
[0025] Figure 5 A detailed flowchart of the page data processing method in an embodiment of this application is shown;
[0026] Figure 6 A block diagram of a page data processing apparatus according to an embodiment of this application is shown;
[0027] Figure 7 A schematic diagram of the structure of a display device according to an embodiment of this application is shown. Detailed Implementation
[0028] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0029] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0030] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices. It should also be noted that, for the sake of simplicity, certain components in the drawings that do not affect the interpretation of the technical solution of this application have been appropriately omitted.
[0031] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0032] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "multiple" means two or more.
[0033] To enable those skilled in the art to better understand this application, some application scenarios of the embodiments of this application will be briefly described first.
[0034] As we all know, most electronic devices have user interface interaction functions. For example, users can control electronic devices by touching the screen, or browse page information on the screen by touching the screen.
[0035] In some application scenarios, home appliances are generally equipped with wired controllers, which are mainly used to enable users to control these appliances. For example, users can control the appliances (such as controlling the operating mode, cooling or heating temperature, and operating time of an air conditioner) by touching the page function modules on the wired controller screen. In some embodiments, the screen area of the wired controller for home appliances is relatively small. Therefore, when there are many function modules controlling the appliance, the function setting page cannot be displayed on the screen simultaneously, and only a partial display is supported. Therefore, in practical applications, the function modules that the user needs to set can be displayed by swiping the page. In the prior art, when the page on the screen is swiped, the position of the function module on the screen changes, which triggers the page refresh mechanism to recalculate the screen display parameters for drawing the new page.
[0036] For example, for wired controllers running Linux, page rendering and interaction can be implemented based on the lightweight display framework LVGL. When the user scrolls the page, according to the LVGL partial refresh mechanism, all screen display parameters for the entire page need to be recalculated. For wired controllers with low computing resources, their computing resources cannot fully meet the computational needs for calculating screen display parameters. This results in a low page refresh frame rate and unsmooth page display when the user scrolls the page, due to the low efficiency of screen display parameter calculation, leading to a poor user experience. Based on this discovery, the inventors of this application provide a page data processing method to improve the refresh frame rate of the displayed page.
[0037] It should be noted that in some other application scenarios, such as page data processing based on mobile phone screens, page data processing based on robot screens, and page data processing based on new energy vehicle cabin screens, the page data processing method provided in this application can be used to improve the refresh rate of the displayed page and increase the smoothness of the page display.
[0038] Next, this application will combine Figure 1 The page data processing scheme proposed in this application is described in detail below:
[0039] Reference Figure 1 The diagram illustrates a flowchart of a page data processing method according to an embodiment of this application. This page data processing method can be executed by a device with computing processing capabilities. (Refer to...) Figure 1 As shown, the data processing method for this page includes at least steps 110 to 130, which are detailed below:
[0040] In step 110, in response to the instruction to display page data in the target screen area, the display parameters of the page data to be displayed on the current page are obtained.
[0041] In this application, it is possible to monitor whether a touch operation occurs in the target screen area (e.g., swiping a page, or clicking to open a new page). If a touch operation is detected in the target screen area, an instruction to display page data in the target screen area can be triggered.
[0042] This application can also listen for whether to initiate a wake-up command or a sleep command for the screen. If a wake-up command or a sleep command for the screen is detected, an instruction to display page data in the target screen area is triggered (for example, if no touch operation occurs on the screen for a set period of time, a sleep command for the screen is initiated, at which time the display transparency of the page on the screen can be increased or the screen can be turned off. Or, for example, when a wake-up operation for the screen is received by the user, a wake-up command for the screen is initiated, at which time the display transparency of the page on the screen can be decreased or the screen can be turned on).
[0043] To enable those skilled in the art to better understand this application, the following is combined with Figures 2 to 4 This will be explained using a specific implementation method.
[0044] Reference Figures 2 to 4 The following diagrams illustrate an interface according to one embodiment of this application.
[0045] like Figure 2 As shown, the screen displays the air conditioner settings interface, which includes a function settings menu and a other settings menu (the specific contents of the other settings menu are not shown in the image). When a user's activity is detected... Figure 2 When the function settings menu is clicked on in the screen shown, a new page (i.e., the function settings page) is generated in the target screen area A, and a portion of the function settings page content (such as...) is displayed in the target screen area. Figure 3 (As shown). Furthermore, when a user is detected using, such as... Figure 3 When swiping the page in the screen shown, you can switch the display of other partial content of the function settings page (such as...) in the target screen area A. Figure 4 (As shown).
[0046] It should be noted that, in this application, the page data to be displayed may include page content and page display parameters. The page content may include text, icons, and functional modules composed of controls on the page. The page display parameters may include the color values and / or transparency of various positions on the page to be displayed (or, in other words, the color values and / or transparency of various functional modules on the page to be displayed); that is, the page display parameters may include at least one of color values and transparency.
[0047] It should be further noted that the target screen area mentioned in this application can refer to the entire area of the screen, for example, such as... Figure 2 The interface shown refers to the entire screen area. It can also refer to a localized area of the screen, for example... Figure 3 and Figure 4 Screen area A.
[0048] In this application, in response to an instruction to display page data in a target screen area, the display parameters of the page data to be displayed in the current page (i.e., the display parameters of the page that needs to be displayed in the current page) can be obtained and used as the current page display parameters.
[0049] Continue to refer to Figure 1 In step 130, if there are previously recorded screen display parameters that match the current page display parameters, the page data to be displayed is rendered based on the recorded screen display parameters to obtain the target page.
[0050] It should be noted that screen display parameters can include the color values and / or transparency of each pixel position on the screen. Based on the color values and / or transparency of each pixel position on the screen, the page can be rendered on the screen.
[0051] In this application, it can be determined whether there are previously recorded screen display parameters that match the current page display parameters. If there are previously recorded screen display parameters that match the current page display parameters, the page data to be displayed can be rendered directly based on the recorded screen display parameters to obtain the target page to be displayed in the target screen area.
[0052] In this application, step 140 may further be performed:
[0053] Step 140: If no screen display parameters matching the current page display parameters are recorded previously, calculate the matching screen display parameters based on the current page display parameters, and render the page data to be displayed based on the calculated screen display parameters to obtain the target page.
[0054] Based on the technical solution proposed in this application, when page data needs to be displayed in a target screen area, if no screen display parameters matching the current page display parameters are recorded beforehand, then the matching screen display parameters are calculated based on the current page display parameters. However, if screen display parameters matching the current page display parameters are recorded beforehand, then there is no need to calculate the screen display parameters. In this way, when some pages do not change, such as during page scrolling, the computational resources required to calculate screen display parameters based on page display parameters can be saved, CPU usage can be reduced, and the page refresh rate can be increased (i.e., more refreshed pages can be displayed on the screen per unit time), ensuring smoothness during page display and changes, thereby enhancing the user experience.
[0055] In some embodiments of this application, the page data processing method proposed in this application can be applied to page data processing of the screen of a wired controller in home appliances, such as page data processing of the screen of a wired controller in an air conditioning unit. To enable those skilled in the art to better understand this embodiment, the following continues in conjunction with... Figures 2 to 4 Please provide an explanation.
[0056] like Figure 2 The screen shown displays the air conditioner settings interface, which includes function settings menus and other settings menus. When the user's activity is detected... Figure 2 When the function settings menu is clicked on the screen shown, an instruction to display function settings page data in target screen area A is triggered. It is understood that, in this case, the function settings page is being displayed for the first time, and therefore, there are no previously recorded screen display parameters matching the current page display parameters (i.e., the current page display parameters of the function settings page). Matching screen display parameters need to be calculated based on the current page display parameters, and the function settings page data is rendered based on these calculated parameters to obtain the function settings page to be displayed in target screen area A. It should be noted that, in this embodiment, the screen area size required to fully display the function settings page is larger than the size of target screen area A; therefore, only a portion of the function settings page content can be displayed in target screen area A.
[0057] Furthermore, when listening to user activity such as... Figure 3 When a swipe operation is performed on the screen shown, it triggers an instruction to display the function settings page data in target screen area A. It's understood that in this situation, the function settings page is not being displayed for the first time, but rather is being swiped within target screen area A. The change lies in switching between displaying other partial page content of the function settings page within target screen area A (i.e., the positions of function modules such as "wind direction," "humidity," "timer," and "wind sense" within target screen area A have changed). Therefore, since screen display parameters matching the current page display parameters are pre-recorded, there's no need to calculate matching screen display parameters based on the current page display parameters. The function settings page data can be directly rendered based on the pre-recorded screen display parameters to obtain the function settings page to be displayed in target screen area A. This saves the computational resources required to calculate screen display parameters based on page display parameters, reduces the CPU usage of the wired controller, increases the page refresh rate, ensures smoothness during page display and changes, and thus enhances the user experience.
[0058] It is understandable that as a user scrolls through a page, the position of the page content (such as the various functional modules in the settings page) within the target screen area constantly changes (e.g., in...). Figure 2 Switch to Figure 3 During the process, the page content displayed at position B1 in the target screen area will be scrolled to position B2 in the target screen area (while other page content will be displayed at position B1). Therefore, the command to display page data in the target screen area may be triggered multiple times within a unit of time. Consequently, the target screen area will switch and display multiple frames of the page within a unit of time to provide the user with a visually smooth scrolling experience. It should be noted that in a comfortable and relaxed state, the human eye's visual frame rate is approximately 24 frames per second, while when concentrating, it can reach up to 30 frames per second. If the number of page frames switched and displayed in the target screen area within a unit of time is less than 24 frames per second, the user will clearly perceive that the page scrolling is choppy and not smooth enough.
[0059] As can be seen, in the scenario of page data processing on the screen of a wired controller in home appliances, based on the technical solution proposed in this application, when the page does not change, it is not necessary to calculate the matching screen display parameters based on the current page display parameters. Instead, the function setting page data can be directly rendered based on the previously recorded screen display parameters to obtain the page for display in the target screen area of the wired controller. Even with a low-cost wired controller with lower computing resource configuration, the CPU utilization is reduced by saving the computing resources required to calculate the screen display parameters based on the page display parameters, while still ensuring a page refresh frame rate that meets the human visual frame rate. Therefore, in the scenario of page data processing on the screen of a wired controller in home appliances, the technical solution proposed in this application can reduce the production cost of home appliances (such as air conditioners) (i.e., reduce the cost of using the wired controller) while ensuring a page refresh frame rate that meets the human visual frame rate, ensuring smoothness during page display and changes, and enhancing the user experience.
[0060] Next, this application will explain how to determine whether there are previously recorded screen display parameters that match the current page display parameters.
[0061] Specifically, in this application, after obtaining the display parameters of the page data to be displayed on the current page, the following step 121 can also be performed:
[0062] Step 121: If there are no previously recorded page display parameters for the page data to be displayed, then it is determined that there are no previously recorded screen display parameters that match the current page display parameters.
[0063] Furthermore, in this application, steps 122 to 123 may also be performed:
[0064] Step 122: If the page display parameters of the page data to be displayed are recorded in advance, then obtain the previously recorded page display parameters of the page data to be displayed.
[0065] Step 123: If the current page display parameters are consistent with the previous page display parameters, then it is determined that there are previously recorded screen display parameters that match the current page display parameters.
[0066] Furthermore, in this application, the following steps 123 may also be performed:
[0067] Step 124: If the current page display parameters are inconsistent with the previous page display parameters, then it is determined that there is no previously recorded screen display parameters that match the current page display parameters.
[0068] In other words, after obtaining the display parameters of the page data to be displayed in the current page, it is first possible to determine whether the page display parameters of the page data to be displayed are recorded in the past. If the page display parameters of the page data to be displayed are not recorded in the past, it means that the page corresponding to the page data to be displayed is being displayed for the first time in the target screen area. At this time, it is necessary to calculate the matching screen display parameters based on the display parameters of the page data to be displayed in the current page (i.e., the current page display parameters), and then render the page data to be displayed based on the calculated screen display parameters to obtain the target page to be displayed in the target screen area.
[0069] If the page display parameters for the page data to be displayed are already recorded, it means that the page corresponding to the current page data is not being displayed for the first time in the target screen area. In this case, the previously recorded page display parameters for the page data to be displayed can be obtained. It should be noted that in this situation, the current page display parameters may or may not be the same as the previously recorded page display parameters. Specifically, when a wake-up or sleep command is initiated for the screen, the page display parameters for the page data to be displayed in the target screen area will change, and the current page display parameters will be inconsistent with the previously recorded page display parameters. For example, when the screen is woken up, the screen's page transparency will decrease and the brightness will increase; conversely, when the screen is asleep, the screen's page transparency will increase and the brightness will decrease.
[0070] Therefore, if the current page display parameters are consistent with the previously recorded page display parameters, it is determined that a screen display parameter matching the current page display parameters has been previously recorded, and in this case, it is not necessary to calculate the screen display parameter matching the current page display parameters. If the current page display parameters are inconsistent with the previously recorded page display parameters, it is determined that no screen display parameter matching the current page display parameters has been previously recorded, and it is necessary to calculate the screen display parameter matching the current page display parameters.
[0071] In this application, step 125 may also be performed:
[0072] Step 125: Record the display parameters of the page data to be displayed on the current page.
[0073] Specifically, in this application, if the page display parameters of the page data to be displayed are not recorded prior to the present, or if the current page display parameters are inconsistent with the prior page display parameters, the page data to be displayed is recorded in the current page display parameters for the purpose of determining in the next instance whether there are screen display parameters that match the current page display parameters.
[0074] To enable those skilled in the art to better understand this application, the following is combined with Figure 5 Taking the page data processing scenario of the screen of the wired controller in air conditioning equipment as an example, this paper explains the page data processing solution as a whole.
[0075] See Figure 5 The diagram shows a detailed flowchart of the page data processing method in the embodiments of this application, specifically including steps 501 to 511.
[0076] Step 501, Begin.
[0077] Step 502: Listen to the user swiping the air conditioner page.
[0078] Step 503: Obtain the current page display parameters of the data to be displayed.
[0079] Step 504: Determine if there are any prior page display parameters for the page data to be displayed. If yes, proceed to step 506; otherwise, proceed to step 505.
[0080] Step 505: Record the current page display parameters of the data to be displayed as the next prior page display parameters, and then execute step 507.
[0081] Step 506: Determine if the parameters displayed on the current page are consistent with those displayed on the previous page. If yes, proceed to step 508; otherwise, proceed to step 507.
[0082] Step 507: Calculate the screen display parameters based on the current page display parameters, and then proceed to step 509.
[0083] Step 508: Obtain the screen display parameters calculated prior to the prior page display parameters.
[0084] Step 509: Render the data of the page to be displayed based on the screen display parameters to obtain the target page.
[0085] Step 510: Listen to whether the user swipes the air conditioner page again. If yes, proceed to step 503; otherwise, proceed to step 511.
[0086] Step 511, End.
[0087] Based on such Figure 5 The illustrated embodiment determines whether a screen display parameter matching the current page display parameter is recorded in the prior page display parameters by judging whether there are previously recorded screen display parameters for the page data to be displayed, or by judging whether the current page display parameters are consistent with previously recorded screen display parameters. If a screen display parameter matching the current page display parameter is recorded in the prior page display parameters, then there is no need to calculate the screen display parameter matching the current page display parameter. Therefore, unnecessary calculations in the wired controller can be reduced, the page refresh cycle shortened, the page refresh frame rate increased, and CPU usage reduced. For low-cost Linux wired controllers, the user experience will be significantly improved.
[0088] In practical applications, the page display parameters (color values, transparency, size) of the page content (i.e., functional modules) do not change during the scrolling process of the air conditioner interface. Therefore, the calculation of screen display parameters (i.e., color values, transparency, etc. of each pixel on the screen) in each refresh cycle is redundant. This application improves the page refresh rate and reduces CPU usage by removing redundant calculations. Based on the above analysis, this application adds a module information recording and storage and change comparison mechanism. When page parameters such as color values and transparency change, it is only necessary to calculate screen display parameters. Otherwise, the page is drawn directly based on the existing screen display parameters.
[0089] The following describes an apparatus embodiment of this application, which can be used to execute the page data processing method in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the page data processing method described above.
[0090] See Figure 6 The diagram shows a block diagram of a page data processing apparatus according to an embodiment of this application.
[0091] like Figure 6As shown, the page data processing apparatus 600 according to an embodiment of this application includes: an acquisition unit 601 and a rendering unit 602.
[0092] The acquisition unit 601 is used to acquire the current page display parameters of the page data to be displayed in the current page in response to the instruction to display page data in the target screen area; the rendering unit 602 is used to render the page data to be displayed based on the recorded screen display parameters if screen display parameters matching the current page display parameters are recorded in advance, so as to obtain the target page.
[0093] In some embodiments of this application, based on the foregoing scheme, the rendering unit 602 is configured to: if no screen display parameters matching the current page display parameters are recorded prior to the current page display parameters, calculate the matching screen display parameters based on the current page display parameters, and render the page data to be displayed based on the calculated screen display parameters to obtain the target page.
[0094] In some embodiments of this application, based on the foregoing scheme, the apparatus further includes: a determining unit, configured to, after obtaining the current page display parameters of the page data to be displayed, if there are previously recorded page display parameters of the page data to be displayed, then obtain the previously recorded page display parameters of the page data to be displayed; if the current page display parameters are consistent with the previously recorded page display parameters, then determine that there are previously recorded screen display parameters that match the current page display parameters.
[0095] In some embodiments of this application, based on the foregoing scheme, the determining unit is configured to: if the current page display parameters are inconsistent with the prior page display parameters, then determine that there is no prior record of screen display parameters that match the current page display parameters.
[0096] In some embodiments of this application, based on the foregoing scheme, the determining unit is configured to: if there are no previously recorded page display parameters for the page data to be displayed, then determine that there are no previously recorded screen display parameters that match the current page display parameters.
[0097] In some embodiments of this application, based on the foregoing scheme, the device further includes: a recording unit, used to record the data of the page to be displayed in the current page display parameters.
[0098] In some embodiments of this application, based on the foregoing scheme, the device further includes: a listening unit, configured to trigger an instruction to display page data in the target screen area if a touch operation targeting the target screen area is detected.
[0099] In some embodiments of this application, based on the foregoing scheme, the listening unit is configured to: if a wake-up command or sleep command for the screen is detected, trigger a command to display page data in the target screen area.
[0100] In some embodiments of this application, based on the foregoing scheme, the page display parameters include at least one of color value and transparency.
[0101] Based on the same inventive concept, embodiments of this application provide a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor so as to cause a computer device having the processor to perform the operations performed by the page data processing method as described above.
[0102] Based on the same inventive concept, embodiments of this application provide a computer-readable storage medium storing at least one computer program instruction, which is loaded and executed by a processor to perform the operations performed by the page data processing method described above.
[0103] Based on the same inventive concept, this application also provides a display device, see reference. Figure 7 The diagram shows a schematic of the structure of a display device according to an embodiment of this application. The display device includes one or more memories 704, one or more processors 702, and at least one computer program (computer program instructions) stored in the memory 704 and executable on the processor 702. When the processor 702 executes the computer program, it implements the page data processing method as described above.
[0104] Among them, Figure 7 In this document, a bus architecture (represented by bus 700) is used. Bus 700 may include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 702 and memory represented by memory 704. Bus 700 may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 705 provides an interface between bus 700 and receiver 701 and transmitter 703. Receiver 701 and transmitter 703 may be the same element, i.e., a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 702 is responsible for managing bus 700 and general processing, while memory 704 can be used to store data used by processor 702 during operation.
[0105] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0106] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0107] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0108] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing computer program instructions, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0109] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for processing page data, characterized in that, The method includes: In response to an instruction to display page data in the target screen area, obtain the display parameters of the page data to be displayed on the current page; If there are previously recorded screen display parameters that match the current page display parameters, then the page data to be displayed is rendered based on the recorded screen display parameters to obtain the target page.
2. The method according to claim 1, characterized in that, The method further includes: If no screen display parameters matching the current page display parameters are recorded prior to the current page display parameters, then the matching screen display parameters are calculated based on the current page display parameters, and the page data to be displayed is rendered based on the calculated screen display parameters to obtain the target page.
3. The method according to claim 2, characterized in that, After obtaining the display parameters of the page data to be displayed on the current page, the method further includes: If the page display parameters of the page data to be displayed are recorded in advance, then the previously recorded page display parameters of the page data to be displayed are obtained. If the current page display parameters are consistent with the previous page display parameters, then it is determined that there are previously recorded screen display parameters that match the current page display parameters.
4. The method according to claim 3, characterized in that, The method further includes: If the current page display parameters are inconsistent with the previous page display parameters, it is determined that there is no previously recorded screen display parameter that matches the current page display parameters.
5. The method according to claim 3, characterized in that, The method further includes: If there are no previously recorded page display parameters for the page data to be displayed, then it is determined that there are no previously recorded screen display parameters that match the current page display parameters.
6. The method according to claim 5, characterized in that, The method further includes: Record the display parameters of the page data to be displayed on the current page.
7. The method according to claim 1, characterized in that, The method further includes: If a touch operation is detected targeting the target screen area, an instruction to display page data in the target screen area is triggered.
8. The method according to claim 1, characterized in that, The method further includes: If a wake-up or sleep command is detected for the screen, a command to display page data in the target screen area is triggered.
9. The method according to any one of claims 1 to 8, characterized in that, The page display parameters include at least one of the color value and transparency.
10. A page data processing apparatus, characterized in that, The device includes: The acquisition unit is used to acquire the display parameters of the page data to be displayed on the current page in response to the instruction to display page data in the target screen area; The rendering unit is used to render the page data to be displayed based on the recorded screen display parameters if there are previously recorded screen display parameters that match the current page display parameters, thereby obtaining the target page.
11. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor to cause a computer device having the processor to perform the method as claimed in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to perform the operations performed by the method as described in any one of claims 1 to 9.
13. A display device, characterized in that, The display device includes one or more processors and one or more memories, wherein at least one piece of program code is stored in the one or more memories, and the at least one piece of program code is loaded and executed by the one or more processors to implement the method as claimed in any one of claims 1 to 9.