Data display method, device, storage medium and interactive panel
By overlaying a transparent graphic layer on the interactive flat panel and adjusting the display mode according to the screen parameters, the problem of the interactive flat panel not being able to automatically switch to the user's comfort mode was solved, thus achieving the effect of relieving fatigue and discomfort.
Patent Information
- Application Number
- CN202110679640.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-18
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2041-06-18
AI Technical Summary
Interactive whiteboards cannot automatically switch viewing modes based on user comfort when displaying data, causing user fatigue and discomfort.
A transparent graphics layer is overlaid on the video layer on the interactive flat panel's display screen. The graphics layer's display parameters are adjusted according to the screen's display parameters and triggering conditions to automatically switch to a viewing mode that is comfortable for the user.
By automatically adjusting the display mode, the user experience is improved by reducing fatigue and discomfort when viewing the interactive whiteboard.
Smart Images

Figure CN115495176B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of interactive flat panels, and in particular to a data display method, apparatus, storage medium, and interactive flat panel. Background Technology
[0002] With the continuous development of computer technology, large-size interactive whiteboards have gained significant advantages in data display, leading to their widespread use in fields such as conferencing and education. However, the inventors discovered during the development of this invention that interactive whiteboards cannot automatically switch to a comfortable viewing mode based on the data display conditions. This results in user fatigue and discomfort when using the interactive whiteboard. For example, prolonged viewing of data on the interactive whiteboard can easily cause eye strain; or, the brightness of the displayed data can be too high, irritating the eyes and causing discomfort. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this application provides a data display method, device, storage medium, and interactive flat panel, which has the advantage of automatically switching to a viewing mode that is comfortable for the user according to the data display situation.
[0004] According to a first aspect of the embodiments of this application, a data display method is provided, comprising the following steps:
[0005] A video layer and a graphics layer are loaded on the display screen of the interactive flat panel. The graphics layer is transparent and superimposed on the video layer. The image after the graphics layer and the video layer are superimposed is the image displayed to the user on the display screen.
[0006] The system acquires the target data to be displayed on the display screen, the target display mode of the display screen, and the first screen parameters when the video layer displays the target data; wherein, the target display mode is configured with screen parameters and corresponding trigger conditions; the screen parameters are the screen parameters after the graphics layer and the video layer are superimposed.
[0007] When the first screen parameter satisfies the triggering condition, the second screen parameter of the graphics layer is determined based on the screen parameter and the first screen parameter.
[0008] The graphics layer is adjusted according to the second image parameters to adjust the image displayed after the target data is superimposed on the graphics layer and the video layer.
[0009] According to a second aspect of the embodiments of this application, a data display device is provided, comprising:
[0010] The layer loading module is used to load video layers and graphics layers on the display screen of the interactive flat panel. The graphics layer is transparent and superimposed on the video layer, and the image after the graphics layer and the video layer are superimposed is the image displayed to the user on the display screen.
[0011] The first data acquisition module is used to acquire target data to be displayed on the display screen, the target display mode of the display screen, and the first screen parameters when the video layer displays the target data; wherein, the target display mode is configured with screen parameters and corresponding triggering conditions; the screen parameters are the screen parameters after the graphics layer and the video layer are superimposed.
[0012] The second data acquisition module is used to determine the second screen parameters of the graphics layer based on the screen parameters and the first screen parameters when the first screen parameters meet the triggering condition.
[0013] The adjustment module is used to adjust the graphics layer according to the second screen parameters, so as to adjust the screen displayed after the target data is superimposed on the graphics layer and the video layer.
[0014] According to a third aspect of the embodiments of this application, an interactive flat panel is provided, including a touch screen; the touch screen includes a touch layer, a display layer, a processor, and a memory; the memory stores a computer program adapted to be loaded by the processor and executed as described above in the data display method.
[0015] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the data display method as described above.
[0016] This application embodiment loads a video layer and a graphics layer on the display screen of an interactive flat panel. The graphics layer is transparent and superimposed on the video layer. When the first screen parameters meet the triggering condition, the second screen parameters of the graphics layer are determined based on the screen parameters and the first screen parameters. The graphics layer is then adjusted according to the second screen parameters, automatically adjusting the display of the target data after the graphics layer and the video layer are superimposed. This allows the interactive flat panel to automatically switch to a comfortable target display mode based on the data display situation, thereby alleviating the fatigue and discomfort of the user when using the interactive flat panel for viewing operations.
[0017] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application.
[0018] To better understand and implement this invention, the following detailed description is provided in conjunction with the accompanying drawings. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 A flowchart illustrating a data display method according to one embodiment of this application;
[0021] Figure 2 This is a schematic diagram illustrating the overlay of a graphics layer and a video layer on an interactive flat panel according to one embodiment of this application;
[0022] Figure 3 A flowchart illustrating a method for obtaining a target display mode according to one embodiment of this application;
[0023] Figure 4 A flowchart illustrating a method for determining the first screen parameter within the triggering condition range, as shown in one embodiment of this application;
[0024] Figure 5 This is a schematic block diagram illustrating a data display device according to one embodiment of this application;
[0025] Figure 6 This is a schematic diagram of the structure of an interactive flat panel according to one embodiment of this application. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0027] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0028] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0029] In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. The singular forms "a," "the," and "the" used in this application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. The words "if" or "when" as used herein can be interpreted as "when," "in response to a determination." Furthermore, in the description of this application, unless otherwise stated, "a plurality" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0030] The data display method illustrated in this application embodiment can be executed by the data display device of an interactive flat panel. The data display device of the interactive flat panel can be implemented through software and / or hardware. The data display device of the interactive flat panel can consist of two or more physical entities, or it can consist of a single physical entity. For example, the data display device of the interactive flat panel can be a computer, mobile phone, tablet, or other smart interactive flat panel with a display screen.
[0031] For ease of understanding, the embodiments use interactive flat panels, especially interactive flat panels with large screens, as exemplary data display devices for interactive flat panels. The interactive flat panel can be an integrated device that uses touch technology to control the content displayed on the display and achieve human-computer interaction. It integrates one or more functions such as a projector, electronic whiteboard, screen, audio system, television, and video conferencing terminal.
[0032] Generally, the interactive flat panel includes at least one display screen. For example, the interactive flat panel is equipped with a touch-enabled display screen, which can be a capacitive, resistive, or electromagnetic screen. In one embodiment, images or videos can be displayed on the display screen. In one embodiment, a user can perform touch operations by touching the display screen with a finger or stylus. Correspondingly, the interactive flat panel detects the touch position and determines a response scheme based on the touch operation corresponding to the touch position, and then responds to realize the touch function. Typically, the interactive flat panel is equipped with at least one type of operating system, which includes, but is not limited to, Android, Linux, and Windows systems. In one embodiment, the interactive flat panel can install at least one application based on the operating system. In this embodiment, an application with writing functionality is used as an example. For example, an electronic whiteboard application with writing functionality is installed in the interactive flat panel. This application can be an application that comes with the operating system, or an application downloaded from a third-party device or server. The interactive flat panel itself can also be the application. Optionally, in addition to writing functionality, the electronic whiteboard application also has other editing functions, such as writing, inserting tables, inserting pictures, inserting multimedia, inserting graphics, and drawing tables. In one embodiment, the interactive flat panel is also equipped with a camera to capture images in front of the interactive flat panel, such as capturing images of people watching in front of the interactive flat panel.
[0033] Example 1
[0034] The data display method disclosed in this application is applied to an electronic device, and the following description uses the electronic device as an interactive flat panel.
[0035] The following will be combined with the appendix Figures 2 to 4 The data display method provided in the embodiments of this application will be described in detail.
[0036] Please see Figure 1 The data display method provided in this application includes the following steps:
[0037] Step S110: Load a video layer and a graphics layer onto the display screen of the interactive flat panel. The graphics layer is transparent and superimposed on the video layer. The image after the graphics layer and the video layer are superimposed is the image displayed to the user by the display screen.
[0038] Please see Figure 2To display data on the display screen, multiple display layers are configured in the system framework of the display screen, such as video layer 1000 (Video layer) and graphics layer 2000 (On-Screen Display, OSD layer, screen menu adjustment mode). These multiple layers are superimposed to present the final image to the user on the display screen. Video layer 1000 refers to the display layer on the screen used to display the playback image after data playback; it can also be called the display screen's image quality layer. The image quality layer displays the playback image corresponding to the data. Graphics layer 2000 can be used to provide interactive operations for the user; it can also be called the display screen's UI (User Interface) layer. Graphics layer 2000 is synchronized with video layer 1000, and graphics layer 2000 can change the display image of the data after it is superimposed on video layer 1000 by changing its own layer's display image. Graphics layer 2000 can also add various interactive controls, such as display color space and brightness space, to allow manual adjustment of the data finally displayed on the screen. That is, playing data through the video layer 1000 refers to the image displayed on the video layer 1000 after the data has been decoded, not the final image displayed on the screen. In this embodiment, since the graphics layer 2000 is superimposed on the video layer 1000 and is transparent, and no additional image parameters are set for the graphics layer 2000 before switching to the target display mode, it can be considered that the image displayed by the video layer 1000 before switching to the target display mode is the image that the screen finally displays to the user.
[0039] Step S120: Obtain the target data to be displayed on the display screen, the target display mode of the display screen, and the first screen parameters when the video layer displays the target data; wherein, the target display mode is configured with screen parameters and corresponding trigger conditions; the screen parameters are the screen parameters after the graphics layer and the video layer are superimposed.
[0040] The target data can be video data or document data, such as a Word document or a PowerPoint document. The target data can be data from the interactive flat panel system itself or data transmitted to an external electronic device connected to the interactive flat panel. In one embodiment, the interactive flat panel has an Android channel and an external channel. Data transmitted through the Android channel is data from the interactive flat panel system itself; data transmitted through the external channel is data transmitted to an external electronic device connected to the interactive flat panel, such as data transmitted to the external channel via a transmission intermediary such as the interactive flat panel's HDMI interface, a Type-C cable, or a wireless screen sharing device.
[0041] In one embodiment, the target data is data transmitted by an external electronic device connected to the interactive flat panel via an external channel. During the development of this invention, it was discovered that in some interactive flat panels, the data transmitted via the Android channel is displayed through a Google interface and has its own defined display adjustment method. However, there is no explanation of how to adjust the display of data transmitted via an external channel, let alone how to automatically adjust the display based on the displayed data. Therefore, a method for displaying data transmitted via an external channel of the interactive flat panel is proposed, which can automatically adjust the display based on the displayed data. That is, the data display method of this application embodiment is executed only after the operation of displaying the target data transmitted via the external channel is triggered.
[0042] The target display mode can be a screen display mode matched by the display screen when the user views the target data. In one embodiment, the target display mode can be a display mode set according to the comfort and / or color preferences of different users when viewing the data. For example, the target display mode can be the target display mode for user A, or the target display mode for user B. The target display mode can also be a display mode set according to the comfort and / or color preferences of different groups of people and / or application scenarios when viewing the data. For example, the target display mode can be an educational application scenario mode suitable for students, or a meeting application scenario mode suitable for working people, etc.
[0043] The screen display parameters are the display parameters resulting from the superposition of the graphics layer and the video layer. Specifically, the screen display parameters are the superposition of the first display parameters of the video layer when displaying data and the second display parameters of the graphics layer. The screen display parameters may include one or more of the following: RGB values, contrast ratio, and resolution of the image.
[0044] The first image parameters are obtained by the video layer through PQ debugging, combining the image parameters of the target data itself with the default parameters of the display screen or the parameters manually adjusted by the display screen. The first image parameters may include one or more of the following: the RGB values, contrast ratio, and resolution of the image.
[0045] The triggering conditions may include one or more of the following: the duration of the video layer displaying the target data, the magnitude of the RGB value, the number of pixels corresponding to the RGB value within a preset range, contrast, and resolution, etc.
[0046] Step S130: When the first screen parameter satisfies the trigger condition, determine the second screen parameter of the graphics layer based on the screen parameter and the first screen parameter.
[0047] Since the screen display parameters are the superposition of the first display parameters of the video layer and the second display parameters of the graphics layer, the second display parameters of the graphics layer can be obtained when the screen display parameters and the first display parameters are known.
[0048] Step S140: Adjust the graphics layer according to the second screen parameters to adjust the screen displayed after the target data is superimposed on the graphics layer and the video layer.
[0049] Since the image displayed to the user is the superposition of the graphics layer and the video layer, by changing the first image parameters of the video layer and adjusting the graphics layer according to the second image parameters, the image displayed to the user can be adjusted conveniently and quickly.
[0050] This application embodiment loads a video layer and a graphics layer on the display screen of an interactive flat panel, sets the graphics layer to be transparent and superimposed on the video layer, and when the first screen parameters meet the trigger condition, determines the second screen parameters of the graphics layer based on the screen parameters and the first screen parameters, thereby adjusting the graphics layer according to the second screen parameters, automatically adjusting the display of the target data after the graphics layer and the video layer are superimposed, so that the interactive flat panel automatically switches to a comfortable target display mode according to the data display situation, thereby alleviating the fatigue and discomfort of the user when using the interactive flat panel for viewing operations.
[0051] Please see Figure 3 In one embodiment, obtaining the target display mode of the display screen in step S120 includes:
[0052] Step S121: Obtain the user identifier.
[0053] Optionally, the user identifier includes one of the following: a user identity identifier, a school scenario identifier, and a meeting scenario identifier. The user identity identifier can be information that uniquely identifies an individual on the interactive flat panel, such as a personal ID card, WeChat ID, or an identity serial number set on the interactive flat panel. Since different people experience different levels of fatigue and discomfort when viewing data on an interactive flat panel, a user identity identifier is used to differentiate viewing habits. The school scenario identifier can be information that uniquely identifies the interactive flat panel as being used in a school setting. Optionally, the school scenario identifier can be further subdivided into scenarios such as large class sessions and small class sessions. The meeting scenario identifier can be information that uniquely identifies the interactive flat panel as being used in a meeting setting. Optionally, the meeting scenario identifier can be further subdivided into scenarios such as large meetings and small meetings, or further subdivided into various scenario identifiers set based on the number of participants and / or their locations, so that participants in various scenarios can alleviate fatigue and discomfort when using the interactive flat panel for viewing.
[0054] Step S122: Obtain the target display mode of the display screen based on the user identifier and the preset association between the user identifier and the display mode.
[0055] This application obtains the corresponding target display mode based on the user identifier, thereby automatically adjusting to a display screen that is comfortable for the user according to different user preferences or habits.
[0056] In one embodiment, before executing the data display method of this application, the method further includes: establishing an association between a user identifier and a display mode; the establishment of the association between the user identifier and the display mode includes:
[0057] Obtain the screen display parameters and trigger conditions corresponding to the user identifier, associate the user identifier with the screen display parameters and trigger conditions, and establish the association between the user identifier and the display mode.
[0058] For example, before executing the data display method of this application, an input window can be popped up for the user to input the user identifier, the corresponding desired screen parameters, and the corresponding trigger conditions. The screen parameters and the corresponding trigger conditions can then be determined as the display mode, thereby quickly establishing the association between the user identifier and the display mode.
[0059] In another embodiment, before executing the data display method of this application, the method further includes: establishing an association between a user identifier and a display mode; the establishment of the association between the user identifier and the display mode includes:
[0060] Obtain the screen parameters and trigger conditions that are most frequently used corresponding to the user identifier, associate the user identifier with the screen parameters and trigger conditions, and establish the association between the user identifier and the display mode.
[0061] For example, some mobile phone apps can be installed on other electronic devices, such as mobile phones, which can provide users with the option to select appropriate display parameters when reading articles. Therefore, the screen parameters and triggering conditions that the user identifier uses most frequently when reading on the mobile phone can be obtained. Then, the screen parameters and corresponding triggering conditions can be determined as the display mode, so that the association between the user identifier and the display mode is more in line with the user's habits.
[0062] Please see Figure 4 In one embodiment, the target data includes several frames of images; the first screen parameter includes the RGB value when the video layer displays the current frame image; the triggering condition corresponding to the target display mode includes a first preset RGB threshold, a first preset quantity, a second preset RGB threshold, and a second preset quantity; wherein, the first preset RGB threshold is greater than the second preset RGB threshold; and the first preset quantity is less than the second preset quantity. Step S130, before determining the second screen parameter of the graphics layer based on the screen parameters and the first screen parameter when the first screen parameter satisfies the triggering condition, further includes:
[0063] Step S1311: Obtain an RGB histogram based on the RGB values of the current frame image displayed in the video layer.
[0064] The RGB histogram indicates the R (red), G (green), and B (blue) color components in preset categories of pixels, and is used to roughly indicate the RGB values of the current frame image.
[0065] Step S1312: Based on the RGB histogram, obtain the number of pixels whose RGB values in the current frame image are within the range of the first RGB threshold.
[0066] Step S1313: If the number of pixels within the range of the first RGB threshold is within the range of the first preset number, randomly sample the current frame image to obtain a number of pixels.
[0067] The RGB histogram roughly indicates the RGB values of the current frame image. Correspondingly, the first RGB threshold is set relatively large, and the first preset number is set relatively small. If the number of pixels within the first RGB threshold range is within the first preset number range, it is necessary to further determine whether to switch to the target display mode. If the number of pixels within the first RGB threshold range is not within the first preset number range, it means that the current frame image does not meet the triggering conditions. Therefore, the RGB histogram can be used to quickly determine whether the triggering conditions are met.
[0068] Step S1314: Based on the proportion of the plurality of pixels in the total number of pixels in the current frame image, and the number of pixels whose RGB values are within the range of the second preset RGB threshold, determine the number of pixels in the current frame image whose RGB values are within the range of the second preset RGB threshold.
[0069] Specifically, the number of RGB values of the several pixels that fall within the range of the second preset RGB threshold is divided by the proportion of the several pixels in the total number of pixels in the current frame image to obtain the number of RGB values of the current frame image that fall within the range of the second preset RGB threshold.
[0070] Step S1315: If the number of RGB values of the current frame image within the range of the second preset RGB threshold is within the range of the second preset number, determine that the first image parameter satisfies the triggering condition.
[0071] For example, when the current frame image displayed by the video layer is relatively bright, the RGB value in the first image parameter can be obtained. If the RGB value of the first image parameter is within the trigger condition range, the image of the current frame image can be automatically adjusted.
[0072] This application embodiment obtains a number of pixels by randomly sampling the current frame image, and then obtains the number of RGB values of the previous frame image within the range of the second preset RGB threshold. By determining that the number of RGB values of the current frame image within the range of the second preset RGB threshold is within the range of the second preset number, it is determined that the first screen parameter meets the trigger condition, so as to accurately determine whether the current frame image meets the switching condition.
[0073] In one embodiment, the first screen parameter includes the duration for which the video layer displays the target data; the trigger condition corresponding to the target display mode includes a preset duration threshold; before determining the second screen parameter of the graphics layer based on the screen parameters and the first screen parameter when the first screen parameter satisfies the trigger condition in step S130, the method further includes: step S1321: if the duration for which the video layer displays the target data is within the preset duration threshold range, it is determined that the first screen parameter satisfies the trigger condition. For example, when viewing data for a long time, if the duration for which the video layer displays the target data is within the preset duration threshold range, it is determined that the first screen parameter satisfies the trigger condition, thereby automatically adjusting the screen of the current frame image.
[0074] In one embodiment, when the first screen parameters do not meet the triggering condition, since the graphics layer is superimposed on the video layer and the graphics layer is transparent, and no additional screen parameters are set for the graphics layer before switching to the target display mode, it can be considered that the screen displayed by the video layer is the screen that the display screen finally displays to the user before switching to the target display mode. That is, the screen displayed by the video layer continues to be the screen that is finally displayed to the user.
[0075] Example 2
[0076] The following are embodiments of the apparatus of this application, which can be used to execute the method described in Embodiment 1 of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the method described in Embodiment 1 of this application.
[0077] Please see Figure 5 This application discloses a data display device 200, comprising:
[0078] The layer loading module 210 is used to load a video layer and a graphics layer on the display screen of the interactive flat panel. The graphics layer is transparent and superimposed on the video layer, and the image after the graphics layer and the video layer are superimposed is the image displayed to the user on the display screen.
[0079] The first data acquisition module 220 is used to acquire target data to be displayed on the display screen, the target display mode of the display screen, and the first screen parameters when the video layer displays the target data; wherein, the target display mode is configured with screen screen parameters and corresponding triggering conditions; the screen screen parameters are the screen parameters after the graphics layer and the video layer are superimposed.
[0080] The second data acquisition module 230 is used to determine the second screen parameters of the graphics layer based on the screen parameters and the first screen parameters when the first screen parameters meet the triggering condition.
[0081] The adjustment module 240 is used to adjust the graphics layer according to the second screen parameters, so as to adjust the screen displayed after the target data is superimposed on the graphics layer and the video layer.
[0082] This application embodiment loads a video layer and a graphics layer on the display screen of an interactive flat panel. The graphics layer is transparent and superimposed on the video layer. When the first screen parameters meet the triggering condition, the second screen parameters of the graphics layer are determined according to the screen parameters and the first screen parameters. The graphics layer is then adjusted according to the second screen parameters, and the display of the target data after the graphics layer and the video layer are superimposed is automatically adjusted. This allows the interactive flat panel to automatically switch to a comfortable target display mode according to the data display situation, thereby alleviating the fatigue and discomfort of the user when using the interactive flat panel for viewing operations.
[0083] In one embodiment, the first data acquisition module 220 includes:
[0084] The user identifier acquisition module is used to acquire user identifiers.
[0085] The target display mode acquisition module is used to obtain the target display mode of the display screen based on the user identifier and the preset association between the user identifier and the display mode.
[0086] This application obtains the corresponding target display mode through the user identifier, thereby adjusting the data display according to different user identifiers.
[0087] In one embodiment, the data display device 200 further includes an association establishment module; the association establishment module is used to establish an association between user identifier and display mode; the association establishment module includes:
[0088] The first relationship establishment module is used to obtain the screen display parameters and trigger conditions corresponding to the user identifier, associate the user identifier with the screen display parameters and trigger conditions, and establish the association relationship between the user identifier and the display mode.
[0089] For example, before executing the data display method of this application, an input window can be popped up for the user to input the user identifier, the corresponding desired screen parameters, and the corresponding trigger conditions. The screen parameters and the corresponding trigger conditions can then be determined as the display mode, thereby quickly establishing the association between the user identifier and the display mode.
[0090] In another embodiment, the association establishment module includes:
[0091] The second relationship establishment module is used to obtain the screen display parameters and trigger conditions with the highest frequency of use corresponding to the user identifier, associate the user identifier with the screen display parameters and the trigger conditions, and establish the association relationship between the user identifier and the display mode.
[0092] For example, some mobile phone apps can be installed on other electronic devices, such as mobile phones, which can provide users with the option to select appropriate display parameters when reading articles. Therefore, the screen parameters and triggering conditions that the user identifier uses most frequently when reading on the mobile phone can be obtained. Then, the screen parameters and corresponding triggering conditions can be determined as the display mode, so that the association between the user identifier and the display mode is more in line with the user's habits.
[0093] In one embodiment, the target data includes a plurality of frame images; the first image parameter includes the RGB value when the video layer displays the current frame image; the triggering condition corresponding to the target display mode includes a first preset RGB threshold, a first preset quantity, a second preset RGB threshold, and a second preset quantity; wherein, the first preset RGB threshold is greater than the second preset RGB threshold; and the first preset quantity is less than the second preset quantity. The data display device 200 further includes:
[0094] The bar chart acquisition module is used to obtain an RGB bar chart based on the RGB values of the current frame image displayed by the video layer.
[0095] The first pixel acquisition module is used to obtain the number of pixels whose RGB values in the current frame image are within the range of the first RGB threshold based on the RGB histogram.
[0096] The random sampling module is used to randomly sample the current frame image to obtain a number of pixels if the number of pixels within the first RGB threshold range is within the range of the first preset number.
[0097] The second pixel acquisition module is used to determine the number of pixels in the current frame image whose RGB values are within the range of the second preset RGB threshold based on the proportion of the plurality of pixels in the total number of pixels in the current frame image and the number of pixels whose RGB values are within the range of the second preset RGB threshold.
[0098] The first determining module is used to determine that the first image parameter satisfies the triggering condition if the number of RGB values of the current frame image within the range of the second preset RGB threshold is within the range of the second preset number.
[0099] This application embodiment obtains a number of pixels by randomly sampling the current frame image, and then obtains the number of RGB values of the previous frame image within the second preset RGB threshold range. By determining that the number of RGB values of the current frame image within the second preset RGB threshold range is within the second preset number range, it is determined that the first screen parameter meets the trigger condition, so as to accurately determine whether the current frame image meets the switching condition.
[0100] In one embodiment, the first screen parameter includes the duration for which the video layer displays the target data; the trigger condition corresponding to the target display mode includes a preset duration threshold; the data display device 200 further includes a second determining module; the second determining module is used to determine that the first screen parameter satisfies the trigger condition if the duration for which the video layer displays the target data is within the preset duration threshold range. For example, when viewing data for a long time, if the duration for which the video layer displays the target data is within the preset duration threshold range, it is determined that the first screen parameter satisfies the trigger condition, and the screen of the current frame image is automatically adjusted.
[0101] Example 3
[0102] The following are embodiments of the device described in this application, which can be used to execute the method described in Embodiment 1 of this application. For details not disclosed in the device embodiments of this application, please refer to the method described in Embodiment 1 of this application.
[0103] Please see Figure 6 This application also provides an electronic device 300, which can be any smart terminal including a touch screen, such as a computer, mobile phone, tablet computer, interactive flat panel, etc. In this embodiment, the electronic device is an interactive flat panel, especially an interactive flat panel with a large-size touch screen. The interactive flat panel 300 may include: at least one processor 310, at least one memory 320, at least one network interface 330, a user interface 340, and at least one communication bus 350.
[0104] The user interface 330 is primarily used to provide an input interface for the user and to acquire user-input data. Optionally, the user interface 330 may also include a standard wired interface or a wireless interface; the user interface may be a display terminal and / or a camera terminal; the display terminal may be a display screen, which may include a display layer and a touch layer. The display layer is used to display data processed by the processor; the touch layer may include a capacitive screen, an electromagnetic screen, or an infrared screen, etc. Generally, the touch layer can receive touch operations or writing operations input by the user through a finger or input device.
[0105] The network interface 330 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0106] The communication bus 340 is used to enable communication between these components.
[0107] The processor 310 may include one or more processing cores. The processor 310 connects to various parts within the electronic device 300 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 320, and by calling data stored in the memory 320. Optionally, the processor 310 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 310 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 310.
[0108] The memory 320 may include random access memory (RAM) or read-only memory. Optionally, the memory 320 may include a non-transitory computer-readable storage medium. The memory 320 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 320 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 320 may also be at least one storage device located remotely from the aforementioned processor 310. Figure 6As shown, the memory 320, which serves as a computer storage medium, may include an operating system, a network communication module, and a user.
[0109] The processor 310 can be used to call an application program storing a data display method in the memory 320, and specifically perform the following operations: loading a video layer and a graphics layer on the display screen of the interactive flat panel, wherein the graphics layer is transparent and superimposed on the video layer, and the image after the graphics layer and the video layer are superimposed is the image displayed to the user by the display screen; acquiring the target data to be displayed on the display screen, the target display mode of the display screen, and the first screen parameters when the video layer displays the target data; wherein, the target display mode is configured with screen screen parameters and corresponding trigger conditions; the screen screen parameters are the screen parameters after the graphics layer and the video layer are superimposed; when the first screen parameters meet the trigger conditions, determining the second screen parameters of the graphics layer according to the screen screen parameters and the first screen parameters; adjusting the graphics layer according to the second screen parameters to adjust the image of the target data displayed after the graphics layer and the video layer are superimposed.
[0110] This application embodiment loads a video layer and a graphics layer on the display screen of an interactive flat panel. The graphics layer is transparent and superimposed on the video layer. When the first screen parameters meet the triggering condition, the second screen parameters of the graphics layer are determined based on the screen parameters and the first screen parameters. The graphics layer is then adjusted according to the second screen parameters, automatically adjusting the display of the target data after the graphics layer and the video layer are superimposed. This allows the interactive flat panel to automatically switch to a comfortable target display mode based on the data display situation, thereby alleviating the fatigue and discomfort of the user when using the interactive flat panel for viewing operations.
[0111] In one embodiment, the processor 310 can be used to call an application program storing a data display method in the memory 320, and specifically perform the following operations: obtaining a user identifier; and obtaining the target display mode of the display screen based on the user identifier and a preset association between the user identifier and the display mode.
[0112] In one embodiment, the processor 310 can be used to call an application program storing a data display method in the memory 320, and specifically perform the following operations: obtain the screen display parameters and trigger conditions corresponding to the user identifier, associate the user identifier with the screen display parameters and the trigger conditions, and establish an association between the user identifier and the display mode. Alternatively, obtain the screen display parameters and trigger conditions with the highest frequency of use corresponding to the user identifier, associate the user identifier with the screen display parameters and the trigger conditions, and establish an association between the user identifier and the display mode.
[0113] In one embodiment, the target data includes several frames of images; the first screen parameter includes the RGB value when the video layer displays the current frame image; the triggering condition corresponding to the target display mode includes a first preset RGB threshold, a first preset quantity, a second preset RGB threshold, and a second preset quantity; wherein, the first preset RGB threshold is greater than the second preset RGB threshold; and the first preset quantity is less than the second preset quantity. The processor 310 can be used to call the application program storing the data display method in the memory 320, and specifically perform the following operations: obtain an RGB histogram based on the RGB values of the current frame image displayed by the video layer; obtain the number of pixels whose RGB values of the current frame image are within the range of the first RGB threshold based on the RGB histogram; if the number of pixels within the range of the first RGB threshold is within the range of the first preset number, randomly sample the current frame image to obtain a number of pixels; determine the number of pixels whose RGB values of the current frame image are within the range of the second preset RGB threshold based on the proportion of the number of pixels in the total number of pixels in the current frame image and the number of pixels whose RGB values are within the range of the second preset RGB threshold; if the number of pixels whose RGB values of the current frame image are within the range of the second preset RGB threshold is within the range of the second preset number, determine that the first screen parameter satisfies the trigger condition.
[0114] In one embodiment, the first screen parameter includes the duration for which the video layer displays the target data; the trigger condition corresponding to the target display mode includes a preset duration threshold; the processor 310 can be used to call an application program storing a data display method in the memory 320, and specifically perform the following operations: if the duration for which the video layer displays the target data is within the preset duration threshold range, determine that the first screen parameter satisfies the trigger condition. For example, when viewing data for a long time, if the duration for which the video layer displays the target data is within the preset duration threshold range, determine that the first screen parameter satisfies the trigger condition, and then automatically adjust the screen of the current frame image.
[0115] Example 4
[0116] This application also provides a computer-readable storage medium having a computer program stored thereon, the instructions of which are adapted to be loaded by a processor and executed by the method steps of Embodiment 1 and / or Embodiment 2 shown above. For the specific execution process, please refer to the detailed descriptions shown in Embodiment 1 and / or Embodiment 2, which will not be repeated here. The device containing the storage medium can be an electronic device such as a personal computer, laptop computer, smartphone, or tablet computer.
[0117] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The components described as separate parts may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0118] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0119] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1One or more processes and / or boxes Figure 1 The function selected in one or more boxes.
[0120] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function selected in one or more boxes.
[0121] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0122] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0123] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0124] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0125] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A data display method, characterized in that, Includes the following steps: A video layer and a graphics layer are loaded on the display screen of the interactive flat panel. The graphics layer is transparent and superimposed on the video layer. The image after the graphics layer and the video layer are superimposed is the image displayed to the user on the display screen. The system acquires target data to be displayed on the display screen, the target display mode of the display screen, and first screen parameters when the video layer displays the target data. The target display mode is configured with screen parameters and corresponding trigger conditions. The screen parameters are the parameters of the image after the graphics layer and the video layer are superimposed. The target display mode is a screen display mode set by the display screen based on the user's comfort and / or color preferences when viewing the target data. The target data includes several frames of images. The first screen parameters include the RGB values when the video layer displays the current frame image. The trigger conditions include the preset RGB value magnitude and the number of pixels corresponding to RGB values within a preset range. When the first screen parameter satisfies the triggering condition, the second screen parameter of the graphics layer is determined based on the screen parameter and the first screen parameter. The graphics layer is adjusted according to the second image parameters to adjust the image displayed after the target data is superimposed on the graphics layer and the video layer.
2. The data display method according to claim 1, characterized in that, The step of obtaining the target display mode of the display screen includes: Obtain user identifier; The target display mode of the display screen is obtained based on the user identifier and the preset association between the user identifier and the display mode.
3. The data display method according to claim 2, characterized in that, This also includes: establishing the association between user identifiers and display modes; The process of establishing the association between user identifier and display mode includes: Obtain the screen display parameters and trigger conditions corresponding to the user identifier, associate the user identifier with the screen display parameters and trigger conditions, and establish an association between the user identifier and the display mode; or, Obtain the screen parameters and trigger conditions that are most frequently used corresponding to the user identifier, associate the user identifier with the screen parameters and trigger conditions, and establish the association between the user identifier and the display mode.
4. The data display method according to claim 1, characterized in that, The triggering conditions corresponding to the target display mode include a first preset RGB threshold, a first preset quantity, a second preset RGB threshold, and a second preset quantity; wherein, the first preset RGB threshold is greater than the second preset RGB threshold; and the first preset quantity is less than the second preset quantity. Before determining the second screen parameter of the graphics layer based on the screen parameters and the first screen parameter when the first screen parameter satisfies the trigger condition, the method further includes: Based on the RGB values of the current frame image displayed in the video layer, an RGB histogram is obtained; Based on the RGB histogram, the number of pixels whose RGB values of the current frame image are within the range of the first RGB threshold is obtained; If the number of pixels within the range of the first RGB threshold is within the range of the first preset number, the current frame image is randomly sampled to obtain a number of pixels. Based on the proportion of the aforementioned pixels in the total number of pixels in the current frame image, and the number of pixels whose RGB values are within the range of the second preset RGB threshold, the number of pixels in the current frame image whose RGB values are within the range of the second preset RGB threshold is determined. If the number of RGB values of the current frame image that fall within the range of the second preset RGB threshold is within the range of the second preset number, it is determined that the first image parameter satisfies the triggering condition.
5. The data display method according to claim 1, characterized in that, The first screen parameters include the duration for which the target data is displayed in the video layer; The triggering conditions corresponding to the target display mode include a preset duration threshold; Before determining the second screen parameter of the graphics layer based on the screen parameters and the first screen parameter when the first screen parameter satisfies the trigger condition, the method further includes: If the duration for which the target data is displayed in the video layer is within the preset duration threshold range, it is determined that the first screen parameter satisfies the triggering condition.
6. The data display method according to any one of claims 1 to 5, characterized in that, The target data is the data transmitted to an electronic device connected to the interactive flat panel.
7. A data display device, characterized in that, include: The layer loading module is used to load video layers and graphics layers on the display screen of the interactive flat panel. The graphics layer is transparent and superimposed on the video layer, and the image after the graphics layer and the video layer are superimposed is the image displayed to the user on the display screen. The first data acquisition module is used to acquire target data to be displayed on the display screen, the target display mode of the display screen, and first screen parameters when the video layer displays the target data; wherein, the target display mode is configured with screen parameters and corresponding triggering conditions; the screen parameters are the screen parameters after the graphics layer and the video layer are superimposed; the target display mode is the screen display mode set by the display screen according to the user's comfort and / or color preference when viewing the target data; the target data includes several frames of images; the first screen parameters include the RGB values when the video layer displays the current frame image; the triggering conditions include the preset RGB value magnitude and the number of pixels corresponding to the RGB values within a preset range; The second data acquisition module is used to determine the second screen parameters of the graphics layer based on the screen parameters and the first screen parameters when the first screen parameters meet the triggering condition. The adjustment module is used to adjust the graphics layer according to the second screen parameters, so as to adjust the screen displayed after the target data is superimposed on the graphics layer and the video layer.
8. The data display device according to claim 7, characterized in that, The first data acquisition module includes: The user identifier acquisition module is used to acquire user identifiers; The target display mode acquisition module is used to obtain the target display mode of the display screen based on the user identifier and the preset association relationship between the user identifier and the display mode.
9. An interactive flat panel, comprising a display screen, a processor, and a memory; characterized in that, The memory stores a computer program adapted to be loaded by the processor and executed as described in any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the data display method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Display method of transparency-adjustable TV function interface
CN101009786A
Display parameter adjusting method and device, electronic equipment and medium
CN112947824A