CN108063874A - A kind of information processing method, device, terminal and computer readable storage medium - Google Patents

A kind of information processing method, device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108063874A
CN108063874A CN201711431962.2A CN201711431962A CN108063874A CN 108063874 A CN108063874 A CN 108063874A CN 201711431962 A CN201711431962 A CN 201711431962A CN 108063874 A CN108063874 A CN 108063874A
Authority
CN
China
Prior art keywords
hardware
terminal
broadcasting
target
voice data
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
CN201711431962.2A
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.)
Shanghai Spreadrise Technologies Co Ltd
Original Assignee
Shanghai Spreadrise Technologies 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 Shanghai Spreadrise Technologies Co Ltd filed Critical Shanghai Spreadrise Technologies Co Ltd
Priority to CN201711431962.2A priority Critical patent/CN108063874A/en
Publication of CN108063874A publication Critical patent/CN108063874A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)

Abstract

An embodiment of the present invention provides a kind of information processing method, device, terminal and computer readable storage medium, wherein method includes:When detecting that terminal modem receives the voice data for needing to play, obtain the alternate transmission paths set configured in the terminal and alternative broadcasting set of hardware, object transmission path is selected from alternate transmission paths set, target broadcasting hardware is selected in set of hardware from alternative play, and voice data is sent to target from object transmission path and plays hardware, so that target plays hardware playing audio-fequency data.The embodiment of the present invention may be selected transmission path and play hardware to play audio.

Description

A kind of information processing method, device, terminal and computer readable storage medium
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of information processing method, device, terminal and computer can Read storage medium.
Background technology
With the fast development of information technology, termination function is enriched constantly.For example, terminal can play music, video, use Family can also be applied by the instant messaging in terminal and other people keep in touch.But in terminal plays Online Music, if terminal Receiving needs the speech message that plays, and terminal needs first to interrupt the playing process of music, then played voice message again, so The complexity of terminal operation can be increased, be unfavorable for the intelligent of terminal.
The content of the invention
An embodiment of the present invention provides a kind of information processing method, device, terminal and computer readable storage mediums, can Selection transmission path plays audio with hardware is played.
First aspect of the embodiment of the present invention discloses a kind of information processing method, including:
When detecting that terminal modem receives the voice data for needing to play, acquisition configures standby in the terminal Select transmission path set and alternative broadcasting set of hardware;
Object transmission path is selected from alternate transmission paths set;
Target broadcasting hardware is selected in set of hardware from alternative play;
Voice data is sent to target from object transmission path and plays hardware, so that target plays hardware and plays audio number According to.
Second aspect of the embodiment of the present invention discloses a kind of information processing unit, which includes performing above-mentioned first The unit of the method for aspect.
The third aspect of the embodiment of the present invention discloses a kind of intelligent terminal, which includes:Modem, application Processor, at least two audio data processors and at least two play hardware;
Application processor, for detect modem receive need play voice data when, from least two Target audio data processor is selected in a audio data processor, and selects target from least two broadcasting hardware and broadcasts Hardware is put, so that voice data is sent to target audio data processor by modem;
Audio data processor, for carrying out audio frequency process to voice data, and voice data is sent to by treated Application processor, so that application processor is by treated, voice data is sent to target broadcasting hardware;
Hardware is played, for the voice data after playback process.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, and computer readable storage medium is deposited Computer program is contained, computer program includes program instruction, and program instruction when being executed by a processor performs processor The method for stating first aspect.
The embodiment of the present invention is by when detecting that terminal modem receives the voice data for needing to play, obtaining The alternate transmission paths set and alternative broadcasting set of hardware configured in the terminal, mesh is selected from alternate transmission paths set It marks transmission path, and target is selected in set of hardware plays hardware from alternative play, by voice data from object transmission path It is sent to target and plays hardware, so that target plays hardware playing audio-fequency data.By for different voice data dynamically distributes not Same object transmission path and target play hardware, and the band-wise processing of voice data is realized on hardware, i.e., so that difference Voice data possesses independent audio frequency output channel, can realize the independent play-out of different voice datas.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of information processing method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another information processing method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structure diagram of information processing unit disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structure diagram of intelligent terminal disclosed by the embodiments of the present invention;
Fig. 5 is a kind of structure diagram of terminal disclosed by the embodiments of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of information processing method provided in an embodiment of the present invention.Specifically, As shown in Figure 1, the information processing method of the embodiment of the present invention may comprise steps of:
101st, when detecting that terminal modem receives the voice data for needing to play, acquisition configures in the terminal Alternate transmission paths set and alternative play set of hardware.
Specifically, terminal can be obtained when detecting that terminal modem receives the voice data for needing to play The alternate transmission paths set and alternative broadcasting set of hardware configured in the terminal.
Wherein, terminal can be smart mobile phone, tablet computer, personal computer (Personal Computer, PC), intelligence It can TV, smartwatch, mobile unit, wearable device, virtual reality device, the 5th third-generation mobile communication technology (the of future 5th Generation, 5G) terminal device in network etc..Voice data can be a song, one section words, one section of video or Other contain the file of voice, music or audio.It should be noted that the voice data can be the number from the Internet download According to.
Alternate transmission paths set refers to present system time comprising at least two alternate transmission paths, alternate transmission paths Under available transmission path (transmission path not occupied by other programs).Wherein, transmission path can be modem To the transmission path between audio data processor, it is necessary to illustrate, can be included in terminal at least two voice datas Device is managed, and at least two transmission paths can be included in terminal.For example, there are 1 modem Modem, 3 audios in terminal During data processor (being respectively a, b, c), there can be 3 transmission paths in terminal, be respectively:Modem-a、Modem-b、 Modem-c, when the modem in terminal receives the voice data for needing to play, terminal can detect 3 audio numbers According to the working condition of processor or the working condition of 3 transmission paths, and voice data is sent to what is be in idle condition Audio data processor.Audio data processor can carry out voice data audio frequency process, higher to obtain audio quality Voice data.Audio data processor can have gain control, well-balanced adjustment, delay adjustment, phase transition, Route Selection, One or more functions in the functions such as filtering and amplitude limit.It should be noted that audio data processor can be digital signal Processor (Digital Signal Processor, DSP), audio digital signal processor (audio Digital Signal Processor, aDSP), the digital signal processor in modem or other there is the processor of audio frequency process, this Inventive embodiments are not construed as limiting the type of audio data processor.The embodiment of the present invention passes through the number in multiplex modem Word signal processor, it is possible to reduce the hardware cost of terminal.
Similarly, alternatively play set of hardware and include at least two alternative broadcasting hardware, this alternatively plays hardware and refers to current system Available broadcasting hardware (the broadcasting hardware not occupied i.e. in connection status and by other programs) under the system time.Need what is illustrated It is to play hardware to be built in terminal, i.e. the broadcasting hardware is a part for the terminal, such as loudspeaker in mobile phone or is listened Cylinder.The broadcasting hardware can also be placed outside the terminal, i.e. the broadcasting hardware is not a part for the terminal, for example, wired earphone or Receiver in wireless headset, but the broadcasting hardware has connection relation with the terminal, i.e. the terminal can will need what is played Voice data is sent to broadcasting hardware, so that playing hardware plays the voice data.For example, mobile phone can by with bluetooth headset Connection is established, a piece of music in mobile phone is then played by bluetooth headset.Wherein, play hardware can be loud speaker, it is wired Earphone, wireless headset, Mike, receiver, Bluetooth audio device or other audios that wired or wireless connection can be established with the terminal are set It is standby.
In one implementation, the specific embodiment for the alternate transmission paths set that terminal acquisition configures in the terminal Can be:The transmission path set that terminal acquisition configures in the terminal, the transmission that will be in idle condition in transmission path set Path is determined as alternate transmission paths, and obtains alternate transmission paths set.
In embodiments of the present invention, terminal can determine transmission road according to the quantity of the audio data processor in terminal The quantity of the transmission path included in the set of footpath.For example, when including 3 audio data processors in terminal, terminal can configure 3 Transmission paths (i.e. transmission path set includes 3 transmission paths) need to play sound simultaneously when applying a and application b in terminal Frequency according to when, terminal can be using a and using b distribute respectively different transmission paths (will apply a and application b audio Data sending is handled to different audio data processor) so that can sounding simultaneously using a and application b.
In one implementation, terminal can be that different transmission path set is respectively configured in different application programs, To be preferably bonded the use habit of user.It automatically configures it should be noted that transmission path set can be terminal, also may be used To be that terminal is configured according to operational order input by user.For example, when the quantity for the application of attending to anything else that e is applied in terminal is 1 When a, terminal can be to configure 2 transmission paths (i.e. at the former voice data using e of wherein transmission paths correspondence using e Manage device, the audio data processor in another defeated path corresponding modulating demodulator) so that using the corresponding main applications of e and point Body application can use phonetic function simultaneously.Wherein, attend to anything else using be install in the terminal with it is main application it is identical should With.For example, when, there are during two identical application x, if one of application x is main application, another should in terminal It is application of attending to anything else with x.
In one implementation, the alternative specific embodiment for playing set of hardware that terminal acquisition configures in the terminal Can be:The broadcasting set of hardware that terminal acquisition configures in the terminal, determines in set of hardware is played in connection status Play hardware, will be in idle condition described in be determined as alternatively playing hardware in the broadcasting hardware of connection status, and obtain It is alternative to play set of hardware.
In embodiments of the present invention, terminal can determine to play set of hardware according to the quantity of the broadcasting hardware in terminal In include broadcasting hardware quantity.For example, when playing hardware comprising 3 in terminal, terminal can configure 3 broadcasting hardware, When applying c in terminal and application d needs playing audio-fequency data simultaneously, terminal can be to distribute difference respectively using c and using d Broadcasting hardware (voice data of a and application b will be applied to be sent to different broadcasting hardware to play) so that using c and should With d can simultaneously sounding.
In one implementation, terminal can be that different broadcasting set of hardware is respectively configured in different application programs, To be preferably bonded the use habit of user.It should be noted that it can be that terminal automatically configures to play set of hardware, also may be used To be that terminal is configured according to operational order input by user.For example, when the quantity for the application of attending to anything else that y is applied in terminal is 1 When a, terminal can be to configure 2 broadcasting hardware using y, such as earphone and loud speaker so that using the corresponding main applications of y and point Body application can use phonetic function simultaneously.
It should also be noted that, the broadcasting hardware in connection status can be loud speaker in terminal, in insertion terminal Earphone or other audio frequency apparatuses for being connected with terminal etc..In one implementation, terminal can be in test earphone interface Whether earphone is inserted into, if so, determining that earphone is in connection status, alternatively, terminal can obtain bluetooth connection list, if bluetooth It connects in list there are bluetooth headset and/or Baffle Box of Bluetooth, that is, shows that bluetooth headset and/or Baffle Box of Bluetooth are in connection status. The broadcasting hardware being in idle condition can be the broadcasting hardware for not playing any voice data under present system time.
102nd, object transmission path is selected from alternate transmission paths set.
Specifically, terminal can select object transmission path from alternate transmission paths set.In a kind of realization method In, terminal can export the first instruction message, and the first instruction message includes alternate transmission paths set, which uses In instruction user's input pin to the operational order of alternate transmission paths set, so as to terminal according to the operational order from alternate transmission Object transmission path is selected in set of paths.Optionally, terminal can export first by way of dialog box or pop-up Instruction message, the embodiment of the present invention are not construed as limiting the mode for exporting the first instruction message.
In another realization method, terminal can randomly choose a transmission paths in alternate transmission paths set, And the transmission path is determined as object transmission path.
In another realization method, terminal can also be according to each alternate transmission included in alternate transmission paths set The corresponding status information in path, selects object transmission path from alternate transmission paths set.For example, when status information is temperature When spending, terminal can obtain the corresponding audio data processor of each alternate transmission paths included in alternate transmission paths set Temperature, select the minimum audio data processor of temperature from alternate transmission paths set, and by the minimum audio of temperature The corresponding transmission path of data processor is determined as object transmission path.
103rd, target broadcasting hardware is selected in set of hardware from alternative play.
Specifically, terminal can select target broadcasting hardware from alternative play in set of hardware.In a kind of realization method In, terminal can export the second instruction message, and the second instruction message includes alternative broadcasting set of hardware, which uses In instruction user's input pin to alternatively playing the operational order of set of hardware, so that terminal is played according to the operational order from alternative Target is selected in set of hardware and plays hardware.In this way, the use habit or application that user can be according to oneself Scene carrys out selection target and plays hardware, is conducive to improve the intelligent of user experience and terminal.For example, user just in session when, Earphone can be selected to play hardware as target, other people are impacted to avoid voice data is put outside.Optionally, terminal can be with The second instruction message is exported by way of dialog box or pop-up, the embodiment of the present invention is to the mode of the second instruction message of output It is not construed as limiting.
In another realization method, terminal random selection one can play hardware in set of hardware is alternatively played, And the broadcasting hardware is determined as target and plays hardware.
In another realization method, terminal can be according to the corresponding application of voice data that the needs received play Type selects target broadcasting hardware from alternative play in set of hardware.For example, need the sound played when terminal receives two kinds Frequency is according to a and b, and the corresponding applications of voice data a are music application, even if the corresponding applications of voice data b are to chat It plays hardware in application, loudspeaker can be determined as the corresponding targets of voice data a by terminal, and receiver is determined as audio number Hardware is played according to the corresponding targets of b, preferably to adapt to practical application scene, and then improves user experience.
In another realization method, terminal can also be according to the alternative each alternative broadcasting for playing and being included in set of hardware The corresponding status information of hardware selects target broadcasting hardware from alternative play in set of hardware.For example, when status information is temperature When spending, terminal can obtain the alternative each alternative temperature for playing hardware for playing and being included in set of hardware, hard from alternative broadcasting The minimum broadcasting hardware of temperature is selected in part set, and the minimum broadcasting hardware of temperature is determined as target and plays hardware.
It should be noted that terminal can first carry out step 102, and it is rear to perform step 103, alternatively, terminal can also first be held Row step 103, it is rear perform step 102 or, terminal can also perform step 102 and step 103 simultaneously, and the present invention is implemented Example is not construed as limiting this.
104th, voice data is sent to target from object transmission path and plays hardware, so that target plays hardware and plays sound Frequency evidence.
Specifically, voice data can be sent to target by terminal from object transmission path plays hardware, so that target is broadcast Put hardware playing audio-fequency data.In one implementation, terminal can send control message to application processor, should with control Voice data is sent to by target by object transmission path with processor and plays hardware.The embodiment of the present invention is by be different Voice data distributes different object transmission path and target plays hardware, at the multichannel that voice data is realized on hardware Reason, so that different voice datas can play simultaneously.For example, when the modem in terminal receives two kinds of voice datas When, two kinds of voice datas can be sent to different broadcasting hardware from different transmission paths, to realize to two kinds of audio numbers According to progress parallel processing and broadcasting, and then improve the utilization rate of data-handling efficiency and terminal.
For ease of being best understood from and implementing the said program of the embodiment of the present invention, carried out with reference to specific application scenarios It illustrates.
For example, three transmission paths and three broadcasting hardware are configured in terminal, wherein three transmission paths are respectively Modem-DSP1, Modem-DSP2, Modem-DSP3, it is respectively loud speaker, earphone, Bluetooth audio device that three, which play hardware,.Work as end When Modem in end receives the playing request of Online Music, terminal selects Modem- from three above-mentioned transmission paths DSP1 selects loud speaker from three above-mentioned broadcasting hardware and plays hardware as target as object transmission path, i.e., Terminal carries out the music data that receives audio frequency process using DSP1, and will treated voice data is sent to loud speaker into Row plays.If terminal, when playing Online Music, the Modem in terminal receives a speech message, and subsequently detects User is directed to the confirmation play operation (for example, detecting that user is directed to the clicking operation of the speech message) of the speech message, eventually End can select Modem-DSP2 as object transmission road from Modem-DSP2 and Modem-DSP3 this two transmission paths Footpath, and the two play and earphone is selected in hardware play hardware, i.e. terminal use as target from earphone and Bluetooth audio device DSP2 carries out the speech message that receives audio frequency process, and will treated that speech message is sent to earphone plays out.It can To find out, terminal does not interrupt the playing process of Online Music in played voice message, and eliminates and first interrupt Online Music Playing process, then this cumbersome handover operation of played voice message again.That is, terminal is by for different audios The different transmission path of data dynamic select and broadcasting hardware, can realize the independent play-out of different voice datas, and then improve Data-handling efficiency, and the complexity of terminal operation is effectively reduced, be conducive to improve the intelligent and user experience of terminal.
Compared with the prior art, the embodiment of the present invention is by needing the sound that plays detecting that terminal modem receives Frequency according to when, obtain the alternate transmission paths set that configures in the terminal and it is alternative play set of hardware, from alternate transmission paths Object transmission path is selected in set, and target broadcasting hardware is selected in set of hardware from alternative play, by voice data Target is sent to from object transmission path and plays hardware, so that target plays hardware playing audio-fequency data.By for different audios The different object transmission path of data dynamically distributes and target play hardware, at the multichannel that voice data is realized on hardware Reason that is, so that different voice datas possess independent audio frequency output channel, can realize the independent play-out of different voice datas.
Referring to Fig. 2, Fig. 2 is the flow diagram of another information processing method provided in an embodiment of the present invention.Specifically , as shown in Fig. 2, another information processing method of the embodiment of the present invention may comprise steps of:
201st, whether detection terminal opens while playing function.
Specifically, whether terminal can be opened with detection terminal while playing function, if so, step 202 is performed, if it is not, Then continue to execute whether detection terminal opens while the step of playing function.After opening playing function simultaneously, terminal receives not During the voice data that same needs play, different voice datas can be played simultaneously.
In one implementation, terminal can by obtaining the mount message applied in terminal or use information, with Automatically turn on playing function simultaneously.For example, in the case of the application that is mounted with to attend to anything else in terminal is detected, terminal can open together When playing function, so as to main application and attend to anything else using phonetic function can be used simultaneously.In another example terminal is being detected using a When having interrupted the broadcasting using the voice data of b, timer can be started, until terminal continues to play the voice data using b When, timer is closed, and the timing result of timer is obtained, if timing result is less than preset time threshold, open language simultaneously Sound function to avoid using b in playing audio-fequency data is interrupted, in this way, can improve the intelligence of terminal again Property and user experience.
In another realization method, terminal can refer to according to the definite unlatching input by user for playing function simultaneously Playing function simultaneously is opened in order.For example, whether terminal can set in menu bar and open while the selection of playing function is pressed Button, to indicate the selection instruction of user's input pin pair while playing function, terminal determines whether to open simultaneously according to selection instruction Playing function.
In another realization method, terminal can according to the definite open command input by user for different application, Playing function while opening different application.Whether opened for example, terminal can respectively be set in menu bar for different application The select button of playing function simultaneously, to indicate selection instruction of user's input pin to different application, terminal is according to selection instruction Playing function while determining whether to open different application.
In one implementation, terminal can also apply for virtual transmission road in the case where opening playing function simultaneously Footpath resource, terminal can also discharge virtual transmission path resource, i.e., only open in the case where closing playing function simultaneously It can just apply for virtual transmission path resource in the case of playing function simultaneously.When audio data processor is digital signal processor When, virtual transmission path resource can be the digital signal processor resource in modem.In this way, Ke Yi Do not open at the same playing function in the case of for other application reserve digital signal processor resource in modem, with The resource utilization of terminal is improved, and effectively slows down the load of modem.
202nd, when detecting that terminal modem receives the voice data for needing to play, acquisition configures in the terminal Alternate transmission paths set and alternative play set of hardware.
In embodiments of the present invention, the implementation procedure of step 202 can be found in the specific descriptions in step 101 in Fig. 1, herein It does not repeat.
203rd, the priority of each alternate transmission paths included according to alternate transmission paths set, from alternate transmission paths Object transmission path is selected in set.
Specifically, the priority for each alternate transmission paths that terminal can be included according to alternate transmission paths set, from Object transmission path is selected in alternate transmission paths set.
In one implementation, terminal can obtain each alternate transmission paths that alternate transmission paths set includes Priority, and the alternate transmission paths of highest priority in alternate transmission paths set are determined as object transmission path.It is if standby The priority for selecting each alternate transmission paths included in transmission path set is identical, and terminal can be from alternate transmission paths set One alternate transmission paths of middle random selection are as object transmission path.
It should be noted that the priority for each alternate transmission paths that alternate transmission paths set includes can be terminal Default setting or terminal sets according to operational order input by user, the embodiment of the present invention alternatively passes each item The set-up mode of the priority in defeated path is not construed as limiting.
204th, according to the alternative each alternative priority for playing hardware for playing set of hardware and including, hardware is played from alternative Target is selected in set and plays hardware.
Specifically, each alternative priority for playing hardware that terminal can be included according to alternative broadcasting set of hardware, from Alternative play selects target broadcasting hardware in set of hardware.
In one implementation, terminal can obtain the alternative each alternative broadcasting hardware for playing set of hardware and including Priority, and the alternative alternative hardware that plays for playing highest priority in set of hardware is determined as target broadcasting hardware.It is if standby The priority that choosing plays each alternative broadcasting hardware included in set of hardware is identical, and terminal can play set of hardware from alternative The middle alternative hardware that plays of random selection one plays hardware as target.
It should be noted that it can be terminal alternatively to play each alternative priority for playing hardware that set of hardware includes Default setting or terminal is set according to operational order input by user, the embodiment of the present invention alternatively broadcasts to each The set-up mode for putting the priority of hardware is not construed as limiting.
It should also be noted that, terminal can first carry out step 203, and it is rear to perform step 204, alternatively, terminal can also be first Perform step 204, it is rear perform step 203 or, terminal can also perform step 203 and step 204 simultaneously, and the present invention is real Example is applied to be not construed as limiting this.
205th, voice data is sent to target from object transmission path and plays hardware, so that target plays hardware and plays sound Frequency evidence.
In embodiments of the present invention, the implementation procedure of step 205 can be found in the specific descriptions in step 104 in Fig. 1, herein It does not repeat.
The embodiment of the present invention by detect terminal open and meanwhile playing function in the case of, detecting terminal tune When modulator-demodulator receives the voice data for needing to play, obtain the alternate transmission paths set configured in the terminal and alternatively broadcast Set of hardware is put, according to the priority for each alternate transmission paths that alternate transmission paths set includes, from alternate transmission paths Object transmission path is selected in set, and according to the preferential of the alternative each alternative broadcasting hardware for playing set of hardware and including Grade selects target broadcasting hardware from alternative play, voice data is sent to target from object transmission path in set of hardware Hardware is played, so that target plays hardware playing audio-fequency data.By respectively according to each alternate transmission paths and each alternative The priority of hardware is played, determines that object transmission path and target play hardware, can realize independently broadcasting for different voice datas It puts, and is conducive to improve the intelligent and user experience of terminal.
The embodiment of the present invention also provides a kind of computer readable storage medium, and computer-readable recording medium storage has calculating Machine program, computer program includes program instruction, when program instruction is executed by processor, can perform method as depicted in figs. 1 and 2 Performed step in embodiment.
Referring to Fig. 3, Fig. 3 is a kind of structure diagram of information processing unit provided in an embodiment of the present invention.Specifically, As shown in figure 3, the information processing unit, including:
Acquiring unit 301, for when detecting that terminal modem receives the voice data for needing to play, obtaining The alternate transmission paths set and alternative broadcasting set of hardware configured in the terminal;
Selecting unit 302, for selecting object transmission path from alternate transmission paths set;
The selection unit 302 is additionally operable to select target broadcasting hardware in set of hardware from alternative play;
Transmitting element 303 plays hardware, so that target is broadcast for voice data to be sent to target from object transmission path Put hardware playing audio-fequency data.
In one implementation, selecting unit 302 is specifically used for:
According to the priority for each alternate transmission paths that alternate transmission paths set includes, from the transmission path set In select object transmission path.
In another realization method, selecting unit 302 is specifically used for:
According to the alternative each alternative priority for playing hardware for playing set of hardware and including, set of hardware is played from alternative In select target play hardware.
In one implementation, acquiring unit 301 is specifically used for:
Obtain the transmission path set configured in the terminal;
The transmission path being in idle condition in transmission path set is determined as alternate transmission paths, and is alternatively passed Defeated set of paths.
In another realization method, acquiring unit 301 is specifically used for:
Obtain the broadcasting set of hardware configured in the terminal;
The broadcasting hardware in connection status is determined in set of hardware is played;
The broadcasting hardware in connection status is determined as alternatively playing hardware described in being in idle condition, and obtains standby Choosing plays set of hardware.
In one implementation, which further includes detection unit 304, and detection unit 304 is used for:
Whether detection terminal opens while playing function;
If so, performing when detecting that terminal modem receives the voice data for needing to play, obtain at end The alternate transmission paths set and alternative broadcasting set of hardware configured in end.
Embodiment of the method shown in the embodiment of the present invention and Fig. 1, Fig. 2 is based on same design, the technique effect brought also phase Together, concrete principle refer to the description of Fig. 1, embodiment illustrated in fig. 2, and this will not be repeated here.
Referring to Fig. 4, Fig. 4 is a kind of structure diagram of intelligent terminal provided in an embodiment of the present invention.The terminal includes: Modem 401, application processor 402, at least two audio data processors and at least two play hardware.
Application processor 402 can be central processing unit (Central Processing Unit, CPU), at the application Reason device 402 can also be other general processors, can be the hardware chips such as programmable logic device.Voice data processing Device can be in DSP, aDSP, Modem DSP or other there is the processor of audio frequency process.It can raise to play hardware Sound device, earphone, Mike, receiver, Bluetooth audio device or other the audio frequency apparatus of wired or wireless connection can be established with terminal.
It should be noted that the audio data processor that intelligent terminal shown in Fig. 4 includes is DSP1 (4031), DSP2 (4032), DSP3 (4033), broadcasting hardware is loud speaker (4041), earphone (not shown), Bluetooth audio device (not shown), and earphone It is connected by earphone interface 4042 with intelligent terminal, Bluetooth audio device is connected with intelligent terminal by blue tooth interface 4043 and is only used for lifting Example, does not form limitation of the invention.
In one implementation, application processor 402, for detecting that modem 401 receives needs and broadcast During the voice data put, from least two audio data processors (i.e. DSP1 (4031), DSP2 (4032) and DSP3 (4033)) In select target audio data processor, and play hardware (i.e. loud speaker (4041), earphone and bluetooth sounds from least two Ring) in select target play hardware so that voice data is sent to target audio data processor by modem 401;
Audio data processor, for carrying out audio frequency process to voice data, and voice data is sent to by treated Application processor 402, so that application processor 402 is by treated, voice data is sent to target broadcasting hardware;
Hardware is played, for the voice data after playback process.
Specifically, the modem 401 in intelligent terminal can receive the voice data for needing to play by antenna.
In another realization method, which further includes memory 405, and memory 405 can be that volatibility is deposited Reservoir (volatile memory) or nonvolatile memory (non-volatile memory), can also be State the combination of the memory of species.Memory 405 is used for:
Audio data processor treated voice data is stored, so that application processor 402 is obtained from memory 405 Treated voice data.
In another realization method, application processor 402 is additionally operable to:
Whether detection at least two plays hardware in connection status, so that application processor 402 from least two is in Target is selected in the broadcasting hardware of connection status and plays hardware.
Specifically, whether terminal can detect at least two broadcasting hardware in connection status, and at least two are in The hardware identifier of the broadcasting hardware of connection status is sent to application processor 402, so that at application processor 402 from least two Target is selected in the broadcasting hardware of connection status and plays hardware.By taking the structure diagram of intelligent terminal shown in Fig. 4 as an example, Whether terminal can be disconnected with the detection pin (not shown) in test earphone interface 4042, if so, showing to insert in terminal Earphone, the mode whether embodiment of the present invention is inserted into test earphone are not construed as limiting.Meanwhile terminal can detect blue tooth interface 4043 to obtain bluetooth connection list of devices, and judges with the presence or absence of Baffle Box of Bluetooth in bluetooth connection list of devices, if so, i.e. table Bright terminal is connected to Baffle Box of Bluetooth.
In another realization method, memory 405 is used to store program instruction.Application processor 402 is deposited for calling The program instruction stored in reservoir 405, to perform method as depicted in figs. 1 and 2.
Embodiment of the method shown in the embodiment of the present invention and Fig. 1, Fig. 2 is based on same design, the technique effect brought also phase Together, concrete principle refer to the description of Fig. 1, embodiment illustrated in fig. 2, and this will not be repeated here.
Referring to Fig. 5, Fig. 5 is a kind of structure diagram of terminal provided in an embodiment of the present invention.The terminal includes:Storage Device 501 and processor 502, wherein, memory 501 and processor 502 are connected by bus 503.
Memory 501 can be volatile memory or nonvolatile memory, can also be mentioned kind The combination of memory.Processor 502 can be central processing unit (Central Processing Unit, CPU), the processing Device 502 can also be other general processors, can be the hardware chips such as programmable logic device.Wherein:
Memory 501, for storing program instruction.
Processor 502, for calling the program instruction stored in memory 501, for:
When detecting that terminal modem receives the voice data for needing to play, acquisition configures standby in the terminal Select transmission path set and alternative broadcasting set of hardware;
Object transmission path is selected from alternate transmission paths set;
Target broadcasting hardware is selected in set of hardware from alternative play;
Voice data is sent to target from object transmission path and plays hardware, so that target plays hardware and plays audio number According to.
In one implementation, processor 502 selects object transmission path from alternate transmission paths set, specifically For:
According to the priority for each alternate transmission paths that alternate transmission paths set includes, from alternate transmission paths set In select object transmission path.
In one implementation, processor 502 selects target broadcasting hardware from alternative play in set of hardware, specifically For:
According to the alternative each alternative priority for playing hardware for playing set of hardware and including, set of hardware is played from alternative In select target play hardware.
In one implementation, processor 502 obtains the alternate transmission paths set configured in the terminal, specific to use In:
Obtain the transmission path set configured in the terminal;
The transmission path being in idle condition in transmission path set is determined as alternate transmission paths, and is alternatively passed Defeated set of paths.
In one implementation, processor 502 obtains the alternative broadcasting set of hardware configured in the terminal, specific to use In:
Obtain the broadcasting set of hardware configured in the terminal;
The broadcasting hardware in connection status is determined in set of hardware is played;
The broadcasting hardware in connection status is determined as alternatively playing hardware described in being in idle condition, and obtains standby Choosing plays set of hardware.
In one implementation, processor 502 needs the audio that plays detecting that terminal modem receives During data, before obtaining the alternate transmission paths set configured in the terminal and alternative broadcasting set of hardware, it is specifically used for:
Whether detection is stated terminal and is opened while playing function;
If so, performing when detecting that terminal modem receives the voice data for needing to play, obtain at end The alternate transmission paths set and alternative broadcasting set of hardware configured in end.
In the specific implementation, processor 502 can perform Fig. 1 and Fig. 2 of the embodiment of the present invention and carry described in the embodiment of the present invention Realization method described in the information processing method of confession also can perform the described information processing apparatus of Fig. 3 of the embodiment of the present invention The realization method put, this will not be repeated here.
More than, it is only some embodiments of the invention, but protection scope of the present invention is not limited thereto, in above-mentioned reality The various equivalent modifications or substitutions expected on the basis of example are applied, should be covered by the protection scope of the present invention.

Claims (10)

1. a kind of information processing method, which is characterized in that including:
Detect terminal modem receive need play voice data when, obtain configured in the terminal it is standby Select transmission path set and alternative broadcasting set of hardware;
Object transmission path is selected from the alternate transmission paths set;
Target, which is selected, from the alternative broadcasting set of hardware plays hardware;
The voice data is sent to the target from the object transmission path and plays hardware, so that the target plays firmly Part playing audio data.
2. according to the method described in claim 1, it is characterized in that, described select mesh from the alternate transmission paths set Transmission path is marked, including:
According to the priority for each alternate transmission paths that the alternate transmission paths set includes, from the alternate transmission paths Object transmission path is selected in set;
It is described to select target broadcasting hardware from the alternative broadcasting set of hardware, including:
According to the alternative each alternative priority for playing hardware for playing set of hardware and including, from the alternative broadcasting hardware Target is selected in set and plays hardware.
3. according to the method described in claim 1, it is characterized in that, described obtain the alternate transmission road configured in the terminal Footpath is gathered, including:
Obtain the transmission path set configured in the terminal;
The transmission path being in idle condition in the transmission path set is determined as alternate transmission paths, and is alternatively passed Defeated set of paths.
4. according to the method described in claim 1, it is characterized in that, described obtain the alternative broadcasting configured in the terminal firmly Part set, including:
Obtain the broadcasting set of hardware configured in the terminal;
The broadcasting hardware in connection status is determined in the broadcasting set of hardware;
The broadcasting hardware in connection status is determined as alternatively playing hardware described in being in idle condition, and is alternatively broadcast Put set of hardware.
5. according to claim 1-4 any one of them methods, which is characterized in that described to detect that terminal modem connects When receiving the voice data for needing to play, the alternate transmission paths set configured in the terminal and alternative broadcasting hardware are obtained Before set, further include:
The terminal is detected whether to open while playing function;
If so, it is obtained described in performing when detecting that terminal modem receives the voice data for needing to play in institute State the alternate transmission paths set configured in terminal and alternative broadcasting set of hardware.
6. a kind of information processing unit, which is characterized in that including:
Acquiring unit, for when detecting that terminal modem receives the voice data for needing to play, obtaining described The alternate transmission paths set and alternative broadcasting set of hardware configured in terminal;
Selecting unit, for selecting object transmission path from the alternate transmission paths set;
The selecting unit is additionally operable to select target broadcasting hardware from the alternative broadcasting set of hardware;
Transmitting element plays hardware for the voice data to be sent to the target from the object transmission path, so that The target plays hardware playing audio data.
7. a kind of intelligent terminal, which is characterized in that including modem, application processor, the processing of at least two voice datas Device and at least two plays hardware;
The application processor, for detect the modem receive need play voice data when, from institute It states and target audio data processor is selected at least two audio data processors, and played from described at least two in hardware It selects target and plays hardware, so that the voice data is sent to the target audio data processing by the modem Device;
The audio data processor, for carrying out audio frequency process to the voice data, and voice data is sent out by treated The application processor is given, so that treated that voice data is sent to that the target is played by described for the application processor Hardware;
The broadcasting hardware, for playing treated the voice data.
8. intelligent terminal according to claim 7, which is characterized in that further include memory;
The memory, treated for storing audio data processor voice data, so that the application processor Treated the voice data is obtained from the memory.
9. the intelligent terminal according to claim 7 or 8, which is characterized in that the application processor is additionally operable to:
It detects described at least two and whether plays hardware in connection status, so that the application processor is in from least two The target is selected in the broadcasting hardware of connection status and plays hardware.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program include program instruction, and described program instruction makes the processor perform such as when being executed by a processor Claim 1-5 any one of them methods.
CN201711431962.2A 2017-12-26 2017-12-26 A kind of information processing method, device, terminal and computer readable storage medium Pending CN108063874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711431962.2A CN108063874A (en) 2017-12-26 2017-12-26 A kind of information processing method, device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711431962.2A CN108063874A (en) 2017-12-26 2017-12-26 A kind of information processing method, device, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108063874A true CN108063874A (en) 2018-05-22

Family

ID=62140316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711431962.2A Pending CN108063874A (en) 2017-12-26 2017-12-26 A kind of information processing method, device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108063874A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343822A (en) * 2018-10-31 2019-02-15 广州虎牙科技有限公司 A kind of determination method, apparatus, equipment and the storage medium of audio frequency apparatus
CN109857364A (en) * 2019-01-28 2019-06-07 Oppo广东移动通信有限公司 Audio frequency playing method and device, storage medium, communication terminal
CN110221805A (en) * 2019-06-13 2019-09-10 上海航盛实业有限公司 Audio frequency playing method, system, terminal and storage medium
CN110855824A (en) * 2018-08-21 2020-02-28 西安中兴新软件有限责任公司 Audio playing method, system, terminal and computer readable storage medium
CN110868621A (en) * 2018-08-27 2020-03-06 中兴通讯股份有限公司 Audio playing method, device, equipment and computer readable medium
CN111782176A (en) * 2020-07-03 2020-10-16 深圳市有方科技股份有限公司 Method for simultaneously using wired earphone and Bluetooth earphone and electronic equipment
CN112527231A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Method and apparatus for audio output device selection
CN113423007A (en) * 2021-06-17 2021-09-21 元心信息科技集团有限公司 Control method and device for multi-audio playing, electronic equipment and storage medium
CN113794928A (en) * 2021-09-14 2021-12-14 青岛海信传媒网络技术有限公司 Audio playing method and display device
CN114422915A (en) * 2021-12-17 2022-04-29 珠海格力电器股份有限公司 Audio playing control method and device, electronic equipment and storage medium
WO2023035630A1 (en) * 2021-09-07 2023-03-16 青岛海信传媒网络技术有限公司 Audio control method and display device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105023593A (en) * 2014-04-18 2015-11-04 联想移动通信科技有限公司 Terminal audio playing method, terminal audio playing device and terminal
CN105096981A (en) * 2015-09-25 2015-11-25 福州瑞芯微电子股份有限公司 Multipath sound playing method, multipath sound playing device and multipath sound playing system
CN105702271A (en) * 2015-12-31 2016-06-22 联想(北京)有限公司 Multimedia playing method and electronic equipment
US20160359512A1 (en) * 2015-06-05 2016-12-08 Braven LC Multi-channel mixing console
CN106528037A (en) * 2016-10-24 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Audio processing method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105023593A (en) * 2014-04-18 2015-11-04 联想移动通信科技有限公司 Terminal audio playing method, terminal audio playing device and terminal
US20160359512A1 (en) * 2015-06-05 2016-12-08 Braven LC Multi-channel mixing console
CN105096981A (en) * 2015-09-25 2015-11-25 福州瑞芯微电子股份有限公司 Multipath sound playing method, multipath sound playing device and multipath sound playing system
CN105702271A (en) * 2015-12-31 2016-06-22 联想(北京)有限公司 Multimedia playing method and electronic equipment
CN106528037A (en) * 2016-10-24 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Audio processing method and terminal

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855824B (en) * 2018-08-21 2022-04-22 西安中兴新软件有限责任公司 Audio playing method, system, terminal and computer readable storage medium
CN110855824A (en) * 2018-08-21 2020-02-28 西安中兴新软件有限责任公司 Audio playing method, system, terminal and computer readable storage medium
CN110868621A (en) * 2018-08-27 2020-03-06 中兴通讯股份有限公司 Audio playing method, device, equipment and computer readable medium
CN110868621B (en) * 2018-08-27 2022-05-10 中兴通讯股份有限公司 Audio playing method, device, equipment and computer readable medium
CN109343822A (en) * 2018-10-31 2019-02-15 广州虎牙科技有限公司 A kind of determination method, apparatus, equipment and the storage medium of audio frequency apparatus
CN109857364A (en) * 2019-01-28 2019-06-07 Oppo广东移动通信有限公司 Audio frequency playing method and device, storage medium, communication terminal
CN110221805A (en) * 2019-06-13 2019-09-10 上海航盛实业有限公司 Audio frequency playing method, system, terminal and storage medium
CN112527231B (en) * 2019-09-18 2023-01-13 华为技术有限公司 Method and apparatus for audio output device selection
CN112527231A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Method and apparatus for audio output device selection
CN111782176A (en) * 2020-07-03 2020-10-16 深圳市有方科技股份有限公司 Method for simultaneously using wired earphone and Bluetooth earphone and electronic equipment
CN113423007A (en) * 2021-06-17 2021-09-21 元心信息科技集团有限公司 Control method and device for multi-audio playing, electronic equipment and storage medium
CN113423007B (en) * 2021-06-17 2023-03-14 元心信息科技集团有限公司 Control method and device for multi-audio playing, electronic equipment and storage medium
WO2023035630A1 (en) * 2021-09-07 2023-03-16 青岛海信传媒网络技术有限公司 Audio control method and display device
CN113794928A (en) * 2021-09-14 2021-12-14 青岛海信传媒网络技术有限公司 Audio playing method and display device
CN113794928B (en) * 2021-09-14 2023-07-25 Vidaa(荷兰)国际控股有限公司 Audio playing method and display device
CN114422915A (en) * 2021-12-17 2022-04-29 珠海格力电器股份有限公司 Audio playing control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108063874A (en) A kind of information processing method, device, terminal and computer readable storage medium
CN105023593A (en) Terminal audio playing method, terminal audio playing device and terminal
CN105139877B (en) Connection method, main equipment, control terminal and the system of multimedia play equipment
CN109445741B (en) Data transmission method and device, electronic equipment and storage medium
CN107992282A (en) Audio data processing method and device, computer installation and readable storage devices
US9501259B2 (en) Audio output device to dynamically generate audio ports for connecting to source devices
CN109144464A (en) A kind of method, apparatus and Android device of audio output
CN105657171B (en) The setting method and system of incoming ring tone
CN106341546B (en) A kind of playback method of audio, device and mobile terminal
CN105898557A (en) Voice barrage generation and play method and device, and client
CN105848225B (en) Wireless connection switching method and device in audio frequency broadcast system
CN105653237B (en) Audio play control method, audio broadcasting control system and terminal
CN107911361A (en) Support voice management method, apparatus, terminal device and the storage medium of more sessions
CN105895128B (en) A kind of playback method and relevant apparatus
CN105260159B (en) A kind of audio frequency playing method and device
CN106598539A (en) Method and apparatus for processing audio in application
CN103703751B (en) Data signal route circuit
US20170195817A1 (en) Simultaneous Binaural Presentation of Multiple Audio Streams
CN106911560A (en) A kind of method and apparatus for realizing that synchronous music is shared
CN106878915B (en) Control method, device and the playback equipment and mobile terminal of playback equipment
US20220225029A1 (en) Systems and methods for broadcasting audio
CN109461429A (en) A kind of AI K song microphone speaker integrated equipment
CN115686424A (en) Priority configuration method, device, equipment and storage medium for audio playing
CN112105005B (en) Method and device for controlling Bluetooth equipment to play
WO2022262366A1 (en) Cross-device dialogue service connection method, system, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180522

RJ01 Rejection of invention patent application after publication