CN106358225B - A kind of processing method of network data, device and mobile terminal - Google Patents
A kind of processing method of network data, device and mobile terminal Download PDFInfo
- Publication number
- CN106358225B CN106358225B CN201610836823.7A CN201610836823A CN106358225B CN 106358225 B CN106358225 B CN 106358225B CN 201610836823 A CN201610836823 A CN 201610836823A CN 106358225 B CN106358225 B CN 106358225B
- Authority
- CN
- China
- Prior art keywords
- network
- data network
- mobile
- wlan
- mobile data
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- 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/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0016—Hand-off preparation specially adapted for end-to-end data sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of processing method of network data, device and mobile terminal, including:When mobile terminal detects the out code of WLAN, initial time point is obtained;Calculated since the initial time point, control continues through the WLAN in preset time period and carries out network access;The mobile data network of mobile terminal is opened in the preset time period;At the end of preset time period, the out code of the WLAN is responded, and network access is carried out by the mobile data network.The present invention starts timing after the out code by detecting WLAN, WLAN is continuing with preset time and carries out network access, open mobile data network, timing terminates, WLAN is closed, and network access is carried out using mobile data network, relative to prior art, time delay problem when starting mobile data network after WLAN is closed is avoided, time and the data traffic of user is greatly saved.
Description
Technical field
The present invention relates to mobile terminal network technical field, more particularly to a kind of processing method of network data, device and
Mobile terminal.
Background technology
With WLAN (WLAN, Wireless Local Area Networks) popularization, user often can be with
By Wireless Fidelity (Wi-Fi, Wireless-Fidelity) network access internet, internet is accessed by Wi-Fi network
Priority be higher than by mobile data network access internet priority, such as, and mobile terminal when Wi-Fi network is connected,
Internet is only accessed by Wi-Fi network.
When accessing internet by Wi-Fi network, many times because Wi-Fi network signal is weaker or network data
Obstruction, causes the speed of mobile terminal accessing internet excessively slow, and now user needs to close Wi-Fi functions, accesses mobile data
Network accesses internet, it is necessary to the regular hour when prior art is opened when closing Wi-Fi to mobile data network,
In this period, mobile terminal can not access network, may cause situations such as webpage error, loading failure.
The content of the invention
It is an object of the invention to provide a kind of processing method of network data, device and mobile terminal, it is intended to avoid because
Cause the abnormal situation of Web vector graphic for network interruption, lift network access efficiency, save data traffic.
In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:
A kind of processing method of network data, including:
When mobile terminal detects the out code of WLAN, initial time point is obtained;
Calculated since the initial time point, control continues through the WLAN in preset time period and carried out
Network access;
The mobile data network of mobile terminal is opened in the preset time period;
At the end of preset time period, the out code of the WLAN is responded, and passes through the mobile data network
Network carries out network access.
In order to solve the above technical problems, the embodiment of the present invention also provides following technical scheme:
A kind of processing unit of network data, including:
When acquisition module, out code for detecting WLAN when mobile terminal, initial time point is obtained;
Control module, for being calculated since the initial time point, control continues through described in preset time period
WLAN carries out network access;
Opening module, the mobile data network for opening mobile terminal in the preset time period;
Respond module, at the end of preset time period, responding the out code of the WLAN, and passes through institute
State mobile data network and carry out network access.
In order to solve the above technical problems, the embodiment of the present invention also provides following technical scheme:
A kind of mobile terminal, including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs the embodiment of the present invention and carries
The processing method of any network data supplied.
Processing method, device and the mobile terminal of a kind of network data provided relative to prior art, the present embodiment, lead to
Cross and start timing after the out code of WLAN is detected, being continuing with WLAN in timing time section is carried out
Network access, and mobile data network is opened, after timing terminates, WLAN is closed, and carry out using mobile data network
Network access, it is to avoid WLAN starts time delay problem during mobile data network after closing, be greatly saved
The time of user and data traffic.
Brief description of the drawings
Below in conjunction with the accompanying drawings, it is described in detail by the embodiment to the present invention, technical scheme will be made
And other beneficial effects are apparent.
Fig. 1 is the schematic flow sheet of the processing method of network data provided in an embodiment of the present invention.
Fig. 2 is the interface schematic diagram that webpage provided in an embodiment of the present invention loads failure.
Fig. 3 is another schematic flow sheet of the processing method of network data provided in an embodiment of the present invention.
Fig. 4 is the module diagram of the processing unit of network data provided in an embodiment of the present invention.
Fig. 5 is another module diagram of the processing unit of network data provided in an embodiment of the present invention.
Fig. 6 is mobile terminal structure schematic diagram provided in an embodiment of the present invention.
Embodiment
It refer to schema, wherein identical element numbers represent identical component, principle of the invention is to implement one
Illustrated in appropriate computing environment.The following description is that, based on the illustrated specific embodiment of the invention, it should not be by
It is considered as the limitation present invention other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object to be performed in the arithmetic system as.It is as described herein
Different components, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And device as described herein and side
Method is preferred to be implemented in the way of software, can also be implemented certainly on hardware, within the scope of the present invention.
Concrete analysis explanation is carried out below.
In the present embodiment, the angle of the processing unit from network data is described, the processing dress of the network data
Mobile terminal can be specifically integrated in by putting, such as mobile phone, tablet personal computer, palm PC (PDA, Personal Digital
Assistant) etc..
A kind of processing method of network data, including:When mobile terminal detects the out code of WLAN, obtain
Take initial time point;Calculated since the initial time point, control continues through the wireless local in preset time period
Net carries out network access;The mobile data network of mobile terminal is opened in the preset time period;Terminate in preset time period
When, the out code of the WLAN is responded, and network access is carried out by the mobile data network.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of the processing method of network data provided in an embodiment of the present invention.
Specifically, methods described includes:
In step S101, when mobile terminal detects the out code of WLAN, initial time point is obtained.
It is understood that the WLAN WLAN transmits data, speech and video in the air using wireless technology
Signal.As a kind of alternative solution of traditional wiring network or extension, WLAN from desk side has liberated individual go out
Come, them is obtained information whenever and wherever possible, improve the office efficiency of employee, and Wireless Fidelity Wi-Fi is a kind of permission
Electronic equipment is connected to the technology of a WLAN, usually using 2.4G UHF or 5G SHF ISM radio frequency bands.Connection
It is typically to have cryptoguard to WLAN, but may also be open, so allows for any setting in the range of WLAN
It is standby to connect, it is current using a kind of most wide wireless network transmission technology, the mobile data network refers to use the
The mobile communication skills such as two generation mobile communication technical specification 2G, 3rd generation mobile communication technology 3G, forth generation mobile communication technology 4G
Art carries out the network access mode of network access.
Wherein, the initial time point refers to the time current during the out code of mobile terminal detection discovery WLAN
Point, the out code of the WLAN refers to the instruction for closing the Wi-Fi on mobile terminal, and the out code can be with
User because produced by Wi-Fi on the excessively slow manual-lock mobile terminal of network speed of current wireless Local Area Network or
Mobile terminal detect wireless lan signal intensity it is too low and produce.
Such as, when user clicks on the Wi-Fi on mobile phone closing hand phone, Wi-Fi out code is produced, and obtain currently
Initial time point, such as 18:00:20.
In step s 102, calculated since initial time point, control continues through wireless local in preset time period
Net carries out network access.
It is understood that when mobile terminal opens mobile data network, mobile data network needs certain time
Network can be accessed, if now closing WLAN, some webpages may be caused to be ejected because of network can not be accessed
The interface of webpage loading failure, as shown in Fig. 2 Fig. 2 is the interface schematic diagram that webpage loads failure, now user needs to click on brush
New page, interface can just reacquire data, and the experience sense for not only resulting in user so is poor, and need to reload in nothing
The data buffered in line LAN, greatly waste data traffic.
Wherein, the preset time period is buffer time, and within the time period, maintenance is carried out by WLAN
Network access, so that mobile data network can complete to access the preparation of network within the time period.
In step s 103, the mobile data network of mobile terminal is opened in preset time period.
Specifically, the mobile data network that mobile terminal is opened in preset time period includes:
(1) network adapter of mobile data network is opened in preset time period.
The networking component for being operated in link layer it is understood that the network adapter is also referred to as network interface card, can realize with
Physical connection between local network transport medium and electric signal matching, further relate to the transmission of frame and reception, the encapsulation of frame and opening,
Function of medium access control, the coding of data and decoding and data buffer storage etc..
(2) mobile data network is opened by the network adapter.
Wherein, the network adapter for the mobile data network that mobile terminal passes through unlatching, to realize access network.
In step S104, at the end of preset time period, the out code of WLAN is responded, and pass through mobile number
Network access is carried out according to network.
Wherein, at the end of preset time period, represent mobile data network and fully opened, can start to access net
Network, does not need WLAN now, and response performs the out code of WLAN, passes through the mobile number having turned on
Conducted interviews network according to network.
From the foregoing, a kind of processing method for network data that the present embodiment is provided, by detecting wireless local
Start timing after the out code of net, being continuing with WLAN in timing time section carries out network access, and opens shifting
Dynamic data network, after timing terminates, closes WLAN, and carries out network access using mobile data network, relative to existing
There is technology, it is to avoid WLAN starts time delay problem during mobile data network after closing, be greatly saved use
The time at family and data traffic.
Citing, is described in further detail by the method according to described by above-described embodiment below.
Referring to Fig. 3, another schematic flow sheets of the Fig. 3 for the processing method of network data provided in an embodiment of the present invention.
Specifically, methods described includes:
In step s 201, the network signal intensity for the WLAN that detection mobile terminal is currently connected.
Wherein, the network signal intensity of the WLAN is the increasing of the distance with wireless transmission source and mobile terminal
Reduce greatly, and the network signal intensity directly affects the speed that mobile terminal accesses network by WLAN, net
Network signal intensity is smaller, and the speed that mobile terminal accesses network by WLAN is slower.
Such as, when mobile phone is surfed the Net by Wi-Fi connection WLAN, with mobile phone from wireless router with a distance from
More remote, the Wi-Fi signal strength on mobile phone is poorer, and the speed of surfing Internet with cell phone is slower.
In step S202, when network signal intensity is less than preset signal strength threshold value, the pass of WLAN is generated
Close instruction.
It is understood that when network signal intensity is less than certain preset signal strength threshold value, now mobile terminal
The speed for accessing network will be very slow, in order to preferably enjoy network service, can close the Wi-Fi connection on mobile terminal,
Conducted interviews network, such as mobile data network using other modes.
In certain possible embodiment, the out code of the WLAN can also be moved by user by clicking on
The Wi-Fi closing functions button in terminal is moved to be generated.
Such as, when the Wi-Fi connection signal on mobile phone shows that during an only lattice, mobile phone is surfed the Net by Wi-Fi less than 2 lattice
Speed can be very slow, now automatically generate the instruction for closing Wi-Fi, or because current wireless lan network is connected
Environment is poor, the Wi-Fi X buttons clicked on mobile phone of user manually, so that in other ways, such as mobile data network is carried out
Online.
In step S203, when mobile terminal detects the out code of WLAN, initial time point is obtained.
Wherein, when mobile terminal detects the out code of WLAN, do not perform immediately and close execution, continue to make
The WLAN is used, and obtains mobile terminal current time point.
Such as, when mobile phone detects Wi-Fi out codes, the operation for closing Wi-Fi is not performed at once, Wi- is continuing with
Fi connection current wireless Local Area Networks, and obtain the time of current phone, such as 17:00:10.
In step S204, calculated since initial time point, control continues through wireless local in preset time period
Net carries out network access.
It is understood that when mobile terminal opens mobile data network, mobile data network needs certain time
Network can be accessed, if now closing WLAN, some webpages may be caused to be ejected because of network can not be accessed
The interface of webpage loading failure, as shown in Fig. 2 Fig. 2 is the interface schematic diagram that webpage loads failure, now user needs to click on brush
New page, interface can just reacquire data, and the experience sense for not only resulting in user so is poor, and need to reload in nothing
The data buffered in line LAN, greatly waste data traffic.
Wherein, Wi-Fi connection WLAN is continuing with preset time period and carries out network access, is in order to shifting
Dynamic terminal opens mobile data network and provides a buffer time, network is carried out a docking switching, it is to avoid net
The situation that the interface of page loading failure is produced.
Such as, preset time period is 10 seconds, from initial time 17 on mobile phone:00:10 start to calculate, and control 17:00:
10 to 17:00:Between 20, mobile phone continues to be to carry out network access by Wi-Fi connection WLAN.
In step S205, the network adapter of mobile data network is opened in preset time period.
In a kind of possible embodiment, the network adapter that mobile data network is opened in preset time period
Including:
(1) in preset time period, judge whether mobile data network is waited for.
It is understood that when mobile terminal opens Wi-Fi and mobile data network simultaneously, Wi-Fi's is preferential
Level is higher than the priority of mobile data network, and now mobile data network such as is at the state to be used, abbreviation wait state,
Now when Wi-Fi is closed, mobile terminal can be automatically switched to accesses network using mobile data network, corresponding to move
Dynamic data network also includes closed mode.
Wherein, if judging, mobile data network is waited for, and step (2) is performed, if judging mobile data
Network is not at wait state, then performs step (3).
(2) network adapter of mobile data network is directly opened.
Wherein, because mobile data network is in opening, therefore the network adapter of mobile data network is directly opened,
Mobile data network is set to be changed into start-up operation state from wait state.
(3) mobile data network state is activated, and opens the network adapter of mobile data network.
Wherein, because mobile data network is closed, therefore need first to activate mobile data network state, Ran Houcai
The network adapter of mobile data network can be opened.
In alternatively possible embodiment, in preset time period, judge mobile data network whether in wait
State, if being waited for, opens the network adapter of mobile data network, if being not at wait state, directly performs
The out code of WLAN.
In step S206, mobile data network is opened by network adapter.
In step S207, at the end of preset time period, the out code of WLAN is responded, and pass through mobile number
Network access is carried out according to network.
Wherein, at the end of preset time period, by buffering, mobile data network has started, can be by moving
Dynamic data network accesses network, performs the out code of WLAN, and the Wi-Fi of turning-off mobile terminal docks mobile data
Network carries out network access, it is therefore prevented that the interface of webpage loading failure is ejected because of that can not access network, flow is saved, carries
The fluency of Web vector graphic is risen.
Such as, mobile phone is in initial time point 17:00:10 open the network adapter of the mobile data network on mobile phone, net
Network adapter is started working, at the end of preset time period, and such as 17:00:20, closing hand phone Wi-Fi, use the mobile number of mobile phone
According to network, such as 3G carries out network access, now buffering of the mobile data network of mobile phone Jing Guo preset time period, has completed pair
Network access can directly be carried out by connecing.
In step S208, the flow value that statistics is expended using mobile data network.
It is understood that the mobile data network set meal that existing operator provides has certain data traffic limit value,
When more than this limit value, the expense of certain amount can be produced.
Wherein it is possible to generate a translucent small-sized prompting frame on mobile terminals, display user currently passes through movement
The flow value that data network is used.
Such as, when mobile phone carries out network access using mobile data network, a translucent circle is formed on mobile phone
Shape flow prompting frame, shows currently used flow number, such as 100Mb.
In step S209, when flow value reaches preset flow threshold value, the mobile data network of turning-off mobile terminal, and
Prompt message is sent, to point out user the service condition of mobile data network flow.
It is understood that user can set suitable preset flow threshold value according to data traffic limit value, to control to move
The use value of dynamic data network.
Such as, after the Wi-Fi of closing hand phone, 300Mb is reached using mobile data network flow, then is closed current mobile
Data network, and prompt message is sent, ask the user whether to be continuing with Current mobile data network.
From the foregoing, a kind of processing method for network data that the present embodiment is provided, by detecting mobile terminal
When current network information intensity is less than certain signal strength threshold, the out code of WLAN is generated, wireless office is detected
Start timing after the out code of domain net, being continuing with WLAN in timing time section carries out network access, and opens
Mobile data network, after timing terminates, closes WLAN, and carries out network access using mobile data network, is using
When the flow value that mobile data network is produced reaches preset flow threshold value, mobile data network is closed, and point out user currently to make
With situation, relative to prior art, it is to avoid WLAN starts time delay problem during mobile data network after closing,
It is greatly saved time and the data traffic of user.
For ease of preferably implementing the processing method of network data provided in an embodiment of the present invention, the embodiment of the present invention is also carried
For a kind of device of the processing method based on above-mentioned network data.The wherein processing method of the implication of noun and above-mentioned network data
In it is identical, implement details and may be referred to explanation in embodiment of the method.
Referring to Fig. 4, module diagrams of the Fig. 4 for the processing unit of network data provided in an embodiment of the present invention.Specifically
For, the processing unit 300 of the network data, including:Acquisition module 31, control module 32, opening module 33 and response
Module 34.
When the acquisition module 31, out code for detecting WLAN when mobile terminal, when obtaining initial
Between point.
Wherein, the out code of the WLAN in the acquisition module 31 refers to the Wi- on mobile terminal
The instruction that Fi is closed.
The control module 32, for being calculated since the initial time point, control continues logical in preset time period
Cross the WLAN and carry out network access.
Wherein, the preset time period described in the control module 32 is buffer time, and the control of control module 32 is moved
Dynamic terminal continues through WLAN within this buffer time and carries out network access.
The opening module 33, the mobile data network for opening mobile terminal in the preset time period.
The respond module 34, at the end of preset time period, responding the out code of the WLAN, and
Network access is carried out by the mobile data network.
Wherein, the respond module 34 is at the end of preset time period, the Wi-Fi functions of turning-off mobile terminal, by moving
Mobile data network in dynamic terminal carries out network access.
Fig. 5 can be referred in the lump, and Fig. 5 illustrates for another module of the processing unit of network data provided in an embodiment of the present invention
Figure, the processing unit 300 of the network data can also include:
Wherein, the opening module 33 can be specifically included:
Adapter opens submodule 331, the network adapter for opening mobile data network in preset time period.
In a kind of possible embodiment, the adapter opens submodule 331, can be in the following way when default
Between the network adapter of mobile data network is opened in section:
In preset time period, judge whether mobile data network is waited for, if judging the mobile data
Network is waited for, then the network adapter of mobile data network is directly opened, if judging the mobile data network
Wait state is not at, then activates mobile data network state, and open the network adapter of mobile data network.
Network opens submodule 332, for opening mobile data network by the network adapter.
Detection module 35, the network signal intensity for detecting the WLAN that mobile terminal is currently connected.
Generation module 36, for when the network signal intensity is less than preset signal strength threshold value, generating wireless local
The out code of net.
In certain possible embodiment, the out code of the WLAN can be clicked on closing manually by user
Produced by Wi-Fi functions on mobile terminal.
Statistical module 37, for counting the flow value expended using the mobile data network.
Wherein it is possible to generate a translucent small-sized prompting frame on mobile terminals, the institute of statistical module 37 is shown
The flow value counted on.
Closedown module 38, for when the flow value reaches preset flow threshold value, closing the movement of the mobile terminal
Data network, and prompt message is sent, to point out user the service condition of mobile data network flow.
From the foregoing, a kind of processing unit for network data that the present embodiment is provided, by detecting mobile terminal
When current network information intensity is less than certain signal strength threshold, the out code of WLAN is generated, wireless office is detected
Start timing after the out code of domain net, being continuing with WLAN in timing time section carries out network access, and opens
Mobile data network, after timing terminates, closes WLAN, and carries out network access using mobile data network, is using
When the flow value that mobile data network is produced reaches preset flow threshold value, mobile data network is closed, and point out user currently to make
With situation, relative to prior art, it is to avoid WLAN starts time delay problem during mobile data network after closing,
It is greatly saved time and the data traffic of user.
The embodiment of the present invention also provides another mobile terminal, as shown in fig. 6, the mobile terminal 400 can include radio frequency
(RF, Radio Frequency) circuit 401, the memory for including one or more computer-readable recording mediums
402nd, input block 403, display unit 404, sensor 404, voicefrequency circuit 406, Wireless Fidelity Wi-Fi module 407, include
The parts such as the processor 408 and power supply 409 of one or more than one processing core.It will be understood by those skilled in the art that
The mobile terminal structure shown in Fig. 6 does not constitute the restriction to mobile terminal, can include than illustrating more or less portions
Part, either combines some parts or different parts arrangement.
Radio circuit 401 can be used for receive and send messages, or in communication process signal reception and transmission, especially, by base station
Downlink information receive after, transfer to one or more than one processor 408 handled;In addition, being sent up data are related to
To base station.Generally, radio circuit 401 includes but is not limited to antenna, at least one amplifier, tuner, one or more vibrations
Device, subscriber identity module (SIM, Subscriber IdentityModule) card, transceiver, coupler, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..In addition, radio circuit 401 can also by radio communication and network and
Other equipment communicates.The radio communication can use any communication standard or agreement, including but not limited to global system for mobile telecommunications system
Unite (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is many
Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term
Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memory 402 can be used for storage application program and data.Include and can hold in the application program that memory 402 is stored
Line code.Application program can constitute various functions module.Processor 408 is stored in the application journey of memory 402 by operation
Sequence, so as to perform various function application and data processing.Memory 402 can mainly include storing program area and data storage
Area, wherein, application program that storing program area can be needed for storage program area, at least one function (such as sound-playing function,
Image player function etc.) etc.;Storage data field can be stored uses created data (such as audio number according to mobile terminal
According to, phone directory etc.) etc..In addition, memory 402 can include high-speed random access memory, non-volatile deposit can also be included
Reservoir, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory
402 can also include Memory Controller, to provide the access of processor 408 and input block 403 to memory 402.
Input block 403 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and
Keyboard, mouse, action bars, optics or the trace ball signal relevant with user's setting and function control is produced to input.Specifically
Ground, in a specific embodiment, input block 403 may include touch sensitive surface and other input equipments.Touch sensitive surface,
Referred to as touch display screen or Trackpad, collect user on or near it touch operation (such as user using finger, touch
The operations of any suitable object or annex on touch sensitive surface or near touch sensitive surface such as pen), and according to set in advance
Formula drives corresponding attachment means.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.
Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch
Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processing
Device 408, and the order sent of reception processing device 408 and can be performed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray
And the polytype such as surface acoustic wave realizes touch sensitive surface.Except touch sensitive surface, input block 403 can also include other inputs
Equipment.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as volume control button, switch
Button etc.), fingerprint recognition module, trace ball, mouse, the one or more in action bars etc..
Display unit 404 can be used for the information that is inputted by user of display or the information for being supplied to user and mobile terminal
Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.
Display unit 404 may include display panel.Optionally, liquid crystal display (LCD, Liquid Crystal can be used
Display), the form such as Organic Light Emitting Diode (OLED, OrganicLight-Emitting Diode) configures display surface
Plate.Further, touch sensitive surface can cover display panel, after touch sensitive surface detects the touch operation on or near it,
Processor 408 is sent to determine the type of touch event, with preprocessor 408 according to the type of touch event in display panel
It is upper that corresponding visual output is provided.Although in figure 6, touch sensitive surface with display panel is realized as two independent parts
Input and input function, but in some embodiments it is possible to by touch sensitive surface and display panel it is integrated and realize input and it is defeated
Go out function.
Mobile terminal may also include at least one sensor 405, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel, and proximity transducer can close display surface when mobile terminal is moved in one's ear
Plate and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles)
The size of acceleration, can detect that size and the direction of gravity when static, the application available for identification mobile phone posture is (such as anyhow
Shield switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for movement
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor that terminal can also configure, no longer go to live in the household of one's in-laws on getting married herein
State.
Voicefrequency circuit 406 can provide the COBBAIF between user and mobile terminal by loudspeaker, microphone.Audio-frequency electric
The voice data received can be converted into electric signal by road 406, be transferred to loudspeaker, and it is defeated to be converted to voice signal by loudspeaker
Go out;On the other hand, the voice signal of collection is converted to electric signal by microphone, by voicefrequency circuit 406 receive after be converted to audio
Data, then after voice data output processor 408 is handled, through radio circuit 401 to be sent to such as another mobile terminal, or
Person exports voice data to memory 402 so as to further processing.Voicefrequency circuit 406 is also possible that earphone jack, to carry
For the communication of peripheral hardware earphone and mobile terminal.
Wireless Fidelity (Wi-Fi) belongs to short range wireless transmission technology, and mobile terminal can be with by wireless fidelity module 407
Help user to send and receive e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet
Access.Although Fig. 6 shows wireless fidelity module 407, but it is understood that, it is simultaneously not belonging to the necessary structure of mobile terminal
Into can be omitted as needed in the essential scope for do not change invention completely.
Processor 408 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in application program in memory 402, and calls and be stored in memory 402
Data, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Optionally, handle
Device 408 may include one or more processing cores;It is preferred that, processor 408 can integrated application processor and modulation /demodulation processing
Device, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly located
Manage radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 408.
Mobile terminal also includes the power supply 409 (such as battery) powered to all parts.It is preferred that, power supply can pass through electricity
Management system and processor 408 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 409 can also include one or more direct current or AC power, recharging system, power supply event
The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown in Fig. 6, mobile terminal can also include camera, bluetooth module etc., will not be repeated here.
Specifically in the present embodiment, processor 408 in mobile terminal can according to following instruction, by one or one with
On the corresponding executable code of process of application program be loaded into memory 402, and by processor 408 is stored in run
Application program in memory 402, so as to realize various functions:
When mobile terminal detects the out code of WLAN, initial time point is obtained;
Calculated since the initial time point, control continues through the WLAN in preset time period and carried out
Network access;
The mobile data network of mobile terminal is opened in the preset time period;
At the end of preset time period, the out code of the WLAN is responded, and passes through the mobile data network
Network carries out network access.
By the mobile terminal can perform the processing method for any network data that inventive embodiments are provided, because
This, it is possible to achieve the beneficial effect achieved by the processing method for any network data that inventive embodiments are provided, is referred to
Embodiment above, will not be repeated here.
It when it is implemented, above unit can be realized as independent entity, can also be combined, be made
Realized for same or several entities, the specific implementation of above unit can be found in embodiment of the method above, herein not
Repeat again.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, the detailed description of the processing method above with respect to network data is may refer to, here is omitted.
Processing method, device and the mobile terminal of network data provided in an embodiment of the present invention are for example tablet personal computer, hand
Machine etc., the processing method of the mobile terminal, the processing unit of network data and network data belongs to same design, described
The either method provided in the processing method embodiment that the network data can be run in the processing unit of network data, it has
Body implementation process refers to the processing method embodiment of the network data, and here is omitted.
It should be noted that for the processing method of network data of the present invention, this area common test personnel can
To understand all or part of flow for the processing method for realizing network data of the embodiment of the present invention, computer program can be by
To control the hardware of correlation to complete, the computer program can be stored in a computer read/write memory medium, such as stored
In the memory of terminal, and by least one computing device in the terminal, net as described is may include in the process of implementation
The flow of the embodiment of the processing method of network data.Wherein, described storage medium can be magnetic disc, CD, read-only storage
(ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
For the processing unit of the network data of the embodiment of the present invention, its each functional module can be integrated in one
In process chip or modules are individually physically present, can also two or more modules be integrated in a mould
In block.Above-mentioned integrated module can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If the integrated module is realized using in the form of software function module and is used as independent production marketing or in use, can also
It is stored in a computer read/write memory medium, the storage medium is for example read-only storage, disk or CD etc..
Processing method, device and the mobile terminal of a kind of network data provided above the embodiment of the present invention are carried out
It is discussed in detail, specific case used herein is set forth to the principle and embodiment of the present invention, above example
Illustrate the method and its core concept for being only intended to help to understand the present invention;Simultaneously for those skilled in the art, according to this
The thought of invention, be will change in specific embodiments and applications, in summary, and this specification content should not
It is interpreted as limitation of the present invention.
Claims (11)
1. a kind of processing method of network data, it is characterised in that methods described is applied to mobile terminal, including:
When mobile terminal detects the out code of WLAN, initial time point is obtained;
Calculated since the initial time point, control continues through the WLAN in preset time period and carries out network
Access;
The mobile data network of mobile terminal is opened in the preset time period;
At the end of preset time period, the out code of the WLAN is responded, and is entered by the mobile data network
Row network access.
2. the processing method of network data as claimed in claim 1, it is characterised in that described to be opened in the preset time period
The mobile data network of mobile terminal is opened, including:
The network adapter of mobile data network is opened in preset time period;
Mobile data network is opened by the network adapter.
3. the processing method of network data as claimed in claim 2, it is characterised in that described opened in preset time period is moved
The network adapter of dynamic data network, including:
In preset time period, judge whether mobile data network is waited for;
If judging, the mobile data network is waited for, and directly opens the network adapter of mobile data network;
If judging, the mobile data network is not at wait state, activates mobile data network state, and open movement
The network adapter of data network.
4. the processing method of network data as claimed in claim 1, it is characterised in that described when mobile terminal is detected wirelessly
During the out code of LAN, before acquisition initial time point, in addition to:
The network signal intensity for the WLAN that detection mobile terminal is currently connected;
When the network signal intensity is less than preset signal strength threshold value, the out code of WLAN is generated.
5. the processing method of network data as claimed in claim 4, it is characterised in that described at the end of preset time period,
Respond the out code of the WLAN, and after carrying out network access by the mobile data network, in addition to:
Count the flow value expended using the mobile data network;
When the flow value reaches preset flow threshold value, the mobile data network of the mobile terminal is closed, and sends prompting
Information, to point out user the service condition of mobile data network flow.
6. a kind of processing unit of network data, it is characterised in that described device is integrated in the terminal, including:
When acquisition module, out code for detecting WLAN when mobile terminal, initial time point is obtained;
Control module, for being calculated since the initial time point, control continues through described wireless in preset time period
LAN carries out network access;
Opening module, the mobile data network for opening mobile terminal in the preset time period;
Respond module, is moved at the end of preset time period, responding the out code of the WLAN, and by described
Dynamic data network carries out network access.
7. the processing unit of network data as claimed in claim 6, it is characterised in that the opening module, including:
Adapter opens submodule, the network adapter for opening mobile data network in preset time period;
Network opens submodule, for opening mobile data network by the network adapter.
8. the processing unit of network data as claimed in claim 7, it is characterised in that the adapter is opened submodule and used
In:
In preset time period, judge whether mobile data network is waited for;
If judging, the mobile data network is waited for, and directly opens the network adapter of mobile data network;
If judging, the mobile data network is not at wait state, activates mobile data network state, and open movement
The network adapter of data network.
9. the processing unit of network data as claimed in claim 6, it is characterised in that described device also includes:
Detection module, the network signal intensity for detecting the WLAN that mobile terminal is currently connected;
Generation module, for when the network signal intensity is less than preset signal strength threshold value, generating the pass of WLAN
Close instruction;
Statistical module, for counting the flow value expended using the mobile data network;
Closedown module, for when the flow value reaches preset flow threshold value, closing the mobile data network of the mobile terminal
Network, and prompt message is sent, to point out user the service condition of mobile data network flow.
10. a kind of mobile terminal, it is characterised in that including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as claim 1 to right
It is required that the method described in 5 any one.
11. a kind of computer-readable recording medium, it stores the computer program of the processing for network data, wherein, it is described
Computer program causes computer to perform the method as described in claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610836823.7A CN106358225B (en) | 2016-09-20 | 2016-09-20 | A kind of processing method of network data, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610836823.7A CN106358225B (en) | 2016-09-20 | 2016-09-20 | A kind of processing method of network data, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106358225A CN106358225A (en) | 2017-01-25 |
CN106358225B true CN106358225B (en) | 2017-08-11 |
Family
ID=57858405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610836823.7A Active CN106358225B (en) | 2016-09-20 | 2016-09-20 | A kind of processing method of network data, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106358225B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107819947B (en) * | 2017-10-31 | 2020-08-11 | Oppo广东移动通信有限公司 | Picture display method and device |
CN108834203B (en) * | 2018-06-29 | 2021-01-26 | Oppo(重庆)智能科技有限公司 | Network switching method, device, terminal and storage medium |
CN109063211A (en) * | 2018-09-26 | 2018-12-21 | 惠州Tcl移动通信有限公司 | A kind of webpage opening control method, networked devices and storage medium |
CN112752328B (en) * | 2019-10-29 | 2023-06-30 | 北京小米移动软件有限公司 | Network control method, device and storage medium |
CN110958641B (en) * | 2019-11-29 | 2024-03-22 | 湖南超捷科技有限公司 | WIFI data receiving and transmitting control method and device for mobile terminal |
CN112187615B (en) * | 2020-08-31 | 2022-11-08 | Oppo(重庆)智能科技有限公司 | Message response method, device, terminal and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070160007A1 (en) * | 2006-01-11 | 2007-07-12 | Li-Chun Wang | Method and device for cost-function based handoff determination using wavelet prediction in vertical networks |
CN105592515B (en) * | 2016-01-28 | 2020-01-10 | 广东电网有限责任公司中山供电局 | Network switching device and method |
CN105530673B (en) * | 2016-03-01 | 2019-05-17 | Oppo广东移动通信有限公司 | A kind of method for connecting network and user equipment |
-
2016
- 2016-09-20 CN CN201610836823.7A patent/CN106358225B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106358225A (en) | 2017-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106358225B (en) | A kind of processing method of network data, device and mobile terminal | |
CN103686963B (en) | Control wireless network method of switching, device, equipment and system | |
CN103455603B (en) | Web page contents caching, webpage loading method, device and terminal unit | |
CN107800651A (en) | Closing application program method, apparatus, storage medium and electronic equipment | |
CN104238893B (en) | A kind of method and apparatus that video preview picture is shown | |
CN106817540A (en) | A kind of camera control method and equipment | |
CN105187653B (en) | Network connection switchs method for closing and device | |
CN104657105A (en) | Method and device for starting voice input function of terminal | |
CN103645837A (en) | Method and device for amplifying display fonts | |
CN104899080A (en) | Method and apparatus for switching real-time image in instant messaging | |
CN106131930A (en) | A kind of WiFi network connection control method, device and terminal | |
CN107172671A (en) | A kind of channel switching method, device, storage medium and terminal | |
CN106850983A (en) | One kind puts out screen control method, device and terminal | |
CN104850406A (en) | Page switching method and device | |
CN104699501B (en) | A kind of method and device for running application program | |
CN110086222A (en) | A kind of charging/discharging thereof, device and mobile terminal | |
CN109542232A (en) | Switching method, terminal and the computer readable storage medium of terminal horizontal/vertical screen mode | |
CN107454270B (en) | mobile terminal screen brightness control method, device and terminal | |
CN107219951A (en) | Touch screen control method, device, storage medium and terminal device | |
CN107528958B (en) | Method for controlling mobile terminal, device, readable storage medium storing program for executing and mobile terminal | |
CN106791084A (en) | The synchronous method and mobile terminal of personalizing parameters | |
CN104573437A (en) | Information authentication method, device and terminal | |
CN106936516A (en) | Display screen dispaly state control method, storage medium and terminal | |
CN106535249A (en) | Control method and control device for wireless local area networks, and terminal | |
CN104731782A (en) | Information handling method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
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 523860 usha Beach Road No. 18 Patentee before: Guangdong Opel Mobile Communications Co., Ltd. |