CN109819458A - A kind of method for connecting network, terminal device and computer readable storage medium - Google Patents

A kind of method for connecting network, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN109819458A
CN109819458A CN201910122433.7A CN201910122433A CN109819458A CN 109819458 A CN109819458 A CN 109819458A CN 201910122433 A CN201910122433 A CN 201910122433A CN 109819458 A CN109819458 A CN 109819458A
Authority
CN
China
Prior art keywords
duration
connection
wifi
mobile network
target
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
CN201910122433.7A
Other languages
Chinese (zh)
Other versions
CN109819458B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910122433.7A priority Critical patent/CN109819458B/en
Publication of CN109819458A publication Critical patent/CN109819458A/en
Application granted granted Critical
Publication of CN109819458B publication Critical patent/CN109819458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to field of communication technology, a kind of method for connecting network, terminal device and computer readable storage medium, to solve terminal device when being connected to the network, cumbersome problem are provided.This method comprises: obtaining the type of the smart machine in the case where receiving the connection request of smart machine transmission;In the case where the type of the smart machine is preset kind, prompt information, the internetwork connection mode that the prompt information is used to that user to be prompted to select the terminal device are exported.In this way, terminal device exports prompt information in the case where the type of smart machine is preset kind, so that user selects internetwork connection mode according to prompt information, multi-pass operation is carried out without user and is connected to the network, user's operation can be reduced.

Description

A kind of method for connecting network, terminal device and computer readable storage medium
Technical field
The present invention relates to field of communication technology more particularly to a kind of method for connecting network, terminal device and computer-readable Storage medium.
Background technique
With the development of network technology, smart machine is more more and more universal, common smart machine such as smart home device, intelligence Energy mobile unit etc..Above-mentioned smart machine has WiFi (Wireless-Fidelity, Wireless Fidelity) module, terminal device with The WiFi module of smart machine connects, to control smart machine.
In the prior art, terminal device is after searching smart machine, usually automatically by wireless network and smart machine Connection, and after connecting wireless network, terminal device is then disconnected with mobile data network.At this point, the webpage of terminal device, The data such as social application, which update, interrupts, and causes user that cannot view the data of update in time.If user needs to check webpage, society Information, the users such as application is handed over to need to carry out multi-pass operation and be again coupled to mobile network with controlling terminal equipment.Existing network connection Mode is cumbersome, and user experience is poor.
Summary of the invention
The embodiment of the present invention provides a kind of method for connecting network, terminal device and computer readable storage medium, to solve Terminal device is when being connected to the network, cumbersome problem.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of method for connecting network, comprising:
In the case where receiving the connection request of smart machine transmission, the type of the smart machine is obtained;
In the case where the type of the smart machine is preset kind, prompt information is exported, the prompt information is used for Prompt user selects the internetwork connection mode of the terminal device.
Second aspect, the embodiment of the present invention also provide a kind of terminal device, comprising:
Module is obtained, for obtaining the smart machine in the case where receiving the connection request of smart machine transmission Type;
Output module, it is described for exporting prompt information in the case where the type of the smart machine is preset kind The internetwork connection mode that prompt information is used to that user to be prompted to select the terminal device.
The third aspect, the embodiment of the present invention also provide a kind of terminal device, comprising: memory, processor and are stored in On reservoir and the computer program that can run on a processor, the processor realize institute as above when executing the computer program The step in method for connecting network stated.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, the computer program is realized when being executed by processor in method for connecting network as described above The step of.
In the embodiment of the present invention, in the case where receiving the connection request of smart machine transmission, obtains the intelligence and set Standby type;In the case where the type of the smart machine is preset kind, prompt information is exported, the prompt information is used for Prompt user selects the internetwork connection mode of the terminal device.In this way, terminal device is default class in the type of smart machine Prompt information is exported in the case where type, so that user selects internetwork connection mode according to prompt information, is carried out without user Multi-pass operation is connected to the network, and user's operation can be reduced.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is one of the flow chart of method for connecting network provided in an embodiment of the present invention;
Fig. 2 is the two of the flow chart of method for connecting network provided in an embodiment of the present invention;
Fig. 3 is the three of the flow chart of method for connecting network provided in an embodiment of the present invention;
Fig. 4 is the display interface schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is the four of the flow chart of method for connecting network provided in an embodiment of the present invention;
Fig. 6 is one of the structure chart of terminal device provided in an embodiment of the present invention;
Fig. 7 is the two of the structure chart of terminal device provided in an embodiment of the present invention;
Fig. 8 is the structure chart of the link block in terminal device provided in an embodiment of the present invention;
Fig. 9 is the structure chart of stator modules really in terminal device provided in an embodiment of the present invention;
Figure 10 is the structure chart of the second allocation unit in terminal device provided in an embodiment of the present invention;
Figure 11 is the three of the structure chart of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 be the flow chart of method for connecting network provided in an embodiment of the present invention, as shown in Figure 1, include with Lower step:
Step 101, receive smart machine transmission connection request in the case where, obtain the class of the smart machine Type.
Wherein, smart machine can be the equipment that can be connected with terminal device, for example, smart home device, intelligent vehicle Carry equipment, mobile phone, wearable device etc..
The type of smart machine may include routing intelligence equipment and non-routing intelligence equipment, wherein routing intelligence equipment It can be the equipment that can connect internet, for example, mobile phone, wearable device;Non- routing intelligence equipment can be and cannot connect The equipment of internet, for example, smart home device, intelligent vehicle-carried equipment.Terminal device can be by obtaining setting for smart machine Standby information, determines the type of smart machine.
Step 102, the type of the smart machine be preset kind in the case where, export prompt information, the prompt The internetwork connection mode that information is used to that user to be prompted to select the terminal device.
Wherein, the smart machine of preset kind can be non-routing intelligence equipment described in step 101.It is non-receiving In the case where the connection request that routing intelligence equipment is sent, terminal device can export prompt information, so that user is according to prompt Information voluntarily selects the internetwork connection mode of terminal device.
Before receiving the connection request that non-routing intelligence equipment is sent, the internetwork connection mode of terminal device be can be Mobile network's connection type is also possible to wireless network connection mode of routing intelligence equipment etc..Receiving non-routing intelligence After the connection request that equipment is sent, terminal device can export at least two internetwork connection modes, for selection by the user.Wherein, It may include the internetwork connection mode having connected, WiFi connection type in the internetwork connection mode of output, and can also include Other for switching internetwork connection mode.If user selects the internetwork connection mode currently connected, handover network is not needed Connection type;If user selects WiFi connection type, terminal device connects smart machine by WiFi.
Further, in the case where the type of smart machine is preset kind, terminal device can be combined with terminal and set The scene at standby place, for example, the information such as runnable interface of time, position and terminal device, automatically select internetwork connection mode.
In the embodiment of the present invention, above-mentioned method for connecting network can be applied to terminal device, such as: mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal Digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable Equipment (Wearable Device) etc..
The method for connecting network of the embodiment of the present invention is obtained in the case where receiving the connection request of smart machine transmission Take the type of the smart machine;In the case where the type of the smart machine is preset kind, prompt information is exported, it is described The internetwork connection mode that prompt information is used to that user to be prompted to select the terminal device.In this way, terminal device is in smart machine Type be preset kind in the case where export prompt information so that user according to prompt information select internetwork connection mode, without It needs user to carry out multi-pass operation to be connected to the network, user's operation can be reduced.And user can select according to actual scene Internetwork connection mode, to reduce network switching to interference caused by user security risk.
Referring to fig. 2, the main distinction of the present embodiment and above-described embodiment is, double by the timesharing of WiFi and mobile network Logical connection type connects network.
Fig. 2 is the flow chart of method for connecting network provided in an embodiment of the present invention, as shown in Figure 2, comprising the following steps:
Step 201, receive smart machine transmission connection request in the case where, obtain the class of the smart machine Type.
The implementation of this step may refer to the description in step 101, and to avoid repeating, details are not described herein again.
Step 202, the type of the smart machine be preset kind in the case where, export prompt information, the prompt The internetwork connection mode that information is used to that user to be prompted to select the terminal device.
The specific implementation of this step may refer to the description in step 102.Wherein, the internetwork connection mode is at least Including timesharing bilateral connection type.
Wherein, the mode that prompt information specifically can be voice output prompts the mode that either screen is shown to prompt.Example Such as, the option of operation of WiFi connection type, mobile network's connection type and timesharing bilateral connection type is shown on the screen.User The internetwork connection mode for needing selection can be inputted according to prompt information, be operated manually including voice input or user Mode inputs, and terminal device responds the input of user, connects network according to the internetwork connection mode of user's selection.In this way, terminal Equipment can flexible choice internetwork connection mode, user's operation be convenient depending on the user's operation.
Above-mentioned timesharing bilateral connection type can be understood as the network connection of connection heterogeneous networks in section in different times Mode.
In this step, terminal device can show the option of timesharing bilateral internetwork connection mode, and user can be to network The option of connection type is operated, and is specifically included:
1, input of the user to the timesharing bilateral connection type is received.
In this step, terminal device receives input of the user to timesharing bilateral internetwork connection mode, for example, clicking operation Or slide etc..
2, in response to the input, network is connected with the timesharing bilateral connection type of mobile network by WiFi.
In this step, terminal device alternately connects network by WiFi and mobile network.
The embodiment in order to facilitate understanding, is illustrated below in conjunction with specific embodiment.
As shown in figure 3, terminal device default setting opens the function automatically by WiFi connection smart machine.Passing through After WiFi connection smart machine, terminal device judges whether smart machine is non-routing device.If smart machine is not non-routing Equipment then connects network according to the WiFi connection type of default or mobile network's connection type.If smart machine is non-routing Equipment, then output includes the prompt information of operating mode, so that user selects any operating mode, example according to the actual situation Such as, terminal device interface display is interface as shown in Figure 4, wherein operating mode may include ip intelligent peripherals mode, mobile number According to mode and timesharing bilateral mode.Under ip intelligent peripherals mode, terminal device can be passed through by WiFi connection smart machine Smart machine is controlled to application procedure operation;Under mobile data mode, terminal device can normally provide mobile interchange netting index According to business;Under timesharing bilateral mode, the time-sharing work of WiFi and mobile network's both of which is may be implemented in terminal device.Separately Outside, terminal device can be shown on a user interface identifies with the matched operating mode of current operation mode, quick convenient for user Obtain current operating mode.
It is optionally, described that network is connected with the timesharing bilateral connection type of mobile network by WiFi, comprising:
The first connection duration of the WiFi and the second connection duration of the mobile network are determined respectively;
According to the first connection duration and the second connection duration, alternating connects the WiFi and the mobile network Network.
In this embodiment, the duration of connection WiFi and the duration of connection mobile network is first respectively configured in terminal device, The duration can be pre-set fixed duration, or the duration according to the situation dynamic adjustment after connection network.
Terminal device alternately connects WiFi and mobile network according to determining connection duration.For example, terminal determines WiFi's A length of T1 when connection, when connection of mobile network a length of T2, then terminal device in the way of time division duplex, first connect WiFi and Connection duration T1 is kept, mobile network is then connected and keeps connection T2, and so on, alternately connect.So as to keep with It WiFi connection and connect, is reduced since network switching gives the interference of user's bring with mobile network.
Optionally, when the second connection of the first connection duration for determining the WiFi respectively and the mobile network It is long, it includes at least one of the following:
The initial connection duration for distributing the WiFi and the mobile network is target duration;
According to the data transmission throughput size of the WiFi and the mobile network in the target duration, institute is distributed It states WiFi and connects second of duration and the mobile network after the target duration in first after the target duration Connect duration.
In this embodiment, when terminal device can determine the connection of WiFi and mobile network according to following either type It is long, it can also determine the connection duration of WiFi and mobile network jointly in conjunction with two ways.
A length of identical duration when the connection of mode one, the connection duration for distributing WiFi and mobile network.
The period of a length of m when specifically can first determine, equalization distributes the company of WiFi and mobile network during this period of time Connect duration.In the specific implementation, only in initial connection, can distribute the duration of WiFi and mobile network is target duration, And after growing at the beginning, it can determine connection duration again otherwise.In addition, in the connection of distribution WiFi and mobile network When duration, different durations can also be distributed otherwise.
Mode two, the data throughout according to WiFi and mobile network in target duration distribute WiFi and mobile network Connection duration after target duration.It in this manner, can be according to the handling capacity of WiFi and mobile network, when dynamic allocation Connection duration on domain.
In this way, configuring the connection duration of WiFi and mobile network according to above two mode, network utilization can be improved.
Optionally, described big according to the data transmission throughput of the WiFi and the mobile network in target duration It is small, distribute the WiFi after the target duration first connection duration and the mobile network the target duration it The second connection duration afterwards, comprising:
It obtains the first handling capacity that the WiFi carries out data transmission in the target duration and the mobile network exists The second handling capacity carried out data transmission in the target duration;
Compare the size of first handling capacity and second handling capacity;
First handling capacity be greater than second handling capacity in the case where, by the WiFi the target duration it The first connection duration afterwards increases to the first duration by the target duration, by the mobile network after the target duration Second connection duration reduced by the target duration to the second duration, wherein the target duration be less than first duration, The target duration is greater than second duration, a length of first duration and the movement in the first connection of the WiFi When the second connection of network in the case where a length of second duration, the data transmission throughput of the WiFi and the mobile network The difference of the data transmission throughput of network is less than preset value;Or
First handling capacity be less than second handling capacity in the case where, by the WiFi the target duration it The first connection duration afterwards is reduced by the target duration to third duration, by the mobile network after the target duration The second connection duration the 4th duration increased to by the target duration, wherein the target duration is greater than the third duration, The target duration is less than the 4th duration, a length of third duration and the movement in the first connection of the WiFi When the second connection of network in the case where a length of 4th duration, the data transmission throughput of the WiFi and the mobile network The difference of the data transmission throughput of network is less than the preset value;Or
In the case where first handling capacity is equal to second handling capacity, the WiFi and the mobile network are kept Connection duration be the target duration.
In this embodiment, terminal device can first be arranged WiFi connection duration and mobile network connection when it is a length of Equal duration, i.e. target duration, and obtain in respective connection that WiFi carries out data transmission in target duration respectively first The second handling capacity that handling capacity and mobile network carry out data transmission.
In the case where the first handling capacity is greater than the second handling capacity, increase the connection duration of WiFi, and reduce mobile network Connection duration.Wherein, it is increased connection duration and reduction connection duration can be terminal device it is preset any when Long, which can be according to the duration determined the characteristics of network, can also be the duration of any fixation.For example, can be with The network formats complete frame structure duration T1 of WiFi multiplied by N as minimum time adjustment unit, with T1* (N+1) for unit extensions Accounting duration, so that it is determined that the connection duration of WiFi, wherein N is adjustment number.After adjustment connects duration, when detecting again Long accounting network data throughput adjusted.When the handling capacity of WiFi is still greater than the handling capacity of mobile network, in repetition State operation, until WiFi handling capacity and mobile network handling capacity it is equal or differ smaller, the i.e. handling capacity of WiFi and movement The difference of the handling capacity of network is less than preset value, maintains duration accounting.
When the second handling capacity is greater than the first handling capacity, the connection duration of WiFi is reduced, and increase the connection of mobile network Duration.Wherein, increased connection duration and the connection duration of reduction can be the preset any duration of terminal device, this when It is long to can be according to the duration determined the characteristics of network, it can also be the duration of any fixation.For example, can be with mobile network's Network formats whole frame duration T2 is minimum time adjustment unit multiplied by n, is that unit expansion accounting duration determines with T2* (n+1) The connection duration of mobile network, wherein n is adjustment number.After adjustment connects duration, and again after the expansion of detection duration accounting Dual network data throughout.When the handling capacity of mobile network is still greater than the network throughput of WiFi, aforesaid operations are repeated, Until the handling capacity of the data transmission of mobile network and WiFi is equal or difference is smaller, i.e. the handling capacity of WiFi and mobile network When the difference of handling capacity is less than preset value, duration accounting is maintained.
In the case where the first handling capacity and equal the second handling capacity, current connection duration can be maintained, is not adjusted.
By the above-mentioned means, can be improved the mobile data services of terminal and the message transmission rate of WiFi data business.
Optionally, the first connection duration by the WiFi after the target duration is increased by the target duration The first duration is added to, second connection duration of the mobile network after the target duration is reduced by the target duration To the second duration, comprising:
By first connection duration of the WiFi after the target duration, n times duration is carried out by the target duration First duration is obtained after increase;
By second connection duration of the mobile network after the target duration, n times are carried out by the target duration Second duration is obtained after reduction;
Wherein, each connection duration of the increased WiFi and the size correlation of N, that reduces every time is described The connection duration of mobile network and the size correlation of N, N are the integer greater than 0.
It in this embodiment, can be by WiFi in the case where first handling capacity is greater than second handling capacity Connection duration be stepped up, and increased connection duration and increased number correlation every time, up to by WiFi's Connection duration increases to the first duration;And the connection duration of mobile network can be gradually reduced, and the connection of reduction every time The number correlation of duration and reduction, until reducing to the second duration.
In this way, terminal device can repeatedly adjust connection duration, and connection duration is adjusted according to the number of adjustment Variable quantity, can be realized quick adjustment, to improve the utilization rate of network.
Optionally, the first connection duration by the WiFi after the target duration is subtracted by the target duration As little as third duration is increased by second connection duration of the mobile network after the target duration by the target duration To the 4th duration, comprising:
By first connection duration of the WiFi after the target duration, n times duration is carried out by the target duration The third duration is obtained after reduction;
By second connection duration of the mobile network after the target duration, n times are carried out by the target duration The 4th duration is obtained after increase;
Wherein, the connection duration of the WiFi reduced every time and the size correlation of N, it is increased described every time The connection duration of mobile network and the size correlation of N, N are the integer greater than 0.
It in this embodiment, can be by WiFi in the case where first handling capacity is less than second handling capacity Connection duration gradually reduce, and the connection duration of reduction and the number correlation of adjustment every time, up to by WiFi's Connection duration is reduced to third duration;And the connection duration of mobile network can be stepped up, and increased connection every time The number correlation of duration and adjustment, until increasing to the 4th duration.
In this way, terminal device can repeatedly adjust connection duration, and connection duration is adjusted according to the number of adjustment Variable quantity, can be realized quick adjustment, to improve the utilization rate of network.
Optionally, in the case where first handling capacity is greater than second handling capacity, the WiFi is increased every time The multiple of a length of T1 when connection, when connection of each reduction of mobile network a length of T2 multiple;Or
In the case where first handling capacity is less than second handling capacity, the connection duration of each reduction of WiFi For the multiple of T1, the mobile network every time increased connection when a length of T2 multiple;
Wherein, T1 indicates the frame duration of the network formats of the WiFi, and T2 indicates the network formats of the mobile network Frame duration.
For example, for WiFi, increasing every time when the data transmission throughput of WiFi is greater than the handling capacity of mobile data network Add the duration of T1*n;For mobile data network, reduce the duration of T2*n every time, the sum of accounting duration of the two is always fixed Value;When the data transmission throughput of WiFi is less than the handling capacity of mobile data network, for WiFi, reduce every time T1*n when It is long;For mobile data network, increase the duration of T2*n every time, the sum of accounting duration of the two is always definite value, wherein n is The number of adjustment.
In this embodiment, every time to the adjustment of WiFi when a length of T1 multiple, every time to the adjustment of mobile network when The multiple of a length of T2.In such manner, it is possible to improve the utilization rate of network.
For the ease of further understanding the specific embodiment of the embodiment of the present invention, illustrate below in conjunction with flow chart It is bright.
As shown in figure 5, terminal device is connect according to user's operation with WiFi and mobile network, and WiFi and mobile network It is connected according to time division duplex (Time Division Duplexing, abbreviation TDD) mode.In the initial state, default WiFi and Mobile network respectively accounts for the transmission duration distribution connection of half.Terminal device is respectively being connected when connecting WiFi and mobile network The data transmission throughput of WiFi and mobile network are obtained in duration, and compare the data throughout of WiFi and the number of mobile network According to the size of handling capacity.
If the data throughout of WiFi is less than the data throughout of mobile network, when with each network formats complete frame structure Length is minimum adjustment unit multiplied by N, reduces duration accounting in the WiFi data network connected in tdd mode, synchronous increase movement Data network duration accounting then maintains mobile network until the data throughout of WiFi and the data throughout of mobile network are suitable The duration accounting of network and WiFi, wherein N is adjustment number.
If the data throughout of WiFi is greater than the data throughout of mobile network, when with each network formats complete frame structure Length is minimum adjustment unit multiplied by N, reduces the duration accounting of the mobile data network connected in tdd mode, synchronous increase WiFi Data network duration accounting then maintains mobile network until the data throughout of WiFi and the data throughout of mobile network are suitable The duration accounting of network and WiFi.
If the data throughout of WiFi is equal to the data throughout of mobile network, the duration of mobile network and WiFi are maintained Accounting.
The method for connecting network of the embodiment of the present invention can be improved network connection on the basis of Fig. 1 corresponding embodiment The flexibility of mode reduces network switching to interference caused by user security risk.
It is the structure chart of terminal device provided in an embodiment of the present invention referring to Fig. 6, Fig. 6, as shown in fig. 6, terminal device 600 It include: to obtain module 601 and output module 602.
Module 601 is obtained, for the intelligence being obtained and being set in the case where receiving the connection request of smart machine transmission Standby type;
Output module 602, for exporting prompt information in the case where the type of the smart machine is preset kind, The internetwork connection mode that the prompt information is used to that user to be prompted to select the terminal device.
Optionally, as shown in fig. 7, the internetwork connection mode includes at least timesharing bilateral connection type;
The terminal device further include:
Receiving module 603, for receiving input of the user to the timesharing bilateral connection type;
Link block 604, for being connected by the timesharing bilateral connection type of WiFi and mobile network in response to the input Connect network.
Optionally, as shown in figure 8, the link block 604 includes:
Submodule 6041 is determined, for determining that the first of the WiFi connects the second of duration and the mobile network respectively Connect duration;
Submodule 6042 is connected, for alternately connecting institute according to the first connection duration and the second connection duration State WiFi and the mobile network.
Optionally, as shown in figure 9, the determining submodule 6041 includes at least one of the following:
First allocation unit 60411, the initial connection duration for distributing the WiFi and the mobile network is mesh Mark duration;
Second allocation unit 60412, for the number according to the WiFi and the mobile network in the target duration According to throughput of transmissions size, distributes first connection duration and the mobile network of the WiFi after the target duration and exist The second connection duration after the target duration.
Optionally, as shown in figure 9, second allocation unit 60412 includes:
Subelement 604121 is obtained, is gulped down for obtaining the WiFi carries out data transmission in the target duration first The second handling capacity that the amount of spitting and the mobile network carry out data transmission in the target duration;
Comparing subunit 604122, the size for first handling capacity and second handling capacity;
The first adjustment subelement 604123 is used in the case where first handling capacity is greater than second handling capacity, First connection duration of the WiFi after the target duration is increased into the first duration by the target duration, it will be described Second connection duration of the mobile network after the target duration is reduced by the target duration to the second duration, wherein institute Target duration is stated less than first duration, the target duration is greater than second duration, in the first connection of the WiFi When the second connection of the first duration and the mobile network described in Shi Changwei in the case where a length of second duration, the WiFi Data transmission throughput and the mobile network data transmission throughput difference be less than preset value;Or
Second adjustment subelement 604124 is used in the case where first handling capacity is less than second handling capacity, First connection duration of the WiFi after the target duration is reduced by the target duration to third duration, it will be described Second connection duration of the mobile network after the target duration increases to the 4th duration by the target duration, wherein institute Target duration 2 is stated greater than the third duration, the target duration is less than the 4th duration, in the first connection of the WiFi When the second connection of third duration and the mobile network described in Shi Changwei in the case where a length of 4th duration, the WiFi Data transmission throughput and the mobile network data transmission throughput difference be less than the preset value;Or
Subelement 604125 is determined, for keeping in the case where first handling capacity is equal to second handling capacity The connection duration of the WIFI and the mobile network are the target duration.
Optionally, the first adjustment subelement 604123 is specifically used for, by the WiFi after the target duration One connection duration, obtains first duration after carrying out the increase of n times duration by the target duration;
By second connection duration of the mobile network after the target duration, n times are carried out by the target duration Second duration is obtained after reduction;
Wherein, each connection duration of the increased WiFi and the size correlation of N, that reduces every time is described The connection duration of mobile network and the size correlation of N, N are the integer greater than 0.
Optionally, the second adjustment subelement 604123 is specifically used for, by the WiFi after the target duration First connection duration, by the target duration carry out the reduction of n times duration after obtain the third duration;
By second connection duration of the mobile network after the target duration, n times are carried out by the target duration The 4th duration is obtained after increase;
Wherein, the connection duration of the WiFi reduced every time and the size correlation of N, it is increased described every time The connection duration of mobile network and the size correlation of N, N are the integer greater than 0.
Optionally, in the case where first handling capacity is greater than second handling capacity, the WiFi is increased every time The multiple of a length of T1 when connection, when connection of each reduction of mobile network a length of T2 multiple;Or
In the case where first handling capacity is less than second handling capacity, the connection duration of each reduction of WiFi For the multiple of T1, the mobile network every time increased connection when a length of T2 multiple;
Wherein, T1 indicates the frame duration of the network formats of the WiFi, and T2 indicates the network formats of the mobile network Frame duration.
Terminal device 600 can be realized each process that terminal device is realized in above method embodiment, to avoid repeating, Which is not described herein again.
The terminal device 600 of the embodiment of the present invention, terminal device is in the case where the type of smart machine is preset kind Export prompt information so that user according to prompt information select internetwork connection mode, without user carry out multi-pass operation into Row network connection, can reduce user's operation.
A kind of hardware structural diagram of Figure 11 terminal device of each embodiment to realize the present invention, the terminal device 1100 include but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensing Device 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, processor 1110 and The components such as power supply 1111.It will be understood by those skilled in the art that the not structure paired terminal of terminal device structure shown in Figure 11 The restriction of equipment, terminal device may include perhaps combining certain components or different than illustrating more or fewer components Component layout.In embodiments of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm electricity Brain, vehicle mobile terminals, wearable device and pedometer etc..
Wherein, processor 1110, for obtaining the intelligence in the case where receiving the connection request of smart machine transmission The type of energy equipment;In the case where the type of the smart machine is preset kind, prompt information, the prompt information are exported For prompting user to select the internetwork connection mode of the terminal device.
In this way, terminal device exports prompt information in the case where the type of smart machine is preset kind, so that user Internetwork connection mode is selected according to prompt information, multi-pass operation is carried out without user and is connected to the network, use can be reduced Family operation.
Optionally, the internetwork connection mode includes at least timesharing bilateral connection type;Processor 1110 execute it is described In the case that the type of the smart machine is preset kind, after exporting prompt information, it is also used to:
Receive input of the user to the timesharing bilateral connection type;
In response to the input, network is connected with the timesharing bilateral connection type of mobile network by WiFi.
Optionally, processor 1110, which executes, described connects net with the timesharing bilateral connection type of mobile network by WiFi Network, comprising:
The first connection duration of the WiFi and the second connection duration of the mobile network are determined respectively;
According to the first connection duration and the second connection duration, alternating connects the WiFi and the mobile network Network.
Optionally, processor 1110 executes the first connection duration for determining the WiFi respectively and the mobile network Second connection duration, include at least one of the following:
The initial connection duration for distributing the WiFi and the mobile network is target duration;
According to the data transmission throughput size of the WiFi and the mobile network in the target duration, institute is distributed It states WiFi and connects second of duration and the mobile network after the target duration in first after the target duration Connect duration.
Optionally, processor 1110 executes the data according to the WiFi and the mobile network in target duration Throughput of transmissions size distributes first connection duration and the mobile network of the WiFi after the target duration in institute State the second connection duration after target duration, comprising:
It obtains the first handling capacity that the WiFi carries out data transmission in the target duration and the mobile network exists The second handling capacity carried out data transmission in the target duration;
Compare the size of first handling capacity and second handling capacity;
First handling capacity be greater than second handling capacity in the case where, by the WiFi the target duration it The first connection duration afterwards increases to the first duration by the target duration, by the mobile network after the target duration Second connection duration reduced by the target duration to the second duration, wherein the target duration be less than first duration, The target duration is greater than second duration, a length of first duration and the movement in the first connection of the WiFi When the second connection of network in the case where a length of second duration, the data transmission throughput of the WiFi and the mobile network The difference of the data transmission throughput of network is less than preset value;Or
First handling capacity be less than second handling capacity in the case where, by the WiFi the target duration it The first connection duration afterwards is reduced by the target duration to third duration, by the mobile network after the target duration The second connection duration the 4th duration increased to by the target duration, wherein the target duration is greater than the third duration, The target duration is less than the 4th duration, a length of third duration and the movement in the first connection of the WiFi When the second connection of network in the case where a length of 4th duration, the data transmission throughput of the WiFi and the mobile network The difference of the data transmission throughput of network is less than the preset value;Or
In the case where first handling capacity is equal to second handling capacity, the WiFi and the mobile network are kept Connection duration be the target duration.
Optionally, processor 1110 execute it is described by the WiFi after the target duration first connection duration by The target duration increases to the first duration, by second connection duration of the mobile network after the target duration by institute Target duration is stated to reduce to the second duration, comprising:
By first connection duration of the WiFi after the target duration, n times duration is carried out by the target duration First duration is obtained after increase;
By second connection duration of the mobile network after the target duration, n times are carried out by the target duration Second duration is obtained after reduction;
Wherein, each connection duration of the increased WiFi and the size correlation of N, that reduces every time is described The connection duration of mobile network and the size correlation of N, N are the integer greater than 0.
Optionally, processor 1110 execute it is described by the WiFi after the target duration first connection duration by The target duration is reduced to third duration, by second connection duration of the mobile network after the target duration by institute It states target duration and increases to the 4th duration, comprising:
By first connection duration of the WiFi after the target duration, n times duration is carried out by the target duration The third duration is obtained after reduction;
By second connection duration of the mobile network after the target duration, n times are carried out by the target duration The 4th duration is obtained after increase;
Wherein, the connection duration of the WiFi reduced every time and the size correlation of N, it is increased described every time The connection duration of mobile network and the size correlation of N, N are the integer greater than 0.
Optionally, in the case where first handling capacity is greater than second handling capacity, the WiFi is increased every time The multiple of a length of T1 when connection, when connection of each reduction of mobile network a length of T2 multiple;Or
In the case where first handling capacity is less than second handling capacity, the connection duration of each reduction of WiFi For the multiple of T1, the mobile network every time increased connection when a length of T2 multiple;
Wherein, T1 indicates the frame duration of the network formats of the WiFi, and T2 indicates the network formats of the mobile network Frame duration.
It should be understood that the embodiment of the present invention in, radio frequency unit 1101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 1110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 1101 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1101 can also by wireless communication system and network and other Equipment communication.
Terminal device provides wireless broadband internet by network module 1102 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 1103 can be received by radio frequency unit 1101 or network module 1102 or in memory The audio data stored in 1109 is converted into audio signal and exports to be sound.Moreover, audio output unit 1103 can be with Audio output relevant to the specific function that terminal device 1100 executes is provided (for example, call signal receives sound, message sink Sound etc.).Audio output unit 1103 includes loudspeaker, buzzer and receiver etc..
Input unit 1104 is for receiving audio or video signal.Input unit 1104 may include graphics processor (Graphics Processing Unit, GPU) 11041 and microphone 11042, graphics processor 11041 are captured in video In mode or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into Row processing.Treated, and picture frame may be displayed on display unit 1106.Through treated the picture frame of graphics processor 11041 It can store in memory 1109 (or other storage mediums) or carried out via radio frequency unit 1101 or network module 1102 It sends.Microphone 11042 can receive sound, and can be audio data by such acoustic processing.Audio that treated Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1101 in the case where telephone calling model Formula output.
Terminal device 1100 further includes at least one sensor 1105, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 11061, proximity sensor can when terminal device 1100 is moved in one's ear, Close display panel 11061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify terminal device appearance when static State (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;Sensor 1105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas Meter, hygrometer, thermometer, infrared sensor etc. are pressed, details are not described herein.
Display unit 1106 is for showing information input by user or being supplied to the information of user.Display unit 1106 can Including display panel 11061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 11061.
User input unit 1107 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 1107 include touch panel 11071 with And other input equipments 11072.Touch panel 11071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 11071 or in touch panel Operation near 11071).Touch panel 11071 may include both touch detecting apparatus and touch controller.Wherein, it touches The touch orientation of detection device detection user is touched, and detects touch operation bring signal, transmits a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1110, It receives the order that processor 1110 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The multiple types such as sound wave realize touch panel 11071.In addition to touch panel 11071, user input unit 1107 can also include Other input equipments 11072.Specifically, other input equipments 11072 can include but is not limited to physical keyboard, function key (ratio Such as volume control button, switch key), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 11071 can be covered on display panel 11061, when touch panel 11071 detects After touch operation on or near it, processor 1110 is sent to determine the type of touch event, is followed by subsequent processing device 1110 Corresponding visual output is provided on display panel 11061 according to the type of touch event.Although in Figure 11, touch panel 11071 and display panel 11061 are the functions that outputs and inputs of realizing terminal device as two independent components, but In some embodiments, touch panel 11071 can be integrated with display panel 11061 and realize outputting and inputting for terminal device Function, specifically herein without limitation.
Interface unit 1108 is the interface that external device (ED) is connect with terminal device 1100.For example, external device (ED) may include Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card Port, port, the port audio input/output (I/O), video i/o port, earphone for connecting the device with identification module Port etc..Interface unit 1108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously And by one or more elements that the input received is transferred in terminal device 1100 or it can be used in terminal device Data are transmitted between 1100 and external device (ED).
Memory 1109 can be used for storing software program and various data.Memory 1109 can mainly include storage program Area and storage data 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 area, which can be stored, uses created data (ratio according to mobile phone Such as audio data, phone directory) etc..In addition, memory 1109 may include high-speed random access memory, it can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1110 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 1109, and calls and is stored in storage Data in device 1109 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 1110 may include one or more processing units;Preferably, processor 1110 can integrate application processor and modulation /demodulation Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1110.
Terminal device 1100 can also include the power supply 1111 (such as battery) powered to all parts, it is preferred that power supply 1111 can be logically contiguous by power-supply management system and processor 1110, to realize that management is filled by power-supply management system The functions such as electricity, electric discharge and power managed.
In addition, terminal device 1100 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 1110, memory 1109, storage On memory 1109 and the computer program that can run on the processor 1110, the computer program is by processor 1110 Each process in above-mentioned method for connecting network embodiment is realized when execution, and can reach identical technical effect, to avoid weight Multiple, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned method for connecting network embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (18)

1. a kind of method for connecting network is applied to terminal device characterized by comprising
In the case where receiving the connection request of smart machine transmission, the type of the smart machine is obtained;
In the case where the type of the smart machine is preset kind, prompt information is exported, the prompt information is for prompting User selects the internetwork connection mode of the terminal device.
2. the method according to claim 1, wherein the internetwork connection mode is connected including at least timesharing bilateral Mode;
It is described the type of the smart machine be preset kind in the case where, export prompt information after, the method is also wrapped It includes:
Receive input of the user to the timesharing bilateral connection type;
In response to the input, network is connected with the timesharing bilateral connection type of mobile network by WiFi.
3. according to the method described in claim 2, it is characterized in that, described connected by WiFi with the timesharing bilateral of mobile network Mode connects network, comprising:
The first connection duration of the WiFi and the second connection duration of the mobile network are determined respectively;
According to the first connection duration and the second connection duration, alternating connects the WiFi and the mobile network.
4. according to the method described in claim 3, it is characterized in that, it is described determine respectively the WiFi first connection duration and The second connection duration of the mobile network, includes at least one of the following:
The initial connection duration for distributing the WiFi and the mobile network is target duration;
According to the data transmission throughput size of the WiFi and the mobile network in the target duration, described in distribution WiFi is in the second company of the first connection duration and the mobile network after the target duration after the target duration Connect duration.
5. according to the method described in claim 4, it is characterized in that, it is described according to the WiFi and the mobile network in target Data transmission throughput size in duration distributes first connection duration and described of the WiFi after the target duration Second connection duration of the mobile network after the target duration, comprising:
The first handling capacity and the mobile network that the WiFi carries out data transmission in the target duration are obtained described The second handling capacity carried out data transmission in target duration;
Compare the size of first handling capacity and second handling capacity;
In the case where first handling capacity is greater than second handling capacity, by the WiFi after the target duration First connection duration by the target duration increases to the first duration, by the mobile network after the target duration the Two connection durations are reduced by the target duration to the second duration, wherein the target duration is less than first duration, described Target duration is greater than second duration, a length of first duration and the mobile network in the first connection of the WiFi The second connection when a length of second duration in the case where, the data transmission throughput of the WiFi and the mobile network's The difference of data transmission throughput is less than preset value;Or
In the case where first handling capacity is less than second handling capacity, by the WiFi after the target duration First connection duration is reduced by the target duration to third duration, by the mobile network after the target duration the Two connection durations increase to the 4th duration by the target duration, wherein the target duration is greater than the third duration, described Target duration is less than the 4th duration, a length of third duration and the mobile network in the first connection of the WiFi The second connection when a length of 4th duration in the case where, the data transmission throughput of the WiFi and the mobile network's The difference of data transmission throughput is less than the preset value;Or
In the case where first handling capacity is equal to second handling capacity, the company of the WiFi and the mobile network are kept Connecing duration is the target duration.
6. according to the method described in claim 5, it is characterized in that, by the WiFi after the target duration One connection duration by the target duration increases to the first duration, by the mobile network after the target duration second Connection duration is reduced by the target duration to the second duration, comprising:
By first connection duration of the WiFi after the target duration, the increase of n times duration is carried out by the target duration After obtain first duration;
By second connection duration of the mobile network after the target duration, n times reduction is carried out by the target duration After obtain second duration;
Wherein, each connection duration of the increased WiFi and the size correlation of N, the movement reduced every time The connection duration of network and the size correlation of N, N are the integer greater than 0.
7. according to the method described in claim 5, it is characterized in that, by the WiFi after the target duration One connection duration is reduced by the target duration to third duration, by the mobile network after the target duration second It connects duration and the 4th duration is increased to by the target duration, comprising:
By first connection duration of the WiFi after the target duration, the reduction of n times duration is carried out by the target duration After obtain the third duration;
By second connection duration of the mobile network after the target duration, n times increase is carried out by the target duration After obtain the 4th duration;
Wherein, the connection duration of the WiFi reduced every time and the size correlation of N, each increased movement The connection duration of network and the size correlation of N, N are the integer greater than 0.
8. method according to claim 6 or 7, which is characterized in that be greater than described second in first handling capacity and handle up In the case where amount, the WiFi every time increased connection when a length of T1 multiple, when the connection of each reduction of mobile network The multiple of a length of T2;Or
In the case where first handling capacity is less than second handling capacity, when connection of each reduction of WiFi a length of T1 Multiple, the mobile network every time increased connection when a length of T2 multiple;
Wherein, T1 indicates the frame duration of the network formats of the WiFi, when T2 indicates the frame of the network formats of the mobile network It is long.
9. a kind of terminal device characterized by comprising
Module is obtained, for obtaining the class of the smart machine in the case where receiving the connection request of smart machine transmission Type;
Output module, for exporting prompt information, the prompt in the case where the type of the smart machine is preset kind The internetwork connection mode that information is used to that user to be prompted to select the terminal device.
10. terminal device according to claim 9, which is characterized in that it is double that the internetwork connection mode includes at least timesharing Logical connection type;
The terminal device further include:
Receiving module, for receiving input of the user to the timesharing bilateral connection type;
Link block, for connecting network with the timesharing bilateral connection type of mobile network by WiFi in response to the input.
11. terminal device according to claim 10, which is characterized in that the link block includes:
Determine submodule, for determine respectively the WiFi first connection duration and the mobile network second connection when It is long;
Connect submodule, for according to it is described first connection duration and it is described second connection duration, alternating connect the WiFi and The mobile network.
12. terminal device according to claim 11, which is characterized in that the determining submodule includes following at least one :
First allocation unit, the initial connection duration for distributing the WiFi and the mobile network are target duration;
Second allocation unit, for being handled up according to the data transmission of the WiFi and the mobile network in the target duration Size is measured, distributes first connection duration and the mobile network of the WiFi after the target duration in the target The second connection duration after length.
13. terminal device according to claim 12, which is characterized in that second allocation unit includes:
Subelement is obtained, for obtaining the first handling capacity that the WiFi carries out data transmission in the target duration and described The second handling capacity that mobile network carries out data transmission in the target duration;
Comparing subunit, the size for first handling capacity and second handling capacity;
The first adjustment subelement is used in the case where first handling capacity is greater than second handling capacity, by the WiFi The first connection duration after the target duration increases to the first duration by the target duration, and the mobile network is existed The second connection duration after the target duration is reduced by the target duration to the second duration, wherein the target duration Less than first duration, the target duration is greater than second duration, a length of described in the first connection of the WiFi When the second connection of the first duration and the mobile network in the case where a length of second duration, the data of the WiFi are transmitted The difference of the data transmission throughput of handling capacity and the mobile network is less than preset value;Or
Second adjustment subelement is used in the case where first handling capacity is less than second handling capacity, by the WiFi The first connection duration after the target duration is reduced by the target duration to third duration, and the mobile network is existed The second connection duration after the target duration increases to the 4th duration by the target duration, wherein the target duration Greater than the third duration, the target duration is less than the 4th duration, a length of described in the first connection of the WiFi When the second connection of third duration and the mobile network in the case where a length of 4th duration, the data of the WiFi are transmitted The difference of the data transmission throughput of handling capacity and the mobile network is less than the preset value;Or
Determine subelement, for first handling capacity be equal to second handling capacity in the case where, keep the WiFi and The connection duration of the mobile network is the target duration.
14. terminal device according to claim 13, which is characterized in that the first adjustment subelement is specifically used for, will be described First connection duration of the WiFi after the target duration, it is described by being obtained after target duration progress n times duration increase First duration;
By second connection duration of the mobile network after the target duration, n times reduction is carried out by the target duration After obtain second duration;
Wherein, each connection duration of the increased WiFi and the size correlation of N, the movement reduced every time The connection duration of network and the size correlation of N, N are the integer greater than 0.
15. terminal device according to claim 13, which is characterized in that the second adjustment subelement is specifically used for, will First connection duration of the WiFi after the target duration, obtains after carrying out the reduction of n times duration by the target duration The third duration;
By second connection duration of the mobile network after the target duration, n times increase is carried out by the target duration After obtain the 4th duration;
Wherein, the connection duration of the WiFi reduced every time and the size correlation of N, each increased movement The connection duration of network and the size correlation of N, N are the integer greater than 0.
16. terminal device according to claim 14 or 15, which is characterized in that be greater than described the in first handling capacity In the case where two handling capacities, the WiFi every time increased connection when a length of T1 multiple, what the mobile network was reduced every time The multiple of a length of T2 when connection;Or
In the case where first handling capacity is less than second handling capacity, when connection of each reduction of WiFi a length of T1 Multiple, the mobile network every time increased connection when a length of T2 multiple;
Wherein, T1 indicates the frame duration of the network formats of the WiFi, when T2 indicates the frame of the network formats of the mobile network It is long.
17. a kind of terminal device characterized by comprising memory, processor and storage are on a memory and can be in processor The computer program of upper operation, the processor are realized as described in any one of claim 1 to 8 when executing the computer program Method for connecting network in step.
18. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the computer program are realized when being executed by processor in method for connecting network as claimed in any one of claims 1 to 8 Step.
CN201910122433.7A 2019-02-19 2019-02-19 Network connection method, terminal device and computer readable storage medium Active CN109819458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910122433.7A CN109819458B (en) 2019-02-19 2019-02-19 Network connection method, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910122433.7A CN109819458B (en) 2019-02-19 2019-02-19 Network connection method, terminal device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109819458A true CN109819458A (en) 2019-05-28
CN109819458B CN109819458B (en) 2022-11-01

Family

ID=66606760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910122433.7A Active CN109819458B (en) 2019-02-19 2019-02-19 Network connection method, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109819458B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339923A (en) * 2022-01-11 2022-04-12 云南电网有限责任公司电力科学研究院 Communication method, device and system of intelligent wearable device and mobile terminal
CN114423068A (en) * 2022-01-05 2022-04-29 深圳Tcl新技术有限公司 Networking method, mobile communication module, storage medium and electronic device
CN114501678A (en) * 2022-02-24 2022-05-13 南京追风网络科技有限公司 Communication processing method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930439A (en) * 2009-06-23 2010-12-29 中国工商银行股份有限公司 Website processing device adapted to mobile phones of various types and application thereof
CN103048961A (en) * 2012-12-06 2013-04-17 四川长虹电器股份有限公司 Control method of intelligent household appliance
CN105392213A (en) * 2015-11-27 2016-03-09 小米科技有限责任公司 Method and apparatus for connection of controlled intelligent device
CN106571989A (en) * 2016-11-09 2017-04-19 杭州联络互动信息科技股份有限公司 Method and device for controlling intelligent household device by intelligent mobile terminal
WO2017113708A1 (en) * 2015-12-31 2017-07-06 乐视控股(北京)有限公司 Video playback method and device
CN107222525A (en) * 2017-05-15 2017-09-29 努比亚技术有限公司 Data network connection status display methods, terminal and computer-readable recording medium
CN107567019A (en) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 A kind of access control method, device, first and second access controller
CN107801222A (en) * 2016-09-06 2018-03-13 中兴通讯股份有限公司 Bluetooth and WiFi switching method and system, client and wireless access point equipment
CN108595082A (en) * 2018-03-15 2018-09-28 维沃移动通信有限公司 A kind of information cuing method and terminal device
CN108696909A (en) * 2018-06-27 2018-10-23 努比亚技术有限公司 Based reminding method, terminal and the computer readable storage medium of network connection

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930439A (en) * 2009-06-23 2010-12-29 中国工商银行股份有限公司 Website processing device adapted to mobile phones of various types and application thereof
CN103048961A (en) * 2012-12-06 2013-04-17 四川长虹电器股份有限公司 Control method of intelligent household appliance
CN105392213A (en) * 2015-11-27 2016-03-09 小米科技有限责任公司 Method and apparatus for connection of controlled intelligent device
WO2017113708A1 (en) * 2015-12-31 2017-07-06 乐视控股(北京)有限公司 Video playback method and device
CN107567019A (en) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 A kind of access control method, device, first and second access controller
CN107801222A (en) * 2016-09-06 2018-03-13 中兴通讯股份有限公司 Bluetooth and WiFi switching method and system, client and wireless access point equipment
CN106571989A (en) * 2016-11-09 2017-04-19 杭州联络互动信息科技股份有限公司 Method and device for controlling intelligent household device by intelligent mobile terminal
CN107222525A (en) * 2017-05-15 2017-09-29 努比亚技术有限公司 Data network connection status display methods, terminal and computer-readable recording medium
CN108595082A (en) * 2018-03-15 2018-09-28 维沃移动通信有限公司 A kind of information cuing method and terminal device
CN108696909A (en) * 2018-06-27 2018-10-23 努比亚技术有限公司 Based reminding method, terminal and the computer readable storage medium of network connection

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114423068A (en) * 2022-01-05 2022-04-29 深圳Tcl新技术有限公司 Networking method, mobile communication module, storage medium and electronic device
CN114423068B (en) * 2022-01-05 2023-12-05 深圳Tcl新技术有限公司 Networking method, mobile communication module, storage medium and electronic equipment
CN114339923A (en) * 2022-01-11 2022-04-12 云南电网有限责任公司电力科学研究院 Communication method, device and system of intelligent wearable device and mobile terminal
CN114501678A (en) * 2022-02-24 2022-05-13 南京追风网络科技有限公司 Communication processing method and device
CN114501678B (en) * 2022-02-24 2023-11-21 喀斯玛汇智(无锡)科技有限公司 Communication processing method and device

Also Published As

Publication number Publication date
CN109819458B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN110198545A (en) A kind of secondary cell group adding method, terminal device and host node
CN107256120A (en) Method for changing scenes, terminal and computer-readable recording medium
CN109213401A (en) Double-sided screen application icon method for sorting, mobile terminal and readable storage medium storing program for executing
CN110096326A (en) A kind of screenshotss method, terminal device and computer readable storage medium
CN109683785A (en) A kind of information processing method and mobile terminal
CN110058836A (en) A kind of output method and terminal device of audio signal
CN110351040A (en) Sounding reference signal transmission enhancement, configuration method, user equipment and network side equipment
CN107992342A (en) A kind of application configuration change method and mobile terminal
CN110032309A (en) A kind of split screen method and terminal device
CN109548117A (en) A kind of network selecting method and mobile terminal
CN109819458A (en) A kind of method for connecting network, terminal device and computer readable storage medium
CN107748640A (en) One kind puts out screen display methods and mobile terminal
CN107463324A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN110531915A (en) Screen operating method and terminal device
CN107967153A (en) The management method and mobile terminal of a kind of application program
CN110308838A (en) A kind of application interaction processing method and terminal device
CN110045890A (en) The display methods and terminal device of application identities
CN110064192A (en) Interface control method, mobile terminal and computer readable storage medium
CN109683768A (en) A kind of operating method and mobile terminal of application
CN109683766A (en) Interactive interface control method, mobile terminal and computer readable storage medium
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN109739300A (en) A kind of method of controlling antenna and terminal
CN109240575A (en) A kind of screen control method and electronic equipment
CN109522524A (en) A kind of text browsing methods and terminal device
CN109413264A (en) A kind of background picture method of adjustment and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant