Data display method and device
A data and monitoring data technology, applied in the field of communication and Internet, can solve problems such as system or application crash, small buffer area, and poor data display effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] A data presentation method disclosed in the embodiment of the present invention is introduced in detail.
[0045] refer to figure 1 , shows a flowchart of a data presentation method in an embodiment of the present invention.
[0046] Step 100, initially setting the cache threshold of the data cache area.
[0047] The above step 100 may set the cache threshold of the data cache area used for data presentation in the initialization phase of data presentation.
[0048] Data display refers to the presentation and display of data. According to different data types, the data presentation can also be divided into different cases, for example, when the data is an audio or video file, the data presentation can be audio playback or video playback.
[0049] Wherein, the cache threshold may be a ratio of the capacity of an area in the data cache for caching data to the capacity of the data cache.
[0050] For example, during initialization, you can set the capacity of the data ...
Embodiment 2
[0056] A data presentation method disclosed in the embodiment of the present invention is introduced in detail.
[0057] refer to figure 2 , shows a flowchart of a data presentation method in an embodiment of the present invention.
[0058] Step 200, initially setting the cache threshold of the data cache area.
[0059] The cache threshold may be a ratio of the capacity of an area in the data cache for caching data to the capacity of the data cache.
[0060] Preferably, the above step 200 may include:
[0061] Sub-step 2001, monitor the ratio of the remaining physical memory to the total system memory.
[0062] Wherein, the above-mentioned total system memory may be all physical memory of the system where the above-mentioned data display is located, and the above-mentioned remaining physical memory may be free physical memory in the system where the above-mentioned data display is located.
[0063] For example, the system structure sysinfo can be generated, the memory str...
Embodiment 3
[0083] A data presentation method disclosed in the embodiment of the present invention is introduced in detail.
[0084] In this embodiment of the present invention, video data is taken as an example to introduce a data presentation method.
[0085] refer to image 3 , shows a flowchart of a method for playing video data in an embodiment of the present invention.
[0086] Step 300, initialize the video data buffer size of the video player.
[0087] For the same video player, the size of the video data buffer area may be fixed. For example, the video data buffer size of the initialized video player is 100M.
[0088] Step 302, setting the cache threshold of the video data cache.
[0089] Preferably, a cache threshold of 50% may be selected by default. The cache threshold selected by default can be set according to actual needs.
[0090] Preferably, the above step 302 can also be:
[0091] Set the cache threshold of the video data buffer according to the memory usage.
[...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com