The content of the invention
The present invention solves the problems, such as the volume processing unit and method, electronic system that there is provided two kinds of electronic equipments, can
To improve the experience effect of user.
In order to solve the above problems, the invention provides the volume processing unit of a kind of electronic equipment, the electronic equipment
An external equipment is at least connected with, including:
Setting unit, for being respectively volume balance value corresponding to the electronic equipment and external equipment setting;
Memory cell, the last volume value played for recording the electronic equipment;
Judging unit, for judging equipment corresponding to current audio file to be played;
Call unit, the setting unit and the judging unit are connected, for calling and institute from the setting unit
State volume balance value corresponding to equipment;
Comparing unit, the memory cell and the call unit are connected, whether accorded with for the last volume value
Close the volume balance value;
Execution unit, the comparing unit is connected, when the last volume value meets the volume balance value, make electronics
Equipment plays current audio file to be played with the last volume value;Otherwise, electronic equipment is made with the volume balance value
Play current audio file to be played.
In order to solve the above problems, present invention also offers a kind of electronic system, including:
Electronic equipment, the electronic equipment include above-mentioned volume processing unit;
One or more external equipments, the external equipment are connected with the electronic equipment.
In order to solve the above problems, present invention also offers the volume processing method of a kind of electronic equipment, the electronics is set
It is standby to be at least connected with an external equipment, including:
Volume balance value corresponding to respectively described electronic equipment and external equipment setting;
Record the last volume value that the electronic equipment plays;
Judge equipment corresponding to current audio file to be played;
Volume balance value corresponding with the equipment is called from the volume balance value of setting;
Compare whether the last volume value meets the volume balance value, when the last volume value meets the volume
During equilibrium valve, electronic equipment is set to play current audio file to be played with the last volume value;Otherwise, make electronic equipment with
The volume balance value plays current audio file to be played.
In order to solve the above problems, present invention also offers the volume processing unit of a kind of electronic equipment, the electronics is set
It is standby to be at least connected with an external equipment, including:
Setting unit, for being respectively volume balance value corresponding to the electronic equipment and external equipment setting;
Judging unit, for judging equipment corresponding to current audio file to be played;
Memory cell, for recording last volume value corresponding to the electronic equipment and external equipment respectively;
Call unit, the judging unit and the memory cell are connected, for calling and institute from the memory cell
State last volume value corresponding to equipment;
Extraction unit, the setting unit and the judging unit are connected, for extraction and institute from the setting unit
State volume balance value corresponding to equipment;
Comparing unit, the call unit and the extraction unit are connected, whether accorded with for the last volume value
Close the volume balance value;
Execution unit, the comparing unit is connected, when the last volume value meets the volume balance value, make electronics
Equipment plays current audio file to be played with the last volume value;Otherwise, electronic equipment is made with the volume balance value
Play current audio file to be played.
In order to solve the above problems, present invention also offers a kind of electronic system, including:
Electronic equipment, the electronic equipment include above-mentioned volume processing unit;
One or more external equipments, the external equipment are connected with the electronic equipment.
In order to solve the above problems, present invention also offers the volume processing method of a kind of electronic equipment, the electronics is set
It is standby to be at least connected with an external equipment, including:
Volume balance value corresponding to respectively described electronic equipment and external equipment setting;
Judge equipment corresponding to current audio file to be played;
Last volume value corresponding to the electronic equipment and external equipment is recorded respectively;
Last volume value corresponding with the equipment is called from the last volume value of record;
Volume balance value corresponding with the equipment is extracted from the volume balance value of setting;
Compare whether the last volume value meets the volume balance value, when the last volume value meets the volume
During equilibrium valve, electronic equipment is set to play current audio file to be played with the last volume value;Otherwise, make electronic equipment with
The volume balance value plays current audio file to be played.
Compared with prior art, embodiment of the present invention has advantages below:It is of the invention be respectively in advance electronic equipment and
Each external equipment is provided with corresponding volume balance value, in one embodiment, recorded electronic device plays it is last
Volume value, judge equipment corresponding to current audio file to be played, called and the equipment from the volume balance value of setting
Corresponding volume balance value;In another embodiment, judge equipment corresponding to current audio file to be played, remember respectively
Record last volume value corresponding to the electronic equipment and external equipment, called and the equipment pair from the last volume value of record
The last volume value answered, volume balance value corresponding with the equipment is extracted from the volume balance value of setting.Described in acquisition
After last volume value and the volume balance value, the present invention is that whether last volume value meets the volume balance described in comparison
Value, when the last volume value meets the volume balance value, electronic equipment is played with the last volume value and currently treat
The audio file of broadcasting;Otherwise, electronic equipment is made to play current audio file to be played with the volume balance value.So as to,
When switching equipment corresponding to audio file, the suddenly change that user hears sound is can be avoided, ensures what is played after switching
Volume all meets the volume balance value of corresponding device, that is, meets actual demand of the user to volume, therefore improve the body of user
Test effect.In addition, in switching, the manual operation without user ensures that user hears suitable volume all the time,
Therefore the experience effect of user is further increased.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, below in conjunction with the accompanying drawings to the present invention
Embodiment be described in detail.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still the present invention can be with
It is different from other manner described here using other to implement, therefore the present invention is not limited by following public specific embodiment
System.
Just as described in the background section, the pronunciation of distinct device (including electronic equipment and external equipment) in the prior art
Tonequality is different, therefore when switching equipment, easily causes sound to become big suddenly or diminish, so as to bring bad use to user
Experience.
It is first the invention provides the volume processing unit and method, electronic system of two kinds of electronic equipments for drawbacks described above
It is in advance first volume balance value corresponding to electronic equipment and the setting of each external equipment, then by recording last volume value, sentencing
The step such as break, call and compare, on the premise of the volume played after ensureing to switch meets the volume balance value of corresponding device, adjust
The whole or maintenance last volume value, so as to the sound that when switching equipment corresponding to audio file, user can be avoided to hear
It is excessive or too small suddenly, that is, meet actual demand of the user to volume, therefore improve the experience effect of user.In addition, cutting
When changing, the manual operation without user ensures that user hears suitable volume all the time, therefore further increases
The experience effect of user.
It is described in detail below in conjunction with the accompanying drawings.
With reference to shown in figure 1, embodiment of the present invention provides a kind of electronic system, including:
Electronic equipment 10, the electronic equipment 10 include volume processing unit 30;
One or more external equipments 20, the external equipment 20 are connected with the electronic equipment 10.
Wherein, the electronic equipment 10 can be mobile unit, TV, computer or mobile phone, and it includes audio playing apparatus,
For playing audio file.Memory can be included in the electronic equipment 10, for storing audio file.
Wherein, the external equipment 20 can be USB flash disk, SD card, DVD, the network equipment (such as:Internet or server) or it is blue
Tooth equipment is (such as:Mobile phone or notebook).The external equipment 20 includes memory, for storing audio file.
It can be connected between the electronic equipment 10 and the external equipment 20 by wired mode, such as:External equipment 20
For USB flash disk when, can be connected between electronic equipment 10 and external equipment 20 by USB interface;The electronic equipment 10 with it is described outer
Can also wirelessly it be connected between portion's equipment 20, such as:When external equipment 20 is the network equipment, electronic equipment 10 and outside
It can be connected between equipment 20 by 3G wireless networks.Audio file in the external equipment 20 and electronic equipment 10 can
Played out by the audio playing apparatus in the electronic equipment 10.
Specifically, with reference to reference to shown in figure 2, the volume processing unit 30 can include:
Setting unit 31, for being respectively that the electronic equipment 10 and the external equipment 20 set corresponding volume balance
Value;
Memory cell 32, the last volume value played for recording the electronic equipment 10;
Judging unit 33, for judging equipment corresponding to current audio file to be played;
Call unit 34, the setting unit 31 and the judging unit 33 are connected, for being called from setting unit 31
Volume balance value corresponding with the equipment;
Comparing unit 35, the memory cell 32 and the call unit 34 are connected, for the last volume value
Whether the volume balance value is met;
Execution unit 36, the comparing unit 35 is connected, when the last volume value meets the volume balance value, made
Electronic equipment 10 plays current audio file to be played with the last volume value;Otherwise, electronic equipment 10 is made with the sound
Measure equilibrium valve and play current audio file to be played.
Wherein, the setting unit 31 can be human-computer interaction device, such as:Touch-screen etc., it is according to the He of electronic equipment 10
The acoustic feature of external equipment 20, respectively electronic equipment 10 and external equipment 20 set corresponding volume balance value, and store
The volume balance value, so as to afterwards in use, without repeating to set.
It should be noted that user can also change the volume balance value at any time by the setting unit 31, with full
The different demands of sufficient user.
The volume balance value can be only a volume fixed value, i.e. electronic equipment 10 and external equipment 20 corresponds to respectively
One volume fixed value;The volume balance value can also be multiple volume fixed values, such as:Volume balance value includes three volumes
Fixed value, it is respectively:Volume maximum, volume minimum and volume median, the volume median can be located at volume
Any value between maximum and volume minimum.Preferably, the volume median is that volume maximum and volume are minimum
The arithmetic mean of instantaneous value of value.
When the audio file in equipment (including electronic equipment 10 and external equipment 20) is broadcast by the audio of electronic equipment 10
When putting device and being played out using corresponding volume balance value as volume, the volume demand of user is disclosure satisfy that, so as to improve use
The experience effect at family.
It should be noted that volume balance value corresponding to distinct device can be with identical, can also be different.
The memory cell 32 can be any memory device, and it can store the last volume of the broadcasting of electronic equipment 10
Value, the i.e. last time of electronic equipment 10 play the volume value of audio file.It should be noted that can be in the memory cell 32 simultaneously
Preserve electronic equipment 10 and play the volume value of audio file and corresponding time every time, can also only preserve electronic equipment 10 and play
Last volume value and the corresponding time, can also only preserve electronic equipment 10 broadcasting last volume value.
The judging unit 33 can identify equipment corresponding to current audio file to be played, and what be will identify that sets
Standby information is sent to call unit 34.
The call unit 34 extracts the volume balance value information in setting unit 31, and extracts setting in judging unit 33
Standby information, so as to select volume balance value corresponding with the configuration information from volume balance value information, and the volume is put down
Weighing apparatus value is sent to comparing unit 35.
The comparing unit 35 extracts the last volume value in memory cell 32, and receives the volume that call unit 34 is sent
Equilibrium valve, so as to which whether the last volume value meets the volume balance value, and comparative result is sent to and performs list
Member 36.When the volume balance value is a volume fixed value, the last volume value meets what the volume balance value referred to
It is that the last volume value is equal to the volume fixed value;When the volume balance value includes volume maximum, volume minimum
During with volume median, the last volume value meets the volume balance value and refers to that the last volume value is more than or equal to
The volume minimum and it is less than or equal to the volume maximum.
The execution unit 36 receives the comparative result that comparing unit 35 is sent, when the last volume value meets the sound
When measuring equilibrium valve, electronic equipment 10 is played current audio file to be played with the last volume value, that is, maintain electronics to set
Standby 10 broadcast sound volume is constant;When the last volume value does not meet the volume balance value, make electronic equipment 10 with described
Volume balance value plays current audio file to be played.
Specifically, it is described to make electronic equipment 10 with the volume when the volume balance value is a volume fixed value
Equilibrium valve plays current audio file to be played and refers to that electronic equipment 10 is played with the volume fixed value currently waits to broadcast
The audio file put;When the volume balance value includes:It is described to make when volume maximum, volume minimum and volume median
Electronic equipment 10 plays current audio file to be played with the volume balance value and refers to making electronic equipment 10 with the sound
Measure median and play current audio file to be played.
Volume corresponding to the audio file that the execution unit 36 ensures now to play necessarily meet corresponding equipment (including
Electronic equipment 10 and external equipment 20) volume balance value, so as to avoid switch equipment when volume suddenly change to use
It is uncomfortable caused by family, finally improve the experience effect of user.
In a specific example, mobile unit as electronic equipment 10 respectively with the SD card as external equipment 20 and
USB flash disk connects, and it is 85dB that the setting unit 31, which sets the volume balance value of mobile unit, the volume balance value of SD card is 80dB, U
The volume balance value of disk is 95dB;It is 90dB that the memory cell 32, which stores the last volume value that mobile unit plays,;It is described to sentence
Disconnected unit 33 judges that current audio file to be played is located at SD card;The call unit 34 is adjusted from the setting unit 31
With volume balance value (i.e. 80dB) corresponding with SD card;The comparing unit 35 last volume value and the volume are put down
Weighing apparatus value, because last volume value is not equal to volume balance value, therefore the last volume value does not meet the volume balance value;Institute
Stating execution unit 36 makes mobile unit play current audio file to be played with the volume balance value (i.e. 80dB).
In another specific example, TV as electronic equipment 10 respectively with the DVD kimonos as external equipment 20
Business device connection, it is 100dB, among volume minimum 80dB, volume that the setting unit 31, which sets the volume maximum of TV,
It is worth for 90dB, DVD volume maximum is 90dB, volume minimum 70dB, volume median are 80dB, the volume of server
Maximum is 95dB, volume minimum 85dB, volume median are 90dB;The storage of memory cell 32 is televised most
Volume value is 95dB afterwards;The judging unit 33 judges that current audio file to be played is located at DVD;The call unit 34
Corresponding with DVD volume balance value is called from the setting unit 31, and (including volume maximum is 90dB, volume minimum is
70dB and volume median are 80dB);The comparing unit 35 last volume value and the volume balance value, due to
Last volume value is more than volume maximum, therefore the last volume value does not meet the volume balance value;The execution unit
36 make TV play current audio file to be played with the volume median value (i.e. 80dB).
Correspondingly, with reference to shown in figure 3, embodiment of the present invention additionally provides the volume processing method of a kind of electronic equipment,
The electronic equipment is at least connected with an external equipment, comprises the following steps:
Volume balance value corresponding to step S11, respectively described electronic equipment and external equipment setting;
Step S12, record the last volume value that the electronic equipment plays;
Step S13, judge equipment corresponding to current audio file to be played;
Step S14, volume balance value corresponding with the equipment is called from the volume balance value of setting;
Whether step S15, the last volume value meet the volume balance value;
Step S16, when the last volume value meets the volume balance value, make electronic equipment with the last volume
Value plays current audio file to be played;
Step S17, when the last volume value does not meet the volume balance value, electronic equipment is set to be put down with the volume
Weighing apparatus value plays current audio file to be played.
When the volume balance value is a volume fixed value, the last volume value meets the volume balance value and referred to
Be that the last volume value is equal to the volume fixed value;It is described electronic equipment is currently treated with volume balance value broadcasting
The audio file of broadcasting refers to making electronic equipment play current audio file to be played with the volume fixed value.
When the volume balance value is multiple values, such as:The volume balance value include volume maximum, volume minimum and
During volume median, the last volume value meets the volume balance value and refers to that the last volume value is more than or equal to institute
State volume minimum and be less than or equal to the volume maximum;It is described electronic equipment is played currently with the volume balance value
Audio file to be played refers to making electronic equipment play current audio file to be played with the volume median.Specifically
Ground, the volume median can be the arithmetic mean of instantaneous values of the volume maximum and the volume minimum.
Specifically, step S11 can be realized by above-mentioned setting unit 31;Step S12 can be real by said memory cells 32
It is existing;Step S13 can be realized by above-mentioned judging unit 33;Step S14 can be realized by above-mentioned call unit 34;Step S15 can
To be realized by above-mentioned comparing unit 35;Step S16 and step S17 can be realized by above-mentioned execution unit 36, will not be repeated here.
Present embodiment can be avoided the unexpected change that user hears sound when switching equipment corresponding to audio file
To change, the volume for ensureing to play after switching all meets the volume balance value of corresponding device, that is, meets actual demand of the user to volume,
Therefore the experience effect of user is improved.In addition, in switching, the manual operation without user ensures that user listens all the time
To suitable volume, therefore further increase the experience effect of user.
With reference to shown in figure 4, embodiment of the present invention additionally provides a kind of electronic system, including:
Electronic equipment 60, the electronic equipment 60 include volume processing unit 80;
One or more external equipments 70, the external equipment 70 are connected with the electronic equipment 60.
The difference of electronic system is volume processing unit 80 shown in electronic system and Fig. 1 shown in Fig. 4.Specifically, tie
Close with reference to shown in figure 5, the volume processing unit 80 can include:
Setting unit 81, for being respectively that the electronic equipment 60 and the external equipment 70 set corresponding volume balance
Value;
Judging unit 82, for judging equipment corresponding to current audio file to be played;
Memory cell 83, for recording last volume value corresponding to the electronic equipment 60 and external equipment 70 respectively;
Call unit 84, the judging unit 82 and the memory cell 83 are connected, for being called from memory cell 83
Last volume value corresponding with the equipment;
Extraction unit 85, the setting unit 81 and the judging unit 82 are connected, for being extracted from setting unit 81
Volume balance value corresponding with the equipment;
Comparing unit 86, the call unit 84 and the extraction unit 85 are connected, for the last volume value
Whether the volume balance value is met;
Execution unit 87, the comparing unit 86 is connected, when the last volume value meets the volume balance value, made
Electronic equipment 60 plays current audio file to be played with the last volume value;Otherwise, electronic equipment 60 is made with the sound
Measure equilibrium valve and play current audio file to be played.
Compared with the volume processing unit shown in Fig. 2, the memory cell 83 in Fig. 4 volume processing units is except storage
Last volume value corresponding to electronic equipment 60, it is also necessary to store last volume value corresponding to external equipment 70;The call unit
84 receive the facility information that judging unit 82 is sent, and last sound corresponding with the facility information is selected from memory cell 83
Value;The increased extraction unit 85 receives the facility information that judging unit 82 is sent, and from setting unit 81 selection with
Volume balance value corresponding to the facility information;The comparing unit 86 receives the last volume value that call unit 84 is sent, and
Receive the volume balance value that extraction unit 85 is sent, by the last volume value and the volume balance value relatively after result send out
Give the execution unit 87;Remaining is identical with Fig. 2, will not be repeated here.
Volume equilibrium valve is multiple in the present embodiment mode, such as:The volume balance value includes volume maximum, volume most
Small value and volume median;The last volume value meets the volume balance value and refers to that the last volume value is more than or waited
In the volume minimum and it is less than or equal to the volume maximum;It is described electronic equipment 60 is broadcast with the volume balance value
Current audio file to be played is put to refer to making electronic equipment 60 play current audio to be played with the volume median
File.Specifically, the volume median can be the arithmetic mean of instantaneous value of the volume maximum and the volume minimum.
In a specific example, mobile unit as electronic equipment 60 respectively with the DVD as external equipment 70 and
Bluetooth equipment connects, and it is 100dB that the setting unit 81, which sets the volume maximum of TV, volume minimum 80dB, volume
Median is 90dB, and DVD volume maximum is 90dB, volume minimum 70dB, volume median are 80dB, bluetooth equipment
Volume maximum be 95dB, volume minimum 85dB, volume median be 90dB;The memory cell 83 stores vehicle-mounted set
Standby last volume value be 90dB, DVD last volume value be 85dB, the last volume value of bluetooth equipment be 95dB;It is described to sentence
Disconnected unit 82 judges equipment corresponding to current audio file to be played as DVD;The call unit 84 is from memory cell 83
Call last volume value (i.e. 85dB) corresponding with DVD;The extraction unit 85 extracts corresponding with DVD from setting unit 81
Volume balance value (including:Volume maximum is 90dB, volume minimum is 70dB and volume median is 80dB);The comparison
Unit 86 compares last volume value and volume balance value, because last volume value is less than volume maximum and more than volume minimum
Value, therefore the last volume value meets the volume balance value;The execution unit 87 makes electronic equipment 60 with described last
Volume value (i.e. 85dB) plays current audio file to be played.
Correspondingly, with reference to shown in figure 6, embodiment of the present invention additionally provides the volume processing method of a kind of electronic equipment,
The electronic equipment is at least connected with an external equipment, comprises the following steps:
Volume balance value corresponding to step S21, respectively described electronic equipment and external equipment setting;
Step S22, judge equipment corresponding to current audio file to be played;
Step S23, last volume value corresponding to the electronic equipment and external equipment is recorded respectively;
Step S24, last volume value corresponding with the equipment is called from the last volume value of record;
Step S25, volume balance value corresponding with the equipment is extracted from the volume balance value of setting;
Whether step S26, the last volume value meet the volume balance value;
Step S27, when the last volume value meets the volume balance value, make electronic equipment with the last volume
Value plays current audio file to be played;
Step S28, when the last volume value does not meet the volume balance value, electronic equipment is set to be put down with the volume
Weighing apparatus value plays current audio file to be played.
The volume balance value can include:Volume maximum, volume minimum and volume median;The last volume
Value meets the volume balance value and refers to that the last volume value is more than or equal to the volume minimum and is less than or equal to
The volume maximum;It is described to make electronic equipment refer to making with the current audio file to be played of volume balance value broadcasting
Electronic equipment plays current audio file to be played with the volume median.Specifically, the volume median can be
The arithmetic mean of instantaneous value of the volume maximum and the volume minimum.
Specifically, step S21 can be realized by above-mentioned setting unit 81;Step S22 can be real by above-mentioned judging unit 82
It is existing;Step S23 can be realized by said memory cells 83;Step S24 can be realized by above-mentioned call unit 84;Step S25 can
To be realized by said extracted unit 85;Step S26 can be realized by above-mentioned comparing unit 86;Step S27 and step S28 can be by
Above-mentioned execution unit 87 is realized, will not be repeated here.
Present embodiment can be avoided the unexpected change that user hears sound when switching equipment corresponding to audio file
To change, the volume for ensureing to play after switching all meets the volume balance value of corresponding device, that is, meets actual demand of the user to volume,
Therefore the experience effect of user is improved.In addition, in switching, the operation without user ensures that user hears conjunction all the time
Suitable volume, therefore further increase the experience effect of user.
Although the present invention is disclosed as above with preferred embodiment, the present invention is not limited to this.Any art technology
Personnel, without departing from the spirit and scope of the present invention, it can make various changes or modifications, therefore protection scope of the present invention should
It is defined when by claim limited range.