CN103945305B - The method and electronic equipment of a kind of information processing - Google Patents

The method and electronic equipment of a kind of information processing Download PDF

Info

Publication number
CN103945305B
CN103945305B CN201310020563.2A CN201310020563A CN103945305B CN 103945305 B CN103945305 B CN 103945305B CN 201310020563 A CN201310020563 A CN 201310020563A CN 103945305 B CN103945305 B CN 103945305B
Authority
CN
China
Prior art keywords
decoder module
output
output interface
multimedia file
electronic equipment
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
CN201310020563.2A
Other languages
Chinese (zh)
Other versions
CN103945305A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310020563.2A priority Critical patent/CN103945305B/en
Publication of CN103945305A publication Critical patent/CN103945305A/en
Application granted granted Critical
Publication of CN103945305B publication Critical patent/CN103945305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses the methods and electronic equipment of a kind of information processing.This method is applied to an electronic equipment, the electronic equipment includes the first decoder module, the second decoder module, the first output interface being connect with first decoder module and the second output interface being connect with second decoder module, wherein, first output interface is different from second output interface;The method includes:Obtain the output request of request first multimedia file of output;Based on the output request, judge whether first decoder module is in running order;When first decoder module is in running order, judge whether first decoder module is exported the second multimedia file by first output interface;When second multimedia file is exported via first output interface, control second decoder module in running order, and first multimedia file is exported by second output interface.

Description

The method and electronic equipment of a kind of information processing
Technical field
The present invention relates to electronic technology field more particularly to the methods and electronic equipment of a kind of information processing.
Background technology
With the development of computer technology, electronic equipment will not only meet the work requirements of people, more and more Meet people’s lives entertainment requirements, for example, listening to music, see video.
At present, it for example, smart mobile phone, altogether there are two audio output interface on mobile phone, i.e., headset output interface and raises Sound device output interface, the two audio output interfaces share an audio decoder.When user is during listening to music, CPU The audio file of MP3 format can be sent to audio decoder, then, audio decoder decodes the audio file so that number Word audio signal is converted to analog audio signal, next, analog audio signal is sent in above-mentioned two output interface One output interface, such as headset output interface finally, are exported analog audio signal by earphone, such user can just listen Arrive music.
But present inventor during technical solution, it is found that above-mentioned technology is at least deposited in the embodiment of the present invention is realized In following technical problem:
Since earphone and loud speaker share an audio decoder chip, then, when user listens song by earphone, sound Frequency decoding chip can only just export audio file to headset output interface, be unable to be sent to give loud speaker output and connect Mouthful, that is to say, that only there are one can export audio file in two output interfaces;It raises one's voice conversely, audio file is exported to Device output interface, then headset output interface cannot export audio file.In this way, there is electronic equipment can not pass through Different output interfaces exports the technical issues of different multimedia files simultaneously.
Invention content
The present invention provides a kind of method and electronic equipment of information processing, is set to solve electronics in the prior art Standby the technical issues of can not different multimedia files being exported by different output interfaces simultaneously.
On the one hand, the present invention provides a kind of method of information processing, applied to an electricity by one embodiment of the application Sub- equipment, the electronic equipment include the first decoder module, the second decoder module, connect with first decoder module first Output interface and the second output interface being connect with second decoder module, wherein, first output interface is different from Second output interface;The method includes:Obtain the output request of request first multimedia file of output;Based on described Output request, judges whether first decoder module is in running order;When first decoder module is in running order When, judge whether first decoder module is exported the second multimedia file by first output interface;When described When two multimedia files are exported via first output interface, control second decoder module in running order, and will First multimedia file is exported by second output interface.
Optionally, first output interface is connect with the first audio output device, second output interface and second Audio output device connects;It is described by first multimedia file by second output interface export after, the side Method further includes:It obtains one and adjusts volume instructions;Judge that the adjusting volume instructions adjust the defeated of first audio output device Go out volume instruction still adjust second audio output device output volume instruction, obtain a judging result;Work as institute It states judging result and shows that the adjusting volume instructions are the instructions for the output volume for adjusting first audio output device, adjust The output volume of first output interface;When the judging result shows that the adjusting volume instructions are to adjust second sound The instruction of the output volume of frequency output device adjusts the output volume of second output interface.
Optionally, it is described to export first multimedia file by second output interface, it specifically includes:Pass through Second decoder module is decoded first multimedia file, obtains the first decoding file;Detect second sound Whether frequency output device connect with the electronic equipment;When second audio output device is connect with the electronic equipment, First decoding file is exported to second audio output device.
Optionally, it is described by first multimedia file by second output interface export after, the method It further includes:Obtain a command for stopping;Judge instruction or end of the command for stopping to terminate the first decoder module work The only instruction of the second decoder module work;When the command for stopping is to terminate the instruction of the first decoder module work When, first decoder module is controlled to be in off working state;When the command for stopping is terminates the second decoder module work During the instruction of work, second decoder module is controlled to be in off working state.
Optionally, first decoder module is audio decoder module;Second decoder module is Video decoding module.
Optionally, first multimedia file is video file;Second multimedia file is audio file.
On the other hand, the present invention provides a kind of electronic equipment by another embodiment of the application, including:Circuit board;The One decoder module is arranged on the circuit board, for being decoded to the second multimedia file;First output interface, with institute The connection of the first decoder module is stated, for exporting second multimedia file;Second decoder module is arranged on the circuit board On, for being decoded to the first multimedia file;Second output interface is connect with second decoder module, for exporting First multimedia file, wherein, second output interface is different from first output interface;Chip is controlled, respectively It is connect with first decoder module and second decoder module, for obtaining the defeated of request first multimedia file of output Go out request;Based on the output request, judge whether first decoder module is in running order;When the described first decoding mould When block is in running order, judge whether first decoder module by the second multimedia file passes through first output interface Output;When second multimedia file is exported via first output interface, second decoder module is controlled to be in Working condition, and first multimedia file is exported by second output interface.
Optionally, the control chip specifically includes:Obtaining unit, for obtaining request first multimedia file of output Output request;Whether judging unit for being based on the output request, judges first decoder module in work shape State;Judging unit is additionally operable to when first decoder module is in running order, judges that first decoder module whether will Second multimedia file is exported by first output interface;Control unit, for work as second multimedia file via During the first output interface output, control second decoder module in running order;Output unit, for by described One multimedia file is exported by second output interface.
Optionally, first output interface is connect with the first audio output device, second output interface and second Audio output device connects;The electronic equipment further includes:Sound volume regulation unit adjusts volume instructions for obtaining one;Judge The instruction for adjusting the output volume that volume instructions adjust first audio output device still adjusts second audio The instruction of the output volume of output device obtains a judging result;When the judging result shows that the adjusting volume instructions are The instruction of the output volume of first audio output device is adjusted, adjusts the output volume of first output interface;Work as institute It states judging result and shows that the adjusting volume instructions are the instructions for the output volume for adjusting second audio output device, adjust The output volume of second output interface.
Optionally, the output unit, specifically includes:Decoding subunit, for passing through second decoder module, to institute It states the first multimedia file to be decoded, obtains the first decoding file;Detection sub-unit, for detecting second audio output Whether device connect with the electronic equipment;Subelement is exported, is set for working as second audio output device with the electronics During standby connection, first decoding file is exported to second audio output device.
Optionally, the electronic equipment further includes:Unit is terminated, for obtaining a command for stopping;Judge that the termination refers to Enable the instruction that the second decoder module work is still terminated to terminate the instruction of the first decoder module work;When the end During the instruction that only instruction works for termination first decoder module, first decoder module is controlled to be in off working state; When the command for stopping is to terminate the instruction of the second decoder module work, second decoder module is controlled to be in non-work Make state.
Optionally, first decoder module is audio decoder module;Second decoder module is Video decoding module.
Optionally, first multimedia file is video file;Second multimedia file is audio file.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
1st, it since electronic equipment is after the output request of the first multimedia file of output is obtained, is asked based on the output, Judge whether the first decoder module is in running order, when the first decoder module is in running order, judge the first decoding mould Whether block is exported the second multimedia file by the first output interface, when the second multimedia file is defeated via the first output interface When going out, the second decoder module of control is in running order, and the first multimedia file is exported by the second output interface, this Sample is allowed for while the first decoder module exports the second multimedia file by the first output interface, the second decoding of control Module works, and the first multimedia file is exported by the second output interface for being different from the first output interface, so, effectively solve Electronic equipment in the prior art of having determined can not export different multimedia files simultaneously by different output interfaces Technical problem, and then realize electronic equipment and the multichannel of multiple multimedia files is exported, improve user experience.
2nd, after volume instructions can be adjusted obtaining one due to electronic equipment, judge that the adjusting volume instructions are by first Audio output device sends out or is sent out by the second audio output device, a judging result is obtained, then, when judging result shows It adjusts volume instructions to be sent out by the first audio output device, adjusts the output volume of the first output interface;Conversely, work as judging result Show that adjust volume instructions is sent out by the second audio output device, adjusts the output volume of the second output interface, that is to say, that when After electronic equipment receives an adjustment volume instructions, the instruction of meeting automatic decision is sent out by which audio output device, and The output volume of corresponding output interface, the volume without influencing another output interface, Jin Erti are adjusted according to judging result The high intelligence of electronic equipment, provides good user experience.
3rd, since electronic equipment can judge the command for stopping to terminate the first decoding mould after a command for stopping is obtained The instruction of block work or the instruction for terminating the work of the second decoder module, then, when the command for stopping is terminates the first decoding mould During the instruction of block work, the first decoder module of control is in off working state;Conversely, when the command for stopping is terminates the second decoding During the instruction of module work, the second decoder module of control is in off working state, that is to say, that electronic equipment is being connected to above-mentioned end After only instructing, the automatic decision command for stopping is which decoder module work to be terminated, and control accordingly according to judging result Decoder module be stopped, without after command for stopping is obtained, cannot respond to the instruction, and then improve electronic equipment Intelligence, provide good user experience.
Description of the drawings
Fig. 1 is the structure diagram of the electronic equipment in one embodiment of the invention;
Fig. 2 is the flow chart of the method for the information processing in one embodiment of the invention;
Fig. 3 is the flow chart of the method for the adjusting volume in one embodiment of the invention;
Fig. 4 is the flow chart of the method for terminating decoder module work in one embodiment of the invention;
Fig. 5 is the structure diagram of the electronic equipment in another embodiment of the present invention.
Specific embodiment
The embodiment of the present application is solved and is existed in the prior art by providing the method and electronic equipment of a kind of information processing Electronic equipment the technical issues of can not different multimedia files being exported by different output interfaces simultaneously.
Technical solution in the embodiment of the present application can not pass through multiple outputs simultaneously to solve above-mentioned electronic equipment Interface exports the problem of multimedia file, and general thought is as follows:
Be provided in electronic equipment the first decoder module, the second decoder module and connect with to the first decoder module One output interface and the second output interface being connect with the second decoder module, wherein, the first output interface and the second output interface For different output interfaces.Electronic equipment, please based on the output after the output request of the first multimedia file of output is obtained It asks, judges whether the first decoder module is in running order, when the first decoder module is in running order, judge the first decoding Whether module is exported the second multimedia file by the first output interface, when the second multimedia file is via the first output interface During output, the second decoder module of control is in running order, and the first multimedia file is exported by the second output interface, this Sample is allowed for while the first decoder module exports the second multimedia file by the first output interface, the second decoding of control Module works, and the first multimedia file is exported by the second output interface, so, it efficiently solves in the prior art The technical issues of electronic equipment can not export different multimedia files simultaneously by different output interfaces, and then realize electricity Sub- equipment exports the multichannel of multiple multimedia files, improves user experience.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the present invention Specific features in embodiment and embodiment are to the detailed description of technical solution of the present invention rather than to the technology of the present invention The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present invention and embodiment can be combined with each other.
On the one hand, the present invention provides a kind of method of information processing, applied to an electricity by one embodiment of the application Sub- equipment, the electronic equipment can be large scale tablet computer, tablet computer, smart mobile phone, laptop, smart television Deng, the electronic equipment 01, as shown in Figure 1, including:First decoder module 101, the second decoder module 201 and the first decoder module First output interface 102 of 101 connections and the second output interface 202 being connect with the second decoder module 201, wherein, first Output interface 102 is different from the second output interface 202.
In specific implementation process, the first decoder module 101 and the second decoder module 201 can be audio decoder chip, It may be video decoding chip, can also be audio decoder software or video decoding software;First output interface, 102 He Second output interface 202 can be output interface, for example, the jack of wired earphone, the input interface of boombox, certainly, Can also be wireless communication module, for example, the bluetooth communication being connect with bluetooth headset/speaker, connect with wireless sound box Wireless communication module, those skilled in the art can sets itself, the application is not specifically limited.
In practical applications, when the first decoder module 101 and the second decoder module 201 are decoding chip, the first decoding 101 and second decoder module 201 of module can be set along on a circuit board;First output interface 102 and the second output connect Mouth 202 can also be set on the board, it is of course also possible to be arranged on other circuit boards, as long as can ensure first Decoder module 101 is connect with the first output interface 102, and the second decoder module 201 is connect with the second output interface 202, this Field technology personnel can sets itself, the application is not specifically limited.
Certainly, the first decoder module 101 and the second decoder module 201 can be not only included in electronic equipment 01, it can be with There are multiple decoder modules, also, each decoder module corresponds to multiple output interfaces, for example, a decoder module can be with ear At least two companies in machine interface, boombox input interface, above-mentioned bluetooth communication or above-mentioned wireless communication module It connects.About specific type of attachment, those skilled in the art can be not specifically limited with sets itself, the application.
As shown in Fig. 2, this method includes:
S101:Obtain the output request of request first multimedia file of output;
S102:It is asked based on output, judges whether the first decoder module is in running order;
S103:When the first decoder module is in running order, judge whether the first decoder module is literary by the second multimedia Part is exported by the first output interface;
S104:When the second multimedia file is exported via the first output interface, the second decoder module of control is in work State, and the first multimedia file is exported by the second output interface.
Below by electronic equipment 01 for for large scale tablet computer, above-mentioned technical proposal is described in detail.
Incorporated by reference to Fig. 1 and Fig. 2, for example, electronic equipment 01 is used in user A listens song, i.e. electronics by boombox Equipment 01 is playing an audio file by boombox, at this point, user B wants to set using the electronics by bluetooth headset Standby 01 watches movie, and then, user B selects to want the video file of viewing on the touch sensitive display unit of electronic equipment 01, and point touches The Play button at this point, electronic equipment 01 performs S101, obtains response user's B points and touches the generated playing request of operation, i.e., please The output request of the first multimedia file of output is asked, the first multimedia file mentioned here is exactly above-mentioned video file.
In specific implementation process, decoder module is corresponding with the type of multimedia file, for example, when the first decoder module 101 be audio decoder chip or audio decoder software when, the second multimedia file just be audio file;When the second decoder module 201 be video decoding chip or video decoding software when, the first multimedia file just be video file.Certainly, when the first solution When code module 101 can also be video decoding chip or video decoding software, the second multimedia file is just video file;When When second decoder module 201 is audio decoder chip or audio decoder software, the first multimedia file is just audio file.It closes In the type of decoder module and multimedia file, those skilled in the art can sets itself, the application is not specifically limited.
Next, into S102, i.e.,:It is asked based on output, judges whether the first decoder module is in running order.Also It is to say, after electronic equipment 01 receives above-mentioned output request, judges whether the first decoder module 101 is currently being used.
So, into S103, i.e.,:When the first decoder module is in running order, judge that the first decoder module whether will Second multimedia file is exported by the first output interface.
Specifically, judge that the first decoder module 101 is currently being used by S102, then, further judge first Whether by the second multimedia file, such as above-mentioned audio file passes through the first output interface, such as boombox to decoder module 101 Input interface exports.
S104:When the second multimedia file is exported via the first output interface, the second decoder module of control is in work State, and the first multimedia file is exported by the second output interface.That is, it ought further judge the second multimedia File is when being exported via above-mentioned first output interface 102, and the second decoder module 201 of control works, then, by the first multimedia File, i.e., above-mentioned video file are sent to the second decoder module 201, then, after being decoded by the second decoder module 201, then The second output interface 202 is sent to, such as bluetooth communication, finally, exports decoded first multimedia file.
In another embodiment, the first output interface 102 is connect with the first audio output device, the second output interface 202 It is connect with the second audio output device, for example, the first output interface 102 is the input interface of boombox, then, the first sound Frequency output device is just boombox;Second output interface 202 is bluetooth communication, then, the second audio output device Just it is bluetooth headset, in practical applications, 4.0 technology of bluetooth may be used in bluetooth communication, can also use 3.0 skill of bluetooth Art, as long as bluetooth headset can be connected, the application is not specifically limited;For another example, the first output interface 102 is wired ear Machine transplanting of rice hole, then, the first audio output device is just wired earphone;Second output interface 202 is wireless communication module, then, Second audio output device is just wireless sound box.Certainly, the first audio output device can also be with the second audio output device Other forms, as long as being corresponded respectively with the first output interface 102 and the second output interface 202, the application, which is not done, to be had Body limits.
So, at this point, above-mentioned S104 can also be:By the second decoder module, the first multimedia file is decoded, Obtain the first decoding file;Detect whether the second audio output device connect with electronic equipment;When the second audio output device with When electronic equipment connects, the first decoding file is exported to the second audio output device.
Specifically, when the second multimedia file is connect by above-mentioned first output interface 102, such as the input of boombox Mouthful, during output, the second decoder module 201 is decoded the first multimedia file, and digital audio and video signals are converted to analog audio Frequency signal obtains the first decoding file, it is then detected that whether the second audio output device is connected by the second output interface 202, If the second audio output device is bluetooth headset, then just detect whether it connect with the bluetooth communication of electronic equipment 01, When detecting that bluetooth headset is connect with bluetooth communication, the first decoding file is exported to bluetooth communication, then by indigo plant Tooth communication module is sent to bluetooth headset, i.e., exports the first decoding file to the second audio output device.
So far, it just completes the first multimedia file and the second multimedia file simultaneously respectively by the first decoder module 101 and second process that exports of decoder module 201, it realizes electronic equipment 01 and the multichannels of multiple multimedia files is exported, User A and user B is enabled to listen to music and watch simultaneously video using electronic equipment 01, and the other side that is independent of each other, improved User experience.
Further, during the use of electronic equipment 01, user A and user B may adjust the volume heard, in order to When a side adjusts volume, other people normal use is not influenced, then, after S104, as shown in figure 3, this method is also wrapped It includes:
S201:It obtains one and adjusts volume instructions;
S202:The instruction for judging to adjust the output volume that volume instructions adjust the first audio output device still adjusts second The instruction of the output volume of audio output device obtains a judging result;
S203:When judging result shows to adjust the finger that volume instructions are the output volumes for adjusting the first audio output device It enables, adjusts the output volume of the first output interface;
S204:When judging result shows to adjust the finger that volume instructions are the output volumes for adjusting the second audio output device It enables, adjusts the output volume of the second output interface.
Specifically, first, when a user wants to adjust volume, for example, user A wants to turn its boombox down Output volume, then, first, he can press the mechanical volume button " volume-" being arranged on electronic equipment 01, Huo Zhedian The button " volume-" on the display interface of the music player in the touch display screen of electronic equipment 01 is touched, at this point, electronic equipment 01 performs S201, obtains one and adjusts volume instructions.
Then, into S202, i.e.,:Judge that adjusting volume instructions adjust the instruction of the output volume of the first audio output device Or the instruction of the output volume of the second audio output device is adjusted, obtains a judging result.That is, obtaining above-mentioned tune After saving volume instructions, the instruction of the meeting automatic decision of electronic equipment 01 is to adjust the instruction of which volume output device output volume, For example it is that user A points touch button on music player interface or user B points touch video to judge that the point touches " volume-" operation Button on player interface, and obtain a judging result.
Next, according to above-mentioned judging result, into S203, i.e.,:When judging result shows that it is to adjust to adjust volume instructions The instruction of the output volume of first audio output device adjusts the output volume of the first output interface.That is, when judging knot Fruit represents the instruction that the instruction is the output volume for adjusting the first audio output device, touches " volume-" for point such as judging result and grasps The button operation on music player interface is touched as point, correspondingly, the first output interface 102 of adjusting, i.e. boombox The output volume of input interface, for example, increasing by a signal between the first decoder module 101 and the input interface of boombox Amplifying circuit increases by a slide resistor, to adjust the analog audio signal for the input interface for being input to boombox Volume.Certainly, also other modes, as long as the output volume of the first output interface 102 can be adjusted, the application is not It is specifically limited.
Further, when judging result is the instruction that regulating command is the output volume for adjusting the second audio output device, Into S204, i.e., when judging result shows to adjust the instruction that volume instructions are the output volumes for adjusting the second audio output device, Adjust the output volume of the second output interface.That is, when judging result represents the instruction to adjust the second audio output dress The instruction for the output volume put, if judging result is that a little to touch " volume-" operation be that a little the button on tactile video player interface is grasped Make or press " volume-" button on bluetooth headset, correspondingly, adjusting the second output interface 202, i.e. bluetooth communication Output volume, for example, increase by a signal amplification circuit between the second decoder module 201 and the input interface of bluetooth headset, Or increase by a slide resistor, to adjust the volume for the analog audio signal for being input to bluetooth communication.Certainly, also its His mode, as long as the output volume of the second output interface 202 can be adjusted, the application is not specifically limited.
So far, just finish electronic equipment 01 according to the output volume of the operation automatic adjustment response output device of user Process.After electronic equipment 01 receives an adjustment volume instructions, the instruction of meeting automatic decision is by which audio output device It sends out, and the output volume of corresponding output interface, the sound without influencing another output interface is adjusted according to judging result Amount, and then the intelligence of electronic equipment 01 is improved, provide good user experience.
In specific implementation process, when user A terminates to terminate to use electronics using 01 tin of song of electronic equipment or user B When equipment 01 watches video, maloperation does not occur in order to accurately responding the operation of user for electronic equipment 01, as shown in figure 4, After S104, this method further includes:
S301:Obtain a command for stopping;
S302:Judge that command for stopping still terminates the work of the second decoder module to terminate the instruction of the first decoder module work Instruction;
S303:When command for stopping is to terminate the instruction of the first decoder module work, the first decoder module of control is in non- Working condition;
S304:When command for stopping is to terminate the instruction of the second decoder module work, the second decoder module of control is in non- Working condition.
Specifically, first, user wants to terminate using electronic equipment 01, for example, user's B video-sees terminate, then, He can put " stopping " button on tactile video player interface, and then, electronic equipment 01 performs S301, obtains one and aforesaid operations Corresponding command for stopping.
Then, into S302, i.e.,:Judge that command for stopping still terminates second to terminate the instruction of the first decoder module work The instruction of decoder module work.That is, judge that above-mentioned command for stopping is specifically to terminate the finger of which decoder module work It enables.
Next, when above-mentioned command for stopping is to terminate the instruction of the first decoder module 101 work, into S303, i.e.,:When Command for stopping is when terminating the instruction of the first decoder module work, and the first decoder module of control is in off working state.Namely It says, when command for stopping is to terminate the instruction of the first decoder module 101 work, controls 101 power down of the first decoder module.
Further, when above-mentioned command for stopping is to terminate the instruction of the second decoder module 201 work, into S304, i.e.,:When Command for stopping is when terminating the instruction of the second decoder module work, and the second decoder module of control is in off working state.Namely It says, when command for stopping is to terminate the instruction of the second decoder module 201 work, controls 201 power down of the second decoder module.
So far, just finish the mistake that electronic equipment 01 terminates corresponding decoder module work according to the operation of user automatically Journey.For electronic equipment 01 after above-mentioned command for stopping is connected to, the automatic decision command for stopping is which decoder module work terminated Make, and corresponding decoder module is controlled to be stopped according to judging result, without after command for stopping is obtained, cannot respond to The instruction, and then the intelligence of electronic equipment 01 is improved, provide good user experience.
In practical applications, in addition to above two instructs, also exist such as F.F. instruction, next instruction, pause instruction, broadcast Put other operational orders to audio/video file such as instruction, the process of the specific implementation of these operational orders and above-mentioned adjustment Volume instructions are similar with the realization process of command for stopping, just no longer repeat one by one herein.
By said one or multiple embodiments it is found that since electronic equipment is obtaining the first multimedia file of output After output request, asked based on the output, judge whether the first decoder module is in running order, at the first decoder module When working condition, judge whether the first decoder module is exported the second multimedia file by the first output interface, when second When multimedia file is exported via the first output interface, the second decoder module of control is in running order, and by the first multimedia File is exported by the second output interface, in this way, allowing for exporting more than second by the first output interface in the first decoder module While media file, control the second decoder module work is exported by the second output interface for being different from the first output interface First multimedia file realizes electronic equipment and the multichannel of multimedia file is exported, improves user experience;Further, After can adjusting volume instructions obtaining one due to electronic equipment, judging the adjusting volume instructions is filled by the first audio output It puts and sends out or sent out by the second audio output device, obtain a judging result, then, when judging result shows that adjusting volume refers to Order is sent out by the first audio output device, adjusts the output volume of the first output interface;Conversely, when judging result shows to adjust sound Amount instruction is sent out by the second audio output device, adjusts the output volume of the second output interface, that is to say, that when electronic equipment connects After receiving an adjustment volume instructions, the instruction of meeting automatic decision is sent out by which audio output device, and is tied according to judgement The output volume of the corresponding output interface of fruit adjustment, without influencing the volume of another output interface, and then improves electronics and sets Standby intelligence provides good user experience;Further, due to electronic equipment can after a command for stopping is obtained, The command for stopping is judged to terminate the instruction of the first decoder module work or terminating the instruction of the second decoder module work, so Afterwards, when the command for stopping is to terminate the instruction of the first decoder module work, the first decoder module of control is in off working state; Conversely, when the command for stopping is to terminate the instruction of the second decoder module work, the second decoder module of control is in inoperative shape State, that is to say, that for electronic equipment after above-mentioned command for stopping is connected to, the automatic decision command for stopping is which decoding terminated Module works, and corresponding decoder module is controlled to be stopped according to judging result, without after command for stopping is obtained, nothing Method responds the instruction, and then improves the intelligence of electronic equipment, provides good user experience.
On the other hand, the present invention provides a kind of electronic equipment by another embodiment of the application, which can be with For large scale tablet computer, tablet computer, smart mobile phone, laptop, smart television etc., as shown in figure 5, the electronic equipment 01 includes:Circuit board 10;First decoder module 101 is set on the circuit board 10, for being solved to the second multimedia file Code;First output interface 102 is connect with the first decoder module 101, for exporting the second multimedia file;Second decoder module 201, it sets on the circuit board 10, for being decoded to the first multimedia file;Second output interface 202, with the second decoding Module 201 connects, for exporting the first multimedia file, wherein, the second output interface 202 is different from the first output interface 102; Chip 30 is controlled, is connect respectively with the first decoder module 101 and the second decoder module 201, for obtaining a request output first The output request of multimedia file;It is asked based on output, judges whether the first decoder module 101 is in running order;When first When decoder module 101 is in running order, judge whether the first decoder module 101 passes through first by the second multimedia file and export Interface 102 exports;When the second multimedia file is exported via the first output interface 102, the second decoder module 201 of control is in Working condition, and the first multimedia file is exported by the second output interface 202.
In specific implementation process, the first decoder module 101 and the second decoder module 201 can be audio decoder chip, It may be video decoding chip, can also be audio decoder software or video decoding software;First output interface, 102 He Second output interface 202 can be output interface, for example, the jack of wired earphone, the input interface of boombox, certainly, Can also be wireless communication module, for example, the bluetooth communication being connect with bluetooth headset/speaker, connect with wireless sound box Wireless communication module, those skilled in the art can sets itself, the application is not specifically limited.
Certainly, the first decoder module 101 and the second decoder module 201 can be not only included in electronic equipment 01, it can be with There are multiple decoder modules, also, each decoder module corresponds to multiple output interfaces, for example, a decoder module can be with ear At least two companies in machine interface, boombox input interface, above-mentioned bluetooth communication or above-mentioned wireless communication module It connects.About specific type of attachment, those skilled in the art can be not specifically limited with sets itself, the application.
Further, control chip 30 specifically includes:Obtaining unit, for obtaining request first multimedia file of output Output request;Judging unit for being based on output request, judges whether the first decoder module 101 is in running order;It is additionally operable to Whether judging unit judges the first decoder module 101 by the second multimedia text when the first decoder module 101 is in running order Part is exported by the first output interface 102;Control unit, it is defeated via the first output interface 102 for working as the second multimedia file When going out, the second decoder module 201 of control is in running order;Output unit, for the first multimedia file is defeated by second Outgoing interface 202 exports.
Further, the first output interface 102 is connect with the first audio output device, the second output interface 202 and the second sound Frequency output device connects;In specific implementation process, the first output interface 102 is connect with the first audio output device, and second is defeated Outgoing interface 202 is connect with the second audio output device, for example, the first output interface 102 is the input interface of boombox, that , the first audio output device is just boombox;Second output interface 202 is bluetooth communication, then, the second audio Output device is just bluetooth headset, and in practical applications, 4.0 technology of bluetooth may be used in bluetooth communication, can also use 3.0 technology of bluetooth, as long as bluetooth headset can be connected, the application is not specifically limited;For another example, the first output interface 102 be wired earphone jack, then, the first audio output device is just wired earphone;Second output interface 202 is wireless communication Module, then, the second audio output device is just wireless sound box.Certainly, the first audio output device and the second audio output fill It can also be other forms to put, as long as being corresponded respectively with the first output interface 102 and the second output interface 202, this Application is not specifically limited.
At this point, electronic equipment 01 further includes:Sound volume regulation unit adjusts volume instructions for obtaining one;Judge to adjust sound Amount instruction adjusts the instruction of the output volume of the first audio output device or adjusts the output volume of the second audio output device Instruction, obtain a judging result;When judging result shows to adjust the output that volume instructions are the first audio output devices of adjusting The instruction of volume adjusts the output volume of the first output interface 102;When judging result shows that it is adjusting second to adjust volume instructions The instruction of the output volume of audio output device adjusts the output volume of the second output interface 202.
Further, output unit specifically includes:Decoding subunit, for passing through the second decoder module 201, more than first Media file is decoded, and obtains the first decoding file;Detection sub-unit, for detect the second audio output device whether with electricity Sub- equipment 01 connects;Subelement is exported, for when the second audio output device is connect with electronic equipment 01, text to be decoded by first Part is exported to the second audio output device.
Further, electronic equipment 01 further includes:Unit is terminated, for obtaining a command for stopping;Judge command for stopping for eventually The only instruction of the first decoder module 101 work or the instruction of termination the second decoder module 201 work;When command for stopping is terminates During the instruction of the first decoder module 101 work, the first decoder module 101 of control is in off working state;When command for stopping is eventually Only during the instruction of the second decoder module 201 work, the second decoder module 201 of control is in off working state.
Further, the first decoder module 101 is audio decoder module;Second decoder module 201 is Video decoding module.
Further, the first multimedia file is video file;Second multimedia file is audio file.
As described above, the method that above-mentioned electronic equipment is used to implement above- mentioned information processing, so, the electronic equipment The course of work it is consistent with one or more embodiments of the above method, just do not repeat one by one herein.
Technical solution in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
1st, it since electronic equipment is after the output request of the first multimedia file of output is obtained, is asked based on the output, Judge whether the first decoder module is in running order, when the first decoder module is in running order, judge the first decoding mould Whether block is exported the second multimedia file by the first output interface, when the second multimedia file is defeated via the first output interface When going out, the second decoder module of control is in running order, and the first multimedia file is exported by the second output interface, this Sample is allowed for while the first decoder module exports the second multimedia file by the first output interface, the second decoding of control Module works, and the first multimedia file is exported by the second output interface for being different from the first output interface, so, effectively solve Electronic equipment in the prior art of having determined can not export different multimedia files simultaneously by different output interfaces Technical problem, and then realize electronic equipment and the multichannel of multimedia file is exported, improve user experience.
2nd, after volume instructions can be adjusted obtaining one due to electronic equipment, judge that the adjusting volume instructions are by first Audio output device sends out or is sent out by the second audio output device, a judging result is obtained, then, when judging result shows It adjusts volume instructions to be sent out by the first audio output device, adjusts the output volume of the first output interface;Conversely, work as judging result Show that adjust volume instructions is sent out by the second audio output device, adjusts the output volume of the second output interface, that is to say, that when After electronic equipment receives an adjustment volume instructions, the instruction of meeting automatic decision is sent out by which audio output device, and The output volume of corresponding output interface, the volume without influencing another output interface, Jin Erti are adjusted according to judging result The high intelligence of electronic equipment, provides good user experience.
3rd, since electronic equipment can judge the command for stopping to terminate the first decoding mould after a command for stopping is obtained The instruction of block work or the instruction for terminating the work of the second decoder module, then, when the command for stopping is terminates the first decoding mould During the instruction of block work, the first decoder module of control is in off working state;Conversely, when the command for stopping is terminates the second decoding During the instruction of module work, the second decoder module of control is in off working state, that is to say, that electronic equipment is being connected to above-mentioned end After only instructing, the automatic decision command for stopping is which decoder module work to be terminated, and control accordingly according to judging result Decoder module be stopped, without after command for stopping is obtained, cannot respond to the instruction, and then improve electronic equipment Intelligence, provide good user experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, equipment(System)And the flow of computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (13)

1. a kind of method of information processing, applied to an electronic equipment, which is characterized in that the electronic equipment includes the first decoding Module, the second decoder module, the first output interface being connect with first decoder module and with second decoder module Second output interface of connection, wherein, first output interface is different from second output interface;The method includes:
Obtain the output request of request first multimedia file of output;
Based on the output request, judge whether first decoder module is in running order;
When first decoder module is in running order, judge first decoder module whether by the second multimedia file It is exported by first output interface;
When second multimedia file is exported via first output interface, second decoder module is controlled to be in work Make state, and first multimedia file is exported by second output interface.
2. the method as described in claim 1, which is characterized in that first output interface and the first audio output device connect It connects, second output interface is connect with the second audio output device;
It is described by first multimedia file by second output interface export after, the method further includes:
It obtains one and adjusts volume instructions;
Described in judging that the instruction of output volume that the adjusting volume instructions adjust first audio output device still adjusts The instruction of the output volume of second audio output device obtains a judging result;
When the judging result shows that the adjusting volume instructions are the output volumes that adjust first audio output device Instruction adjusts the output volume of first output interface;
When the judging result shows that the adjusting volume instructions are the output volumes that adjust second audio output device Instruction adjusts the output volume of second output interface.
3. method as claimed in claim 2, which is characterized in that described that first multimedia file is defeated by described second Outgoing interface exports, and specifically includes:
By second decoder module, first multimedia file is decoded, obtains the first decoding file;
Detect whether second audio output device connect with the electronic equipment;
When second audio output device is connect with the electronic equipment, first decoding file is exported to described Two audio output devices.
4. the method as described in claim 1, which is characterized in that described that first multimedia file is defeated by described second After outgoing interface output, the method further includes:
Obtain a command for stopping;
Judge that the command for stopping still terminates second decoder module to terminate the instruction of the first decoder module work The instruction of work;
When the command for stopping is to terminate the instruction of the first decoder module work, first decoder module is controlled to be in Off working state;
When the command for stopping is to terminate the instruction of the second decoder module work, second decoder module is controlled to be in Off working state.
5. the method as described in claim 1, which is characterized in that first decoder module is audio decoder module;Described Two decoder modules are Video decoding module.
6. method as claimed in claim 5, which is characterized in that first multimedia file is video file;Described second Multimedia file is audio file.
7. a kind of electronic equipment, which is characterized in that including:
Circuit board;
First decoder module is arranged on the circuit board, for being decoded to the second multimedia file;
First output interface is connect with first decoder module, for exporting second multimedia file;
Second decoder module is arranged on the circuit board, for being decoded to the first multimedia file;
Second output interface is connect with second decoder module, for exporting first multimedia file, wherein, it is described Second output interface is different from first output interface;
Chip is controlled, is connect respectively with first decoder module and second decoder module, for obtaining a request output The output request of first multimedia file;Based on the output request, judge first decoder module whether in work shape State;When first decoder module is in running order, judge first decoder module whether by the second multimedia file It is exported by first output interface;When second multimedia file is exported via first output interface, control Second decoder module is in running order, and first multimedia file is exported by second output interface.
8. electronic equipment as claimed in claim 7, which is characterized in that the control chip specifically includes:
Obtaining unit, for obtaining the output request of request first multimedia file of output;
Judging unit for being based on the output request, judges whether first decoder module is in running order;It is additionally operable to Whether judging unit judges first decoder module by the second multimedia when first decoder module is in running order File is exported by first output interface;
Control unit, for when second multimedia file is exported via first output interface, controlling described second Decoder module is in running order;
Output unit, for first multimedia file to be exported by second output interface.
9. electronic equipment as claimed in claim 8, which is characterized in that first output interface and the first audio output device Connection, second output interface are connect with the second audio output device;
The electronic equipment further includes:
Sound volume regulation unit adjusts volume instructions for obtaining one;Judge that the adjusting volume instructions adjust first audio The instruction of the output volume of output device still adjusts the instruction of the output volume of second audio output device, obtains one and sentences Disconnected result;When the judging result shows that the adjusting volume instructions are the output volumes that adjust first audio output device Instruction, adjust the output volume of first output interface;When the judging result shows that the adjusting volume instructions are to adjust The instruction of the output volume of second audio output device is saved, adjusts the output volume of second output interface.
10. electronic equipment as claimed in claim 9, which is characterized in that the output unit specifically includes:
Decoding subunit for passing through second decoder module, is decoded first multimedia file, obtains first Decoding file;
Detection sub-unit, for detecting whether second audio output device connect with the electronic equipment;
Subelement is exported, for when second audio output device is connect with the electronic equipment, described first to be decoded File is exported to second audio output device.
11. electronic equipment as claimed in claim 8, which is characterized in that the electronic equipment further includes:
Unit is terminated, for obtaining a command for stopping;Judge the command for stopping to terminate the first decoder module work Instruction still terminates the instruction of the second decoder module work;When the command for stopping is terminates the first decoder module work During the instruction of work, first decoder module is controlled to be in off working state;When the command for stopping is terminates second solution During the instruction of code module work, second decoder module is controlled to be in off working state.
12. electronic equipment as claimed in claim 7, which is characterized in that first decoder module is audio decoder module;Institute The second decoder module is stated as Video decoding module.
13. electronic equipment as claimed in claim 12, which is characterized in that first multimedia file is video file;Institute The second multimedia file is stated as audio file.
CN201310020563.2A 2013-01-21 2013-01-21 The method and electronic equipment of a kind of information processing Active CN103945305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310020563.2A CN103945305B (en) 2013-01-21 2013-01-21 The method and electronic equipment of a kind of information processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310020563.2A CN103945305B (en) 2013-01-21 2013-01-21 The method and electronic equipment of a kind of information processing

Publications (2)

Publication Number Publication Date
CN103945305A CN103945305A (en) 2014-07-23
CN103945305B true CN103945305B (en) 2018-07-06

Family

ID=51192745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310020563.2A Active CN103945305B (en) 2013-01-21 2013-01-21 The method and electronic equipment of a kind of information processing

Country Status (1)

Country Link
CN (1) CN103945305B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105702271A (en) * 2015-12-31 2016-06-22 联想(北京)有限公司 Multimedia playing method and electronic equipment
CN105810220B (en) * 2016-03-22 2018-09-04 广东欧珀移动通信有限公司 The control method of music playing system, apparatus and system
CN114422915A (en) * 2021-12-17 2022-04-29 珠海格力电器股份有限公司 Audio playing control method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540183A (en) * 2008-03-18 2009-09-23 鸿富锦精密工业(深圳)有限公司 Playing device and audio output method
CN201887900U (en) * 2010-12-07 2011-06-29 叶惠仙 Device capable of supporting simultaneous playing of multi-path audio/video
CN102568513A (en) * 2011-12-28 2012-07-11 北京三星通信技术研究有限公司 Audio data processing method and interacting method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5692058A (en) * 1995-03-02 1997-11-25 Eggers; Philip E. Dual audio program system
KR100206786B1 (en) * 1996-06-22 1999-07-01 구자홍 Multi-audio processing device for a dvd player
US8855795B2 (en) * 2007-01-09 2014-10-07 Mediatek Inc. Multiple output audio system
CN101252664B (en) * 2007-07-17 2010-12-01 惠州华阳通用电子有限公司 MIMO multimedia system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540183A (en) * 2008-03-18 2009-09-23 鸿富锦精密工业(深圳)有限公司 Playing device and audio output method
CN201887900U (en) * 2010-12-07 2011-06-29 叶惠仙 Device capable of supporting simultaneous playing of multi-path audio/video
CN102568513A (en) * 2011-12-28 2012-07-11 北京三星通信技术研究有限公司 Audio data processing method and interacting method

Also Published As

Publication number Publication date
CN103945305A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
CN106557297B (en) Adapting audio output based on context
CN105872253B (en) Live broadcast sound processing method and mobile terminal
WO2017121353A1 (en) Method and device for displaying control
US20150371529A1 (en) Audio Systems and Related Methods and Devices
CN108521521A (en) volume adjusting method, mobile terminal and computer readable storage medium
US9654757B2 (en) Method, apparatus, and computer program product for including device playback preferences in multimedia metadata
CN105005379B (en) Integral type audio-frequence player device and its audio frequency playing method
CN107613146B (en) Volume adjustment method and device and mobile terminal
CN107145331B (en) Charging and audio data processing method and terminal
CN102104680A (en) Audio playing method, plug-in playing terminal and mobile terminal
US11068230B2 (en) Bluetooth speaker, and intelligent control method for playing audio
CN103945305B (en) The method and electronic equipment of a kind of information processing
US9230529B2 (en) Music reproducing apparatus
CN110086941B (en) Voice playing method and device and terminal equipment
CN109688502B (en) Control method, device and equipment
CN104349244B (en) A kind of information processing method and electronic equipment
US20230370774A1 (en) Bluetooth speaker control method and system, storage medium, and mobile terminal
CN102426838A (en) Voice signal processing method and user equipment
CN106233247B (en) Audio devices, audio system and volume value control method
KR20130125112A (en) Vehicle multimedia apparatus capable of managing audio output and method of managing audio output
CN106954138A (en) A kind of information processing method and electronic equipment
CN207732951U (en) A kind of sound equipment for supporting more USB flash disks and more bluetooths to play
TWI475557B (en) Audio processing device
CN105828172B (en) Control method for playing back and device in audio-video frequency playing system
WO2019011270A1 (en) Method and terminal for playing audio, and computer-readable storage medium

Legal Events

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