Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and device for playing audio in browser

A technology for playing audio and browsers, applied in the field of browsers, can solve the problems of occupying page resources and inconvenient use, and achieve the effect of convenient use

Active Publication Date: 2017-02-01
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the user wants to listen to the audio, he must keep the web page open, which occupies the page resources in the browser, and once the user accidentally closes the web page, the currently listening audio will stop playing, which is very inconvenient to use

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
  • Method and device for playing audio in browser
  • Method and device for playing audio in browser
  • Method and device for playing audio in browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] refer to figure 1 , a flow chart of the method for playing audio in the browser provided by Embodiment 1 of the present invention is given.

[0041] Step 101, loading audio data and webpage elements that control the playback of the audio data in the background page of the browser extension.

[0042] In the embodiment of the present invention, when a browser is used for audio playback, the browser does not play the audio through the webpage opened in the browser, but extends the browser to have the audio playback function.

[0043] When playing audio in the browser, the user's operation interface is separated from the playback control logic, wherein the playback control logic is configured in the background (background) page of the browser. The background page is the Html page running in the background of the extension, and most of the extensions in the browser include a background page, which is used to execute the main function of the extension.

[0044] Therefore, a...

Embodiment 2

[0053] On the basis of the foregoing embodiments, this embodiment further discusses in detail the method for playing audio in a browser.

[0054] refer to figure 2 , a flow chart of the method for playing audio in the browser provided by Embodiment 2 of the present invention is given.

[0055] Step 201, loading audio data and webpage elements controlling the playback of the audio data in the background page of the browser extension.

[0056] Preferably, the step of loading audio data in the background page of the browser extension includes: calling an audio server of the network in the background page; obtaining audio data from the audio server, and loading it into the background page middle.

[0057] On the background page, audio data can be loaded through JS (Javascript) code. Specifically, the audio data can be obtained from an audio server providing music resources through Ajax (Asynchronous JavaScript And XML, asynchronous JavaScript and XML), including at least one o...

Embodiment 3

[0092] On the basis of the above-mentioned embodiments, the embodiment of the present invention also provides a device for playing audio in a browser, the structure diagram of which is as follows Figure 4 shown.

[0093] The device for playing audio in the browser includes: a data and element loading module 401 , an interface loading module 402 and a playback control module 403 .

[0094] Wherein: the data and element loading module 401 is used to load audio data and webpage elements that control audio data playback in the background page of the browser extension; the interface loading module 402 is used to load control audio data in the pop-up page of the browser extension An operation interface for playing; a play control module 403, configured to control the audio data in the background page to play through the operation interface in the pop-up page using the webpage elements in the background page that control the playback of audio data.

[0095] To sum up, the audio dat...

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 invention discloses a method and a device for playing audio in browsers. The method includes loading audio data and audio data playing control web page elements into extended background pages of the browsers; loading audio data playing control operation interfaces into extended popup pages of the browsers; using the audio data playing control web page elements in the background pages via the operation interfaces in the popup pages to control playing of the audio data in the background pages. The method and the device have the advantages that the operation interfaces for users can be separated from playing control logics when the audio is played in the browsers, playing of the audio cannot be affected even if the operation interfaces are closed, and accordingly usage is greatly facilitated.

Description

technical field [0001] The invention relates to browser technology, in particular to a method and device for playing audio in a browser. Background technique [0002] Music is an indispensable part of daily life. With the development of network technology, users can find various music and other audio resources on the Internet, and listen to the audio resources through web pages. [0003] However, the user must open the relevant webpage of music playback in the browser to listen to the audio through the webpage. And when the webpage plays audio, various functions such as audio control and playback are integrated in a webpage, so it is necessary to search for the audio in the webpage, and then control the playback of the audio. If the user wants to listen to the audio, he must keep the webpage open, which takes up page resources in the browser, and once the user accidentally closes the webpage, the currently listening audio will stop playing, which is very inconvenient to 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 Patents(China)
IPC IPC(8): G06F9/44
Inventor 陈虞付
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products