CN107846325A - A kind of network state detection method and terminal - Google Patents

A kind of network state detection method and terminal Download PDF

Info

Publication number
CN107846325A
CN107846325A CN201711093679.3A CN201711093679A CN107846325A CN 107846325 A CN107846325 A CN 107846325A CN 201711093679 A CN201711093679 A CN 201711093679A CN 107846325 A CN107846325 A CN 107846325A
Authority
CN
China
Prior art keywords
terminal
temperature
coefficient
network
network fluctuation
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
CN201711093679.3A
Other languages
Chinese (zh)
Other versions
CN107846325B (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201711093679.3A priority Critical patent/CN107846325B/en
Publication of CN107846325A publication Critical patent/CN107846325A/en
Application granted granted Critical
Publication of CN107846325B publication Critical patent/CN107846325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions

Abstract

The present embodiments relate to field of terminal technology, and disclosing a kind of network state detection method and terminal, this method includes:Obtain the current inside temperature of terminal;When internal temperature is more than preset temperature in this prior, the network fluctuation coefficient of terminal is obtained;When network fluctuation coefficient is adapted with predetermined coefficient, preset operation corresponding to the network fluctuation coefficient is performed to the wireless network of terminal;By implementing the embodiment of the present invention, terminal frequently scanning network aggravation terminal heating in the case of network signal is unstable is on the one hand prevented, plays the purpose of protection terminal;On the other hand avoid opening when during wireless network breaking, improve the use comfort of user.

Description

A kind of network state detection method and terminal
Technical field
The present invention relates to field of terminal technology, and in particular to a kind of network state detection method and terminal.
Background technology
When temperature is too high, if WiFi network signal is poorer, (WiFi is fluctuated terminal (such as cell phone, tablet personal computer) It is bigger, it is meant that WiFi disconnects to be connected again, constantly repeats this step), machine is higher to WiFi search sweep frequencies, causes System quick operation, and then aggravate terminal heating, if temperature is too high, easily causes the abnormal heating of terminal, terminal is caused Machinery damage, and WiFi fluctuations are serious, and excessively poor usage experience can be also brought to user.
The content of the invention
The embodiment of the invention discloses a kind of network state detection method and terminal, for solving in the prior art because of machine Frequently scan the problem of unstable network causes machine to generate heat.
First aspect present invention discloses a kind of network state detection method, it may include:
Obtain the current inside temperature of terminal;
When the current inside temperature is more than preset temperature, the network fluctuation coefficient of the terminal is obtained;
When the network fluctuation coefficient is adapted with predetermined coefficient, the network is performed to the wireless network of the terminal Preset operation corresponding to coefficient of variation.
As an alternative embodiment, in first aspect present invention, it is more than in the current inside temperature default During temperature, and before the network fluctuation coefficient for obtaining the terminal, methods described also includes:
When the current inside temperature is more than preset temperature, using time point corresponding to the current inside temperature as according to According to, obtain time point corresponding to the current inside temperature it is preceding sometime point corresponding to the terminal history inside temperature Degree, judges whether the current inside temperature is more than the history internal temperature;
When the current inside temperature is more than the history internal temperature, when according to corresponding to the current inside temperature Between point and it is described sometime point obtain a duration, according to the current inside temperature, the history internal temperature and it is described when It is long to obtain temperature varying coefficient, perform it is described obtain the terminal network fluctuation coefficient the step of.
As an alternative embodiment, in first aspect present invention, it is described in the network fluctuation coefficient and pre- If coefficient is adapted, preset operation corresponding to the network fluctuation coefficient is performed to the wireless network of the terminal, including:
Judge whether the temperature varying coefficient is more than or equal to temperature change threshold value;
When the temperature varying coefficient is less than the temperature change threshold value, judge whether the network fluctuation coefficient is more than Or equal to first threshold, when the network fluctuation coefficient is more than or equal to the first threshold, close the terminal Wireless network;
When the temperature varying coefficient is more than or equal to the temperature change threshold value, the network fluctuation coefficient is judged Whether Second Threshold is more than or equal to;When the network fluctuation coefficient is more than or equal to the Second Threshold, institute is judged State whether network fluctuation coefficient is more than or equal to the first threshold, be more than or equal in the network fluctuation coefficient described During first threshold, the wireless network of the terminal is closed;When the network fluctuation coefficient is less than the first threshold, reminds and use The wireless network of the terminal is closed at family;When the network fluctuation coefficient is less than the Second Threshold, user is reminded to close institute State the wireless network of terminal.
As an alternative embodiment, in first aspect present invention, methods described also includes:
When the current inside temperature is less than the history internal temperature, judge whether the temperature varying coefficient is more than Or equal to temperature change threshold value;
When the temperature varying coefficient is less than the temperature change threshold value, judge whether the network fluctuation coefficient is more than Or equal to Second Threshold, when the network fluctuation coefficient is more than or equal to the Second Threshold, user is reminded to close institute State the wireless network of terminal.
As an alternative embodiment, in first aspect present invention, the network fluctuation for obtaining the terminal Coefficient, including:
Detect the terminal wireless network disconnected in the duration after the number that reconnects, using the number as The network fluctuation coefficient of the terminal.
Second aspect of the present invention discloses a kind of terminal, it may include:
Temperature acquiring unit, for obtaining the current inside temperature of terminal;
Coefficient acquiring unit, for when the current inside temperature is more than preset temperature, obtaining the network of the terminal Coefficient of variation;
Operation execution unit, for when the network fluctuation coefficient is adapted with predetermined coefficient, to the nothing of the terminal Gauze network performs preset operation corresponding to the network fluctuation coefficient.
As an alternative embodiment, in second aspect of the present invention, the terminal also includes:
Numerical value determining unit, for when the current inside temperature is more than preset temperature, the operation execution unit to obtain Before taking the network fluctuation coefficient of the terminal, using time point corresponding to the current inside temperature as foundation, described work as is obtained Time point corresponding to preceding internal temperature it is preceding sometime point corresponding to the terminal history internal temperature, judge it is described currently Whether internal temperature is more than the history internal temperature;When the current inside temperature is more than the history internal temperature, root A duration is obtained according to time point corresponding to the current inside temperature and the sometime point, according to the current internal temperature Degree, the history internal temperature and the duration obtain temperature varying coefficient.
As an alternative embodiment, in second aspect of the present invention, the operation execution unit is used for described When network fluctuation coefficient is adapted with predetermined coefficient, the wireless network of the terminal is performed corresponding to the network fluctuation coefficient The mode of preset operation is specially:
The operation execution unit is used to judge whether the temperature varying coefficient is more than or equal to temperature change threshold value; When the temperature varying coefficient is less than the temperature change threshold value, judge whether the network fluctuation coefficient is more than or equal to First threshold, when the network fluctuation coefficient is more than or equal to the first threshold, close the wireless network of the terminal; When the temperature varying coefficient is more than or equal to the temperature change threshold value, judge whether the network fluctuation coefficient is more than Or equal to Second Threshold;When the network fluctuation coefficient is more than or equal to the Second Threshold, the network ripple is judged Whether dynamic coefficient is more than or equal to the first threshold, is more than or equal to the first threshold in the network fluctuation coefficient When, close the wireless network of the terminal;When the network fluctuation coefficient is less than the first threshold, user is reminded to close institute State the wireless network of terminal;When the network fluctuation coefficient is less than the Second Threshold, user is reminded to close the terminal Wireless network.
As an alternative embodiment, in second aspect of the present invention, the operation execution unit is additionally operable in institute When stating current inside temperature and being less than the history internal temperature, judge whether the temperature varying coefficient is more than or equal to temperature Change threshold;When the temperature varying coefficient is less than the temperature change threshold value, judge whether the network fluctuation coefficient is big In or equal to Second Threshold, when the network fluctuation coefficient is more than or equal to the Second Threshold, user is reminded to close The wireless network of the terminal.
As an alternative embodiment, in second aspect of the present invention, the coefficient acquiring unit is used to obtain institute The mode for stating the network fluctuation coefficient of terminal is specially:
Time that the wireless network of the coefficient acquiring unit detection terminal reconnects after being disconnected in the duration Number, the network fluctuation coefficient using the number as the terminal.
Third aspect present invention discloses a kind of terminal, it may include:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as first party of the present invention Network state detection method disclosed in face.
Fourth aspect present invention discloses a kind of computer-readable recording medium, and it is stored based on electronic data interchange Calculation machine program, wherein, the computer program causes computer to perform the network state detection as disclosed in first aspect present invention Method.
Compared with prior art, the embodiment of the present invention has the advantages that:
In embodiments of the present invention, the current inside temperature of terminal is obtained, when current inside temperature is more than preset temperature, The network fluctuation coefficient of terminal is obtained, when network fluctuation coefficient and predetermined coefficient match, the wireless network of terminal is performed Preset operation corresponding to network fluctuation coefficient;As can be seen that in embodiments of the present invention, pass through the current internal temperature of detection terminal Degree, when current inside temperature is more than preset temperature (explanation terminal is in febrile state), then further according to network fluctuation Coefficient, to preset operation corresponding to the wireless network execution network fluctuation coefficient of terminal, terminal can be prevented in network signal not Frequently the situation of scanning network aggravation terminal heating occurs under stable case, so as to play the purpose of protection terminal;In addition, can According to network fluctuation coefficient, when wireless network is unstable, preset operation is performed to wireless network, when avoiding breaking during wireless network Open, improve the use comfort of user.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the schematic flow sheet of network state detection method disclosed in the embodiment of the present invention;
Fig. 2 is another schematic flow sheet of network state detection method disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of terminal disclosed in the embodiment of the present invention;
Fig. 4 is another structural representation of terminal disclosed in the embodiment of the present invention;
Fig. 5 is another structural representation of terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
It should be noted that the term " comprising " and " having " of the embodiment of the present invention and their any deformation, it is intended that Be to cover it is non-exclusive include, for example, containing the process of series of steps or unit, method, system, product or equipment not Be necessarily limited to those steps or the unit clearly listed, but may include not list clearly or for these processes, side The intrinsic other steps of method, product or equipment or unit.
The embodiment of the invention discloses a kind of network state detection method, for preventing terminal from pledging love in network signal shakiness Frequently the situation of scanning network aggravation terminal heating occurs under condition, so as to play the purpose of protection terminal, further avoids wireless Opened when breaking during network, improve the use comfort of user.The embodiment of the present invention also accordingly discloses a kind of terminal.
The present embodiments relate to terminal can include but are not limited to cell phone, mobile flat board, individual digital and help Manage (Personal Digital Assistant, PDA), multimedia player, electronic reader, wearable device, movement mutually The various equipment that can possess network-connectivity such as networked devices (Mobile Internet Device, MID), computer. In conjunction with specific embodiments, technical solution of the present invention will be described in detail from terminal point below.
Embodiment one
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of network state detection method disclosed in the embodiment of the present invention;Such as Fig. 1 institutes Show, a kind of network state detection method may include:
101st, terminal obtains current inside temperature.
As an alternative embodiment, terminal starts built-in temperature collecting device, collection current inside temperature B2.
102nd, when current inside temperature is more than preset temperature, terminal obtains network fluctuation coefficient.
Wherein, network fluctuation coefficient is used for instruction terminal network (such as wireless network) (certain time period in a certain duration It is interior) disconnect after the number that reconnects.Acquisition time such as current inside temperature is T2, then before the T2 time points At (according to time shaft past time) T1 time points, duration (period) i.e. T2-T1, network are obtained according to T1 and T2 Coefficient of variation is that the number reconnected after the network (such as wireless network) of terminal disconnects in the duration is (repeated multiple times to disconnect again Reconnect), and then, in some embodiments of the invention, terminal obtains network fluctuation coefficient and specifically included:Terminal detection is wireless The number that network reconnects after being disconnected in duration, the network fluctuation coefficient using the number as terminal.
For example, setting terminal WiFi is in normal circumstances, it is WiFi coefficient of variation to reconnect number after disconnecting within 5 minutes, It is 3, WiFi coefficient of variation A=3 to reconnect number after WiFi disconnects in 5 minutes.Wherein, A is bigger, WiFi connection signals It is more unstable.
Such as A≤2, WiFi connection signal stabilizations;
As 3≤A≤5, WiFi connection signals are slightly unstable;
As 6≤A≤8, WiFi connection signal moderates are unstable;
As 9≤A, WiFi connection signals are highly unstable.
Based on above-mentioned introduction, in embodiments of the present invention, can be believed according to the network connection that network fluctuation coefficient is reflected Number stable case, first threshold and Second Threshold, two kinds of degree of the unstable networks for representing terminal, first threshold are set Such as represent that network signal is highly unstable, Second Threshold is as unstable in represented network signal moderate, will be carried out in subsequent embodiment It is detailed further, it will not be repeated here.
As an alternative embodiment, when current inside temperature is more than preset temperature, and terminal obtains network Before coefficient of variation, the physical state of router is detected, and when the physical state indicates router normal work, perform acquisition The step of network fluctuation coefficient.
Further, the physical state of router include but are not limited to router whether correctly start, router whether Whether damage None- identified, fire wall isolate.
103rd, when network fluctuation coefficient is adapted with predetermined coefficient, terminal-pair wireless network performs the network fluctuation coefficient Corresponding preset operation.
In embodiments of the present invention, the current inside temperature of terminal is obtained, when current inside temperature is more than preset temperature, The network fluctuation coefficient of terminal is obtained, when network fluctuation coefficient and predetermined coefficient match, the wireless network of terminal is performed Preset operation corresponding to network fluctuation coefficient;As can be seen that in embodiments of the present invention, pass through the current internal temperature of detection terminal Degree, when current inside temperature is more than preset temperature (explanation terminal is in febrile state), then further according to network fluctuation Coefficient, to preset operation corresponding to the wireless network execution network fluctuation coefficient of terminal, terminal can be prevented in network signal not Frequently the situation of scanning network aggravation terminal heating occurs under stable case, so as to play the purpose of protection terminal;In addition, can According to network fluctuation coefficient, when wireless network is unstable, preset operation is performed to wireless network, when avoiding breaking during wireless network Open, improve the use comfort of user.
Embodiment two
Referring to Fig. 2, Fig. 2 is another schematic flow sheet of network state detection method disclosed in the embodiment of the present invention;Such as Shown in Fig. 2, a kind of network state detection method may include:
201st, terminal obtains current inside temperature B2.Wherein, when internal temperature B2 is more than preset temperature C1 in this prior, turn To step 202;When internal temperature B2 is less than or equal to preset temperature C1 in this prior, terminate the flow.
It is appreciated that terminal has its corresponding normal working temperature, and it is then anon-normal normal temperature more than the normal working temperature Spend (improper heating), by the current inside temperature B2 of detection terminal, further to identify the terminal whether in heating shape State.
202nd, terminal is when internal temperature B2 is more than preset temperature C1 in this prior, during with corresponding to current inside temperature B2 Between point T2 be foundation, obtain time point T2 corresponding to current inside temperature B2 in temperature inside history corresponding to preceding sometime point T1 Spend B1.
Wherein, preset temperature C1 is normal working temperature, then obtains terminal within corresponding to two time points of T1 and T2 Portion's temperature.
203rd, terminal judges whether current inside temperature B2 is more than history internal temperature B1.Wherein, in current internal When temperature B2 is more than history internal temperature B1, step 204 is turned to.
As an alternative embodiment, when current inside temperature B2 is less than history internal temperature B1, and holding After row step 204 and 205, terminal determines whether temperature varying coefficient B is more than or equal to temperature change threshold value C; And when temperature varying coefficient B is less than temperature change threshold value C, judge whether network fluctuation coefficient A is more than or equal to second Threshold value A 2, when network fluctuation coefficient A is more than or equal to Second Threshold A2, user is reminded to close wireless network.By this Embodiment, when current inside temperature B2 is less than history internal temperature B1, network fluctuation coefficient A is further seen, in network ripple When dynamic coefficient A reaction networks are unstable, user is reminded, user can select to close wireless network.
It is when current inside temperature B2 is equal to history internal temperature B1, i.e., warm as another optional embodiment It is zero to spend variation coefficient B, and after step 204 and 205 is performed, terminal further identifies whether network fluctuation coefficient A is more than Or equal to first threshold, when network fluctuation coefficient A is more than or equal to first threshold, terminal reminds user to close wireless network.
204th, terminal according to corresponding to current inside temperature B2 time point T2 and sometime point T1 obtain a duration S, root Temperature varying coefficient B is obtained according to current inside temperature B2, history internal temperature B1 and duration S.
The introduction being incorporated in embodiment one, for example, setting machine normal temperature as 0 DEG C -30 DEG C, then by 30 DEG C of settings For preset temperature, current inside temperature B2 specifically refers to current inside temperature B2 more than 30 DEG C more than preset temperature C1.Terminal Current inside temperature is B2, then temperature varying coefficient B has following several situations:
1) when B2 ∈ [0,30], terminal is under normal temperature condition, is now calculated without temperature varying coefficient;
2) as B2 ∈ (30 ,+∞), terminal temperature is too high, under febrile state, is in T1 time point internal temperatures B1, temperature varying coefficient B=| B2-B1 |/N, wherein, | B2-B1 | refer to B2-B1 absolute value, N is T1 time points to the T2 times The duration of point.
As B2 > B1, temperature is rising, if B is bigger, the amplitude that terminal temperature rises is bigger;
As B2 < B1, temperature is declining, if B is bigger, the amplitude that terminal temperature declines is bigger;
As B2=B1, temperature is unchanged, B=0;
3) as B2 ∈ (- ∞, 0), terminal temperature is relatively low, i.e., under a kind of colder ambient condition, does not enter now Trip temperature variation coefficient calculate (terminal in cold environments, it is necessary to generate heat to keep machine normal operation, thus no matter network fluctuation What state, it need not all close network).
205th, terminal obtains network fluctuation coefficient A.
Wherein, in certain embodiments, while current inside temperature B2 is obtained, network fluctuation coefficient A is obtained, or First obtain network fluctuation coefficient A and obtain current inside temperature B2 again, the embodiment of the present invention is not especially limited to this.
206th, terminal judges whether temperature varying coefficient B is more than or equal to temperature change threshold value C.Wherein, in the temperature Degree variation coefficient B is less than temperature change threshold value C, turns to step 207;Become in temperature varying coefficient B more than or equal to temperature When changing threshold value C, step 208 is turned to.
C=3, as B >=C, illustrate in the duration, the amplitude of variation of temperature is larger.
In embodiments of the present invention, C can be using value as 3.
207th, terminal judges whether network fluctuation coefficient A is more than or equal to first threshold A1.Wherein, in network fluctuation system When number A is more than or equal to first threshold A1, step 210 is turned to;
208th, terminal judges network fluctuation coefficient when temperature varying coefficient B is more than or equal to temperature change threshold value C Whether A is more than or equal to Second Threshold A2.Wherein, when network fluctuation coefficient A is more than or equal to Second Threshold A2, turn To step 209;When network fluctuation coefficient A is less than Second Threshold, step 211 is turned to.
209th, for terminal when network fluctuation coefficient A is more than or equal to Second Threshold A2, terminal judges the network fluctuation Whether coefficient A is more than or equal to first threshold A1.Wherein, when network fluctuation coefficient A is more than or equal to first threshold A1, Turn to step 210;When network fluctuation coefficient A is less than first threshold A1, step 211 is turned to.
210th, terminal closes wireless network.
Terminal ejects prompt window to prompt user radio network to be turned off when closing wireless network.
211st, terminal reminds user to close wireless network.
Specifically included as an alternative embodiment, terminal reminds user to close wireless network:Terminal ejection prompting Window, the display reminding information in prompt window, the prompt message are used to prompt the wireless network of user terminal unstable, it is proposed that Close, in case the heating of aggravation terminal, causes the abnormal heating of terminal.
As another optional embodiment, terminal is reminded user to close wireless network and specifically included:Terminal obtain with Its other mobile terminal bound, prompt message is sent to other mobile terminals, the prompt message is used to prompt user terminal Wireless network is unstable, it is proposed that closes, in case the heating of aggravation terminal, causes the abnormal heating of terminal.
By above-described embodiment, in the case of unstable networks, by directly closing wireless network or suggesting that user is closed Wireless network is closed, prevents that frequently the situation of scanning network aggravation terminal heating occurs terminal in the case of network signal is unstable, So as to play the purpose of protection terminal;In addition, can be according to network fluctuation coefficient, when wireless network is unstable, to wireless network Network performs preset operation, avoids opening when during wireless network breaking, improves the use comfort of user.
Embodiment three
Referring to Fig. 3, Fig. 3 is the structural representation of terminal disclosed in the embodiment of the present invention;A kind of as shown in figure 3, terminal It may include:
Temperature acquiring unit 310, for obtaining the current inside temperature of terminal;
Coefficient acquiring unit 320, for when current inside temperature is more than preset temperature, obtaining the network fluctuation system of terminal Number;
Operation execution unit 330, for when network fluctuation coefficient is adapted with predetermined coefficient, to the wireless network of terminal Perform preset operation corresponding to network fluctuation coefficient.
By implementing the terminal shown in accompanying drawing 3, the current inside temperature of terminal is obtained by temperature acquiring unit 310, is being worked as When preceding internal temperature is more than preset temperature, coefficient acquiring unit 320 obtains the network fluctuation coefficient of terminal, operation execution unit 330 when network fluctuation coefficient and predetermined coefficient match, and the wireless network of terminal is performed corresponding to network fluctuation coefficient in advance Put operation;As can be seen that in embodiments of the present invention, it is big in current inside temperature by the current inside temperature of detection terminal When preset temperature (explanation terminal is in febrile state), then further according to network fluctuation coefficient, to the wireless network of terminal Preset operation corresponding to network execution network fluctuation coefficient, can prevent terminal from frequently scanning net in the case of network signal is unstable The situation of network aggravation terminal heating occurs, so as to play the purpose of protection terminal;In addition, can according to network fluctuation coefficient, When wireless network is unstable, preset operation is performed to wireless network, avoids opening when during wireless network breaking, the use for improving user is relaxed Degree of clothes.
It is understood that the terminal shown in Fig. 3 can be used for performing the network state detection shown in step 101- steps 103 Method.
As an alternative embodiment, temperature acquiring unit 310 is specifically used for starting built-in temperature collecting device, Gather current inside temperature.
As an alternative embodiment, coefficient acquiring unit 320 is when current inside temperature is more than preset temperature, with And before obtaining the network fluctuation coefficient of terminal, the physical state of router is detected, and in physical state instruction router just Often during work, the step of obtaining network fluctuation coefficient is performed.Wherein, the physical state of the router includes but are not limited to route Whether device correctly starts, whether router damages whether None- identified, fire wall isolate.
Incorporated by reference to Fig. 3, in the terminal shown in Fig. 4, the terminal also includes:
Numerical value determining unit 410, for when current inside temperature is more than preset temperature, operation execution unit 330 to obtain Before the network fluctuation coefficient of terminal, using time point corresponding to current inside temperature as foundation, it is corresponding to obtain current inside temperature Time point it is preceding sometime point corresponding to terminal history internal temperature, judge current inside temperature whether be more than history in Portion's temperature;When current inside temperature is more than history internal temperature, time point and certain a period of time according to corresponding to current inside temperature Between point obtain a duration, according to current inside temperature, history internal temperature and duration obtain temperature varying coefficient.
As an alternative embodiment, above-mentioned coefficient acquiring unit 320 is used for the network fluctuation coefficient for obtaining terminal Mode be specially:
The number that the wireless network of the above-mentioned detection terminal of coefficient acquiring unit 320 reconnects after being disconnected in duration, will Network fluctuation coefficient of the number as terminal.
As an alternative embodiment, aforesaid operations execution unit 330 is used in network fluctuation coefficient and default system When number is adapted, the mode to preset operation corresponding to the wireless network execution network fluctuation coefficient of terminal is specially:
Aforesaid operations execution unit 330 is used to judge whether temperature varying coefficient is more than or equal to temperature change threshold value; When temperature varying coefficient is less than temperature change threshold value, judge whether network fluctuation coefficient is more than or equal to first threshold, When network fluctuation coefficient is more than or equal to first threshold, the wireless network closed a terminal;Be more than in temperature varying coefficient or During equal to temperature change threshold value, judge whether network fluctuation coefficient is more than or equal to Second Threshold;It is big in network fluctuation coefficient When Second Threshold, judge whether network fluctuation coefficient is more than or equal to first threshold, in network fluctuation coefficient During more than or equal to first threshold, the wireless network closed a terminal;When network fluctuation coefficient is less than first threshold, reminds and use The wireless network that family is closed a terminal;When network fluctuation coefficient is less than Second Threshold, the wireless network closed a terminal of user is reminded.
Further, aforesaid operations execution unit 330 is additionally operable to, when current inside temperature is less than history internal temperature, sentence Whether disconnected temperature varying coefficient is more than or equal to temperature change threshold value;When temperature varying coefficient is less than temperature change threshold value, Judge whether network fluctuation coefficient is more than or equal to Second Threshold, be more than or equal to Second Threshold in network fluctuation coefficient When, remind the wireless network closed a terminal of user.
As an alternative embodiment, operation execution unit 330 is specifically used for ejection prompt window, in prompt window Middle display reminding information, the prompt message are used to prompt the wireless network of user terminal unstable, it is proposed that close, in case aggravation is eventually The heating at end, cause the abnormal heating of terminal.
As another optional embodiment, operation execution unit 330 is specifically used for obtaining the other shiftings bound with it Dynamic terminal, prompt message being sent to other mobile terminals, the prompt message is used to prompt the wireless network of user terminal unstable, It is recommended that close, in case the heating of aggravation terminal, causes the abnormal heating of terminal.
It is understood that the terminal shown in Fig. 4 can be used for performing the network state detection shown in step 201- steps 211 Method.
Example IV
Referring to Fig. 5, Fig. 5 is another structural representation of terminal disclosed in the embodiment of the present invention;Terminal shown in Fig. 5 can Including:At least one processor 510, such as CPU, memory 520, at least one communication bus 530, input unit 540, output Device 550.Wherein, communication bus 530 is used to realize the communication connection between these components.Memory 520 can be high-speed RAM Memory or non-labile memory (non-volatile memory), for example, at least a magnetic disk storage. Memory 520 optionally can also be at least one storage device for being located remotely from aforementioned processor 510.Wherein, processor 510 Batch processing code can be stored in memory 520, and processor 510 calls storage with reference to the terminal described by Fig. 3 to Fig. 4 The program code stored in device 520, for performing following operation:
Obtain the current inside temperature of terminal;
When the current inside temperature is more than preset temperature, the network fluctuation coefficient of the terminal is obtained;
When the network fluctuation coefficient is adapted with predetermined coefficient, the network is performed to the wireless network of the terminal Preset operation corresponding to coefficient of variation.
In some optional embodiments, above-mentioned processor 510 can be used for performing following steps:
When the current inside temperature is more than preset temperature, using time point corresponding to the current inside temperature as according to According to, obtain time point corresponding to the current inside temperature it is preceding sometime point corresponding to the terminal history inside temperature Degree, judges whether the current inside temperature is more than the history internal temperature;
When the current inside temperature is more than the history internal temperature, when according to corresponding to the current inside temperature Between point and it is described sometime point obtain a duration, according to the current inside temperature, the history internal temperature and it is described when It is long to obtain temperature varying coefficient, perform it is described obtain the terminal network fluctuation coefficient the step of.
In some optional embodiments, above-mentioned processor 510 can be used for performing following steps:
Judge whether the temperature varying coefficient is more than or equal to temperature change threshold value;
When the temperature varying coefficient is less than the temperature change threshold value, judge whether the network fluctuation coefficient is more than Or equal to first threshold, when the network fluctuation coefficient is more than or equal to the first threshold, close the terminal Wireless network;
When the temperature varying coefficient is more than or equal to the temperature change threshold value, the network fluctuation coefficient is judged Whether Second Threshold is more than or equal to;When the network fluctuation coefficient is more than or equal to the Second Threshold, institute is judged State whether network fluctuation coefficient is more than or equal to the first threshold, be more than or equal in the network fluctuation coefficient described During first threshold, the wireless network of the terminal is closed;When the network fluctuation coefficient is less than the first threshold, reminds and use The wireless network of the terminal is closed at family;When the network fluctuation coefficient is less than the Second Threshold, user is reminded to close institute State the wireless network of terminal.
In some optional embodiments, above-mentioned processor 510 can be used for performing following steps:
When the current inside temperature is less than the history internal temperature, judge whether the temperature varying coefficient is more than Or equal to temperature change threshold value;
When the temperature varying coefficient is less than the temperature change threshold value, judge whether the network fluctuation coefficient is more than Or equal to Second Threshold, when the network fluctuation coefficient is more than or equal to the Second Threshold, user is reminded to close institute State the wireless network of terminal.
In some optional embodiments, above-mentioned processor 510 can be used for performing following steps:
Detect the terminal wireless network disconnected in the duration after the number that reconnects, using the number as The network fluctuation coefficient of the terminal.
By above-mentioned terminal, first aspect can prevent that frequently scanning network adds terminal in the case of network signal is unstable The situation of end end heating occurs, so as to play the purpose of protection terminal;Second aspect can be according to network fluctuation coefficient, in nothing During line unstable networks, preset operation is performed to wireless network, avoids opening when during wireless network breaking, the use for improving user is comfortable Degree.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of data storage.
A kind of network state detection method and terminal disclosed in the embodiment of the present invention are described in detail above, herein In apply specific case to the present invention principle and embodiment be set forth, the explanation of above example is only intended to help Assistant solves the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, the think of according to the present invention Think, in specific embodiments and applications there will be changes, in summary, this specification content should not be construed as pair The limitation of the present invention.

Claims (12)

  1. A kind of 1. network state detection method, it is characterised in that including:
    Obtain the current inside temperature of terminal;
    When the current inside temperature is more than preset temperature, the network fluctuation coefficient of the terminal is obtained;
    When the network fluctuation coefficient is adapted with predetermined coefficient, the network fluctuation is performed to the wireless network of the terminal Preset operation corresponding to coefficient.
  2. 2. according to the method for claim 1, it is characterised in that when the current inside temperature is more than preset temperature, with And before the network fluctuation coefficient for obtaining the terminal, methods described also includes:
    When the current inside temperature is more than preset temperature, as foundation, obtained using time point corresponding to the current inside temperature Time point corresponding to the current inside temperature is taken in the history internal temperature of the preceding sometime terminal corresponding to point, judgement Whether the current inside temperature is more than the history internal temperature;
    When the current inside temperature is more than the history internal temperature, according to time point corresponding to the current inside temperature A duration is obtained with the sometime point, is obtained according to the current inside temperature, the history internal temperature and the duration Temperature varying coefficient, perform it is described obtain the terminal network fluctuation coefficient the step of.
  3. 3. according to the method for claim 2, it is characterised in that described mutually to be fitted with predetermined coefficient in the network fluctuation coefficient Timing, preset operation corresponding to the network fluctuation coefficient is performed to the wireless network of the terminal, including:
    Judge whether the temperature varying coefficient is more than or equal to temperature change threshold value;
    When the temperature varying coefficient is less than the temperature change threshold value, judge the network fluctuation coefficient whether be more than or Equal to first threshold, when the network fluctuation coefficient is more than or equal to the first threshold, the wireless of the terminal is closed Network;
    When the temperature varying coefficient is more than or equal to the temperature change threshold value, whether the network fluctuation coefficient is judged More than or equal to Second Threshold;When the network fluctuation coefficient is more than or equal to the Second Threshold, the net is judged Whether network coefficient of variation is more than or equal to the first threshold, is more than or equal to described first in the network fluctuation coefficient During threshold value, the wireless network of the terminal is closed;When the network fluctuation coefficient is less than the first threshold, user is reminded to close Close the wireless network of the terminal;When the network fluctuation coefficient is less than the Second Threshold, user is reminded to close the end The wireless network at end.
  4. 4. according to the method in claim 2 or 3, it is characterised in that methods described also includes:
    When the current inside temperature is less than the history internal temperature, judge the temperature varying coefficient whether be more than or Equal to temperature change threshold value;
    When the temperature varying coefficient is less than the temperature change threshold value, judge the network fluctuation coefficient whether be more than or Equal to Second Threshold, when the network fluctuation coefficient is more than or equal to the Second Threshold, user is reminded to close the end The wireless network at end.
  5. 5. according to the method for claim 2, it is characterised in that the network fluctuation coefficient for obtaining the terminal, including:
    Detect the terminal wireless network disconnected in the duration after the number that reconnects, using the number as described in The network fluctuation coefficient of terminal.
  6. A kind of 6. terminal, it is characterised in that including:
    Temperature acquiring unit, for obtaining the current inside temperature of terminal;
    Coefficient acquiring unit, for when the current inside temperature is more than preset temperature, obtaining the network fluctuation of the terminal Coefficient;
    Operation execution unit, for when the network fluctuation coefficient is adapted with predetermined coefficient, to the wireless network of the terminal Network performs preset operation corresponding to the network fluctuation coefficient.
  7. 7. terminal according to claim 6, it is characterised in that the terminal also includes:
    Numerical value determining unit, for when the current inside temperature is more than preset temperature, the operation execution unit to obtain institute Before the network fluctuation coefficient for stating terminal, using time point corresponding to the current inside temperature as foundation, obtain described current interior Time point corresponding to portion's temperature it is preceding sometime point corresponding to the terminal history internal temperature, judge the current internal Whether temperature is more than the history internal temperature;When the current inside temperature is more than the history internal temperature, according to institute State time point corresponding to current inside temperature and the sometime point obtains a duration, according to the current inside temperature, institute State history internal temperature and the duration obtains temperature varying coefficient.
  8. 8. terminal according to claim 7, it is characterised in that the operation execution unit is used in the network fluctuation system When number is adapted with predetermined coefficient, preset operation corresponding to the network fluctuation coefficient is performed to the wireless network of the terminal Mode is specially:
    The operation execution unit is used to judge whether the temperature varying coefficient is more than or equal to temperature change threshold value;Institute When stating temperature varying coefficient and being less than the temperature change threshold value, judge whether the network fluctuation coefficient is more than or equal to first Threshold value, when the network fluctuation coefficient is more than or equal to the first threshold, close the wireless network of the terminal;Institute When stating temperature varying coefficient and being more than or equal to the temperature change threshold value, judge the network fluctuation coefficient whether be more than or Equal to Second Threshold;When the network fluctuation coefficient is more than or equal to the Second Threshold, the network fluctuation system is judged Whether number is more than or equal to the first threshold, when the network fluctuation coefficient is more than or equal to the first threshold, Close the wireless network of the terminal;When the network fluctuation coefficient is less than the first threshold, remind described in user's closing The wireless network of terminal;When the network fluctuation coefficient is less than the Second Threshold, user is reminded to close the nothing of the terminal Gauze network.
  9. 9. the terminal according to claim 7 or 8, it is characterised in that
    The operation execution unit is additionally operable to, when the current inside temperature is less than the history internal temperature, judge the temperature Whether degree variation coefficient is more than or equal to temperature change threshold value;It is less than the temperature change threshold value in the temperature varying coefficient When, judge whether the network fluctuation coefficient is more than or equal to Second Threshold, be more than or wait in the network fluctuation coefficient When the Second Threshold, user is reminded to close the wireless network of the terminal.
  10. 10. terminal according to claim 7, it is characterised in that the coefficient acquiring unit is used to obtain the terminal The mode of network fluctuation coefficient is specially:
    The number that the wireless network of the coefficient acquiring unit detection terminal reconnects after being disconnected in the duration, will Network fluctuation coefficient of the number as the terminal.
  11. A kind of 11. terminal, it is characterised in that including:
    It is stored with the memory of executable program code;
    The processor coupled with the memory;
    The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that the network state detection method described in 5 any one.
  12. A kind of 12. computer-readable recording medium, it is characterised in that it stores the computer program for electronic data interchange, Wherein, the computer program causes computer to perform the network state inspection as described in claim 1 to any one of claim 5 Survey method.
CN201711093679.3A 2017-11-08 2017-11-08 Network state detection method and terminal Active CN107846325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711093679.3A CN107846325B (en) 2017-11-08 2017-11-08 Network state detection method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711093679.3A CN107846325B (en) 2017-11-08 2017-11-08 Network state detection method and terminal

Publications (2)

Publication Number Publication Date
CN107846325A true CN107846325A (en) 2018-03-27
CN107846325B CN107846325B (en) 2020-09-04

Family

ID=61682503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711093679.3A Active CN107846325B (en) 2017-11-08 2017-11-08 Network state detection method and terminal

Country Status (1)

Country Link
CN (1) CN107846325B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300446A (en) * 2019-06-28 2019-10-01 南昌黑鲨科技有限公司 Network connection control method, system, intelligent terminal and computer readable storage medium
CN111211937A (en) * 2019-12-28 2020-05-29 苏州浪潮智能科技有限公司 Method, device and system for testing stability of server link signals

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101868021A (en) * 2010-06-18 2010-10-20 华为终端有限公司 Heat protection method and wireless access network equipment
US20140312129A1 (en) * 2013-04-22 2014-10-23 Emerson Electric Co. Power Stealing for a Wireless-Enabled Thermostat
CN105100422A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 Intelligent information reminding method and intelligent information reminding terminal
CN105791033A (en) * 2016-05-09 2016-07-20 浪潮电子信息产业股份有限公司 Method, device and system for regulating operating state of server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101868021A (en) * 2010-06-18 2010-10-20 华为终端有限公司 Heat protection method and wireless access network equipment
US20140312129A1 (en) * 2013-04-22 2014-10-23 Emerson Electric Co. Power Stealing for a Wireless-Enabled Thermostat
CN105100422A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 Intelligent information reminding method and intelligent information reminding terminal
CN105791033A (en) * 2016-05-09 2016-07-20 浪潮电子信息产业股份有限公司 Method, device and system for regulating operating state of server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300446A (en) * 2019-06-28 2019-10-01 南昌黑鲨科技有限公司 Network connection control method, system, intelligent terminal and computer readable storage medium
CN110300446B (en) * 2019-06-28 2022-03-22 南昌黑鲨科技有限公司 Network connection control method, system, intelligent terminal and computer readable storage medium
CN111211937A (en) * 2019-12-28 2020-05-29 苏州浪潮智能科技有限公司 Method, device and system for testing stability of server link signals

Also Published As

Publication number Publication date
CN107846325B (en) 2020-09-04

Similar Documents

Publication Publication Date Title
JP5873444B2 (en) Leakage detection of wireless cable operated by sensor
CN104217169B (en) Method and device, terminal are recommended in a kind of encryption
CN107566624B (en) Display method for power consumption and temperature of terminal, terminal and computer readable storage medium
CN104021218A (en) Information display method and device
CN107846325A (en) A kind of network state detection method and terminal
CN109117039B (en) Display method and terminal equipment
CN106155797B (en) Terminal equipment and switching method of performance modes thereof
CN109347938B (en) Traffic monitoring method, telephone watch, mobile terminal and server
EP3046349A1 (en) Method and device for sending a message
CN107395955A (en) A kind of method and user terminal for determining camera module electrifying timing sequence
CN105630594A (en) Terminal control method, terminal control device and terminal
CN105005724A (en) Password-based screen unlocking method and communication terminal
US20130145030A1 (en) Control device, terminal apparatus, and communication system
CN105240880A (en) Method for controlling microwave oven, controller and microwave oven
US20110284519A1 (en) Remote control device and remote control method for water heater
CN110222409A (en) Electric heater residue water time detection method, device, equipment and storage medium
CN105551206A (en) Emotion-based prompting method and related device and prompting system
CN105116862A (en) Household appliance control method based on biological information verification, device and wearable equipment
CN107329773A (en) A kind of electronic equipment restart after processing method, electronic equipment and storage device
CN101909311A (en) Method for testing wireless networking function of mobile phone
CN104682465B (en) Wireless charging device and method
JP4853377B2 (en) Portable terminal, charging control method and program in portable terminal
CN110889521A (en) Method and device for prompting state of intelligent household appliance, intelligent household appliance and storage medium
CN112087353B (en) Function recommendation method of equipment, cloud server and storage medium
CN113359521B (en) Household appliance control method and device and household appliance

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