CN105184198B - Detect guard method and mobile terminal - Google Patents

Detect guard method and mobile terminal Download PDF

Info

Publication number
CN105184198B
CN105184198B CN201510582182.2A CN201510582182A CN105184198B CN 105184198 B CN105184198 B CN 105184198B CN 201510582182 A CN201510582182 A CN 201510582182A CN 105184198 B CN105184198 B CN 105184198B
Authority
CN
China
Prior art keywords
frequency point
value
antenna
mobile terminal
environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510582182.2A
Other languages
Chinese (zh)
Other versions
CN105184198A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510582182.2A priority Critical patent/CN105184198B/en
Publication of CN105184198A publication Critical patent/CN105184198A/en
Application granted granted Critical
Publication of CN105184198B publication Critical patent/CN105184198B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/81Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer by operating on the power supply, e.g. enabling or disabling power-on, sleep or resume operations

Abstract

The present invention provides a kind of detection guard method and mobile terminal, including:The evaluating for obtaining default each frequency point is in the first value under current environment in the antenna of mobile terminal, and the evaluating of the frequency point is for characterizing signal reception of the antenna to each frequency point;According to the corresponding sample of each improper environment; if in the presence of with the matched sample of the first value; then determine that the antenna is in improper environment; then control the mobile terminal execution power-off operation, the evaluating that the corresponding sample of the improper environment includes each frequency point is in the second value under the improper environment in the antenna.It by scheme provided by the invention, can prevent under improper environment mobile terminal being caused to damage, avoid information loss and damage to property.

Description

Detect guard method and mobile terminal
Technical field
The present invention relates to electronics field more particularly to a kind of detection guard method and mobile terminals.
Background technology
In recent years, with the development of social economy and science and technology, electronics industry has caught the opportunity of development, before obtaining The development not having.Electronic product, for example, mobile terminal, is increasingly becoming a part indispensable in people's daily life, it is right People’s lives generate far-reaching influence.With information-based fast development, electronic product is even more to daily life Play indispensable material impact.
But in daily life, due to error etc., it will usually which being accidentally in mobile terminal may cause to move The improper environment of dynamic terminal damage, for example, falling into water.However in the case, if not shutdown in time, it will cause shiftings The circuit system short circuit of dynamic terminal is burnt out, and then causes the loss and property loss of user's important information, the guarantor in correlation technique Shield scheme, usually dropped the acceleration generated in the process using acceleration transducer detection mobile terminal such as mobile phone, and then Control mobile phone shutdown.
This mode has to rely on the numerical value of acceleration transducer, but the actual environment residing for mobile terminal is very complicated , simple process detection of dropping is for detection mobile terminal either with or without still there is larger limitation in water environment.
The content of the invention
The present invention provides a kind of detection guard method and mobile terminal, is used to implement and detects improper environment in time and take Measure is to protect mobile terminal not to be damaged.
The first aspect of the invention is to provide a kind of detection guard method, applied in mobile terminal, including:
The evaluating for obtaining default each frequency point is in the first value under current environment, institute in the antenna of mobile terminal The evaluating of frequency point is stated for characterizing signal reception of the antenna to each frequency point;
According to the corresponding sample of each improper environment, if in the presence of with the matched sample of the first value, it is determined that the antenna In improper environment, then the mobile terminal execution power-off operation is controlled, the corresponding sample of the improper environment includes institute The evaluating for stating each frequency point is in the second value under the improper environment in the antenna.
The second aspect of the invention is to provide a kind of mobile terminal, including:
First acquisition module, the evaluating for obtaining default each frequency point is in the antenna of mobile terminal works as front ring The first value under border, the evaluating of the frequency point are used to characterize signal reception of the antenna to each frequency point;
Processing module, for according to the corresponding sample of each improper environment, if in the presence of with the matched sample of the first value, It determines that the antenna is in improper environment, then controls the mobile terminal execution power-off operation, the improper environment corresponds to The evaluating of sample including each frequency point be in the second value under the improper environment in the antenna.
The third aspect of the invention is to provide a kind of mobile terminal, including:
Memory, for storing program;
Processor for performing the program of the memory storage, is being moved with the evaluating for obtaining default each frequency point The antenna of dynamic terminal is in the first value under current environment, and the evaluating of the frequency point is used to characterize the antenna to described The signal reception of each frequency point;According to the corresponding sample of each improper environment, if in the presence of with the matched sample of the first value, It determines that the antenna is in improper environment, then controls the mobile terminal execution power-off operation, the improper environment corresponds to The evaluating of sample including each frequency point be in the second value under the improper environment in the antenna.
Detection guard method provided by the invention and mobile terminal, the signal for being based on characterization mobile terminal antenna receive The evaluating of ability establishes the corresponding sample parameter of various improper environment, during the use of mobile terminal, to incite somebody to action The value of evaluating under the current environment collected is compared with these sample parameters, if being taken in the presence of with what is currently gathered It is worth matched sample parameter, then illustrates the environment improper environment corresponding with the sample parameter residing for current mobile terminal Match somebody with somebody, you can judge that mobile terminal is currently in improper environment, correspondingly, control mobile terminal execution power-off operation, to prevent Only under improper environment mobile terminal is caused to damage, avoid information loss and damage to property.
Description of the drawings
Figure 1A is a kind of flow diagram for detection guard method that the embodiment of the present invention one provides;
Figure 1B is that mobile terminal falls into the water the change schematic diagram of front and rear antenna return loss curve;
Fig. 1 C are the flow diagram for another detection guard method that the embodiment of the present invention one provides;
Fig. 1 D are the flow diagram for another detection guard method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram for detecting guard method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow diagram for detection guard method that the embodiment of the present invention three provides;
Fig. 4 A are a kind of structure diagram for mobile terminal that the embodiment of the present invention four provides;
Fig. 4 B are the structure diagram for another mobile terminal that the embodiment of the present invention four provides;
Fig. 4 C are the structure diagram for another mobile terminal that the embodiment of the present invention four provides;
Fig. 5 is a kind of structure diagram for mobile terminal that the embodiment of the present invention five provides;
Fig. 6 is a kind of structure diagram for mobile terminal that the embodiment of the present invention seven provides.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described.
Figure 1A is a kind of flow diagram for detection guard method that the embodiment of the present invention one provides, as shown in Figure 1A, this Embodiment is come applied to mobile terminal for example, method includes with the detection guard method:
101st, the evaluating of default each frequency point is obtained first to take what the antenna of mobile terminal was under current environment Value, the evaluating of frequency point are used to characterize signal reception of the antenna to each frequency point;
102nd, according to the corresponding sample of each improper environment, if in the presence of with the matched sample of the first value, it is determined that antenna In improper environment, then mobile terminal execution power-off operation is controlled, the corresponding sample of improper environment includes commenting for each frequency point Valency parameter is in the second value under improper environment in antenna.
Wherein, mobile terminal refers to the electronic equipment for possessing network connecting function, and including but not limited to any one can With user by keyboard, touch tablet or voice-operated device carry out human-computer interaction electronic product, such as mobile phone, smart mobile phone, PAD, Laptop, tablet computer, POS machine, vehicle-mounted computer etc..
Wherein, each frequency point can be chosen according to actual needs.Specifically, the evaluating can include arbitrarily being capable of table The parameter of received antenna signal ability is levied, for example, return loss, power etc., the present embodiment is not limited herein.
Improper environment mentioned here refers to, can cause the scene of mobile terminal Damage by Short Circuit, for example, falling into fresh water In or fall into seawater etc..For example, mobile terminal antenna is as other antennas, the dielectric constant of ambient enviroment It has a certain impact to the impedance bandwidth of mobile terminal antenna, quality factor can be caused to increase when dielectric constant increases, caused Evaluating, for example, return loss plot to low frequency offset, conversely, when the dielectric constant of ambient enviroment reduces, can cause product Prime factor reduces, and return loss plot is toward high frequency offset at this time.
Specifically, front and rear return loss plot is fallen into the water for example, as shown in Figure 1B with mobile terminal, Tu1BWei Mobile terminal falls into the water the change schematic diagram of front and rear antenna return loss curve, and Curve1 is under mobile terminal normal condition Return loss plot, Curve2 and Curve3 are respectively that mobile phone falls into the return loss plot after fresh water and seawater, it is seen then that work as shifting After dynamic terminal is overboard, return loss plot can shift to low frequency direction, but by medium differentia influence, mobile terminal falls When entering fresh water and seawater, the degree that return loss plot is deviated to low frequency direction can be slightly different.
That is, mobile terminal is in improper environment, such as when falling into the water, can change around mobile terminal antenna Effective dielectric constant namely dielectric constant can change, influence the evaluating value of mobile terminal antenna.Using above-mentioned Principle, the current value of the evaluating by detecting multiple frequency points, can detect the environment that mobile terminal is presently in.To fall Exemplified by water, mobile terminal fall into the water before return loss plot with fall into the water after return loss plot have it is certain inclined Difference, we can be detected the environment residing for mobile terminal using this deviation, and take corresponding safeguard measure.
In practical application, it can obtain in advance when mobile terminal antenna is under various improper environment, each frequency point is commented The value of valency parameter according to these values, establishes the corresponding sample of each improper environment, when needing to detect mobile terminal current institute When locating environment, the value of the evaluating of each frequency point under current environment, sample progress corresponding with improper environment can be taken Match somebody with somebody, if sample matches success corresponding with certain improper environment, illustrates that mobile terminal is currently under the improper environment.
Further, detect in the corresponding sample of each improper environment, if exist and the matched sample of the first value There are many methods.
Optionally, as shown in Figure 1 C, Fig. 1 C are the flow for another detection guard method that the embodiment of the present invention one provides Schematic diagram, on the basis of Figure 1A illustrated embodiments, before 102, method further includes:
103rd, for the corresponding sample of each improper environment, the first difference of each frequency point, the first difference of frequency point are calculated For the difference between corresponding second value of corresponding first value of frequency point sample intermediate-frequeney point corresponding with improper environment;
The 104th, if the first difference of each frequency point judges that improper environment is corresponding in default first error range Sample is matched with the first value.
Specifically, in present embodiment, for the corresponding sample of each improper environment, the evaluating of each frequency point is calculated The difference of value under the present circumstances and the value under the improper environment, it will be understood that difference is smaller, then each frequency point is commented The value of valency parameter under the present circumstances and the value under the improper environment are closer.Correspondingly, simply by the presence of any non- The corresponding sample of home so that when the corresponding above-mentioned difference of each frequency point is in default error range, then can determine that this The value of the evaluating of the corresponding sample of improper environment and each frequency point under the present circumstances matches.
It directly can quickly detect whether to exist by present embodiment and work as front ring with the evaluating of each frequency point The matched sample of value under border, and then judge whether the environment that mobile terminal is presently in is normal.
Optional again, as shown in figure iD, Fig. 1 D are the stream for another detection guard method that the embodiment of the present invention one provides Journey schematic diagram, on the basis of Figure 1A illustrated embodiments, before 101, method further includes:
105th, the evaluating for obtaining each frequency point is in the 3rd value under home in mobile terminal antenna;
Correspondingly, before 102, method further includes:
106th, the second difference of each frequency point is calculated, the second difference of frequency point is corresponding with frequency point for corresponding first value of frequency point The 3rd value between difference;
107th, for the corresponding sample of each improper environment, the 3rd difference of each frequency point, the 3rd difference of frequency point are calculated For the difference between corresponding second value of the corresponding sample intermediate-frequeney point of improper environment the 3rd value corresponding with frequency point;
108th, calculate the 4th difference of each frequency point, the 4th difference of frequency point for frequency point the second difference and frequency point it is the 3rd poor Difference between value;
If the 109, the 4th difference of each frequency point is in default second error range, judge that improper environment is corresponding Sample is matched with the first value.
Wherein, the sequencing for calculating the second difference and the 3rd difference can be without limiting, for example, can perform 106 are performed before 107, alternatively, 106 can be performed after performing 107, then alternatively, 106 and 107 are may be performed simultaneously, in figure A kind of shown simply embodiment of citing, does not limit the sequencing that it is performed.
Specifically, in present embodiment, in addition to gathering the corresponding sample of improper environment, normal ring is also acquired in advance The corresponding sample in border when determining whether to have sample matched with the value of Evaluation: Current parameter, first calculates commenting for each frequency point The difference of the value of valency parameter in normal circumstances and value under the present circumstances, and for each corresponding sample of improper environment This, calculates the difference of the value of the evaluating of each frequency point in normal circumstances and the value under the improper environment, finally, right The two differences are compared.Likewise, it is appreciated that deviation is smaller, then the evaluating of each frequency point is under the present circumstances Value and the value under the improper environment are closer.Correspondingly, simply by the presence of the corresponding sample of any improper environment, make The corresponding above-mentioned deviation of each frequency point in default error range when, then can determine that the corresponding sample of the improper environment with The value matching of the evaluating of each frequency point under the present circumstances.
By present embodiment, in addition to being referred to the corresponding sample of improper environment, it is also contemplated that home pair The sample answered, being capable of the more accurate value for practically detecting whether to have with the evaluating of each frequency point under the present circumstances Matched sample, and then judge whether the environment that mobile terminal is presently in is normal.
Wherein, above-mentioned error range can be defined according to actual conditions and needs.
Detection guard method provided in this embodiment, the signal reception for being based on characterization mobile terminal antenna are commented Valency parameter establishes the corresponding sample parameter of various improper environment, so as to during the use of mobile terminal, by what is collected The value of evaluating under current environment is compared with these sample parameters, if matched in the presence of the value with currently gathering Sample parameter then illustrates the environment improper environments match corresponding with the sample parameter residing for current mobile terminal, you can sentence Determine mobile terminal and be currently in improper environment, correspondingly, control mobile terminal execution power-off operation, to prevent improper Under environment mobile terminal is caused to damage, avoid information loss and damage to property.
Further, there are many ways to obtaining evaluating value.In order to improve the accurate of mobile terminal detection protection Property and reliability, as shown in Fig. 2, Fig. 2 be it is provided by Embodiment 2 of the present invention it is a kind of detect guard method flow diagram, On the basis of embodiment one, 101 can include:
201st, for each frequency point, the evaluation for gathering frequency point and the second frequency point in preset range near frequency point is joined Number is in the first value under current environment in antenna;
202nd, frequency point and the average value of corresponding first value of the second frequency point are calculated, obtains corresponding first value of frequency point.
Specifically, when obtaining the first value of the evaluating of the frequency point under the present circumstances for some frequency point, except It directly gathers outside the actual value of the evaluating of the frequency point under the present circumstances, it is also necessary to gather some frequencies near the frequency point The evaluating actual value under the present circumstances of point, and pass through and average, using average value as the frequency point corresponding the One value.
Detection guard method provided in this embodiment is obtaining the value of the evaluating of certain frequency point under the present circumstances When, take the value of the evaluating of periphery frequency point into consideration, and then acquisition can more accurately reflect actual conditions Value, so as to improve the accuracy and reliability of mobile terminal protection detection.
Mobile terminal in practical application would generally be provided with mutiple antennas, for example, primary antenna, diversity antenna and GPS/ WIFI antennas.Still exemplified by overboard, the situation that falls into the water regardless of mobile terminal, any antenna is likely to first contact water Face.Therefore, in order to which the reliability of monitoring for protection and promptness is effectively ensured, as long as monitoring that the environment residing for any antenna occurs Irregular change performs power-off operation.Correspondingly, Fig. 3 is a kind of detection guard method that the embodiment of the present invention three provides Flow diagram, as shown in figure 3, on the basis of embodiment one or embodiment two, when the quantity of the antenna is multiple, 101 It can include:
301st, for each antenna, the evaluating of each frequency point is gathered in real time and first is taken what antenna was under current environment Value;
Correspondingly, controlling mobile terminal execution power-off operation in 102, can include:
302nd, according to the corresponding sample of each improper environment, if detecting, any antenna is currently at improper environment, Control mobile terminal execution power-off operation.
Specifically, for being equipped with the scene of mutiple antennas in mobile terminal, it is necessary to be presently in simultaneously to mutiple antennas Environment be detected judgement, based on aforementioned schemes, if detecting, any antenna is currently at improper environment, performs shutdown Operation, to ensure that mobile terminal is not damaged.
Detection guard method provided in this embodiment for the situation that mutiple antennas is equipped in mobile terminal, is detecting When the environment being presently in any antenna is abnormal, then the scheme of power-off operation is taken, it can be in time according to current environment Corresponding safeguard measure is taken, improves the promptness and reliability of mobile terminal protection detection.
Fig. 4 A are a kind of structure diagram for mobile terminal that the embodiment of the present invention four provides, as shown in Figure 4 A, the movement Terminal includes:
First acquisition module 41, the evaluating for obtaining default each frequency point are in current in the antenna of mobile terminal The first value under environment, the evaluating of frequency point are used to characterize signal reception of the antenna to each frequency point;
Processing module 42, for according to the corresponding sample of each improper environment, if in the presence of with the matched sample of the first value, Then determine that antenna is in improper environment, then controls mobile terminal execution power-off operation, the corresponding sample of improper environment includes The evaluating of each frequency point is in the second value under improper environment in antenna.
Wherein, mobile terminal refers to the electronic equipment for possessing network connecting function, and including but not limited to any one can With user by keyboard, touch tablet or voice-operated device carry out human-computer interaction electronic product, such as mobile phone, smart mobile phone, PAD, Laptop, tablet computer, POS machine, vehicle-mounted computer etc..Specifically, the evaluating can include arbitrarily characterizing The parameter of received antenna signal ability, for example, return loss, power etc., the present embodiment is not limited herein.Here institute The improper environment said refers to, can cause the scene of mobile terminal Damage by Short Circuit, for example, falling into fresh water or falling into seawater In etc..
In practical application, it can obtain in advance when mobile terminal antenna is under various improper environment, each frequency point is commented The value of valency parameter according to these values, establishes the corresponding sample of each improper environment, when needing to detect mobile terminal current institute When locating environment, the value of the evaluating of each frequency point under current environment, sample progress corresponding with improper environment can be taken Match somebody with somebody, if sample matches success corresponding with certain improper environment, illustrates that mobile terminal is currently under the improper environment.
Further, detect in the corresponding sample of each improper environment, if exist and the matched sample of the first value There are many methods.
Optionally, as shown in Figure 4 B, Fig. 4 B are the structural representation for another mobile terminal that the embodiment of the present invention four provides Figure, on the basis of Fig. 4 A illustrated embodiments, the mobile terminal further includes:
First computing module 43, if for processing module 42 detect in the presence of with the matched sample of the first value, really Determine antenna and be in improper environment, then it is corresponding for each improper environment before controlling mobile terminal execution power-off operation Sample, calculates the first difference of each frequency point, and the first difference of frequency point is corresponding with improper environment for corresponding first value of frequency point Corresponding second value of sample intermediate-frequeney point between difference;
First determination module 44, if for each frequency point the first difference in default first error range, judge The corresponding sample of improper environment is matched with the first value.
In present embodiment, the first computing module 43 calculates each frequency point for each corresponding sample of improper environment The difference of the value of evaluating under the present circumstances and the value under the improper environment, simply by the presence of any improper environment Corresponding sample so that when the corresponding above-mentioned difference of each frequency point is in default error range, the first determination module 44 then may be used Judge that the value of the evaluating of the corresponding sample of the improper environment and each frequency point under the present circumstances matches.
It directly can quickly detect whether to exist by present embodiment and work as front ring with the evaluating of each frequency point The matched sample of value under border, and then judge whether the environment that mobile terminal is presently in is normal.
Optional again, as shown in Figure 4 C, Fig. 4 C are that the structure for another mobile terminal that the embodiment of the present invention four provides is shown It is intended to, on the basis of Fig. 4 A illustrated embodiments, the mobile terminal further includes:
Second acquisition module 45, for obtaining the evaluating of default each frequency point in the first acquisition module 41 mobile whole The antenna at end is in before the first value under current environment, and the evaluating for obtaining each frequency point is in just in mobile terminal antenna The 3rd value under normal environment;
Second computing module 46, if for processing module 42 detect in the presence of with the matched sample of the first value, really Determine antenna and be in improper environment, then before controlling mobile terminal execution power-off operation, calculate the second difference of each frequency point, frequency point Difference of second difference between corresponding first value of frequency point the 3rd value corresponding with frequency point;
3rd computing module 47 for being directed to the corresponding sample of each improper environment, calculates the 3rd difference of each frequency point, 3rd difference of frequency point is corresponding second value of the corresponding sample intermediate-frequeney point of improper environment the 3rd value corresponding with frequency point Between difference;
4th computing module 48, for calculating the 4th difference of each frequency point, the 4th difference of frequency point is second poor for frequency point Difference between value and the 3rd difference of frequency point;
Second determination module 49, if for each frequency point the 4th difference in default second error range, judge The corresponding sample of improper environment is matched with the first value.
Specifically, in present embodiment, in addition to the first acquisition module 41 gathers the corresponding sample of improper environment, second Acquisition module 45 also acquires the corresponding sample of home in advance, in the value for determining whether to have with Evaluation: Current parameter During the sample matched somebody with somebody, the second computing module 46 first calculates the value of the evaluating of each frequency point in normal circumstances and in current environment Under value difference, the 3rd computing module 47 calculates the evaluating of each frequency point for the corresponding sample of each improper environment The difference of value in normal circumstances and the value under the improper environment, finally, the 4th computing module 48 is poor to the two Value is compared.Likewise, it is appreciated that deviation is smaller, then the value of the evaluating of each frequency point under the present circumstances with Value under the improper environment is closer.Correspondingly, simply by the presence of the corresponding sample of any improper environment so that each frequency point When corresponding above-mentioned deviation is in default error range, the second determination module 49 then can determine that the improper environment is corresponding The value of the evaluating of sample and each frequency point under the present circumstances matches.
By present embodiment, in addition to being referred to the corresponding sample of improper environment, it is also contemplated that home pair The sample answered, being capable of the more accurate value for practically detecting whether to have with the evaluating of each frequency point under the present circumstances Matched sample, and then judge whether the environment that mobile terminal is presently in is normal.
Mobile terminal provided in this embodiment is based on the evaluation ginseng of the signal reception of characterization mobile terminal antenna Number, establishes the corresponding sample parameter of various improper environment, current by what is collected so as to during the use of mobile terminal The value of evaluating under environment is compared with these sample parameters, if in the presence of the matched sample of value with currently gathering Parameter then illustrates the environment improper environments match corresponding with the sample parameter residing for current mobile terminal, you can judges to move Dynamic terminal is currently in improper environment, correspondingly, control mobile terminal execution power-off operation, to prevent in improper environment Under mobile terminal is caused to damage, avoid information lose and damage to property.
Further, there are many ways to obtaining evaluating value.In order to improve the accurate of mobile terminal detection protection Property and reliability, as shown in figure 5, Fig. 5 is the structure diagram of a kind of mobile terminal that the embodiment of the present invention five provides, implementing On the basis of example four, acquisition module 41 includes:
Acquisition component 51, for being directed to each frequency point, gather frequency point and in preset range near frequency point second The evaluating of frequency point is in the first value under current environment in antenna;
Calculating unit 52 for calculating the average value of frequency point and corresponding first value of the second frequency point, obtains frequency point and corresponds to The first value.
Specifically, when obtaining the first value of the evaluating of the frequency point under the present circumstances for some frequency point, acquisition Component 51 is in addition to gathering the actual value of the evaluating of the frequency point under the present circumstances, it is also necessary to gather near the frequency point The actual value of the evaluating of some frequency points under the present circumstances, calculating unit 52 are averaged, using average value as the frequency Corresponding first value of point.
Mobile terminal provided in this embodiment, when obtaining the value of the evaluating of certain frequency point under the present circumstances, knot The value for the evaluating for considering periphery frequency point is closed, and then obtains the value that can more accurately reflect actual conditions, So as to improve the accuracy and reliability of mobile terminal protection detection.
In addition, the mobile terminal in practical application would generally be provided with mutiple antennas.Therefore, supervised in order to which protection is effectively ensured The reliability and promptness of survey as long as monitoring that irregular change occurs for the environment residing for any antenna, that is, perform power-off operation. Correspondingly, the embodiment of the present invention six provides a kind of mobile terminal, on the basis of example IV or embodiment five, the antenna When quantity is multiple:
Acquisition module 41 specifically for being directed to each antenna, gathers the evaluating of each frequency point at the antenna in real time The first value under current environment;
Processing module 42, specifically for according to the corresponding sample of each improper environment, any antenna is worked as if detecting It is preceding to be in improper environment, then control the mobile terminal execution power-off operation.
Specifically, for being equipped with the scene of mutiple antennas in mobile terminal, it is necessary to be presently in simultaneously to mutiple antennas Environment be detected judgement, based on aforementioned schemes, if processing module 42 detects that any antenna is currently at improper environment, Power-off operation is then performed, to ensure that mobile terminal is not damaged.
Mobile terminal provided in this embodiment for the situation for being equipped with mutiple antennas, is detecting that any antenna is current When residing environment is abnormal, then the scheme of power-off operation is taken, can corresponding protection be taken according to current environment in time Measure improves the promptness and reliability of mobile terminal protection detection.
Fig. 6 is a kind of structure diagram for mobile terminal that the embodiment of the present invention seven provides, as shown in fig. 6, mobile terminal Including:
Memory 61, for storing program;
Processor 62 for performing the program of the memory storage, is existed with the evaluating for obtaining default each frequency point The antenna of mobile terminal is in the first value under current environment, and the evaluating of the frequency point is used to characterize the antenna to institute State the signal reception of each frequency point;According to the corresponding sample of each improper environment, if in the presence of with the matched sample of the first value, Then determine that the antenna is in improper environment, then controls the mobile terminal execution power-off operation, the improper environment pair The evaluating that the sample answered includes each frequency point is in the second value under the improper environment in the antenna.
Wherein, mobile terminal refers to the electronic equipment for possessing network connecting function, and including but not limited to any one can With user by keyboard, touch tablet or voice-operated device carry out human-computer interaction electronic product, such as mobile phone, smart mobile phone, PAD, Laptop, tablet computer, POS machine, vehicle-mounted computer etc..
Processor 62 may be a central processing unit (Central Processing Unit, referred to as CPU) or Be specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC) or by with It is set to the one or more integrated circuits for implementing the embodiment of the present invention.
Specifically, the evaluating can include the parameter that can arbitrarily characterize received antenna signal ability, for example, returning Ripple loss, power etc., the present embodiment is not limited herein.
Processor is obtained in advance when mobile terminal antenna is under various improper environment, and the evaluating of each frequency point takes Value, according to these values, establishes the corresponding sample of each improper environment, when detection mobile terminal is needed to be presently in environment, Processor is matched according to the value of the evaluating of each frequency point under current environment, sample corresponding with improper environment, such as Fruit sample matches success corresponding with certain improper environment, then illustrate that mobile terminal is currently under the improper environment.
Further, detect in the corresponding sample of each improper environment, if exist and the matched sample of the first value There are many methods.
Optionally, on the basis of Fig. 6 illustrated embodiments, processor 62 is additionally operable to perform the memory storage Program to be directed to the corresponding sample of each improper environment, calculates the first difference of each frequency point, the first difference of frequency point is frequency point Difference between corresponding second value of corresponding first value sample intermediate-frequeney point corresponding with improper environment;If each frequency point First difference then judges that the corresponding sample of improper environment is matched with the first value in default first error range.
Specifically, in present embodiment, for the corresponding sample of each improper environment, the evaluating of each frequency point is calculated The difference of value under the present circumstances and the value under the improper environment, it will be understood that difference is smaller, then each frequency point is commented The value of valency parameter under the present circumstances and the value under the improper environment are closer.Correspondingly, simply by the presence of any non- The corresponding sample of home so that when the corresponding above-mentioned difference of each frequency point is in default error range, then can determine that this The value of the evaluating of the corresponding sample of improper environment and each frequency point under the present circumstances matches.
It directly can quickly detect whether to exist by present embodiment and work as front ring with the evaluating of each frequency point The matched sample of value under border, and then judge whether the environment that mobile terminal is presently in is normal.
Optional again, on the basis of Fig. 6 illustrated embodiments, processor 62 is additionally operable to perform the memory storage Program, the 3rd value under home is in mobile terminal antenna with the evaluating for obtaining each frequency point;Calculate each frequency Second difference of point, the difference of the second difference of frequency point between corresponding first value of frequency point the 3rd value corresponding with frequency point Value;For the corresponding sample of each improper environment, the 3rd difference of each frequency point is calculated, the 3rd difference of frequency point is improper ring Difference between corresponding second value of the corresponding sample intermediate-frequeney point in border the 3rd value corresponding with frequency point;Calculate the of each frequency point Four differences, the 4th difference of frequency point are the difference between the second difference of frequency point and the 3rd difference of frequency point;If the of each frequency point Four differences then judge that the corresponding sample of improper environment is matched with the first value in default second error range.
Specifically, in present embodiment, in addition to gathering the corresponding sample of improper environment, normal ring is also acquired in advance The corresponding sample in border when determining whether to have sample matched with the value of Evaluation: Current parameter, first calculates commenting for each frequency point The difference of the value of valency parameter in normal circumstances and value under the present circumstances, and for each corresponding sample of improper environment This, calculates the difference of the value of the evaluating of each frequency point in normal circumstances and the value under the improper environment, finally, right The two differences are compared.Likewise, it is appreciated that deviation is smaller, then the evaluating of each frequency point is under the present circumstances Value and the value under the improper environment are closer.Correspondingly, simply by the presence of the corresponding sample of any improper environment, make The corresponding above-mentioned deviation of each frequency point in default error range when, then can determine that the corresponding sample of the improper environment with The value matching of the evaluating of each frequency point under the present circumstances.
By present embodiment, in addition to being referred to the corresponding sample of improper environment, it is also contemplated that home pair The sample answered, being capable of the more accurate value for practically detecting whether to have with the evaluating of each frequency point under the present circumstances Matched sample, and then judge whether the environment that mobile terminal is presently in is normal.
Further, obtain evaluating value method also there are many.In order to improve the standard of mobile terminal detection protection True property and reliability, on the basis of foregoing any embodiment, processor 62, specifically for performing the memory storage Program, to be directed to each frequency point, the evaluating for gathering frequency point and the second frequency point in preset range near frequency point exists Antenna is in the first value under current environment;Frequency point and the average value of corresponding first value of the second frequency point are calculated, obtains frequency Corresponding first value of point.
Specifically, when obtaining the first value of the evaluating of the frequency point under the present circumstances for some frequency point, except It directly gathers outside the actual value of the evaluating of the frequency point under the present circumstances, it is also necessary to gather some frequencies near the frequency point The evaluating actual value under the present circumstances of point, and pass through and average, using average value as the frequency point corresponding the One value.
It is attached to have taken periphery into consideration when obtaining the value of the evaluating of certain frequency point under the present circumstances for present embodiment The value of the evaluating of nearly frequency point, and then the value that can more accurately reflect actual conditions is obtained, it is mobile whole so as to improve The accuracy and reliability of end protection detection.
Mobile terminal in practical application would generally be provided with mutiple antennas.Therefore, in order to monitoring for protection is effectively ensured Reliability and promptness, on the basis of foregoing any embodiment, when the quantity of the antenna is multiple, processor 62 is used In the program for performing the memory storage, to be directed to each antenna, the evaluating for gathering each frequency point in real time is in antenna The first value under current environment;According to the corresponding sample of each improper environment, if detect any antenna be currently at it is non-just Normal environment then controls mobile terminal execution power-off operation.
Specifically, for being equipped with the scene of mutiple antennas in mobile terminal, it is necessary to be presently in simultaneously to mutiple antennas Environment be detected judgement, based on aforementioned schemes, if detecting, any antenna is currently at improper environment, performs shutdown Operation, to ensure that mobile terminal is not damaged.
Present embodiment, which is directed in mobile terminal, is equipped with the situation of mutiple antennas, is detecting that any antenna is presently in Environment it is abnormal when, then take the scheme of power-off operation, can corresponding safeguard measure be taken according to current environment in time, Improve the promptness and reliability of mobile terminal protection detection.
Optionally, in specific implementation, if processor 62 and the independent realization of memory 61, processor 62 and memory 61 can be connected with each other by bus and complete mutual communication.Bus can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, the interconnection of external mobile terminal (Peripheral Component, letter Referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, letter Referred to as EISA) bus etc..Bus can be divided into address bus, data/address bus, controlling bus etc..For ease of representing, only used in figure One thick line represents, it is not intended that an only bus or a type of bus.
Mobile terminal provided in this embodiment is based on the evaluation ginseng of the signal reception of characterization mobile terminal antenna Number, establishes the corresponding sample parameter of various improper environment, current by what is collected so as to during the use of mobile terminal The value of evaluating under environment is compared with these sample parameters, if in the presence of the matched sample of value with currently gathering Parameter then illustrates the environment improper environments match corresponding with the sample parameter residing for current mobile terminal, you can judges to move Dynamic terminal is currently in improper environment, correspondingly, control mobile terminal execution power-off operation, to prevent in improper environment Under mobile terminal is caused to damage, avoid information lose and damage to property.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description Specific work process, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to Can so modify to the technical solution recorded in foregoing embodiments either to which part or all technical characteristic into Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is not made to depart from various embodiments of the present invention technology The scope of scheme.

Claims (11)

1. a kind of detection guard method, applied in mobile terminal, which is characterized in that including:
The evaluating for obtaining default each frequency point is in the first value under current environment, the frequency in the antenna of mobile terminal The evaluating of point is used to characterize signal reception of the antenna to each frequency point;
According to the corresponding sample of each improper environment, if in the presence of with the matched sample of the first value, it is determined that the antenna is in Improper environment, then control the mobile terminal execution power-off operation, and the corresponding sample of the improper environment includes described each The evaluating of frequency point is in the second value under the improper environment in the antenna.
If 2. according to the method described in claim 1, it is characterized in that, it is described in the presence of with the matched sample of the first value, really The fixed antenna is in improper environment, then before controlling the mobile terminal execution power-off operation, further includes:
For the corresponding sample of each improper environment, the first difference of each frequency point, the first difference of the frequency point are calculated For corresponding second value of frequency point described in corresponding first value of frequency point sample corresponding with the improper environment it Between difference;
If the first difference of each frequency point in default first error range, judges that the improper environment is corresponding Sample is matched with first value.
3. according to the method described in claim 1, it is characterized in that, the evaluating for obtaining default each frequency point is in movement The antenna of terminal is in before the first value under current environment, is further included:
The evaluating for obtaining each frequency point is in the 3rd value under home in mobile terminal antenna;
If it is described in the presence of with the matched sample of the first value, it is determined that the antenna is in improper environment, then controls the shifting Before dynamic terminal performs power-off operation, further include:
Calculate the second difference of each frequency point, the second difference of the frequency point for corresponding first value of the frequency point with it is described Difference between corresponding 3rd value of frequency point;
For the corresponding sample of each improper environment, the 3rd difference of each frequency point, the 3rd difference of the frequency point are calculated For corresponding second value of frequency point the 3rd value corresponding with the frequency point described in the corresponding sample of the improper environment it Between difference;
The 4th difference of each frequency point is calculated, the 4th difference of the frequency point is the second difference of the frequency point and the frequency point The 3rd difference between difference;
If the 4th difference of each frequency point in default second error range, judges that the improper environment is corresponding Sample is matched with first value.
4. method according to any one of claim 1-3, which is characterized in that the quantity of the antenna is multiple;It is described The evaluating for obtaining default each frequency point is in the first value under current environment in the antenna of mobile terminal, including:
For each antenna, the evaluating for gathering each frequency point in real time is in the first value under current environment in the antenna;
The control mobile terminal execution power-off operation, including:
According to the corresponding sample of each improper environment, if detecting, any antenna is currently at improper environment, controls The mobile terminal execution power-off operation.
5. according to the method described in claim 1, it is characterized in that, the evaluating for obtaining default each frequency point is in movement The antenna of terminal is in the first value under current environment, including:
For each frequency point, the evaluation for gathering the frequency point and the second frequency point in preset range near the frequency point is joined Number is in the first value under current environment in the antenna;
The frequency point and the average value of corresponding first value of second frequency point are calculated, the frequency point corresponding first is obtained and takes Value.
6. a kind of mobile terminal, which is characterized in that including:
First acquisition module, the evaluating for obtaining default each frequency point are in the antenna of mobile terminal under current environment The first value, the evaluating of the frequency point is for characterizing signal reception of the antenna to each frequency point;
Processing module, for according to the corresponding sample of each improper environment, if in the presence of with the matched sample of the first value, it is determined that The antenna is in improper environment, then controls the mobile terminal execution power-off operation, the corresponding sample of the improper environment This evaluating for including each frequency point is in the second value under the improper environment in the antenna.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further includes:
First computing module, if for the processing module detect in the presence of with the matched sample of the first value, it is determined that institute It states antenna and is in improper environment, then before controlling the mobile terminal execution power-off operation, for each improper environment pair The sample answered calculates the first difference of each frequency point, and the first difference of the frequency point is corresponding first value of the frequency point Difference described in sample corresponding with the improper environment between corresponding second value of frequency point;
First determination module, if for each frequency point the first difference in default first error range, judge institute The corresponding sample of improper environment is stated to match with first value.
8. mobile terminal according to claim 6, which is characterized in that the mobile terminal further includes:
Second acquisition module, for obtaining the evaluating of default each frequency point in first acquisition module in mobile terminal Antenna is in before the first value under current environment, and the evaluating for obtaining each frequency point is in just in mobile terminal antenna The 3rd value under normal environment;
Second computing module, if for the processing module detect in the presence of with the matched sample of the first value, it is determined that institute It states antenna and is in improper environment, then before controlling the mobile terminal execution power-off operation, calculate the second of each frequency point Difference, the second difference of the frequency point is between corresponding first value of the frequency point the 3rd value corresponding with the frequency point Difference;
3rd computing module for being directed to the corresponding sample of each improper environment, calculates the 3rd difference of each frequency point, institute The 3rd difference for stating frequency point is corresponding second value of frequency point and the frequency point described in the corresponding sample of the improper environment Difference between corresponding 3rd value;
4th computing module, for calculating the 4th difference of each frequency point, the 4th difference of the frequency point is the frequency point Difference between second difference and the 3rd difference of the frequency point;
Second determination module, if for each frequency point the 4th difference in default second error range, judge institute The corresponding sample of improper environment is stated to match with first value.
9. according to the mobile terminal any one of claim 6-8, which is characterized in that the quantity of the antenna is multiple;
The acquisition module, specifically for being directed to each antenna, the evaluating for gathering each frequency point in real time is in the antenna The first value under current environment;
The processing module, specifically for according to the corresponding sample of each improper environment, any antenna is current if detecting In improper environment, then the mobile terminal execution power-off operation is controlled.
10. mobile terminal according to claim 6, which is characterized in that the acquisition module includes:
Acquisition component, for being directed to each frequency point, gather the frequency point and in preset range near the frequency point The evaluating of two frequency points is in the first value under current environment in the antenna;
Calculating unit for calculating the average value of the frequency point and corresponding first value of second frequency point, obtains the frequency Corresponding first value of point.
11. a kind of mobile terminal, which is characterized in that including:
Memory, for storing program;
Processor, for performing the program of the memory storage, to obtain the evaluating of default each frequency point mobile whole The antenna at end is in the first value under current environment, and the evaluating of the frequency point is used to characterize the antenna to each frequency The signal reception of point;According to the corresponding sample of each improper environment, if in the presence of with the matched sample of the first value, it is determined that The antenna is in improper environment, then controls the mobile terminal execution power-off operation, the corresponding sample of the improper environment This evaluating for including each frequency point is in the second value under the improper environment in the antenna.
CN201510582182.2A 2015-09-14 2015-09-14 Detect guard method and mobile terminal Active CN105184198B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510582182.2A CN105184198B (en) 2015-09-14 2015-09-14 Detect guard method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510582182.2A CN105184198B (en) 2015-09-14 2015-09-14 Detect guard method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105184198A CN105184198A (en) 2015-12-23
CN105184198B true CN105184198B (en) 2018-06-01

Family

ID=54906271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510582182.2A Active CN105184198B (en) 2015-09-14 2015-09-14 Detect guard method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105184198B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108732445A (en) * 2018-05-29 2018-11-02 北京小米移动软件有限公司 Rear cover detection method and device
CN110332569B (en) * 2019-07-10 2021-04-13 中山市创尔特智能家居科技有限公司 Gas stove with separable control part and control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077360A (en) * 2012-12-13 2013-05-01 广东欧珀移动通信有限公司 Method and device for protecting mobile terminal
CN103827885A (en) * 2013-10-28 2014-05-28 华为终端有限公司 Method, device and electronic device for protecting terminal
CN104217181A (en) * 2013-06-05 2014-12-17 维沃移动通信有限公司 Intelligent waterproof method and system for mobile handheld device
CN104484630A (en) * 2014-12-08 2015-04-01 合肥联宝信息技术有限公司 Laptop protecting method and device
CN104580654A (en) * 2013-10-09 2015-04-29 中兴通讯股份有限公司 A terminal and an electronic waterproof method
CN104598848A (en) * 2015-02-11 2015-05-06 山东诺安诺泰信息系统有限公司 Waterproof protecting system for notebook computer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5074360B2 (en) * 2008-11-26 2012-11-14 京セラ株式会社 Electronics

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077360A (en) * 2012-12-13 2013-05-01 广东欧珀移动通信有限公司 Method and device for protecting mobile terminal
CN104217181A (en) * 2013-06-05 2014-12-17 维沃移动通信有限公司 Intelligent waterproof method and system for mobile handheld device
CN104580654A (en) * 2013-10-09 2015-04-29 中兴通讯股份有限公司 A terminal and an electronic waterproof method
CN103827885A (en) * 2013-10-28 2014-05-28 华为终端有限公司 Method, device and electronic device for protecting terminal
CN104484630A (en) * 2014-12-08 2015-04-01 合肥联宝信息技术有限公司 Laptop protecting method and device
CN104598848A (en) * 2015-02-11 2015-05-06 山东诺安诺泰信息系统有限公司 Waterproof protecting system for notebook computer

Also Published As

Publication number Publication date
CN105184198A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
US20220043067A1 (en) Charging method and device, charging system, electronic equipment and storage medium
US10506990B2 (en) Devices and methods for fall detection based on phase segmentation
CN104780316B (en) A kind of camera starts detection method and camera starts detection means
CN108229555A (en) Sample weights distribution method, model training method, electronic equipment and storage medium
KR20160085806A (en) Transmitting power control method and apparatus
CN107171742B (en) Terminal signaling processing method, storage medium and terminal
CN104408874B (en) Security pre-alarm method and device
CN104238743A (en) Information processing apparatus, and information processing method
CN107147450B (en) Radio frequency interference processing method, device, storage medium and terminal
JP7344393B2 (en) Cell internal short circuit fault detection method, apparatus, device and medium
CN105184198B (en) Detect guard method and mobile terminal
CN109217922B (en) Method and device for reporting loss alarm of received signal by optical module
CN107817537B (en) Wear control method and device, the wearable device of detection
CN104184882B (en) A kind of method and apparatus that PA blanking mode of operation is set
CN104898838B (en) The incoming call response method and device of handheld device
CN109088986A (en) Mobile terminal guard method, mobile terminal and computer readable storage medium
CN103888107B (en) Data decoding method
CN108337370A (en) Fault detection method and related product
CN106304181A (en) The signal intensity reminding method of mobile communications network and device
CN109066870B (en) Charging management method, device, medium and electronic equipment applying method
CN108762526A (en) A kind of acceleration sensor triggering judgment method in smart machine and device
CN113888838A (en) Sleeping posture monitoring and alarming method and device and storage medium
US8369392B2 (en) Cable modem
CN108111625A (en) Data transmission method and related product
CN109541384A (en) Detect device, communication equipment and the method for connector connection state

Legal Events

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