A kind of audio-frequency processing method and electronic equipment
Technical field
The present invention relates to electronic technology field more particularly to a kind of audio-frequency processing methods and electronic equipment.
Background technique
Currently, the development of consumer electronics product is maked rapid progress, and various new electronic products emerge one after another, wherein wearing
Class smart machine is one of the product for relatively having market prospects.
In order to enrich the use function of electronic equipment, the bendable folding endurance based on flexible screen, electronic equipment can be set can
Bending is used as wearable device, can also be unfolded as planar device.However, the shape of electronic equipment when being in curved surface state, with
The shape difference of electronic equipment when in flat state is larger, at present the audio units such as the Mike on planar device or earpiece
Method is set and controlled, is not particularly suited for curved equipment, it may appear that interferes with each other or bad to the reception output effect of audio
The problems such as.
As it can be seen that method is set and controlled in audio unit on prior art midplane devices, exist be not suitable for it is bent
Can also be straight flexible apparatus the technical issues of.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State the audio-frequency processing method and electronic equipment of problem.
In a first aspect, the present invention provides a kind of audio-frequency processing method, comprising:
Physical state locating for the screen of electronic equipment is detected, is provided with N number of audio unit on the electronic equipment, N is big
In equal to 2;
When detecting the screen is bending state, according to preset determining rule, from N number of audio unit really
Make target audio unit;
The target audio unit is opened to handle audio signal.
Optionally, N number of audio unit is N number of audio receiving unit;It is described to open the target audio unit to locate
Manage audio signal, comprising: open the target audio unit to receive audio signal.
Optionally, audio output unit is additionally provided on the electronic equipment, it is described according to preset determining rule, from institute
It states and determines target audio unit in N number of audio unit, comprising: determined and the sound from N number of audio receiving unit
Frequency output unit is apart from farthest audio receiving unit, and the audio receiving unit farthest using the distance is as the target audio
Unit.
It is optionally, described to determine target audio unit from N number of audio unit according to preset determining rule,
Include: that control N number of audio receiving unit is opened, to receive audio signal, receives N group audio signal altogether;From the N group
In audio signal, the maximum target audio signal of audio intensity is determined;According to the target audio signal, from N number of sound
The target audio unit is determined in frequency receiving unit, wherein the target audio unit is to receive the target audio letter
Number unit;It is described to open the target audio unit to handle audio signal, comprising: the target audio unit is opened, and
Close the audio receiving unit in N number of audio receiving unit in addition to the target audio unit.
Optionally, N number of audio unit is N number of audio output unit;It is described to open the target audio unit to locate
Manage audio signal, comprising: open the target audio unit with output audio signal.
Optionally, audio receiving unit is additionally provided on the electronic equipment, it is described according to preset determining rule, from institute
It states and determines target audio unit in N number of audio unit, comprising: determined from N number of audio output unit and the sound
Frequency receiving unit is apart from farthest audio output unit, and the audio output unit farthest using the distance is as the target audio
Unit.
Optionally, be provided with N number of optical sensor on the electronic equipment, the position of N number of optical sensor with it is described N number of
The position of audio unit corresponds;It is described regular according to preset determination, target sound is determined from N number of audio unit
Frequency unit, comprising: from N number of optical sensor, determine the most weak target optical sensor of the light intensity received;According to
The target optical sensor determines the target audio unit, wherein the position of the target audio unit and the target light
The position of sensor is corresponding.
It is optionally, described to determine target audio unit from N number of audio unit according to preset determining rule,
Include: the gravity sensor by being arranged on the screen, obtains on the screen each display area institute in each display area
In face of direction and relative angle locating for gravity direction;According to the relative angle, main display area is determined;It determines with described
The audio unit being arranged on main display area is the target audio unit.
Optionally, described according to the relative angle, determine main display area, comprising: according to the relative angle, really
Determine with the direction faced the region opposite with the gravity direction for the main display area.
It is optionally, described to determine target audio unit from N number of audio unit according to preset determining rule,
Include: the pressure sensor by being arranged on the screen, obtains on the screen each display area back in each display area
Pressure state suffered by face;According to the pressure state, main display area is determined, wherein the main display area is the back side
The maximum region of pressure;Determine the audio unit to be arranged on the main display area for the target audio unit.
Optionally, described after determining target audio unit in N number of audio unit, further includes: when detecting
When the screen rotates, according to the determining rule, newest target audio unit is determined from N number of audio unit;It cuts
Changing the target audio unit is the newest target audio unit.
Optionally, the electronic equipment is mobile phone, and the mobile phone can be bent into bracelet state.
Second aspect provides a kind of electronic equipment, comprising:
Detection module is provided with N number of for detecting physical state locating for the screen of electronic equipment on the electronic equipment
Audio unit, N are more than or equal to 2;
Determining module, for when detecting the screen is bending state, according to preset determining rule, from the N
Target audio unit is determined in a audio unit;
Opening module, for opening the target audio unit to handle audio signal.
Optionally, N number of audio unit is N number of audio receiving unit;The opening module is also used to: opening the mesh
Audio unit is marked to receive audio signal.
Optionally, audio output unit is additionally provided on the electronic equipment, the determining module is also used to: from the N
It is determined in a audio receiving unit with the audio output unit apart from farthest audio receiving unit, it is farthest with the distance
Audio receiving unit as the target audio unit.
Optionally, the determining module is also used to: control N number of audio receiving unit is opened, to receive audio letter
Number, N group audio signal is received altogether;From the N group audio signal, the maximum target audio signal of audio intensity is determined;Root
According to the target audio signal, the target audio unit is determined from N number of audio receiving unit, wherein the mesh
Marking audio unit is the unit for receiving the target audio signal;The opening module is also used to: opening the target audio list
Member, and close the audio receiving unit in N number of audio receiving unit in addition to the target audio unit.
Optionally, N number of audio unit is N number of audio output unit;The opening module is also used to: opening the mesh
Audio unit is marked with output audio signal.
Optionally, audio receiving unit is additionally provided on the electronic equipment, the determining module is also used to: from the N
It is determined in a audio output unit with the audio receiving unit apart from farthest audio output unit, it is farthest with the distance
Audio output unit as the target audio unit.
Optionally, be provided with N number of optical sensor on the electronic equipment, the position of N number of optical sensor with it is described N number of
The position of audio unit corresponds;The determining module is also used to: from N number of optical sensor, determining to receive
The most weak target optical sensor of light intensity;According to the target optical sensor, the target audio unit is determined, wherein institute
The position for stating target audio unit is corresponding with the position of the target optical sensor.
Optionally, the determining module is also used to: by the gravity sensor being arranged on the screen, obtaining the screen
Each faced direction in display area and relative angle locating for gravity direction in upper each display area;According to the relative angle
Degree, determines main display area;Determine the audio unit to be arranged on the main display area for the target audio unit.
Optionally, the determining module is also used to: according to the relative angle, determine direction to be faced with it is described heavy
The contrary region of power is the main display area.
Optionally, the determining module is also used to: by the pressure sensor being arranged on the screen, obtaining the screen
Pressure state suffered by each display area back side in upper each display area;According to the pressure state, main viewing area is determined
Domain, wherein the main display area is the maximum region of back side pressure;Determine the sound to be arranged on the main display area
Frequency unit is the target audio unit.
Optionally, the electronic equipment further includes switch unit, is used for: when detecting screen rotation, according to institute
It states and determines rule, newest target audio unit is determined from N number of audio unit;Switch the target audio unit as institute
State newest target audio unit.
Optionally, the electronic equipment is mobile phone, and the mobile phone can be bent into bracelet state.
The technical solution provided in the embodiment of the present application, has at least the following technical effects or advantages:
Multiple audio units are arranged in method provided by the present application and electronic equipment on an electronic device, described when detecting
When the screen of electronic equipment is bending state, as needed, determine that target audio unit comes from the multiple audio unit
Open, rather than mechanical using single audio frequency unit mode in the prior art, allow to according to the shape of electronic equipment come
Audio unit is selectively unlocked, bent flexible apparatus that can also be straight is more suitable for.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the flow chart of sound intermediate frequency of embodiment of the present invention processing method;
Fig. 2 is the schematic diagram one that target audio unit is determined in the embodiment of the present invention;
Fig. 3 is the schematic diagram two that target audio unit is determined in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of electronic equipment in the embodiment of the present invention.
Specific embodiment
Technical solution in the embodiment of the present application, general thought are as follows:
Multiple audio units are set on the electronic equipment, when the screen for detecting the electronic equipment is bending state
When, according to preset determining rule, target audio unit is determined from the multiple audio unit, and open the target sound
Frequency unit is to handle audio signal.
I.e. by not using single Mike in the prior art and/or monotelephone mode, but it is arranged on an electronic device more
Multiple Mikes and/or multiple earpieces is arranged in a audio unit, when the screen for detecting the electronic equipment is bending state
When, target audio unit is determined from the multiple audio unit as needed to open, so as to according to electronic equipment
Shape selectively unlock audio unit, be more suitable for the flexible apparatus that bent multiform that can also be straight becomes.
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Embodiment one
The present embodiment provides a kind of audio-frequency processing methods, referring to FIG. 1, Fig. 1 is sound intermediate frequency of embodiment of the present invention processing side
The flow chart of method, as shown in Figure 1, which comprises
Step S101 detects physical state locating for the screen of electronic equipment, N number of audio is provided on the electronic equipment
Unit, N are more than or equal to 2;
Step S102, when detecting the screen is bending state, according to preset determining rule, from N number of sound
Target audio unit is determined in frequency unit;
Step S103 opens the target audio unit to handle audio signal.
It should be noted that the application be suitable for flexible screen, the screen can be can it is straight also can be curved
Screen, be also possible to can camber also can screen circlewise, can also be can it is straight also can be at the screen of distorted shape, in this Shen
Please in no restrictions.
In the specific implementation process, the electronic equipment can be Intelligent bracelet or finger ring, be also possible to that ring can be bent into
The flexible mobile phone or flexible flat of shape, herein also with no restriction.
In the following, the specific implementation step of method provided by the embodiments of the present application is discussed in detail in conjunction with Fig. 1.
Firstly, executing step S101, physical state locating for the screen of electronic equipment is detected, is arranged on the electronic equipment
There is N number of audio unit, N is more than or equal to 2.
In the specific implementation process, the physical state can be with are as follows: bending, straight, distortion, wavy, cyclic annular etc., herein
It is not listed one by one.The mode of physical state locating for the detection screen can also there are many, be set forth below for two kinds:
The first obtains each region of the screen and gravity direction by the gravity sensor being arranged on the screen
Locating relative status;According to the relative status, the relative angle between each region is determined, to detect the screen
Whether curtain has region to bend, and then knows the physical state of the screen.
Second, pressure sensor is set on the screen, since object is when drawing high, compressing or being bent, can be produced
Stress inside raw, deformed state difference correspond to each region stress intensity and direction it is also not identical, therefore pass through pressure sensor
The stress data in each region of screen is obtained, so as to detect the physical state of the screen.
Certainly, in the specific implementation process, detect physical state locating for screen and be not limited to both the above method, based on not
Same demand can determine different detection methods, no longer itemize to this embodiment of the present invention, and with no restriction.
It should be noted that N number of audio unit can be N number of audio receiving unit, it is also possible to N number of audio output
Unit, this is not restricted.
Subsequently, step S102 is executed, it is regular according to preset determination when detecting the screen is bending state,
Target audio unit is determined from N number of audio unit.
In the specific implementation process, according to the function of electronic equipment, different, user needs different or audio unit type
Difference can be set forth below for five kinds there are many method for determining target audio unit:
The first, determines target audio unit according to audio receiving unit at a distance from audio output unit.
In the specific implementation process, two kinds of situations can be divided into:
First is that N number of audio unit is N number of audio receiving unit;Audio output is additionally provided on the electronic equipment
Unit, it is described according to preset determining rule, target audio unit is determined from N number of audio unit, comprising:
It determines to receive with the audio output unit apart from farthest audio from N number of audio receiving unit single
Member, the audio receiving unit farthest using the distance is as the target audio unit.
Second is that N number of audio unit is N number of audio output unit, audio reception is additionally provided on the electronic equipment
Unit, it is described according to preset determining rule, target audio unit is determined from N number of audio unit, comprising:
It is determined from N number of audio output unit with the audio receiving unit apart from farthest audio output list
Member, the audio output unit farthest using the distance is as the target audio unit.
Specifically, it is contemplated that mobile phone in the prior art often Mike and earpiece are separately positioned on the both ends of mobile phone with
It is user-friendly, but the first Mike 201 and first when as shown in Fig. 2, mobile phone is bent into ring-type, positioned at mobile phone both ends
Earpiece 202 can be close together, and the sound issued from the first Mike 201 can enter the first earpiece 202 and generate interference, therefore in order to subtract
Few interference, can be set when there is multiple Mikes on electronic equipment, and determining and the first earpiece 202 is described apart from farthest Mike
Target audio unit improves speech quality to reduce the interference between the Mike opened and earpiece.Similarly, when on electronic equipment
When having multiple earpieces, determining and the first Mike 201 is the target audio unit apart from farthest earpiece.
For example, the first Mike 201, the first earpiece 202 and the second Mike 203 are provided on electronic equipment as in Fig. 2, when
Detection can then determine that with first earpiece 202 be the target sound apart from the second farthest Mike 203 when screen-bending
Frequency unit.
In the specific implementation process, for how to determine apart from farthest audio unit, with from N number of audio receiving unit
In determine with audio output unit for farthest audio receiving unit, due to when electronic equipment manufacturing is completed, if
The relative position of standby upper audio output unit and audio receiving unit has been fixed, therefore be can be and preassigned bending state
When the audio receiving unit farthest apart from audio output unit be the target audio unit;Can also in audio output unit and
Range sensor is set on each audio receiving unit, each audio receiving unit and audio output unit are obtained by range sensor
Distance, so that it is determined that the target audio unit out.
Specifically, when existing simultaneously audio receiving unit and audio output unit, unlatching connects apart from farthest audio
Unit and audio output unit are received, is avoided because electronic equipment bending causes audio receiving unit and audio output unit apart from mistake
Closely, the reception and output interference generated, improves audio processing quality.
Second, when N number of audio unit is N number of audio receiving unit, according to each received sound of audio receiving unit
Frequency signal strength determines target audio unit.
It is described according to preset determining rule when i.e. described N number of audio unit is N number of audio receiving unit, from described N number of
Target audio unit is determined in audio unit, comprising:
It controls N number of audio receiving unit to open, to receive audio signal, receives N group audio signal altogether;
From the N group audio signal, the maximum target audio signal of audio intensity is determined;
According to the target audio signal, the target audio unit is determined from N number of audio receiving unit,
In, the target audio unit is the unit for receiving the target audio signal;
It is described to open the target audio unit to handle audio signal, comprising: to open the target audio unit, and close
Close the audio receiving unit in N number of audio receiving unit in addition to the target audio unit.
Specifically, it is contemplated that when user speaks against electronic equipment, since each Mike on electronic equipment faces angle
Degree or position are different, and the effect for receiving user voice signal is not also identical, therefore can be in the screen for detecting electronic equipment
When bending, whole Mikes is opened first to receive audio signal, then determine audio intensity most from the audio signal received
Big signal, with the Mike of the maximum audio signal of the audio intensity received for the target audio unit, to guarantee
The effect that the target audio unit of unlatching receives audio is best.In the specific implementation process, the maximum audio of the audio intensity
Signal can be the maximum audio signal of amplitude or prominent audio signal, and this is not restricted.
The third, determines target audio unit by optical sensor.
N number of optical sensor, the position of N number of optical sensor and N number of audio are provided on the i.e. described electronic equipment
The position of unit corresponds;
It is described regular according to preset determination, target audio unit is determined from N number of audio unit, comprising:
From N number of optical sensor, the most weak target optical sensor of the light intensity received is determined;
According to the target optical sensor, the target audio unit is determined, wherein the position of the target audio unit
It is corresponding with the position of the target optical sensor.
Specifically, it is contemplated that when the sub- equipment voice communication of user power utilization, often electronic equipment is taken in one's ear or taken
To mouth, therefore electronic equipment often receives audio frequency effect more preferably or output close to the audio unit that the region of user face is arranged
Audio is easier to be heard by the user, however, light source is often blocked by user face in the region close to user face, therefore can be in sound
Optical sensor is nearby arranged in frequency unit, determines the target optical sensor corresponding audio unit most weak with the light intensity received
For the target audio unit, to improve voice call quality.
For example, as shown in figure 3, user is often accustomed to lifting arm progress language when the electronic equipment is Intelligent bracelet
Sound call, the light intensity received at this time by the optical sensor on bracelet region that the face of user blocks is most weak, therefore determines
The audio unit 301 of face's occlusion area is the target audio unit, is led in order to improve user using electronic equipment
The speech quality of words.
4th kind, target audio unit is determined by gravity sensor.
It is i.e. described regular according to preset determination, target audio unit is determined from N number of audio unit, comprising:
By the gravity sensor being arranged on the screen, obtain on the screen that in each display area each display area
Relative angle locating for faced direction and gravity direction;
According to the relative angle, main display area is determined;
Determine the audio unit to be arranged on the main display area for the target audio unit.
Specifically, it is contemplated that the habit of user conversed with bracelet is often by the flat act of arm to mouth position, slightly
Bend down head, converse against bracelet, thus can be set the main display area be in face of the direction area opposite with gravity direction
Domain, at this point, the main display area is just that user bends down head and can facilitate the screen area being aligned with mouth, therefore user is only needed
It is ensured that using common call habit and is opened on bracelet against the Mike of user's mouth, without rotating screen back and forth
It is directed at Mike to search, effectively increases transmission efficiency and speech quality.
For example, user lifts arm when the screen is the annular screen of Intelligent bracelet, and when mouth is directed at bracelet, hand
The direction and gravity direction that extracarpal screen area is faced are on the contrary, therefore determine that the extracarpal screen area of hand is aobvious for the master
Show region, so that user maintains the Mike of the naturally i.e. certifiable mouth alignment of lift arm action to open, without rotating frequently again
Wrist is directed at Mike.
Certainly, in the specific implementation process, it is contemplated that user's browsing converses to bracelet nor completely vertically bowing, therefore not
It is limited to the direction that the main display area is faced is arranged opposite with the gravity direction;The main display area can also be set
The angle in the direction and the gravity direction that are faced is obtuse angle;Or the direction that is faced of the setting main display area with it is described
The angle of gravity direction is obtuse angle and big Mr. Yu's predetermined angle, and this is not restricted.
5th kind, target audio unit is determined by pressure sensor.
I.e. by the pressure sensor being arranged on the screen, obtain on the screen that in each display area each viewing area
Pressure state suffered by the back side of domain;
According to the pressure state, determine main display area, wherein the main display area be back side pressure most
Big region;
Determine the audio unit to be arranged on the main display area for the target audio unit.
Specifically, it is contemplated that when user is conversed with bracelet, often supported the viewing area to overcome gravity upwards by user
Domain is the best region of user's mouth alignment, therefore it is the main viewing area that the maximum region of pressure described in the back side, which is arranged, makes user
The Mike that need to quickly can be only opened with mouth alignment using common call habit, is aligned without rotating screen back and forth
Mike effectively increases transmission efficiency.
For example, when the screen is the annular screen of Intelligent bracelet, user, which often be accustomed to lifting arm and is directed at bracelet, to be said
Words, for the extracarpal screen area of hand by the extracarpal support of hand, pressure described in the back side is maximum at this time, therefore determines on the outside of wrist
Screen area be the main display area so that user maintain naturally lift arm action call can be completed, do not have to again frequently
Numerous rotation wrist is directed at Mike to search.
Certainly, in the specific implementation process, the method for determining the target audio unit is not limited to above five kinds, based on not
Same device requirement, user demand and audio unit type can determine different determination methods, to this embodiment of the present invention
It no longer itemizes, and with no restriction.
Subsequently, step S103 is executed, opens the target audio unit to handle audio signal.
In the specific implementation process, described to open the mesh when N number of audio unit is N number of audio receiving unit
Audio unit is marked to handle audio signal, comprising: open the target audio unit to receive audio signal.When N number of sound
Frequency unit is N number of audio output unit, described to open the target audio unit to handle audio signal, comprising: described in unlatching
Target audio unit is with output audio signal.
In the specific implementation process, it in order to guarantee speech quality, avoids interfering with each other between multiple audio units,
After determining the target audio unit, it can be set and close in N number of audio unit in addition to the target audio unit
Other audio units, other audios turned down in N number of audio unit in addition to the target audio unit also can be set
The parameter of unit, such as when N number of audio unit is audio output unit, turn its in addition to the target audio unit down
The audio volume of his audio unit output.
Further, consider during using electronic equipment, inevitably will appear the rotation of electronic equipment, example
Such as, rotation of the bracelet in wrist, thus can be set it is described determined from N number of audio unit target audio unit it
Afterwards, further includes:
When detecting screen rotation, according to the determining rule, determined from N number of audio unit newest
Target audio unit;Switching the target audio unit is the newest target audio unit.
Specifically, i.e., when detecting screen rotation, new target audio is determined according to the determining rule again
Unit come update rotation before target audio unit, to guarantee the audio processing quality of the target audio unit.
Based on the same inventive concept, the embodiment of the invention also provides the corresponding equipment of method in embodiment one, it is detailed in reality
Apply example two.
Embodiment two
A kind of electronic equipment is provided in the present embodiment, referring to FIG. 4, Fig. 4 is electronic equipment in the embodiment of the present application
Structural schematic diagram, as shown in figure 4, the electronic equipment includes:
Detection module 401 is provided on the electronic equipment for detecting physical state locating for the screen of electronic equipment
N number of audio unit, N are more than or equal to 2;
Determining module 402, for when detecting the screen is bending state, according to preset determining rule, from institute
It states and determines target audio unit in N number of audio unit;
Opening module 403, for opening the target audio unit to handle audio signal.
It should be noted that the application be suitable for flexible screen, the screen can be can it is straight also can be curved
Screen, be also possible to can camber also can screen circlewise, can also be can it is straight also can be at the screen of distorted shape, in this Shen
Please in no restrictions.
In the specific implementation process, the electronic equipment can be Intelligent bracelet or finger ring, be also possible to that ring can be bent into
The flexible mobile phone or flexible flat of shape, herein also with no restriction.
In the embodiment of the present application, N number of audio unit is N number of audio receiving unit;
The opening module 403 is also used to: opening the target audio unit to receive audio signal.
In the embodiment of the present application, audio output unit is additionally provided on the electronic equipment, the determining module 402 is also
For:
It determines to receive with the audio output unit apart from farthest audio from N number of audio receiving unit single
Member, the audio receiving unit farthest using the distance is as the target audio unit.
In the embodiment of the present application, the determining module 402 is also used to:
It controls N number of audio receiving unit to open, to receive audio signal, receives N group audio signal altogether;
From the N group audio signal, the maximum target audio signal of audio intensity is determined;
According to the target audio signal, the target audio unit is determined from N number of audio receiving unit,
In, the target audio unit is the unit for receiving the target audio signal;
The opening module 403 is also used to: being opened the target audio unit, and is closed N number of audio receiving unit
In audio receiving unit in addition to the target audio unit.
In the embodiment of the present application, N number of audio unit is N number of audio output unit;
The opening module 403 is also used to: opening the target audio unit with output audio signal.
In the embodiment of the present application, audio receiving unit is additionally provided on the electronic equipment, the determining module 402 is also
For:
It is determined from N number of audio output unit with the audio receiving unit apart from farthest audio output list
Member, the audio output unit farthest using the distance is as the target audio unit.
In the embodiment of the present application, N number of optical sensor, the position of N number of optical sensor are provided on the electronic equipment
It sets and is corresponded with the position of N number of audio unit;
The determining module 402 is also used to:
From N number of optical sensor, the most weak target optical sensor of the light intensity received is determined;
According to the target optical sensor, the target audio unit is determined, wherein the position of the target audio unit
It is corresponding with the position of the target optical sensor.
In the embodiment of the present application, the determining module 402 is also used to:
By the gravity sensor being arranged on the screen, obtain on the screen that in each display area each display area
Relative angle locating for faced direction and gravity direction;
According to the relative angle, main display area is determined;
Determine the audio unit to be arranged on the main display area for the target audio unit.
In the embodiment of the present application, the determining module 402 is also used to:
According to the relative angle, determine aobvious for the master with the direction faced the region opposite with the gravity direction
Show region.
In the embodiment of the present application, the determining module 402 is also used to:
By the pressure sensor being arranged on the screen, obtain on the screen that in each display area each display area
Pressure state suffered by the back side;
According to the pressure state, determine main display area, wherein the main display area be back side pressure most
Big region;
Determine the audio unit to be arranged on the main display area for the target audio unit.
In the embodiment of the present application, the electronic equipment further includes switch unit, is used for:
When detecting screen rotation, according to the determining rule, determined from N number of audio unit newest
Target audio unit;
Switching the target audio unit is the newest target audio unit.
By the electronic equipment that the embodiment of the present invention two is introduced, for the audio-frequency processing method for implementing the embodiment of the present invention one
Used electronic equipment, so based on the method that the embodiment of the present invention one is introduced, the affiliated personnel in this field can understand this
The specific structure of equipment and deformation, so details are not described herein.Equipment used by the method for all embodiment of the present invention one is all
Belong to the range of the invention to be protected.
The technical solution provided in the embodiment of the present application, has at least the following technical effects or advantages:
Multiple audio units are arranged in method provided by the present application and electronic equipment on an electronic device, described when detecting
When the screen of electronic equipment is bending state, as needed, determine that target audio unit comes from the multiple audio unit
Open, rather than mechanical using single audio frequency unit mode in the prior art, allow to according to the shape of electronic equipment come
Audio unit is selectively unlocked, bent flexible apparatus that can also be straight is more suitable for.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments
Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention
Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it
One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize gateway according to an embodiment of the present invention, proxy server, in system
Some or all components some or all functions.The present invention is also implemented as executing side as described herein
Some or all device or device programs (for example, computer program and computer program product) of method.It is such
It realizes that program of the invention can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape
Formula provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The invention discloses A1, a kind of audio-frequency processing method, comprising:
Physical state locating for the screen of electronic equipment is detected, is provided with N number of audio unit on the electronic equipment, N is big
In equal to 2;
When detecting the screen is bending state, according to preset determining rule, from N number of audio unit really
Make target audio unit;
The target audio unit is opened to handle audio signal.
A2, method according to a1, it is characterised in that:
N number of audio unit is N number of audio receiving unit;
It is described to open the target audio unit to handle audio signal, comprising: to open the target audio unit to connect
Receive audio signal.
A3, the method according to A2, which is characterized in that audio output unit, institute are additionally provided on the electronic equipment
It states according to preset determining rule, determines target audio unit from N number of audio unit, comprising:
It determines to receive with the audio output unit apart from farthest audio from N number of audio receiving unit single
Member, the audio receiving unit farthest using the distance is as the target audio unit.
A4, the method according to A2, it is characterised in that:
It is described regular according to preset determination, target audio unit is determined from N number of audio unit, comprising:
It controls N number of audio receiving unit to open, to receive audio signal, receives N group audio signal altogether;
From the N group audio signal, the maximum target audio signal of audio intensity is determined;
According to the target audio signal, the target audio unit is determined from N number of audio receiving unit,
In, the target audio unit is the unit for receiving the target audio signal;
It is described to open the target audio unit to handle audio signal, comprising: to open the target audio unit, and close
Close the audio receiving unit in N number of audio receiving unit in addition to the target audio unit.
A5, method according to a1, it is characterised in that:
N number of audio unit is N number of audio output unit;
It is described to open the target audio unit to handle audio signal, comprising: to open the target audio unit with defeated
Audio signal out.
A6, method according to a5, which is characterized in that audio receiving unit, institute are additionally provided on the electronic equipment
It states according to preset determining rule, determines target audio unit from N number of audio unit, comprising:
It is determined from N number of audio output unit with the audio receiving unit apart from farthest audio output list
Member, the audio output unit farthest using the distance is as the target audio unit.
A7, method according to a1, it is characterised in that:
N number of optical sensor, the position of N number of optical sensor and N number of audio list are provided on the electronic equipment
The position of member corresponds;
It is described regular according to preset determination, target audio unit is determined from N number of audio unit, comprising:
From N number of optical sensor, the most weak target optical sensor of the light intensity received is determined;
According to the target optical sensor, the target audio unit is determined, wherein the position of the target audio unit
It is corresponding with the position of the target optical sensor.
A8, method according to a1, which is characterized in that it is described according to preset determining rule, from N number of audio list
Target audio unit is determined in member, comprising:
By the gravity sensor being arranged on the screen, obtain on the screen that in each display area each display area
Relative angle locating for faced direction and gravity direction;
According to the relative angle, main display area is determined;
Determine the audio unit to be arranged on the main display area for the target audio unit.
A9, the method according to A8, which is characterized in that it is described that main display area is determined according to the relative angle,
Include:
According to the relative angle, determine aobvious for the master with the direction faced the region opposite with the gravity direction
Show region.
A10, method according to a1, which is characterized in that it is described according to preset determining rule, from N number of audio
Target audio unit is determined in unit, comprising:
By the pressure sensor being arranged on the screen, obtain on the screen that in each display area each display area
Pressure state suffered by the back side;
According to the pressure state, determine main display area, wherein the main display area be back side pressure most
Big region;
Determine the audio unit to be arranged on the main display area for the target audio unit.
A11, method according to a1, which is characterized in that described to determine target audio from N number of audio unit
After unit, further includes:
When detecting screen rotation, according to the determining rule, determined from N number of audio unit newest
Target audio unit;
Switching the target audio unit is the newest target audio unit.
A12, according to any method of A1-A11, which is characterized in that the electronic equipment is mobile phone, the mobile phone energy
It is bent into bracelet state.
B13, a kind of electronic equipment, comprising:
Detection module is provided with N number of for detecting physical state locating for the screen of electronic equipment on the electronic equipment
Audio unit, N are more than or equal to 2;
Determining module, for when detecting the screen is bending state, according to preset determining rule, from the N
Target audio unit is determined in a audio unit;
Opening module, for opening the target audio unit to handle audio signal.
B14, electronic equipment according to b13, it is characterised in that:
N number of audio unit is N number of audio receiving unit;
The opening module is also used to: opening the target audio unit to receive audio signal.
B15, electronic equipment according to b14, which is characterized in that audio output list is additionally provided on the electronic equipment
Member, the determining module are also used to:
It determines to receive with the audio output unit apart from farthest audio from N number of audio receiving unit single
Member, the audio receiving unit farthest using the distance is as the target audio unit.
B16, electronic equipment according to b14, it is characterised in that:
The determining module is also used to:
It controls N number of audio receiving unit to open, to receive audio signal, receives N group audio signal altogether;
From the N group audio signal, the maximum target audio signal of audio intensity is determined;
According to the target audio signal, the target audio unit is determined from N number of audio receiving unit,
In, the target audio unit is the unit for receiving the target audio signal;
The opening module is also used to: being opened the target audio unit, and is closed in N number of audio receiving unit and remove
Audio receiving unit outside the target audio unit.
B17, electronic equipment according to b13, it is characterised in that:
N number of audio unit is N number of audio output unit;
The opening module is also used to: opening the target audio unit with output audio signal.
B18, the electronic equipment according to B17, which is characterized in that be additionally provided with audio on the electronic equipment and receive list
Member, the determining module are also used to:
It is determined from N number of audio output unit with the audio receiving unit apart from farthest audio output list
Member, the audio output unit farthest using the distance is as the target audio unit.
B19, electronic equipment according to b13, it is characterised in that:
N number of optical sensor, the position of N number of optical sensor and N number of audio list are provided on the electronic equipment
The position of member corresponds;
The determining module is also used to:
From N number of optical sensor, the most weak target optical sensor of the light intensity received is determined;
According to the target optical sensor, the target audio unit is determined, wherein the position of the target audio unit
It is corresponding with the position of the target optical sensor.
B20, electronic equipment according to b13, which is characterized in that the determining module is also used to:
By the gravity sensor being arranged on the screen, obtain on the screen that in each display area each display area
Relative angle locating for faced direction and gravity direction;
According to the relative angle, main display area is determined;
Determine the audio unit to be arranged on the main display area for the target audio unit.
B21, the electronic equipment according to B20, which is characterized in that the determining module is also used to:
According to the relative angle, determine aobvious for the master with the direction faced the region opposite with the gravity direction
Show region.
B22, electronic equipment according to b13, which is characterized in that the determining module is also used to:
By the pressure sensor being arranged on the screen, obtain on the screen that in each display area each display area
Pressure state suffered by the back side;
According to the pressure state, determine main display area, wherein the main display area be back side pressure most
Big region;
Determine the audio unit to be arranged on the main display area for the target audio unit.
B23, electronic equipment according to b13, which is characterized in that the electronic equipment further includes switch unit, is used for:
When detecting screen rotation, according to the determining rule, determined from N number of audio unit newest
Target audio unit;
Switching the target audio unit is the newest target audio unit.
B24, according to any electronic equipment of B13-B23, which is characterized in that the electronic equipment is mobile phone, described
Mobile phone can be bent into bracelet state.