CN104469393B - Obtain the method and system of high in the clouds simulator audio - Google Patents

Obtain the method and system of high in the clouds simulator audio Download PDF

Info

Publication number
CN104469393B
CN104469393B CN201410689872.3A CN201410689872A CN104469393B CN 104469393 B CN104469393 B CN 104469393B CN 201410689872 A CN201410689872 A CN 201410689872A CN 104469393 B CN104469393 B CN 104469393B
Authority
CN
China
Prior art keywords
voice signal
simulator
conversion
streaming media
receiving module
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.)
Active
Application number
CN201410689872.3A
Other languages
Chinese (zh)
Other versions
CN104469393A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410689872.3A priority Critical patent/CN104469393B/en
Publication of CN104469393A publication Critical patent/CN104469393A/en
Application granted granted Critical
Publication of CN104469393B publication Critical patent/CN104469393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • H04N21/2335Processing of audio elementary streams involving reformatting operations of audio signals, e.g. by converting from one coding standard to another
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4398Processing of audio elementary streams involving reformatting operations of audio signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of method and system for obtaining high in the clouds simulator audio, methods described includes:The form of voice signal of the coding module set on the simulator of cloud server to being received from the simulator converts;The voice service module set on the cloud server is received and is forwarded to the Streaming Media receiving module for being arranged at user terminal browser page to the voice signal after conversion form;And the Streaming Media receiving module receives and plays the voice signal after the conversion form.Realized by using the present invention from high in the clouds simulator and obtain audio, improve the Experience Degree of user.

Description

Obtain the method and system of high in the clouds simulator audio
Technical field
The present invention relates to voiceband data signal treatment technology, more particularly, it is related to a kind of acquisition high in the clouds simulator sound The method and system of frequency.
Background technology
With the promotion and application of high in the clouds technology, people carry out data storage and data using high in the clouds technology more and more Management.But existing high in the clouds technology is still left to be desired at many aspects, such as:(server end) is run beyond the clouds Android (Android) simulator, it can be made using VNC (Virtual Network Computing, Virtual Networking Computing) function User checks the image of simulator in a browser, but can not but transmit the audio of correlation on a web browser with current technology Data, such technological deficiency bring many inconvenience to the use of user, greatly reduce the Experience Degree of user.In order to solve from High in the clouds simulator obtains the problem of audio, needs a kind of method and system for obtaining high in the clouds simulator audio badly.
The content of the invention
In order to solve the problems, such as to obtain audio from high in the clouds simulator, embodiments of the present invention provide a kind of acquisition high in the clouds The method and system of simulator audio.
On the one hand, embodiment of the present invention provides a kind of method for obtaining high in the clouds simulator audio, and methods described includes:
The coding module set on the simulator of cloud server is to the form of the voice signal received from the simulator Converted;
The voice service module set on the cloud server receives to the voice signal after conversion form And it is forwarded to the Streaming Media receiving module for being arranged at user terminal browser page;And
The Streaming Media receiving module receives and plays the voice signal after the conversion form.
Accordingly, embodiment of the present invention additionally provides a kind of system for obtaining high in the clouds simulator audio, the system bag Include:
The simulator of cloud server is arranged on, it, which has, is used for the form of the voice signal received from the simulator The coding module converted;
The cloud server, it has voice service module, for the voice signal after the conversion form Received and be forwarded to the Streaming Media receiving module for being arranged at user terminal browser page;And
The user terminal browser, there is Streaming Media receiving module on its page, for receiving and playing the conversion lattice Voice signal after formula.
The various embodiments for implementing the present invention have the advantages that:Realize from high in the clouds simulator and obtain audio, Improve the Experience Degree of user.
Brief description of the drawings
Fig. 1 is the flow chart according to the method for the acquisition high in the clouds simulator audio of embodiment of the present invention;
Fig. 2 shows Fig. 1 step S3 particular flow sheet;
Fig. 3 is the Organization Chart according to the system of the acquisition high in the clouds simulator audio of embodiment of the present invention;
Fig. 4 shows the block diagram of the coding module 100 shown in Fig. 3;
Fig. 5 shows the block diagram of the voice service module 200 shown in Fig. 3;
Fig. 6 shows the block diagram of the Streaming Media receiving module 300 shown in Fig. 3;
Fig. 7 shows the block diagram of the conversion unit 120 shown in Fig. 4.
Embodiment
It is described in detail to various aspects of the present invention below in conjunction with the drawings and specific embodiments.Wherein, many institute's weeks Module, unit and its mutual connection, link, communication or the operation known are not shown or not elaborated.Also, institute Feature, framework or the function of description can combine in any way in one or more embodiments.People in the art Member is it should be appreciated that following various embodiments are served only for for example, not for limiting the scope of the invention.May be used also To be readily appreciated that, module or unit or processing mode in each embodiment described herein and shown in the drawings can by it is various not It is combined and designs with configuration.
Fig. 1 is the flow chart according to the method for the acquisition high in the clouds simulator audio of embodiment of the present invention;Referring to Fig. 1, institute The method of stating comprises the following steps:
Step S1, the coding module set on the simulator of cloud server is to the voice signal that is received from the simulator Form converted;
Step S2, the voice service module set on the cloud server are entered to the voice signal after conversion form Row receives and is forwarded to the Streaming Media receiving module for being arranged at user terminal browser page;And
Step S3, the Streaming Media receiving module receive and play the voice signal after the conversion form.
Wherein, the form of the voice signal of described pair of reception, which carries out conversion, includes:The form of the voice signal is changed For stream media format, and format conversion is carried out to the monaural audio data in the voice signal.The stream media format Including:MP3 format, WMA forms, MOV forms and RV forms.
By using embodiments of the present invention, it can be achieved to obtain audio from high in the clouds simulator, improve the Experience Degree of user.
Fig. 2 shows Fig. 1 step S3 particular flow sheet;Referring to Fig. 2, the step S3 includes:
Step S31, the Streaming Media receiving module download the voice signal after the conversion form by TCP connections;
Step S32, play function is called to play out the voice signal after the conversion form.
Wherein, it is connected using Transmission Control Protocol with the voice service module on cloud server, receives the voice service mould The voice signal of block forwarding;Then flash technologies are recycled, call the URL Request functions in flash storehouses, are established It is connected with the TCP of sound module on server.Voice data is downloaded by the connection.Then call play function, you can with Sound is sent on the computer at family.
Fig. 3 is the Organization Chart according to the system 1 of the acquisition high in the clouds simulator audio of embodiment of the present invention;The system bag Include:
The simulator 11 of cloud server 10 is arranged on, it has for the voice signal to being received from the simulator The coding module 100 that form is converted;
The cloud server 10, it has voice service module 200, for the conversion lattice on each simulator The voice signal after formula is received and is forwarded to the Streaming Media receiving module 300 for being arranged at user terminal browser page; And
The user terminal browser 300, there is Streaming Media receiving module 300 on its page, it is described for receiving and playing Convert the voice signal after form.
Wherein, the flow of the sounding of simulator 11 is:The sound that APP (application program) 13 in android system 12 is sent Signal can pass through the drive of driver of sound card 15 after the rendering of framework (the application development framework platform of Android system) 14 Dynamic program, and write the virtual sound card 16 of simulator.In the prior art, the virtual sound card of simulator 11 can write host The sound card of (cloud server).Now, sound is sent on server that can beyond the clouds, and the browser of user can not be transferred to In.And by using embodiments of the present invention, it can be achieved to obtain audio from high in the clouds simulator, improve the Experience Degree of user.
Fig. 4 shows the block diagram of the coding module 100 shown in Fig. 3;The coding module 100 includes:
Receiving unit 110, for receiving voice signal from the simulator,
Conversion unit 120, the form for the voice signal to reception convert.
Wherein, receiving unit 110 can intercept and capture (PCM format) sound card signal of Android write-in simulators;Conversion unit 120 again by the voice signal of PCM format, be converted into stream media format (such as:Mp3 forms, WMA forms, MOV forms and RV lattice Formula etc.).
Fig. 5 shows the block diagram of the voice service module 200 shown in Fig. 3;The voice service module 200 includes:
Receiving unit 210, for being received to the voice signal after the conversion form;And
Retransmission unit 220, it is forwarded to the Streaming Media for the voice signal after the conversion form by reception and receives Module.
Wherein, receiving unit 210 is connected using Transmission Control Protocol with multiple simulator coding modules on server, is collected every The streamed audio data that individual simulator is sent, then retransmission unit 220 is by the voice signal after the conversion form of reception The Streaming Media receiving module being sent on user browser.
Fig. 6 shows the block diagram of the Streaming Media receiving module 300 shown in Fig. 3;The Streaming Media receiving module 300 includes:
Receiving unit 310, for receiving the voice signal of the voice service module forwards;And
Broadcast unit 320, for play it is described conversion form after voice signal.
Wherein, receiving unit 310 can also be used Transmission Control Protocol and is connected with the voice service module on cloud server, receive The voice signal of the voice service module forwards, flash technologies then can be utilized by broadcast unit 320 again, called URL Request functions in flash storehouses, foundation are connected with the TCP of sound module on server.Audio is downloaded by the connection Data.Then play function is called, you can send sound on the computer of user.
Fig. 7 shows the block diagram of the conversion unit 120 shown in Fig. 4;The conversion unit 120 includes:
Monophonic gathers subelement 121, for gathering the monaural audio data in the voice signal.Believe to sound During number carrying out transcoding, the voice data of monophonic can be only gathered, reduces the data volume of voice signal, so as to reduce net Network postpones.
Format analysis processing subelement 122, for the form of the voice signal to be converted into stream media format.By PCM format Voice signal switch to mp3 forms voice signal be industry comparative maturity technology.Common storehouse of increasing income is lame storehouses, can be with Transcoding is completed by this storehouse., it is necessary to which following 3 parameters are done into following setting when storehouse is called:Sample rate is 16k, is adopted Sample width is 8bit, and audio length is 86400 seconds, so as to complete the format analysis processing of voice signal.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by The mode of software combination hardware platform is realized, naturally it is also possible to is all implemented by hardware.Based on such understanding, this hair What bright technical scheme contributed to background technology can be embodied in the form of software product in whole or in part, the meter Calculation machine software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing one Platform computer equipment (can be personal computer, server, smart mobile phone or the network equipment etc.) perform each reality of the present invention Apply the method described in some parts of example or embodiment.
The term and wording used in description of the invention is just to for example, be not intended to form restriction.Ability Field technique personnel should be appreciated that on the premise of the general principle of disclosed embodiment is not departed from, to above-mentioned embodiment In each details can carry out various change.Therefore, the scope of the present invention is only determined by claim, in the claims, unless It is otherwise noted, all terms should be understood by the broadest rational meaning.

Claims (9)

  1. A kind of 1. method for obtaining high in the clouds simulator audio, it is characterised in that methods described includes:
    The form of voice signal of the coding module set on the simulator of cloud server to being received from the simulator is carried out Conversion;Wherein, the voice signal by the simulator android system render processing and driving processing after, import In the virtual sound card of the simulator;
    The voice service module set on the cloud server is received and turned to the voice signal after conversion form It is sent to the Streaming Media receiving module for being arranged at user terminal browser page;And
    The Streaming Media receiving module receives and plays the voice signal after the conversion form;
    Wherein, the form of the voice signal of described pair of reception, which carries out conversion, includes:
    The form of the voice signal is converted into stream media format.
  2. 2. the method as described in claim 1, it is characterised in that the form of the voice signal by reception carries out conversion bag Include:
    Format conversion is carried out to the monaural audio data in the voice signal.
  3. 3. the method as described in claim 1, it is characterised in that the Streaming Media receiving module receives and plays the conversion lattice Voice signal after formula includes:
    The Streaming Media receiving module downloads the voice signal after the conversion form by TCP connections;
    Play function is called to play out the voice signal after the conversion form.
  4. 4. the method as described in claim 1, it is characterised in that the stream media format includes:
    MP3 format, WMA forms, MOV forms and RV forms.
  5. 5. a kind of system for obtaining high in the clouds simulator audio, it is characterised in that the system includes:
    The simulator of cloud server is arranged on, there is the form for being used for the voice signal to being received from the simulator to carry out for it The coding module of conversion, wherein, the voice signal pass through the simulator in android system render processing and driving at After reason, import in the virtual sound card of the simulator;Wherein, the form of the voice signal of described pair of reception, which carries out conversion, includes: The form of the voice signal is converted into stream media format;
    The cloud server, it has voice service module, for being carried out to the voice signal after the conversion form Receive and be forwarded to the Streaming Media receiving module for being arranged at user terminal browser page;And
    The user terminal browser, there is Streaming Media receiving module on its page, after receiving and playing the conversion form Voice signal.
  6. 6. system as claimed in claim 5, it is characterised in that the coding module includes:
    Receiving unit, for receiving voice signal from the simulator;And
    Conversion unit, the form for the voice signal to reception convert.
  7. 7. system as claimed in claim 5, it is characterised in that the voice service module includes:
    Receiving unit, for being received to the voice signal after the conversion form;And
    Retransmission unit, the Streaming Media receiving module is forwarded to for the voice signal after the conversion form by reception.
  8. 8. system as claimed in claim 5, it is characterised in that the Streaming Media receiving module includes:
    Receiving unit, for receiving the voice signal of the voice service module forwards;And
    Broadcast unit, for play it is described conversion form after voice signal.
  9. 9. system as claimed in claim 6, it is characterised in that the conversion unit includes:
    Monophonic gathers subelement, for gathering the monaural audio data in the voice signal;And
    Format analysis processing subelement, for the form of the voice signal to be converted into stream media format.
CN201410689872.3A 2014-11-25 2014-11-25 Obtain the method and system of high in the clouds simulator audio Active CN104469393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410689872.3A CN104469393B (en) 2014-11-25 2014-11-25 Obtain the method and system of high in the clouds simulator audio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410689872.3A CN104469393B (en) 2014-11-25 2014-11-25 Obtain the method and system of high in the clouds simulator audio

Publications (2)

Publication Number Publication Date
CN104469393A CN104469393A (en) 2015-03-25
CN104469393B true CN104469393B (en) 2018-03-09

Family

ID=52914656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410689872.3A Active CN104469393B (en) 2014-11-25 2014-11-25 Obtain the method and system of high in the clouds simulator audio

Country Status (1)

Country Link
CN (1) CN104469393B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792030B (en) * 2017-01-03 2019-09-17 青岛海信电器股份有限公司 A kind of audio data processing method and TV
CN112004100B (en) * 2020-08-31 2022-02-11 上海竞达科技有限公司 Driving method for integrating multiple audio and video sources into single audio and video source

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472236A (en) * 2007-12-26 2009-07-01 北京华夏未来信息技术有限公司 Method and device for publishing application system
CN102098704B (en) * 2011-02-17 2014-04-16 工业和信息化部电信传输研究所 Method, device and system for testing stream media service capability of terminal
US8897144B2 (en) * 2011-10-14 2014-11-25 T-Mobile Usa, Inc. Quality of user experience testing for video transmissions
CN104156213A (en) * 2014-08-12 2014-11-19 百度在线网络技术(北京)有限公司 Android application running method and device

Also Published As

Publication number Publication date
CN104469393A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN109246672B (en) Data transmission method, device and system and Bluetooth headset
CN103248683B (en) IOT cloud music speaker and audio data play method thereof
CN107170460A (en) Sound quality adjusting method, system, host side and storage medium
CN103426432B (en) Rely on the audio frequency Mass adjust-ment of bandwidth
CN103957216B (en) Based on characteristic audio signal classification without reference audio quality evaluating method and system
CN105072190A (en) Method and system for realizing real-time desktop cloud
CN104426832A (en) Multi-terminal multichannel independent playing method and device
CN101977218A (en) Internet playing file transcoding method and system
CN104254007A (en) Method and device for processing audio
CN109819303A (en) Data output method and relevant device
WO2008111376A1 (en) File transfer method and file transfer system
CN103916414A (en) Transmission rate configuration method, terminal device, server and system
CN105247875A (en) Distribution control system and distribution system
CN107277691A (en) Multichannel audio player method, system and audio frequency net gate way apparatus based on cloud
CN104469393B (en) Obtain the method and system of high in the clouds simulator audio
CN101931816A (en) Method and system for transferring video from 3G mobile phone to TV
CN105812439B (en) A kind of audio frequency transmission method and device
CN104202656B (en) Network audio MP3 flows out of order segmentation decoding method
CN103686540A (en) Active wireless network sound equipment and use method thereof
CN103475918A (en) Method and device for automatically controlling mobile terminal sensors
US20140280692A1 (en) System and method for encoding control commands
CN106507125A (en) A kind of pair of terminal coordinates live method and device
WO2007031861A3 (en) Method and device for automatically network access
CN202889535U (en) Playback device based on cloud service
WO2008079470A3 (en) Method and apparatus for distributed bandwidth assignment in mesh backhaul networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant