CN106339200A - Electronic equipment and control method and control device thereof - Google Patents
Electronic equipment and control method and control device thereof Download PDFInfo
- Publication number
- CN106339200A CN106339200A CN201610757787.5A CN201610757787A CN106339200A CN 106339200 A CN106339200 A CN 106339200A CN 201610757787 A CN201610757787 A CN 201610757787A CN 106339200 A CN106339200 A CN 106339200A
- Authority
- CN
- China
- Prior art keywords
- audio
- source
- electronic equipment
- state
- control instruction
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The invention discloses a control method of electronic equipment. The electronic equipment comprises an audio output unit, a switching unit, a first audio source connected with a main board, and at least one second audio source independent of the main board. The control method comprises the following steps: generating a control command; adjusting the state of the switching unit according to the control command, and connecting the input end of the audio output unit with the output end of the corresponding audio source through the switching unit. Based on the control method disclosed by the invention, the output end of any audio source in the electronic equipment can be connected with the audio output unit, and audio frequency generated by the audio sources is output by the audio output unit, so that the utilization rate of the audio output unit is improved, and simultaneously the functions of the electronic equipment are also enriched. The invention also discloses a control device of the electronic equipment and the electronic equipment.
Description
Technical field
The invention belongs to technical field of electronic equipment, more particularly, to electronic equipment and its control method and control device.
Background technology
Audio output unit (as the audio frequency processing circuit of speaker and correlation) is usually provided with electronic equipment, to be
User plays the audio-frequency informations such as music.But, the audio output unit in current electronic equipment is only capable of playing master in electronic equipment
The audio-frequency information that plate produces, utilization rate is relatively low, this also lead to electronic equipment function more single.
Therefore, how electronic equipment is improved, improve the utilization rate of its audio output unit, provide the user richer
Rich function, is those skilled in the art's problem demanding prompt solution.
Content of the invention
In view of this, it is an object of the invention to provide electronic equipment and its control method and control device, to improve electricity
The utilization rate of sub- equipment sound intermediate frequency output unit, enriches the function of electronic equipment simultaneously further.
For achieving the above object, the following technical scheme of present invention offer:
In a first aspect, the present invention discloses the control method of a kind of electronic equipment, described electronic equipment includes audio output list
Unit, switch unit and multiple audio-source, the plurality of audio-source includes the first audio frequency being connected with the mainboard of described electronic equipment
Source and at least one second audio-source independent of described mainboard;Described control method includes: generates control instruction;Foundation
Described control instruction adjusts the state of described switch unit, by described switch unit by the input of described audio output unit
Connect with the outfan of corresponding audio-source.
As an example, in above-mentioned control method, described generation control instruction, comprising: detect described electronic equipment
State;When described electronic equipment is in first state, generate the first control instruction;When described electronic equipment is in the second shape
During state, generate the second control instruction;Wherein, when described electronic equipment is in first state, described mainboard is in running status, institute
When stating electronic equipment and being in the second state, described mainboard is closed;
The described state adjusting described switch unit according to described control instruction, by described switch unit by described audio frequency
The input of output unit is connected with the outfan of corresponding audio-source, comprising: according to described first control instruction, controls described
Switch unit connects the input of described audio output unit and the outfan of described first audio-source;According to the described second control
Instruction, controls described switch unit to connect the input of described audio output unit and the output of described second audio-source
End.
As an example, described electronic equipment includes multiple second audio-source, in above-mentioned control method, described foundation
Described second control instruction, the input of the control described switch unit described audio output unit of connection and described second sound
The outfan in frequency source, comprising: respond described second control instruction, screening in the plurality of second audio-source meets default switching
Second audio-source of condition;The input that described switch unit connects described audio output unit is controlled to preset switching bar with meeting
The outfan of the second audio-source of part.
As an example, in above-mentioned control method, described satisfaction of screening in the plurality of second audio-source is preset
Second audio-source of switching condition, particularly as follows: screening is in audio-frequency information output state in the plurality of second audio-source
Second audio-source.
As an example, in above-mentioned control method, described satisfaction of screening in the plurality of second audio-source is preset
Second audio-source of switching condition, particularly as follows: screening is in audio-frequency information output state in the plurality of second audio-source
Second audio-source, screens the second audio-source of highest priority in the second audio-source be in audio-frequency information output state.
Second aspect, the control device of the open a kind of electronic equipment of the present invention, described electronic equipment includes audio output list
Unit, switch unit and multiple audio-source, the plurality of audio-source includes the first audio frequency being connected with the mainboard of described electronic equipment
Source and at least one second audio-source independent of described mainboard;Described control device includes:
Instruction generation unit, for generating control instruction;
Control unit, for adjusting the state of described switch unit according to described control instruction, by described switch unit
The input of described audio output unit is connected with the outfan of corresponding audio-source.
As an example, in above-mentioned control device,
Described instruction generation unit includes: state detection module, for detecting the state of described electronic equipment;First instruction
Generation module, for when described electronic equipment is in first state, generating the first control instruction;Second directive generation module,
For when described electronic equipment is in the second state, generating the second control instruction;Wherein, described electronic equipment is in the first shape
During state, described mainboard is in running status, and when described electronic equipment is in the second state, described mainboard is closed;
Described control unit includes: the first control module, for according to described first control instruction, controlling described switching single
Unit connects the input of described audio output unit and the outfan of described first audio-source;Second control module, for foundation
Described second control instruction, the input of the control described switch unit described audio output unit of connection and described second sound
The outfan in frequency source.
As an example, in above-mentioned control device, described second control module includes: audio-source screening submodule,
For responding described second control instruction, screening in the plurality of second audio-source meets the second audio frequency of default switching condition
Source;Control submodule, the input for controlling described switch unit to connect described audio output unit presets switching with meeting
The outfan of the second audio-source of condition.
As an example, in above-mentioned control device, described audio-source screening submodule specifically for: the plurality of
In second audio-source, screening is in the second audio-source of audio-frequency information output state.
As an example, in above-mentioned control device, described audio-source screening submodule specifically for: the plurality of
In second audio-source, screening is in the second audio-source of audio-frequency information output state, is being in the second of audio-frequency information output state
The second audio-source of highest priority is screened in audio-source.
The third aspect, the open a kind of electronic equipment of the present invention, comprising: mainboard;Audio output unit;Multiple audio-source, institute
State the first audio-source and at least one second sound independent of described mainboard that multiple audio-source include being connected with described mainboard
Frequency source;Switch unit;The controller being connected with described switch unit, described controller is used for generating control instruction, according to described
Control instruction adjusts the state of described switch unit, by described switch unit by the input of described audio output unit and phase
The outfan of the audio-source answered connects.
As an example, in above-mentioned electronic equipment, described controller generates control instruction, specifically includes: described control
Device processed detects the state of described electronic equipment, when described electronic equipment is in first state, generates the first control instruction, works as institute
When stating electronic equipment and being in the second state, generate the second control instruction;
Described controller adjusts the state of described switch unit according to described control instruction, specifically includes: described controller
According to described first control instruction, described switch unit is controlled to connect the input of described audio output unit and described first sound
The outfan in frequency source;Described controller, according to described second control instruction, controls described switch unit to connect described audio output
The input of unit and the outfan of described second audio-source;
Wherein, when described electronic equipment is in first state, described mainboard and described controller are in running status, described
When electronic equipment is in the second state, described mainboard is closed, and described controller is in running status.
As an example, described electronic equipment includes multiple second audio-source;
Described controller, according to described second control instruction, controls described switch unit to connect described audio output unit
Input and the outfan of described second audio-source, specifically include: described controller responds described second control instruction,
In the plurality of second audio-source, screening meets the second audio-source of default switching condition, controls described switch unit to connect described
The input of audio output unit and the outfan meeting the second audio-source presetting switching condition.
As an example, in above-mentioned electronic equipment, described second audio-source includes Bluetooth audio receiver, wireless guarantor
Very one or more of (wifi) audio receiver and wireline audio source.
As can be seen here, the invention has the benefit that
The control method of electronic equipment disclosed by the invention, controller generates control instruction, and adjusts according to this control instruction
The state of whole switch unit, thus by switch unit by the input of audio output unit and corresponding sound in multiple audio-source
The outfan in frequency source connects.Based on control method disclosed by the invention, can by electronic equipment any one audio-source defeated
Go out end to be connected with audio output unit, exported the audio frequency of this audio-source generation by audio output unit, improve audio output list
The utilization rate of unit, also enriches the function of electronic equipment simultaneously.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing providing obtains other accompanying drawings.
Fig. 1 is the structural representation of a kind of electronic equipment disclosed by the invention;
Fig. 2 is the flow chart of the control method of a kind of electronic equipment disclosed by the invention;
Fig. 3 is the flow chart of the control method of another kind electronic equipment disclosed by the invention;
Fig. 4 is the flow chart of the control method of another kind electronic equipment disclosed by the invention;
Fig. 5 is the structured flowchart of the control device of a kind of electronic equipment disclosed by the invention;
Fig. 6 is the structural representation of another kind electronic equipment disclosed by the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
The open electronic equipment of the present invention and its control method and control device, to improve electronic equipment sound intermediate frequency output unit
Utilization rate, simultaneously further enrich electronic equipment function.
Electronic equipment disclosed by the invention can for computer (as notebook computer, desk computer, computer all-in-one machine and
Panel computer), mobile phone or other intelligent electronic devices (as Intelligent worn device and intelligent television), its structure as shown in figure 1,
Including: mainboard 10, audio output unit 20, multiple audio-source, switch unit 40 and controller 50.Wherein, multiple audio-source bags
Include: the first audio-source 31 being connected with mainboard, independent of at least one second audio-source of mainboard, the second audio frequency in FIG
Source is specially Bluetooth audio receiver 32, wifi audio receiver 33 and wireline audio source 34.Need exist for illustrating, second
Audio-source refers to independent of mainboard: when mainboard is out of service, the second audio-source is at running status.
Referring to Fig. 2, Fig. 2 is the flow chart of the control method of a kind of electronic equipment disclosed by the invention.This control method bag
Include:
Step s21: generate control instruction.
As an example, the controller of electronic equipment responds the operation generation control instruction of user.For example, user's execution
Indicate that the operation of the audio-frequency information of a certain audio-source play by electronic equipment, then the controller of electronic equipment responds this operation of user
Generate control instruction.
As another example, the controller of electronic equipment generates control instruction according to the state of electronic equipment.
Step s22: the state of switch unit is adjusted according to control instruction, by switch unit, audio output unit is defeated
Enter end to connect with the outfan of corresponding audio-source.
After the controller of electronic equipment generates control instruction, adjust the state of switch unit according to this control instruction, pass through
The input of audio output unit is connected by switch unit with the outfan of corresponding audio-source, and audio output unit exports and it
The audio frequency that the audio-source connecting produces.
Need exist for illustrating, if the operation that the controller of electronic equipment responds user generates control instruction, control
Device processed adjusts the state of switch unit according to this control instruction, by switch unit by the input of audio output unit and user
The outfan of the audio-source indicating connects.If the controller of electronic equipment generates control instruction according to the state of electronic equipment,
Then controller adjusts the state of switch unit according to this control instruction and preset strategy, by switch unit by audio output list
The input of unit is connected with the outfan of specific audio-source.
The control method of the electronic equipment shown in Fig. 2 of the present invention, controller generates control instruction, and according to this control instruction
The state of adjustment switch unit, thus by switch unit, the input of audio output unit is corresponding with multiple audio-source
The outfan of audio-source connects.Based on control method disclosed by the invention, can pass through switch unit will in electronic equipment arbitrarily
The outfan of one audio-source is connected with the input of audio output unit, exports the generation of this audio-source by audio output unit
Audio frequency, improves the utilization rate of audio output unit, also enriches the function of electronic equipment simultaneously.
Referring to Fig. 3, Fig. 3 is the flow chart of the control method of another kind electronic equipment disclosed by the invention.This control method
Including:
Step s31: the state of detection electronic equipment.State execution step s32 according to electronic equipment or step s34.
Wherein, electronic equipment includes first state and the second state.When electronic equipment is in first state, electronic equipment
Mainboard be in running status, when electronic equipment is in the second state, the mainboard of electronic equipment is closed.Electronics sets
Standby mainboard includes cpu (central processing unit) and chipset (chipset).It should be noted that no matter electronic equipment is in
One state or the second state, the controller independent of mainboard is in running status.In enforcement, this controller can be embedded
Formula controller (embedded controller, abbreviation ec).
, its running status includes taking current computer as a example: s0 state, s1 state, s2 state, s3 state, s4 state
With s5 state.Wherein, under s0 state, computer normal work, all hardware equipment is completely in be opened or normal work
State;S1 state is also referred to as pos (power on suspend) state, and under s1 state, the cpu in the mainboard of computer stops
Work, other hardware devices still normal work;Under s2 state, stop powering for the cpu in the mainboard of computer, cpu closes
Close, other hardware devices still normal work;S3 state is also referred to as str (suspend to ram, suspend to internal memory) state;s4
State is also referred to as std (suspend to disk, suspend to hard disk) state;S5 state is also referred to as off-mode, in s5 state
Under, the embedded controller of electronic equipment is still in running status.In the present invention, the first state of computer includes s0 shape
State, s1 state and s2 state, the second state of computer includes s3 state, s4 state and s5 state.
Step s32: when electronic equipment is in first state, generate the first control instruction, execution step s33.
Step s33: according to the first control instruction, control switch unit to connect input and first sound of audio output unit
The outfan in frequency source.
When electronic equipment is in first state, the mainboard of electronic equipment is in running status, in this case, controls
Device generates the first control instruction, controls switch unit to connect the input and the of audio output unit according to this first control instruction
The outfan of one audio-source, the audio frequency being produced by audio output unit output the first audio-source.The audio-frequency information of the first audio-source
Produced by mainboard.
Step s34: when electronic equipment is in the second state, generate the second control instruction, execution step s35.
Step s35: according to the second control instruction, control switch unit to connect the input of audio output unit and the
The outfan of two audio-source.
When electronic equipment is in the second state, the mainboard of electronic equipment is closed, and mainboard is no longer to the first sound
Frequency source exports audio-frequency information, and in this case, controller generates the second control instruction, controls according to this second control instruction and cuts
Change unit and connect the input of audio output unit and the outfan of second audio-source, by audio output unit export this
The audio frequency that two audio-source produce.
The control method of the electronic equipment shown in Fig. 3 of the present invention, when the mainboard of electronic equipment is in running status, controls
Device generates the first control instruction, and the state according to the first control instruction adjustment switch unit, connects audio frequency by switch unit
The input of output unit and the outfan of the first audio-source;When the main frame of electronic equipment is closed, controller is given birth to
Become the second control instruction, and the state according to the second control instruction adjustment switch unit, audio output is connected by switch unit
The input of unit and the outfan of second audio-source.Based on the control method shown in Fig. 3, at the mainboard of electronic equipment
When running status, audio output unit exports the audio-frequency information that mainboard produces, when the mainboard of electronic equipment is closed
When, audio output unit exports the audio frequency that the second audio-source independent of mainboard produces, and improves the utilization of audio output unit
Rate, and when the mainboard of electronic equipment is closed, other audio-source that user still can listen to independent of mainboard are produced
Raw audio frequency, improves Consumer's Experience.
When electronic equipment disclosed by the invention includes multiple second audio-source, in the control method shown in Fig. 3 of the present invention
In, according to the second control instruction, control switch unit to connect the input of audio output unit and the defeated of second audio-source
Go out end, can be in the following way:
Respond the second control instruction, screening in multiple second audio-source meets the second audio-source of default switching condition;
Switch unit is controlled to connect the input of audio output unit and the outfan of the second audio-source meeting default switching condition.
In specific implementation process, this default switching condition has various ways.Accordingly, in multiple second audio-source
Screening meets the second audio-source of default switching condition, has various ways.For example: screen in multiple second audio-source and be in
Second audio-source of audio-frequency information output state.
If only having second audio-source in multiple second audio-source to be in audio-frequency information output state, control switching
Unit connects the input of audio output unit and the input of the second audio-source being in audio-frequency information output state.If there are
Multiple audio-source are in audio-frequency information output state, then select one of them second audio-source, control switch unit to connect audio frequency
The input of output unit and the outfan of this selected second audio-source.
In multiple second audio-source, screening meets the second audio-source of default switching condition, can also adopt its other party
Case.Illustrate with reference to Fig. 4.
Referring to Fig. 4, Fig. 4 is the flow chart of the control method of another kind electronic equipment disclosed by the invention.This electronic equipment
Including multiple second audio-source.This control method includes:
Step s41: the state of detection electronic equipment.State execution step s42 according to electronic equipment or step s44.
Step s42: when electronic equipment is in first state, generate the first control instruction, execution step s43.
Step s43: according to the first control instruction, control switch unit to connect input and first sound of audio output unit
The outfan in frequency source.
Step s44: when electronic equipment is in the second state, generate the second control instruction, execution step s45.
Step s45: response the second control instruction, screening in multiple second audio-source is in audio-frequency information output state
Second audio-source, screens the second audio-source of highest priority in the second audio-source be in audio-frequency information output state.
If only one the second audio-source is in audio-frequency information output state, this second audio-source is as in audio frequency
Information output state and the second audio-source of highest priority.It is in audio-frequency information output shape if there are multiple second audio-source
State, then need to compare the priority of multiple second audio-source being in audio-frequency information output state further, filter out priority
Highest second audio-source.
In enforcement, can divide according to the number of times that each second audio-source is connected with audio output unit in the given time
Do not determine the priority of each the second audio-source, wherein, the number of times that the second audio-source is connected with audio output unit is more, then should
The priority of the second audio-source is higher.Furthermore it is possible to according to each second audio-source and audio output unit in the given time
The duration connecting, determines the priority of each the second audio-source, wherein, the second audio-source is connected with audio output unit respectively
Duration is longer, then the priority of this second audio-source is higher.
Certainly, the priority of each the second audio-source can also be by user's self-defining.
Step s46: control switch unit to connect the input of audio output unit and the defeated of the second audio-source filtering out
Go out end.
The control method of the electronic equipment shown in Fig. 4 of the present invention, when the main frame of electronic equipment is closed, controls
Device generate the second control instruction, and respond the second control instruction screen in multiple second audio-source be in audio-frequency information export shape
State and the second audio-source of highest priority, control switch unit to connect the input of audio output unit and second filtering out
The outfan of audio-source.Can see, based on the control method shown in Fig. 4, when the main frame of electronic equipment is closed,
Controller controls switch unit to connect audio output unit and be currently at audio-frequency information output state and highest priority the
Two audio-source are so that user still can listen to the audio frequency that the second audio-source independent of mainboard produces, and pass through switch unit
Be connected with audio output unit is second audio-source more conforming to user's custom, can improve user's body further
Test.
The present invention control method of electronic equipment disclosed above, accordingly, invention additionally discloses the control of electronic equipment
Device.Description below with respect to the control device of electronic equipment and the description of the control method above for electronic equipment, permissible
Cross-reference.
Referring to Fig. 5, Fig. 5 is the structured flowchart of the control device of electronic equipment disclosed by the invention.This control device includes
Instruction generation unit 100 and control unit 200.
Wherein:
Instruction generation unit 100 is used for generating control instruction.
As an example, the operation that instruction generation unit 100 responds user generates control instruction.For example, user's execution
Indicate that the operation of the audio-frequency information of a certain audio-source play by electronic equipment, then the controller of electronic equipment responds this operation of user
Generate control instruction.
As another example, instruction generation unit 100 generates control instruction according to the state of electronic equipment.
Control unit 200 is used for adjusting the state of switch unit according to the control instruction that instruction generation unit 100 generates, and leads to
Cross switch unit to connect the input of audio output unit with the outfan of corresponding audio-source.
The control device of the electronic equipment shown in Fig. 5 of the present invention, generates control instruction, control unit by instruction generation unit
Adjust the state of switch unit according to the control instruction that instruction generation unit generates, thus by switch unit by audio output list
The input of unit is connected with the outfan of corresponding audio-source in multiple audio-source.Based on control device disclosed by the invention, energy
Enough by switch unit, the outfan of any one audio-source in electronic equipment is connected with the input of audio output unit, by
Audio output unit exports the audio frequency of this audio-source generation, improves the utilization rate of audio output unit, also enriches electricity simultaneously
The function of sub- equipment.
As an example, in above-mentioned control device, instruction generation unit includes state detection module, the first instruction life
Become module and the second directive generation module.Control unit includes the first control module and the second control module.
Wherein:
State detection module is used for detecting the state of electronic equipment.
First directive generation module is used for, when electronic equipment is in first state, generating the first control instruction.
Second directive generation module, for when electronic equipment is in the second state, generating the second control instruction.
First control module is used for according to the first control instruction, controls switch unit to connect the input of audio output unit
Outfan with the first audio-source.
Second control module is used for according to the second control instruction, controls switch unit to connect the input of audio output unit
Outfan with second audio-source.
Wherein, when electronic equipment is in first state, mainboard is in running status, when electronic equipment is in the second state,
Mainboard is closed.
As an example, the second control module includes audio-source screening submodule and control submodule.Wherein: audio-source
Screening submodule is used for response the second control instruction, and screening in multiple second audio-source meets the second sound of default switching condition
Frequency source;Control submodule, the input for controlling switch unit to connect audio output unit presets switching condition with meeting
The outfan of the second audio-source.
As a kind of embodiment, audio-source screening submodule specifically for: screen in multiple second audio-source and be in
Second audio-source of audio-frequency information output state.
As another embodiment, audio-source screening submodule specifically for: at screening in multiple second audio-source
In the second audio-source of audio-frequency information output state, the second audio-source be in audio-frequency information output state is screened priority
Highest second audio-source.
Invention additionally discloses a kind of electronic equipment, its structure may refer to Fig. 1, comprising: mainboard 10, audio output unit
20th, multiple audio-source, switch unit 40 and controller 50.
Wherein, multiple audio-source include the first audio-source 31 being connected with mainboard and independent of mainboard at least one
Second audio-source.
In enforcement, the second audio-source can be in Bluetooth audio receiver, wifi audio receiver and wireline audio source
One or more.Multiple second audio-source in FIG are particularly as follows: Bluetooth audio receiver 32, wifi audio receiver 33 and
Wireline audio source 34.
Need exist for illustrating, wireline audio source 34 can be usb audio-source or sd card audio-source.Wherein, bluetooth
Audio receiver 32 can receive the audio-frequency information of bluetooth equipment transmission, and wifi audio receiver 33 can receive other electronics and set
The standby audio-frequency information being sent by wifi network, usb audio-source and sd card audio-source are stored with audio-frequency information.
Controller 50 is connected with switch unit 40, and controller 50 is used for generating control instruction, cuts according to control instruction adjustment
Change the state of unit 40, by switch unit 40, the input of audio output unit 20 is connected with the outfan of corresponding audio-source
Connect.
Electronic equipment disclosed by the invention, including multiple audio-source, can be by any one audio-source by switch unit
Outfan be connected with the input of audio output unit, by audio output unit export this audio-source generation audio frequency, improve
The utilization rate of audio output unit, also enriches functions of the equipments simultaneously.
As an example, the operation that controller 50 responds user generates control instruction.For example, user's execution instruction electronics
The operation of the audio-frequency information of a certain audio-source of device plays, then this operation of the controller 50 response user of electronic equipment generates control
System instruction.Accordingly, controller 50 adjusts the state of switch unit 40 according to this control instruction, by switch unit 40 by audio frequency
The outfan of the audio-source that the input of output unit 20 is indicated with user is connected.
As another example, electronic equipment disclosed by the invention has first state and the second state.Wherein, electronics sets
For when being in first state, mainboard 10 and controller 50 are in running status, when electronic equipment is in the second state, at mainboard 10
In closed mode, controller 50 is in running status.
Controller 50 generates control instruction, specifically includes: controller 50 detects the state of electronic equipment, at electronic equipment
When first state, generate the first control instruction, when electronic equipment is in the second state, generate the second control instruction.Control
Device 50 adjusts the state of switch unit 40 according to control instruction, specifically includes: controller 50 is cut according to the first control instruction, control
Change unit 40 and connect the input of audio output unit 20 and the outfan of the first audio-source 31;Controller 50 is according to the second control
Instruction, controls switch unit 40 to connect the input of audio output unit 20 and the outfan of second audio-source.
In the examples described above, when the mainboard of electronic equipment is in running status, audio output unit output mainboard produces
Audio-frequency information, when the mainboard of electronic equipment is closed, audio output unit export independent of mainboard the second sound
The audio frequency that frequency source produces, improves the utilization rate of audio output unit, and when the mainboard of electronic equipment is closed,
User still can listen to the audio frequency that other audio-source independent of mainboard produce, and improves Consumer's Experience.
If being provided only with second audio-source in electronic equipment, then controller 50, according to the second control instruction, is controlled
Switch unit 40 processed connects the input of audio output unit 20 and the outfan of this second audio-source.
If electronic equipment includes multiple second audio-source, then controller 50, according to the second control instruction, controls switching
Unit 40 connects the input of audio output unit 20 and the outfan of second audio-source, specifically includes: controller 50 sound
Answer the second control instruction, screening in multiple second audio-source meets the second audio-source of default switching condition, controls switching single
The input of unit 40 connection audio output unit 20 and the outfan of the second audio-source meeting default switching condition.
As a kind of embodiment, controller 50 responds the second control instruction, screens and be in multiple second audio-source
Second audio-source of audio-frequency information output state.
As another embodiment, controller 50 responds the second control instruction, at screening in multiple second audio-source
In the second audio-source of audio-frequency information output state, the second audio-source be in audio-frequency information output state is screened priority
Highest second audio-source.
In being embodied as, switch unit 40 can adopt switch chip 401, as shown in Figure 6.Multiple audio-source are respectively
The input pin different from switch chip 401 connects, the input of the output pin of switch chip 401 and audio output unit 20
Connect.The integrated level of switch chip 401 is higher, small volume, is conducive to reducing the volume of electronic equipment.Certainly, switch unit
40 can also be built using discrete switching device.
In addition, a kind of structure of audio output unit 20 is as shown in Figure 6, including audio frequency amplifier 201 and speaker
202.Wherein, the input of audio frequency amplifier 201 is as the input of audio output unit 20, the output of audio frequency amplifier 201
End is connected with the input of speaker 202.
Last in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant meaning
Covering comprising of nonexcludability, so that including a series of process of key elements, method, article or equipment not only include that
A little key elements, but also include other key elements being not expressly set out, or also include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element being limited by sentence "including a ...", does not arrange
Remove and also there is other identical element in the process including described key element, method, article or equipment.
In this specification, each embodiment is described by the way of going forward one by one, and what each embodiment stressed is and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For, because it corresponds to the method disclosed in Example, so description is fairly simple, say referring to method part in place of correlation
Bright.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.
Multiple modifications to these embodiments will be apparent from for those skilled in the art, as defined herein
General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention
It is not intended to be limited to the embodiments shown herein, and be to fit to and principles disclosed herein and features of novelty phase one
The scope the widest causing.
Claims (10)
1. the control method of a kind of electronic equipment is it is characterised in that described electronic equipment includes audio output unit, switch unit
With multiple audio-source, the plurality of audio-source includes the first audio-source being connected with the mainboard of described electronic equipment and independent
At least one second audio-source in described mainboard;Described control method includes:
Generate control instruction;
Adjust the state of described switch unit according to described control instruction, by described switch unit by described audio output unit
The outfan of input and corresponding audio-source connect.
2. control method according to claim 1 it is characterised in that
Described generation control instruction, comprising: detect the state of described electronic equipment;When described electronic equipment is in first state
When, generate the first control instruction;When described electronic equipment is in the second state, generate the second control instruction;Wherein, described electricity
When sub- equipment is in first state, described mainboard is in running status, when described electronic equipment is in the second state, described mainboard
It is closed;
The described state adjusting described switch unit according to described control instruction, by described switch unit by described audio output
The input of unit is connected with the outfan of corresponding audio-source, comprising: according to described first control instruction, controls described switching
Unit connects the input of described audio output unit and the outfan of described first audio-source;Control according to described second and refer to
Order, controls described switch unit to connect the input of described audio output unit and the outfan of described second audio-source.
3. control method according to claim 2 is it is characterised in that described electronic equipment includes multiple second audio-source,
Described according to described second control instruction, control described switch unit to connect the input of described audio output unit and an institute
State the outfan of the second audio-source, comprising:
Respond described second control instruction, screening in the plurality of second audio-source meets the second audio frequency of default switching condition
Source;
Described switch unit is controlled to connect the input of described audio output unit and the second audio frequency meeting default switching condition
The outfan in source.
4. control method according to claim 3 is it is characterised in that described screen completely in the plurality of second audio-source
Second audio-source of the default switching condition of foot, particularly as follows:
In the plurality of second audio-source, screening is in the second audio-source of audio-frequency information output state.
5. control method according to claim 3 is it is characterised in that described screen completely in the plurality of second audio-source
Second audio-source of the default switching condition of foot, particularly as follows:
In the plurality of second audio-source, screening is in the second audio-source of audio-frequency information output state, is being in audio-frequency information
The second audio-source of highest priority is screened in second audio-source of output state.
6. the control device of a kind of electronic equipment is it is characterised in that described electronic equipment includes audio output unit, switch unit
With multiple audio-source, the plurality of audio-source includes the first audio-source being connected with the mainboard of described electronic equipment and independent
At least one second audio-source in described mainboard;Described control device includes:
Instruction generation unit, for generating control instruction;
Control unit, for adjusting the state of described switch unit according to described control instruction, by described switch unit by institute
The outfan of the input and corresponding audio-source of stating audio output unit connects.
7. a kind of electronic equipment is it is characterised in that include:
Mainboard;
Audio output unit;
Multiple audio-source, the plurality of audio-source includes the first audio-source being connected with described mainboard and independent of described master
At least one of plate second audio-source;
Switch unit;
The controller being connected with described switch unit, described controller is used for generating control instruction, adjusts according to described control instruction
The state of whole described switch unit, by described switch unit by the input of described audio output unit and corresponding audio-source
Outfan connect.
8. electronic equipment according to claim 7 it is characterised in that
Described controller generates control instruction, specifically includes: described controller detects the state of described electronic equipment, when described electricity
When sub- equipment is in first state, generate the first control instruction, when described electronic equipment is in the second state, generate the second control
System instruction;
Described controller adjusts the state of described switch unit according to described control instruction, specifically includes: described controller foundation
Described first control instruction, controls described switch unit to connect the input of described audio output unit and described first audio-source
Outfan;Described controller, according to described second control instruction, controls described switch unit to connect described audio output unit
Input and described second audio-source outfan;
Wherein, when described electronic equipment is in first state, described mainboard and described controller are in running status, described electronics
When equipment is in the second state, described mainboard is closed, and described controller is in running status.
9. electronic equipment according to claim 8 is it is characterised in that described electronic equipment includes multiple second audio-source;
Described controller, according to described second control instruction, controls described switch unit to connect the input of described audio output unit
End and the outfan of described second audio-source, specifically include: described controller responds described second control instruction, described
In multiple second audio-source, screening meets the second audio-source of default switching condition, controls described switch unit to connect described audio frequency
The input of output unit and the outfan meeting the second audio-source presetting switching condition.
10. electronic equipment according to claim 7 is it is characterised in that described second audio-source includes Bluetooth audio frequency reception
One or more of device, Wireless Fidelity wifi audio receiver and wireline audio source.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610757787.5A CN106339200A (en) | 2016-08-29 | 2016-08-29 | Electronic equipment and control method and control device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610757787.5A CN106339200A (en) | 2016-08-29 | 2016-08-29 | Electronic equipment and control method and control device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106339200A true CN106339200A (en) | 2017-01-18 |
Family
ID=57823959
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610757787.5A Pending CN106339200A (en) | 2016-08-29 | 2016-08-29 | Electronic equipment and control method and control device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106339200A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176605A (en) * | 2019-11-29 | 2020-05-19 | 联想(北京)有限公司 | Audio output method and electronic equipment |
WO2024120019A1 (en) * | 2022-12-07 | 2024-06-13 | 中兴通讯股份有限公司 | Audio source switching method, and device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845580A (en) * | 2005-04-07 | 2006-10-11 | 深圳Tcl新技术有限公司 | Audio and video signal source recognition and automatic switching method and apparatus |
CN102405608A (en) * | 2009-04-10 | 2012-04-04 | 索尼爱立信移动通讯有限公司 | automatic audio conversion |
CN103916694A (en) * | 2013-01-07 | 2014-07-09 | 华为终端有限公司 | Broadcast source processing method and device |
CN104094219A (en) * | 2011-12-29 | 2014-10-08 | 英特尔公司 | Audio pipeline for audio distribution on a system-on-chip platform |
CN105373194A (en) * | 2015-11-13 | 2016-03-02 | 昆山尚尼司电子科技有限公司 | All-in-one computer capable of sharing loudspeaker |
CN107666535A (en) * | 2016-07-27 | 2018-02-06 | 阿尔派株式会社 | Car-mounted device, car-mounted device audio output control method and audio output control system |
-
2016
- 2016-08-29 CN CN201610757787.5A patent/CN106339200A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1845580A (en) * | 2005-04-07 | 2006-10-11 | 深圳Tcl新技术有限公司 | Audio and video signal source recognition and automatic switching method and apparatus |
CN102405608A (en) * | 2009-04-10 | 2012-04-04 | 索尼爱立信移动通讯有限公司 | automatic audio conversion |
CN104094219A (en) * | 2011-12-29 | 2014-10-08 | 英特尔公司 | Audio pipeline for audio distribution on a system-on-chip platform |
CN103916694A (en) * | 2013-01-07 | 2014-07-09 | 华为终端有限公司 | Broadcast source processing method and device |
CN105373194A (en) * | 2015-11-13 | 2016-03-02 | 昆山尚尼司电子科技有限公司 | All-in-one computer capable of sharing loudspeaker |
CN107666535A (en) * | 2016-07-27 | 2018-02-06 | 阿尔派株式会社 | Car-mounted device, car-mounted device audio output control method and audio output control system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176605A (en) * | 2019-11-29 | 2020-05-19 | 联想(北京)有限公司 | Audio output method and electronic equipment |
WO2024120019A1 (en) * | 2022-12-07 | 2024-06-13 | 中兴通讯股份有限公司 | Audio source switching method, and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8761421B2 (en) | Portable electronic device and computer-readable medium for remote hearing aid profile storage | |
CN106557297A (en) | Based on contextual adaptation audio output | |
CN101820566A (en) | Information processing apparatus and information processing method | |
US11068230B2 (en) | Bluetooth speaker, and intelligent control method for playing audio | |
CN103902031A (en) | Electronic device and specific parameter adjusting method thereof | |
CN111629304A (en) | Loudspeaker control method and device and electronic equipment | |
CN104238990A (en) | Electronic device and audio output method | |
CN110505547A (en) | A kind of earphone wearing state detection method and earphone | |
CN106339200A (en) | Electronic equipment and control method and control device thereof | |
US10052067B2 (en) | Wearable device | |
CN101645697B (en) | Volume control system and method | |
CN105824427A (en) | Method and system for volume adjustment on basis of gesture operation | |
CN105208221B (en) | A kind of method and device automatically adjusting call voice | |
CN104349244B (en) | A kind of information processing method and electronic equipment | |
CN106792368A (en) | A kind of multi-mode plays the terminal of voice signal | |
CN103916511A (en) | Information processing method and electronic equipment | |
CN104113804B (en) | Speaker system and its driving method | |
CN104284011A (en) | Information processing method and electronic device | |
CN105827209A (en) | Sound output device and control method thereof | |
CN101651871A (en) | Electrical device having function of power saving and method thereof | |
CN105812924A (en) | Method and system for controlling audio-video device | |
CN103680552A (en) | Sound effect processing system and method for the same | |
CN106792141B (en) | The control method for playing back and device of tv audio | |
CN106878542A (en) | A kind of multi-mode plays the terminal of voice signal | |
US20140033231A1 (en) | Electronic device with a function of alerting running applications and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170118 |