CN106358225A - Network data processing method, network data processing device and mobile terminal - Google Patents

Network data processing method, network data processing device and mobile terminal Download PDF

Info

Publication number
CN106358225A
CN106358225A CN201610836823.7A CN201610836823A CN106358225A CN 106358225 A CN106358225 A CN 106358225A CN 201610836823 A CN201610836823 A CN 201610836823A CN 106358225 A CN106358225 A CN 106358225A
Authority
CN
China
Prior art keywords
network
data network
mobile data
mobile
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610836823.7A
Other languages
Chinese (zh)
Other versions
CN106358225B (en
Inventor
肖龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610836823.7A priority Critical patent/CN106358225B/en
Publication of CN106358225A publication Critical patent/CN106358225A/en
Application granted granted Critical
Publication of CN106358225B publication Critical patent/CN106358225B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0016Hand-off preparation specially adapted for end-to-end data sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting 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 invention provides a network data processing method, a network data processing device and a mobile terminal. The network data processing method includes: when the mobile terminal detects a close command of a wireless local area network, acquiring an initial time point; performing calculation form the initial time point and controlling continuous network access through the wireless local area network within the preset time period; starting a mobile data network within the preset time period; at the end of the preset time period, responding the close command of the wireless local area network and performing network access through the mobile data network. Timing begins when the close command of the wireless local area network is detected, network access is performed continuously by using the wireless local area network within the preset time period, the mobile data network is started, timing is completed, the wireless local area network is closed, and network access is performed by using the mobile data network; compared with the prior art, the network data processing method has the advantages that the problem about time delay when the mobile terminal network is started after the wireless local area network is closed is solved, and time and data flow of users are greatly saved.

Description

A kind of processing method of network data, device and mobile terminal
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 the popularization of WLAN (wlan, wireless local area networks), user is often permissible By Wireless Fidelity (wi-fi, wireless-fidelity) network access the Internet, by wi-fi network access the Internet Priority be higher than by mobile data network access the Internet priority, such as, mobile terminal when wi-fi network is connected, Only pass through wi-fi network access the Internet.
When by wi-fi network access the Internet, many times because wi-fi network signal is weaker or network data Block, lead to the speed of mobile terminal accessing the Internet excessively slow, now user needs to close wi-fi function, accesses mobile data Network, to access the Internet, when prior art is opened to mobile data network when closing wi-fi, needs the regular hour, In this period, mobile terminal cannot access network, situations such as may leading to webpage error, load unsuccessfully.
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 Lead to the abnormal situation of Web vector graphic for network interrupts, lift network access efficiency, save data traffic.
For solving above-mentioned technical problem, embodiment of the present invention offer technical scheme below:
A kind of processing method of network data, comprising:
When mobile terminal detects the out code of WLAN, obtain initial time point;
Start to calculate from described initial time point, control and continue through described WLAN in preset time period and carry out Network access;
The mobile data network of mobile terminal is opened in described preset time period;
At the end of preset time period, respond the out code of described WLAN, and pass through described mobile data network Network carries out network access.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of processing meanss of network data, comprising:
Acquisition module, for detect when mobile terminal WLAN out code when, obtain initial time point;
Control module, for starting to calculate from described initial time point, controls described in continuing through in preset time period WLAN carries out network access;
Opening module, for opening the mobile data network of mobile terminal in described preset time period;
Respond module, for, at the end of preset time period, responding the out code of described WLAN, and passes through institute State mobile data network and carry out network access.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of mobile terminal, comprising:
Be stored with the memorizer of executable program code;
The processor coupling with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, and the execution embodiment of the present invention carries For any one network data processing method.
With respect to prior art, a kind of processing method of network data, device and mobile terminal that the present embodiment provides, lead to Cross beginning timing after out code WLAN is detected, be continuing with WLAN in timing time section and carry out Network access, and open mobile data network, after timing terminates, close WLAN, and carried 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
Below in conjunction with the accompanying drawings, by the specific embodiment detailed description 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 meanss of network data provided in an embodiment of the present invention.
Fig. 5 is another module diagram of the processing meanss 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.
Specific embodiment
Refer to schema, wherein identical element numbers represent identical assembly, and the principle of the present invention is to be implemented in one To illustrate in suitable computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should be by It is considered as limiting the present invention other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object being to execute on this arithmetic system as.As herein described It is the objective for implementation on this arithmetic system that different assemblies, module, engine and service can be regarded as.And device as herein described and side Method is preferably implemented in the way of software, certainly also can be implemented on hardware, all within the scope of the present invention.
Hereinafter carry out making a concrete analysis of explanation.
In the present embodiment, the angle of the processing meanss from network data is described, the process dress of this network data Put and specifically can be integrated in mobile terminal, such as mobile phone, panel computer, palm PC (pda, personal digital Assistant) etc..
A kind of processing method of network data, comprising: when mobile terminal detects the out code of WLAN, obtain Take initial time point;Start to calculate from described initial time point, control and continue through described wireless local in preset time period Net carries out network access;The mobile data network of mobile terminal is opened in described preset time period;Terminate in preset time period When, respond the out code of described WLAN, and network access is carried out by described mobile data network.
Refer 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, obtain initial time point.
It is understood that described WLAN wlan utilizes wireless technology transmission data, speech and video in the air Signal.A kind of replacement scheme as traditional wiring network or extension, WLAN has liberated individual go out from desk side Come, make them can obtain 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, and 2.4g uhf or 5g shf ism radio frequency band are usually used.Connect Typically there is cryptoguard to WLAN, but may also be open, so allow for any setting in the range of wlan Standby can connect, be current using a kind of wireless network transmission technology the widest, described mobile data network refers to use the The mobile communication skills such as secondary mobile communication technical specification 2g, G mobile communication 3g, forth generation mobile communication technology 4g Art carries out the network access mode of network access.
Wherein, described initial time point refers to the current time during out code of mobile terminal detection discovery WLAN Point, the out code of described WLAN refers to the instruction closing the wi-fi on mobile terminal, and described out code is permissible User because the wi-fi on the excessively slow manual-lock mobile terminal of the network speed of current wireless Local Area Network produced or Mobile terminal detect wireless lan signal intensity too low and produce.
Such as, when user clicks on the wi-fi on mobile phone closing hand phone, produce the out code of wi-fi, and obtain current Initial time point, such as 18:00:20.
In step s102, start to calculate from initial time point, control and continue 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 being accessed, if now closing WLAN, some webpages may be led to eject because of network cannot be accessed Webpage loads the interface of failure, as shown in Fig. 2 Fig. 2 loads the interface schematic diagram of failure for webpage, now user needs to click on brush New page, interface just can reacquire data, and the experience sense so not only resulting in user is poor, and is needing to reload no In line LAN, the data of buffering, greatly wastes data traffic.
Wherein, described 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 preset time period, in step s103, open the mobile data network of mobile terminal.
Specifically, the described mobile data network opening mobile terminal in preset time period includes:
(1) open the network adapter of mobile data network in preset time period.
It is understood that described network adapter is also referred to as network interface card, be the networking component being operated in link layer, enable with Physical connection between local network transport medium and signal of telecommunication coupling, further relate to the transmission of frame and receive, the encapsulation of frame with seal off, Function of medium access control, the coding of data and decoding and data buffer storage etc..
(2) mobile data network is opened by described network adapter.
Wherein, mobile terminal passes through the network adapter of the mobile data network of unlatching, to realize accessing network.
In step s104, at the end of preset time period, the out code of response WLAN, and by mobile number Carry out network access according to network.
Wherein, at the end of preset time period, represent mobile data network and fully opened, can start to access net Network, now already without wanting WLAN, the out code of response execution WLAN, by the mobile number having turned on Conduct interviews network according to network.
From the foregoing, a kind of processing method of network data of the present embodiment offer, by wireless local is being detected Start timing after the out code of net, be continuing with WLAN in timing time section and carry out network access, and open shifting Dynamic data network, after timing terminates, closes WLAN, and carries out network access using mobile data network, with respect 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 method according to described by above-described embodiment below.
Refer to Fig. 3, Fig. 3 is another schematic flow sheet of the processing method of network data provided in an embodiment of the present invention.
Specifically, methods described includes:
In step s201, the network signal intensity of the current WLAN connecting of detection mobile terminal.
Wherein, the network signal intensity of described WLAN is as the increasing in wireless transmit source and the distance of mobile terminal Reduce greatly, and described network signal intensity directly affects the speed that mobile terminal accesses network by WLAN, net Network signal intensity is less, 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 with a distance from wireless router More remote, the wi-fi signal intensity 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, generate the pass of WLAN Close instruction.
It is understood that when network signal intensity is less than certain preset signal strength threshold value, now mobile terminal The speed accessing network will be very slow, in order to preferably enjoy network service, can by the wi-fi connection closed on mobile terminal, Conducted interviews network using other modes, such as mobile data network etc..
In certain possible embodiment, the out code of described WLAN can also be moved by click by user Wi-fi closing function button in dynamic terminal is being generated.
Such as, show that during only lattice, mobile phone is surfed the Net by wi-fi less than 2 lattice when the wi-fi on mobile phone connects signal Speed can be very slow, now automatically generate the instruction that wi-fi is closed, or because current wireless lan network connects Environment is poor, the manual wi-fi X button clicked on mobile phone of user, 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, obtain initial time point.
Wherein, when mobile terminal detects the out code of WLAN, execution is not closed in execution immediately, continues to make Use described WLAN, and obtain the current time point of mobile terminal.
Such as, when mobile phone detects wi-fi out code, the operation of wi-fi is not closed in execution at once, is continuing with wi- Fi connection current wireless Local Area Network, and obtain the time of current phone, such as 17:00:10.
In step s204, start to calculate from initial time point, control and continue 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 being accessed, if now closing WLAN, some webpages may be led to eject because of network cannot be accessed Webpage loads the interface of failure, as shown in Fig. 2 Fig. 2 loads the interface schematic diagram of failure for webpage, now user needs to click on brush New page, interface just can reacquire data, and the experience sense so not only resulting in user is poor, and is needing to reload no In line LAN, the data of buffering, greatly wastes data traffic.
Wherein, it is continuing with wi-fi connection WLAN in preset time period and carries out network access, be in order to shifting Dynamic terminal is opened mobile data network and is provided a buffer time, network so can be made to carry out a docking switching, it is to avoid net Page loads the situation that the interface of failure produces.
Such as, preset time period is 10 seconds, starts to calculate from initial time 17:00:10, control in 17:00 on mobile phone: Between 10 to 17:00:20, mobile phone continues to be to connect WLAN by wi-fi to carry out network access.
In preset time period, in step s205, open the network adapter of mobile data network.
In a kind of possible embodiment, the described network adapter opening mobile data network 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, wi-fi's is preferential simultaneously 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 waiting state, Now when wi-fi closes, mobile terminal can automatically be switched to and access network using mobile data network, corresponding shifting Dynamic data network also includes closed mode.
Wherein, if judging, mobile data network is waited for, and execution step (2), if judge mobile data Network is not at waiting state, then execution step (3).
(2) directly open the network adapter of mobile data network.
Wherein, because mobile data network is in opening, therefore directly open the network adapter of mobile data network, Mobile data network is made to be changed into, from waiting state, the state of starting working.
(3) activate mobile data network state, and open 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 whether mobile data network is in wait State, if being waited for, opening the network adapter of mobile data network, if being not at waiting state, directly executing 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 response WLAN, and by mobile number Carry out network access according to network.
Wherein, at the end of preset time period, through buffering, mobile data network has started to, can be by moving Dynamic data network accesses network, the out code of execution WLAN, the wi-fi of turning-off mobile terminal, docks mobile data Network carries out network access it is therefore prevented that eject the interface that webpage loads failure because of accessing network, saves flow, carries Rise the fluency of Web vector graphic.
Such as, the network adapter of mobile data network on initial time point 17:00:10 starting hand-set for the mobile phone, net Network adapter is started working, and at the end of preset time period, such as 17:00:20, closing hand phone wi-fi, using the mobile number of mobile phone According to network, such as 3g carries out network access, and now, through the buffering of preset time period, it is right to have completed for the mobile data network of mobile phone Connect and can directly carry out network access.
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, The expense of certain amount when exceeding this limit value, can be produced.
Wherein it is possible to generate a translucent small-sized prompting frame on mobile terminals, display user currently passes through to move The flow value that data network uses.
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 Send information, to point out user the service condition of mobile data network flow.
It is understood that user can arrange suitable preset flow threshold value according to data traffic limit value, to control shifting The use value of dynamic data network.
Such as, after the wi-fi of closing hand phone, reach 300mb using mobile data network flow, then close and currently move Data network, and send information, ask the user whether to be continuing with Current mobile data network.
From the foregoing, a kind of processing method of network data of the present embodiment offer, by mobile terminal is being detected When current network information intensity is less than certain signal strength threshold, generate the out code of WLAN, wireless office is detected Start timing after the out code of domain net, be continuing with WLAN in timing time section and carry out network access, and open 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 produces reaches preset flow threshold value, close mobile data network, and point out user currently to make With situation, with respect 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 the more preferable processing method implementing network data provided in an embodiment of the present invention, the embodiment of the present invention also carries For a kind of device of the processing method based on above-mentioned network data.The processing method of the wherein implication of noun and above-mentioned network data In identical, implement details and may be referred to the explanation in embodiment of the method.
Refer to Fig. 4, Fig. 4 is the module diagram of the processing meanss of network data provided in an embodiment of the present invention.Specifically For, the processing meanss 300 of described network data, comprising: acquisition module 31, control module 32, opening module 33 and response Module 34.
Described acquisition module 31, for detect when mobile terminal WLAN out code when, obtain initial when Between point.
Wherein, the out code of the described WLAN in described acquisition module 31 refers to the wi- on mobile terminal The instruction that fi closes.
Described control module 32, for starting to calculate from described initial time point, controls and continues to lead in preset time period Cross described WLAN and carry out network access.
Wherein, the preset time period described in described control module 32 is buffer time, and described control module 32 controls moves Dynamic terminal continues through WLAN within this buffer time and carries out network access.
Described opening module 33, for opening the mobile data network of mobile terminal in described preset time period.
Described respond module 34, for, at the end of preset time period, responding the out code of described WLAN, and Network access is carried out by described mobile data network.
Wherein, at the end of preset time period, the wi-fi function of turning-off mobile terminal, by moving for described respond module 34 Mobile data network in dynamic terminal carries out network access.
Can be in the lump with reference to Fig. 5, Fig. 5 is that another module of the processing meanss of network data provided in an embodiment of the present invention is illustrated Figure, the processing meanss 300 of described network data can also include:
Wherein, described opening module 33 can specifically include:
Submodule 331 opened by adapter, for opening the network adapter of mobile data network in preset time period.
In a kind of possible embodiment, submodule 331 opened by described adapter, can be in the following way when default Between open the network adapter of mobile data network in section:
In preset time period, judge whether mobile data network is waited for, if judging described mobile data Network is waited for, then directly open the network adapter of mobile data network, if judging described mobile data network It is not at waiting state, then activate mobile data network state, and open the network adapter of mobile data network.
Network opens submodule 332, for opening mobile data network by described network adapter.
Detection module 35, for detecting the network signal intensity of the current WLAN connecting of mobile terminal.
Generation module 36, for when described 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 described WLAN can click on closing manually by user Wi-fi function on mobile terminal is produced.
Statistical module 37, the flow value being expended using described mobile data network for statistics.
Wherein it is possible to generate a translucent small-sized prompting frame on mobile terminals, show described statistical module 37 institute The flow value counting on.
Closedown module 38, for when described flow value reaches preset flow threshold value, closing the movement of described mobile terminal Data network, and send information, to point out user the service condition of mobile data network flow.
From the foregoing, a kind of processing meanss of network data of the present embodiment offer, by mobile terminal is being detected When current network information intensity is less than certain signal strength threshold, generate the out code of WLAN, wireless office is detected Start timing after the out code of domain net, be continuing with WLAN in timing time section and carry out network access, and open 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 produces reaches preset flow threshold value, close mobile data network, and point out user currently to make With situation, with respect 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 kind of mobile terminal, as shown in fig. 6, this mobile terminal 400 can include radio frequency (rf, radio frequency) circuit 401, include the memorizer of 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 part such as the processor 408 of or more than one processing core and power supply 409.It will be understood by those skilled in the art that Mobile terminal structure shown in Fig. 6 does not constitute the restriction to mobile terminal, can include ratio and illustrate more or less of portion Part, or combine some parts, or different part arrangements.
Radio circuit 401 can be used for receiving and sending messages, or the reception of signal and transmission in communication process, especially, by base station Downlink information receive after, transfer to one or more than one processor 408 processed;In addition, up data is activation will be related to To base station.Generally, radio circuit 401 includes but is not limited to antenna, at least one amplifier, tuner, one or more vibration Device, subscriber identity module (sim, subscriber identitymodule) card, transceiver, bonder, low-noise amplifier (lna, low noise amplifier), duplexer etc..Additionally, radio circuit 401 can also by radio communication and network and Other equipment communicates.This radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications system System (gsm, global system of mobile communication), general packet radio service (gprs, general Packet radio service), CDMA (cdma, code division multiple access), wideband code division many Location (wcdma, wideband code division multiple access), Long Term Evolution (lte, long term Evolution), Email, Short Message Service (sms, short messaging service) etc..
Memorizer 402 can be used for storing application program data.Include and can hold in the application program of memorizer 402 storage Line code.Application program can form various functions module.Processor 408 passes through to run the application journey being stored in memorizer 402 Sequence, thus execute various function application and data processing.Memorizer 402 can mainly include storing program area and data storage Area, wherein, storing program area can application program needed for storage program area, at least one function (such as sound-playing function, Image player function etc.) etc.;Storage data field can store according to mobile terminal using data (the such as audio frequency number being created According to, phone directory etc.) etc..Additionally, memorizer 402 can include high-speed random access memory, non-volatile depositing can also be included Reservoir, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memorizer 402 can also include Memory Controller, to provide the access to memorizer 402 of processor 408 and input block 403.
Input block 403 can be used for numeral, character information or the user's characteristic information (such as fingerprint) of receives input, and Produce the keyboard relevant with user setup and function control, mouse, action bars, optics or trace ball signal 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, can collect user thereon or neighbouring touch operation (such as user uses finger, touches Any suitable object or adnexa operations 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 touch detecting apparatus and two parts of touch controller. Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, and transmit a signal to touch Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives process Device 408, and can the order sent of receiving processor 408 being executed.Furthermore, it is possible to adopt 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, one or more of action bars etc..
Display unit 404 can be used for showing by the information of user input or is supplied to the information of user and mobile terminal Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any. Display unit 404 may include display floater.Optionally, liquid crystal display (lcd, liquid crystal can be adopted Display), the form such as Organic Light Emitting Diode (oled, organiclight-emitting diode) is configuring display surface Plate.Further, Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, Send processor 408 to determine the type of touch event, with preprocessor 408 according to the type of touch event in display floater The corresponding visual output of upper offer.Although in figure 6, Touch sensitive surface and display floater are to realize as two independent parts Input and input function, but in some embodiments it is possible to will be integrated to Touch sensitive surface and display floater and realize input and 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, and wherein, ambient light sensor can be according to environment Adjusting the brightness of display floater, proximity transducer can cut out display surface when mobile terminal moves in one's ear to the light and shade of light Plate and/or backlight.As one kind of motion sensor, Gravity accelerometer can detect (generally three axles) in all directions The size of acceleration, can detect that size and the direction of gravity when static, can be used for the application of identification mobile phone attitude (such as anyhow Screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;As for movement The other sensors such as gyroscope that terminal can also configure, barometer, drimeter, thermometer, infrared ray sensor, here is no longer superfluous State.
Voicefrequency circuit 406 can provide the audio interface between user and mobile terminal by speaker, microphone.Audio-frequency electric The voice data receiving can be converted into the signal of telecommunication by road 406, be transferred to speaker, be converted to acoustical signal by speaker defeated Go out;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone, is converted to audio frequency after being received by voicefrequency circuit 406 Data, then after voice data output processor 408 is processed, through radio circuit 401 being sent to such as another mobile terminal, or Person exports to memorizer 402 voice data to process further.Voicefrequency circuit 406 is also possible that earphone jack, to carry Communication for peripheral hardware earphone and mobile terminal.
Wireless Fidelity (wi-fi) belongs to short range wireless transmission technology, and it is permissible that mobile terminal passes through 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 Become, can omit in the scope of essence not changing invention as needed completely.
Processor 408 is the control centre of mobile terminal, each using various interfaces and the whole mobile terminal of connection Individual part, is stored in application program in memorizer 402 by running or executing, and calls and be stored in memorizer 402 Data, the various functions of execution mobile terminal and processing data, thus carry out integral monitoring to mobile terminal.Optionally, process Device 408 may include one or more processing cores;Preferably, processor 408 can integrated application processor and modulation /demodulation process Device, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly located Reason radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 408.
Mobile terminal also includes the power supply 409 (such as battery) powered to all parts.Preferably, power supply can be by electricity Management system is logically contiguous with processor 408, thus realizing 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 alternating current power supply, recharging system, power supply event Barrier testing circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown in Fig. 6, mobile terminal can also include photographic head, bluetooth module etc., will not be described here.
Concrete 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 in memorizer 402, and to be run by processor 408 and be stored in Application program in memorizer 402, thus realizing various functions:
When mobile terminal detects the out code of WLAN, obtain initial time point;
Start to calculate from described initial time point, control and continue through described WLAN in preset time period and carry out Network access;
The mobile data network of mobile terminal is opened in described preset time period;
At the end of preset time period, respond the out code of described WLAN, and pass through described mobile data network Network carries out network access.
Because this mobile terminal can execute the processing method of any one network data that inventive embodiments are provided, because This, it is possible to achieve the beneficial effect achieved by the processing method of any one network data that inventive embodiments are provided, refers to Embodiment above, will not be described here.
When being embodied as, above unit can be realized as independent entity it is also possible to carry out combination in any, makees To realize for same or several entities, being embodied as of above unit can be found in embodiment of the method above, and here is 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 described in detail in certain embodiment Point, may refer to the detailed description of the processing method above with respect to network data, here is omitted.
The processing method of network data provided in an embodiment of the present invention, device and mobile terminal, such as panel computer, handss Machine etc., the processing method of described mobile terminal, the processing meanss of network data and network data belongs to same design, described The either method providing in the processing method embodiment of described network data can be run on the processing meanss of network data, its tool Process of realizing body refers to the processing method embodiment of described 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 process of the processing method realizing embodiment of the present invention network data, can be by computer program Hardware to control correlation to complete, and described computer program can be stored in a computer read/write memory medium, such as stores In the memorizer of terminal, and by least one computing device in this terminal, may include in the process of implementation as described net The flow process of the embodiment of the processing method of network data.Wherein, described storage medium can be magnetic disc, CD, read only memory (rom, read only memory), random access memory (ram, random access memory) etc..
For the processing meanss of the described 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 it is also possible to two or more modules are integrated in a mould In block.Above-mentioned integrated module both can be to be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized. If described integrated module realized using in the form of software function module and as independent production marketing or use when it is also possible to It is stored in a computer read/write memory medium, described storage medium is such as read only memory, disk or CD etc..
A kind of processing method of network data, device and the mobile terminal that above the embodiment of the present invention are provided are carried out It is discussed in detail, specific case used herein is set forth to the principle of the present invention and embodiment, above example Illustrate that being only intended to help understands the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to this The thought of invention, all will change in specific embodiments and applications, and in sum, this specification content should not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of processing method of network data is it is characterised in that include:
When mobile terminal detects the out code of WLAN, obtain initial time point;
Start to calculate from described initial time point, control and continue through described WLAN in preset time period and carry out network Access;
The mobile data network of mobile terminal is opened in described preset time period;
At the end of preset time period, respond the out code of described WLAN, and entered by described mobile data network Row network access.
2. the processing method of network data as claimed in claim 1 is it is characterised in that described open in described preset time period Open the mobile data network of mobile terminal, comprising:
The network adapter of mobile data network is opened in preset time period;
Mobile data network is opened by described network adapter.
3. the processing method of network data as claimed in claim 2 is it is characterised in that described unlatching in preset time period is moved The network adapter of dynamic data network, comprising:
In preset time period, judge whether mobile data network is waited for;
If judging, described mobile data network is waited for, and directly opens the network adapter of mobile data network;
If judging, described mobile data network is not at waiting state, activates mobile data network state, and opens movement The network adapter of data network.
4. the processing method of network data as claimed in claim 1 is it is characterised in that described detect wirelessly when mobile terminal During the out code of LAN, before obtaining initial time point, also include:
The network signal intensity of the current WLAN connecting of detection mobile terminal;
When described network signal intensity is less than preset signal strength threshold value, generate the out code of WLAN.
5. network data as claimed in claim 4 processing method it is characterised in that described at the end of preset time period, Respond the out code of described WLAN, and after network access is carried out by described mobile data network, also include:
The flow value that statistics is expended using described mobile data network;
When described flow value reaches preset flow threshold value, close the mobile data network of described mobile terminal, and send prompting Information, to point out user the service condition of mobile data network flow.
6. a kind of processing meanss of network data are it is characterised in that include:
Acquisition module, for detect when mobile terminal WLAN out code when, obtain initial time point;
Control module, for starting to calculate from described initial time point, control continue through in preset time period described wireless LAN carries out network access;
Opening module, for opening the mobile data network of mobile terminal in described preset time period;
Respond module, for, at the end of preset time period, responding the out code of described WLAN, and by described shifting Dynamic data network carries out network access.
7. the processing meanss of network data as claimed in claim 6 are it is characterised in that described opening module, comprising:
Submodule opened by adapter, for opening the network adapter of mobile data network in preset time period;
Network opens submodule, for opening mobile data network by described network adapter.
8. the processing meanss of network data as claimed in claim 7 are it is characterised in that submodule use opened by described adapter In:
In preset time period, judge whether mobile data network is waited for;
If judging, described mobile data network is waited for, and directly opens the network adapter of mobile data network;
If judging, described mobile data network is not at waiting state, activates mobile data network state, and opens movement The network adapter of data network.
9. the processing meanss of network data as claimed in claim 6 are it is characterised in that described device also includes:
Detection module, for detecting the network signal intensity of the current WLAN connecting of mobile terminal;
Generation module, for when described network signal intensity is less than preset signal strength threshold value, generating the pass of WLAN Close instruction;
Statistical module, the flow value being expended using described mobile data network for statistics;
Closedown module, for when described flow value reaches preset flow threshold value, closing the mobile data network of described mobile terminal Network, and send information, to point out user the service condition of mobile data network flow.
10. a kind of mobile terminal is it is characterised in that include:
Be stored with the memorizer of executable program code;
The processor coupling with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, and execution such as claim 1 is to right Require the method described in 5 any one.
CN201610836823.7A 2016-09-20 2016-09-20 A kind of processing method of network data, device and mobile terminal Active CN106358225B (en)

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 true CN106358225A (en) 2017-01-25
CN106358225B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819947A (en) * 2017-10-31 2018-03-20 广东欧珀移动通信有限公司 Picture display process and device
CN108834203A (en) * 2018-06-29 2018-11-16 Oppo(重庆)智能科技有限公司 Method for switching network, 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
CN110958641A (en) * 2019-11-29 2020-04-03 Tcl移动通信科技(宁波)有限公司 Mobile terminal WIFI data receiving and sending control method and device
CN112187615A (en) * 2020-08-31 2021-01-05 Oppo(重庆)智能科技有限公司 Message response method, device, terminal and storage medium
CN112752328A (en) * 2019-10-29 2021-05-04 北京小米移动软件有限公司 Network control method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
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
CN105530673A (en) * 2016-03-01 2016-04-27 广东欧珀移动通信有限公司 Network connection method and user equipment
CN105592515A (en) * 2016-01-28 2016-05-18 努比亚技术有限公司 Network switching device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
CN105592515A (en) * 2016-01-28 2016-05-18 努比亚技术有限公司 Network switching device and method
CN105530673A (en) * 2016-03-01 2016-04-27 广东欧珀移动通信有限公司 Network connection method and user equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819947A (en) * 2017-10-31 2018-03-20 广东欧珀移动通信有限公司 Picture display process and device
CN108834203A (en) * 2018-06-29 2018-11-16 Oppo(重庆)智能科技有限公司 Method for switching network, 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
CN112752328A (en) * 2019-10-29 2021-05-04 北京小米移动软件有限公司 Network control method, device and storage medium
CN110958641A (en) * 2019-11-29 2020-04-03 Tcl移动通信科技(宁波)有限公司 Mobile terminal WIFI data receiving and sending control method and device
CN110958641B (en) * 2019-11-29 2024-03-22 湖南超捷科技有限公司 WIFI data receiving and transmitting control method and device for mobile terminal
CN112187615A (en) * 2020-08-31 2021-01-05 Oppo(重庆)智能科技有限公司 Message response method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN106358225B (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN106358225B (en) A kind of processing method of network data, device and mobile terminal
CN103455603B (en) Web page contents caching, webpage loading method, device and terminal unit
CN105306682B (en) The method and device of network connection switch is automatically closed
CN103686963B (en) Control wireless network method of switching, device, equipment and system
CN107800651A (en) Closing application program method, apparatus, storage medium and electronic equipment
CN109960584A (en) CPU frequency modulation control method, terminal and computer readable storage medium
CN103500002A (en) Method, device and terminal equipment for managing application program
WO2019052554A1 (en) Method for reducing ue capability signalling structural content, and storage medium and mobile phone
CN103415824B (en) Method and apparatus for controlling CPU
CN103645837A (en) Method and device for amplifying display fonts
CN104657105A (en) Method and device for starting voice input function of terminal
CN105187653B (en) Network connection switchs method for closing and device
CN107172671A (en) A kind of channel switching method, device, storage medium and terminal
CN106326074A (en) Processor operation parameter adjusting method and mobile terminal
CN110177177A (en) Message back method, mobile terminal and computer readable storage medium
CN104657666A (en) Method and device for optimizing terminal operation environment
CN106020844A (en) Method and device for determining kernel running configurations in processor
CN107577332A (en) A kind of power consumption control method, mobile terminal and computer-readable recording medium
CN106850983A (en) One kind puts out screen control method, device and terminal
CN104216726A (en) Loading method and device for Android virtual machine
CN110086222A (en) A kind of charging/discharging thereof, device and mobile terminal
CN106453908A (en) Double-card network switching method and apparatus based on call and mobile terminal
CN103415823A (en) Method and apparatus for controlling CPU
CN106936516A (en) Display screen dispaly state control method, storage medium and terminal
CN109542232A (en) Switching method, terminal and the computer readable storage medium of terminal horizontal/vertical screen mode

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

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.

CP01 Change in the name or title of a patent holder