CN108696909A - Based reminding method, terminal and the computer readable storage medium of network connection - Google Patents
Based reminding method, terminal and the computer readable storage medium of network connection Download PDFInfo
- Publication number
- CN108696909A CN108696909A CN201810677006.0A CN201810677006A CN108696909A CN 108696909 A CN108696909 A CN 108696909A CN 201810677006 A CN201810677006 A CN 201810677006A CN 108696909 A CN108696909 A CN 108696909A
- Authority
- CN
- China
- Prior art keywords
- terminal
- network
- state
- current
- network connection
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0055—Transmission or use of information for re-establishing the radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W68/00—User notification, e.g. alerting and paging, for incoming communication, change of service or the like
Abstract
The invention discloses a kind of based reminding methods of network connection, are applied to first terminal, and the first terminal provides hot spot, and second terminal is connected to by way of network, the method includes:Detect the current network state of the first terminal;Judge whether the current network state of the first terminal is in preset state;It when the current network state of the first terminal is in preset state, sends and notifies to the second terminal, remind the second terminal to search for other hot spots automatically or switch to the second terminal mobile network of itself.The embodiment of the invention also discloses a kind of terminal and computer readable storage mediums.Technical solution through the embodiment of the present invention can provide when can not provide hot spot for other-end progress network connection of the terminal of hot spot, remind the terminal timely processing of connection hot spot, take measures the replacement for carrying out network connection, improves the experience of user.
Description
Technical field
The present invention relates to field of terminal technology, more specifically to the based reminding method of network connection, terminal and computer
Readable storage medium storing program for executing.
Background technology
User can sometimes encounter following situation when opening hot spot to other equipment using the terminal of oneself, such as:
User played games using IPAD connection mobile phone hot spots or use some application program (application, APP), but
When user plays, the unexpected out of power of mobile phone of hot spot is provided or hot spot can not be provided, it is that user has no knowledge about for what reason
IPAD suspensions, cause APP disconnect, the harmful effects such as go offline of playing.
Invention content
It is a primary object of the present invention to propose a kind of based reminding method of network connection, terminal and computer-readable storage medium
Matter, it is desirable to provide when can not provide hot spot for other-end progress network connection of the terminal of hot spot reminds the end of connection hot spot
Timely processing is held, take measures the replacement for carrying out network connection, improves the experience of user.
To achieve the above object, the based reminding method of a kind of network connection provided by the invention is applied to first terminal, described
First terminal provides hot spot, and second terminal is connected to by way of network, the method includes:Detect the first terminal
Current network state;Judge whether the current network state of the first terminal is in preset state;When the first terminal
Current network state when being in preset state, send and notify to the second terminal, the second terminal is reminded to search for automatically
Other hot spots switch to the second terminal mobile network of itself.
Preferably, the current network state for judging the first terminal whether be in preset state the step of include:
Pre-set electricity threshold limit value;Detect the current charge value of the first terminal;When the current charge value of the first terminal
When reaching the electricity threshold limit value, the current network state of the first terminal is in preset state.
Preferably, described when the current network state of the first terminal is in preset state, to the second terminal
Sending the step of notifying includes:The time of operation can be maintained by calculating the current electricity of the first terminal;The time is sent
To the second terminal, and remind by countdown mode the user of the second terminal.
Preferably, the method further includes:It detects the first terminal and whether connects and connect with the mains;When detecting described first
When terminal is even connected with the mains, cancel the counting-down reminding to the second terminal.
Preferably, the preset state of the first terminal further includes:The first terminal more new application or
Download application program.
Preferably, the preset state of the first terminal further includes:The first terminal more new system.
In addition, to achieve the above object, the present invention also proposes that a kind of first terminal, the first terminal provide hot spot, and
Second terminal is connected to by way of network, the first terminal includes processor, memory and communication bus;The storage
Device, the reminder for storing network connection;The communication bus is logical for realizing the connection between processor and memory
Letter;The processor, for executing the terminal control program stored in memory, to realize following steps:Detect described first
The current network state of terminal;Judge whether the current network state of the first terminal is in preset state;When described first
When the current network state of terminal is in preset state, sends and notify to the second terminal, remind the second terminal automatic
It searches for other hot spots or switches to the second terminal mobile network of itself.
Preferably, the current network state for judging the first terminal whether be in preset state the step of include:
Pre-set electricity threshold limit value;Detect the current charge value of the first terminal;When the current charge value of the first terminal
When reaching the electricity threshold limit value, the current network state of the first terminal is in preset state.
Preferably, when the reminder of the network connection is executed by the processor, step is also realized:Detect described
Whether one terminal, which connects, is connected with the mains;When detecting the first terminal and even connecting with the mains, the second terminal is fallen in cancellation
Time reminding.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers
Readable storage medium storing program for executing is stored with one or more program, and one or more of programs can be by one or more processor
It executes, the step of based reminding method to realize network connection as described above.
Based reminding method, terminal and the computer readable storage medium of network connection proposed by the present invention, it is desirable to provide hot spot
Terminal can not provide hot spot for other-end carry out network connection when, remind connection hot spot terminal timely processing, take
Measure carries out the replacement of network connection, improves the experience of user.
Description of the drawings
The hardware architecture diagram of Fig. 1 terminals of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of terminal as shown in Figure 1;
Fig. 3 is a kind of flow chart of the based reminding method for network connection that first embodiment of the invention proposes;
Fig. 4 is a kind of module diagram for terminal that second embodiment of the invention proposes.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only
The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. are eventually
End, and the fixed terminals such as number TV, desktop computer.
It will be illustrated by taking terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to being used in particular for
Except the element of mobile purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its terminal of each embodiment to realize the present invention, the terminal
100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V
(audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage
The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that terminal structure shown in Fig. 1
The not restriction of structure paired terminal, terminal may include than illustrating more or fewer components, either combine certain components or
Different component arrangements.
The all parts of terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 102
Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 is shown
WiFi module 102, but it is understood that, and it is not belonging to must be configured into for terminal, it can not change as needed completely
Become in the range of the essence of invention and omits.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100
It is that radio frequency unit 101 or WiFi module 102 are received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode
The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also
To provide the relevant audio output of specific function executed with terminal 100 (for example, call signal receives sound, message sink sound
Sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear
1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
The other sensors such as meter, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 107 may include touch panel 1071 and its
His input equipment 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (are compared
Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071
Operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detecting apparatus
With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation was brought
Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted
At contact coordinate, then processor 110 is given, and order that processor 110 is sent can be received and executed.Furthermore, it is possible to adopt
Touch panel 1071 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be to realize the function that outputs and inputs of terminal as two independent components, but in some embodiments it is possible to will
Touch panel 1071 is integrated with display panel 1061 and realizes the function that outputs and inputs of terminal, does not limit herein specifically.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external
Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number
According to port, memory card port, the port for connecting the device with identification module, the port audio input/output (I/O), regard
The ports frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed
Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end
Transmission data between end 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 110 may include one
Or multiple processing units;Preferably, processor 110 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be with
It is logically contiguous by power-supply management system and processor 110, to by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
Although Fig. 1 is not shown, terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system being based below to the terminal of the present invention are retouched
It states.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively
Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 is with can providing the IP of UE201
Location is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., it does not limit herein.
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only
Be conducive to the explanation of the present invention, itself there is no specific meanings.Therefore , "Mo Kuai "With "Bu Jian "Can mixedly it make
With.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention, terminal may include such as hand
Machine, tablet computer, camera, laptop, palm PC, personal digital assistant (Personal Digital
Assistant, PDA), portable media player (Portable Media Player, PMP), navigation device, wearable set
The fixed terminals such as the terminals such as standby, Intelligent bracelet, pedometer, and number TV, desktop computer.
It will be appreciated by those skilled in the art that other than being used in particular for the element of mobile purpose, it is according to the present invention
The construction of embodiment can also apply to the terminal of fixed type.
Based on above-mentioned terminal hardware structure and communication network, the present invention is carried out specifically below by way of specific embodiment
It is bright.
First embodiment
The present embodiment will provide a kind of a kind of based reminding method of network connection based on above-mentioned terminal 100, referring to Fig. 3, Fig. 3
Based reminding method for a kind of flow chart of the based reminding method of network connection provided in this embodiment, the network connection is applied to first
Terminal, the first terminal provides hot spot, and second terminal is connected to by way of network.It should be noted that this implementation
The first terminal of example, second terminal belong to above-mentioned terminal 100, and first terminal and second terminal are to provide hot spot
Terminal is distinguished with the terminal for connecting hot spot.Second terminal in other embodiments, can also serve as providing the of hot spot
One terminal.In the present embodiment, the second terminal is at least 1, and for actual conditions according to connection, first terminal can be more
A terminal device (second terminal) provides hot spot connection.
The based reminding method of the network connection includes the following steps:
S301:Detect the current network state of the first terminal.
In the present embodiment, the current network state of the first terminal includes at least network normal condition, Network Abnormal shape
The shape of state, application program download state, application program update state, system update state, electricity abundance state and not enough power supply
State etc..
S302:Judge whether the current network state of the first terminal is in preset state.
When the current network state of the first terminal can cause abnormal to network connection, pass through the second of hot spot connection
The network of terminal will be affected, and the user of second terminal may have no knowledge about situation when Network Abnormal connects, also not
It can take timely measure, influence to use.Therefore, in the present embodiment, can by pre-set influence second terminal use it is pre-
If state, and when the current network state of first terminal is in preset state, reminder announced is sent in time.
S303:When the current network state of the first terminal is in preset state, sent to the second terminal logical
Know, reminds the second terminal to search for other hot spots automatically or switch to the second terminal mobile network of itself.
In the present embodiment, preset state can be according to actual needs configured by developer.
For example, the preset state of the first terminal includes:The first terminal more new application or download
Application program.First terminal more new application or download application program when, a large amount of network speed can be occupied, therefore,
The network speed of first terminal can be affected, when first terminal more new application or download application program when, first eventually
It holds to send to the second terminal and notify, notify the network state of the current first terminal of second terminal abnormal, remind described second
Terminal searches for other hot spots or switches to the second terminal mobile network of itself automatically.
The preset state of the first terminal further includes:The first terminal more new system.It is updated in first terminal
When system, the network connection of second terminal can be affected, and first terminal can not temporarily provide hot spot connection to second terminal.
The preset state of the first terminal further includes:The first terminal is in low battery state, specific step packet
It includes:
Developer pre-sets electricity threshold limit value on first terminal, detects the current electricity of the first terminal
Value, when the current charge value of the first terminal reaches the electricity threshold limit value, the current network shape of the first terminal
State is in preset state.That is, when first terminal not enough power supply, first terminal sends to the second terminal and notifies, reminds institute
State first terminal not enough power supply described in second terminal.Further, described to remind first terminal electricity described in the second terminal
Insufficient step includes:
The time of operation, such as 5 minutes can be maintained by calculating the current electricity of the first terminal, when first terminal will be described
Between be sent to the second terminal, and the user of the second terminal is reminded by countdown mode.In this way, the use of second terminal
After family receives countdown notice, it can be switched to itself mobile network, or connect other hot spots.
Further, whether first terminal, which is also detected the first terminal and connected, connects with the mains, when detecting described first eventually
When end is even connected with the mains, cancel the counting-down reminding to the second terminal.
By the implementation of the present embodiment, net can be carried out for other-end in the hot spot that can not provide for the terminal for providing hot spot
When network connects, the terminal timely processing of connection hot spot is reminded, take measures the replacement for carrying out network connection, improves the body of user
It tests.
Second embodiment
The present embodiment provides a kind of first terminals 100, and referring to Fig. 4, Fig. 4 is a kind of first terminal provided in this embodiment
Module diagram, the first terminal provides hot spot, and second terminal is connected to by way of network (Fig. 4 is not marked).It must
It should be noted that the first terminal of the present embodiment, second terminal belongs to same terminal, first terminal 100 and second terminal
It is to distinguish the terminal for providing hot spot with the terminal for connecting hot spot.Second terminal in other embodiments, equally may be used
Using the first terminal as offer hot spot.In the present embodiment, the second terminal is at least 1, and actual conditions are according to connection feelings
Condition, first terminal 100 can be that multiple terminal devices (second terminal) provide hot spot connection.The first terminal 100 includes processing
Device 1001, memory 1002 and communication bus 1003, wherein:
The memory, the reminder for storing network connection;
Communication bus 1003 is for realizing the connection communication between processor 1001 and memory 1002;
Processor 1001 is for executing the one or more programs stored in memory 1002, to realize in second embodiment
The step of based reminding method of network connection.
Specifically, processor 1001 is for executing the one or more programs stored in memory 1002, it is following to realize
Step:
Detect the current network state of the first terminal.
In the present embodiment, the current network state of the first terminal includes at least network normal condition, Network Abnormal shape
The shape of state, application program download state, application program update state, system update state, electricity abundance state and not enough power supply
State etc..
Judge whether the current network state of the first terminal is in preset state.
When the current network state of the first terminal can cause abnormal to network connection, pass through the second of hot spot connection
The network of terminal will be affected, and the user of second terminal may have no knowledge about situation when Network Abnormal connects, also not
It can take timely measure, influence to use.Therefore, in the present embodiment, can by pre-set influence second terminal use it is pre-
If state, and when the current network state of first terminal is in preset state, reminder announced is sent in time.
When the current network state of the first terminal is in preset state, sends and notify to the second terminal, carry
The second terminal of waking up searches for other hot spots or switches to the second terminal mobile network of itself automatically.
In the present embodiment, preset state can be according to actual needs configured by developer.
For example, the preset state of the first terminal includes:The first terminal more new application or download
Application program.First terminal more new application or download application program when, a large amount of network speed can be occupied, therefore,
The network speed of first terminal can be affected, when first terminal more new application or download application program when, first eventually
It holds to send to the second terminal and notify, notify the network state of the current first terminal of second terminal abnormal, remind described second
Terminal searches for other hot spots or switches to the second terminal mobile network of itself automatically.
The preset state of the first terminal further includes:The first terminal more new system.It is updated in first terminal
When system, the network connection of second terminal can be affected, and first terminal can not temporarily provide hot spot connection to second terminal.
The preset state of the first terminal further includes:The first terminal is in low battery state, specific step packet
It includes:
Developer pre-sets electricity threshold limit value on first terminal, detects the current electricity of the first terminal
Value, when the current charge value of the first terminal reaches the electricity threshold limit value, the current network shape of the first terminal
State is in preset state.That is, when first terminal not enough power supply, first terminal sends to the second terminal and notifies, reminds institute
State first terminal not enough power supply described in second terminal.Further, described to remind first terminal electricity described in the second terminal
Insufficient step includes:
The time of operation, such as 5 minutes can be maintained by calculating the current electricity of the first terminal, when first terminal will be described
Between be sent to the second terminal, and the user of the second terminal is reminded by countdown mode.In this way, the use of second terminal
After family receives countdown notice, it can be switched to itself mobile network, or connect other hot spots.
Further, whether first terminal, which is also detected the first terminal and connected, connects with the mains, when detecting described first eventually
When end is even connected with the mains, cancel the counting-down reminding to the second terminal.
By the implementation of the present embodiment, net can be carried out for other-end in the hot spot that can not provide for the terminal for providing hot spot
When network connects, the terminal timely processing of connection hot spot is reminded, take measures the replacement for carrying out network connection, improves the body of user
It tests.
The present invention also provides a kind of computer readable storage medium, there are one the computer-readable recording medium storages
Or multiple programs, one or more of programs can be executed by one or more processor, to realize such as above-mentioned implementation
The step of based reminding method of network connection described in example.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner or the network equipment etc.) method that executes each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of based reminding method of network connection is applied to first terminal, which is characterized in that the first terminal provides hot spot,
And second terminal is connected to by way of network, the method includes:
Detect the current network state of the first terminal;
Judge whether the current network state of the first terminal is in preset state;
It when the current network state of the first terminal is in preset state, sends and notifies to the second terminal, remind institute
Second terminal is stated to search for other hot spots automatically or switch to the second terminal mobile network of itself.
2. the based reminding method of network connection as described in claim 1, which is characterized in that described to judge working as the first terminal
Preceding network state whether be in preset state the step of include:
Pre-set electricity threshold limit value;
Detect the current charge value of the first terminal;
When the current charge value of the first terminal reaches the electricity threshold limit value, the current network shape of the first terminal
State is in preset state.
3. the based reminding method of network connection as claimed in claim 2, which is characterized in that described to work as the current of the first terminal
When network state is in preset state, sending the step of notifying to the second terminal includes:
The time of operation can be maintained by calculating the current electricity of the first terminal;
The time is sent to the second terminal, and reminds the user of the second terminal by countdown mode.
4. the based reminding method of network connection as claimed in claim 2, which is characterized in that the method further includes:
It detects the first terminal and whether connects and connect with the mains;
When detecting the first terminal and even connecting with the mains, cancel the counting-down reminding to the second terminal.
5. the based reminding method of network connection as described in claim 1, which is characterized in that the preset state of the first terminal is also
Including:The first terminal more new application or download application program.
6. the based reminding method of network connection as described in claim 1, which is characterized in that the preset state of the first terminal is also
Including:The first terminal more new system.
7. a kind of first terminal, which is characterized in that the first terminal provides hot spot, and is connected to second by way of network
Terminal, the first terminal include processor, memory and communication bus;
The memory, the reminder for storing network connection;
The communication bus, for realizing the connection communication between processor and memory;
The processor, for executing the terminal control program stored in memory, to realize following steps:
Detect the current network state of the first terminal;
Judge whether the current network state of the first terminal is in preset state;
It when the current network state of the first terminal is in preset state, sends and notifies to the second terminal, remind institute
Second terminal is stated to search for other hot spots automatically or switch to the second terminal mobile network of itself.
8. first terminal according to claim 7, which is characterized in that the current network shape for judging the first terminal
State whether be in preset state the step of include:
Pre-set electricity threshold limit value;
Detect the current charge value of the first terminal;
When the current charge value of the first terminal reaches the electricity threshold limit value, the current network shape of the first terminal
State is in preset state.
9. terminal according to claim 7, which is characterized in that the reminder of the network connection is held by the processor
When row, step is also realized:
It detects the first terminal and whether connects and connect with the mains;
When detecting the first terminal and even connecting with the mains, cancel the counting-down reminding to the second terminal.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage there are one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 6
Any one of described in network connection based reminding method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810677006.0A CN108696909A (en) | 2018-06-27 | 2018-06-27 | Based reminding method, terminal and the computer readable storage medium of network connection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810677006.0A CN108696909A (en) | 2018-06-27 | 2018-06-27 | Based reminding method, terminal and the computer readable storage medium of network connection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108696909A true CN108696909A (en) | 2018-10-23 |
Family
ID=63849068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810677006.0A Pending CN108696909A (en) | 2018-06-27 | 2018-06-27 | Based reminding method, terminal and the computer readable storage medium of network connection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108696909A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109819458A (en) * | 2019-02-19 | 2019-05-28 | 维沃移动通信有限公司 | A kind of method for connecting network, terminal device and computer readable storage medium |
CN110602774A (en) * | 2019-10-21 | 2019-12-20 | 中国联合网络通信集团有限公司 | Personal hotspot management method and mobile terminal |
CN112235057A (en) * | 2020-09-08 | 2021-01-15 | 高新兴物联科技有限公司 | Method, device and equipment for monitoring network state and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2129189A2 (en) * | 2008-05-30 | 2009-12-02 | Fujitsu Ltd. | Wireless communication system, wireless communication apparatus, method for disconnection process thereof, and storage medium |
CN102970728A (en) * | 2012-11-02 | 2013-03-13 | 北京小米科技有限责任公司 | Message notification method and device |
CN102970675A (en) * | 2012-12-21 | 2013-03-13 | 东莞宇龙通信科技有限公司 | Mobile terminal and data communication processing method |
CN103200618A (en) * | 2012-01-05 | 2013-07-10 | 中兴通讯股份有限公司 | Wireless local area network (WLAN) hotspot function control method and device |
-
2018
- 2018-06-27 CN CN201810677006.0A patent/CN108696909A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2129189A2 (en) * | 2008-05-30 | 2009-12-02 | Fujitsu Ltd. | Wireless communication system, wireless communication apparatus, method for disconnection process thereof, and storage medium |
CN103200618A (en) * | 2012-01-05 | 2013-07-10 | 中兴通讯股份有限公司 | Wireless local area network (WLAN) hotspot function control method and device |
CN102970728A (en) * | 2012-11-02 | 2013-03-13 | 北京小米科技有限责任公司 | Message notification method and device |
CN102970675A (en) * | 2012-12-21 | 2013-03-13 | 东莞宇龙通信科技有限公司 | Mobile terminal and data communication processing method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109819458A (en) * | 2019-02-19 | 2019-05-28 | 维沃移动通信有限公司 | A kind of method for connecting network, terminal device and computer readable storage medium |
CN110602774A (en) * | 2019-10-21 | 2019-12-20 | 中国联合网络通信集团有限公司 | Personal hotspot management method and mobile terminal |
CN112235057A (en) * | 2020-09-08 | 2021-01-15 | 高新兴物联科技有限公司 | Method, device and equipment for monitoring network state and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108391025A (en) | A kind of network access management method, mobile terminal and computer readable storage medium | |
CN108234773A (en) | A kind of switching method of double-sided screen, terminal and storage medium | |
CN107517494A (en) | A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium | |
CN108390988A (en) | Fast operating method, mobile terminal and computer readable storage medium | |
CN108537021A (en) | Unlocked by fingerprint method, terminal and computer readable storage medium based on double-sided screen | |
CN108307030A (en) | A kind of SIM card management method, equipment and computer readable storage medium | |
CN107807767A (en) | A kind of processing method of communication traffic, terminal and computer-readable recording medium | |
CN108553896A (en) | A kind of status information display control method, terminal and computer readable storage medium | |
CN108512991A (en) | A kind of based reminding method, mobile terminal and computer readable storage medium | |
CN109144441A (en) | A kind of screen adjustment method, terminal and computer readable storage medium | |
CN108965602A (en) | Application program display methods, mobile terminal and computer readable storage medium | |
CN108093117A (en) | A kind of dual-screen mobile terminal control method and dual-screen mobile terminal | |
CN109542232A (en) | Switching method, terminal and the computer readable storage medium of terminal horizontal/vertical screen mode | |
CN108322609A (en) | A kind of notification information regulation and control method, equipment and computer readable storage medium | |
CN107247606A (en) | Application management method, device and computer-readable recording medium | |
CN109005288A (en) | Call processing method, double-sided screen terminal and computer readable storage medium | |
CN108696909A (en) | Based reminding method, terminal and the computer readable storage medium of network connection | |
CN108829302A (en) | A kind of interaction regulation method, equipment and computer readable storage medium | |
CN110198173A (en) | A kind of adjusting method of mobile terminal, radio circuit, mobile terminal and storage medium | |
CN109379777A (en) | A kind of network search method, terminal and computer readable storage medium | |
CN109545120A (en) | Screen photosensitive sensors adjusting method, mobile terminal and computer readable storage medium | |
CN109768811A (en) | The control method of radiation dispersion, communication terminal and computer readable storage medium between double antenna | |
CN109669512A (en) | A kind of display control method, Folding screen terminal and computer readable storage medium | |
CN109309953A (en) | Consumption detection method, apparatus, terminal and readable storage medium storing program for executing | |
CN108958932A (en) | A kind of control method of background application, terminal and computer readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181023 |