CN109743443A - A kind of terminal control method, terminal and computer readable storage medium - Google Patents

A kind of terminal control method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109743443A
CN109743443A CN201811557229.XA CN201811557229A CN109743443A CN 109743443 A CN109743443 A CN 109743443A CN 201811557229 A CN201811557229 A CN 201811557229A CN 109743443 A CN109743443 A CN 109743443A
Authority
CN
China
Prior art keywords
terminal
antenna
diversity reception
reception function
closing
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
CN201811557229.XA
Other languages
Chinese (zh)
Other versions
CN109743443B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811557229.XA priority Critical patent/CN109743443B/en
Publication of CN109743443A publication Critical patent/CN109743443A/en
Application granted granted Critical
Publication of CN109743443B publication Critical patent/CN109743443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of terminal control method, terminal and computer readable storage medium, whether this method is by judging terminal currently in global system for mobile communications gsm communication state;If so, judging terminal currently whether in charged state;If so, judging whether terminal diversity receive capabilities are opened;If, close the diversity reception function of first antenna, wherein first antenna is the antenna for being currently at diversity reception state, it solves in existing charging process, communication quality is bad, leads to the problem that satisfaction of users is low, and the invention also discloses a kind of terminal and computer readable storage mediums, by implementing above scheme, it reduces due to charging bring interference, improves communication quality, satisfaction that the user experience is improved.

Description

A kind of terminal control method, terminal and computer readable storage medium
Technical field
The present invention relates to field of terminal technology, can more specifically to a kind of terminal control method, terminal and computer Read storage medium.
Background technique
With the development of terminal technology, the popularity rate of the terminals such as smart phone, tablet computer is higher and higher, and intelligent terminal is Through becoming a part indispensable in people's life and work.Currently, intelligent terminal is in carrying out charging process, it will usually produce Raw radiation interference, the antenna of terminal can receive the radiation interference generated when charging, antenna sensitivity caused to deteriorate, receptivity It is deteriorated, and then influences communication quality, cause satisfaction of users low.
Summary of the invention
The technical problem to be solved in the present invention is that communication quality is bad in existing charging process, cause user experience full The low problem of meaning degree provides a kind of terminal, terminal control method and computer readable storage medium for the technical problem.
In order to solve the above technical problems, the present invention provides a kind of terminal control method, the terminal control method includes:
Judge terminal currently whether in global system for mobile communications gsm communication state;
If so, judging terminal currently whether in charged state;
If so, judging whether terminal diversity receive capabilities are opened;
If so, closing the diversity reception function of first antenna, first antenna is the antenna for being currently at diversity reception state.
Optionally, it closes before the diversity reception function of first antenna, further includes:
Judge whether first antenna is less than pre-determined distance threshold value at a distance from charging interface;If so, closing first antenna Diversity reception function;
Or,
Judge whether first antenna is antenna nearest apart from charging interface in terminal;If so, closing point of first antenna Collect receive capabilities, terminal includes at least two antennas.
Optionally, it closes after the diversity reception function of first antenna, further includes:
When first antenna is less than pre-determined distance threshold value at a distance from charging interface, by the diversity reception function of the second antenna It opens, the second antenna is the antenna for being greater than pre-determined distance threshold value in terminal with the distance between charging interface;
When first antenna is antenna nearest apart from charging interface in terminal, the diversity reception function of third antenna is beaten It opens, third antenna is antenna farthest apart from charging interface in terminal.
Optionally, it closes before the diversity reception function of first antenna, further includes:
Judge whether terminal present communications quality is better than default communication quality standard;
If it is not, closing the diversity reception function of first antenna.
Optionally, communication quality standard includes signal strength threshold and/or snr threshold, judges terminal present communications matter Whether amount is higher than default communication quality standard
It is default logical to judge whether terminal present communications quality is better than according to the current signal strength of terminal and/or signal-to-noise ratio Believe quality standard.
Optionally, it closes before the diversity reception function of first antenna, further includes:
When determining that terminal diversity function is opened, presets and stop charging in first time period;
Judge to stop whether the communication quality in charging process is better than stopping the communication quality before charging;
If so, closing the diversity reception function of first antenna.
Optionally, it closes after the diversity reception function of first antenna, further includes:
Judge whether the main collection receive capabilities of terminal are opened;
If it is not, the main collection receive capabilities of first antenna are opened.
Optionally, it closes before the diversity reception function of first antenna, further includes:
Judge whether the main collection receive capabilities of terminal are opened;
If so, closing the diversity reception function of terminal in default second time period;
Judge whether the communication quality of terminal in diversity reception function closing process is better than before the closing of diversity reception function Communication quality;
If so, closing the diversity reception function of first antenna.
Further, the present invention also provides a kind of terminal, the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize described in any of the above-described Terminal control method the step of.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize The step of terminal control method described in any of the above embodiments.
Beneficial effect
The present invention provides a kind of terminal control method, terminal and computer readable storage medium, for existing charging process In, communication quality is bad, leads to the problem that satisfaction of users is low, by judging whether terminal is currently mobile logical in the whole world Letter system gsm communication state;If so, judging terminal currently whether in charged state;If so, judging terminal diversity receive capabilities Whether open;If so, closing the diversity reception function of first antenna, first antenna is the day for being currently at diversity reception state Line;That is, when terminal is in gsm communication state and is in charged state, the diversity that can close terminal connects in the present invention Function is received, since terminal is when carrying out diversity reception, the interference signal that more charging generates can be received, cause terminal antenna clever Sensitivity reduces, therefore, in the present invention, by closing the diversity reception function of terminal, to reduce since charging bring is dry It disturbs, improves communication quality, satisfaction that the user experience is improved.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the terminal control method basic flow chart that first embodiment of the invention provides;
Fig. 4 is the flow chart for the terminal communication quality judgement that first embodiment of the invention provides;
Fig. 5 is the terminal control method refined flow chart that second embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for the terminal that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 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 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 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 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 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 109 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 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
In order to solve in the prior art, during the charging process, the antenna of terminal can receive radiation interference when charging, make Deteriorating at antenna sensitivity, receptivity is deteriorated, and then influences communication quality, lead to the problem that satisfaction of users is low, The present embodiment provides a kind of terminal control methods, specifically may refer to shown in Fig. 3, and Fig. 3 is terminal control provided in this embodiment The basic flow chart of method processed, the terminal control method include:
S301, judge terminal currently whether in GSM (Global System For Mobile Communications, Global system for mobile communications) communications status.
If so, turning S302;If it is not, turning S301, continue to judge terminal currently whether in gsm communication state.Wherein, terminal It can be terminal as shown in Figure 1, certainly, terminal can also be other terminals.
That is, judging that terminal currently whether in gsm communication state, is in gsm communication in terminal in the present embodiment When state, turn S302;When terminal is not at gsm communication state, turn S301.Wherein, it is terminal that terminal, which is in gsm communication state, The state communicated by GSM is surfed the Internet etc. for example, being conversed by GSM by GSM.
S302, judge terminal currently whether in charged state.
If so, turning S303;If it is not, turning S302, continue to judge terminal currently whether in charged state.
That is, continuing to judge terminal currently whether in charging when determining that terminal is currently at gsm communication state State, if so, turning S303, if it is not, turning S302.
It should be noted that first judging whether terminal is currently in gsm communication state in the present embodiment, then judge terminal It is current whether to be in charged state;In other embodiments, it can also first judge whether terminal is currently in charged state, then sentence Whether whether disconnected terminal is currently in gsm communication state, alternatively, judging terminal currently in charged state and gsm communication simultaneously State.As long as turning S303 when terminal is currently at gsm communication state and charged state.
S303, judge whether terminal diversity receive capabilities are opened.
If so, turning S304;If it is not, terminating.
It should be understood that terminal can open main collection receive capabilities to receive signal, diversity reception function can also be opened Signal can be received, can also main collection receive capabilities and diversity feature open to receive signal.In the present embodiment, in terminal When diversity reception function is in the open state, no matter whether main collection receive capabilities are opened, and all turn S304, if diversity reception function does not have There is opening, then terminates.
S304, the diversity reception function of closing first antenna.
In the present embodiment, the diversity reception function of first antenna is closed.Wherein, first antenna is to be currently at diversity reception The antenna of state realizes the antenna of terminal diversity receive capabilities that is, before S304.
In the present embodiment, if terminal present communications quality is preferable, the diversity reception function of first antenna is closed, to terminal The promotion of communication quality is little.It therefore,, can be with referring to lower Fig. 4 before the diversity reception function that S304 closes first antenna Execute following steps:
S401, judge whether terminal present communications quality is better than default communication quality standard.
If so, terminating;If it is not, turning S402.
It should be understood that communication quality is usually determined by that can characterize the messaging parameter of communication quality superiority and inferiority, for example, Signal strength, signal-to-noise ratio etc., therefore in the present embodiment, it can be arranged according to the messaging parameter that can characterize communication quality superiority and inferiority logical Believe quality standard, terminal is then judged according to the messaging parameter value in terminal current messaging parameter value and communication quality standard Whether present communications quality is better than default communication quality standard, wherein communication quality standard can flexibly be set according to actual needs It sets.For example, may include signal strength threshold and/or snr threshold etc. in communication quality standard, it is then current according to terminal Signal strength and/or signal-to-noise ratio etc. judge whether the current communication quality of terminal is better than default communication quality standard, can be with Understand, signal strength is stronger, and communication quality is better, and signal-to-noise ratio is lower, and communication quality is better.That is, communication quality Signal strength threshold can be only included in standard, at this point it is possible to which it is default to judge whether the current signal strength of terminal is greater than Signal strength threshold, if so, determining that terminal present communications quality is better than default communication quality standard;If it is not, then determining terminal Present communications quality is lower than default communication quality standard.Snr threshold can also be only included in communication quality index, at this point, can To judge whether the current signal-to-noise ratio of terminal is lower than default snr threshold, if so, determining that terminal present communications quality is better than Default communication quality standard;If it is not, then determining that terminal present communications quality is lower than default communication quality standard.Communication quality standard In also may include signal strength threshold and snr threshold, at this point it is possible to judge whether the current signal strength of terminal is greater than Whether preset signal strength threshold value, signal-to-noise ratio are lower than default snr threshold, are greater than default letter in the current signal strength of terminal Number intensity threshold and when the current signal-to-noise ratio of terminal is lower than default snr threshold, determines the current communication quality of terminal better than pre- If communication quality standard, in other cases (for example, to be less than or equal to the current signal of terminal strong for the current signal strength of terminal Degree), determine that the current communication quality of terminal is lower than default communication quality standard.Certainly, presetting can be in communication quality standard Parameter including other standards communication quality, judgment criteria may refer to above-mentioned record.
S402, the diversity reception function of closing first antenna.
That is, in the present embodiment, it can be when the current communication quality of terminal be lower than default communication quality standard, Close the diversity reception function of first antenna.
In the present embodiment, in most cases, charging can generate interference to the diversity reception of antenna, still, at some In the case of, the interference for generation of charging is smaller, and the influence generated to the receptivity of antenna is smaller, and therefore, S304 is closed first day Before the diversity reception function of line, it can also stop filling in default first time period when determining that terminal diversity function is opened Then electricity judges to stop whether the communication quality in charging process is better than stopping the communication quality before charging, if so, closing Close the diversity reception function of first antenna;If it is not, then terminating.Wherein, default first time period can according to actual needs flexibly Setting.For example, it is assumed that default first time period is 30 milliseconds, then when the diversity feature for determining terminal is opened, stop charging 30 Millisecond, and judge whether the communication quality in this 30 milliseconds is better than stopping the communication quality before charging, if so, closing first The diversity reception function of antenna;If it is not, terminating.Wherein, communication quality may refer to aforementioned logical compared between communication quality Believe the judgment mode between quality and communication quality standard, i.e., is compared by messaging parameter, details are not described herein again.
In the present embodiment, during the charging process, the reduction of the communication quality of terminal may not be as caused by diversity reception, because This can also judge whether the main collection receive capabilities of terminal are opened before the diversity reception function that S304 closes first antenna, if It is to preset the diversity reception function of closing terminal in second time period, judges the logical of terminal in diversity reception function closing process Whether letter quality is better than the communication quality before diversity reception function is closed, if so, closing the diversity reception function of first antenna. That is, in the present embodiment, it is assumed that the diversity reception function of terminal and main collection receive capabilities then first exist all in open state Switching off diversity receive capabilities in second time period, and judge whether the communication quality in second time period is better than switching off diversity reception Communication quality before function, if so, switching off diversity receive capabilities (closing the diversity reception function of first antenna), if It is no, then terminate.Wherein, second time period can flexible setting according to actual needs.Ratio between communication quality and communication quality Compared with, it may refer to the judgment mode between aforementioned communication quality and communication quality standard, i.e., be compared by messaging parameter, this Place repeats no more.
In the present embodiment, since antenna distance charging interface is closer, the radiation interference being subject to is bigger, and diversity reception performance is got over Difference.Therefore, before the diversity reception function that S304 closes first antenna, can also judge first antenna and charging interface away from From whether less than pre-determined distance threshold value;If so, closing the diversity reception function of first antenna;If it is not, terminating.Wherein, preset away from From threshold value can flexible setting according to actual needs, for example, being set as 2 centimetres, 3 centimetres etc..Alternatively, if terminal includes at least two A antenna can also judge whether be in gsm communication state apart from nearest antenna with charging interface in terminal, if so, just closing The diversity reception function of closing first antenna, if it is not, then terminating.Due to the position of antenna each in terminal be it is fixed, terminal is filled The position of electrical interface is also fixation, accordingly it is also possible to that will be set in advance as target day apart from the closer antenna of charging interface Line, if the diversity reception function of the destinations traffic is opened, closes the day when during the charging process and being in gsm communication state The diversity reception function of line.It should be understood that charging interface is the interface that terminal is used to obtain electric energy, for some terminals Speech, charging interface are USB (Universal Serial Bus, universal serial bus) interface;For some terminals, meeting Charging interface is separately provided.
In the present embodiment, after the diversity reception function of closing first antenna, it can also judge that the main collection of terminal receives Whether function is opened, if not having, the main collection receive capabilities of first antenna are opened.
It is apart from charging interface in first antenna after the diversity reception function of closing first antenna in the present embodiment Distance when being less than pre-determined distance threshold value, the diversity reception function of the second antenna is opened, wherein the second antenna be in terminal with The distance between charging interface is greater than the antenna of distance threshold;It is antenna nearest apart from charging interface in terminal in first antenna When, the diversity reception function of third antenna is opened, wherein third antenna is antenna farthest apart from charging interface in terminal.
Whether terminal control method provided in this embodiment first judges terminal currently in gsm communication state;If so, after It is continuous to judge terminal currently whether in charged state;If so, judging whether terminal diversity receive capabilities are opened again;If so, closing The diversity reception function of first antenna, wherein first antenna is the antenna for being currently at diversity reception state;That is, this In embodiment, when terminal is in gsm communication state and is in charged state, the diversity reception function of terminal can be closed, due to Terminal can receive the interference signal that more charging generates, lead to terminal antenna sensitivity decrease when carrying out diversity reception, because This, in the present invention, by closing the diversity reception function of terminal, to reduce due to charging bring interference, improves logical Believe quality, satisfaction that the user experience is improved.
Second embodiment
In order to preferably connect the present invention, the present embodiment combines more specifical example to be illustrated, it is assumed that terminal includes Two antennas, one of antenna setting is square at the terminal, another is arranged below terminal, and (wherein, USB connects charging interface Mouthful it is charging interface) it is arranged below terminal, it, will setting square antenna at the terminal in the present embodiment for convenience of subsequent explanation It is denoted as antenna, the antenna being arranged in below terminal is denoted as lower antenna, since charging interface is also disposed at below terminal, because This, lower antenna distance charging interface is nearest, and upper antenna distance charging interface is farthest.Referring to shown in lower Fig. 5, Fig. 5 is the present invention the The terminal control method refined flow chart that two embodiments provide, the terminal control method include:
S501, judge terminal currently whether in gsm communication state.
If so, turning S502;If it is not, turning S501, continue to judge terminal currently whether in gsm communication state.
S502, judge terminal currently whether in charged state.
If so, turning S503;If it is not, terminating.
In the present embodiment, when determining that terminal is in gsm communication state and is in charged state, turn S503.
S503, judge whether the diversity reception function of terminal is opened.
If so, turning S504;If it is not, terminating.
In the present embodiment, after the diversity reception function of determining terminal is opened, turn S504.
S504, judge whether the current communication quality of terminal is better than default communication quality standard.
If so, terminating, if it is not, turning S505.
It include signal strength threshold and snr threshold in communication quality standard in the present embodiment.In the current letter of terminal Number intensity is greater than signal strength threshold, and when the current signal-to-noise ratio of terminal is greater than snr threshold, determines the current communication of terminal Quality is better than default communication quality standard, terminates;In other cases, determine the current communication quality of terminal lower than default Communication quality standard, turns S505.In other embodiments, the current communication quality of terminal can also be judged by other means Whether better than default communication quality standard.
In the present embodiment, successively executing S501, S502,403, S504 in other embodiments can also be suitable according to other Sequence executes S501, S502,403 and S504, for example, first carrying out S503, then executes S504, S executes S501 again, finally executes S502;Or S501, S502,403 and S504 are performed simultaneously.
S505, judge whether first antenna is lower antenna.
If so, turning S506;If it is not, terminating.
In the present embodiment, first antenna is currently at the antenna of diversity reception state, i.e., currently realizes that diversity connects in terminal Receive the antenna of function.In the present embodiment, since lower antenna is antenna nearest apart from charging interface in terminal, by sentencing Whether disconnected terminal first antenna is lower antenna to judge whether first antenna is antenna farthest apart from charging interface in terminal, if It is to turn S506;If it is not, terminating.
S506, judge whether the main collection receive capabilities of terminal are opened.
If so, turning S511;If it is not, turning S507.
In the present embodiment, after determining that first antenna is lower antenna, judge whether the main collection receive capabilities of terminal are opened, if The current main collection function of terminal is opened, then shows that the current main collection receive capabilities of terminal and diversity reception function are in opening state, Turn S511.In the present embodiment, since lower antenna is the antenna in diversity reception state, if the main collection of terminal receives function It can open, then upper antenna is the antenna for realizing main collection receive capabilities.
S507, stop charging in default first time period.
In the present embodiment, after determining that the main collection reception state of terminal is in close state, in default first time period Stop charging.Wherein, first time period can flexible setting according to actual needs.
S508, judge to stop whether the communication quality in charging process is better than stopping the communication quality before charging.
If so, turning S509, if it is not, terminating.
Judge logical before whether the communication quality of the terminal in the first time period for stopping charging being better than stopping charging Believe quality.In the present embodiment, judge that the communication quality stopped in charging process is according to the signal strength of terminal and signal-to-noise ratio Communication quality before the no charging better than stopping.Signal before stopping the signal strength in charging process and being higher than stopping charging Intensity, and stop charging process in signal-to-noise ratio lower than stop charging before signal-to-noise ratio when, determine stop charging process in Communication quality turns S509 better than the communication quality before stopping charging;In other cases, determine to stop logical in charging process Believe that quality lower than the communication quality before stopping charging, terminates.It certainly, in other embodiments, can also be by other means (such as passing through other messaging parameters) is logical before whether the communication quality in charging process is better than stopping charging to judge to stop Believe quality.
S509, the diversity reception function of closing first antenna.
In the present embodiment, since first antenna is lower antenna, that is, the diversity reception function of lower antenna is closed.
The diversity reception function of antenna on S510, unlatching.
In the present embodiment, after S509, the diversity reception function of antenna in unlatching, upper antenna is distance charging in terminal The farthest antenna of interface.
In other embodiments, after S509, the main collection receive capabilities of first antenna can also be opened;Alternatively, opening The main collection receive capabilities of first communication, open the diversity reception function of the second antenna.
S511, the diversity reception function that terminal is closed in default second time period.
In the present embodiment, when the main collection receive capabilities for determining terminal are opened, terminal is closed in default second time period Diversity reception function.
S512, judge whether the communication quality of terminal in diversity reception function closing process is better than the closing of diversity reception function Communication quality before.
If so, turning S513;If it is not, terminating.
Wherein, it is logical before diversity reception function is closed to judge whether the communication quality of terminal during diversity reception is better than Letter quality refers to S508, and details are not described herein again.
S513, the diversity reception function of closing first antenna.
First antenna is lower antenna, that is, closes the diversity reception function of lower antenna.
The diversity reception function of antenna on S514, unlatching opens the main collection receive capabilities of lower antenna.
In the present embodiment, since upper antenna is the antenna for realizing main collection receive capabilities before S514, in S514 In, the main collection receive capabilities of upper antenna are first closed, then open the main collection receive capabilities of lower antenna.
Whether terminal control method provided in this embodiment first judges terminal currently in gsm communication state;If so, after It is continuous to judge terminal currently whether in charged state;If so, judging whether terminal diversity receive capabilities are opened again;If so, closing The diversity reception function of first antenna, wherein first antenna is the antenna for being currently at diversity reception state;That is, this In embodiment, when terminal is in gsm communication state and is in charged state, the diversity reception function of terminal can be closed, due to Terminal can receive the interference signal that more charging generates, lead to terminal antenna sensitivity decrease when carrying out diversity reception, because This, the present invention in, by close terminal diversity reception function, thus considerably reduce due to charging bring interference, from And the sensitivity of antenna is improved, communication quality is improved, satisfaction that the user experience is improved.
3rd embodiment
Shown in Figure 6 the present embodiment provides a kind of terminal, terminal provided in this embodiment includes processor 601, deposits Reservoir 602 and communication bus 603.
Wherein, the communication bus 603 in the present embodiment is logical for realizing the connection between processor 601 and memory 602 Letter;
Processor 601 is then for executing one or more program stored in memory 602, to perform the steps of
Judge terminal currently whether in gsm communication state;
If so, judging terminal currently whether in charged state;
If so, judging whether terminal diversity receive capabilities are opened;
If so, closing the diversity reception function of first antenna, wherein first antenna is to be currently at diversity reception state Antenna.
It should be noted that first judging whether terminal is currently in gsm communication state in the present embodiment, then judge terminal It is current whether to be in charged state;In other embodiments, it can also first judge whether terminal is currently in charged state, then sentence Whether whether disconnected terminal is currently in gsm communication state, alternatively, judging terminal currently in charged state and gsm communication simultaneously State.As long as being performed the next step rapid when terminal is currently at gsm communication state and charged state.
In the present embodiment, before the diversity reception function of closing first antenna, processor 601 can be executed in memory One or more program of storage performs the steps of and judges whether terminal present communications quality is better than default communication quality Standard, if so, terminating;If it is not, the diversity reception function of first antenna is just closed, specifically, can be with first embodiment and/or the Two embodiments, details are not described herein again.
In the present embodiment, before the diversity reception function of closing first antenna, processor 601 can be executed in memory One or more program of storage is performed the steps of when determining that terminal diversity function is opened, in default first time period Then interior stopping charging judging whether the communication quality in stopping charging process being better than stopping the communication quality before charging, if It is the diversity reception function of then closing first antenna;If it is not, then terminating.
In the present embodiment, before the diversity reception function of closing first antenna, processor 601 can be executed in memory Storage one or more program, perform the steps of terminal diversity reception function and main collection receive capabilities all in When open state, the first switching off diversity receive capabilities in second time period, and whether judge the communication quality in second time period Better than the communication quality before switching off diversity receive capabilities, if so, switching off diversity receive capabilities (i.e. point of closing first antenna Collect receive capabilities), if it is not, then terminating.
In the present embodiment, before the diversity reception function of closing first antenna, processor 601 can be executed in memory One or more program of storage, performs the steps of that judge whether first antenna is less than at a distance from charging interface default Distance threshold;If so, closing the diversity reception function of first antenna;If it is not, terminating.Alternatively, if terminal includes at least two days Line judges whether be in gsm communication state apart from nearest antenna with charging interface in terminal, if so, just closing first antenna Diversity reception function, if it is not, then terminating.
In the present embodiment, after the diversity reception function of closing first antenna, processor 601 can be executed in memory One or more program of storage, performs the steps of and judges whether the main collection receive capabilities of terminal are opened, if not having, The main collection receive capabilities of first antenna are opened.
In the present embodiment, after the diversity reception function of closing first antenna, processor 601 can be executed in memory One or more program of storage performed the steps of after the diversity reception function of closing first antenna, at first day When line is that the distance apart from charging interface is less than pre-determined distance threshold value, the diversity reception function of the second antenna is opened, wherein the Two antennas are the antenna for being greater than distance threshold in terminal with the distance between charging interface;It is that distance is filled in terminal in first antenna When the nearest antenna of electrical interface, the diversity reception function of third antenna is opened, wherein third antenna is distance charging in terminal The farthest antenna of interface.
It is worth noting that, not fully expounding first embodiment, second in the present embodiment in fact in order not to burden explanation Apply all examples in example, it is understood that, all examples in first embodiment, second embodiment are suitable for this implementation Example.
The present embodiment also provides a kind of computer readable storage medium, as floppy disk, CD, hard disk, flash memory, USB flash disk, CF card, SD card, mmc card etc. are stored with one or more program for realizing above-mentioned each step in the computer storage medium, this One or more program can be executed by one or more processor, to realize above-mentioned first embodiment and/or the second implementation Each step of terminal control method described in example.
Whether terminal provided in this embodiment and computer readable storage medium first judge terminal currently in gsm communication State;If so, continuing to judge terminal currently whether in charged state;If so, judging whether terminal diversity receive capabilities beat again It opens;If so, closing the diversity reception function of first antenna, wherein first antenna is the antenna for being currently at diversity reception state; That is, when terminal is in gsm communication state and is in charged state, the diversity that can close terminal connects in the present embodiment Function is received, since terminal is when carrying out diversity reception, the interference signal that more charging generates can be received, cause terminal antenna clever Sensitivity reduces, therefore, in the present invention, by closing the diversity reception function of terminal, to considerably reduce due to charge-carrying belt The interference come improves communication quality to improve the sensitivity of antenna, satisfaction that the user experience is improved.
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.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
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, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of terminal control method, which is characterized in that the terminal control method includes:
Judge terminal currently whether in global system for mobile communications gsm communication state;
If so, judging the terminal currently whether in charged state;
If so, judging whether the terminal diversity receive capabilities are opened;
If so, closing the diversity reception function of first antenna, the first antenna is the antenna for being currently at diversity reception state.
2. terminal control method as described in claim 1, which is characterized in that the diversity reception function of closing first antenna Before, further includes:
Judge whether the first antenna is less than pre-determined distance threshold value at a distance from charging interface;If so, closing described first day The diversity reception function of line;
Or,
Judge whether the first antenna is antenna nearest apart from charging interface in the terminal;If so, closing described first The diversity reception function of antenna, the terminal include at least two antennas.
3. terminal control method as claimed in claim 2, which is characterized in that the diversity reception function of closing first antenna Later, further includes:
When the first antenna is less than the pre-determined distance threshold value at a distance from the charging interface, by the diversity of the second antenna Receive capabilities are opened, and second antenna is to be greater than the pre-determined distance threshold value with the distance between charging interface in the terminal Antenna;
When the first antenna is antenna nearest apart from charging interface in the terminal, by the diversity reception function of third antenna It can open, the third antenna is antenna farthest apart from charging interface in terminal.
4. terminal control method as described in claim 1, which is characterized in that the diversity reception function of closing first antenna Before, further includes:
Judge whether the terminal present communications quality is better than default communication quality standard;
If it is not, closing the diversity reception function of the first antenna.
5. terminal control method as claimed in claim 4, which is characterized in that the communication quality standard includes signal strength threshold Value and/or snr threshold, it is described to judge whether terminal present communications quality is higher than default communication quality standard and includes:
It is pre- to judge whether the terminal present communications quality is better than according to the current signal strength of the terminal and/or signal-to-noise ratio If communication quality standard.
6. terminal control method as described in claim 1, which is characterized in that the diversity reception function of closing first antenna Before, further includes:
When determining that the terminal diversity function is opened, presets and stop charging in first time period;
Judge to stop whether the communication quality in charging process is better than stopping the communication quality before charging;
If so, closing the diversity reception function of the first antenna.
7. terminal control method as described in claim 1, which is characterized in that the diversity reception function of closing first antenna Later, further includes:
Judge whether the main collection receive capabilities of the terminal are opened;
If it is not, the main collection receive capabilities of the first antenna are opened.
8. such as the described in any item terminal control methods of claim 1-7, which is characterized in that the diversity for closing first antenna Before receive capabilities, further includes:
Judge whether the main collection receive capabilities of the terminal are opened;
If so, closing the diversity reception function of terminal in default second time period;
It is logical before diversity reception function is closed to judge whether the communication quality of terminal in diversity reception function closing process is better than Believe quality;
If so, closing the diversity reception function of the first antenna.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize as appointed in claim 1 to 8 The step of terminal control method described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8 Any one of described in terminal control method the step of.
CN201811557229.XA 2018-12-19 2018-12-19 Terminal control method, terminal and computer readable storage medium Active CN109743443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811557229.XA CN109743443B (en) 2018-12-19 2018-12-19 Terminal control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811557229.XA CN109743443B (en) 2018-12-19 2018-12-19 Terminal control method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109743443A true CN109743443A (en) 2019-05-10
CN109743443B CN109743443B (en) 2021-01-26

Family

ID=66360754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811557229.XA Active CN109743443B (en) 2018-12-19 2018-12-19 Terminal control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109743443B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531173A (en) * 2022-04-06 2022-05-24 展讯通信(深圳)有限公司 Method and device for optimizing receiving sensitivity of multi-antenna frequency division duplex mode terminal and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483281A (en) * 2009-02-27 2009-07-15 深圳华为通信技术有限公司 Method and apparatus for controlling terminal antenna
CN105792259A (en) * 2016-04-26 2016-07-20 宇龙计算机通信科技(深圳)有限公司 3G communication control method of intelligent terminal
CN107277249A (en) * 2017-06-20 2017-10-20 维沃移动通信有限公司 It is a kind of to reduce the method and mobile terminal of interference of call signal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483281A (en) * 2009-02-27 2009-07-15 深圳华为通信技术有限公司 Method and apparatus for controlling terminal antenna
CN105792259A (en) * 2016-04-26 2016-07-20 宇龙计算机通信科技(深圳)有限公司 3G communication control method of intelligent terminal
CN107277249A (en) * 2017-06-20 2017-10-20 维沃移动通信有限公司 It is a kind of to reduce the method and mobile terminal of interference of call signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531173A (en) * 2022-04-06 2022-05-24 展讯通信(深圳)有限公司 Method and device for optimizing receiving sensitivity of multi-antenna frequency division duplex mode terminal and terminal equipment

Also Published As

Publication number Publication date
CN109743443B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN109922205A (en) Throw screen implementation method, mobile terminal and computer readable storage medium
CN106961706A (en) Method, mobile terminal and the computer-readable recording medium of communication pattern switching
CN107046696A (en) The method and mobile terminal of a kind of communication network switching
CN110046597A (en) Face identification method, mobile terminal and computer readable storage medium
CN109453523A (en) A kind of game picture display processing method, terminal and computer readable storage medium
CN110012515A (en) A kind of call failure processing method, terminal and computer readable storage medium
CN110300435A (en) A kind of communication pattern switching method, terminal and computer readable storage medium
CN109195213A (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN110134471A (en) A kind of screens switch animation control methods, terminal and computer readable storage medium
CN109538538A (en) A kind of processing method of fan noise, mobile terminal and storage medium
CN108600520A (en) Reception state control method, mobile terminal and computer readable storage medium
CN109005574A (en) Cell selecting method, mobile terminal and computer readable storage medium
CN108965589A (en) A kind of screen brightness control method, terminal and computer readable storage medium
CN110069167A (en) Touch point sweep-out method, mobile terminal and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN107706981A (en) A kind of wireless charging method and wireless charging device
CN109428923A (en) Information push method, server, terminal and computer readable storage medium
CN110290261A (en) Information processing method, electronic equipment and computer readable storage medium
CN110087267A (en) Method for switching network, device, electronic equipment and readable storage medium storing program for executing
CN109890072A (en) Saving power for terminal control method, device, mobile terminal and readable storage medium storing program for executing
CN110198173A (en) A kind of adjusting method of mobile terminal, radio circuit, mobile terminal and storage medium
CN109887448A (en) A kind of flexible screen display methods, mobile terminal and computer readable storage medium
CN109889972A (en) Emergency numbers dialing method, AP, modem, terminal and storage medium
CN109889651A (en) A kind of notification message processing method, terminal and computer readable storage medium
CN109544140A (en) A kind of identification code scan method, terminal and readable storage medium storing program for executing

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