CN109739300A - A kind of method of controlling antenna and terminal - Google Patents

A kind of method of controlling antenna and terminal Download PDF

Info

Publication number
CN109739300A
CN109739300A CN201811588577.3A CN201811588577A CN109739300A CN 109739300 A CN109739300 A CN 109739300A CN 201811588577 A CN201811588577 A CN 201811588577A CN 109739300 A CN109739300 A CN 109739300A
Authority
CN
China
Prior art keywords
display screen
terminal
antenna
screen
user
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.)
Granted
Application number
CN201811588577.3A
Other languages
Chinese (zh)
Other versions
CN109739300B (en
Inventor
杨勇华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811588577.3A priority Critical patent/CN109739300B/en
Publication of CN109739300A publication Critical patent/CN109739300A/en
Application granted granted Critical
Publication of CN109739300B publication Critical patent/CN109739300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

It includes the first display screen and second display screen being oppositely arranged that the present invention, which provides a kind of method of controlling antenna and terminal, terminal, and the fringe region of the terminal is provided with mutiple antennas;Screen use state that wherein method comprises determining that the terminal and user are to the holding mode of the terminal;Signal is received and/or sent by the work antenna.In the embodiment of the present invention, mutiple antennas is set in the fringe region of terminal, to select work antenna from the mutiple antennas of terminal to the holding mode of the terminal, and with this by the screen use state and user that determine terminal.In this way, terminal may be selected and current screen use state and the matched Antenna Operation of holding mode, dramatically reduce terminal antenna is disturbed degree, ensure that the signal transmitting and receiving function of terminal.

Description

A kind of method of controlling antenna and terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of method of controlling antenna and terminals.
Background technique
With the development of communication technology, the function of terminal is also stronger and stronger, and terminal requires antenna performance also higher.It is existing Some terminals include multiple mould groups that can mutually fold, and are provided with antenna in multiple mould groups to meet signal transmitting and receiving requirement.Eventually When in use, the aerial signal of some antennas is easy the interference by other antennas or device at end, influences normal signal transmitting and receiving Function.
As it can be seen that existing terminal there is technical issues that aerial signal is easy to be disturbed to influence terminal.
Summary of the invention
The embodiment of the present invention provides a kind of method of controlling antenna and terminal, with solve to be easy to be disturbed due to aerial signal from And the technical issues of influencing terminal receiving and transmitting signal.
In order to achieve the above object, concrete scheme provided by the invention is as follows:
In a first aspect, being applied to terminal, the terminal includes phase the embodiment of the invention provides a kind of method of controlling antenna To the first display screen and second display screen of setting, the fringe region of the terminal is provided with mutiple antennas;The described method includes:
The screen use state for determining the terminal and user are to the holding mode of the terminal;
According at least to the screen use state and the holding mode, work antenna is selected from the multiple antenna.
Second aspect, the embodiment of the invention provides a kind of terminal, the terminal includes the first display screen being oppositely arranged And second display screen, the fringe region of the terminal are provided with mutiple antennas;The terminal further include:
Determining module, the screen use state and user for determining the terminal are to the holding mode of the terminal;
Selecting module, for being selected from the multiple antenna according to the screen use state and the holding mode Work antenna.
The third aspect, the embodiment of the invention provides a kind of terminals, comprising: memory, processor and is stored in described deposit On reservoir and the computer program that can run on the processor;The processor is realized such as when executing the computer program Method of controlling antenna described in first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage It is stored with computer program on medium, day line traffic control as described in relation to the first aspect is realized when the computer sequence is executed by processor The step of method.
In the embodiment of the present invention, mutiple antennas is set in the fringe region of terminal, by determining that the screen of terminal uses shape State and user to select work antenna from the mutiple antennas of terminal to the holding mode of the terminal with this.In this way, terminal I.e. optional and current screen use state and the matched Antenna Operation of holding mode, dramatically reduce terminal antenna Be disturbed degree, ensure that the signal transmitting and receiving function of terminal.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow diagram of method of controlling antenna provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of terminal applied by method of controlling antenna provided in an embodiment of the present invention;
Fig. 3 is another structural schematic diagram of terminal applied by method of controlling antenna provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another terminal provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of method of controlling antenna provided in an embodiment of the present invention, provided Method of controlling antenna is applied to terminal.As shown in Fig. 2, terminal 200 may include the first display screen 201 and second being oppositely arranged Display screen 202, the fringe region of terminal 200 are provided with mutiple antennas 203.As shown in Figure 1, day provided by the embodiment of the present invention Line control method the following steps are included:
The holding mode of step 101, the screen use state for determining terminal and user to terminal;
In the embodiment of the present invention, terminal includes the first display screen and second display screen, the first display screen and second display screen It is respectively arranged on two end faces of the terminal.The screen use state of terminal may include: that two display screens are in and go out Screen state, the first display screen and/or second display screen are in use state.It determines the screen use state of terminal, as determines Which display screen what the terminal was currently mainly run is, and then can know which the antenna for mainly using or being blocked is. Specifically, terminal can acquire the operating parameter of the first display screen and second display screen, such as running current, application program make With parameter etc., the screen use state of the terminal is determined with this.
Furthermore, it is contemplated that user also results in the letter of some antennas to the holding mode of terminal in addition to screen use state It number is blocked, influences the transmission-receiving function of aerial signal.The present embodiment can also acquire user to the holding mode of the terminal.Specifically , user may include: left-handed state, right hand grip state, left head hand grip state, right head to the grip state of terminal Hand grip state etc..Wherein, left-handed state, as the left-handed terminal of user, so that the screen that user is currently used Towards user.Right hand grip state, the as right hand of user hold terminal.Left head hand grip state, as user's left-handed Terminal, and the right side of terminal is close to user's head.Right head hand grip state, as user's right hand hold terminal, and a left side for terminal Side is close to user's head.
Step 102, according to screen use state and holding mode, work antenna is selected from mutiple antennas;
Step 103 is received and/or is sent signal by work antenna.
After determining screen use state and the holding mode of terminal according to above-mentioned steps, can according to screen use state and Holding mode, to select matched antenna, as work antenna.Selected work antenna reception and/or receiving and transmitting signal are controlled, It can guarantee under current state, the work antenna of terminal, which is disturbed degree, can satisfy communicating requirement, guarantee that terminal is normal Signal transmitting and receiving function.
When it is implemented, at least two antenna modes can be preset, every kind of antenna mode can correspond to a kind of screen Use state.Terminal first can select corresponding antenna mode according to screen use state, then under the antenna mode, selection With the matched antenna of holding mode as work antenna.Certainly, in other embodiments, terminal can also be preset at least Two groups of work antenna sets, every group of work antenna set can correspond to a kind of screen use state and a kind of holding mode.Then After determining screen use state and grip state, corresponding work antenna set is directly selected as work antenna at this time.
The method of controlling antenna that the embodiments of the present invention provide is arranged mutiple antennas in the fringe region of terminal, passes through The screen use state for determining terminal and user successively carry out the mutiple antennas from the terminal to the holding mode of the terminal Middle selection work antenna.It is matched in this way, terminal is i.e. controllable with current screen use state and holding mode, that is, is disturbed journey Lesser Antenna Operation is spent, dramatically reduce terminal antenna is disturbed degree, ensure that the signal transmitting and receiving function of terminal Energy.
In a specific embodiment, described in step 102, according to the screen use state and the gripping side Formula selects work antenna from the multiple antenna, may include:
If first display screen is towards user, and user is using terminal described in left-handed, then from except first antenna and/ Or work antenna is selected in second other antennas except antenna, the first antenna is located at the lower-left of first display screen Side, second antenna are located at the upper right side of first display screen;
If first display screen is towards user, and user holds the terminal using the right hand, then from except third antenna and/ Or work antenna is selected in the 4th other antennas except antenna, the third antenna is located at the bottom right of first display screen Side, the 4th antenna are located at the upper left side of first display screen;
If the second display screen is towards user, and user is using terminal described in left-handed, then from except the 5th antenna and/ Or work antenna is selected in the 6th other antennas except antenna, the 5th antenna is located at the lower-left of the second display screen Side, the 6th antenna are located at the upper right side of the second display screen;
If the second display screen is towards user, and user holds the terminal using the right hand, then from except the 7th antenna and/ Or work antenna is selected in the 8th other antennas except antenna, the 7th antenna is located at the bottom right of the second display screen Side, the 8th antenna are located at the upper left side of the second display screen.
In present embodiment, in conjunction with screen use state and holding mode, the scheme of selecting of work antenna has been done into one Walk explanation.As shown in figure 3, being provided with the first antenna 301 positioned at lower left on the first display screen of terminal, positioned at upper right side Second antenna 302, positioned at lower right third antenna 303 and be located at upper left 4th antenna 304, the second display screen of terminal On be provided with the 5th antenna (not shown) positioned at lower left, the 6th antenna positioned at upper right side, positioned at the of lower right Seven antennas and be located at upper left 8th antenna.
First, the first display screen is towards user, and user's left-handed terminal, at this point, the of the first display screen lower left The signal of one antenna and second antenna in upper right side is blocked, therefore, can be from other than first antenna and the second antenna Work antenna is selected in other antennas.
Second, the first display screen is towards user, and user's right hand holds terminal, at this point, the of the first display screen lower right The signal of triantennary and upper left 4th antenna is blocked, therefore, can be from other than third antenna and the 4th antenna Work antenna is selected in other antennas.
Third, second display screen is towards user, and user's left-handed terminal, at this point, the of second display screen lower left The signal of five antennas and the 6th antenna in upper right side is blocked, therefore, can be from other than the 5th antenna and the 6th antenna Work antenna is selected in other antennas.
4th, second display screen is towards user, and user's right hand holds terminal, at this point, the of second display screen lower right The signal of seven antennas and upper left 8th antenna is blocked, therefore, can be from other than the 7th antenna and the 8th antenna Work antenna is selected in other antennas.
It should be noted that in view of the working condition of the antenna of access areas on the first display screen and second display screen Relatively, therefore, an antenna can also be only arranged in region close on the first display screen and second display screen.For example, The bottom-left quadrant of first display screen and the lower right region of second display screen are arranged an antenna, i.e. first antenna and the 7th day Line is the same antenna.So similarly, the second antenna and be the same antenna with the 8th antenna, third antenna and the 5th antenna are same Antenna, the 4th antenna and the 6th antenna are the same antenna.In addition, above-mentioned first antenna is into the 8th antenna, each antenna Also it may refer to the multiple or multiple groups antenna being located in corresponding region, be not construed as limiting.
In addition, can carry out antenna in present embodiment by a double-pole four throw switch and switch two-by-two, according to reference to letter Number receive power (Reference Signal Receiving Power, abbreviation RSRP) and received signal strength indicator (Received Signal Strength Indication, abbreviation RSSI) is compared, and selects two property performances preferably day Line is as work antenna.
The method of controlling antenna that embodiment of the present invention provides, according to the screen use state and holding mode of antenna, tool Body limits the selection scheme of work antenna, further improves the Stability and veracity that work antenna is selected.The four of terminal A corner areas is respectively provided at least one antenna, selects the antenna of adaptation as work antenna according to different holding scenes, keeps away Antenna performance blind spot is exempted from.
There are many modes for determining the screen use state of terminal, illustrates below in conjunction with two embodiments.
In a specific embodiment, described in step 101, the step of determining the screen use state of the terminal, May include:
Obtain the running current of first display screen and the second display screen;
According to the running current, the screen use state of the terminal is determined.
In present embodiment, screen operating status is determined using the running current of two display screens.It can be aobvious first Increase current detector, current value of the terminal according to current detector acquisition, to obtain at the power supply of display screen and second display screen The running current of first display screen and second display screen, in conjunction with preset algorithm, to determine the screen use state of terminal.
Specifically, according to the running current, the step of determining the screen use state of the terminal, may include:
If the running current of first display screen is greater than the running current of the second display screen, it is determined that described first Display screen is towards user;
If the running current of first display screen is less than the running current of the second display screen, it is determined that described second Display screen is towards user.
If the running current of the first display screen is greater than the running current of second display screen, screen use state can be determined To use the first display screen, that is, determine the first display screen towards user.If the running current of the first display screen is less than the second display The running current of screen can then determine that screen use state is to determine second display screen towards user using second display screen. If the running current of the first display screen is equal to the running current of second display screen, it can determine that screen use state is first aobvious Display screen and second display screen are not used or are in use state.
Furthermore, it is contemplated that two display screens of terminal may be divided into a main screen and a vice screen, the main screen can be Main display screen to be used, the display screen that vice screen can be relatively low for frequency of use.For example, based on the first display screen of setting Screen, second display screen is vice screen.It is possible to the first display screen running current be equal to second display screen running current When, determine that screen use state is using the first display screen, then the state according to this using the first display screen selects pair again The work antenna answered.
In another embodiment specific implementation mode, the step of screen use state of the determination terminal may include:
Obtain the display state of first display screen and the second display screen;
According to the display state, the screen use state of the terminal is determined.
In present embodiment, it is contemplated that if display screen is in use state, which can be in display state, display Application Program Interface or other information.If display screen is not in use state, which will not show application program circle Face or other information.
Further, described according to the display state, it the step of determining the screen use state of the terminal, can wrap It includes:
If first display screen shows Application Program Interface, and the second display screen does not show Application Program Interface, Then determine first display screen towards user;
If the second display screen shows Application Program Interface, and first display screen does not show Application Program Interface, Then determine the second display screen towards user;
If first display screen shows the interface of the first application program, and the second display screen shows that second applies journey The interface of sequence then obtains the priority level of first application program and the second application program, if the priority level of the first program Higher than the priority level of the second application program, it is determined that first display screen is towards user;If the priority level of the first program Lower than the priority level of the second application program, it is determined that the second display screen is towards user.
In present embodiment, the state of application program is shown according to display screen to determine screen use state.Display is answered Use unique display screen of program interface as the display screen for the state that is used, or by two in display Application Program Interface Display screen in, display screen of the higher display screen of the priority level of the application program of display as the state that is used.Certainly, In other embodiments, it can also be integrated and be determined in use state according to the type and quantity of shown application program Display screen, be not construed as limiting.
In present embodiment, the application program to run in terminal configures different priority levels, which can be with It is determined according to the use demand of user or to the degree of dependence power of antenna receiving and transmitting signal.For example, can be by instant messaging The priority level of the application programs of types such as program, game class method is set as high priority, by picture processing program, file pipe The priority level of the application programs of types such as reason program is set as low priority.Certainly, only exemplary illustration here, does not limit It is fixed.
Terminal is after application program configures different priority levels, if monitoring, the first display screen and second display screen are transported Row has application program, then screen use state can be determined according to the priority level of application program.Specifically, can be by two Operation has the application program of high priority, or the display that the number of applications of the high priority of operation is more on display screen Screen is as main display screen to be used.
It should be noted that the above-mentioned side for determining screen use state according to the operating status of the application program of display screen Case can not have to limit display screen in go out screen state or bright screen state, to guarantee to can guarantee under screen state of going out yet The signal transmitting and receiving function of related application.
The method of controlling antenna that aforementioned present invention real mode provides, passes through the running current and/or application program of display screen Operating status determine the screen use state of terminal, and then select matched work antenna in conjunction with screen use state, The aerial signal for having advanced optimized terminal selects scheme.
In another embodiment specific implementation mode, the screen use state of the determination terminal and user are to the terminal Holding mode the step of before, the method can also include:
Judge whether the terminal is in screen state of going out;
If the terminal is in screen state of going out, work antenna is selected from whole antennas of the terminal;
The screen use state for determining the terminal described in step 102 and user are to the holding mode of the terminal Step, comprising:
If the terminal is in bright screen state, it is determined that the screen use state of the terminal and user are to the terminal Holding mode.
In present embodiment, it is in and goes out the case where shielding state for terminal, directly select the selected section from whole antennas Antenna is as work antenna, for example, selecting with the matched antenna of main screen as work antenna.And again according to upper under bright screen state It states embodiment and selects work antenna according to screen use state and holding mode.In this way, under screen state of going out there is no need into Row screen use state and holding mode select the operation of work antenna, effectively simplify the antenna under shielding that goes out and select scheme, subtract The calculation amount of few terminal.
In addition, the antenna under the grip state that above embodiment is related to selects scheme, the hand of user also can be applied to The scene of alternate grip, or the scenes such as make a phone call are clipped on left or right neck, it is not construed as limiting.
It referring to fig. 4, is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.Such as Fig. 2, the terminal 400 is wrapped The first display screen and second display screen being oppositely arranged are included, the fringe region of the terminal is provided with mutiple antennas;Such as Fig. 4 institute Show, the terminal further include:
Determining module 401, the screen use state and user for determining the terminal are to the holding mode of the terminal;
Selecting module 402, for being selected from the multiple antenna according to the screen use state and the holding mode Select work antenna;
Transceiver module 403, for signal to be received and/or sent by the work antenna.
Optionally, the selecting module 402 is used for:
If first display screen is towards user, and user is using terminal described in left-handed, then from except first antenna and/ Or work antenna is selected in second other antennas except antenna, the first antenna is located at the lower-left of first display screen Side, second antenna are located at the upper right side of first display screen;
If first display screen is towards user, and user holds the terminal using the right hand, then from except third antenna and/ Or work antenna is selected in the 4th other antennas except antenna, the third antenna is located at the bottom right of first display screen Side, the 4th antenna are located at the upper left side of first display screen;
If the second display screen is towards user, and user is using terminal described in left-handed, then from except the 5th antenna and/ Or work antenna is selected in the 6th other antennas except antenna, the 5th antenna is located at the lower-left of the second display screen Side, the 6th antenna are located at the upper right side of the second display screen;
If the second display screen is towards user, and user holds the terminal using the right hand, then from except the 7th antenna and/ Or work antenna is selected in the 8th other antennas except antenna, the 7th antenna is located at the bottom right of the second display screen Side, the 8th antenna are located at the upper left side of the second display screen.
Optionally, the determining module 401 is used for:
Obtain the running current of first display screen and the second display screen;
According to the running current, the screen use state of the terminal is determined.
Optionally, the determining module 401 is used for:
If the running current of first display screen is greater than the running current of the second display screen, it is determined that described first Display screen is towards user;
If the running current of first display screen is less than the running current of the second display screen, it is determined that described second Display screen is towards user.
Optionally, the determining module 401 is used for:
Obtain the display state of first display screen and the second display screen;
According to the display state, the screen use state of the terminal is determined.
Optionally, the determining module 401 is used for:
If first display screen shows Application Program Interface, and the second display screen does not show Application Program Interface, Then determine first display screen towards user;
If the second display screen shows Application Program Interface, and first display screen does not show Application Program Interface, Then determine the second display screen towards user;
If first display screen shows the interface of the first application program, and the second display screen shows that second applies journey The interface of sequence then obtains the priority level of first application program and the second application program, if the priority level of the first program Higher than the priority level of the second application program, it is determined that first display screen is towards user;If the priority level of the first program Lower than the priority level of the second application program, it is determined that the second display screen is towards user.
Optionally, as shown in figure 5, the terminal 400 further include:
Judgment module 404, for judging whether the terminal is in screen state of going out;
If the terminal is in screen state of going out, work antenna is selected from whole antennas of the terminal;
If the terminal is in bright screen state, it is determined that the screen use state of the terminal and user are to the terminal Holding mode.
Mutiple antennas is arranged in the fringe region of terminal, by the screen for determining terminal in terminal provided in an embodiment of the present invention Curtain use state and user to select work antenna from the mutiple antennas of terminal to the holding mode of the terminal, and with this. In this way, terminal may be selected and current screen use state and the matched Antenna Operation of holding mode, dramatically reduce Terminal antenna is disturbed degree, ensure that the signal transmitting and receiving function of terminal.The specific implementation of terminal provided in this embodiment Process may refer to the specific implementation process for the method for controlling antenna that above-mentioned embodiment shown in FIG. 1 provides, herein no longer one by one It repeats.
Referring to Fig. 6, for another embodiment of the present invention provides terminal structural schematic diagram, terminal includes the be oppositely arranged The fringe region of one display screen and second display screen, the terminal is provided with mutiple antennas.As shown in fig. 6, the terminal 600 may be used also With include but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, The portions such as display unit 606, user input unit 607, interface unit 608, memory 609, processor 610 and power supply 611 Part.It will be understood by those skilled in the art that the restriction of terminal structure shown in Fig. 6 not structure paired terminal, terminal can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.In the embodiment of the present invention In, terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and Pedometer etc..
Wherein, processor 610 can be used for:
The screen use state for determining the terminal and user are to the holding mode of the terminal;
According to the screen use state and the holding mode, work antenna is selected from the multiple antenna;
Signal is received and/or sent by the work antenna.
Optionally, the processor 610 can be also used for:
If first display screen is towards user, and user is using terminal described in left-handed, then from except first antenna and/ Or work antenna is selected in second other antennas except antenna, the first antenna is located at the lower-left of first display screen Side, second antenna are located at the upper right side of first display screen;
If first display screen is towards user, and user holds the terminal using the right hand, then from except third antenna and/ Or work antenna is selected in the 4th other antennas except antenna, the third antenna is located at the bottom right of first display screen Side, the 4th antenna are located at the upper left side of first display screen;
If the second display screen is towards user, and user is using terminal described in left-handed, then from except the 5th antenna and/ Or work antenna is selected in the 6th other antennas except antenna, the 5th antenna is located at the lower-left of the second display screen Side, the 6th antenna are located at the upper right side of the second display screen;
If the second display screen is towards user, and user holds the terminal using the right hand, then from except the 7th antenna and/ Or work antenna is selected in the 8th other antennas except antenna, the 7th antenna is located at the bottom right of the second display screen Side, the 8th antenna are located at the upper left side of the second display screen.
Optionally, the processor 610 can be also used for:
Obtain the running current of first display screen and the second display screen;
According to the running current, the screen use state of the terminal is determined.
Optionally, the processor 610 can be also used for:
If the running current of first display screen is greater than the running current of the second display screen, it is determined that described first Display screen is towards user;
If the running current of first display screen is less than the running current of the second display screen, it is determined that described second Display screen is towards user.
Optionally, the processor 610 can be also used for:
Obtain the display state of first display screen and the second display screen;
According to the display state, the screen use state of the terminal is determined.
Optionally, the processor 610 can be also used for:
If first display screen shows Application Program Interface, and the second display screen does not show Application Program Interface, Then determine first display screen towards user;
If the second display screen shows Application Program Interface, and first display screen does not show Application Program Interface, Then determine the second display screen towards user;
If first display screen shows the interface of the first application program, and the second display screen shows that second applies journey The interface of sequence then obtains the priority level of first application program and the second application program, if the priority level of the first program Higher than the priority level of the second application program, it is determined that first display screen is towards user;If the priority level of the first program Lower than the priority level of the second application program, it is determined that the second display screen is towards user.
Optionally, the processor 610 can be also used for:
Judge whether the terminal is in screen state of going out;
If the terminal is in screen state of going out, work antenna is selected from whole antennas of the terminal;
If the terminal is in bright screen state, it is determined that the screen use state of the terminal and user are to the terminal Holding mode.
Terminal 600 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating It states.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 610 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set Standby communication.
Terminal provides wireless broadband internet by network module 602 for user and accesses, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 603 can be received by radio frequency unit 601 or network module 602 or in memory 609 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 603 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 600 executes.Sound Frequency output unit 603 includes loudspeaker, buzzer and receiver etc..
Input unit 604 is for receiving audio or video signal.Input unit 604 may include graphics processor (Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can be deposited Storage is sent in memory 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.Mike Wind 6042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 601 is converted in the case where telephone calling model.
Terminal 600 further includes at least one sensor 605, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 6061, and proximity sensor can close display panel when terminal 600 is moved in one's ear 6061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 605 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 606 is for showing information input by user or being supplied to the information of user.Display unit 606 can wrap Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 6061.
User input unit 607 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 607 include touch panel 6071 and other Input equipment 6072.Touch panel 6071, also referred to as touch screen, collect user on it or nearby touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 6071 or near touch panel 6071 Operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receives processor 610 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include other input equipments 6072. Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 6071 can be covered on display panel 6061, when touch panel 6071 is detected at it On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touching The type for touching event provides corresponding visual output on display panel 6061.Although in Fig. 6, touch panel 6071 and display Panel 6061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of terminal is realized so that touch panel 6071 and display panel 6061 is integrated, is not limited herein specifically It is fixed.
Interface unit 608 is the interface that external device (ED) is connect with terminal 600.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 600 or can be used for terminal 600 and external device (ED) it Between transmit data.
Memory 609 can be used for storing software program and various data.Memory 609 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 609 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 610 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 609, and call and be stored in memory 609 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 610 may include one Or multiple processing units;Preferably, processor 610 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 610.
Terminal 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611 can be with It is logically contiguous by power-supply management system and processor 610, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 600 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 610, and memory 609 is stored in storage It is real when which is executed by processor 610 on device 609 and the computer program that can be run on the processor 610 Each process of existing above-mentioned method of controlling antenna embodiment, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned method of controlling antenna embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (16)

1. a kind of method of controlling antenna, which is characterized in that be applied to terminal, the terminal includes the first display screen being oppositely arranged And second display screen, the fringe region of the terminal are provided with mutiple antennas;The described method includes:
The screen use state for determining the terminal and user are to the holding mode of the terminal;
According to the screen use state and the holding mode, work antenna is selected from the multiple antenna;
Signal is received and/or sent by the work antenna.
2. the method according to claim 1, wherein described according to the screen use state and the gripping side Formula, from the multiple antenna the step of selection work antenna, comprising:
If first display screen is towards user, and user is using terminal described in left-handed, then from except first antenna and/or the Work antenna is selected in other antennas except two antennas, the first antenna is located at the lower left of first display screen, institute State the upper right side that the second antenna is located at first display screen;
If first display screen is towards user, and user holds the terminal using the right hand, then from except third antenna and/or the Work antenna is selected in other antennas except four antennas, the third antenna is located at the lower right of first display screen, institute State the upper left side that the 4th antenna is located at first display screen;
If the second display screen is towards user, and user is using terminal described in left-handed, then from except the 5th antenna and/or the Work antenna is selected in other antennas except six antennas, the 5th antenna is located at the lower left of the second display screen, institute State the upper right side that the 6th antenna is located at the second display screen;
If the second display screen is towards user, and user holds the terminal using the right hand, then from except the 7th antenna and/or the Work antenna is selected in other antennas except eight antennas, the 7th antenna is located at the lower right of the second display screen, institute State the upper left side that the 8th antenna is located at the second display screen.
3. the method according to claim 1, wherein the step of the screen use state of the determination terminal Suddenly, comprising:
Obtain the running current of first display screen and the second display screen;
According to the running current, the screen use state of the terminal is determined.
4. according to the method described in claim 3, determining the terminal it is characterized in that, described according to the running current The step of screen use state, comprising:
If the running current of first display screen is greater than the running current of the second display screen, it is determined that first display Shield towards user;
If the running current of first display screen is less than the running current of the second display screen, it is determined that second display Shield towards user.
5. the method according to claim 1, wherein the step of the screen use state of the determination terminal Suddenly, comprising:
Obtain the display state of first display screen and the second display screen;
According to the display state, the screen use state of the terminal is determined.
6. according to the method described in claim 5, determining the terminal it is characterized in that, described according to the display state The step of screen use state, comprising:
If first display screen shows Application Program Interface, and the second display screen does not show Application Program Interface, then really First display screen is determined towards user;
If the second display screen shows Application Program Interface, and first display screen does not show Application Program Interface, then really The second display screen is determined towards user;
If first display screen shows the interface of the first application program, and the second display screen shows the second application program Interface then obtains the priority level of first application program and the second application program, if the priority level of the first program is higher than The priority level of second application program, it is determined that first display screen is towards user;If the priority level of the first program is lower than The priority level of second application program, it is determined that the second display screen is towards user.
7. the method according to claim 1, wherein screen use state and the user of the determination terminal Before the step of to the holding mode of the terminal, the method also includes:
Judge whether the terminal is in screen state of going out;
If the terminal is in screen state of going out, work antenna is selected from whole antennas of the terminal;
The step of screen use state of the determination terminal and user are to the holding mode of the terminal, comprising:
If the terminal is in bright screen state, it is determined that gripping of the screen use state and user of the terminal to the terminal Mode.
8. a kind of terminal, which is characterized in that the terminal includes the first display screen and second display screen being oppositely arranged, the end Mutiple antennas is arranged in the fringe region at end;The terminal further include:
Determining module, the screen use state and user for determining the terminal are to the holding mode of the terminal;
Selecting module, for selecting work from the multiple antenna according to the screen use state and the holding mode Antenna;
Transceiver module, for signal to be received and/or sent by the work antenna.
9. terminal according to claim 8, which is characterized in that the selecting module is used for:
If first display screen is towards user, and user is using terminal described in left-handed, then from except first antenna and/or the Work antenna is selected in other antennas except two antennas, the first antenna is located at the lower left of first display screen, institute State the upper right side that the second antenna is located at first display screen;
If first display screen is towards user, and user holds the terminal using the right hand, then from except third antenna and/or the Work antenna is selected in other antennas except four antennas, the third antenna is located at the lower right of first display screen, institute State the upper left side that the 4th antenna is located at first display screen;
If the second display screen is towards user, and user is using terminal described in left-handed, then from except the 5th antenna and/or the Work antenna is selected in other antennas except six antennas, the 5th antenna is located at the lower left of the second display screen, institute State the upper right side that the 6th antenna is located at the second display screen;
If the second display screen is towards user, and user holds the terminal using the right hand, then from except the 7th antenna and/or the Work antenna is selected in other antennas except eight antennas, the 7th antenna is located at the lower right of the second display screen, institute State the upper left side that the 8th antenna is located at the second display screen.
10. terminal according to claim 8, which is characterized in that the determining module is used for:
Obtain the running current of first display screen and the second display screen;
According to the running current, the screen use state of the terminal is determined.
11. terminal according to claim 10, which is characterized in that the determining module is used for:
If the running current of first display screen is greater than the running current of the second display screen, it is determined that first display Shield towards user;
If the running current of first display screen is less than the running current of the second display screen, it is determined that second display Shield towards user.
12. terminal according to claim 8, which is characterized in that the determining module is used for:
Obtain the display state of first display screen and the second display screen;
According to the display state, the screen use state of the terminal is determined.
13. terminal according to claim 12, which is characterized in that the determining module is used for:
If first display screen shows Application Program Interface, and the second display screen does not show Application Program Interface, then really First display screen is determined towards user;
If the second display screen shows Application Program Interface, and first display screen does not show Application Program Interface, then really The second display screen is determined towards user;
If first display screen shows the interface of the first application program, and the second display screen shows the second application program Interface then obtains the priority level of first application program and the second application program, if the priority level of the first program is higher than The priority level of second application program, it is determined that first display screen is towards user;If the priority level of the first program is lower than The priority level of second application program, it is determined that the second display screen is towards user.
14. terminal according to claim 8, which is characterized in that the terminal further include:
Judgment module, for judging whether the terminal is in screen state of going out;
The determining module is used for:
If the terminal is in screen state of going out, work antenna is selected from whole antennas of the terminal;
If the terminal is in bright screen state, it is determined that gripping of the screen use state and user of the terminal to the terminal Mode.
15. a kind of terminal, which is characterized in that including memory, processor and be stored on the memory and can be at the place The computer program run on reason device, the processor are realized when executing the computer program as any in claim 1 to 7 Method of controlling antenna described in.
16. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the method for controlling antenna as described in any one of claims 1 to 7 is realized when the computer sequence is executed by processor Step.
CN201811588577.3A 2018-12-25 2018-12-25 Antenna control method and terminal Active CN109739300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811588577.3A CN109739300B (en) 2018-12-25 2018-12-25 Antenna control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811588577.3A CN109739300B (en) 2018-12-25 2018-12-25 Antenna control method and terminal

Publications (2)

Publication Number Publication Date
CN109739300A true CN109739300A (en) 2019-05-10
CN109739300B CN109739300B (en) 2020-10-30

Family

ID=66359757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811588577.3A Active CN109739300B (en) 2018-12-25 2018-12-25 Antenna control method and terminal

Country Status (1)

Country Link
CN (1) CN109739300B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422742A (en) * 2020-11-20 2021-02-26 Oppo广东移动通信有限公司 NFC antenna control method and device, storage medium and electronic equipment
CN112467338A (en) * 2020-11-18 2021-03-09 维沃移动通信有限公司 Electronic device
CN114126044A (en) * 2021-12-09 2022-03-01 Oppo广东移动通信有限公司 Antenna selection method, antenna selection device and foldable equipment
CN115208438A (en) * 2022-09-05 2022-10-18 荣耀终端有限公司 Antenna control method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030144026A1 (en) * 2002-01-29 2003-07-31 Kabushiki Kaisha Toshiba Electronic equipment having a radio communication module and a method for performing radio communication thereof
CN105531671A (en) * 2013-09-13 2016-04-27 高通股份有限公司 Wireless communication device having deterministic control of foreground access of the user interface
CN106250085A (en) * 2016-07-29 2016-12-21 北京小米移动软件有限公司 Refresh rate method of adjustment and device
CN106453963A (en) * 2016-11-30 2017-02-22 努比亚技术有限公司 Mobile terminal antenna switching device and method
CN106506748A (en) * 2016-12-30 2017-03-15 努比亚技术有限公司 A kind of information processing method and mobile terminal
CN108234745A (en) * 2017-11-28 2018-06-29 维沃移动通信有限公司 A kind of signal acceptance method, mobile terminal and computer readable storage medium
CN108768430A (en) * 2016-06-24 2018-11-06 广东欧珀移动通信有限公司 A kind of communication control management method and mobile terminal
CN108900231A (en) * 2018-05-29 2018-11-27 Oppo广东移动通信有限公司 Dynamic antenna method of adjustment and Related product
CN109032692A (en) * 2018-06-26 2018-12-18 努比亚技术有限公司 A kind of interaction regulation method, equipment and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030144026A1 (en) * 2002-01-29 2003-07-31 Kabushiki Kaisha Toshiba Electronic equipment having a radio communication module and a method for performing radio communication thereof
CN105531671A (en) * 2013-09-13 2016-04-27 高通股份有限公司 Wireless communication device having deterministic control of foreground access of the user interface
CN108768430A (en) * 2016-06-24 2018-11-06 广东欧珀移动通信有限公司 A kind of communication control management method and mobile terminal
CN106250085A (en) * 2016-07-29 2016-12-21 北京小米移动软件有限公司 Refresh rate method of adjustment and device
CN106453963A (en) * 2016-11-30 2017-02-22 努比亚技术有限公司 Mobile terminal antenna switching device and method
CN106506748A (en) * 2016-12-30 2017-03-15 努比亚技术有限公司 A kind of information processing method and mobile terminal
CN108234745A (en) * 2017-11-28 2018-06-29 维沃移动通信有限公司 A kind of signal acceptance method, mobile terminal and computer readable storage medium
CN108900231A (en) * 2018-05-29 2018-11-27 Oppo广东移动通信有限公司 Dynamic antenna method of adjustment and Related product
CN109032692A (en) * 2018-06-26 2018-12-18 努比亚技术有限公司 A kind of interaction regulation method, equipment and computer readable storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112467338A (en) * 2020-11-18 2021-03-09 维沃移动通信有限公司 Electronic device
CN112467338B (en) * 2020-11-18 2023-12-01 维沃移动通信有限公司 Electronic equipment
CN112422742A (en) * 2020-11-20 2021-02-26 Oppo广东移动通信有限公司 NFC antenna control method and device, storage medium and electronic equipment
CN112422742B (en) * 2020-11-20 2022-04-22 Oppo广东移动通信有限公司 NFC antenna control method and device, storage medium and electronic equipment
CN114126044A (en) * 2021-12-09 2022-03-01 Oppo广东移动通信有限公司 Antenna selection method, antenna selection device and foldable equipment
CN114126044B (en) * 2021-12-09 2023-11-10 Oppo广东移动通信有限公司 Antenna selection method, antenna selection device and foldable equipment
CN115208438A (en) * 2022-09-05 2022-10-18 荣耀终端有限公司 Antenna control method and electronic equipment
CN115208438B (en) * 2022-09-05 2023-02-03 荣耀终端有限公司 Antenna control method and electronic equipment

Also Published As

Publication number Publication date
CN109739300B (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN108108007B (en) A kind of processing method and mobile terminal reducing power consumption
CN108255378A (en) A kind of display control method and mobile terminal
CN110113459A (en) A kind of method of controlling antenna and Folding screen terminal
CN109067418A (en) A kind of method of controlling antenna and mobile terminal
CN109445736A (en) A kind of multi-screen display method and mobile terminal
CN107943551A (en) A kind of screen display method and mobile terminal
CN108347759A (en) A kind of anti-interference method and mobile terminal of flexible screen
CN109905907A (en) A kind of method for searching network and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN109739300A (en) A kind of method of controlling antenna and terminal
CN109768810A (en) A kind of signal processing circuit, terminal device and signal processing method
CN108363524B (en) A kind of application icon display methods and mobile terminal
CN110098486A (en) A kind of method of controlling antenna and equipment
CN109639313A (en) A kind of communication control method, system and circuit
CN110035149A (en) A kind of multiple antennas optimization method and mobile terminal
CN109683785A (en) A kind of information processing method and mobile terminal
CN109558046A (en) A kind of information display method and terminal device
CN109407949A (en) A kind of display control method and terminal
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN109739394A (en) A kind of processing method of SAR value, mobile terminal
CN109542572A (en) A kind of interface display method and mobile terminal
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN107749761B (en) A kind of anti-interference method and mobile terminal
CN109005297A (en) A kind of display methods and mobile terminal of navigation application
CN108649716A (en) A kind of method for transmitting signals, receiving terminal, transmitting terminal and terminal device

Legal Events

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