CN105472755B - A kind of antenna assignment method, device and electronic equipment - Google Patents
A kind of antenna assignment method, device and electronic equipment Download PDFInfo
- Publication number
- CN105472755B CN105472755B CN201410458952.8A CN201410458952A CN105472755B CN 105472755 B CN105472755 B CN 105472755B CN 201410458952 A CN201410458952 A CN 201410458952A CN 105472755 B CN105472755 B CN 105472755B
- Authority
- CN
- China
- Prior art keywords
- application
- antenna unit
- antenna
- preset
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
A kind of antenna assignment method provided by the invention, applied to electronic equipment, first antenna unit is provided in the first area of the electronic equipment, first application and the second application are at least installed, the second antenna element or first antenna unit are occupied when the first application operation, third antenna unit or first antenna unit are occupied when the second application operation, the performance of first antenna unit is better than the second antenna element and third antenna unit.This method comprises: when determine first application and second application all running, and determine first application with second application meet preset condition when, according to preset priority determine the first application priority level be higher than second application;The first application of control occupies first antenna unit, and controls the second application and occupy third antenna unit.So that the exclusive superior first antenna unit of performance of the first application, the second application only take up its workable third antenna unit, reduce the second application with the first application contention antenna resources, by the signal interference between application.
Description
Technical field
The invention belongs to field of electronic device more particularly to a kind of antenna assignment methods, device and electronic equipment.
Background technique
With the progress of electronic technology, the antenna being arranged in electronic equipment is more and more, the corresponding specific frequency of each antenna
Section realizes sending and receiving to the signal of the frequency range.
During each antenna sends and receivees signal, certain space is needed, to guarantee not done by other signals
It disturbs.
But since the volume of electronic equipment is more and more thinner, light and handy, the space for keeping its antenna reserved is limited, and each
The space size that antenna needs is fixed, this makes the day space of lines in electronic equipment generate intersection.
Generally there are multiple applications in electronic equipment while running, so that the corresponding mutiple antennas of multiple applications carries out at the same time
Signal transmission, causes the signal transmitted in each day space of lines intersected to interfere with each other, and reduces the signal transmission of electronic equipment
Accuracy.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of antenna assignment method, to solve in the prior art due to electricity
The each day signal transmitted in space of lines interferes with each other in sub- equipment, causes the signal transmission accuracy of electronic equipment is low to ask
Topic.
A kind of antenna assignment method is applied to an electronic equipment, is provided with first in the first area of the electronic equipment
Antenna element, is at least equipped with the first application and the second application in the electronic equipment, and when the first application operation occupies the
Two antenna elements or the first antenna unit, second application occupy third antenna unit or the first antenna when running
Unit, the performance of the first antenna unit is better than the performance of second antenna element and the property of the third antenna unit
It can, which comprises
Judge whether first application and second application are all running, obtains the first judging result;
Judge whether first application meets preset condition with second application, obtains the second judging result;
First judging result indicates first application and second application all at runtime, and works as described second
Judging result indicates that first application meets the preset condition with second application, determines according to preset priority
The priority level of first application is higher than second application;
It controls first application and occupies the first antenna unit, and control second application and occupy the third day
Line unit.
Above-mentioned method, it is preferred that it is described to judge whether first application meets preset condition with second application,
Obtaining the second judging result includes:
Judge it is described first application corresponding frequency of use with it is described second apply corresponding frequency of use difference whether
Less than preset value, if it is less, the second judging result indicates that first application meets preset condition with the second application.
Above-mentioned method, it is preferred that it is described to determine whether first application meets preset condition with second application,
Obtain the second judging result, comprising:
Judge whether signal interference occur in first application or the second application operational process, if it is, the
Two judging results indicate that first application meets preset condition with the second application;
Wherein, judge whether first application signal interference occurs, specifically include:
Judge whether the bit error rate for the signal that first application receives is greater than preset bit error rate threshold, if full
Foot judges that signal interference occurs in first application;
Or
Whether the signal strength for judging that first application receives meets less than preset strength threshold value, if it is satisfied, sentencing
There is signal interference in first application of breaking.
Above-mentioned method, it is preferred that when second application occupies the first antenna unit, the control described the
One application occupies the first antenna unit, and controls the second application occupancy third antenna unit and include:
By preset first RF switch, the signal of the connect with the first antenna unit second application is exported into mould
Block is switched to the signal output module of the first application;
By preset second RF switch, the signal output module that described second is applied and the third antenna unit
Connection.
Above-mentioned method, it is preferred that when the vacant first antenna unit of the second application, described in the control
First application occupies the first antenna unit, and controls the second application occupancy third antenna unit and include:
By preset first RF switch, the signal output module that the first antenna unit and first are applied is connected
It connects;
The signal output module of second application is maintained to connect with the third antenna unit.
A kind of electronic equipment is provided with first antenna unit, the electronic equipment in the first area of the electronic equipment
In be at least equipped with the first application and second application, it is described first application operation when occupy the second antenna element or first day described
Line unit, second application occupy third antenna unit or the first antenna unit, the first antenna unit when running
Performance better than second antenna element performance and the third antenna unit performance, comprising:
First judgment module obtains first for judging whether first application and second application are all running
Judging result;
Second judgment module is obtained for judging whether first application meets preset condition with second application
Second judging result;
Priority confirmation module indicates that first application and second application all exist for first judging result
Operation, and when second judging result indicates that first application meets the preset condition with second application, according to
Determine that the priority level of first application is higher than second application according to preset priority;
Control module occupies the first antenna unit for controlling first application, and controls second application
Occupy the third antenna unit.
Above-mentioned electronic equipment, it is preferred that second judgment module includes:
First judging unit makes for judging that the first corresponding frequency of use of application is corresponding with second application
Whether it is less than preset value with the difference of frequency, if it is less, the second judging result indicates first application and the second application
Meet preset condition.
Above-mentioned electronic equipment, it is preferred that second judgment module includes:
Second judgment unit, for judging whether signal occur in first application or the second application operational process
Interference, if it is, the second judging result indicates that first application meets preset condition with the second application;
Wherein, the second judgment unit judges whether first application interference occurs and specifically include:
Judge whether the bit error rate for the signal that first application receives is greater than preset bit error rate threshold, if full
Foot judges that signal interference occurs in first application;
Or
Whether the signal strength for judging that first application receives meets less than preset strength threshold value, if it is satisfied, sentencing
There is signal interference in first application of breaking.
Above-mentioned electronic equipment, it is preferred that the control module includes: first control unit and the second control unit;
When second application occupies the first antenna unit, the first control unit, for by preset
The second application switching connecting with the first antenna cell signal is the first application by the first RF switch;Second control
Unit processed, for by preset second RF switch, second application to be connected with the third antenna cell signal;
When the vacant first antenna unit of the second application, first control unit, for passing through preset the
One RF switch connects the first antenna unit and the first application signal;Second control unit, for maintaining described second
It is connected using with the third antenna cell signal.
A kind of antenna assignment method provided by the invention is applied to an electronic equipment, in the first area of the electronic equipment
It is provided with first antenna unit, the first application and the second application are at least installed in electronic equipment, the first application occupies when running
Second antenna element or the first antenna unit, the second application occupy third antenna unit or the first antenna list when running
Member, the performance of first antenna unit is better than the performance of the second antenna element and the performance of third antenna unit.This method comprises: first
First judge whether first application and the second application are all running, and it is default to judge whether the first application meets with the second application
Condition;When the first application and the second application are all being run, and the first application meets preset condition with the second application, according to pre-
If priority determine the first application priority level be higher than second application;The first application of control occupies first antenna unit,
And it controls the second application and occupies third antenna unit.In this way, make the exclusive superior first antenna unit of performance of the first application, and
Second application can only occupy its workable third antenna unit, make not fight for antenna with first application when the second application operation
Resource reduces running application and occupies signal interference caused by antenna element, and the signal transmission for improving electronic equipment is quasi-
Exactness improves user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of antenna assignment method embodiment 1 provided by the present application;
Fig. 2 is a kind of flow chart of antenna assignment method embodiment 2 provided by the present application;
Fig. 3 is a kind of flow chart of antenna assignment method embodiment 3 provided by the present application;
Fig. 4 is a kind of flow chart of antenna assignment method embodiment 4 provided by the present application;
Fig. 5 is a kind of flow chart of antenna assignment method embodiment 5 provided by the present application;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment embodiment 1 provided by the present application;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment embodiment 2 provided by the present application;
Fig. 8 is the structural schematic diagram of a kind of electronic equipment embodiment 3 provided by the present application;
Fig. 9 is the structural schematic diagram of a kind of electronic equipment embodiment 4 provided by the present application.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
A kind of antenna assignment method provided by the present application is applied in an electronic equipment, individually marks off in the electronic equipment
One first area, the first area correspond to first antenna unit, due to first area position uniqueness, corresponding first antenna
Performance of the performance of unit better than other antenna elements in electronic equipment.Also at least there are two applications for installation in the electronic equipment:
First application and the second application, wherein occupy the second antenna element or first antenna unit when the first application operation, second answers
Third antenna unit or first antenna unit are occupied when with operation, the performance of first antenna unit is better than the property of the second antenna element
The performance of energy and third antenna unit.
Fig. 1 show a kind of flow chart of antenna assignment method embodiment 1 provided by the present application, and this method can be by following
Step is realized:
Step S101: judging whether first application and second application are all running, and obtains the first judging result;
Wherein, first application and the second application are two preset applications in electronic equipment, the first application operation
The second antenna element of Shi Zhanyong occupies third antenna unit or first day when perhaps second application of first antenna unit is run
Line unit, first application and the second application are it is possible that the case where fighting for first antenna unit.
Wherein, judge whether the first application is currently running, it can be by checking first state parameter applied, according to the shape
State parameter can determine whether first application is in operating status.
Similarly, it also can determine whether to obtain whether second application is currently running.
In actual motion, when a certain application brings into operation in electronic equipment, broadcast carries the state for the information that brings into operation
Parameter, when this using it is out of service when, broadcast carries the state parameter of information out of service, specifically can be by the state parameter
It is checked, according to the information for the time and its carrying for broadcasting the state parameter, can judge to obtain the operation of the current application
State.It is such as the information that brings into operation when being carried in newest state parameter, then can determine that the application is operating status, when newest
State parameter in carry be information out of service, then can determine that the application is halted state.
Step S102: judging whether first application meets preset condition with second application, obtains the second judgement
As a result;
Wherein, which can be a preset relation table, wherein listing, there is contention first antenna unit to close
Multiple applications of system.
Specifically, retrieved in the relation table whether and meanwhile have first application and second application, if so, then first application
Meet preset condition with the second application, is otherwise unsatisfactory for.
Wherein, which can also be the actual conditions of two application contention first antenna unit applications, such as frequency
It is close, or there is signal interference etc. between each other.
Specifically, can determine whether the state in the carrying out practically of the first application and the second application meets contention first antenna
Both that is, there is contention the if it is satisfied, then the first application and the second application meet preset condition in the actual conditions of unit application
One antenna element, is otherwise unsatisfactory for.
It should be noted that first judging whether the first application and the second application are all running in the present embodiment, then just sentence
It is both disconnected whether to meet preset condition, it is not limited to this in actual implementation, it, can be according to this when the preset condition is relation table
The first application of relation table confirmation and the second application have the relationship of contention first antenna unit, then go whether to determine the two applications
It is all running, in specific sequencing the application with no restrictions.
Step S103: first judging result indicates first application and second application all at runtime, and
When second judging result indicates that first application meets the preset condition with second application, according to preset excellent
First sequence determines that the priority level of first application is higher than second application;
Wherein, when the first judging result indicates that the first application and the second application are all being run, and when the second judging result table
When showing that the first application meets preset condition with the second application, it is known that first antenna unit is fought in first application and the second application,
For the normal operation for guaranteeing application more important in electronic equipment, need the first antenna unit of the better performances distributing to this
It is more important using.
Specifically, can determine that the priority level of first application is higher than second application according to the priority, then
It needs to distribute to the first antenna unit first application to occupy, and stops second application and occupy the first antenna unit.
Firstly, it is necessary to determine application more important in the electronic equipment, the preferential of an application is preset in the electronic equipment
Sequentially, such as in actual operation, need to guarantee first the signal accuracy of communication module.
Such as the preset priority includes: communication module, wireless module from high to low;
Wherein, which includes: phone module, 2G (Second Generation, Generation Mobile Telecommunication System technology
Specification), 3G (3rd-Generation, 3rd generation mobile communication technology), LTE (Long Term Evolution, General Mobile
The long term evolution of the communication technology);The wireless module includes: WIFI (Wireless Fidelity), GPS (Global Positioning
System, global positioning system) etc..
Step S104: control first application occupies the first antenna unit, and controls second application and occupy
The third antenna unit.
Wherein, according to the judgement of priority in step S103, it is known that the priority level of first application is higher than second and answers
With, then it needs to distribute to the first antenna unit first application and occupies, and stop second application and occupy the first antenna
Unit makes not fight for antenna resources with first application when the second application operation, reduces running application and occupy antenna list
Signal interference caused by member.
Meanwhile the operation in order to guarantee the second application, it controls second application and occupies its third antenna list that can be used
Member carries out signal and sends and receives.
To sum up, it in a kind of antenna assignment method provided in this embodiment, first determines whether first application and the second application is
It is no all to run, and judge whether the first application meets preset condition with the second application;When the first application and second is using all
It is running, and the first application is applied with second when meeting preset condition, determines the first application according to preset priority
Priority level is higher than the second application;The first application of control occupies first antenna unit, and controls the second application and occupy third antenna
Unit.In this way, make the first exclusive superior first antenna unit of performance of application, and workable for the second application can only occupy it
Third antenna unit makes not fight for antenna resources with first application when the second application operation, reduces running application and account for
The signal interference caused by antenna element improves the signal transmission accuracy of electronic equipment, improves user experience.
Fig. 2 show a kind of flow chart of antenna assignment method embodiment 2 provided by the present application, and this method can be by following
Step is realized:
Step S201: judging whether first application and second application are all running, and obtains the first judging result;
Wherein, step S201 is consistent with the step S101 in embodiment 1, and this embodiment is not repeated.
Step S202: judge the first corresponding frequency of use of application and the corresponding frequency of use of second application
Whether difference is less than preset value, and generates the second judging result;
Wherein, since the first application and the second application are required to carry out sending and receiving for signal using antenna element, often
A application have its corresponding frequency of use, when two application corresponding frequency of use very close to when, may result in and believe
Number interference the case where.
Specifically, detecting the first corresponding frequency of use of application and second using corresponding frequency of use, by the two
It makes the difference to obtain difference, judges whether the difference is less than preset value, if it is less, the second judging result indicates first application
Meet preset condition with the second application.
For example, the preset value is 100Hz, when the frequency of first application is 900Hz, the frequency of the second application is 850Hz,
Difference 50Hz between the two is less than the preset value, and the second judging result obtained according to the judgement then indicates the first application and the
Two applications meet preset condition.
Specifically, can determine whether this first application corresponding frequency of use and second application corresponding frequency of use whether be
Side frequency, if it is, the second judging result indicates that first application meets preset condition with the second application.
In specific implementation, it can be obtained by being detected to preset operating parameter in first application and the second application
Its corresponding frequency of use.
Step S203: first judging result indicates first application and second application all at runtime, and
When second judging result indicates that first application meets the preset condition with second application, according to preset excellent
First sequence determines that the priority level of first application is higher than second application;
Step S204: control first application occupies the first antenna unit, and controls second application and occupy
The third antenna unit.
Wherein, step S203-204 is consistent with the step S103-104 in embodiment 1, and this embodiment is not repeated.
To sum up, in a kind of antenna assignment method provided in the present embodiment, judge whether the first application is full with the second application
Sufficient preset condition obtains the second judging result and specifically includes: judging that the first corresponding frequency of use of application is corresponding with the second application
The difference of frequency of use whether be less than preset value, if it is less, the second judging result indicates the first application and the second application
Meet preset condition.Corresponding frequency of use is applied by obtaining the first application and second, is obtained between the two frequency of use
Difference, and judge whether the two is likely to occur signal interference according to the difference, using this method, to first in terms of frequency of use
Whether it is likely to occur signal interference using with the second application and is judged, process is simple, is easy to implement.
Fig. 3 show a kind of flow chart of antenna assignment method embodiment 3 provided by the present application, and this method can be by following
Step is realized:
Step S301: judging whether first application and second application are all running, and obtains the first judging result;
Wherein, step S301 is consistent with the step S101 in embodiment 1, and this embodiment is not repeated.
Step S302: judge signal interference whether occur in first application or the second application operational process, such as
Fruit is that then the second judging result indicates that the first application meets preset condition with the second application;
Wherein, it applies the information in actual moving process to transmit situation first application and second to detect, sentence
Whether disconnected there is signal interference, if there is if, then indicates that first application is answered with second in the second judging result for generating
With preset condition is met, need to carry out the subsequent first antenna unit for occupying better performances alone to the first application distribution.
Specifically, the signal strength of first application or the second application becomes smaller or when the bit error rate is higher, then shows this
The information transmission of first application and the second application is affected.
Wherein, judge whether first application process of signal interference occurs, specifically include: judging first application
Whether the bit error rate of the signal received is greater than preset bit error rate threshold, if it is satisfied, judging that first application is believed
Number interference.
Wherein, judge whether first application process of signal interference occurs, specifically include: judging first application
Whether the signal strength received meets less than preset strength threshold value, if it is satisfied, it is dry to judge that signal occurs in first application
It disturbs.
Specifically, then showing the signal of the application when a certain application signal strength is greater than the preset intensity threshold condition
Intensity is uninfluenced;Otherwise, the signal strength of the application is affected.It is preset when the bit error rate that the application receives signal is less than
When bit error rate threshold, the accuracy of the information transmission of the application is higher, is not affected by influence;Otherwise, the information of the application is transmitted quasi-
Exactness is affected.
It should be noted that can only whether occur by one of signal strength and the bit error rate to application in specific implementation
Signal interference is judged, can also be judged simultaneously whether application signal interference occurs by the two, in the present embodiment not
It limits.
Step S303: first judging result indicates first application and second application all at runtime, and
When second judging result indicates that first application meets the preset condition with second application, according to preset excellent
First sequence determines that the priority level of first application is higher than second application;
Step S304: control first application occupies the first antenna unit, and controls second application and occupy
The third antenna unit.
Wherein, step S303-304 is consistent with the step S103-104 in embodiment 1, and this embodiment is not repeated.
To sum up, in a kind of antenna assignment method provided in the present embodiment, the judgement first application and described second
Using whether preset condition is met, the second judging result is obtained, is specifically included: judging first application or second application
Whether there is signal interference in operational process, if it is, the second judging result indicates that first application and the second application are full
Sufficient preset condition.The signal interference is judged by the signal strength or the bit error rate applied.Using this method, answer first
With with whether occur signal interference in the second application operational process and judged that process is simple, be easy to implement.
Wherein, when the second application occupies the first antenna unit, the occupancy of second application is released.
Fig. 4 show a kind of flow chart of antenna assignment method embodiment 4 provided by the present application, and this method can be by following
Step is realized:
Step S401: judging whether first application and second application are all running, and obtains the first judging result;
Step S402: judging whether first application meets preset condition with second application, obtains the second judgement
As a result;
Step S403: first judging result indicates first application and second application all at runtime, and
When second judging result indicates that first application meets the preset condition with second application, according to preset excellent
First sequence determines that the priority level of first application is higher than second application;
Wherein, step S401-403 is consistent with the step S101-103 in embodiment 1, and this embodiment is not repeated.
Step S404: by preset first RF switch, by the connect with the first antenna unit second application
Signal output module is switched to the signal output module of the first application;
Wherein, which is used to control the connection type of the first antenna unit.
Wherein, when the first application and the second application are all being run, and the first application and the second application meet it is described default
When condition, then showing the first application and the second application, there are signal interference situations, to guarantee higher first application of priority level
Signal accuracy it is higher, by the first antenna unit of better performances distribute to this first using.
It is occupied this first day specifically, the state that second application occupies the first antenna unit is switched to the first application
Line unit.
Specifically, the switching is realized by first RF switch, specifically: second will connect with first antenna unit
The signal output module of application is switched to the signal output module of the first application.
Step S405: by preset second RF switch, the signal output module that described second is applied and described
The connection of triantennary unit.
Wherein, which is used to control the connection type of the third antenna unit.
It should be noted that the first antenna unit due to better performances is occupied by the first application, lead to second application
No antenna element carries out signal transmission and therefore connect second signal output module applied with the third antenna unit, protects
The operation of the second application of card.
To sum up, in a kind of antenna assignment method provided in this embodiment, when the second application occupies first antenna unit, institute
It states control first application and occupies the first antenna unit, and control second application and occupy the third antenna unit
It specifically includes: by preset first RF switch, the signal of the connect with the first antenna unit second application being exported
Module is switched to the signal output module of the first application;By preset second RF switch, the signal that described second is applied
Output module is connected with the third antenna unit.Using this method, by the connection type for controlling the first antenna unit
First RF switch realizes that the first application and the occupancy of the second application switch, also, the company by controlling the third antenna unit
The second RF switch for connecing mode realizes and continues through other antenna elements progress signal transmission to the second application, protecting
On the basis of having demonstrate,proved the first application signal accuracy, the normal operation of the second application is also ensured.
Wherein, when the vacant first antenna unit of the second application, the first application of control directly occupy this
One antenna element.
Fig. 5 show a kind of flow chart of antenna assignment method embodiment 5 provided by the present application, and this method can be by following
Step is realized:
Step S501: judging whether first application and second application are all running, and obtains the first judging result;
Step S502: judging whether first application meets preset condition with second application, obtains the second judgement
As a result;
Step S503: first judging result indicates first application and second application all at runtime, and
When second judging result indicates that first application meets the preset condition with second application, according to preset excellent
First sequence determines that the priority level of first application is higher than second application;
Wherein, step S501-503 is consistent with the step S101-103 in embodiment 1, and this embodiment is not repeated.
Step S504: by preset first RF switch, the signal that the first antenna unit and first are applied is defeated
Module connects out;
Wherein, which is used to control the connection type of the first antenna unit.
It should be noted that then can determine that this when all running due to the first application and the second application and meet preset condition
The signal transmission of first application is disturbed, which only connects its workable second antenna element, to reduce its signal
Transmission interference, by this first application occupy the better performances first antenna unit, abandon service performance it is relatively poor second
Antenna element.
Specifically, realizing that the signal by first antenna unit and first application exports mould by first RF switch
Block connection, with realize by the first antenna unit of better performances distribute to this first using.
Step S505: the signal output module of second application is maintained to connect with the third antenna unit.
Wherein, the vacant first antenna unit of the second application, and occupy third antenna unit.
Therefore, during the application of control first occupies first antenna unit, without adjusting the second application occupancy
Antenna element maintains the signal output module of second application and the connection status of the third antenna unit.
To sum up, in a kind of antenna assignment method provided in this embodiment, when the second vacant first antenna unit of application,
Control first application occupies the first antenna unit, and controls second application and occupy the third antenna list
Member includes: by preset first RF switch, by the signal output module of the first antenna cell signal and the first application
Connection;The signal output module of second application is maintained to connect with the third antenna unit.Using this method, pass through control
First RF switch of the connection type of the first antenna unit is realized that the first application occupies first antenna unit, also, is maintained
Second application continues through other third antenna units and carries out signal transmission, ensure that the first application signal accuracy
On the basis of, also ensure the normal operation of the second application.
Antenna assignment method is described in detail in the embodiment that aforementioned present invention provides, for antenna assignment side of the invention
The electronic equipment that diversified forms can be used in method is realized, therefore the present invention also provides a kind of electronic equipment, is given below specific
Embodiment is described in detail.
Fig. 6 show the structural schematic diagram of a kind of electronic equipment embodiment 1 provided by the present application, in the electronic equipment individually
A first area is marked off, which corresponds to first antenna unit, due to first area position uniqueness, corresponding the
Performance of the performance of one antenna element better than other antenna elements in electronic equipment.There are two also at least being installed in the electronic equipment
Using: the first application and the second application, wherein the second antenna element or first antenna unit are occupied when the first application operation,
Third antenna unit or first antenna unit are occupied when the second application operation, the performance of first antenna unit is better than the second antenna list
The performance of member and the performance of third antenna unit.
In specific implementation, which can be a specific area of space in electronic equipment, the area of space shape
Rule.
The electronic equipment may include such as flowering structure: first judgment module 601, the second judgment module 602, priority confirmation
Module 603 and control module 604;
Wherein, first judgment module 601, for judging whether first application and second application are all running,
Obtain the first judging result;
Wherein, first judgment module 601 judges whether the first application is currently running, can be by checking first shape applied
State parameter can determine whether first application is in operating status according to the state parameter.
Similarly, first judgment module 601 also judges to obtain whether second application is currently running.
In actual motion, when a certain application brings into operation in electronic equipment, broadcast carries the state for the information that brings into operation
Parameter, when this using it is out of service when, broadcast carries the state parameter of information out of service, specifically can be by the state parameter
It is checked, according to the information for the time and its carrying for broadcasting the state parameter, can judge to obtain the operation of the current application
State.It is such as the information that brings into operation when being carried in newest state parameter, then can determine that the application is operating status, when newest
State parameter in carry be information out of service, then can determine that the application is halted state.
Wherein, the second judgment module 602, for judging whether first application meets default item with second application
Part obtains the second judging result;
Wherein, which can be a preset relation table, wherein listing, there is contention first antenna unit to close
Multiple applications of system.
Specifically, retrieved in the relation table whether and meanwhile have first application and second application, if so, then first application
Meet preset condition with the second application, is otherwise unsatisfactory for.
Wherein, which can also be the actual conditions of two application contention first antenna unit applications, such as frequency
It is close, or there is signal interference etc. between each other.
Specifically, can determine whether the state in the carrying out practically of the first application and the second application meets contention first antenna
Both that is, there is contention the if it is satisfied, then the first application and the second application meet preset condition in the actual conditions of unit application
One antenna element, is otherwise unsatisfactory for.
It should be noted that first judging whether the first application and the second application are all running in the present embodiment, then just sentence
It is both disconnected whether to meet preset condition, it is not limited to this in actual implementation, it, can be according to this when the preset condition is relation table
The first application of relation table confirmation and the second application have the relationship of contention first antenna unit, then go whether to determine the two applications
It is all running, in specific sequencing the application with no restrictions.
Wherein, priority confirmation module 603 indicates first application and described second for first judging result
Using all running, and when second judging result indicates that first application meets the default item with second application
When part, determine that the priority level of first application is higher than second application according to preset priority;
Wherein, when the first judging result indicates that the first application and the second application are all being run, and when the second judging result table
When showing that the first application meets preset condition with the second application, it is known that first antenna unit is fought in first application and the second application,
For the normal operation for guaranteeing application more important in electronic equipment, need the first antenna unit of the better performances distributing to this
It is more important using.
Specifically, priority confirmation module 603 can determine that the priority level of first application is high according to the priority
It in second application, then needs to distribute to the first antenna unit first application and occupies, and stop second application and account for
With the first antenna unit.
Firstly, it is necessary to determine application more important in the electronic equipment, the preferential of an application is preset in the electronic equipment
Sequentially, such as in actual operation, need to guarantee first the signal accuracy of communication module.
Such as the preset priority includes: communication module, wireless module from high to low;
Wherein, which includes: phone module, 2G, 3G, LTE;The wireless module includes: WIFI, GPS etc..
Wherein, control module 604 occupy the first antenna unit for controlling first application, and described in control
Second application occupies the third antenna unit.
Wherein, according to the judgement of priority in priority confirmation module 603, it is known that the priority level of first application is high
In the second application, then needs to distribute to the first antenna unit first application and occupy, and stopping the second application occupancy should
First antenna unit makes not fight for antenna resources with first application when the second application operation, reduces running application and account for
The signal interference caused by antenna element.
Meanwhile the operation in order to guarantee the second application, it controls second application and occupies its third antenna list that can be used
Member carries out signal and sends and receives.
To sum up, in a kind of electronic equipment provided in this embodiment, first application and the second application are first determined whether all
It is running, and is judging whether the first application meets preset condition with the second application;When the first application and the second application are all being transported
It is capable, and the first application is applied with second when meeting preset condition, determines the preferential of the first application according to preset priority
It is superior to the second application;The first application of control occupies first antenna unit, and controls the second application and occupy third antenna unit.
In this way, make the exclusive superior first antenna unit of performance of the first application, and the second application can only occupy its workable third
Antenna element makes not fight for antenna resources with first application when the second application operation, reduces running application and occupy day
Signal interference caused by line unit improves the signal transmission accuracy of electronic equipment, improves user experience.
Fig. 7 show the structural schematic diagram of a kind of electronic equipment embodiment 2 provided by the present application, which can wrap
It includes such as flowering structure: first judgment module 701, the second judgment module 702, priority confirmation module 703 and control module 704;
Wherein, which includes: the first judging unit 705.
Wherein, first judgment module 701, priority confirmation module 703 and control module 704 are corresponding in embodiment 1
Structure function is consistent, and this embodiment is not repeated.
Wherein, the first judging unit 705, for judging the first corresponding frequency of use of application and second application
Whether the difference of corresponding frequency of use is less than preset value, if it is less, the second judging result indicate it is described first application with
Second application meets preset condition.
Wherein, since the first application and the second application are required to carry out sending and receiving for signal using antenna element, often
A application have its corresponding frequency of use, when two application corresponding frequency of use very close to when, may result in and believe
Number interference the case where.
Specifically, the first judging unit 705 detection first corresponding frequency of use of application and the second application are corresponding
Frequency of use makes the difference the two to obtain difference, judges whether the difference is less than preset value, if it is less, the second judging result
Indicate that first application meets preset condition with the second application.
For example, the preset value is 100Hz, when the frequency of first application is 900Hz, the frequency of the second application is 850Hz,
Difference 50Hz between the two is less than the preset value, and the second judging result obtained according to the judgement then indicates the first application and the
Two applications meet preset condition.
Specifically, the first judging unit 705 can determine whether that the first corresponding frequency of use of application and the second application correspond to
Frequency of use whether be side frequency, if it is, the second judging result indicate it is described first application and second application meet
Preset condition.
In specific implementation, it can be obtained by being detected to preset operating parameter in first application and the second application
Its corresponding frequency of use.
To sum up, in a kind of electronic equipment provided in this embodiment, which includes: the first judging unit, is used
In judge it is described first application corresponding frequency of use with it is described second apply corresponding frequency of use difference whether be less than it is pre-
If value, if it is less, the second judging result indicates that first application meets preset condition with the second application.By obtaining the
Corresponding frequency of use is applied in one application and second, obtains the difference between the two frequency of use, and judge two according to the difference
Whether person is likely to occur signal interference, using the electronic equipment, applies in terms of frequency of use to first and whether the second application
It is likely to occur signal interference to be judged, process is simple, is easy to implement.
Fig. 8 show the structural schematic diagram of a kind of electronic equipment embodiment 3 provided by the present application, which can wrap
It includes such as flowering structure: first judgment module 801, the second judgment module 802, priority confirmation module 803 and control module 804;
Wherein, which includes: second judgment unit 805.
Wherein, first judgment module 801, priority confirmation module 803 and control module 804 are corresponding in embodiment 1
Structure function is consistent, and this embodiment is not repeated.
Wherein, second judgment unit 805, for judge it is described first application or it is described second application operational process in whether
There is signal interference, if it is, the second judging result indicates that first application meets preset condition with the second application;
Wherein, second judgment unit 805 applies the information in actual moving process to transmit first application and second
Situation is detected, and judges whether signal interference occur, if there is if, then indicated in the second judging result for generating this
One application meets preset condition with the second application, needs to carry out subsequent to occupy the of better performances alone to the first application distribution
One antenna element.
Specifically, the signal strength of first application or the second application becomes smaller or when the bit error rate is higher, then shows this
The information transmission of first application and the second application is affected.
Wherein, the second judgment unit 805 judges whether first application interference occurs and specifically include:
Judge whether the bit error rate for the signal that first application receives is greater than preset bit error rate threshold, if full
Foot judges that signal interference occurs in first application;Alternatively, whether the signal strength for judging that first application receives meets
Less than preset strength threshold value, if it is satisfied, judging that signal interference occurs in first application.
Specifically, then showing the signal of the application when a certain application signal strength is greater than the preset intensity threshold condition
Intensity is uninfluenced;Otherwise, the signal strength of the application is affected.It is preset when the bit error rate that the application receives signal is less than
When bit error rate threshold, the accuracy of the information transmission of the application is higher, is not affected by influence;Otherwise, the information of the application is transmitted quasi-
Exactness is affected.
It should be noted that can only whether occur by one of signal strength and the bit error rate to application in specific implementation
Signal interference is judged, can also be judged simultaneously whether application signal interference occurs by the two, in the present embodiment not
It limits.
To sum up, in a kind of electronic equipment provided in the present embodiment, the second judgment module includes: second judgment unit, is used
In judging whether signal interference occur in first application or the second application operational process, if it is, the second judgement
As a result indicate that first application meets preset condition with the second application.The signal strength or mistake that the signal interference passes through application
Code rate is judged.Using the electronic equipment, to whether occur in the first application and the second application operational process signal interference into
Row judgement, process is simple, is easy to implement.
Fig. 9 show the structural schematic diagram of a kind of electronic equipment embodiment 3 provided by the present application, which can wrap
It includes such as flowering structure: first judgment module 901, the second judgment module 902, priority confirmation module 903 and control module 904;
Wherein, which includes: first control unit 905 and the second control unit 906.
Wherein, first judgment module 901, the second judgment module 902, priority confirmation module 903 and the phase in embodiment 1
Answer structure function consistent, this embodiment is not repeated.
Wherein, when second application occupies the first antenna unit, the first control unit 905 is for passing through
The second application switching connecting with the first antenna cell signal is the first application by preset first RF switch;It is described
Second control unit 906 is used to believe second application and the third antenna unit by preset second RF switch
Number connection;
Specifically, releasing the occupancy of second application when the second application occupies the first antenna unit.
Wherein, which is used to control the connection type of the first antenna unit.
Wherein, when the first application and the second application are all being run, and the first application and the second application meet it is described default
When condition, then showing the first application and the second application, there are signal interference situations, to guarantee higher first application of priority level
Signal accuracy it is higher, by the first antenna unit of better performances distribute to this first using.
Specifically, the state that second application occupies the first antenna unit is switched to first by first control unit 905
Using the occupancy first antenna unit.
Specifically, the switching is realized by first RF switch, specifically: the control of first control unit 905 first is penetrated
The signal that the signal output module of connect with first antenna unit second application is switched to the first application is exported mould by frequency switch
Block.
Wherein, which is used to control the connection type of the third antenna unit.
It should be noted that the first antenna unit due to better performances is occupied by the first application, lead to second application
No antenna element carries out signal transmission, and therefore, the second control unit 906 controls the second RF switch for second signal applied
Output module is connect with the third antenna unit, guarantees the operation of the second application.
Wherein, when the vacant first antenna unit of the second application, first control unit 905 is used for by pre-
If the first RF switch, by the first antenna unit and first application signal connect;Second control unit 906 is for maintaining
Second application is connected with the third antenna cell signal.
Specifically, the first application of control directly occupies should when the second application vacant first antenna unit
First antenna unit.
Wherein, which is used to control the connection type of the first antenna unit.
It should be noted that then can determine that this when all running due to the first application and the second application and meet preset condition
The signal transmission of first application is disturbed, which only connects its workable second antenna element, to reduce its signal
Transmission interference, by this first application occupy the better performances first antenna unit, abandon service performance it is relatively poor second
Antenna element.
Specifically, first control unit 905 by first RF switch, realize by first antenna unit and this first answer
Signal output module connection, with realize by the first antenna unit of better performances distribute to this first using.
Wherein, the vacant first antenna unit of the second application, and occupy third antenna unit.
Therefore, during the application of control first occupies first antenna unit, without adjusting the second application occupancy
Antenna element, i.e. the second control unit 906 maintain the signal output module of second application and the connection of the third antenna unit
State.
To sum up, in a kind of electronic equipment provided in the present embodiment, control module includes: first control unit and the second control
Unit processed;When second application occupies the first antenna unit, the first control unit, for passing through preset the
The second application switching connecting with the first antenna cell signal is the first application by one RF switch;Second control
Unit, for by preset second RF switch, second application to be connected with the third antenna cell signal;Work as institute
When stating the second vacant first antenna unit of application, first control unit will for passing through preset first RF switch
The first antenna unit and the first application signal connect;Second control unit, for maintaining second application and described the
The connection of triantennary cell signal.Using the electronic equipment, the first radio frequency of the connection type by controlling the first antenna unit
Switch realizes that the first application occupies first antenna unit, also, second of the connection type by controlling the third antenna unit
RF switch realizes and continues through the progress signal transmission of third antenna unit to the second application, ensure that the first application letter
On the basis of number accuracy, the normal operation of the second application is also ensured.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (9)
1. a kind of antenna assignment method is applied to an electronic equipment, which is characterized in that set in the first area of the electronic equipment
It is equipped with first antenna unit, the first application and the second application, the first application operation are at least installed in the electronic equipment
The second antenna element of Shi Zhanyong or the first antenna unit, second application occupy third antenna unit or described when running
First antenna unit, performance of the performance better than second antenna element of the first antenna unit and the third antenna
The performance of unit, which comprises
Judge whether first application and second application are all running, obtains the first judging result;
Judge whether first application meets preset condition with second application, obtains the second judging result;
First judging result indicates first application and second application all at runtime, and when second judgement
As a result indicate that described first applies with described second using the preset condition is met, according to described in the determination of preset priority
The priority level of first application is higher than second application;
It controls first application and occupies the first antenna unit, and control second application and occupy the third antenna list
Member.
2. the method according to claim 1, wherein the judgement first application is with second application
No to meet preset condition, obtaining the second judging result includes:
Judge whether the first corresponding frequency of use of application and the difference of the corresponding frequency of use of second application are less than
Preset value, if it is less, the second judging result indicates that first application meets preset condition with the second application.
3. the method according to claim 1, wherein described determine that first application is with second application
It is no to meet preset condition, obtain the second judging result, comprising:
Judge whether signal interference occur in first application or the second application operational process, if it is, second sentences
Disconnected result indicates that first application meets preset condition with the second application;
Wherein, judge whether first application signal interference occurs, specifically include:
Judge whether the bit error rate for the signal that first application receives is greater than preset bit error rate threshold, if it is satisfied, sentencing
There is signal interference in first application of breaking;
Or
Whether the signal strength for judging that first application receives meets less than preset strength threshold value, if it is satisfied, judging institute
It states the first application and signal interference occurs.
4. the method according to claim 1, wherein when second application occupies the first antenna unit
When, control first application occupies the first antenna unit, and controls second application and occupy the third day
Line unit includes:
By preset first RF switch, the signal output module of the connect with the first antenna unit second application is cut
It is changed to the signal output module of the first application;
By preset second RF switch, the signal output module that described second is applied and the third antenna unit connect
It connects.
5. the method according to claim 1, wherein when described second using the vacant first antenna unit
When, control first application occupies the first antenna unit, and controls second application and occupy the third day
Line unit includes:
By preset first RF switch, the signal output module that the first antenna unit and first are applied is connected;
The signal output module of second application is maintained to connect with the third antenna unit.
6. a kind of electronic equipment, which is characterized in that first antenna unit is provided in the first area of the electronic equipment, it is described
First application and the second application are at least installed, first application occupies the second antenna element or institute when running in electronic equipment
First antenna unit is stated, occupancy third antenna unit or the first antenna unit when second application is run, described first
The performance of antenna element is better than the performance of second antenna element and the performance of the third antenna unit, comprising:
First judgment module obtains the first judgement for judging whether first application and second application are all running
As a result;
Second judgment module obtains second for judging whether first application meets preset condition with second application
Judging result;
Priority confirmation module indicates that first application and second application are all being transported for first judging result
Row, and when second judging result indicates that first application meets the preset condition with second application, foundation
Preset priority determines that the priority level of first application is higher than second application;
Control module occupies the first antenna unit for controlling first application, and controls second application and occupy
The third antenna unit.
7. electronic equipment according to claim 6, which is characterized in that second judgment module includes:
First judging unit, for judging that the first corresponding frequency of use of application and second application are corresponding using frequency
Whether the difference of rate is less than preset value, if it is less, the second judging result indicates that first application meets with the second application
Preset condition.
8. electronic equipment according to claim 6, which is characterized in that second judgment module includes:
Second judgment unit, for judging that signal whether occur in first application or the second application operational process does
It disturbs, if it is, the second judging result indicates that first application meets preset condition with the second application;
Wherein, the second judgment unit judges whether first application interference occurs and specifically include:
Judge whether the bit error rate for the signal that first application receives is greater than preset bit error rate threshold, if it is satisfied, sentencing
There is signal interference in first application of breaking;
Or
Whether the signal strength for judging that first application receives meets less than preset strength threshold value, if it is satisfied, judging institute
It states the first application and signal interference occurs.
9. electronic equipment according to claim 6, which is characterized in that the control module include: first control unit and
Second control unit;
When second application occupies the first antenna unit, the first control unit, for passing through preset first
The second application switching connecting with the first antenna cell signal is the first application by RF switch;Second control is single
Member, for by preset second RF switch, second application to be connected with the third antenna cell signal;
When the vacant first antenna unit of the second application, first control unit, for being penetrated by preset first
Frequency switchs, and the first antenna unit and the first application signal are connected;Second control unit, for maintaining second application
It is connected with the third antenna cell signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410458952.8A CN105472755B (en) | 2014-09-10 | 2014-09-10 | A kind of antenna assignment method, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410458952.8A CN105472755B (en) | 2014-09-10 | 2014-09-10 | A kind of antenna assignment method, device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105472755A CN105472755A (en) | 2016-04-06 |
CN105472755B true CN105472755B (en) | 2019-02-05 |
Family
ID=55609900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410458952.8A Active CN105472755B (en) | 2014-09-10 | 2014-09-10 | A kind of antenna assignment method, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472755B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106211276A (en) * | 2016-06-27 | 2016-12-07 | 联想(北京)有限公司 | A kind of control method and device |
CN108462522B (en) * | 2018-03-13 | 2022-01-07 | Oppo广东移动通信有限公司 | Antenna control method, antenna assembly, electronic device and storage medium |
CN108696308A (en) * | 2018-05-16 | 2018-10-23 | Oppo广东移动通信有限公司 | Antenna switching control method and related product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101779382A (en) * | 2007-08-07 | 2010-07-14 | 英特尔公司 | Method and apparatus for antenna allocation on a multi-radio platform |
CN102137456A (en) * | 2010-01-22 | 2011-07-27 | 中兴通讯股份有限公司 | Handover access method and system for multi-antenna terminal |
CN201985252U (en) * | 2010-11-19 | 2011-09-21 | 丁志刚 | Antenna combined system |
CN102860061A (en) * | 2010-04-30 | 2013-01-02 | 株式会社Ntt都科摩 | Data transmitting method, base station apparatus and mobile station apparatus |
CN102883006A (en) * | 2012-09-26 | 2013-01-16 | 中兴通讯股份有限公司 | Mobile terminal and communication method thereof |
-
2014
- 2014-09-10 CN CN201410458952.8A patent/CN105472755B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101779382A (en) * | 2007-08-07 | 2010-07-14 | 英特尔公司 | Method and apparatus for antenna allocation on a multi-radio platform |
CN102137456A (en) * | 2010-01-22 | 2011-07-27 | 中兴通讯股份有限公司 | Handover access method and system for multi-antenna terminal |
CN102860061A (en) * | 2010-04-30 | 2013-01-02 | 株式会社Ntt都科摩 | Data transmitting method, base station apparatus and mobile station apparatus |
CN201985252U (en) * | 2010-11-19 | 2011-09-21 | 丁志刚 | Antenna combined system |
CN102883006A (en) * | 2012-09-26 | 2013-01-16 | 中兴通讯股份有限公司 | Mobile terminal and communication method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105472755A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
MX2010006191A (en) | User equipment capability update in wireless communications. | |
CN105357757A (en) | Communication resource allocation method and device | |
KR20110045078A (en) | Relay station and base station | |
TW201543935A (en) | Base station, device to device user equipment, transmission method, report method and resource adjustment method for wireless communication system | |
CN110958692B (en) | Method for selecting and configuring sidelink transmission resources and equipment | |
RU2675621C2 (en) | Fast handover transmission method, fast handover transmission device, service base station and terminal | |
CN109302744B (en) | Information transmission method, terminal equipment and network equipment | |
CN105472755B (en) | A kind of antenna assignment method, device and electronic equipment | |
US9942782B2 (en) | Method and apparatus for supporting mobile station disconnected from a base station in wireless communication system | |
JP2022539471A (en) | BWP switching instruction method, device and storage medium on unlicensed spectrum | |
US10892872B2 (en) | Method, system and device for determining reference subframe | |
CN104901716B (en) | A kind of mobile terminal and method that end to end communication can be carried out under the conditions of off-grid | |
CN107484214B (en) | Internet of things access point frequency point selection method and device | |
JP2014082730A (en) | Wireless communication system | |
US20140018121A1 (en) | Apparatus and method for selecting d2d communication mode depending on signal interference | |
US9326197B2 (en) | Base station | |
CN108886460B (en) | Indication method, device, terminal, base station and storage medium of control signaling | |
CN103379496A (en) | Method, system and device for controlling work condition of small base station | |
JP2012134887A (en) | Radio communication system, timing generation device, and radio communication method | |
CN103095424B (en) | A kind of control signal transmission method, base station, terminal and system | |
CN110169004B (en) | Resource indication method and device | |
CN116584117A (en) | Enabling sense-based side link communication | |
JP2007274273A (en) | Radio communication system | |
CN104301952B (en) | A kind of switching method and base station | |
JPWO2016174914A1 (en) | Wireless communication system and wireless communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |