Image display method and device

The preset view frame selects an appropriate frame according to the data type to display the data in the display window, which solves the problems of low switching efficiency and flickering screen in the full-screen view design in the existing technology, and improves the user experience and the smoothness of data display.

CN112073793BActive Publication Date: 2024-09-06HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910501224.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-11
Publication Date
2024-09-06
Estimated Expiration
2039-06-11

AI Technical Summary

Technical Problem

The existing full-screen view design requires frequent switching of activities or fragments in audio and video output devices, resulting in high system resource usage and frequent screen flickering, which affects the user experience. In addition, the picture design has problems such as clarity differences and high maintenance costs.

Method used

By presetting multiple view frames, select the appropriate view frame according to the number and type of data displayed, and directly use the frame to display data in the display window, avoiding the need to re-create the display window every time you switch, improving switching efficiency and optimizing users experience.

Benefits of technology

It realizes the display of different numbers and types of data in the same display window, reduces system resource usage, avoids screen flickering, and improves user experience and data display fluency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112073793B
    Figure CN112073793B
Patent Text Reader

Abstract

The embodiment of the present invention provides an image display method and device, which relates to the field of image display. The embodiment of the present invention can select a suitable view frame after obtaining display data, and use the view frame to display the display data in a display window. Thereby, the display window and the display data are decoupled, and display data with different numbers of data items and data types can be displayed in the same display window. The image display method includes: obtaining first display data; according to the number of data items and data types of data included in the first display data, determining a first view frame corresponding to the first display data from a preset frame set; wherein the preset frame set includes multiple view frames; the multiple view frames are respectively used to display display data with corresponding numbers of data items and data types; in the display window, the first display data is displayed using the first view frame. Applied to image display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image display, and in particular to an image display method and device. Background Art

[0002] In the current audio and video output device system, the full-screen view design has gradually become the mainstream design because it can reflect the advantages of large screens. The full-screen view design specifically refers to a design method that uses the entire screen as the display area to display certain information that needs to be displayed, so that the information can be displayed in more detail and clearly. Especially in applications such as system manuals where the scene is relatively simple, each page has a high degree of similarity, and there is a lot of content, the full-screen view design can not only display the content in more detail, but also make it convenient for users to quickly switch to the next scene for easy browsing.

[0003] At present, in order to display a full-screen view, the common method is to use the Activity function or Fragment function of Android. However, this display method takes up a large amount of system resources when displaying a full-screen view, so the switching efficiency is very low. In addition, this display is accompanied by obvious screen flickering, which affects the user experience. Summary of the invention

[0004] The embodiment of the present invention provides an image display method and device, which can select a suitable view frame after obtaining display data, and use the view frame to display the display data in a display window. Thus, the display window and the display data are decoupled, and display data with different numbers of data items and data types can be displayed in the same display window.

[0005] 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 items and data type of data included in the first display data; wherein the preset frame set includes a plurality of view frames; the plurality of view frames are respectively used to display display data of corresponding numbers of data items and data types; and displaying the first display data in a display window using the first view frame.

[0006] In a second aspect, an embodiment of the present invention provides an image display device, comprising: an acquisition unit, configured to acquire first display data; a determination unit, configured to determine, after the acquisition unit acquires 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 items and the data type of data included in the first display data; wherein the preset frame set includes a plurality of view frames; the plurality of view frames are respectively used to display display data of corresponding numbers of data items and data types; and a display unit, configured to display the first display data in a display window using the first view frame after the determination unit determines the first view frame.

[0007] In a third aspect, an embodiment of the present invention provides another image display device, comprising: a processor, a memory, a bus and a communication interface; the memory is used to store computer execution instructions, the processor and the memory are connected through a bus, and when the image display device is running, the processor executes the computer execution instructions stored in the above-mentioned memory, so that the image display device executes the image display method provided in the above-mentioned first aspect.

[0008] In a fourth aspect, an embodiment of the present invention provides a computer storage medium, comprising instructions, which, when executed on an image display device, enables the image display device to execute an image display method provided in the first aspect.

[0009] The image display method and device provided by the embodiment of the present invention, after obtaining the first display data, first determine the first view frame for displaying the first display data according to the number of data items and data type of the first display data, and then call the first view frame in the display window to display the first display data. Thus, the decoupling between the display window and the display data is achieved, and display data with different numbers of data items and data types can be displayed in one display window. The problem of needing to establish a display window matching the display data each time the display data is displayed is avoided. Thus, the display process of the display data is optimized and the user's sensory experience is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0011] Figure 1 A schematic diagram of a flow chart of an image display method provided by an embodiment of the present invention;

[0012] Figure 2 A schematic diagram of a structure of data to be displayed provided by an embodiment of the present invention;

[0013] Figure 3 One of the structural schematic diagrams of a display window provided by an embodiment of the present invention;

[0014] Figure 4 One of the structural schematic diagrams of a view framework provided by an embodiment of the present invention;

[0015] Figure 5 A second structural diagram of a display window provided by an embodiment of the present invention;

[0016] Figure 6 A second structural diagram of a view framework provided by an embodiment of the present invention;

[0017] Figure 7 A third structural diagram of a display window provided by an embodiment of the present invention;

[0018] Figure 8 A third structural diagram of a view framework provided by an embodiment of the present invention;

[0019] Fig. 9 A fourth structural diagram of a display window provided by an embodiment of the present invention;

[0020] Fig.10 A fourth structural diagram of a view framework provided by an embodiment of the present invention;

[0021] Fig.11 A fifth structural diagram of a display window provided by an embodiment of the present invention;

[0022] Fig.12 One of the structural schematic diagrams of an image display device provided by an embodiment of the present invention;

[0023] Fig.13 A second structural schematic diagram of an image display device provided by an embodiment of the present invention;

[0024] Fig.14 The third structural schematic diagram of an image display device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms of "a", "a", "an" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items. The character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship.

[0027] First, the professional terms involved in the embodiments of the present invention are introduced:

[0028] Android: Android is a free and open source operating system based on Linux. It is mainly used in mobile devices such as smartphones and tablets, and is led and developed by Google and the Open Handset Alliance.

[0029] Activity: One of the four most basic and commonly used components in Android. An application component that provides a screen that users can interact with to complete a task. All operations in Activity are closely related to the user. It is a component responsible for interacting with the user and can display specified controls through setContentView(View). In an Android application, an Activity is usually a separate screen that can display some controls and listen to and process user events to respond.

[0030] Fragment: A fragment is a UI fragment that can be embedded in an activity. It allows the program to make more reasonable and full use of the space of the large screen.

[0031] Display window: usually includes multiple application components and provides a separate screen. In some scenarios, the display window can also be called a container. The so-called container is an area that holds components, and the screen of an electronic device such as a TV is part of the container. Every time a picture needs to be displayed, a display window needs to be created. When the current display task is completed, the display window is closed and a new display window is created.

[0032] The inventive concept of the present invention is introduced: Currently in the field of smart TV and other equipment manufacturing, the full-screen view design has gradually become the mainstream design because it can reflect the advantages of large screens and make the display interface more beautiful. Especially in the application scenarios such as the electronic manual of the TV and the navigation prompts, which have a single scene, high similarity of each page and a large amount of content, the full-screen view switching can not only display the content in more detail, but also facilitate users to quickly switch to the next scene for preview.

[0033] At present, in the prior art, for the above-mentioned application scenario, most of them use the view drawing function of the Android operating system to display, specifically through activity or fragment. When switching, the activity or fragment is directly switched, and the cache control is performed through the Android list component for pages with extremely high similarity. In this display method, a display window corresponding to the display data needs to be created each time the display data is displayed. When it is necessary to switch the display data, it is necessary to close the current display window and recreate the display window corresponding to the display data to be displayed, that is, switch the activity or fragment. Even if the Android list component is used to display pages with extremely high similarity, it is only an optimization in cache control. When switching the display data, it is still necessary to switch the activity or fragment. This leads to the problem of view loop setting when switching quickly, resulting in a flash screen phenomenon. At the same time, since a large amount of data needs to be loaded when switching, it will also occupy too many system resources, affecting the user experience.

[0034] In order to avoid the problem of switching activities or fragments when switching display data, another implementation method adopts a full picture design. That is, all content is displayed in the form of pictures. When switching, all pictures are switched in the form of a list. Although this method avoids the problem of screen flashing when switching display data, it still has obvious disadvantages: 1. The clarity and smoothness of the picture vary greatly between high-end, medium-end and low-end models; 2. Different picture designs need to be customized for each model, and the cost of subsequent maintenance and iteration is high; 3. If the picture fails to load, the user cannot see any content information.

[0035] Based on the above prior art, the present invention considers that the reason why the activity or fragment needs to be switched when switching display data is that the information to be displayed in different display data is different, some are text, some are pictures, and some are both text and pictures, so the information in different display data is displayed in different positions in the interface. Therefore, it is necessary to create a corresponding display window (i.e., activity or fragment) to display different display data in the interface.

[0036] Furthermore, the present invention conceives that multiple view frames that can be used to display different types of display data can be pre-designed. When a certain target display data needs to be displayed, a suitable view frame is first selected. Then, in the display window, the view frame is directly used to display the display data. Therefore, when different display data needs to be displayed, only different view frames need to be called in the display window without re-creating the display window, thereby improving display efficiency.

[0037] Embodiment 1:

[0038] Based on the above invention principle, an embodiment of the present invention provides an image display method, such as Figure 1 As shown, the method specifically includes:

[0039] S101. Start the application.

[0040] Specifically, for example, in a smart TV, when a user clicks on the "System Manual" option, a corresponding application is started.

[0041] S102: Read the data to be displayed in the local storage space, and send a data request to the server.

[0042] The data request is used to request updated data to be displayed.

[0043] After sending a data request to the server, if the data to be displayed is updated, the server will feed back the updated data to be displayed; if there is no update, the data to be displayed in the local storage space will be used for display later.

[0044] Specifically, in the embodiment of the present invention, when acquiring the data to be displayed after starting the application, the real-time performance of the data to be displayed is ensured by reading the data to be displayed in the local storage space and sending a data request to the server at the same time.

[0045] S103: Obtain first display data.

[0046] Specifically, obtaining the first display data specifically includes: if updated data to be displayed fed back by the server is received after sending a data request to the server, obtaining the first display data from the updated data to be displayed; otherwise, obtaining the first display data from the data to be displayed in the local storage space.

[0047] Specifically, the updated data to be displayed obtained from the server or the data to be displayed obtained from the local storage space can be data in JSON format. After obtaining the display data, it is parsed into a hierarchical tree structure. For example, Figure 2 As shown, the same layer of display data in the data to be displayed includes multiple display data, each display data corresponds to a module, such as Figure 2 It includes 5 modules, Module 1-5. Each module has a list of displayed data, as well as information such as "title", "description", "jump address", "type", and "background image" of the displayed data. During the display process, you can quickly switch between the data in the same layer using the left and right shortcut keys; press the return key on this layer to enter the previous layer; press the confirmation key on this layer, if there is a next layer, enter the next layer; if there is no next layer, parse the click event configured on this layer (for example, APP: / / represents jumping to the application, Setting: / / represents setting, etc.).

[0048] For example, after clicking on the application, the first layer of displayed data is displayed as follows: Figure 3 After clicking a module in the first layer of display data, the first display data corresponding to the module is obtained.

[0049] After acquiring the first display data, the method provided by the embodiment of the present invention further includes:

[0050] S104: Determine a first view frame corresponding to the first display data from a preset frame set according to the number of data items and data types included in the first display data.

[0051] Among them, the preset frame set includes multiple view frames; the multiple view frames are used to display the display data of the corresponding number of data items and data types respectively.

[0052] Specifically, the preset frame set specifically includes: a first preset frame, a second preset frame, a third preset frame, and a fourth preset frame.

[0053] The first preset frame is used to display: display data including at least one piece of data; wherein each piece of data in the at least one piece of data contains text and does not contain a background image.

[0054] The second preset frame is used to display: there is only one piece of data, and the data does not contain text, and the data contains display data of a background image.

[0055] The third preset frame is used to display: there is only one piece of data, and the data contains display data of text and background image.

[0056] The fourth preset frame is used to display: display data including multiple pieces of data; wherein each piece of the display data of the multiple pieces of data includes a background image.

[0057] S105: In the display window, use the first viewing frame to display the first presentation data.

[0058] For example, continue with the above Figure 3 An example of the first level of presentation data is shown:

[0059] When the user clicks Figure 3 After the "FAQ" module in the settings, the corresponding display data of the module includes three pieces of data: "You can select your favorite sound effect through the sound mode option in the settings.", "If you want to set the sound professionally, you can adjust the sound parameters such as equalizer and sound balance through the advanced sound settings in the settings" and "If you are not satisfied with the effect after adjustment, you can restore the sound settings to the default state through the reset all sound settings option in the settings", and also includes the title "I want to make the TV sound effect more realistic". Therefore, the first preset frame can be used to display the above information.

[0060] Specifically, Figure 4 The figure is a schematic diagram of the structure of a first preset framework provided by an embodiment of the present invention.

[0061] Among them, the first preset frame specifically includes: a "title" frame displayed directly above the screen, and description contents and click contents of multiple data arranged from top to bottom under the "title" frame (specifically including the "first description" to the "Nth description" in the figure, and the "click content" corresponding to each description), as well as a prompt bar near the bottom of the screen.

[0062] Then, after displaying the display data corresponding to the above-mentioned "FAQ" module in the first preset frame, the display effect is as follows: Figure 5 shown.

[0063] In another example, when the user clicks Figure 3 After the "Watch the latest episodes without ads" module is selected, the display data corresponding to the module only includes one piece of data, and the data does not contain text but only a background image. Therefore, the second preset frame can be used to display the above information.

[0064] Specifically, Figure 6 , which is a schematic diagram of the structure of a second preset framework provided in an embodiment of the present invention.

[0065] The second preset frame specifically includes: an area for displaying the background image in the entire screen range, an area for displaying the title of the previous display data in the upper left corner, and an area for displaying the title of the next display data in the upper right corner.

[0066] Then, the display data corresponding to the above-mentioned "Watch the latest episodes without ads" module is displayed in the second preset frame. The display effect is as follows: Figure 7 shown.

[0067] In another example, when the user clicks Figure 3After the "identify who is the star on TV" module in the display data corresponding to the module includes only one piece of data, and the data includes text and background image. Therefore, the third preset frame can be used to display the above information.

[0068] Specifically, Figure 8 , which is a schematic structural diagram of a third preset framework provided in an embodiment of the present invention.

[0069] Among them, the third preset frame specifically includes: an area for displaying the background image in the entire screen area, an area for displaying the title of the previous display data in the upper left corner, an area for displaying the title of the next display data in the upper right corner, and "Title", "Description Content" and "Click Content" arranged from top to bottom on the left side of the screen.

[0070] Then, the display effect after displaying the display data corresponding to the above-mentioned "identify who is the star on TV" module in the third preset frame is as follows: Fig. 9 shown.

[0071] In another example, when the user clicks Figure 3 After the "watch online TV programs" module in the display data corresponding to the module includes multiple data, and each data includes a background image. Therefore, the fourth preset framework can be used to display the above information.

[0072] Specifically, Fig.10 , which is a schematic diagram of the structure of a fourth preset framework provided in an embodiment of the present invention.

[0073] Among them, the fourth preset frame specifically includes: an area for displaying the title of the previous display data in the upper left corner, an area for displaying the title of the next display data in the upper right corner, a vertical picture list on the right side of the screen, and "current title", "current description content" and "click content" arranged from top to bottom on the left side of the screen. The leftmost side of the screen also includes a "position identifier" for displaying the content of the currently displayed data in the display data.

[0074] Then, the display effect after displaying the display data corresponding to the above-mentioned "watch online TV programs" module in the third preset frame is as follows: Fig.11 shown.

[0075] In the embodiment of the present invention, after displaying the first display data, when displaying the next display data, if the view frame used by the next display data is the same as the view frame used to display the first display data, not only the current display window may not be closed, but the view frame used to display the first display data may also be used to display the next display data. In this case, it is only necessary to release the resources occupied by the first display data and load the next display data to the corresponding position in the view frame. Furthermore, in the embodiment of the present invention, after executing step S105, it also includes:

[0076] S106: Obtain second display data.

[0077] Specifically, in one implementation, obtaining the second display data specifically includes: accepting an operation instruction from a user; and determining the second display data according to the operation instruction.

[0078] The operation instruction may specifically be an instruction for the user to click a shortcut key. For example, the user clicks the left and right arrow keys on the interface displaying the first display data, thereby switching between display data of the same layer in the hierarchical tree structure of the data to be displayed.

[0079] Specifically, the method for obtaining the second display data may be based on the corresponding content of the above step S103, and the repeated parts will not be repeated.

[0080] S107: Determine a second view frame corresponding to the second display data from a preset frame set according to the number of data items and data types included in the second display data.

[0081] Specifically, the method for determining the second viewing frame may be based on the corresponding content of the above step S104, and the repeated parts will not be repeated.

[0082] S108: Compare the second view frame with the first view frame.

[0083] Specifically, in one implementation, comparing the second view frame with the first view frame specifically includes: comparing the mask MASK values ​​of the second view frame with those of the first view frame.

[0084] If the mask MASK values ​​of the second view frame and the first view frame are consistent, it is determined that the second view frame is the same as the first view frame; otherwise, it is determined that the second view frame is different from the first view frame.

[0085] S109: If the second view frame is the same as the first view frame, release the resources 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.

[0086] Specifically, after the resources occupied by the first display data are released, the data such as pictures, titles, contents, events, etc. included in the second display data are loaded into corresponding positions of the display window respectively.

[0087] In one implementation, if the second view frame is different from the first view frame, the view frame needs to be reloaded, and the embodiment of the present invention stores the replaced view frame in the cache so that it can be quickly loaded when it is used again. And when the view frame needs to be loaded, the corresponding view frame is searched from the cache first to increase the loading speed of the view frame and improve the user experience. Furthermore, the method provided by the embodiment of the present invention also includes:

[0088] S110: If the second view frame is different from the first view frame, release the resources occupied by the first view frame, and store the first view frame in a cache.

[0089] Specifically, in one implementation, the first view frame may be stored in the cache using the Mask value of the first view frame as the key and the view frame as the value.

[0090] S111, querying the cache for a second view frame; if the cache contains the second view frame, reading the second view frame from the cache, and displaying the second display data in the display window using the second view frame.

[0091] Specifically, after the second view frame is read from the cache and loaded, the data such as pictures, titles, contents, events, etc. in the second display data are loaded into corresponding positions of the display window respectively.

[0092] S112: If the cache does not contain the second view frame, initialize the second view frame, and use the second view frame to display the second presentation data in the display window.

[0093] The image display method provided by the embodiment of the present invention, after obtaining the first display data, first determines the first view frame for displaying the first display data according to the number of data items and the data type of the first display data, and then calls the first view frame in the display window to display the first display data. Thus, the decoupling between the display window and the display data is achieved, and display data with different numbers of data items and data types can be displayed in one display window. The problem of needing to establish a display window matching the display data each time the display data is displayed is avoided. Thus, the display process of the display data is optimized and the sensory experience of the user is improved.

[0094] Embodiment 2:

[0095] The embodiment of the present invention provides an image display device, which is used to execute the image display method provided in the above embodiment 1. Fig.12 , which is a possible structural diagram of an image display device provided by 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. Among them:

[0096] The acquisition unit 201 is used to acquire first display data.

[0097] The determination unit 202 is used to determine, after the acquisition unit 201 acquires 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 items and data types included in the first display data; wherein the preset frame set includes multiple view frames; the multiple view frames are respectively used to display display data of corresponding numbers of data items and data types.

[0098] The display unit 203 is configured to display the first display data in the display window using the first viewing frame after the determining unit 202 determines the first viewing frame.

[0099] Optionally, the image display device further includes a contrast unit 204 .

[0100] The acquisition unit 201 is further configured to acquire the second display data after the display unit 203 displays the first display data in the display window using the first view frame.

[0101] The determining unit 202 is further configured to determine, after the acquiring unit 201 acquires the second display data, a second view frame corresponding to the second display data from a preset frame set according to the number of data items and data types included in the second display data.

[0102] The comparing unit 204 is used to compare the second view frame with the first view frame.

[0103] The display unit 203 is also used to release the resources occupied by the first display data and load the second display data to the corresponding position in the first view frame used by the display window if the second view frame is the same as the first view frame after the comparison unit compares the second view frame with the first view frame.

[0104] Optionally, the image display device further includes: a cache reading and writing unit 205 .

[0105] The cache read / write unit 205 is used to release the resources occupied by the first view frame and store the first view frame in the cache if the second view frame is different from the first view frame after the comparison unit 204 compares the second view frame with the first view frame.

[0106] The cache reading and writing unit 205 is further configured to query the second view frame in the cache after the comparing unit 204 compares the second view frame with the first view frame.

[0107] The display unit 203 is further configured to read the second view frame from the cache if the second view frame exists in the cache after the cache read-write unit 205 queries the cache, and display the second display data in the display window using the second view frame.

[0108] Optionally, the preset frame set specifically includes: a first preset frame, a second preset frame, a third preset frame, and a fourth preset frame.

[0109] The first preset frame is used to display: display data including at least one piece of data; wherein each piece of data in the at least one piece of data contains text and does not contain a background image.

[0110] The second preset frame is used to display: there is only one piece of data, and the data does not contain text, and the data contains display data of a background image.

[0111] The third preset frame is used to display: there is only one piece of data, and the data contains display data of text and background image.

[0112] The fourth preset frame is used to display: display data including multiple pieces of data; wherein each piece of the display data of the multiple pieces of data includes a background image.

[0113] Optionally, the image display device further includes: a reading unit 206 and a sending unit 207 .

[0114] 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.

[0115] The sending unit 207 is used to send a data request to the server before the obtaining unit 201 obtains the first display data; the data request is used to request to obtain the updated data to be displayed.

[0116] The acquisition unit 201 is specifically configured to acquire first display data from the updated data to be displayed if updated data to be displayed is received from the server after sending a data request to the server; otherwise, acquire first display data from the data to be displayed in the local storage space.

[0117] The functions and effects of each module in the image display device provided in the embodiment of the present invention can refer to the corresponding description content in the above embodiment - an image display method, and will not be repeated here.

[0118] It should be noted that the division of modules in the embodiments of the present application is schematic and is merely a logical function division. There may be other division methods in actual implementation.

[0119] In the case of an integrated unit, Fig.13 A possible structural diagram of the image display device involved in the above embodiment is shown. 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 to control and manage the actions of the image display device 30. For example, the processing module 301 is used to support the image display device 30 to execute Figure 1 The communication module 302 is used to support the communication between the image display device 30 and other entities. The storage module 303 is used to store program codes and data of the image display device.

[0120] Among them, the processing module 301 can be a processor or a controller, for example, it can be a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of the present invention. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessors, and the like. The communication module 302 can be a transceiver, a transceiver circuit or a communication interface, and the like. The storage module 303 can be a memory.

[0121] When the processing module 301 is as follows Fig.14 The processor shown, the communication module 302 is Fig.14 The storage module 303 is Fig.14 When a memory is provided, the image display device involved in the embodiment of the present invention may be the following image display device 40.

[0122] Reference Fig.14 As shown, the image display device 40 includes: a processor 401 , a transceiver 402 , a memory 403 and a bus 404 .

[0123] The processor 401, the transceiver 402, and the memory 403 are interconnected via a bus 404; the bus 404 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0124] The 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 for controlling the execution of the program of the present invention.

[0125] The memory 403 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or 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 compressed optical disc, laser disc, optical disc, digital versatile disc, blue-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory may also be integrated with the processor.

[0126] The memory 403 is used to store the application code for executing the solution of the present invention, and is controlled by the processor 401. The transceiver 402 is used to receive content input by an external device, and the processor 401 is used to execute the application code stored in the memory 403, thereby realizing an image display method provided in an embodiment of the present invention.

[0127] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0128] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0129] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0130] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0131] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can 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. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0132] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An image display method, characterized in that: include: Obtaining first display data; According to the number of data items and the data type of the data included in the first display data, determine a first view frame corresponding to the first display data from a preset frame set; wherein the preset frame set includes a plurality of view frames; the plurality of view frames are respectively used to display display data of corresponding numbers of data items and data types; In a display window, displaying the first display data using the first view frame; Obtaining second display data; Determining, from the preset frame set, a second view frame corresponding to the second display data according to the number of data items and data types included in the second display data; comparing the mask value of the first view frame with the mask value of the second view frame; If the mask value of the first view frame is different from the mask value of the second view frame, querying the second view frame in the cache; If the second view frame exists in the cache, the second view frame is read from the cache, and the second display data is displayed in the display window using the second view frame.

2. The image display method according to claim 1, characterized in that: The method further comprises: If the mask value of the first view frame is the same as the mask value of the second view frame, the resources occupied by the first display data are released, and the second display data is loaded into a 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 mask value of the first view frame is different from the mask value of the second view frame, the resources occupied by the first view frame are released, and the first view frame is stored in a cache.

4. The image display method according to any one of claims 1 to 3, characterized in that: The preset frame set specifically includes: a first preset frame, a second preset frame, a third preset frame, and a fourth preset frame; Wherein, the first preset frame is used to display: display data including at least one piece of data; wherein each piece of data in the at least one piece of data contains text and does not contain a background image; The second preset frame is used to display: there is only one piece of data, the data does not contain text, and the data contains display data of a background image; The third preset frame is used to display: there is only one piece of data, and the data contains text and background image display data; The fourth preset frame is used to display: display data including multiple pieces of data; wherein each piece of the display data of the multiple pieces of data includes a background image.

5. The image display method according to any one of claims 1 to 3, characterized in that: Before obtaining the first display data, the method further includes: reading the data to be displayed in the local storage space; The method further comprises: sending a data request to a server; the data request is used to request updated data to be displayed; The acquiring of the first display data specifically includes: if updated data to be displayed fed back by the server is received after sending a data request to the server, acquiring the first display data from the updated data to be displayed; otherwise, acquiring the first display data from the data to be displayed in the local storage space.

6. An image display device, characterized in that: include: An acquiring unit, configured to acquire first display data; a determining unit, configured to determine, after the acquiring unit acquires 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 items and the data type of the data included in the first display data; wherein the preset frame set includes a plurality of view frames; the plurality of view frames are respectively used to display display data of corresponding numbers of data items and data types; A display unit, configured to display the first display data in a display window using the first view frame; The acquisition unit is further used to acquire second display data; The determining unit is further configured to determine, after the acquiring unit acquires 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 items and data types included in the second display data; A comparing unit, configured to compare the mask value of the first view frame with the mask value of the second view frame; a cache reading and writing unit, configured to query the second view frame in a cache if the mask value of the first view frame is different from the mask value of the second view frame after the comparison unit compares the mask value of the first view frame with the mask value of the second view frame; The display unit is further configured to, after the cache read-write unit queries the cache for the second view frame, read the second view frame from the cache if the second view frame exists in the cache, and display the second display data in the display window using the second view frame.

7. The image display device according to claim 6, characterized in that: The image display device further includes a contrast unit; The display unit is further used to release the resources 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 if the mask value of the second view frame is the same as the mask value of the first view frame after the comparison unit compares the mask value of the first view frame with the mask value of the second view frame.

8. The image display device according to claim 7, characterized in that: The image display device further includes: a cache reading and writing unit; The cache read-write unit is used to release resources occupied by the first view frame and store the first view frame in the cache if the second view frame is different from the first view frame after the comparison unit compares the mask value of the first view frame with the mask value of the second view frame.

9. The image display device according to any one of claims 6 to 8, characterized in that: The preset frame set specifically includes: a first preset frame, a second preset frame, a third preset frame, and a fourth preset frame; Wherein, the first preset frame is used to display: display data including at least one piece of data; wherein each piece of data in the at least one piece of data contains text and does not contain a background image; The second preset frame is used to display: there is only one piece of data, the data does not contain text, and the data contains display data of a background image; The third preset frame is used to display: there is only one piece of data, and the data contains text and background image display data; The fourth preset frame is used to display: display data including multiple pieces of data; wherein each piece of the display data of the multiple pieces of data includes a background image.

10. The image display device according to any one of claims 6 to 8, characterized in that: The image display device further includes: a reading unit and a sending unit; The reading unit is used to read the data to be displayed in the local storage space before the obtaining unit obtains the first display data; The sending unit is used to send a data request to the server before the acquiring unit acquires the first display data; the data request is used to request to acquire the updated data to be displayed; The acquisition unit is specifically configured to acquire the first display data from the updated data to be displayed if the updated data to be displayed is received from the server after sending a data request to the server; otherwise, acquire the first display data from the data to be displayed in the local storage space.