CN111522609A - Page display method and device - Google Patents

Page display method and device Download PDF

Info

Publication number
CN111522609A
CN111522609A CN202010193405.7A CN202010193405A CN111522609A CN 111522609 A CN111522609 A CN 111522609A CN 202010193405 A CN202010193405 A CN 202010193405A CN 111522609 A CN111522609 A CN 111522609A
Authority
CN
China
Prior art keywords
page
preset
module
page data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010193405.7A
Other languages
Chinese (zh)
Inventor
李泽锋
彭庆太
***
杨春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN202010193405.7A priority Critical patent/CN111522609A/en
Publication of CN111522609A publication Critical patent/CN111522609A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention provides a page display method, which comprises the following steps: the method comprises the steps that a preset page analysis module obtains page resources, the page resources are analyzed to obtain first page data, the first page data are stored in a preset shared memory, a preset external scaling module obtains the first page data from the shared memory, second page data are generated by the first page data, the resolution of the second page data is larger than that of the first page, a preset frame buffer module displays a page by the second page data, accordingly, low-resolution page data are amplified into high-resolution page data to be displayed, a processor does not need to directly analyze and calculate the high-resolution page data, the performance of the processor is saved, the processing speed of the processor is improved, and the high-resolution menu can be quickly refreshed.

Description

Page display method and device
Technical Field
The present invention relates to the field of page display technologies, and in particular, to a page display method and apparatus, and a computer-readable storage medium.
Background
With the rapid development of display technology, the resolution of the screen of the display device is higher and higher, for example, the resolution of some household television screens can reach even 4K ultra-high definition resolution. The 4K resolution means that each row of pixels in the horizontal direction reaches or approaches 4096, and the larger the number of pixels, the more pixel data the processor needs to process, which obviously poses a small challenge to the processing performance of the processor in the display device.
At present, a developer can utilize the QT development framework to realize the refreshing function of the page. When the resolution of a page to be refreshed is relatively high, for example, the resolution of the page to be refreshed is 4K ultra-high-definition, if the performance of the processor is not sufficient to support fast calculation of a huge amount of data, not only may a large delay occur in refreshing the page, but also a loading error of the page may be caused, or normal operation of other processes may be affected.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a display method of a page, a display apparatus of a page, and a computer-readable storage medium that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for displaying a page, which includes:
acquiring a page resource by a preset page analysis module, analyzing the page resource to acquire first page data, and storing the first page data to a preset shared memory;
acquiring the first page data from the shared memory by a preset external scaling module, and generating second page data by adopting the first page data, wherein the resolution of the second page data is greater than that of the first page;
and displaying the page by adopting the second page data through a preset frame buffer module.
Optionally, the acquiring, by a preset page parsing module, a page resource, parsing the page resource to obtain first page data, and storing the first page data before the first page data is stored in a preset shared memory further includes:
initializing an analysis thread and a scaling thread;
initializing the preset page parsing module by the parsing thread;
initializing, by the scaling thread, the preset external scaling module.
Optionally, the analyzing the page resource to obtain the first page data includes:
acquiring preset configuration information by the preset page analysis module;
and analyzing the page resource by the preset page analyzing module by adopting the preset configuration information to obtain the first page data.
Optionally, the method further comprises:
and after the preset page analysis module stores the first page data to a preset shared memory, generating and sending a notification message to the preset external scaling module aiming at the preset shared memory.
Optionally, the obtaining, by the preset external scaling module, the first page data from the shared memory includes:
determining the preset shared memory by the preset external scaling module by adopting the notification message;
and the preset external scaling module acquires the first page data from the preset shared memory.
Optionally, the generating second page data by using the first page data includes:
acquiring first pixel data from the first page data by the preset external scaling module;
amplifying the first pixel data by a preset multiple by the preset external scaling module to generate second pixel data;
and generating second page data by adopting the second pixel data through the preset external scaling module.
Correspondingly, the embodiment of the invention also discloses a display device of the page, which comprises:
the preset page analyzing module is used for acquiring page resources, analyzing the page resources to acquire first page data, and storing the first page data to a preset shared memory;
the preset external scaling module is used for acquiring the first page data from the shared memory and generating second page data by adopting the first page data, wherein the resolution of the second page data is greater than that of the first page;
and the preset frame buffer module is used for displaying the page by adopting the second page data.
Optionally, the method further comprises:
the thread initialization module is used for initializing an analysis thread and a scaling thread;
a preset page resolution module initialization module, configured to initialize the preset page resolution module by the resolution thread;
and the initialization module of the preset external scaling module is used for initializing the preset external scaling module by the scaling thread.
Optionally, the preset page parsing module includes:
the configuration information acquisition submodule is used for acquiring preset configuration information;
and the first page data generation submodule is used for analyzing the page resource by adopting the preset configuration information to obtain the first page data.
Optionally, the method further comprises:
and the notification message generation module generates and sends a notification message to the preset external scaling module aiming at the preset shared memory after the first page data is stored to the preset shared memory.
Optionally, the preset external scaling module includes:
the preset shared memory determining submodule is used for determining the preset shared memory by adopting the notification message;
and the first page data acquisition submodule is used for acquiring the first page data from the preset shared memory.
Optionally, the preset external scaling module includes:
a first pixel data obtaining sub-module for obtaining first pixel data from the first page data;
the second pixel data generation submodule is used for amplifying the first pixel data by preset times to generate second pixel data;
and the second page data generation submodule is used for generating second page data by adopting the second pixel data.
The embodiment of the invention also discloses a device, which comprises:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more of a method of displaying a page as described in embodiments of the invention.
The embodiment of the invention also discloses a computer readable storage medium, and the stored computer program enables a processor to execute the page display method in the embodiment of the invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, a preset page analysis module acquires page resources, analyzes the page resources to acquire first page data, stores the first page data in a preset shared memory, a preset external scaling module acquires the first page data from the shared memory, and generates second page data by adopting the first page data, wherein the resolution of the second page data is greater than that of the first page, and a preset frame buffer module adopts the second page data to display a page, so that low-resolution page data is amplified into high-resolution page data to be displayed, a processor is not needed to directly analyze and calculate the high-resolution page data, the performance of the processor is saved, the processing speed of the processor is improved, and the high-resolution menu can be quickly refreshed.
Drawings
FIG. 1 is a flowchart illustrating a first step of a page display method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a second embodiment of a method for displaying a page according to the present invention;
fig. 3 is a block diagram of a first structure of a display device for a page according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
When the QT development framework is used to implement the page refresh function, if the refresh frequency of a page is high, that is, the display device needs to sequentially display a plurality of different frames in a short time, and when the resolution of the page to be refreshed is high, for example, the page to be refreshed is at an ultra-high-definition resolution of 4K, if the performance of the processor is not sufficient to support fast calculation of a huge data amount, the page refresh may be delayed greatly, or even a page loading error may be caused, or normal operation of other processes may be affected.
In view of the above-mentioned current page display method, one of the core ideas of the embodiments of the present invention is that a preset page parsing module obtains and parses page resources to obtain first page data with a lower resolution, a preset external scaling module generates second page data with a higher resolution by using the first page data with the lower resolution, and finally a preset frame buffer module displays a page by using the second page data.
Referring to fig. 1, a flowchart illustrating a first embodiment of a method for displaying a page according to the present invention is shown, where the method includes:
step 101, a preset page analyzing module acquires a page resource, analyzes the page resource to acquire first page data, and stores the first page data in a preset shared memory;
before the page is displayed, the preset page parsing module needs to parse the page resource to generate first page data. In the embodiment of the present invention, the page resource may be a page, and the page may be a picture and a page operation code, the picture is a background of the page, and the page operation code may implement functions of typesetting, displaying, and the like of the page. And the QT development frame is provided with an analysis module, and the analysis module in the QT development frame can be used as the preset page analysis module for analyzing the page resources into page data.
In the embodiment of the invention, a preset page analysis module in the QT acquires page resources, analyzes the page resources to obtain first page data, and stores the first page data into a preset shared memory.
102, acquiring the first page data from the shared memory by a preset external scaling module, and generating second page data by using the first page data, wherein the resolution of the second page data is greater than that of the first page;
in an embodiment of the invention, the preset external scaling module is a module that requires additional loading with respect to the QT development framework. Although the QT development framework is provided with a scaling module for implementing page scaling, the scaling performance of the scaling module is weak, the time spent on page scaling is long, and the problem of page refresh delay may still exist.
The preset external scaling module may adopt a module provided by another development framework, for example, a TDE Engine (Two Dimensional acceleration Engine) provided by the haisi platform provides functions of fast bitmap moving, fast color filling, fast anti-flash moving, fast bitmap scaling and the like by using a hardware OSD (On Screen display mode) and a GUI (Graphics User Interface), so that the TDE Engine On the haisi platform can be used as the preset external scaling module, and due to its strong scaling performance, the TDE Engine can accelerate and amplify first page data with lower resolution into second page data with higher resolution, thereby greatly reducing the refresh delay of a high resolution page.
And 103, displaying the page by adopting the second page data through a preset frame buffer module.
The preset frame buffer module may be a frame buffer module provided by an operating system kernel, the frame buffer module is used for displaying a corresponding page on a display device by using page data, and the display device may be a display screen of various types of electronic devices, such as a television screen, a computer screen, and the like. In the embodiment of the present invention, the preset frame buffer module can display the corresponding page on the display device by using the second page data. The preset frame buffer module is provided with a plurality of storage units, each storage unit corresponds to one pixel on the display equipment, all the storage units of the whole preset frame buffer module correspond to one frame of image on the display equipment, and the preset frame buffer module is used for displaying pixel data on the display equipment. In the embodiment of the invention, after the preset external scaling module enlarges the first page data with lower resolution into the second page data with higher resolution, the preset frame buffer module displays the page on the display device by adopting the second page data.
In summary, in an optional embodiment of the present invention, an analysis module of a QT development frame may be used as a preset analysis module of the present application, the page resource is obtained and analyzed to obtain first page data, the first page data is stored in a preset shared memory, a TDE engine of a haisi platform may be used as a preset external scaling module, the first page data is accelerated and amplified to be second page data, where the QT development frame and the TDE engine of the haisi platform are cross-platform, and finally, a preset frame buffer module is used to display a page corresponding to the second page data on a display device by using the second page data.
In the embodiment of the invention, a preset page analysis module acquires page resources, analyzes the page resources to acquire first page data, stores the first page data in a preset shared memory, a preset external scaling module acquires the first page data from the shared memory, and generates second page data by adopting the first page data, wherein the resolution of the second page data is greater than that of the first page, and a preset frame buffer module adopts the second page data to display a page, so that low-resolution page data is amplified into high-resolution page data to be displayed, a processor is not required to directly analyze and calculate the high-resolution page data, the performance of the processor is saved, the processing speed of the processor is improved, and the high-resolution menu can be quickly refreshed.
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of a method for displaying a page according to the present invention is shown, where the method includes:
step 201, initializing an analysis thread and a scaling thread;
in the embodiment of the present invention, the parsing thread is used to drive the preset page parsing module to run, the scaling thread is used to drive the preset external scaling module to run, and both the parsing thread and the scaling thread need to be developed by a technician.
Step 202, initializing the preset page parsing module by the parsing thread;
and after the initialization of the analysis thread is finished, initializing the preset page analysis module by the analysis thread so as to enable the preset page analysis module to start running, and after the preset page analysis module obtains the page resource, analyzing the page resource. The preset page parsing module can adopt a parsing module in a QT development framework.
Step 203, initializing the preset external scaling module by the scaling thread.
And after the initialization of the zooming thread is finished, initializing the preset external zooming module by the zooming thread so as to enable the preset external zooming module to start running, and zooming the page data after the preset external zooming module obtains the page data.
Step 204, a preset page analyzing module acquires a page resource, analyzes the page resource to acquire first page data, and stores the first page data in a preset shared memory;
after the preset page analyzing module is initialized by the analyzing thread, the preset page analyzing module starts to operate, specifically, the preset page analyzing module acquires page resources from a preset storage position, analyzes the page resources to obtain first page data, and places the first page data in a preset shared memory, so that the external scaling module takes out the first page data from the shared memory and further processes the first page data.
The analyzing the page resource to obtain the first page data may include the following sub-steps:
acquiring preset configuration information by the preset page analysis module;
and analyzing the page resource by the preset page analyzing module by adopting the preset configuration information to obtain the first page data.
The preset configuration information includes parsing rule information, which may be written or modified by a technician, in practical application, the technician may write the parsing rule information according to specific requirements, so that the page parsing module may parse the page resource into the page data with the specified resolution according to the parsing rule information, for example, the page parsing module may parse the page resource into the page data with the resolution of 480P according to the parsing rule information, or the page parsing module may parse the page resource into the page data with the resolution of 720P according to the parsing rule information, and so on.
And after the preset page analysis module stores the first page data to a preset shared memory, generating and sending a notification message to the preset external scaling module aiming at the preset shared memory.
After the preset page analysis module stores the first page data to a preset shared memory, a notification message is generated for the preset shared memory, the notification message wraps file path information of the shared memory, the preset page analysis module sends the notification message to an external zooming module, and the external zooming module can access the preset shared memory according to the file path information in the notification message, so that the first page data are obtained.
Step 205, a preset external scaling module acquires the first page data from the shared memory, and generates second page data by using the first page data, wherein the resolution of the second page data is greater than that of the first page;
the QT development framework provides a scaling module in addition to the parsing module, but the scaling performance of the scaling module carried by the QT is still weak, and if the scaling module provided by the QT development framework is used to scale the first page data, the processing time is too long, and the refresh time of the page cannot be reduced better. Therefore, an external scaling module provided by other platforms can be adopted, for example, a TDE engine provided by Haesi can be adopted as the external scaling module, and since the TDE engine of the Haesi platform has hardware acceleration, the processing time can be greatly reduced, and the page display speed is improved.
Wherein the obtaining, by the preset external scaling module, the first page data from the shared memory includes:
determining the preset shared memory by the preset external scaling module by adopting the notification message;
and the preset external scaling module acquires the first page data from the preset shared memory.
After the preset external scaling module is initialized by the scaling thread module, when the preset external scaling module receives the notification message sent by the preset page parsing module, the preset shared memory can be accessed to obtain the first page data.
In this embodiment of the present invention, the generating the second page data by using the first page data may include the following sub-steps:
acquiring first pixel data from the first page data by the preset external scaling module;
in the embodiment of the present invention, the first page data is a position and a pixel value of each pixel point in the page, and the preset external scaling module obtains the first pixel data from the first page data, where the first pixel data is a position and a pixel value of one pixel point in the page.
Amplifying the first pixel data by a preset multiple by the preset external scaling module to generate second pixel data;
in specific implementation, the preset external scaling module duplicates and generates pixel points with the same pixel value as one pixel point and the number of the pixel points is reduced by one by the preset multiple around the position of one pixel point, and the pixel points and the original pixel points form second pixel data, for example, if the preset amplification factor is 3 times and the pixel value of the pixel point is 56, the preset external scaling module duplicates and generates two pixel points with pixel values of 56 around the position of the pixel point, and three pixel points with pixel values of 56 form second pixel data.
And generating second page data by adopting the second pixel data through the preset external scaling module.
And after the preset external scaling module amplifies all the first pixel data to generate second pixel data, generating second page data by adopting all the second pixel data.
And step 206, displaying the page by the preset frame buffer module by using the second page data.
The preset frame buffer module may be a frame buffer module provided by a linux operating system, the preset frame buffer module has a preset address on the linux operating system, and when the second page data is input to the preset address, the preset frame buffer module can adopt the second page data display page.
In the embodiment of the present invention, an analysis thread and a scaling thread are initialized, the preset page analysis module is initialized by the analysis thread, the preset external scaling module is initialized by the scaling thread, a page resource is obtained by the preset page analysis module, a first page data is obtained by analyzing the page resource, the first page data is stored in a preset shared memory, the first page data is obtained from the shared memory by the preset external scaling module, a second page data is generated by using the first page data, wherein the resolution of the second page data is greater than that of the first page, the page is displayed by using the second page data by a preset frame buffer module, so that the low-resolution page data is enlarged into the high-resolution page data for display, and a processor is not required to directly analyze and calculate the high-resolution page data, and then save the performance of the processor, promoted the processing speed of processor, can realize the multiple different high resolution pictures of many time show in proper order, can realize the quick refresh of high resolution menu.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a first embodiment of a page display apparatus according to the present invention is shown, the apparatus including:
the preset page parsing module 301 is configured to obtain a page resource, parse the page resource to obtain first page data, and store the first page data in a preset shared memory;
a preset external scaling module 302, configured to obtain the first page data from the shared memory, and generate second page data by using the first page data, where a resolution of the second page data is greater than a resolution of the first page;
and the preset frame buffer module 303 is configured to display a page by using the second page data.
In the embodiment of the present invention, the method further includes:
the thread initialization module is used for initializing an analysis thread and a scaling thread;
a preset page resolution module initialization module, configured to initialize the preset page resolution module by the resolution thread;
and the initialization module of the preset external scaling module is used for initializing the preset external scaling module by the scaling thread.
In an embodiment of the present invention, the preset page parsing module includes:
the configuration information acquisition submodule is used for acquiring preset configuration information;
and the first page data generation submodule is used for analyzing the page resource by adopting the preset configuration information to obtain the first page data.
In the embodiment of the present invention, the method further includes:
and the notification message generation module generates and sends a notification message to the preset external scaling module aiming at the preset shared memory after the first page data is stored to the preset shared memory.
In an embodiment of the present invention, the preset external scaling module includes:
the preset shared memory determining submodule is used for determining the preset shared memory by adopting the notification message;
and the first page data acquisition submodule is used for acquiring the first page data from the preset shared memory.
In an embodiment of the present invention, the preset external scaling module includes:
a first pixel data obtaining sub-module for obtaining first pixel data from the first page data;
the second pixel data generation submodule is used for amplifying the first pixel data by preset times to generate second pixel data;
and the second page data generation submodule is used for generating second page data by adopting the second pixel data.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an apparatus, including:
the communication method comprises a processor, a memory and a computer program which is stored in the memory and can run on the processor, wherein when the computer program is executed by the processor, each process of the communication method embodiment is realized, the same technical effect can be achieved, and the details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements each process of the communication method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The present invention provides a page display method, a page display device and a computer readable storage medium, which are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present invention, and the description of the above embodiments is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for displaying a page, the method comprising:
acquiring a page resource by a preset page analysis module, analyzing the page resource to acquire first page data, and storing the first page data to a preset shared memory;
acquiring the first page data from the shared memory by a preset external scaling module, and generating second page data by adopting the first page data, wherein the resolution of the second page data is greater than that of the first page;
and displaying the page by adopting the second page data through a preset frame buffer module.
2. The method of claim 1, wherein the obtaining of the page resource by the preset page parsing module, parsing the page resource to obtain the first page data, and storing the first page data before the storing of the first page data in the preset shared memory further comprises:
initializing an analysis thread and a scaling thread;
initializing the preset page parsing module by the parsing thread;
initializing, by the scaling thread, the preset external scaling module.
3. The method of claim 1, wherein parsing the page resource to obtain first page data comprises:
acquiring preset configuration information by the preset page analysis module;
and analyzing the page resource by the preset page analyzing module by adopting the preset configuration information to obtain the first page data.
4. The method of claim 1, further comprising:
and after the preset page analysis module stores the first page data to a preset shared memory, generating and sending a notification message to the preset external scaling module aiming at the preset shared memory.
5. The method according to claim 4, wherein the obtaining, by the default external scaling module, the first page data from the shared memory comprises:
determining the preset shared memory by the preset external scaling module by adopting the notification message;
and the preset external scaling module acquires the first page data from the preset shared memory.
6. The method of claim 1, wherein said generating second page data using said first page data comprises:
acquiring first pixel data from the first page data by the preset external scaling module;
amplifying the first pixel data by a preset multiple by the preset external scaling module to generate second pixel data;
and generating second page data by adopting the second pixel data through the preset external scaling module.
7. An apparatus for displaying a page, the apparatus comprising:
the preset page analyzing module is used for acquiring page resources, analyzing the page resources to acquire first page data, and storing the first page data to a preset shared memory;
the preset external scaling module is used for acquiring the first page data from the shared memory and generating second page data by adopting the first page data, wherein the resolution of the second page data is greater than that of the first page;
and the preset frame buffer module is used for displaying the page by adopting the second page data.
8. The apparatus of claim 7, further comprising:
the thread initialization module is used for initializing an analysis thread and a scaling thread;
a preset page resolution module initialization module, configured to initialize the preset page resolution module by the resolution thread;
and the initialization module of the preset external scaling module is used for initializing the preset external scaling module by the scaling thread.
9. A display device for a page, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform a method of displaying a page of one or more of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a method of displaying a page according to any one of claims 1 to 6.
CN202010193405.7A 2020-03-18 2020-03-18 Page display method and device Pending CN111522609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010193405.7A CN111522609A (en) 2020-03-18 2020-03-18 Page display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010193405.7A CN111522609A (en) 2020-03-18 2020-03-18 Page display method and device

Publications (1)

Publication Number Publication Date
CN111522609A true CN111522609A (en) 2020-08-11

Family

ID=71900478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010193405.7A Pending CN111522609A (en) 2020-03-18 2020-03-18 Page display method and device

Country Status (1)

Country Link
CN (1) CN111522609A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177176A (en) * 2021-05-21 2021-07-27 脸萌有限公司 Feature construction method, content display method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786882A (en) * 2017-09-30 2018-03-09 青岛海信宽带多媒体技术有限公司 A kind of Webpage display process, device and set top box
CN108021666A (en) * 2017-12-04 2018-05-11 北京百度网讯科技有限公司 Page adaptation method and apparatus
EP3373163A1 (en) * 2017-01-16 2018-09-12 Wangsu Science & Technology Co., Ltd. Method and device for page processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3373163A1 (en) * 2017-01-16 2018-09-12 Wangsu Science & Technology Co., Ltd. Method and device for page processing
CN107786882A (en) * 2017-09-30 2018-03-09 青岛海信宽带多媒体技术有限公司 A kind of Webpage display process, device and set top box
CN108021666A (en) * 2017-12-04 2018-05-11 北京百度网讯科技有限公司 Page adaptation method and apparatus

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HI_LETIAN: "QT 5在海思安防平台上的UI应用一些优化方法", CSDN, 5 August 2018 (2018-08-05), pages 2 *
王尚波;杜灿龙;: "基于Hi3531和Qt的NVR人机交互***的设计与实现", 数字技术与应用, no. 10, 15 October 2013 (2013-10-15) *
王灵芝;李伟滨;: "基于Hi3515C的车载驾驶音视频监控***设计", 闽南师范大学学报(自然科学版), no. 02, 30 June 2016 (2016-06-30) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177176A (en) * 2021-05-21 2021-07-27 脸萌有限公司 Feature construction method, content display method and related device

Similar Documents

Publication Publication Date Title
CN107615770B (en) Application processing method and terminal equipment
CN110377264B (en) Layer synthesis method, device, electronic equipment and storage medium
CN103823620B (en) Screen adaption method and device
US9195637B2 (en) Proportional font scaling
WO2020192451A1 (en) Real-time picture projection method and apparatus of ar glasses screen, controller and medium
CN110569013B (en) Image display method and device based on display screen
US20110145730A1 (en) Utilization of Browser Space
US20200142571A1 (en) Optimizing Window Resize Actions for Remoted Applications
CN111432261A (en) Video window picture display method and device
CN105589667B (en) Method and device for capturing display image of display equipment
CN110647378A (en) Dynamic image loading method and device and electronic equipment
EP3196745A1 (en) Display device, display system, and display control program
WO2015161809A1 (en) Picture splitting method and apparatus, and picture loading method and apparatus
CN108228130B (en) Liquid crystal screen display method and device of embedded equipment
CN111901660A (en) Image display method, terminal, electronic equipment and storage medium
WO2014206125A1 (en) Method and device for aligning zoomed webpage on electronic device
CN107506119B (en) Picture display method, device, equipment and storage medium
JP2024513380A (en) Subtitle processing methods, devices, devices and storage media
CN111522609A (en) Page display method and device
CN101587436B (en) Method and system for regional restoration in embedded device
CN112118484B (en) Video bullet screen display method and device, computer equipment and readable storage medium
CN107332914B (en) Terminal display method and device
CN106648634A (en) Screen shot method and screen shot device
CN109429067B (en) Dynamic picture compression method and device, computer equipment and storage medium
CN112561929A (en) Splicing screen cutting and zooming method and device, electronic device and storage medium thereof

Legal Events

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