Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Android definition switch method, device, terminal, and readable medium

A definition and acquisition method technology, applied in the computer field, can solve problems such as poor experience of resolution switching

Active Publication Date: 2019-01-04
WUHAN DOUYU NETWORK TECH CO LTD
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing process of obtaining code stream information, the view presented by the player is usually a black screen page or a loading page (also called a loading page), which makes the user clearly feel that there is a gap between the code stream information before playback switching and the code stream information after playback switching. A disconnection time, the user experience of clarity switching is poor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Android definition switch method, device, terminal, and readable medium
  • Android definition switch method, device, terminal, and readable medium
  • Android definition switch method, device, terminal, and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] figure 1 It is a flow chart of an Android resolution switching method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of Android resolution switching. The method can be implemented by a terminal, specifically through software and / or hardware in the terminal. implement.

[0046] see figure 1 , the Android resolution switching method includes the following steps:

[0047] S110. When the definition switching event is detected, call the frame data acquisition method of the TextureView object to acquire the current frame data of the code stream information played by the TextureView object.

[0048]Among them, when using an Android terminal to pull network audio and video resources (such as watching a live broadcast), the user can switch the definition according to the demand, specifically by clicking the definition button control corresponding to the player object to switch the definition. Wherein, the view hosting control...

Embodiment 2

[0113] figure 2 It is a schematic structural diagram of an Android resolution switching device provided in Embodiment 2 of the present invention, and this embodiment is applicable to the case of Android resolution switching.

[0114] see figure 2 , the Android resolution switching device in this embodiment includes:

[0115] The current frame data acquisition module 210 is used to call the frame data acquisition method of the TextureView object to obtain the current frame data of the code stream information played by the TextureView object when the definition switching event is monitored;

[0116] The Gaussian blur data determination module 220 is used to call the Gaussian blur manager object construction method to construct the Gaussian blur manager object, and call the Gaussian algorithm of the Gaussian blur manager object to perform Gaussian blur processing on the current frame data to obtain the Gaussian blur data of the current frame data ;

[0117] The image view ad...

Embodiment 3

[0140] This embodiment provides a terminal, which can be used in the case of Android definition switching. image 3 It is a schematic structural diagram of a terminal provided in Embodiment 3 of the present invention. see image 3 , the terminal includes:

[0141] one or more processors 310;

[0142] memory 320, for storing one or more programs;

[0143] When the one or more programs are executed by the one or more processors 310, the one or more processors 310 implement the Android definition switching method as proposed in the first embodiment.

[0144] image 3 Take a processor 310 as an example; the processor 310 and the memory 320 can be connected through a bus or in other ways, image 3 Take connection via bus as an example.

[0145] As a computer-readable storage medium, the memory 320 can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding to the Android resolution switching method in th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses an Android definition switching method, a device, a terminal and a readable medium, wherein, the method comprises the following steps: when a definition switching event is monitored, current frame data of code stream information played by a TextureView object is obtained; a Gaussian fuzzy algorithm of Gaussian fuzzy manager object is used to process the current frame data, and the Gaussian fuzzy data of the current frame data is obtained; the image view construction method is called to construct the image view, and the layout parameters of the image view are set, the Gaussian blur data is set in the image view, and the image view after the Gaussian blur data is set is added to the top layer of the TextureView object; when the code stream information after switching definition is obtained, the image view is removed from the TextureView object, and the TextureView object is controlled to play the code stream information after switching definition. The Android definition switching method, the device, the terminal and the readable medium provided by the embodiment of the invention realize the seamless switching of the definition on the senses of the user, and improve the definition switching experience of the user.

Description

technical field [0001] The embodiments of the present invention relate to computer technology, and in particular to an Android resolution switching method, device, terminal and readable medium. Background technique [0002] When using an Android terminal to pull network audio and video resources (such as watching a live broadcast), users can switch the definition according to their needs. Usually, the resolution switching method is to obtain the code stream address of the switched resolution through an HTTP request, and obtain corresponding code stream information by accessing the code stream address. In the existing process of obtaining code stream information, the view presented by the player is usually a black screen page or a loading page (also called a loading page), which makes the user clearly feel that there is a gap between the code stream information before playback switching and the code stream information after playback switching. One disconnection time, the use...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F9/451H04N7/01
CPCG06F9/44526G06F9/451H04N7/01
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products