CN112073793A - Image display method and device - Google Patents

Image display method and device Download PDF

Info

Publication number
CN112073793A
CN112073793A CN201910501224.3A CN201910501224A CN112073793A CN 112073793 A CN112073793 A CN 112073793A CN 201910501224 A CN201910501224 A CN 201910501224A CN 112073793 A CN112073793 A CN 112073793A
Authority
CN
China
Prior art keywords
data
display
frame
view frame
view
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
CN201910501224.3A
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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201910501224.3A priority Critical patent/CN112073793A/en
Publication of CN112073793A publication Critical patent/CN112073793A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4852End-user interface for client configuration for modifying audio parameters, e.g. switching between mono and stereo

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention provides an image display method and device, and relates to the field of image display. According to the embodiment of the invention, after the display data is acquired, a proper view frame can be selected, and the display data is displayed in the display window by using the view frame. Therefore, the display window and the display data are decoupled, and the display data with different data numbers and data types can be displayed in the same display window. The image display method comprises the following steps: acquiring first display data; determining a first view frame corresponding to the first display data from a preset frame set according to the number of data pieces and the data type of the data included in the first display data; the preset frame set comprises a plurality of view frames; the view frames are respectively used for displaying the display data corresponding to the number of the data pieces and the data types; in the display window, first presentation data is displayed using a first view frame. The method is applied to image display.

Description

Image display method and device
Technical Field
The present invention relates to the field of image display, and in particular, to an image display method and apparatus.
Background
In the current video output equipment system, the full screen view design gradually becomes the mainstream design because the full screen view design can embody the advantage of a large screen. The full screen view design specifically refers to a design mode of displaying some information to be displayed by using the whole screen as a display area, so that the information can be displayed in more detail and clearly. Especially in the application of a single scene, high similarity of each page and more contents such as a system specification, the full-screen view design not only can show the contents in more detail, but also can facilitate the user to quickly switch to the next scene for the user to browse conveniently.
At present, in order to display a full-screen view, it is common practice to implement the full-screen view through an Activity function or a Fragment function of an android. However, when the display mode is used for full-screen view display, the system resource needs to be occupied, and therefore the switching efficiency is very low. And the display is accompanied by obvious screen flashing phenomenon, which influences the use experience of users.
Disclosure of Invention
The embodiment of the invention provides an image display method and device, which can select a proper view frame after display data are obtained, and display data are displayed in a display window by using the view frame. Therefore, the display window and the display data are decoupled, and the display data with different data numbers and data types can be displayed in the same display window.
In a first aspect, the present invention provides an image display method, comprising: acquiring first display data; determining a first view frame corresponding to the first display data from a preset frame set according to the number of data pieces and the data type of the data included in the first display data; the preset frame set comprises a plurality of view frames; the view frames are respectively used for displaying the display data corresponding to the number of the data pieces and the data types; in the display window, first presentation data is displayed using a first view frame.
In a second aspect, an embodiment of the present invention provides an image display apparatus, including: the acquisition unit is used for acquiring first display data; the determining unit is used for determining a first view frame corresponding to the first display data from a preset frame set according to the number of data and the data type of the data included in the first display data after the obtaining unit obtains the first display data; the preset frame set comprises a plurality of view frames; the view frames are respectively used for displaying the display data corresponding to the number of the data pieces and the data types; and the display unit is used for displaying the first display data by using the first view frame in the display window after the determining unit determines the first view frame.
In a third aspect, an embodiment of the present invention provides another image display apparatus, including: a processor, a memory, a bus, and a communication interface; the memory is used for storing computer-executable instructions, the processor is connected with the memory through a bus, and when the image display device runs, the processor executes the computer-executable instructions stored in the memory so as to enable the image display device to execute the image display method provided by the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium, which includes instructions that, when executed on an image display apparatus, cause the image display apparatus to execute an image display method provided in the first aspect.
According to the image display method and device provided by the embodiment of the invention, after the first display data is acquired, the first view frame for displaying the first display data is determined according to the number of the data pieces and the data type of the first display data, and then the first view frame is called in the display window to display the first display data. Therefore, the decoupling between the display window and the display data is realized, and the display data with different data numbers and data types can be displayed in one display window. The problem that a display window matched with the display data needs to be established every time the display data is displayed is solved. Therefore, the display process of the display data is optimized, and the sensory experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic flowchart of an image display method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of data to be displayed according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a display window according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a view frame according to an embodiment of the present invention;
fig. 5 is a second schematic structural diagram of a display window according to an embodiment of the present invention;
fig. 6 is a second schematic structural view of a view frame according to an embodiment of the present invention;
fig. 7 is a third schematic structural diagram of a display window according to an embodiment of the present invention;
fig. 8 is a third schematic structural view of a view frame according to an embodiment of the present invention;
FIG. 9 is a fourth schematic view illustrating a display window according to an embodiment of the present invention;
FIG. 10 is a fourth illustration of a view frame according to an embodiment of the present invention;
FIG. 11 is a fifth exemplary illustration showing a display window according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an image display device according to an embodiment of the present invention;
fig. 13 is a second schematic structural diagram of an image display device according to an embodiment of the present invention;
fig. 14 is a third schematic structural diagram of an image display device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship.
First, the terms of art referred to in the embodiments of the present invention are described:
android: android, a Linux-based operating system for free and open source code. Mainly used for mobile devices such as smart phones and tablet computers, and led and developed by Google (Google) corporation and the open mobile phone alliance. There is no unified Chinese name, and more people in mainland China use "android" or "Andenos".
Activity: the Android component is also one of the four most commonly used components. An application component provides a screen through which a user can interact in order to accomplish a task. All actions in Activity are closely related to the user, and are a component responsible for interaction with the user, and the specified control can be displayed through setContentView (View). In an android application, an Activity is usually a separate screen on which controls can be displayed and in which the user's events can be monitored and processed in response.
Fragment: the fragment is a UI fragment which can be embedded in the activity, and can enable a program to more reasonably and fully utilize the space of a large screen.
Displaying a window: typically include multiple application components and provide a single screen. In some scenarios, the display window may also be referred to as a container. The container is the area in which the components are housed, and the screen of the electronic device, such as a television, is part of the container. Each time a display is required, a display window needs to be created. And when the current displayed task is completed, closing the display window, and recreating a new display window.
The inventive concept of the present invention is introduced: at present, in the field of manufacturing of devices such as smart televisions, full-screen view design can embody the advantage of a large screen, so that a display interface is more attractive, and therefore the full-screen view design gradually becomes a mainstream design. Especially in application scenes such as electronic specifications of televisions, navigation prompts and the like, which have single scenes, high similarity of each page and more contents, full-screen view switching not only can show the contents in more detail, but also can facilitate users to quickly switch to the next scene for the convenience of previewing.
Currently, in the prior art, for the application scene, a view drawing function of an Android operating system is mostly used for displaying, and specifically, displaying is performed through activity or fragment. And directly switching the activity or fragment during switching, and performing cache control on the page with extremely high similarity through the android list component. In this display method, each time display data is displayed, a display window corresponding to the display data needs to be created. When the display data needs to be switched, the current display window needs to be closed, and the display window corresponding to the display data to be displayed is created again, that is, the activity or fragment is switched. Even if the Android list component is used to display the page with extremely high similarity, the optimization is only performed on the cache control, and the activity or fragment still needs to be switched when the presentation data is switched. This leads to the problem of cyclic arrangement of views at fast switching, which results in a splash screen. Meanwhile, a large amount of data needs to be loaded during switching, so that too many system resources are occupied, and the user experience is influenced.
To avoid the problem of needing to switch activity or fragment when switching presentation data, in another implementation, a full picture design is employed. That is, all the content is presented by way of pictures. And when switching, all pictures are switched in a list form. Although the method avoids the problem of screen flashing when the display data is switched, the method still has the obvious defects that: 1. the definition of the picture has great difference in the display definition and the fluency of high, middle and low end models; 2. different picture designs need to be customized for each model, and the cost of later maintenance and iteration is high; 3. if the picture loading fails, the user cannot see any content information.
Based on the above prior art, the present invention considers: the reason that the activity or fragment needs to be switched when the display data is switched is that the information to be displayed in different display data is different, and some information is characters, some information is pictures, or some information is both characters and pictures, so that the positions of the information displayed in the interface in different display data are different. Therefore, it is necessary to create a corresponding display window (i.e., activity or fragment) to display different presentation data in the interface.
Furthermore, the invention contemplates that, by designing a plurality of view frames in advance that can be used to display different kinds of presentation data, when a certain target presentation data needs to be displayed, a suitable view frame is selected first. And then, the display data is directly displayed by using the view frame in the display window, so that when different display data are required to be displayed, only different view frames are required to be called in the display window, the display window is not required to be created again, and the display efficiency is improved.
The first embodiment is as follows:
based on the above inventive principle, an embodiment of the present invention provides an image display method, as shown in fig. 1, the method specifically includes:
and S101, starting the application program.
Specifically, for example, in the smart television, when the user clicks the "system description" selection, the corresponding application program is started.
S102, reading the data to be displayed in the local storage space, and sending a data request to a server.
And the data request is used for requesting to acquire the updated data to be displayed.
After sending a data request to the server, if the data to be displayed is updated, the server feeds back the updated data to be displayed; and if the data are not updated, displaying the data to be displayed in the local storage space subsequently.
Specifically, in the embodiment of the present invention, when the data to be displayed is acquired after the application program is started, the real-time property of the data to be displayed is ensured by not only reading the data to be displayed in the local storage space, but also sending a data request to the server.
S103, acquiring first display data.
Specifically, the acquiring of the first display data specifically includes: if updated data to be displayed fed back by the server are received after a data request is sent to the server, acquiring first display data from the updated data to be displayed; otherwise, acquiring first display data from the data to be displayed in the local storage space.
Specifically, the updated data to be displayed acquired from the server or the data to be displayed acquired from the local storage space may be data in a JSON format. After the presentation data is obtained, it is parsed into a hierarchical tree structure. For example, as shown in fig. 2, the same layer of display data in the data to be displayed includes a plurality of display data, each display data corresponds to one module, for example, 5 modules including modules 1 to 5 in fig. 2. Each module corresponds to a display data list and also corresponds to information such as a title, a description, a jump address, a type, a background picture and the like of display data. In the display process, the data of the same layer can be quickly switched by a left shortcut key and a right shortcut key; pressing a return key at the current layer to enter the previous layer; pressing a confirmation key at the layer, entering the next layer if the next layer exists, and analyzing the click event configured at the layer if the next layer does not exist (for example, APP:// represents a jump application, Setting:// represents a Setting, and the like).
Illustratively, after clicking on an application, the effect of exposing data at the first layer of exposure is shown in FIG. 3. And after clicking a module in the first layer of display data, acquiring first display data corresponding to the module.
After the first display data is obtained, the method provided by the embodiment of the invention further includes:
s104, determining a first view frame corresponding to the first display data from a preset frame set according to the number of data pieces and the data type of the data included in the first display data.
The preset frame set comprises a plurality of view frames; the view frames are respectively used for displaying the display data corresponding to the number of the data pieces and the data types.
Specifically, the preset frame set specifically includes: the device comprises a first preset frame, a second preset frame, a third preset frame and a fourth preset frame.
Wherein, the first preset frame is used for displaying: presentation data comprising at least one piece of data; wherein, each piece of data in at least one piece of data respectively contains characters and does not contain a background picture.
A second preset frame for displaying: there is only one piece of data, and the data does not contain words, and the data contains the display data of the background picture.
A third preset frame for displaying: there is only one piece of data, and the data includes the display data of characters and background pictures.
A fourth preset frame for displaying: presentation data comprising a plurality of pieces of data; each piece of display data of the plurality of pieces of data respectively comprises a background image.
And S105, displaying the first display data in the display window by using the first view frame.
Illustratively, continuing with the example of first tier exposure data shown in FIG. 3 above:
after the user clicks the "common problem" module in fig. 3, the display data corresponding to the module includes three pieces of data: "the favorite sound effect can be selected by the sound mode option in the setting. "if want to carry on professional setting to the sound, can carry on the regulation of professional parameter such as equalizer, sound balance to the sound through the sound high-grade setting in the setting" and "if not satisfied to the effect after adjusting, can through reset all sound setting options in the setting, restore the sound setting to the default state", in addition, also include the title "want to make the sound effect of the TV more lifelike". Therefore, the above information may be displayed using the first preset frame.
Specifically, as shown in fig. 4, a schematic structural diagram of a first preset frame according to an embodiment of the present invention is provided.
Wherein, in the first predetermined frame, specifically include: the display screen comprises a 'title' frame which is displayed right above the screen, description contents and click contents (specifically comprising 'first description' to 'Nth description' in the figure, and 'click contents' corresponding to each description) of a plurality of pieces of data which are sequentially arranged from top to bottom below the 'title' frame, and a prompt bar which is close to the lowest part of the screen.
Furthermore, after the display data corresponding to the "common problem" module is displayed in the first preset frame, the display effect is as shown in fig. 5.
In another example, when the user clicks the "advertisement-free view latest episode" module in fig. 3, the presentation data corresponding to the module only includes one piece of data, and the data does not include text and only includes a background picture. Therefore, the above information may be displayed using the second preset frame.
Specifically, as shown in fig. 6, a schematic structural diagram of a second preset frame according to an embodiment of the present invention is provided.
Wherein, in the second presets the frame, specifically include: and the area is used for displaying the background picture in the whole screen range, the area for displaying the title of the previous presentation data at the upper left part and the area for displaying the title of the next presentation data at the upper right part.
Furthermore, the display effect of the display data corresponding to the "advertisement-free watching the latest episode" module after being displayed in the second preset frame is shown in fig. 7.
In another example, when the user clicks the module "identify who star in tv" in fig. 3, the presentation data corresponding to the module includes only one piece of data, and the data includes text and a background map. Therefore, the above information may be displayed using the third preset frame.
Specifically, as shown in fig. 8, a schematic structural diagram of a third preset frame according to an embodiment of the present invention is provided.
Wherein, in the third preset frame, specifically include: the display device comprises an area for displaying a background picture in the whole screen range, an area for displaying the title of the previous display data at the upper left, an area for displaying the title of the next display data at the upper right, and a title, a description content and a click content which are sequentially arranged at the left side of the screen from top to bottom.
Furthermore, the display effect of the display data corresponding to the module "who is a star in the television is identified" displayed in the third preset frame is shown in fig. 9.
In another example, when the user clicks the "watch tv program" module in fig. 3, the presentation data corresponding to the module includes a plurality of pieces of data, and each piece of data includes a background map. Therefore, the above information may be displayed using the fourth preset frame.
Specifically, as shown in fig. 10, a schematic structural diagram of a fourth preset frame according to an embodiment of the present invention is provided.
Wherein, in the fourth preset frame, specifically include: the display screen comprises an area for displaying the title of the previous display data at the upper left, an area for displaying the title of the next display data at the upper right, a vertical picture list at the right side of the screen, a current title, current description content and click content which are sequentially arranged at the left side of the screen from top to bottom, and the leftmost side of the screen further comprises a position mark for displaying the content of the currently displayed data in the display data.
And displaying the display data corresponding to the module for watching the network television program in a third preset frame, as shown in fig. 11.
In the embodiment of the present invention, it is considered that when the next display data is displayed after the first display data is displayed, if the view frame used by the next display data is the same as the view frame used for displaying the first display data, the current display window may not be closed, and the view frame used for displaying the first display data may be directly used for displaying the next display data. At this time, it is only necessary to release the resource occupied by the first presentation data and load the next presentation data to the corresponding position in the view frame. Furthermore, in the embodiment of the present invention, after executing step S105, the method further includes:
and S106, acquiring second display data.
Specifically, in an implementation manner, the obtaining of the second display data specifically includes: receiving an operation instruction of a user; and determining second display data according to the operation instruction.
The operation instruction may be specifically an instruction for a user to click a shortcut key. For example, the user clicks a left and right direction key on an interface displaying the first display data, thereby realizing switching between the display data of the same layer in the data to be displayed of the hierarchical tree structure.
Specifically, the second display data may be obtained by parameter of the corresponding content in step S103, and repeated details are not repeated.
S107, according to the number of data pieces and the data type of the data included in the second display data, a second view frame corresponding to the second display data is determined from a preset frame set.
Specifically, the determining manner of the second view frame may be defined as corresponding content of the step S104, and repeated details are not repeated.
And S108, comparing the second view frame with the first view frame.
Specifically, in an implementation manner, comparing the second view frame with the first view frame specifically includes: the MASK values of the second view frame and the first view frame are compared.
If the MASK MASK values of the second view frame and the first view frame are consistent, determining that the second view frame is the same as the first view frame; otherwise, the second view frame is determined to be different from the first view frame.
S109, if the second view frame is the same as the first view frame, releasing the resources occupied by the first display data, and loading the second display data to the corresponding position in the first view frame used by the display window.
Specifically, after the resources occupied by the first display data are released, the data such as pictures, titles, contents, events and the like included in the second display data are loaded to the corresponding positions of the display window respectively.
In an implementation manner, in consideration that if the second view frame is different from the first view frame, the view frame needs to be reloaded, and in the embodiment of the present invention, the replaced view frame is stored in the cache, so that the view frame can be quickly loaded when used again later. And when the view frame needs to be loaded, the corresponding view frame is preferentially searched from the cache, so that the loading speed of the view frame is increased, and the use experience is improved. Furthermore, the method provided by the embodiment of the present invention further includes:
s110, if the second view frame is different from the first view frame, releasing resources occupied by the first view frame, and storing the first view frame in a cache.
Specifically, in an implementation manner, the Mask value of the first view frame may be used as a key, and the view frame may be used as a value, and the first view frame may be stored in the cache.
S111, inquiring a second view frame in the cache; and if the second view frame exists in the cache, reading the second view frame from the cache, and displaying second display data in the display window by using the second view frame.
Specifically, after the second view frame is read from the buffer and loaded, data such as pictures, titles, contents, events and the like in the second display data are loaded to corresponding positions of the display window respectively.
And S112, if the cache does not have the second view frame, initializing the second view frame, and displaying second display data in the display window by using the second view frame.
According to the image display method provided by the embodiment of the invention, after the first display data is acquired, the first view frame for displaying the first display data is determined according to the number of the data pieces and the data type of the first display data, and then the first view frame is called in the display window to display the first display data. Therefore, the decoupling between the display window and the display data is realized, and the display data with different data numbers and data types can be displayed in one display window. The problem that a display window matched with the display data needs to be established every time the display data is displayed is solved. Therefore, the display process of the display data is optimized, and the sensory experience of the user is improved.
Example two:
an embodiment of the present invention provides an image display apparatus, configured to perform the image display method provided in the first embodiment. Fig. 12 is a schematic diagram of a possible structure of an image display device according to an embodiment of the present invention. Specifically, the image display device 20 includes: an acquisition unit 201, a determination unit 202, and a display unit 203. Wherein:
an obtaining unit 201 is configured to obtain first display data.
A determining unit 202, configured to determine, after the obtaining unit 201 obtains the first display data, a first view frame corresponding to the first display data from a preset frame set according to the number of data pieces and the data type of the data included in the first display data; the preset frame set comprises a plurality of view frames; the view frames are respectively used for displaying the display data corresponding to the number of the data pieces and the data types.
A display unit 203, configured to display the first presentation data in the display window by using the first view frame after the determining unit 202 determines the first view frame.
Optionally, the image display device further comprises a comparison unit 204.
The obtaining unit 201 is further configured to obtain second presentation data after the displaying unit 203 displays the first presentation data in the display window using the first view frame.
The determining unit 202 is further configured to determine, after the obtaining unit 201 obtains the second display data, a second view frame corresponding to the second display data from the preset frame set according to the number of data pieces and the data type of the data included in the second display data.
A comparing unit 204 for comparing the second view frame with the first view frame.
The display unit 203 is further configured to, after the comparison unit compares the second view frame with the first view frame, if the second view frame is the same as the first view frame, release the resource occupied by the first display data, and load the second display data to a corresponding position in the first view frame used by the display window.
Optionally, the image display device further includes: the cache read-write unit 205.
A cache read-write unit 205, configured to, after the comparison unit 204 compares the second view frame with the first view frame, if the second view frame is different from the first view frame, release the resource occupied by the first view frame, and store the first view frame in the cache.
The cache read-write unit 205 is further configured to query the cache for the second view frame after the comparison unit 204 compares the second view frame with the first view frame.
The display unit 203 is further configured to, after the cache reading and writing unit 205 queries the second view frame in the cache, if the second view frame exists in the cache, read the second view frame from the cache, and display the second display data in the display window by using the second view frame.
Optionally, the preset frame set specifically includes: the device comprises a first preset frame, a second preset frame, a third preset frame and a fourth preset frame.
Wherein, the first preset frame is used for displaying: presentation data comprising at least one piece of data; wherein, each piece of data in at least one piece of data respectively contains characters and does not contain a background picture.
A second preset frame for displaying: there is only one piece of data, and the data does not contain words, and the data contains the display data of the background picture.
A third preset frame for displaying: there is only one piece of data, and the data includes the display data of characters and background pictures.
A fourth preset frame for displaying: presentation data comprising a plurality of pieces of data; each piece of display data of the plurality of pieces of data respectively comprises a background image.
Optionally, the image display device further includes: a reading unit 206 and a transmitting unit 207.
The reading unit 206 is configured to read the data to be displayed in the local storage space before the obtaining unit 201 obtains the first display data.
A sending unit 207, configured to send a data request to the server before the obtaining unit 201 obtains the first display data; the data request is used for requesting to acquire the updated data to be displayed.
The obtaining unit 201 is specifically configured to obtain first display data from updated data to be displayed if the updated data to be displayed fed back by the server is received after the data request is sent to the server; otherwise, acquiring first display data from the data to be displayed in the local storage space.
The functions and effects of the modules in the image display apparatus provided in the embodiments of the present invention may refer to the corresponding descriptions in one image display method in the above embodiments, and are not described herein again.
It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of using an integrated unit, fig. 13 shows a schematic view of a possible configuration of the image display apparatus according to the above-described embodiment. The image display device 30 includes: a processing module 301, a communication module 302 and a storage module 303. The processing module 301 is used for controlling and managing the actions of the image display apparatus 30, for example, the processing module 301 is used for supporting the image display apparatus 30 to execute the processes S101 to S111 in fig. 1. The communication module 302 is used to support communication between the image display apparatus 30 and other entities. The storage module 303 is used to store program codes and data of the image display apparatus.
The processing module 301 may be a processor or a controller, such as a Central Processing Unit (CPU), a general-purpose processor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. The communication module 302 may be a transceiver, a transceiving circuit or a communication interface, etc. The storage module 303 may be a memory.
When the processing module 301 is a processor as shown in fig. 14, the communication module 302 is a transceiver as shown in fig. 14, and the storage module 303 is a memory as shown in fig. 14, the image display device according to the embodiment of the present invention may be the image display device 40 as follows.
Referring to fig. 14, the image display device 40 includes: a processor 401, a transceiver 402, a memory 403, and a bus 404.
The processor 401, the transceiver 402 and the memory 403 are connected to each other through a bus 404; the bus 404 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
Processor 401 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an Application-Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to control the execution of programs in accordance with the present invention.
The Memory 403 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
Wherein the memory 403 is used for storing application program codes for executing the scheme of the present invention, and the execution is controlled by the processor 401. The transceiver 402 is configured to receive content input from an external device, and the processor 401 is configured to execute application program codes stored in the memory 403, thereby implementing an image display method provided in an embodiment of the present invention.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the invention are all or partially effected when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or can comprise one or more data storage devices, such as a server, a data center, etc., that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An image display method, comprising:
acquiring first display data;
determining a first view frame corresponding to the first display data from a preset frame set according to the number of data and the data type of the data included in the first display data; wherein the preset frame set comprises a plurality of view frames; the plurality of view frames are respectively used for displaying the display data corresponding to the number of the data and the data types;
displaying, in a display window, the first presentation data using the first view frame.
2. The image display method according to claim 1, wherein after the first data to be presented is loaded in the display window using the first view frame, the method further comprises:
acquiring second display data;
determining a second view frame corresponding to the second display data from the preset frame set according to the number of data pieces and the data type of the data included in the second display data;
comparing the second view frame with the first view frame;
and if the second view frame is the same as the first view frame, releasing the resources occupied by the first display data, and loading the second display data to the corresponding position in the first view frame used by the display window.
3. The image display method according to claim 2, characterized in that the method further comprises:
if the second view frame is different from the first view frame, releasing the resources occupied by the first view frame, and storing the first view frame in a cache;
if the second view frame is different from the first view frame, the method further comprises:
querying the cache for the second view frame;
and if the second view frame exists in the cache, reading the second view frame from the cache, and displaying the second display data in the display window by using the second view frame.
4. The image display method according to any one of claims 1 to 3, wherein the preset frame set specifically includes: the device comprises a first preset frame, a second preset frame, a third preset frame and a fourth preset frame;
wherein, the first preset frame is used for displaying: presentation data comprising at least one piece of data; wherein each piece of data in the at least one piece of data respectively contains characters and does not contain a background image;
a second preset frame for displaying: there is only one piece of data, and the data does not contain characters, and the data contains the display data of the background picture;
a third preset frame for displaying: there is only one piece of data, and the data contains the display data of the characters and the background picture;
the fourth preset frame is used for displaying: presentation data comprising a plurality of pieces of data; each piece of data in the display data of the plurality of pieces of data respectively comprises a background picture.
5. The image display method according to any one of claims 1 to 3, wherein before the acquiring the first presentation data, the method further comprises: reading data to be displayed in a local storage space;
the method further comprises the following steps: sending a data request to a server; the data request is used for requesting to acquire updated data to be displayed;
the acquiring of the first display data specifically includes: if the updated data to be displayed fed back by the server is received after the data request is sent to the server, acquiring the first display data from the updated data to be displayed; otherwise, the first display data is obtained from the data to be displayed in the local storage space.
6. An image display apparatus, comprising:
the acquisition unit is used for acquiring first display data;
a determining unit, configured to determine, after the obtaining unit obtains the first display data, a first view frame corresponding to the first display data from a preset frame set according to the number of data pieces and the data type of data included in the first display data; wherein the preset frame set comprises a plurality of view frames; the plurality of view frames are respectively used for displaying the display data corresponding to the number of the data and the data types;
a display unit, configured to display the first presentation data using the first view frame in a display window after the determining unit determines the first view frame.
7. The image display device according to claim 6, further comprising a contrast unit;
the obtaining unit is further configured to obtain second display data after the display unit displays the first display data in a display window by using the first view frame;
the determining unit is further configured to determine, after the obtaining unit obtains the second display data, a second view frame corresponding to the second display data from the preset frame set according to the number of pieces of data and the data type of the data included in the second display data;
the comparison unit is used for comparing the second view frame with the first view frame;
the display unit is further configured to, after the comparison unit compares the second view frame with the first view frame, if the second view frame is the same as the first view frame, release resources occupied by the first presentation data, and load the second presentation data to a corresponding position in the first view frame used by the display window.
8. The image display device according to claim 7, further comprising: a cache read-write unit;
the cache reading-writing unit is configured to, after the comparison unit compares the second view frame with the first view frame, if the second view frame is different from the first view frame, release resources occupied by the first view frame, and store the first view frame in a cache;
the cache reading-writing unit is further configured to query the second view frame in the cache after the comparison unit compares the second view frame with the first view frame;
the display unit is further configured to, after the cache reading and writing unit queries the second view frame in the cache, if the second view frame exists in the cache, read the second view frame from the cache, and display the second display data in the display window by using the second view frame.
9. The image display device according to any one of claims 6 to 8, wherein the preset frame set specifically comprises: the device comprises a first preset frame, a second preset frame, a third preset frame and a fourth preset frame;
wherein, the first preset frame is used for displaying: presentation data comprising at least one piece of data; wherein each piece of data in the at least one piece of data respectively contains characters and does not contain a background image;
a second preset frame for displaying: there is only one piece of data, and the data does not contain characters, and the data contains the display data of the background picture;
a third preset frame for displaying: there is only one piece of data, and the data contains the display data of the characters and the background picture;
the fourth preset frame is used for displaying: presentation data comprising a plurality of pieces of data; each piece of data in the display data of the plurality of pieces of data respectively comprises a background picture.
10. The image display device according to any one of claims 6 to 8, further comprising: a reading unit and a sending unit;
the reading unit is used for reading the data to be displayed in the local storage space before the acquisition unit acquires the first display data;
the sending unit is used for sending a data request to a server before the acquiring unit acquires the first display data; the data request is used for requesting to acquire updated data to be displayed;
the obtaining unit is specifically configured to obtain the first display data from the updated data to be displayed if the updated data to be displayed fed back by the server is received after the data request is sent to the server; otherwise, the first display data is obtained from the data to be displayed in the local storage space.
CN201910501224.3A 2019-06-11 2019-06-11 Image display method and device Pending CN112073793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910501224.3A CN112073793A (en) 2019-06-11 2019-06-11 Image display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910501224.3A CN112073793A (en) 2019-06-11 2019-06-11 Image display method and device

Publications (1)

Publication Number Publication Date
CN112073793A true CN112073793A (en) 2020-12-11

Family

ID=73658469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910501224.3A Pending CN112073793A (en) 2019-06-11 2019-06-11 Image display method and device

Country Status (1)

Country Link
CN (1) CN112073793A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043630A (en) * 2010-12-30 2011-05-04 国网电力科学研究院 Method and system for generating multi-page in framework
US20160189028A1 (en) * 2014-12-31 2016-06-30 Verizon Patent And Licensing Inc. Systems and Methods of Using a Knowledge Graph to Provide a Media Content Recommendation
CN107908336A (en) * 2017-11-13 2018-04-13 平安科技(深圳)有限公司 Method for refreshing, device, storage medium and the terminal of list control
CN108304234A (en) * 2017-01-11 2018-07-20 阿里巴巴集团控股有限公司 A kind of page display method and device
CN108897538A (en) * 2018-06-08 2018-11-27 泰康保险集团股份有限公司 Page view display methods and device, storage medium and electric terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043630A (en) * 2010-12-30 2011-05-04 国网电力科学研究院 Method and system for generating multi-page in framework
US20160189028A1 (en) * 2014-12-31 2016-06-30 Verizon Patent And Licensing Inc. Systems and Methods of Using a Knowledge Graph to Provide a Media Content Recommendation
CN108304234A (en) * 2017-01-11 2018-07-20 阿里巴巴集团控股有限公司 A kind of page display method and device
CN107908336A (en) * 2017-11-13 2018-04-13 平安科技(深圳)有限公司 Method for refreshing, device, storage medium and the terminal of list control
CN108897538A (en) * 2018-06-08 2018-11-27 泰康保险集团股份有限公司 Page view display methods and device, storage medium and electric terminal

Similar Documents

Publication Publication Date Title
US9871888B2 (en) Adaptive function-based dynamic application extension framework
CN106775836B (en) Interface display method and interface display device
KR102488975B1 (en) Content viewing device and Method for displaying content viewing options thereon
US10135940B2 (en) Subscribing to event notifications using object instances
US20170139824A1 (en) Memory management and image display for mobile devices
CN108228293B (en) Interface skin switching method and device
KR20150071252A (en) Method and apparatus for controlling a composition of a picture in electronic device
CN108848244B (en) Page display method and device
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
CN111580917A (en) Information display method and device, electronic equipment and storage medium
CN103425483B (en) Method and storage medium for dynamically customized menus
CN109361948B (en) Interface management method, intelligent terminal and readable storage medium
KR102552286B1 (en) Image display apparatus, and method for operating the same
JP2007310596A (en) Service providing device, computer program and recording medium
US11632585B2 (en) Systems and methods for streaming media menu templates
CN112016023A (en) Service processing method, device, terminal and storage medium
CN111144980A (en) Commodity identification method and device
US9921728B2 (en) Service providing device, and method of providing a user interface
CN112073793A (en) Image display method and device
CN111045749B (en) Application program starting method and device
CN114217715A (en) Rich media playing page control method and device, electronic equipment and storage medium
CN112988810A (en) Information searching method, device and equipment
CN112911359A (en) Resource display method, display equipment and remote controller
US9904739B2 (en) Service provider system and service provider method
US11748120B1 (en) Server-based user interface rendering

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