CN105282330B - The method and device of automatic connection network - Google Patents
The method and device of automatic connection network Download PDFInfo
- Publication number
- CN105282330B CN105282330B CN201510598196.3A CN201510598196A CN105282330B CN 105282330 B CN105282330 B CN 105282330B CN 201510598196 A CN201510598196 A CN 201510598196A CN 105282330 B CN105282330 B CN 105282330B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- network
- projection
- screen
- connecting function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention is suitable for the communications field, there is provided a kind of method and device of automatic connection network.The described method includes:Whether detection mobile terminal, which is in, is put out screen state;When mobile terminal is in and puts out screen state, whether the network connecting function for detecting mobile terminal is turned off;When the network connecting function of mobile terminal is turned off, the network connecting function of the mobile terminal is opened, so that the mobile terminal connects network automatically.The embodiment of the present invention can save the time for waiting network connection.
Description
Technical field
The embodiment of the present invention belongs to the communications field, more particularly to a kind of method and device of automatic connection network.
Background technology
At present, most mobile terminal all has the function of network connection.
In existing method for connecting network, if wifi or data network are turned off, mobile terminal detects that user unlocks
After the screen of mobile terminal, also need whether detection user needs to open wifi network or open data network, if desired, carry out again
Wifi connections or data network connection.Due to when carrying out wifi connections or data network and connecting, it is necessary to certain Connection Time,
Therefore, existing method consumes the stand-by period of user, so as to reduce the good experience of user.
The content of the invention
An embodiment of the present invention provides a kind of method and device of automatic connection network, it is intended to which solving existing method needs to use
Family waits the time of network connection, so that the problem of reducing the experience of user.
The embodiment of the present invention is achieved in that a kind of method of automatic connection network, the described method includes:
Whether detection mobile terminal, which is in, is put out screen state;
When mobile terminal is in and puts out screen state, whether the network connecting function for detecting mobile terminal is turned off;
When the network connecting function of mobile terminal is turned off, the network connecting function of the mobile terminal is opened, so that
The mobile terminal connects network automatically.
The another object of the embodiment of the present invention is to provide a kind of device of automatic connection network, and described device includes:
Screen state detection unit is put out, puts out screen state for detecting mobile terminal and whether being in;
Network connecting function detection unit, for when mobile terminal is in and puts out screen state, detecting the network of mobile terminal
Whether linkage function is turned off;
Network connecting function opening unit, for when the network connecting function of mobile terminal is turned off, opening the shifting
The network connecting function of dynamic terminal, so that the mobile terminal connects network automatically.
In embodiments of the present invention, due to having opened the network connection of mobile terminal when mobile terminal is in and puts out screen state
Function, therefore so that user need not open the network connecting function of mobile terminal again when lighting the screen of mobile terminal, so that
The time for the network connecting function for opening mobile terminal is saved, and, the time for waiting network connection is saved, improves use
The good experience at family.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the method for automatic connection network that first embodiment of the invention provides;
Fig. 2 is a kind of structure chart of the device for automatic connection network that second embodiment of the invention provides;
Fig. 3 is a kind of structure chart for mobile terminal that second embodiment of the invention provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In the embodiment of the present invention, whether detection mobile terminal, which is in, is put out screen state, when mobile terminal is in and puts out screen state,
Whether the network connecting function of detection mobile terminal is turned off, if being turned off, opens the network connecting function of the mobile terminal,
So that the mobile terminal connects network automatically.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 shows a kind of flow chart of the method for automatic connection network that first embodiment of the invention provides, and is described in detail such as
Under:
Step S11, whether detection mobile terminal, which is in, is put out screen state.
Specifically, judged by the brightness value for the backlight for detecting mobile terminal, if the brightness value of backlight reaches
To the threshold value for putting out screen, then judge that mobile terminal is in and put out screen state, otherwise, it is determined that mobile terminal, which is in non-, puts out screen state.
Step S12, when mobile terminal is in and puts out screen state, whether the network connecting function for detecting mobile terminal has closed
Close.
Wherein, network connecting function here includes wifi linkage functions and data network connecting function.In the step, inspection
Whether the network connecting function of survey mobile terminal is turned off:Detect the wifi linkage functions and/or data of mobile terminal
Whether network connecting function is turned off.
Step S13, when the network connecting function of mobile terminal is turned off, opens the network connection work(of the mobile terminal
Can, so that the mobile terminal connects network automatically.
Wherein, the network connecting function for opening mobile terminal refers to that opening is used for the switch for connecting network, for example, it is assumed that
" 0 " represents the network connecting function of mobile terminal to close, when " 1 " represents the network connecting function of mobile terminal to open, then
The network connecting function for opening the mobile terminal is specially to be set to " 0 " " 1 ".
Alternatively, in order to save the data traffic of mobile terminal, the network connecting function for opening the mobile terminal,
So that the mobile terminal connects network automatically, specifically include:
A1, the wifi information for obtaining current environment, and judge whether the mobile terminal preserves the current environment
Wifi information.Wherein, the wifi information of current environment includes:The wifi unique marks (such as title) of current environment, connection password
Deng.Specifically, when mobile terminal accesses a wifi, the information of the wifi is preserved, therefore, when acquisition for mobile terminal is to newly
Wifi information (the wifi information of current environment) when, by the new wifi information with preserve wifi information compared with, if identical
(wifi unique marks and connection password are all identical), then judge that mobile terminal preserves the wifi information of the current environment.
A2, when the mobile terminal preserves the wifi information of the current environment, open the wifi of the mobile terminal
Network connecting function, so that the mobile terminal connects the wifi network of the current environment automatically.Since mobile terminal can
The wifi of current environment is accessed, therefore, need to only open the wifi network linkage function of mobile terminal can make the mobile terminal
Network is accessed, also, since the data network linkage function of mobile terminal need not be opened, save the behaviour of mobile terminal
Make step, so as to save system resource.
A3, when the mobile terminal does not preserve the wifi information of the current environment, open the mobile terminal
Data network linkage function, so that the mobile terminal connects data network automatically.When judging that mobile terminal can not access
During the wifi of current environment, the data network linkage function of mobile terminal is opened, so that mobile terminal can pass through data network
Linkage function accesses network.When alternatively, due to accessing network by data network linkage function, it is possible to create data traffic,
Therefore, before the data network linkage function of mobile terminal is opened, ask the user whether to open data network linkage function, or
Person, directly prompts user, has opened data network linkage function.
Alternatively, in the network connecting function for opening the mobile terminal, so that the mobile terminal connects automatically
Before network, including:
The screen of the mobile terminal is detected with the presence or absence of projection, so as to when the screen of the mobile terminal exists and projects
Open the network connecting function of the mobile terminal.Specifically, by the light sensation modular spacing set time (as interval 1 millisecond, 10
Millisecond etc.) light intensity for projecting mobile terminal is detected, the ring around the light intensity and the mobile terminal of detection for projecting mobile terminal
When the difference of the light intensity in border is more than default Intensity threshold, judge that the screen of mobile terminal has projection.When the screen of mobile terminal
During in the presence of projection, the user of mobile terminal is likely to prepare to use the mobile terminal, at this time, then opens the network of mobile terminal
Linkage function, can not only ensure that user can be also avoided due to opening network connection too early quickly using the network connected
Resource spent by function.
Alternatively, it is set to the projection of user since the projection of the screen of mobile terminal differs, in order to further confirm that
The projection of the screen of mobile terminal whether be user projection, the screen of the detection mobile terminal with the presence or absence of projection,
To open the network connecting function of the mobile terminal when the screen of the mobile terminal exists and projects, specifically include:
B1, the screen of the detection mobile terminal are with the presence or absence of projection.
B2, the mobile terminal screen exist projection when, judge the size of area of the projection whether first
Change in preset time, to open institute when the size of the area of the projection changes in the first preset time
State the network connecting function of mobile terminal.Since user is often in motion state (such as swing of head etc.), if mobile
The projection for being projected as user of terminal, then the size of the area of the projection of the mobile terminal can occur in the first preset time
Change.Further, change in the size of the area of the projection in the first preset time, and the change occurred is less than
The network connecting function of the mobile terminal is just opened during default area threshold.Since user is preparing to use mobile terminal
When, it will not produce excessive swing, therefore, change in the size of the area of projection in the first preset time, and send out
The network connecting function of the mobile terminal is just opened in raw change when being less than default area threshold, it is possible to increase open network
The accuracy rate of linkage function.Wherein, the first preset time here is set according to actual conditions, such as, it is set as 1 second, 2
Second etc..
Alternatively, it is set to the projection of user since the projection of the screen of mobile terminal differs, in order to further confirm that
The projection of the screen of mobile terminal whether be user projection, the screen of the detection mobile terminal with the presence or absence of projection,
To open the network connecting function of the mobile terminal when the screen of the mobile terminal exists and projects, specifically include:
C1, the screen of the detection mobile terminal are with the presence or absence of projection.
C2, the mobile terminal screen exist projection when, judge the projection existence time whether exceed second
Preset time, to open the network connection of the mobile terminal when the existence time of the projection exceeds the second preset time
Function.Since user is when preparing to use mobile terminal, its projection produced can be there are the regular hour, therefore, when mobile whole
The presence of the projection of the screen at end is actual when exceeding the second preset time, and the projection of user is projected as described in judgement, at this time, is just beaten
Open the network connecting function of mobile terminal.Certainly, in order to further improve judge projection whether be user projection accuracy,
Can also after the existence time for judging projection exceeds the second preset time, continue to judge the size of area that projects whether
Change in first preset time, to be beaten when the size of the area of the projection changes in the first preset time
Open the network connecting function of the mobile terminal.
Alternatively, after step B2 or C2, comprise the following steps:
Light the screen of mobile terminal and enter released state.Since step B2 and C2 have judged being projected as mobile terminal
The projection of user, that is, judging that user prepares the state using mobile terminal, therefore, the screen for lighting mobile terminal is gone forward side by side
User's quick release mobile terminal can be made by entering released state, so as to improve the speed using mobile terminal, improve user
Good experience.
In first embodiment of the invention, whether detection mobile terminal is in mobile terminal in screen state is put out and puts out screen shape
During state, whether the network connecting function for detecting mobile terminal is turned off, if being turned off, opens the network connection of the mobile terminal
Function, so that the mobile terminal connects network automatically.Due to having opened mobile terminal when mobile terminal is in and puts out screen state
Network connecting function, therefore so that user when lighting the screen of mobile terminal without open again mobile terminal network connect
Connection function, thus save open mobile terminal network connecting function time, and, save wait network connection when
Between, improve the good experience of user.
It is to be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the elder generation of execution sequence
Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention
Into any restriction.
Embodiment two:
Fig. 2 shows a kind of structure chart of the device for automatic connection network that second embodiment of the invention provides, this is automatic
The device of connection network can be applied in mobile terminal, and the mobile terminal described in the disclosure includes mobile phone, intelligence electricity
Words, laptop computer, digital broadcast terminal, PDA (personal digital assistant), PMP (portable media player), navigation system
System etc..Except when when being only applied to mobile terminal, the embodiment described in the disclosure can be applied to such as DTV, platform
The fixed terminals such as formula computer.For convenience of description, illustrate only and the relevant part of the embodiment of the present invention.
The device of the automatic connection network includes:Put out screen state detection unit 21, network connecting function detection unit 22, net
Network linkage function opening unit 23.Wherein:
Screen state detection unit 21 is put out, puts out screen state for detecting mobile terminal and whether being in.Specifically, moved by detecting
The brightness value of the backlight of dynamic terminal is judged, if the brightness value of backlight reaches the threshold value for putting out screen, is judged mobile whole
End is in screen state is put out, otherwise, it is determined that mobile terminal, which is in non-, puts out screen state.
Network connecting function detection unit 22, for when mobile terminal is in and puts out screen state, detecting the net of mobile terminal
Whether network linkage function is turned off.
Wherein, network connecting function here includes wifi linkage functions and data network connecting function.
Network connecting function opening unit 23, for when the network connecting function of mobile terminal is turned off, described in opening
The network connecting function of mobile terminal, so that the mobile terminal connects network automatically.
Alternatively, the network connecting function opening unit 23 includes:
Wifi information comparison modules, for obtaining the wifi information of current environment, and judge whether the mobile terminal is protected
Deposit the wifi information of the current environment.Wherein, the wifi information of current environment includes:The wifi unique marks of current environment
(such as title), connection password.
Wifi network linkage function opens module, for preserving the wifi information of the current environment in the mobile terminal
When, the wifi network linkage function of the mobile terminal is opened, so that the mobile terminal connects the current environment automatically
Wifi network.Since the data network linkage function of mobile terminal need not be opened, the operation for saving mobile terminal walks
Suddenly, so as to save system resource.
Data network linkage function opens module, for not preserving the wifi of the current environment in the mobile terminal
During information, the data network linkage function of the mobile terminal is opened, so that the mobile terminal connects data network automatically.Can
Selection of land, due to by data network linkage function access network when, it is possible to create data traffic, therefore, open mobile terminal
Data network linkage function before, ask the user whether open data network linkage function, alternatively, directly prompting user,
Open data network linkage function.
Alternatively, the device of the automatic connection network includes:
Detection unit is projected, the screen for detecting the mobile terminal whether there is projection, so as to described mobile whole
There is the network connecting function that the mobile terminal is opened during projection in the screen at end.
Specifically, projected by light sensation modular spacing set time (as being spaced 1 millisecond, 10 milliseconds etc.) detection mobile whole
The light intensity at end, when the difference of the light intensity and the light intensity of the mobile terminal surrounding environment of detection that project mobile terminal is more than default light
During strong threshold value, judge that the screen of mobile terminal has projection.When there is projection in the screen of mobile terminal, the user of mobile terminal
It is likely to prepare to use the mobile terminal, at this time, then opens the network connecting function of mobile terminal, can not only ensure user
Can also it be avoided quickly using the network connected due to opening the resource spent by network connecting function too early.
Alternatively, it is set to the projection of user since the projection of the screen of mobile terminal differs, in order to further confirm that
The screen of mobile terminal projection whether be user projection, at this time project detection unit include:
First screen message detection module, for detecting the screen of the mobile terminal with the presence or absence of projection.
Projected area judgment module, for when the screen of the mobile terminal has projection, judging the face of the projection
Whether long-pending size changes in the first preset time, so as in the size of the area of the projection in the first preset time
The network connecting function of the mobile terminal is opened when inside changing.Since user is when preparing to use mobile terminal, it is not
Excessive swing can be produced, therefore, is changed in the size of the area of projection in the first preset time, and the change occurred
The network connecting function of the mobile terminal is just opened during less than default area threshold, it is possible to increase open network connecting function
Accuracy rate.Wherein, the first preset time here is set according to actual conditions, such as, it is set as 1 second, 2 seconds etc..
Alternatively, the projection detection unit includes:
Second screen message detection module, for detecting the screen of the mobile terminal with the presence or absence of projection.
Projection time judgment module, for when the screen of the mobile terminal has projection, judging depositing for the projection
Whether exceed the second preset time in the time, described in being opened when the existence time of the projection exceeds the second preset time
The network connecting function of mobile terminal.Since user is when preparing to use mobile terminal, its projection produced can exist certain
Time, therefore, when the presence of the projection of the screen of mobile terminal is actual exceeds the second preset time, is projected as using described in judgement
The projection at family, at this time, just opens the network connecting function of mobile terminal.Certainly, in order to further improve judge projection whether be
The accuracy of the projection of user, can also continue to judge to throw after the existence time for judging projection exceeds the second preset time
Whether the size of the area of shadow changes in the first preset time, so as to pre- first in the size of the area of the projection
If the network connecting function of the mobile terminal is opened when changing in the time.
Alternatively, the device of the automatic connection network includes:
Screen lighting unit, for lighting the screen of mobile terminal and entering released state.Due to having judged mobile terminal
Be projected as the projection of user, that is, judge user prepare using mobile terminal state, therefore, light mobile terminal
Screen simultaneously can make user's quick release mobile terminal into released state, so as to improve the speed using mobile terminal, carry
The high good experience of user.
In second embodiment of the invention, since the network that mobile terminal has been opened when mobile terminal is in and puts out screen state connects
Connection function, therefore so that user need not open the network connecting function of mobile terminal again when lighting the screen of mobile terminal, from
And the time for the network connecting function for opening mobile terminal is saved, and, the time for waiting network connection is saved, is improved
The good experience of user.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Division, is only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment the method for the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Fig. 3 shows a kind of structure diagram of mobile terminal, which can be used for implementing to carry in above-described embodiment
The method of the automatic connection network supplied.
As shown in figure 3, mobile terminal 1200 can include RF (Radio Frequency, radio frequency) circuit 110, include
The memory 120 of one or more (one is only shown in figure) computer-readable recording mediums, input unit 130, display
Unit 140, sensor 150, voicefrequency circuit 160, transport module 170, include one or more than one (only shows one in figure
It is a) processor 180 and the grade component of power supply 190 of processing core.It will be understood by those skilled in the art that the shifting shown in Fig. 3
Dynamic 1200 structure of terminal does not form the restriction to mobile terminal 1200, can include components more more or fewer than diagram, or
Person combines some components, or different components arrangement.Wherein:
RF circuits 110 are used to receiving and sending electromagnetic wave, the mutual conversion of electromagnetic wave and electric signal are realized, so that with leading to
News network or other equipment are communicated.RF circuits 110 may include the various existing circuit elements for being used to perform these functions
Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage
Device etc..RF circuits 110 can be communicated with various networks such as internet, intranet, wireless network or by wireless
Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).
Above-mentioned wireless network can use various communication standards, agreement and technology, including but not limited to global system for mobile communications
(Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data
GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple
Access, WCDMA), Code Division Multiple Access (Code Division Access, CDMA), time division multiple access technology (Time
Division Multiple Access, TDMA), adopting wireless fidelity technology (Wireless Fidelity, Wi-Fi) (such as U.S.'s electricity
Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n),
The networking telephone (Voice over Internet Protocol, VoIP), worldwide interoperability for microwave accesses (Worldwide
Interoperability for Microwave Access, Wi-Max), other be used for mail, instant messaging and short message
Agreement, and any other suitable communications protocol, or even may include those agreements not being developed yet currently.
Memory 120 can be used for storage software program and module, as in above-described embodiment automatically the method for connection network/
Corresponding programmed instruction/the module of device, processor 180 are stored in software program and module in memory 120 by operation,
So as to perform various functions application and data processing, that is, realize the automatic connection network function of mobile terminal.Memory 120 can
Including high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or
Other non-volatile solid state memories of person.In some instances, memory 120 can further comprise remote relative to processor 180
The memory that journey is set, these remote memories can pass through network connection to mobile terminal 1200.The example bag of above-mentioned network
Include but be not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 130 can be used for the numeral or character information for receiving input, and produce and user setting and function
Control related keyboard, mouse, operation lever, optics or the input of trace ball signal.Specifically, input unit 130 may include to touch
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, collect and use
Family on it or neighbouring touch operation (such as user using any suitable object or annex such as finger, stylus in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to formula set in advance.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and processor 180 can be received
The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.Except touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One or more in trace ball, mouse, operation lever etc..
Display unit 140 can be used for display by information input by user or be supplied to the information and mobile terminal of user
1200 various graphical user interface, these graphical user interface can be by figure, text, icon, video and its any combination
To form.Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal
Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) comes
Configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 is detected at it
On or near touch operation after, send to processor 180 with determine touch event type, be followed by subsequent processing device 180 according to touch
The type for touching event provides corresponding visual output on display panel 141.Although in figure 3, touch sensitive surface 131 and display surface
Plate 141 is the component independent as two to realize input and input function, but in some embodiments it is possible to by touch-sensitive table
Face 131 is integrated with display panel 141 and realizes and outputs and inputs function.
Mobile terminal 1200 may also include at least one sensor 150, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can basis
The light and shade of ambient light adjusts the brightness of display panel 141, proximity sensor can when mobile terminal 1200 is moved in one's ear,
Close display panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect all directions
The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, available for identification mobile phone posture when static
Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes
Hit) etc.;The gyroscope that can also configure as mobile terminal 1200, barometer, hygrometer, thermometer, infrared ray sensor etc. its
His sensor, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, the audio that microphone 162 can be provided between user and mobile terminal 1200 connect
Mouthful.The transformed electric signal of the voice data received can be transferred to loudspeaker 161, by loudspeaker 161 by voicefrequency circuit 160
Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit
160 receive after be converted to voice data, then after voice data output processor 180 is handled, through RF circuits 110 to be sent to ratio
Such as another terminal, or voice data is exported to memory 120 further to handle.Voicefrequency circuit 160 is also possible that
Earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal 1200.
Mobile terminal 1200 can help user to send and receive e-mail, is clear by transport module 170 (such as Wi-Fi module)
Look at and webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 3 shows transmission mould
Block 170, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal 1200, completely can be as needed not
Change in the essential scope of invention and omit.
Processor 180 is the control centre of mobile terminal 1200, utilizes each of various interfaces and connection whole mobile phone
A part, by running or performing the software program and/or module that are stored in memory 120, and calls and is stored in storage
Data in device 120, perform the various functions and processing data of mobile terminal 1200, so as to carry out integral monitoring to mobile phone.Can
Choosing, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation
Demodulation processor, wherein, application processor mainly handles operating system, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Mobile terminal 1200 further includes the power supply 190 (such as battery) to all parts power supply, it is preferred that power supply can lead to
Cross power-supply management system and processor 180 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and
The functions such as power managed.Power supply 190 can also include one or more direct current or AC power, recharging system, electricity
The random component such as source fault detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, mobile terminal 1200 can also include camera, bluetooth module etc., and details are not described herein.Specifically
In the present embodiment, the display unit of mobile terminal is touch-screen display, and mobile terminal has further included memory, and one
Either more than one program one of them or more than one program storage is in memory, and be configured to by one or
Person's more than one processor execution states one or more than one program includes the instruction for being used for being operated below:
Whether detection mobile terminal, which is in, is put out screen state;
When mobile terminal is in and puts out screen state, whether the network connecting function for detecting mobile terminal is turned off;
When the network connecting function of mobile terminal is turned off, the network connecting function of the mobile terminal is opened, so that
The mobile terminal connects network automatically.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, the network connecting function for opening the mobile terminal, so that the mobile terminal
Automatic connection network, specifically includes:
The wifi information of current environment is obtained, and judges whether the mobile terminal preserves the wifi letters of the current environment
Breath;
When the mobile terminal preserves the wifi information of the current environment, the wifi network of the mobile terminal is opened
Linkage function, so that the mobile terminal connects the wifi network of the current environment automatically;
When the mobile terminal does not preserve the wifi information of the current environment, the data of the mobile terminal are opened
Network connecting function, so that the mobile terminal connects data network automatically.
In the third the possible embodiment provided based on the first possible embodiment, beaten described
The network connecting function of the mobile terminal is opened, so that before the mobile terminal connects network automatically, including:
The screen of the mobile terminal is detected with the presence or absence of projection, so as to when the screen of the mobile terminal exists and projects
Open the network connecting function of the mobile terminal.
In the 4th kind of possible embodiment provided based on the third possible embodiment, the detection
The screen of the mobile terminal is with the presence or absence of projection, to open the movement when the screen of the mobile terminal exists and projects
The network connecting function of terminal, specifically includes:
The screen of the mobile terminal is detected with the presence or absence of projection;
When the screen of the mobile terminal has projection, judge whether the size of the area of the projection is default first
Change in time, to open the shifting when the size of the area of the projection changes in the first preset time
The network connecting function of dynamic terminal.
In the 5th kind of possible embodiment provided based on the third possible embodiment, the detection
The screen of the mobile terminal is with the presence or absence of projection, to open the movement when the screen of the mobile terminal exists and projects
The network connecting function of terminal, specifically includes:
The screen of the mobile terminal is detected with the presence or absence of projection;
When the screen of the mobile terminal has projection, judge whether the existence time of the projection is default beyond second
Time, to open the network connection work(of the mobile terminal when the existence time of the projection exceeds the second preset time
Energy.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention answers the scope of the claims of being subject to.
Claims (8)
- A kind of 1. method of automatic connection network, it is characterised in that the described method includes:Whether detection mobile terminal, which is in, is put out screen state;When mobile terminal is in and puts out screen state, whether the network connecting function for detecting mobile terminal is turned off;Wherein, detection moves Whether the network connecting function of dynamic terminal is turned off:Detect the wifi network linkage function and/or data of mobile terminal Whether network connecting function is turned off;When the network connecting function of mobile terminal is turned off, the network connecting function of the mobile terminal is opened, so that described Mobile terminal connects network automatically;In the network connecting function for opening the mobile terminal, so that before the mobile terminal connects network automatically, bag Include:The screen of the mobile terminal is detected with the presence or absence of projection, to be opened when the screen of the mobile terminal exists and projects The network connecting function of the mobile terminal.
- 2. according to the method described in claim 1, it is characterized in that, the network connecting function for opening the mobile terminal, So that the mobile terminal connects network automatically, specifically include:The wifi information of current environment is obtained, and judges whether the mobile terminal preserves the wifi information of the current environment;When the mobile terminal preserves the wifi information of the current environment, the wifi network connection of the mobile terminal is opened Function, so that the mobile terminal connects the wifi network of the current environment automatically;When the mobile terminal does not preserve the wifi information of the current environment, the data network of the mobile terminal is opened Linkage function, so that the mobile terminal connects data network automatically.
- 3. according to the method described in claim 1, it is characterized in that, the screen of the detection mobile terminal is with the presence or absence of throwing Shadow, to open the network connecting function of the mobile terminal when the screen of the mobile terminal exists and projects, specifically includes:The screen of the mobile terminal is detected with the presence or absence of projection;When the screen of the mobile terminal has projection, judge the size of area of the projection whether in the first preset time Inside change, it is described mobile whole to be opened when the size of the area of the projection changes in the first preset time The network connecting function at end.
- 4. according to the method described in claim 1, it is characterized in that, the screen of the detection mobile terminal is with the presence or absence of throwing Shadow, to open the network connecting function of the mobile terminal when the screen of the mobile terminal exists and projects, specifically includes:The screen of the mobile terminal is detected with the presence or absence of projection;When there is projection in the screen of the mobile terminal, judge the projection existence time whether beyond second it is default when Between, to open the network connecting function of the mobile terminal when the existence time of the projection exceeds the second preset time.
- 5. a kind of device of automatic connection network, it is characterised in that described device includes:Screen state detection unit is put out, puts out screen state for detecting mobile terminal and whether being in;Network connecting function detection unit, for when mobile terminal is in and puts out screen state, detecting the network connection of mobile terminal Whether function is turned off;Wherein, detect mobile terminal network connecting function whether be turned off be specially:Detect mobile terminal Whether wifi network linkage function and/or data network linkage function are turned off;Network connecting function opening unit, it is described mobile whole for when the network connecting function of mobile terminal is turned off, opening The network connecting function at end, so that the mobile terminal connects network automatically;Detection unit is projected, the screen for detecting the mobile terminal whether there is projection, so as in the mobile terminal There is the network connecting function that the mobile terminal is opened during projection in screen.
- 6. device according to claim 5, it is characterised in that the network connecting function opening unit includes:Wifi information comparison modules, for obtaining the wifi information of current environment, and judge whether the mobile terminal preserves institute State the wifi information of current environment;Wifi network linkage function opens module, during wifi information for preserving the current environment in the mobile terminal, The wifi network linkage function of the mobile terminal is opened, so that the mobile terminal connects the wifi of the current environment automatically Network;Data network linkage function opens module, for not preserving the wifi information of the current environment in the mobile terminal When, the data network linkage function of the mobile terminal is opened, so that the mobile terminal connects data network automatically.
- 7. device according to claim 5, it is characterised in that projection detection unit includes:First screen message detection module, for detecting the screen of the mobile terminal with the presence or absence of projection;Projected area judgment module, for when the screen of the mobile terminal has projection, judging the area of the projection Whether size changes in the first preset time, to be sent out in the size of the area of the projection in the first preset time The network connecting function of the mobile terminal is opened during changing.
- 8. device according to claim 5, it is characterised in that the projection detection unit includes:Second screen message detection module, for detecting the screen of the mobile terminal with the presence or absence of projection;Projection time judgment module, for the mobile terminal screen exist projection when, judge the projection there are when Between whether exceed the second preset time, to open the movement when the existence time of the projection exceeds the second preset time The network connecting function of terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510598196.3A CN105282330B (en) | 2015-09-18 | 2015-09-18 | The method and device of automatic connection network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510598196.3A CN105282330B (en) | 2015-09-18 | 2015-09-18 | The method and device of automatic connection network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105282330A CN105282330A (en) | 2016-01-27 |
CN105282330B true CN105282330B (en) | 2018-04-20 |
Family
ID=55150621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510598196.3A Active CN105282330B (en) | 2015-09-18 | 2015-09-18 | The method and device of automatic connection network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105282330B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106060897A (en) * | 2016-05-31 | 2016-10-26 | 合肥联宝信息技术有限公司 | Method for automatically starting WiFi and electronic device using same |
CN106162830A (en) * | 2016-09-27 | 2016-11-23 | 维沃移动通信有限公司 | The method of attachment of a kind of WLAN and mobile terminal |
CN108966364A (en) * | 2018-07-18 | 2018-12-07 | 奇酷互联网络科技(深圳)有限公司 | Wi-Fi hotspot reconnection method, device, readable storage medium storing program for executing and mobile terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100574245C (en) * | 2006-08-24 | 2009-12-23 | 宏碁股份有限公司 | Keep the Wireless LAN module and the method thereof of connection |
US8599132B2 (en) * | 2008-06-10 | 2013-12-03 | Mediatek Inc. | Methods and systems for controlling electronic devices according to signals from digital camera and sensor modules |
CN102300296A (en) * | 2011-08-24 | 2011-12-28 | 中兴通讯股份有限公司 | Method for reducing near field communication (NFC) apparatus power consumption and terminal equipment |
CN102711164B (en) * | 2012-05-15 | 2015-05-13 | 上海交通大学无锡研究院 | Intelligent management method for data communication link of mobile terminal |
-
2015
- 2015-09-18 CN CN201510598196.3A patent/CN105282330B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105282330A (en) | 2016-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105306682B (en) | The method and device of network connection switch is automatically closed | |
CN106326074B (en) | The method of adjustment and mobile terminal of processor operational factor | |
CN106027108B (en) | A kind of indoor orientation method, device and wearable device and mobile terminal | |
CN110198545A (en) | A kind of secondary cell group adding method, terminal device and host node | |
CN106131345A (en) | The control method of a kind of proximity transducer, device and mobile terminal | |
CN105892850B (en) | Open method, device and the mobile terminal of application program for mobile terminal | |
CN105187653B (en) | Network connection switchs method for closing and device | |
CN106453840B (en) | The method for adjusting performance and mobile terminal of mobile terminal | |
CN106358225B (en) | A kind of processing method of network data, device and mobile terminal | |
CN103544056B (en) | Method, device and the terminal device of control task speed | |
CN106383654A (en) | Touch screen parameter adjustment method and mobile terminal | |
CN107172671A (en) | A kind of channel switching method, device, storage medium and terminal | |
CN106453908A (en) | Double-card network switching method and apparatus based on call and mobile terminal | |
CN105357657B (en) | The construction method and device of Mesh network | |
CN106453839A (en) | Antenna adjusting method and mobile terminal | |
CN106791084A (en) | The synchronous method and mobile terminal of personalizing parameters | |
CN105282330B (en) | The method and device of automatic connection network | |
CN106817489B (en) | The reminding method and mobile terminal of message | |
CN108958936A (en) | Application programe switch-over method, mobile terminal and computer readable storage medium | |
CN106385486B (en) | A kind of control method of proximity sensor, device and mobile terminal | |
CN105100361B (en) | The way of recording and device of mobile terminal | |
CN106936516A (en) | Display screen dispaly state control method, storage medium and terminal | |
CN109379777A (en) | A kind of network search method, terminal and computer readable storage medium | |
CN109286970A (en) | Wearable device power consumption optimization method and device, equipment and readable storage medium storing program for executing | |
CN109522276A (en) | Application icon management method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: Guangdong Opel Mobile Communications Co., Ltd. |