CN117809544A - Display device, display control method, device and storage medium - Google Patents

Display device, display control method, device and storage medium Download PDF

Info

Publication number
CN117809544A
CN117809544A CN202310167339.XA CN202310167339A CN117809544A CN 117809544 A CN117809544 A CN 117809544A CN 202310167339 A CN202310167339 A CN 202310167339A CN 117809544 A CN117809544 A CN 117809544A
Authority
CN
China
Prior art keywords
content
display
displayed
released
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310167339.XA
Other languages
Chinese (zh)
Inventor
鲁静罡
刘博�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vidaa Netherlands International Holdings BV
Original Assignee
Vidaa Netherlands International Holdings BV
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vidaa Netherlands International Holdings BV filed Critical Vidaa Netherlands International Holdings BV
Priority to CN202310167339.XA priority Critical patent/CN117809544A/en
Publication of CN117809544A publication Critical patent/CN117809544A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention relates to the technical field of display and discloses display equipment, a display control method, a device and a storage medium, wherein the display equipment comprises: a display configured to display a display interface of an application program; a receiver configured to receive a control operation input by a user on the display interface; a controller coupled with the display, the controller configured to: under the condition that the next control operation is not received within a preset time period after the control operation is received, responding to the control operation, and acquiring the content to be displayed and the content to be released corresponding to the control operation; and controlling the display to display the content to be displayed, and releasing the memory corresponding to the content to be released. By applying the technical scheme of the invention, the memory management of the display equipment can be optimized, and the stability of the display equipment is improved.

Description

Display device, display control method, device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of display, in particular to display equipment, a display control method, a display control device and a storage medium.
Background
Along with the improvement of the performance of the display device, the image quality of the display interface is improved, but along with the improvement of the image quality of the display interface, the display device occupies more memory resources in the processing process.
In order to ensure stable operation of the display device, a sufficient memory capacity is required, so that in the operation process of the display device, if the memory resource of the display device cannot be timely released, the available memory of the display device is reduced, especially when a user opens a plurality of pages, the memory occupation of the display device is rapidly increased, and the operation of the display device is blocked or even crashed.
Disclosure of Invention
In view of the above problems, embodiments of the present invention provide a display device, a display control method, a device, and a storage medium, which are used to solve the problem that in the prior art, memory occupation of the display device cannot be released in time.
According to an aspect of an embodiment of the present invention, there is provided a display apparatus including: a display configured to display a display interface of an application program; a receiver configured to receive a control operation input by a user on the display interface; a controller coupled with the display, the controller configured to: under the condition that the next control operation is not received within a preset time period after the control operation is received, responding to the control operation, and acquiring the content to be displayed and the content to be released corresponding to the control operation; and controlling the display to display the content to be displayed, and releasing the memory corresponding to the content to be released.
In an alternative manner, the control operation includes any one of a sliding operation, a zooming operation, and a switching operation for switching the display interface of the application program.
In an alternative manner, the control operation is the scaling operation, and the controller is configured to: determining a scaling parameter corresponding to the scaling operation, wherein the scaling parameter comprises a scaling position and a scaling scale; determining the content to be displayed according to the content corresponding to the display interface and the scaling parameter; determining the content to be released according to the content to be displayed and the content corresponding to the display interface; the content to be released is the content except the content to be displayed in the content corresponding to the display interface.
In an alternative manner, the control operation is the sliding operation, and the controller is configured to: determining sliding parameters corresponding to the sliding operation, wherein the sliding parameters comprise a sliding distance and a sliding direction; determining the content to be displayed according to the content corresponding to the display interface and the sliding parameter; determining the content to be released according to the content to be displayed and the content corresponding to the display interface; the content to be released is the content except the content to be displayed in the content corresponding to the display interface.
In an alternative manner, the control operation is the switching operation for switching the display interface to a target interface, and the controller is configured to: determining the content of a target interface corresponding to the switching operation; determining the content to be displayed according to the content of the target interface; determining the content to be released according to the content of the target interface and the content to be displayed; the content to be released comprises content corresponding to the display interface.
In an alternative, the controller is further configured to: detecting the available memory corresponding to the application program according to a preset period; determining the content corresponding to the display interface and the content displayed by the display interface under the condition that the available memory corresponding to the application program is smaller than a memory threshold value; and determining the content to be released according to the content corresponding to the display interface and the content displayed by the display interface, wherein the content to be released is the content except the content displayed by the display interface in the content corresponding to the display interface.
In an alternative, the application comprises a browser application.
According to another aspect of the embodiment of the present invention, there is provided a display control method including: receiving control operation input by a user on a display interface; under the condition that the next control operation is not received within a preset time period after the control operation is received, responding to the control operation, and acquiring the content to be displayed and the content to be released corresponding to the control operation; and controlling the display to display the content to be displayed, and releasing the memory corresponding to the content to be released.
In an alternative manner, the control operation includes any one of a sliding operation, a zooming operation, and a switching operation for switching the display interface of the application program.
In an optional manner, the controlling operation is the scaling operation, and the obtaining the content to be displayed and the content to be released corresponding to the controlling operation includes: determining a scaling parameter corresponding to the scaling operation, wherein the scaling parameter comprises a scaling position and a scaling scale; determining the content to be displayed according to the content corresponding to the display interface and the scaling parameter; determining the content to be released according to the content to be displayed and the content corresponding to the display interface; the content to be released is the content except the content to be displayed in the content corresponding to the display interface.
In an optional manner, the controlling operation is the sliding operation, and the obtaining the content to be displayed and the content to be released corresponding to the controlling operation includes: determining sliding parameters corresponding to the sliding operation, wherein the sliding parameters comprise a sliding distance and a sliding direction; determining the content to be displayed according to the content corresponding to the display interface and the sliding parameter; determining the content to be released according to the content to be displayed and the content corresponding to the display interface; the content to be released is the content except the content to be displayed in the content corresponding to the display interface.
In an optional manner, the control operation is the switching operation, the switching operation is used for switching the display interface to a target interface, and the obtaining the content to be displayed and the content to be released corresponding to the control operation includes: determining the content of a target interface corresponding to the switching operation; determining the content to be displayed according to the content of the target interface; determining the content to be released according to the content of the target interface and the content to be displayed; the content to be released comprises content corresponding to the display interface.
In an alternative, the method further comprises: detecting the available memory corresponding to the application program according to a preset period; determining the content corresponding to the display interface and the content displayed by the display interface under the condition that the available memory corresponding to the application program is smaller than a memory threshold value; and determining the content to be released according to the content corresponding to the display interface and the content displayed by the display interface, wherein the content to be released is the content except the content displayed by the display interface in the content corresponding to the display interface.
In an alternative, the application comprises a browser application.
According to another aspect of the embodiments of the present invention, there is provided a display control apparatus including: the receiving module is used for receiving control operation input by a user on the display interface; the acquisition module is used for responding to the control operation to acquire the content to be displayed and the content to be released corresponding to the control operation under the condition that the next control operation is not received within a preset time period after the control operation is received; and the control module is used for controlling the display to display the content to be displayed and releasing the memory corresponding to the content to be released.
According to still another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium having stored therein at least one executable instruction that, when executed on a display device, causes the display device to perform the operations of the display control method described above.
According to the embodiment of the invention, the control operation input by the user on the display interface is received, under the condition that the next control operation is not received within the preset time after the control operation is received, the content to be displayed and the content to be released corresponding to the control operation are obtained in response to the control operation, the display is controlled to display the content to be displayed, and the memory corresponding to the content to be released is released.
By the method, memory release based on user operation can be realized, the possibility of influencing the operation of the display equipment due to the fact that the memory release is not in time is reduced, and the operation stability of the display equipment is improved.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and may be implemented according to the content of the specification, so that the technical means of the embodiments of the present invention can be more clearly understood, and the following specific embodiments of the present invention are given for clarity and understanding.
Drawings
The drawings are only for purposes of illustrating embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 shows an interaction schematic diagram of a display device and a control device according to an embodiment of the present invention;
fig. 2 shows a block diagram of a configuration of a control device in an exemplary embodiment of the present invention;
fig. 3 is a block diagram showing a hardware configuration of a display device according to an embodiment of the present invention;
FIG. 4 is a flow chart of a display control method provided by the invention;
FIG. 5 is a schematic diagram of a display interface according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another display interface according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of yet another display interface provided by an embodiment of the present invention;
FIG. 8 is a flowchart of another display control method according to an embodiment of the present invention;
FIG. 9 is a flowchart of still another display control method according to an embodiment of the present invention;
FIG. 10 is a flowchart of a further display control method according to an embodiment of the present invention;
FIG. 11 is a flowchart of a further display control method according to an embodiment of the present invention;
FIG. 12 is a flowchart of a further display control method according to an embodiment of the present invention;
FIG. 13 is a flowchart of a further display control method according to an embodiment of the present invention;
FIG. 14 is a flowchart of a memory management method of a browser application according to an embodiment of the present invention;
FIG. 15 is a schematic diagram of a display control system according to the present invention;
fig. 16 shows a schematic structural diagram of a display control device provided by the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein.
With the technical improvement of display equipment, the display equipment can support the operation of various application programs, for example, a television can be provided with various application programs such as video playing, sports and fitness, audio and video communication and the like, and a user can select different contents through the application programs, so that great convenience is brought to the work and life of the user.
However, since the memory resources of the display device are limited, when a plurality of pages of the running program are opened or a plurality of application programs are simultaneously run, the available memory of the display device is reduced, so that the running of the display device has the problems of slow loading, long-time blocking and even breakdown.
In view of one or more of the problems described above, embodiments of the present invention provide a display device and a display control method that can be applied to the display device. Fig. 1 shows an interaction schematic diagram of a display device and a control apparatus according to an embodiment of the present invention. As shown in fig. 1, a user may operate the display apparatus 200 through the mobile terminal 300 or the control device 100. The control apparatus 100 may be a remote controller, and the remote controller and the display device 200 may communicate through an infrared protocol, a bluetooth protocol, or the remote controller may control the display device 200 in a wireless or other wired manner.
The user may input user instructions through keys on a remote controller, voice input, a control panel, etc., to control the display device 200. For example, the user can control the display device 200 to switch the displayed page through up-down keys on the remote controller, and adjust the zoom level of the display device 200 to display the page through the volume up-down keys.
In some embodiments, the user may also control the display device 200 using a mobile terminal, tablet, computer, notebook, and other smart device. For example, a user may control the display device 200 through an application installed on the smart device that, by configuration, may provide the user with various controls in an intuitive user interface on a screen associated with the smart device.
In some embodiments, the mobile terminal 300 may implement connection communication with a software application installed on the display device 200 through a network communication protocol for the purpose of one-to-one control operation and data communication. For example, it may be realized that a control instruction protocol is established between the mobile terminal 300 and the display device 200, a remote control keyboard is synchronized to the mobile terminal 300, a function of controlling the display device 200 is realized by controlling a user interface on the mobile terminal 300, or a function of transmitting contents displayed on the mobile terminal 300 to the display device 200 to realize synchronous display is also realized.
As shown in fig. 1, the display device 200 and the server 400 may communicate data in a variety of communication manners, which may allow the display device 200 to be communicatively connected via a local area network (Local Area Network, LAN), a wireless local area network (Wireless Local Area Network, WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200. For example, the display device 200 receives software program updates by sending and receiving messages, and electronic program guide (Electrical Program Guide, EPG) interactions, or accesses a remotely stored digital media library. The server 400 may be one cluster or multiple clusters, and may include one or more types of servers.
The display device 200 may be a liquid crystal display, an Organic Light-Emitting Diode (OLED) display, a projection display device, a smart terminal, such as a mobile phone, a tablet computer, etc. The specific display device type, size, resolution, etc. are not limited.
Fig. 2 shows a block diagram of a configuration of the control device 100 in an exemplary embodiment of the present invention, and as shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an operation instruction input by a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, and may interact with the display device 200.
Taking a display device as an example of a television, fig. 3 shows a hardware configuration block diagram of a display device 200 according to an embodiment of the present invention. As shown in fig. 3, the display device 200 includes: a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a receiver 280 and at least one of a memory, a power supply, a user interface.
The modem 210 may receive broadcast television signals through a wired or wireless reception manner and demodulate an audio/video signal, such as an EPG data signal, from a plurality of wireless or wired broadcast television signals. The detector 230 may be used to collect signals of the external environment or interaction with the outside.
In some embodiments, the frequency point demodulated by the modem 210 is controlled by the controller 250, and the controller 250 may issue a control signal according to the user selection, so that the modem responds to the television signal frequency selected by the user and modulates and demodulates the television signal carried by the frequency.
The broadcast television signal may be classified into a terrestrial broadcast signal, a cable broadcast signal, a satellite broadcast signal, an internet broadcast signal, or the like according to different broadcasting systems of the television signal. Or may be differentiated into digital modulation signals, analog modulation signals, etc., depending on the type of modulation. And further, the signals are classified into digital signals, analog signals and the like according to different signal types.
In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
In some embodiments, communicator 220 may be a component for communicating with external devices or external servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi chip, a bluetooth communication protocol chip, a wired ethernet communication protocol chip, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver.
In some embodiments, the detector 230 may be used to collect signals of or interact with the external environment, may include an optical receiver and a temperature sensor, etc.
The light receiver can be used for acquiring a sensor of the intensity of the ambient light, and adaptively adjusting display parameters and the like according to the intensity of the ambient light; the temperature sensor may be used to sense an ambient temperature so that the display device 200 may adaptively adjust a display color temperature of an image, such as when the ambient temperature is high, a color temperature colder tone of the image displayed by the display device 200 may be adjusted, or when the ambient temperature is low, a color temperature warmer tone of the image displayed by the display device 200 may be adjusted.
In some embodiments, the detector 230 may further include an image collector, such as a camera, a video camera, etc., which may be used to collect external environmental scenes, collect attributes of a user or interact with a user, adaptively change display parameters, and recognize a user gesture to realize an interaction function with the user.
In some embodiments, the detector 230 may also include a sound collector or the like, such as a microphone, that may be used to receive the user's sound. For example, a voice signal including a control instruction for a user to control the display apparatus 200, or an acquisition environment sound for recognizing an environment scene type, so that the display apparatus 200 can adapt to an environment noise.
In some embodiments, external device interface 240 may include, but is not limited to, the following: any one or more of a high-definition multimedia interface (High Definition Multimedia Interface, HDMI) interface, an analog or data high-definition component input interface, a composite video input interface, a universal serial bus (Universal Serial Bus, USB) input interface, an RGB port, or the like, or an input/output interface in which the above interfaces form a composite is also possible.
As shown in fig. 3, the controller 250 may include at least one of a central processor, a video processor, an audio processor, a graphic processor, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), and a first interface to an nth interface for input/output. Wherein the communication bus connects the various components.
In some embodiments, the controller 250 may control the operation of the display device and respond to the user's operations through various software control programs stored on an external memory. For example, a user may input a user command through a graphical user interface (Graphic User Interface, GUI) displayed on the display 260, the user input interface receiving the user input command through the graphical user interface, or the user may input the user command by inputting a specific sound or gesture, the user input interface recognizing the sound or gesture through the sensor.
A "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user that enables conversion between an internal form of information and a user-acceptable form. A commonly used presentation form of a user interface is a graphical user interface, which refers to a user interface related to computer operations that is displayed in a graphical manner. The control can comprise at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget (short for Widget) and other visual interface elements.
In some embodiments, RAM may be used to store temporary data for the operating system or other on-the-fly programs; ROM may be used to store instructions for various system starts, for example, may be used to store instructions for a basic input output system, referred to as a basic input output system (Basic Input Output System, BIOS) start. ROM can be used to complete the power-on self-test of the system, the initialization of each functional module in the system, the driving program of the basic input/output of the system and the booting of the operating system.
In some embodiments, upon receipt of the power-on signal, the display device 200 power begins to boot and the central processor runs the system boot instructions in ROM, copying temporary data of the operating system stored in memory into RAM for booting or running the operating system. When the starting of the operating system is completed, the CPU copies the temporary data of various application programs in the memory into the RAM, and then the temporary data are convenient for starting or running the various application programs.
In some embodiments, the central processor may be configured to execute operating system and application instructions stored in memory, and to execute various applications, data, and content in accordance with various interactive instructions received from external inputs, to ultimately display and play various audio-visual content.
In some example embodiments, the central processor may include a plurality of processors. The plurality of processors may include one main processor and one or more sub-processors. A main processor for performing some operations of the display apparatus 200 in the pre-power-up mode and/or displaying a picture in the normal mode. One or more sub-processors for one operation in a standby mode or the like.
In some embodiments, the video processor may be configured to receive an external video signal, perform video processing in accordance with standard codec protocols for input signals, decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, transparency settings, image composition, etc., and may result in a signal that is displayed or played on the directly displayable device 200.
In some embodiments, the video processor may include a demultiplexing module, a video decoding module, an image compositing module, a frame rate conversion module, a display formatting module, and the like.
The demultiplexing module is used for demultiplexing the input audio/video data stream, such as input moving picture expert group standard 2 (Moving Picture Experts Group-2, MPEG-2), and demultiplexes the input audio/video data stream into video signals, audio signals and the like; the video decoding module is used for processing the demultiplexed video signal, including decoding and scaling, transparency setting, etc.
And an image synthesis module, such as an image synthesizer, for performing superposition mixing processing on the graphic generator and the video image after the scaling processing according to the GUI signal input by the user or generated by the graphic generator, so as to generate an image signal for display. The frame rate conversion module is configured to convert the input video frame rate, for example, converting the 60Hz frame rate into the 120Hz frame rate or the 240Hz frame rate, and the common format is implemented in an inserting frame manner. The display format module is used for converting the received frame rate into a video output signal, and changing the video output signal to a signal conforming to the display format, such as outputting an RGB data signal.
In some embodiments, the audio processor may be configured to receive an external audio signal, decompress and decode the audio signal according to a standard codec protocol of the input signal, and perform noise reduction, digital-to-analog conversion, and amplification processes to obtain a sound signal that may be played in a speaker.
In some embodiments, the video processor may comprise one or more chips. The audio processor may also comprise one or more chips. Meanwhile, the video processor and the audio processor may be a single chip, or may be integrated with the controller in one or more chips.
In some embodiments, the interface for input/output may be used for audio output, that is, receiving the sound signal output by the audio processor under the control of the controller 250 and outputting the sound signal to an external device such as a speaker, and may output the sound signal to an external sound output terminal of the generating device of the external device, except for the speaker carried by the display device 200 itself, for example: external sound interface or earphone interface, etc. The audio output may also include a near field communication module in the communication interface, such as: and the Bluetooth module is used for outputting sound of a loudspeaker connected with the Bluetooth module.
In some embodiments, the graphics processor may be used to generate various graphical objects, such as: icons, operation menus, user input instruction display graphics, and the like. The graphic processor may include an operator to display various objects according to display attributes by receiving user input of various interactive instructions to perform operations. And a renderer for rendering the various objects obtained by the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the graphics processor and the video processor may be integrated or may be separately configured, where the integrated configuration may perform processing of graphics signals output to the display, and the separate configuration may perform different functions, such as a graphics processor (Graphics Processing Unit, GPU) +frame frequency conversion technology (Frame Rate Conversion, FRC) architecture, respectively.
The display 260 may be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the display 260 may be used to display a display interface of an application. The display interface is any page in the application program.
In some embodiments, the display 260 may be used to receive audio and video signals output by the audio processor and video processor, display video content and images, play audio of the video content, and display components of a menu manipulation interface.
In some embodiments, the display 260 may be used to present a user-operated UI interface generated in the display device 200 and used to control the display device 200.
In some embodiments, the display device 200 may establish control signal and data signal transmission and reception between the communicator 220 and the external control device 100 or the content providing device.
In some embodiments, the memory may include storage of various software modules for driving the display device 200. Such as: various software modules stored in the first memory, including: at least one of a base module, a detection module, a communication module, a display control module, a browser module, various service modules, and the like.
The base module is a bottom software module for communicating signals between the various hardware in the display device 200 and sending processing and control signals to the upper module. The detection module is used for collecting various information from various sensors or user input interfaces and carrying out digital-to-analog conversion and analysis management.
For example, the voice recognition module may include a voice parsing module and a voice command database module. The display control module can be used for controlling the display to display the image content and can be used for playing the multimedia image content, the UI interface and other information. And the communication module can be used for carrying out control and data communication with external equipment. And the browser module can be used for executing data communication between the browsing servers. And the service module is used for providing various services and various application programs. Meanwhile, the memory may also store images of various items in various user interfaces, visual effect patterns of the focus object, and the like, which receive external data and user data.
In some embodiments, the user interface may be used to receive control device 100, such as: an infrared control signal transmitted by an infrared remote controller, etc.
The power supply source may supply power to the display device 200 through power input from an external power source under the control of the controller 250.
In some embodiments, the display apparatus 200 may receive a control operation input by a user on the display interface by adding the receiver 280. For example, when the receiver 280 is a touch component, the touch component may together form a touch screen with the display 260. On the touch screen, a user can input different control instructions through touch operation, for example, the user can input touch instructions such as clicking, sliding, long pressing, double clicking and the like, and different touch instructions can represent different control functions.
To implement the different touch actions described above, the touch assembly 280 may generate different electrical signals when the user inputs the different touch actions, and transmit the generated electrical signals to the controller 250. The controller 250 may perform feature extraction on the received electrical signal to determine a control function to be performed by the user based on the extracted features.
For example, when a user enters a click touch action at any program icon location in the display interface of an application, the touch assembly 280 will sense the touch action and generate an electrical signal. After receiving the electrical signal, the controller 250 may determine the duration of the level corresponding to the touch action in the electrical signal, and recognize that the user inputs the click command when the duration is less than the preset time threshold. The controller 250 then extracts the location features generated by the electrical signals to determine the touch location. When the touch position is within the application icon display range, it is determined that a click touch instruction is input by the user at the application icon position. Accordingly, the clicking touch instruction is used for executing the application program corresponding to the running program chart or switching the function of the display interface in the current scene, that is, the controller 250 may start the running application program or control the display interface in the switching application program.
For another example, when the user inputs a sliding motion in the media presentation page, the touch assembly 280 also sends the sensed electrical signal to the controller 250. The controller 250 first determines the duration of the signal corresponding to the touch action in the electrical signal. When the duration time is determined to be longer than the preset time threshold value, the position change condition generated by the signal is judged, and obviously, the generation position of the signal changes for the sliding touch action, so that the user is determined to input a sliding touch instruction. The controller 250 then determines the sliding direction of the sliding touch command according to the change condition of the signal generating position, and controls the display interface to turn or scroll in the media display page so as to display more media options. Further, the controller 250 may further extract features such as a sliding speed and a sliding distance of the sliding touch instruction, and perform a page turning or scrolling screen control according to the extracted features, so as to achieve a following effect.
Similarly, for the touch instructions such as double-click and long-press, the controller 250 may extract different features, determine the type of the touch instruction through feature judgment, and execute corresponding control functions according to a preset interaction rule. In some embodiments, the touch assembly 280 also supports multi-touch so that a user can enter touch actions on the touch screen via multiple fingers, e.g., multi-finger clicks, multi-finger long presses, multi-finger swipes, etc.
In some embodiments, the receiver 280 may also be an external control component coupled to the display 260, such as a desktop computer, and the receiver 280 may be a mouse coupled to the display. The user can input different control instructions such as clicking, sliding, switching and other operation instructions through the mouse.
Accordingly, when the user performs different control operations on the external control unit, the external control unit may generate different control signals in response to the control operations of the user, and transmit the generated control signals to the controller 250. The controller 250 may perform feature extraction on the received control signal to determine a control function to be performed by the user according to the extracted features.
For example, when a user clicks a left mouse button at any position in a display interface of an application program through the external control component, the external control component can sense a control action to generate a control signal. After receiving the control signal, the controller 250 may control the stay time of the action at the position according to the control signal, and identify that the click command is input by the user through the external control component when the stay time is less than the preset time threshold. The clicking instruction is used for opening a corresponding interface of the application program or switching a display interface in the application program under the current scene, or controlling the position of a mouse cursor.
For another example, when a user inputs a sliding motion (e.g., a user sliding a mouse wheel) in the media presentation page through the external control assembly, the external control assembly also sends a sensed control signal to the controller 250. The controller 250 first determines the sliding distance of the sliding motion corresponding signal in the control signal. And when the sliding distance is determined to be larger than the preset distance threshold value, determining that the sliding instruction is input by the user. Meanwhile, the controller 250 judges the sliding direction of the sliding instruction according to the change condition of the position generated by the control signal, so as to control the page turning or scrolling of the display interface in the media display page, so as to display more media options. Further, the controller 250 may extract features such as a sliding speed and a sliding distance of the sliding instruction, and perform a page turning or scrolling screen control according to the extracted features, so as to achieve an effect of synchronizing the page turning speed with the sliding speed of the user.
In some embodiments, the receiver 280 may also be a control component coupled to the display 260, such as a desktop computer, for example, and the control component may be a keyboard coupled to the display. The user can input different control instructions such as clicking, sliding, switching and other operation instructions through the keyboard.
By way of example, the user may input a click command, a slide command, a switch command, etc. through the corresponding shortcut key. For example, the user may trigger the sliding operation by selecting the "Tab" key and the direction key, i.e., when the user selects the "Tab" key and the direction key simultaneously on the keyboard, the controller 250 may receive the key signal, determining that the user triggered the sliding operation. Then, the user can control the position identifier in the display interface to move through the directional key, and at the same time, the controller 250 can judge the sliding direction and the sliding distance of the sliding instruction according to the position change condition of the position identifier triggered by the directional key, and control to turn or scroll the display interface in the media asset display page so as to display more media asset options.
It will be appreciated that different operation instructions may be input through the control component described above, i.e. the user may input click operations, zoom operations, and switch operations through different operation modes, such as inputting different shortcuts.
The memory is a memory in the display device that temporarily stores operation data and data exchanged between the hard disk and an external memory, and is also called an internal memory. The capacity of the memory is one of the important factors affecting the operation of the display device, and if the redundant data in the memory cannot be timely released, the available capacity of the memory becomes small, so that the display device is slow to operate and even crashes.
Therefore, in order to solve the problem, in the embodiment of the invention, under the condition that the next control operation is not received within a preset time period after the control operation input by the user on the display interface is received, the content to be displayed and the content to be released corresponding to the control operation are obtained in response to the control operation, and then the display is controlled to display the content to be displayed and release the memory corresponding to the content to be released, so that a memory release scheme based on the user operation is realized, and the running stability of the display device is improved.
The following describes in detail a display control method based on a display device according to an embodiment of the present invention with reference to fig. 4.
The display control method provided by the embodiment of the invention can be applied to the display device 200 shown in fig. 3, and the display device 200 can include a display 260 and a controller 250 coupled to the display. As shown in fig. 4, the controller 250 is configured to perform the following steps S410 to S420:
in step S410, if the controller does not receive the next control operation within a preset time period after receiving the control operation, the controller responds to the control operation to obtain the content to be displayed and the content to be released corresponding to the control operation.
The preset duration is a time interval for judging whether two adjacent control operations are continuous operations, and specific values can be set according to actual requirements, for example, 10 milliseconds and the like. The content to be displayed refers to the content to be displayed on the display, and may be all or part of the content corresponding to the display interface, where the content corresponding to the display interface may include web pages, images, video and other display resources.
That is, the content to be displayed may be all or part of the display resource, for example, when the display resource is too large to be displayed in the display screen in its entirety, the content to be displayed is part of the display resource, and when the size of the display resource is smaller than or equal to the size of the display screen, the content to be displayed is or includes the entirety of the display resource. The content to be released refers to the content allowed to be released in the memory resource, and may include all the content that is not required to be displayed by the display, for example, for a plurality of pages, the display interface only needs to display the content of one page, while other pages are the content that is not required to be displayed, so that other pages can be used as the content to be released.
Fig. 5 shows a schematic diagram of a display interface, as shown in fig. 5, a display interface 500 displayed on a display screen includes a navigation bar 510 and a display area 520, where the navigation bar 510 is used to display navigation identifiers of different pages, and the display page in the display area 520 can be quickly switched by the navigation identifier of the corresponding page, for example, when a user selects a first navigation identifier from left to right, the content corresponding to the first navigation identifier is displayed in the display area 520. The display area 520 is used for displaying content corresponding to the navigation identifier, such as displaying content corresponding to the first navigation identifier.
The content to be displayed refers to a content to be displayed on the display interface, for example, in the display interface 500 shown in fig. 5, the content to be displayed is a content displayed in the display area 520, and the content to be released may include all the content not displayed in the display area 520, for example, may include a content corresponding to the second navigation identifier and a content corresponding to the third navigation identifier, and a content not displayed in the display area 520 in the content corresponding to the first navigation identifier.
After receiving the control operation input by the user on the display interface, the controller can judge whether the next control operation is received within a preset time period, and if the next control operation is not received within the preset time period, the controller indicates that the two control operations input by the user on the display interface are discontinuous, namely, after the control operation is input by the user, the controller is in a waiting state, and the next control operation is not input or the time for inputting the next control operation is later. Therefore, the controller can respond to the control operation and acquire the content to be displayed and the content to be released corresponding to the control operation.
When the content to be displayed corresponding to the control operation is obtained, the controller can determine the content to be displayed according to the operation instruction corresponding to the control operation. For example, when the display is a touch screen having a touch control function, a user may input a control operation through the touch screen, such as an input that can slide a finger from one position of the touch screen to another, completing a sliding operation.
Then, the controller can receive the electrical signal of the sliding operation, and determine the sliding direction and the sliding distance of the sliding operation according to the touch points corresponding to the electrical signal and the residence time of each touch point, so as to calculate the display content corresponding to the display interface according to the sliding direction and the sliding distance, and obtain the content to be displayed.
As previously described, the display may be used to display a display interface of an application. In some embodiments, the application may include a browser application that may be used to retrieve, expose, and communicate Web information resources.
Taking a browser application as an example, fig. 6 shows a schematic diagram of a display interface provided by the present invention, and as shown in fig. 6, the display interface 600 is a display interface of the browser application, where the display interface 600 may include a navigation bar 610 and a display area 620, the navigation bar 610 may be used to display navigation panes of respective web pages, and when a user selects a certain navigation pane, the display area 620 will display contents of the navigation pane. At this time, the content displayed in the display area 620 is the content corresponding to the navigation pane "web page 1".
In this embodiment, the control operation may include any one of a sliding operation, a zooming operation, and a switching operation, where the switching operation may be used to switch the display interface of the application program.
The sliding operation refers to the operation of a sliding display interface input by a user, and can be a sliding touch operation input by a touch component, or a sliding operation input by an external control component, such as a sliding operation input by controlling a mouse wheel to roll or a sliding operation input by a body sense gesture.
As shown in fig. 6, when the user inputs the sliding operation by means of the single-finger dragging, the controller may determine the "moving distance" and "moving direction" of the content of "web page 1" according to the sliding direction and distance of the finger of the user, and may locate the position and area where the content to be displayed is located, so as to obtain the content to be displayed. As shown in fig. 7, the user can control the content of the web page 1 to "move down" by a sliding operation, thereby presenting a screen as shown in the display interface 700.
The zooming operation refers to the operation of zooming in or zooming out the display interface input by the user, and on a display with a touch function, such as a touch screen, the user can gather two fingers to finish the operation of inputting and zooming out the display interface, or keep the two fingers away from each other to finish the operation of zooming in the display interface. For another example, the user may also perform the zoom operation through an external control component, such as a mouse and a keyboard connected to the display, or may also input the zoom operation through a corresponding somatosensory gesture.
The switching operation is an operation of switching the display interface, which is input by a user. Specifically, on a touch screen having a touch function, a user can input a switching operation through a finger-click action. On a display having a key control function, the user may also input a switching operation by pressing a corresponding shortcut key. For example, the user may press the "Tab" key and the direction key simultaneously to control the display interface to switch in the direction indicated by the direction key.
For another example, the user may input the switching operation through the external control component, for example, may control the cursor in the display interface to be at a specific position through the mouse, and press the left mouse button to implement the input of the switching operation, or may input the somatosensory switching operation through the somatosensory receiver.
In some embodiments, when the control operation is a zoom operation, the user may implement enlargement and reduction of the display interface through the zoom operation. When the display interface is enlarged, the enlarged area in the display interface is enlarged and displayed, and part of the edge area can not be displayed any more due to overflowing of the screen, and when the display interface is reduced, the display interface can display more contents, and the display proportion of the contents in the original display interface is reduced. Based on this, referring to fig. 8, the controller may be configured to perform the steps of:
Step S810, determining a scaling parameter corresponding to the scaling operation.
Wherein the scaling parameters may include a scaling position and a scaling scale. The zoom position can be determined according to the position of the user triggering the zoom operation, for example, the position clicked by the finger or the position where the mouse cursor is positioned when the user triggering the zoom operation; the scaling may be determined based on the magnitude of the user-triggered scaling operation. And the magnitude of the user triggering the zoom operation may be determined according to the manner of triggering the zoom operation, etc.
For example, when the user triggers the zoom operation by gathering the two fingers, the controller may determine the zoom ratio according to a distance between a position point of the two fingers at the start of gathering and a position point of the completion of gathering when the user triggers the zoom operation, the greater the distance, the higher the zoom ratio indicating the user-triggered zoom operation, and conversely, the smaller the distance, the smaller the zoom ratio indicating the user-triggered zoom operation.
For another example, the user may initiate a zoom operation by selecting a trigger control or shortcut of the zoom operation, and then control the zooming in and out of the display interface by selecting either "+" or "-" displayed on the display. Thus, after detecting that the user triggers the zoom operation, the controller may determine the scale of the zoom operation according to the location where the user triggers the zoom operation and the number of times "+" or "-" is selected. Assuming that the user selects "+" for 5% each time, the user selects N "+" for 5N% of the scale.
The scaling parameters may also be determined in other ways, depending on the implementation of the scaling operation. For example, assuming that the user triggers the zoom operation through the mouse, the zoom position may be a position of the cursor when the user triggers the zoom operation through the mouse, and the zoom scale may be determined according to an angle at which the user scrolls the mouse wheel, the larger the angle, the smaller the angle, and the smaller the zoom scale.
Step S820, determining the content to be displayed according to the content and the zoom parameter corresponding to the display interface.
According to the content corresponding to the display interface and the scaling parameter, the controller can calculate the display proportion of the content corresponding to the display interface according to the scaling parameter, determine the content range displayed on the display and obtain the content to be displayed.
For example, the controller may determine a zoom center and a zoom amplitude of the display interface according to the content, the zoom position, and the zoom scale corresponding to the display interface, so that the content corresponding to the display interface is subjected to zoom calculation according to the zoom scale with the zoom position as the zoom center, so as to determine a content range of the content corresponding to the display interface, and determine the content to be displayed.
For another example, the controller may also perform scaling calculation on the content corresponding to the display interface at the current time according to the scaling parameter according to the display position and the display content of the content corresponding to the display interface at the current time, and determine the content to be displayed.
Step S830, determining the content to be released according to the content to be displayed and the content corresponding to the display interface.
The content to be released is the content except the content to be displayed in the content corresponding to the display interface.
After determining the content to be displayed, the controller can determine the content except the content to be displayed in the display interface according to the content corresponding to the display interface and the content to be displayed, and obtain the content to be released. For example, when the content corresponding to the display interface includes the content of a plurality of pages, the content of the other pages than the page corresponding to the content to be displayed may be determined as the content to be released.
In some embodiments, the user-entered zoom operation may be a continuous zoom operation. For example, when a user continuously performs a zoom operation with a finger on the touch screen, after completing gathering or moving away of two fingers on the touch screen, the finger is lifted from the touch screen and gathered or moved away again, and when the time interval between two adjacent zoom operations is smaller than the zoom time threshold, the zoom operations are indicated to be continuous, that is, the user triggers the continuous zoom operation.
Therefore, the controller can determine the content to be displayed and the content to be released corresponding to the continuous zooming operation according to the zooming parameter of each zooming operation corresponding to the continuous zooming operation.
For example, the controller may add the scaling corresponding to each scaling operation in the continuous scaling operation according to the scaling position and the scaling corresponding to each scaling operation, to obtain the scaling corresponding to the continuous scaling operation, and determine the center position of the scaling position corresponding to all the scaling operations as the scaling center of the continuous scaling operation. Then, according to the zoom center and the zoom scale corresponding to the continuous zoom operation, calculating the content corresponding to the display interface, determining the content range of the content corresponding to the display interface, obtaining the content to be displayed, and determining other contents except the content to be displayed as the content to be released.
Through the steps, the controller can respond to the zoom operation input by the user to determine the content to be displayed and the content to be released corresponding to the zoom operation.
In some embodiments, the control operation may be a sliding operation, and the user may control the display screen to scroll or page display by inputting the sliding operation. When the user inputs the sliding operation, the controller can control the content corresponding to the display interface to move towards the sliding direction according to the sliding direction, the sliding distance and the like of the sliding operation, so that the visual effect of the user dragging the content corresponding to the display interface to move is displayed.
In order to determine the content to be displayed and the content to be released corresponding to the sliding operation, referring to fig. 9, the controller may be configured to perform the steps of:
step S910, determining a sliding parameter corresponding to the sliding operation.
The sliding parameters include a sliding distance and a sliding direction. The sliding distance may be determined according to a distance of the user sliding operation, for example, the sliding distance may be equal to the distance of the user sliding operation, or the sliding distance may be obtained by multiplying the distance of the user sliding operation by a corresponding conversion ratio. In addition, the sliding parameters may include other parameters, such as a sliding direction, which may be the same as or different from the direction of the sliding operation of the user, such as a left-to-right direction of the sliding operation of the user, or a left-to-right direction of the sliding operation, or a right-to-left direction.
For example, when the user slides a finger on the touch screen and the sliding distance is greater than a certain distance, it may be regarded that the user triggers the sliding operation. At this time, the controller may determine the sliding parameters, i.e., the sliding distance and the sliding direction, according to the changing track and the changing direction of the position point when the user triggers the sliding operation.
For another example, when the user controls the display through an external control unit such as a keyboard, the sliding operation may be input through keys on the keyboard, such as direction keys. At this time, the controller may determine the sliding distance and the sliding direction according to the indication direction in which the user presses the direction key, the duration or the number of times the direction key is pressed, and the like. In general, the longer the duration of time that the user presses the direction key, or the more times, the longer the sliding distance.
Step S920, determining the content to be displayed according to the content and the sliding parameters corresponding to the display interface.
After determining the sliding parameter, the controller may calculate, according to the sliding parameter, a display parameter, such as a display position, of the content corresponding to the display interface, so as to determine the content to be displayed. The content to be displayed may be all or part of the content corresponding to the display interface.
For example, when the content corresponding to the display interface is not displayed in the display, the user may control the content corresponding to the display interface to "move" on the display through the sliding operation, so that the user can see the content corresponding to all the display interfaces. When the controller receives the sliding operation input by the user each time, the controller can calculate the moving distance and the moving direction of the content corresponding to the display interface according to the sliding direction and the sliding distance, so as to determine the content to be displayed after sliding.
Step S930, determining the content to be released according to the content to be displayed and the content corresponding to the display interface.
The content to be released is the content except the content to be displayed in the content corresponding to the display interface.
According to the content corresponding to the display interface and the content to be displayed, the controller can 'remove' the content to be displayed from the content corresponding to the display interface, and the obtained residual content is the content to be released.
In some embodiments, the user-entered sliding operation may be a continuous sliding operation. For example, when a user slides a finger continuously in a certain direction on the touch screen, and after one sliding operation is completed, the finger is lifted from the touch screen and slides again, and when the time interval between two adjacent sliding operations is smaller than the sliding time threshold, it indicates that the two sliding operations are continuous, that is, the user triggers the continuous sliding operation.
Therefore, the controller can determine the content to be displayed and the content to be released corresponding to the continuous sliding operation according to the scaling parameters of each sliding operation corresponding to the continuous sliding operation.
For example, the controller may add the corresponding sliding distances for each sliding operation according to the sliding direction and the sliding distance for each sliding operation, and obtain the sliding distance and the sliding direction for the continuous sliding operation. Then, according to the sliding distance and the sliding direction corresponding to the continuous sliding operation, calculating the content corresponding to the display interface, determining the content range of the content corresponding to the display interface, obtaining the content to be displayed, and determining the other content except the content to be displayed as the content to be released.
By the method, the controller can respond to the sliding operation input by the user to determine the content to be displayed and the content to be released corresponding to the sliding operation.
In some embodiments, the control operation may be a switching operation that may be used to switch the display interface to the target interface. The target interface is an interface which is expected to be displayed by a user. Through the switching operation, the user can switch the content corresponding to the display interface so as to switch one page into another page.
Specifically, referring to fig. 10, the controller may be configured to perform the steps of:
step S1010, determining the content of the target interface corresponding to the switching operation.
The switching operation may be an operation of clicking a certain page on the touch screen with a finger by a user, or an operation of selecting a certain page input by the user through an external control component. For example, when the user clicks with a finger or mouse on a page identification in the navigation bar 610 as shown in fig. 6: when "page 2", the controller may receive the switching operation, and may determine that the position is at the position of "page 2" in the navigation bar 610 according to the position clicked when the user triggers the switching operation, so that the target interface corresponding to the switching operation may be determined to be "page 2".
For another example, when the user inputs a switching operation through a key, the controller may determine a next display interface corresponding to the display interface according to a switching direction indicated by the key, thereby determining the next display interface as a target interface. Taking the display interface shown in fig. 6 as an example, when the user presses the "Tab" key and the "right direction" key at the same time, the controller may receive the switching operation and determine that the page moving one frame rightward from "page 1" is "page 2", so that it may also determine that the target interface corresponding to the switching operation is "page 2".
Step S1020, determining the content to be displayed according to the content of the target interface.
For example, the controller may determine whether the contents of the target interface can be displayed entirely on the display according to the size of the contents of the target interface, and if so, the contents to be displayed may include the entire contents of the target interface, and if not, the contents to be displayed may be part of the contents of the target interface.
Step S1030, determining the content to be released according to the content of the target interface and the content to be displayed.
The content to be released comprises content corresponding to the display interface. That is, after determining the content of the target interface corresponding to the switching operation, the content of the target interface is the content that needs to be displayed on the display, so the content corresponding to the display interface that does not need to be displayed on the display any more can be determined as the content to be released.
In some embodiments, if the content of the target interface cannot be displayed on the display according to the original size, the content to be released may further include the content corresponding to the target interface that cannot be displayed on the display.
In some embodiments, the user-entered switching operation may be a continuous switching operation. For example, the user may continuously click the page pane to be toggled with a finger on the touch screen, indicating that two consecutive toggle operations are consecutive when the time interval between two adjacent click operations is less than the toggle time threshold, i.e., the user triggered the consecutive toggle operation.
Therefore, the controller can determine the content of the page corresponding to the last click position as the content to be displayed and the content of other pages except the content to be displayed as the content to be released according to the click position of each switching operation corresponding to the continuous switching operation.
By the method, the content to be displayed and the content to be released can be determined in response to the switching operation input by the user.
In step S420, the controller controls the display to display the content to be displayed, and releases the memory corresponding to the content to be released.
In order to facilitate the user to view the content to be displayed, when determining the content to be displayed and the content to be released, the controller may control the display to display the content to be displayed, and in order to reduce the memory occupied by the application program, the controller may release the memory occupied by the content to be released.
When the memory corresponding to the content to be released is released, the controller can delete the data of the content to be released in the memory, so that the purpose of releasing the memory is achieved.
In some embodiments, since the manner in which the user triggers the zoom operation, the slide operation, and the switch operation is different, when determining whether the control operation triggered by the user is the continuous zoom operation, the continuous slide operation, and the continuous switch operation, it may be determined whether the control operation is the continuous control operation according to the time interval between the adjacent two control operations according to the difference in operation types.
For example, for zoom operations, when the time interval between each adjacent two zoom operations is less than a first time threshold, such as 15ms, it is determined that these zoom operations are consecutive, i.e., are consecutive zoom operations.
For the switching operations, when the time interval between each two adjacent switching operations is smaller than the second time threshold, for example, 100ms, it is determined that the switching operations are continuous, that is, continuous switching operations.
By the method, the memory management method based on user operation can be realized, and the memory is controlled to be released in time, so that the running stability of the display equipment is improved.
Further, in some embodiments, as shown in fig. 11, the controller may be further configured to perform the steps of:
Step S1110, detecting the available memory corresponding to the application program according to the preset period.
In order to monitor the memory condition of the application program, the controller may detect the available memory corresponding to the application program according to a preset period. The preset period can be set according to the running requirement of the application program, for example, can be set to be 1min, 10min and the like.
Step S1120, determining the content corresponding to the display interface and the content displayed by the display interface when the available memory corresponding to the application program is less than the memory threshold.
When the available memory corresponding to the application program is smaller than the memory threshold, the redundant memory of the application program in the memory space is more, so that the controller can determine the content corresponding to the display interface and the content displayed by the display interface according to the running condition of the display device at the moment. The memory threshold may be set according to the hardware update of the display device, such as the memory capacity.
If the content displayed by the display interface is not identical to the content corresponding to the display interface, the content displayed by the display interface is indicated not to be displayed on the display.
Step S1130, determining the content to be released according to the content corresponding to the display interface and the content displayed by the display interface.
The content to be released is the content except the content displayed by the display interface in the content corresponding to the display interface.
In other words, when the controller detects the available memory corresponding to the application program according to the preset period, it may determine, as the content to be released, the content that is not displayed in the content corresponding to the display interface and the content of other pages according to whether the display interface includes a plurality of pages and whether the display interface includes all the content corresponding to the display interface.
Fig. 12 shows a flowchart of another display control method provided by an embodiment of the present invention, and as shown in fig. 12, the controller may be configured to perform the following steps:
in step S1210, a memory threshold is set according to the hardware information of the display device.
The hardware information may include, among other things, a memory capacity of the display device.
The controller or operator may set the memory threshold of the application program according to the memory capacity of the display device, the running memory of the application program, and the like.
It is understood that, before step S1210, the controller may further perform an initialization process on the memory space occupied by the application program, such as clearing the data occupying the memory space of the application program.
Step S1220, a control operation of the display interface input by the user is received, and an operation type of the control operation is determined.
Upon receiving the control operation, the controller may determine an operation type of the control operation, such as a slide operation or a zoom operation, a switch operation, or the like.
Specifically, the controller may determine whether the control operation is an operation for the same page according to operation parameters of the control operation, such as a position, time, and duration of the control operation, a position at each time within the duration, and the like. When the control operation is an operation for the same page, it may be further determined whether the control operation is a zoom operation or a slide operation.
When the control operation is not an operation for the same page, it may be further determined whether the control operation is a switching operation, for example, whether the position is a navigation identification area of the page to be switched when the control operation is triggered by the user, and if so, it is determined that the control operation is a switching operation.
In step S1230, it is detected whether the available memory corresponding to the application program is smaller than the memory threshold. If yes, step S1240 is executed to determine the content to be released, and the memory corresponding to the content to be released is released; if not, step S1250 is performed to detect the available memory corresponding to the application program according to the preset period.
Step S1240, determining the content to be released, and releasing the memory corresponding to the content to be released.
For example, the controller may determine, according to the content corresponding to the display interface and the displayed content, the content that is not displayed as the content to be released, and then control the display device to release the memory corresponding to the content to be released.
In step S1250, the available memory corresponding to the application program is detected according to the preset period.
If the available memory corresponding to the application program is greater than or equal to the memory threshold, the application program is indicated to occupy less memory, the memory is not required to be released, and the periodic memory detection method is only required to be continuously executed in a circulating way, namely the available memory corresponding to the application program is detected according to the preset period.
By the method, the memory resource of the display device can be periodically detected, and when the available memory of the application program is detected to be smaller than the memory threshold value, the memory corresponding to the content to be released is released, so that the running stability of the display device can be improved.
In the method for detecting the available memory of the application program at fixed time, whether the available memory of the application program is insufficient or not is judged every time the detection time is reached, and then the memory corresponding to the content to be released is released when the available memory is insufficient, so that the purpose of releasing the memory can be achieved, but the situation that the detection period is not reached and the application program occupies a lot of memory possibly occurs, and at the moment, the operation of the display device in a period of time can be influenced because the memory release is not performed.
Therefore, in order to solve this problem, fig. 13 shows a flowchart of another display control method provided by the embodiment of the present invention, and as shown in fig. 13, the controller may perform memory management by:
in step S1310, a memory threshold is set according to the hardware information of the display device.
The hardware information may include, among other things, a memory capacity of the display device.
Step S1320, a control operation of the display interface input by the user is received, and an operation type of the control operation is determined.
Specifically, the controller may determine which of the zoom operation, the slide operation, and the switch operation the control operation is based on the operation parameter of the control operation.
Step S1330, determining whether to trigger the continuous control operation according to the number of operations of the control operation and the operation time interval between every two adjacent control operations. If yes, step S1340 is performed, and if not, step S1350 is performed.
For control operations of the same operation type, such as scaling operations, if multiple scaling operations are received, the controller may determine whether an operation time interval between every two adjacent scaling operations is smaller than a scaling time interval according to an operation number of the scaling operations and an operation time interval between every two adjacent scaling operations, and if so, determine that all scaling operations are continuous, and are continuous scaling operations.
In some embodiments, it may also be determined whether the user triggers a continuous control operation based on the number of frame refreshes of the display device. Taking a browser application program as an example, when a user performs gesture operation in the same page, if the user input sliding operation is detected, and the kernel of the browser application program continuously detects frame refreshing for a plurality of times, and the time interval of each frame refreshing is within a certain operation time interval, it can be determined that the user triggers the continuous sliding operation.
For another example, if a user input zoom operation is detected and the kernel detects a frame refresh a number of times in succession, and the time interval of each frame refresh is within the above-described operation time interval, it may be determined that the user triggered the continuous zoom operation.
Step S1340, determining the content to be released according to the continuous control operation, and releasing the memory corresponding to the content to be released.
Specifically, the controller may calculate, according to operation parameters, such as an operation position, an operation time, and an operation duration, of each control operation corresponding to the continuous control operation, display contents of the display interface after the continuous control operation is completed, to obtain contents to be displayed, then determine other contents except for the contents to be displayed as contents to be released, and release a memory corresponding to the contents to be released.
In step S1350, the content to be released is determined according to the control operation, and the memory corresponding to the content to be released is released.
Under the condition that the control operation is discontinuous, the controller can respond to each control operation input by a user, determine the display content of the display interface corresponding to the control operation according to the operation parameters of each control operation, such as the operation position, the operation time and the like, obtain the content to be displayed, then determine the other content except the content to be displayed as the content to be released, and release the memory corresponding to the content to be released.
In step S1360, it is detected whether the available memory corresponding to the application program is smaller than the memory threshold. If yes, executing step S1370, determining the content to be released, and releasing the memory corresponding to the content to be released; if not, step S1380 is executed to detect the available memory corresponding to the application program according to the preset period.
In step S1370, the content to be released is determined, and the memory corresponding to the content to be released is released.
Step S1380, detecting the available memory corresponding to the application program according to the preset period.
Through the method, memory management based on user operation and memory management based on periodic detection can be realized, and by combining the two modes, the application program can be ensured to have enough available memory, and the running stability of the display equipment is improved.
It should be noted that, the specific embodiments of the steps S1360 to S1380 can refer to the relevant contents of the steps S1230 to 1250, and the description thereof is omitted herein for avoiding repetition.
Fig. 14 is a flowchart of a memory management method of a browser application according to an embodiment of the present invention, and as shown in fig. 14, memory management may be divided into four phases, i.e., memory monitoring, memory determination, memory release, and interface rendering, according to a browser memory operation mode.
In the memory monitoring stage, the controller may acquire hardware information of the display device, web page data of the browser application program, and the like. The controller can determine a memory threshold value of the timing detection memory according to the hardware information, and can also determine the running state of the browser application program, the running state of the display device, such as the number of interface updating times in unit time, and the like, and can determine the content displayed by the browser application program, such as the content displayed by the current page, the number of opened pages, the content, and the like, according to the webpage data of the browser application program.
In the memory determination stage, the controller may detect whether the available memory corresponding to the application program is less than the memory threshold by executing step S1410. If it is determined that the available memory corresponding to the application program is smaller than the memory threshold, step S1420 is executed to determine the content to be released, and release the memory corresponding to the content to be released, where the content to be released may be all the contents except the content displayed on the display interface at the current time. If it is determined that the available memory of the application program is not less than the memory threshold, step S1430 is performed, and the available memory corresponding to the application program is continuously detected according to the preset period.
In the interface rendering stage, the controller may receive a control operation input by a user on the display interface by performing step S1440, and then perform step S1450 to determine an operation type of the control operation, such as a zoom operation or a slide operation, or a switch operation, according to operation parameters such as the operation number and operation time of the control operation, and determine whether to trigger a continuous control operation when the control operation occurs multiple times, which is whether to continue between the control operations of the same operation type.
Then, the controller may perform step S1460 to determine the content to be displayed and the content to be released corresponding to the control operation. Taking the control operation as an example of the scaling operation, the controller may calculate, according to scaling parameters of the scaling operation, such as a scaling position and a scaling scale, what should be displayed in the display interface after scaling is completed, obtain the content to be displayed, and determine other content except the content to be displayed as the content to be released.
After determining the content to be released and the content to be displayed, the controller may perform step S1420 of releasing the content to be released and step S1470 of controlling the display screen to display the content to be displayed.
In summary, according to the display device and the display control method provided by the embodiment, a control operation input by a user on a display interface can be received, and in the case that a next control operation is not received within a preset time period after the control operation is received, in response to the control operation, the content to be displayed and the content to be released corresponding to the control operation are obtained, the display is controlled to display the content to be displayed, and the memory corresponding to the content to be released is released, so that the memory release based on the user operation is realized, the possibility that the operation of the display device is affected due to the fact that the memory release is not time-consuming is reduced, and the operation stability of the display device is improved.
Further, taking a browser application program as an example, fig. 15 shows a schematic architecture diagram of a display control system provided by the present invention, where the display control system may enable a controller to implement the above display control method, and as shown in fig. 15, the display control system of the browser application program sequentially includes, from bottom to top, a bottom platform, a middleware module, a chrome kernel, a browser interface layer, and a web page layer.
The bottom layer platform is an operating system supporting layer and is used for providing needed software and hardware resources. The middleware module may provide modules and functions such as television middleware, system input, graphics, multimedia, system application management, and the like.
The chromaum kernel refers to the most central part of the browser, and is responsible for interpreting the webpage languages (e.g., one application HTML, javaScript in standard generic markup language) and rendering (displaying) the webpage. In general, the chrome kernel, i.e., the rendering engine employed by the browser, determines how the browser displays the content of the web page and the format information of the page. Specifically, as shown in fig. 15, the link is a browser typesetting engine, the V8 is an open-source Javascript engine, the Memory Cache is a browser Cache, the Content is a general module of the browser, and some simple and easy interfaces are provided for developers.
The Chromium kernel and the browser interface layer jointly execute web application control, specifically, the browser interface layer can provide loading control, window management, background control and other control functions, for example, control operation of a display interface which can be used for processing user input is transmitted to the Chromium kernel, so that the Chromium kernel triggers memory release of an application program through the display control method, and then a middleware module and a bottom platform interface are called to complete memory release.
The webpage layer is used for collecting and processing control operations input by a user on the display interface and transmitting the control operations to the browser interface layer. The UI interface is used to display pages of different web applications, such as web application 1, web application 2, web application 3 … …, web application N, and the like, which are shown in fig. 15.
Through the system, the memory can be controlled to be released in time according to the control operation input by the user, so that the memory management with higher definition degree is realized, and the original kernel memory management is not influenced.
Fig. 16 is a schematic structural diagram of a display control device according to an embodiment of the present invention. As shown in fig. 16, the display control apparatus 1600 includes: a receiving module 1610, configured to receive a control operation input by a user on a display interface; an obtaining module 1620, configured to, in response to a control operation, obtain content to be displayed and content to be released corresponding to the control operation when a next control operation is not received within a preset time period after the control operation is received; the control module 1630 is configured to control the display to display the content to be displayed, and release the memory corresponding to the content to be released.
In an alternative manner, the control operation includes any one of a slide operation, a zoom operation, and a switching operation for switching the display interface of the application program.
In an alternative manner, the control operation is a scaling operation, and the obtaining module 1620 may be configured to determine a scaling parameter corresponding to the scaling operation, where the scaling parameter includes a scaling position and a scaling scale; determining the content to be displayed according to the content and the scaling parameters corresponding to the display interface; determining content to be released according to the content to be displayed and the content corresponding to the display interface; the content to be released is the content except the content to be displayed in the content corresponding to the display interface.
In an alternative manner, the control operation is a sliding operation, and the obtaining module 1620 may be configured to determine a sliding parameter corresponding to the sliding operation, where the sliding parameter includes a sliding distance and a sliding direction; determining the content to be displayed according to the content and the sliding parameters corresponding to the display interface; determining content to be released according to the content to be displayed and the content corresponding to the display interface; the content to be released is the content except the content to be displayed in the content corresponding to the display interface.
In an optional manner, the control operation is a switching operation, where the switching operation is used to switch the display interface to the target interface, and the obtaining module 1620 may be used to determine the content of the target interface corresponding to the switching operation; determining the content to be displayed according to the content of the target interface; determining content to be released according to the content of the target interface and the content to be displayed; the content to be released comprises content corresponding to the display interface.
In an optional manner, the acquiring module 1620 is further configured to detect, according to a preset period, an available memory corresponding to the application program; determining the content corresponding to the display interface and the content displayed by the display interface under the condition that the available memory corresponding to the application program is smaller than a memory threshold value; and determining the content to be released according to the content corresponding to the display interface and the content displayed by the display interface, wherein the content to be released is the content except the content displayed by the display interface in the content corresponding to the display interface.
In an alternative, the application comprises a browser application.
Correspondingly, the specific details of each part in the display control apparatus are already described in detail in the embodiment of the display device part, and the details not disclosed can be referred to the embodiment of the display device part, so that the details are not described again.
An embodiment of the present invention provides a computer readable storage medium storing at least one executable instruction that, when executed on a display apparatus/device, causes the display apparatus/device to perform a display control method in any of the above-described method embodiments.
The executable instructions may be particularly useful for causing a display device/apparatus to: under the condition that the next control operation is not received within a preset time period after the control operation is received, responding to the control operation, and acquiring the content to be displayed and the content to be released corresponding to the control operation; and controlling the display to display the content to be displayed and releasing the memory corresponding to the content to be released.
In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. In addition, embodiments of the present invention are not directed to any particular programming language.
In the description provided herein, numerous specific details are set forth. It will be appreciated, however, that embodiments of the invention may be practiced without such specific details. Similarly, in the above description of exemplary embodiments of the invention, various features of embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. Wherein the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Except that at least some of such features and/or processes or elements are mutually exclusive.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specifically stated.

Claims (10)

1. A display device, characterized by comprising:
a display configured to display a display interface of an application program;
a receiver configured to receive a control operation input by a user on the display interface;
a controller coupled with the display, the controller configured to:
under the condition that the next control operation is not received within a preset time period after the control operation is received, responding to the control operation, and acquiring the content to be displayed and the content to be released corresponding to the control operation;
and controlling the display to display the content to be displayed, and releasing the memory corresponding to the content to be released.
2. The display apparatus according to claim 1, wherein the control operation includes any one of a slide operation, a zoom operation, and a switching operation for switching a display interface of the application program.
3. The display device of claim 2, wherein the control operation is the zoom operation, the controller configured to:
determining a scaling parameter corresponding to the scaling operation, wherein the scaling parameter comprises a scaling position and a scaling scale;
determining the content to be displayed according to the content corresponding to the display interface and the scaling parameter;
Determining the content to be released according to the content to be displayed and the content corresponding to the display interface; the content to be released is the content except the content to be displayed in the content corresponding to the display interface.
4. The display device according to claim 2, wherein the control operation is the sliding operation, the controller being configured to:
determining sliding parameters corresponding to the sliding operation, wherein the sliding parameters comprise a sliding distance and a sliding direction;
determining the content to be displayed according to the content corresponding to the display interface and the sliding parameter;
determining the content to be released according to the content to be displayed and the content corresponding to the display interface; the content to be released is the content except the content to be displayed in the content corresponding to the display interface.
5. The display device according to claim 2, wherein the control operation is the switching operation for switching the display interface to a target interface, the controller being configured to:
determining the content of a target interface corresponding to the switching operation;
determining the content to be displayed according to the content of the target interface;
Determining the content to be released according to the content of the target interface and the content to be displayed; the content to be released comprises content corresponding to the display interface.
6. The display device of any one of claims 1-5, wherein the controller is further configured to:
detecting the available memory corresponding to the application program according to a preset period;
determining the content corresponding to the display interface and the content displayed by the display interface under the condition that the available memory corresponding to the application program is smaller than a memory threshold value;
and determining the content to be released according to the content corresponding to the display interface and the content displayed by the display interface, wherein the content to be released is the content except the content displayed by the display interface in the content corresponding to the display interface.
7. The display device of any of claims 1-5, wherein the application comprises a browser application.
8. A display control method, characterized in that the method comprises:
receiving control operation input by a user on a display interface;
under the condition that the next control operation is not received within a preset time period after the control operation is received, responding to the control operation, and acquiring the content to be displayed and the content to be released corresponding to the control operation;
And controlling the display to display the content to be displayed, and releasing the memory corresponding to the content to be released.
9. A display control apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving control operation input by a user on the display interface;
the acquisition module is used for responding to the control operation to acquire the content to be displayed and the content to be released corresponding to the control operation under the condition that the next control operation is not received within a preset time period after the control operation is received;
and the control module is used for controlling the display to display the content to be displayed and releasing the memory corresponding to the content to be released.
10. A computer readable storage medium having stored therein at least one executable instruction that, when executed on a display device, causes the display device to perform the operations of the display control method of claim 8.
CN202310167339.XA 2023-02-24 2023-02-24 Display device, display control method, device and storage medium Pending CN117809544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310167339.XA CN117809544A (en) 2023-02-24 2023-02-24 Display device, display control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310167339.XA CN117809544A (en) 2023-02-24 2023-02-24 Display device, display control method, device and storage medium

Publications (1)

Publication Number Publication Date
CN117809544A true CN117809544A (en) 2024-04-02

Family

ID=90428558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310167339.XA Pending CN117809544A (en) 2023-02-24 2023-02-24 Display device, display control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN117809544A (en)

Similar Documents

Publication Publication Date Title
CN109618206B (en) Method and display device for presenting user interface
US10613701B2 (en) Customizable bladed applications
WO2021114529A1 (en) User interface display method and display device
CN111970549B (en) Menu display method and display device
CN112506400A (en) Page information voice broadcasting method and display device
CN111897478A (en) Page display method and display equipment
CN112188249B (en) Electronic specification-based playing method and display device
CN111104020B (en) User interface setting method, storage medium and display device
CN111954059A (en) Screen saver display method and display device
CN111901646A (en) Display device and touch menu display method
WO2021109411A1 (en) Text type conversion method and display device
CN113747216B (en) Display device and touch menu interaction method
CN112328553A (en) Thumbnail capturing method and display device
CN114157889A (en) Display device and touch-control assistance interaction method
CN111984167A (en) Rapid naming method and display device
CN113747214A (en) Display device and touch menu interaction method
CN112235621B (en) Display method and display equipment for visual area
CN111935530B (en) Display equipment
CN112040297B (en) Page turning method of EPG page and display equipment
CN111787350B (en) Display device and screenshot method in video call
CN117809544A (en) Display device, display control method, device and storage medium
CN111988649A (en) Control separation amplification method and display device
CN112367550A (en) Method for realizing multi-title dynamic display of media asset list and display equipment
CN112199560B (en) Search method of setting items and display equipment
CN114281284B (en) Display apparatus and image display method

Legal Events

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