CN109819458B - Network connection method, terminal device and computer readable storage medium - Google Patents

Network connection method, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN109819458B
CN109819458B CN201910122433.7A CN201910122433A CN109819458B CN 109819458 B CN109819458 B CN 109819458B CN 201910122433 A CN201910122433 A CN 201910122433A CN 109819458 B CN109819458 B CN 109819458B
Authority
CN
China
Prior art keywords
duration
connection
wifi
time length
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.)
Active
Application number
CN201910122433.7A
Other languages
Chinese (zh)
Other versions
CN109819458A (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

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of communication, and provides a network connection method, terminal equipment and a computer readable storage medium, so as to solve the problem of complex operation when the terminal equipment is in network connection. The method comprises the following steps: the method comprises the steps of acquiring the type of the intelligent equipment under the condition of receiving a connection request sent by the intelligent equipment; and under the condition that the type of the intelligent equipment is a preset type, outputting prompt information, wherein the prompt information is used for prompting a user to select a network connection mode of the terminal equipment. Therefore, the terminal equipment outputs the prompt information under the condition that the type of the intelligent equipment is the preset type, so that the user can select a network connection mode according to the prompt information without carrying out multiple operations for network connection, and the user operation can be reduced.

Description

Network connection method, terminal device and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network connection method, a terminal device, and a computer-readable storage medium.
Background
Along with the development of network technology, intelligent devices are more and more popular, and common intelligent devices are intelligent household devices, intelligent vehicle-mounted devices and the like. The intelligent device is provided with a WiFi (Wireless-Fidelity) module, and the terminal device is connected with the WiFi module of the intelligent device so as to control the intelligent device.
In the prior art, after searching for the intelligent device, the terminal device is usually automatically connected to the intelligent device through the wireless network, and after connecting to the wireless network, the terminal device is disconnected from the mobile data network. At this time, data update of the web page, the social application, and the like of the terminal device is interrupted, so that the user cannot view the updated data in time. If the user needs to view information such as a webpage and social application, the user needs to perform multiple operations to control the terminal device to connect the mobile network again. The existing network connection mode is complex in operation and poor in user experience.
Disclosure of Invention
The embodiment of the invention provides a network connection method, terminal equipment and a computer readable storage medium, which are used for solving the problem of complex operation when the terminal equipment is connected with a network.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a network connection method, including:
the method comprises the steps of acquiring the type of the intelligent equipment under the condition of receiving a connection request sent by the intelligent equipment;
and under the condition that the type of the intelligent equipment is a preset type, outputting prompt information, wherein the prompt information is used for prompting a user to select a network connection mode of the terminal equipment.
In a second aspect, an embodiment of the present invention further provides a terminal device, including:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the type of the intelligent equipment under the condition of receiving a connection request sent by the intelligent equipment;
and the output module is used for outputting prompt information under the condition that the type of the intelligent equipment is a preset type, wherein the prompt information is used for prompting a user to select a network connection mode of the terminal equipment.
In a third aspect, an embodiment of the present invention further provides a terminal device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the network connection method as described above when executing the computer program.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the network connection method as described above.
In the embodiment of the invention, the type of the intelligent equipment is obtained under the condition of receiving a connection request sent by the intelligent equipment; and under the condition that the type of the intelligent equipment is a preset type, outputting prompt information, wherein the prompt information is used for prompting a user to select a network connection mode of the terminal equipment. Therefore, the terminal device outputs the prompt information under the condition that the type of the intelligent device is the preset type, so that the user can select the network connection mode according to the prompt information without performing multiple operations for network connection, and the user operation can be reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
Fig. 1 is a flowchart of a network connection method according to an embodiment of the present invention;
fig. 2 is a second flowchart of a network connection method according to an embodiment of the present invention;
fig. 3 is a third flowchart of a network connection method according to an embodiment of the present invention;
fig. 4 is a schematic display interface diagram of a terminal device according to an embodiment of the present invention;
FIG. 5 is a fourth flowchart of a network connection method according to an embodiment of the present invention;
fig. 6 is one of the structural diagrams of the terminal device provided in the embodiment of the present invention;
fig. 7 is a second structural diagram of a terminal device according to an embodiment of the present invention;
fig. 8 is a structural diagram of a connection module in a terminal device according to an embodiment of the present invention;
fig. 9 is a structural diagram of a certain sub-module in the terminal device provided in the embodiment of the present invention;
fig. 10 is a block diagram of a second allocating unit in the terminal apparatus according to the embodiment of the present invention;
fig. 11 is a third structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a network connection method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, acquiring the type of the intelligent device under the condition of receiving a connection request sent by the intelligent device.
The intelligent device may be a device capable of being connected with the terminal device, for example, an intelligent home device, an intelligent vehicle-mounted device, a mobile phone, a wearable device, and the like.
Types of smart devices may include routing smart devices and non-routing smart devices, wherein the routing smart devices may be internet-enabled devices, e.g., cell phones, wearable devices; the non-routing intelligent device can be a device which can not be connected with the Internet, such as an intelligent home device and an intelligent vehicle-mounted device. The terminal device can determine the type of the intelligent device by acquiring the device information of the intelligent device.
And 102, outputting prompt information under the condition that the type of the intelligent equipment is a preset type, wherein the prompt information is used for prompting a user to select a network connection mode of the terminal equipment.
The preset type of smart device may be the non-routing smart device described in step 101. And under the condition of receiving a connection request sent by the non-routing intelligent equipment, the terminal equipment can output prompt information so that a user can select a network connection mode of the terminal equipment according to the prompt information.
Before receiving the connection request sent by the non-routing intelligent device, the network connection mode of the terminal device may be a mobile network connection mode, a wireless network connection mode of the routing intelligent device, or the like. After receiving a connection request sent by the non-routing intelligent device, the terminal device can output at least two network connection modes for a user to select. The output network connection mode may include a connected network connection mode, a WiFi connection mode, and may also include other network connection modes for switching. If the user selects the network connection mode of the current connection, the network connection mode does not need to be switched; and if the user selects the WiFi connection mode, the terminal equipment is connected with the intelligent equipment through WiFi.
Further, when the type of the intelligent device is the preset type, the terminal device may further automatically select a network connection mode according to a scene where the terminal device is located, for example, information such as time, location, and an operation interface of the terminal device.
In the embodiment of the present invention, the network connection method may be applied to a terminal device, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
According to the network connection method, the type of the intelligent equipment is obtained under the condition that a connection request sent by the intelligent equipment is received; and under the condition that the type of the intelligent equipment is a preset type, outputting prompt information, wherein the prompt information is used for prompting a user to select a network connection mode of the terminal equipment. Therefore, the terminal device outputs the prompt information under the condition that the type of the intelligent device is the preset type, so that the user can select the network connection mode according to the prompt information without performing multiple operations for network connection, and the user operation can be reduced. And the user can select a network connection mode according to an actual scene so as to reduce the interference of network switching to the user.
Referring to fig. 2, the main difference between the present embodiment and the above-described embodiments is that the network is connected through a time-sharing dual-active connection between WiFi and the mobile network.
Fig. 2 is a flowchart of a network connection method according to an embodiment of the present invention, and as shown in fig. 2, the method includes the following steps:
step 201, acquiring the type of the intelligent device when receiving a connection request sent by the intelligent device.
The implementation manner of this step may refer to the description in step 101, and is not described herein again to avoid repetition.
Step 202, outputting prompt information under the condition that the type of the intelligent device is a preset type, wherein the prompt information is used for prompting a user to select a network connection mode of the terminal device.
The specific implementation of this step can be seen in the description in step 102. The network connection mode at least comprises a time-sharing bi-pass connection mode.
The prompt information may be a voice output prompt or a screen display prompt. For example, operation options of a WiFi connection mode, a mobile network connection mode, and a time-sharing bi-pass connection mode are displayed on the screen. The user can input the network connection mode to be selected according to the prompt information, wherein the network connection mode comprises voice input or manual operation mode input performed by the user, and the terminal equipment responds to the input of the user and is connected with the network according to the network connection mode selected by the user. Therefore, the terminal equipment can flexibly select a network connection mode according to the operation of the user, and the user operation is convenient and fast.
The time-sharing bi-pass connection mode can be understood as a network connection mode for connecting different networks in different time periods.
In this step, the terminal device may display an option of the time-sharing bi-pass network connection mode, and the user may operate the option of the network connection mode, which specifically includes:
1. and receiving the input of the time-sharing bi-pass connection mode from a user.
In this step, the terminal device receives user input of the time-sharing bi-pass network connection mode, such as click operation or sliding operation.
2. Responding to the input, and connecting the network through a time-sharing bi-pass connection mode of the WiFi and the mobile network.
In this step, the terminal device alternately connects to the network through WiFi and the mobile network.
To facilitate an understanding of the embodiments, the following examples are given by way of illustration.
As shown in fig. 3, the terminal device defaults to turn on the function of automatically connecting the smart device through WiFi. After the intelligent device is connected through WiFi, the terminal device judges whether the intelligent device is a non-routing device. And if the intelligent equipment is not the non-routing equipment, connecting the network according to a default WiFi connection mode or a mobile network connection mode. If the intelligent device is a non-routing device, outputting prompt information including a working mode to enable a user to select any working mode according to actual conditions, for example, displaying a terminal device interface as an interface shown in fig. 4, where the working mode may include an intelligent peripheral mode, a mobile data mode, and a time-sharing dual-communication mode. In the intelligent peripheral mode, the terminal equipment is connected with the intelligent equipment through WiFi, and the intelligent equipment can be controlled through operation of an application program; in the mobile data mode, the terminal equipment can normally provide mobile internet data services; under the time-sharing bi-pass mode, the terminal equipment can realize time-sharing work of WiFi and mobile network modes. In addition, the terminal device can display the working mode identification matched with the current working mode on the user interface, so that the user can conveniently and quickly acquire the current working mode.
Optionally, the connecting network by means of a time-sharing bi-pass connection between WiFi and a mobile network includes:
respectively determining a first connection duration of the WiFi and a second connection duration of the mobile network;
and alternately connecting the WiFi and the mobile network according to the first connection duration and the second connection duration.
In this embodiment, the terminal device first configures a duration for connecting to the WiFi and a duration for connecting to the mobile network, where the duration may be a preset fixed duration or a duration dynamically adjusted according to a situation after connecting to the network.
And the terminal equipment alternately connects the WiFi and the mobile network according to the determined connection duration. For example, the terminal determines that the connection duration of WiFi is T1, and the connection duration of the mobile network is T2, then the terminal device connects WiFi and keeps the connection duration T1, then connects the mobile network and keeps the connection duration T2, and so on, and connects alternately according to the time division duplex mode. Therefore, the WiFi connection and the mobile network connection can be kept, and the interference brought to the user by the network switching is reduced.
Optionally, the determining the first connection duration of the WiFi and the second connection duration of the mobile network respectively includes at least one of:
allocating the initial connection duration of the WiFi and the mobile network to be target duration;
and according to the data transmission throughput of the WiFi and the mobile network in the target time length, allocating a first connection time length of the WiFi after the target time length and a second connection time length of the mobile network after the target time length.
In this embodiment, the terminal device may determine the connection duration between the WiFi and the mobile network according to any one of the following manners, or may determine the connection duration between the WiFi and the mobile network jointly by combining the two manners.
In the first mode, the connection duration of the WiFi is distributed to be the same as the connection duration of the mobile network.
Specifically, a time period with a duration of m may be determined first, and the connection durations of the WiFi and the mobile network are equally distributed in the time period. In specific implementation, the duration for allocating both WiFi and mobile network may be the target duration only during initial connection, and after the initial duration, the connection duration may be determined again in other manners. In addition, when the connection time length of the WiFi and the mobile network is allocated, different time lengths can be allocated in other modes.
And secondly, distributing the connection duration of the WiFi and the mobile network after the target duration according to the data throughput of the WiFi and the mobile network in the target duration. In this way, the connection duration in the time domain can be dynamically allocated according to the throughput of the WiFi and the mobile network.
Therefore, the connection duration of the WiFi and the mobile network is configured according to the two modes, and the network utilization rate can be improved.
Optionally, the allocating, according to the data transmission throughput of the WiFi and the mobile network within a target duration, a first connection duration of the WiFi after the target duration and a second connection duration of the mobile network after the target duration includes:
acquiring a first throughput of the WiFi for data transmission in the target time length and a second throughput of the mobile network for data transmission in the target time length;
comparing the first throughput and the second throughput in magnitude;
under the condition that the first throughput is greater than the second throughput, increasing a first connection time length of the WiFi after the target time length from the target time length to a first time length, and reducing a second connection time length of the mobile network after the target time length from the target time length to a second time length, wherein the target time length is less than the first time length, the target time length is greater than the second time length, and under the condition that the first connection time length of the WiFi is the first time length and the second connection time length of the mobile network is the second time length, the difference value between the data transmission throughput of the WiFi and the data transmission throughput of the mobile network is less than a preset value; or alternatively
When the first throughput is smaller than the second throughput, reducing a first connection time length of the WiFi after the target time length from the target time length to a third time length, and increasing a second connection time length of the mobile network after the target time length from the target time length to a fourth time length, wherein the target time length is larger than the third time length, the target time length is smaller than the fourth time length, and under the condition that the first connection time length of the WiFi is the third time length and the second connection time length of the mobile network is the fourth time length, a difference value between the data transmission throughput of the WiFi and the data transmission throughput of the mobile network is smaller than the preset value; or alternatively
And keeping the connection duration of the WiFi and the mobile network to be the target duration under the condition that the first throughput is equal to the second throughput.
In this embodiment, the terminal device may first set a duration that the connection duration of the WiFi and the connection duration of the mobile network are equal, that is, a target duration, and respectively obtain, in each connection, a first throughput of data transmission performed by the WiFi and a second throughput of data transmission performed by the mobile network within the target duration.
And under the condition that the first throughput is greater than the second throughput, increasing the connection duration of the WiFi and reducing the connection duration of the mobile network. The increased connection duration and the decreased connection duration may be any duration preset by the terminal device, and the duration may be a duration determined according to characteristics of a network or any fixed duration. For example, the duration T1 of the network standard complete frame structure of WiFi multiplied by N may be used as a minimum time adjustment unit, and the ratio duration is extended by using T1 × N +1 as a unit, so as to determine the connection duration of WiFi, where N is the number of times of adjustment. And after the connection duration is adjusted, detecting the duration to account for the adjusted network data throughput again. And when the throughput of the WiFi is still greater than the throughput of the mobile network, repeating the operation until the throughput of the WiFi is equal to or has a small difference with the throughput of the mobile network, namely the difference between the throughput of the WiFi and the throughput of the mobile network is smaller than a preset value, and maintaining the duration ratio.
And when the second throughput is greater than the first throughput, reducing the connection duration of the WiFi and increasing the connection duration of the mobile network. The increased connection duration and the decreased connection duration may be any duration preset by the terminal device, and the duration may be a duration determined according to the characteristics of the network or any fixed duration. For example, the network type complete frame duration T2 of the mobile network is multiplied by n to be the minimum time adjustment unit, and the connection duration of the mobile network is determined by expanding the occupation ratio duration with T2 × n +1 as the unit, where n is the adjustment times. And after the connection duration is adjusted, detecting the throughput of the dual-network data after the duration ratio expansion again. When the throughput of the mobile network is still greater than the network throughput of the WiFi, repeating the operation until the throughputs of the data transmission of the mobile network and the WiFi are equal to each other or have a small difference, namely the difference between the throughput of the WiFi and the throughput of the mobile network is smaller than a preset value, and maintaining the time-length ratio.
And under the condition that the first throughput and the second throughput are equal, maintaining the current connection duration without adjustment.
By the method, the data transmission rate of the mobile data service and the WiFi data service of the terminal can be improved.
Optionally, the increasing the first connection duration of the WiFi after the target duration from the target duration to the first duration, and decreasing the second connection duration of the mobile network after the target duration from the target duration to the second duration include:
obtaining a first connection duration of the WiFi after the target duration is subjected to duration increase for N times by the target duration;
reducing a second connection time length of the mobile network after the target time length for N times to obtain a second time length;
the WiFi network connection duration and the N are in positive correlation, the WiFi network connection duration and the N are decreased every time, and the N is an integer larger than 0.
In this embodiment, when the first throughput is greater than the second throughput, the connection duration of the WiFi may be increased step by step, and the connection duration increased each time is in a positive correlation with the increased number of times, until the connection duration of the WiFi is increased to the first duration; and gradually reducing the connection duration of the mobile network, wherein the connection duration reduced each time is in positive correlation with the reduction times until the connection duration is reduced to a second duration.
Therefore, the terminal equipment can adjust the connection time for multiple times, and can adjust the variable quantity of the connection time according to the adjustment times, so that the quick adjustment can be realized, and the utilization rate of the network can be improved.
Optionally, the reducing a first connection duration of the WiFi after the target duration from the target duration to a third duration, and increasing a second connection duration of the mobile network after the target duration from the target duration to a fourth duration includes:
reducing the duration of the first connection duration of the WiFi after the target duration for N times by the target duration to obtain a third duration;
increasing a second connection time length of the mobile network after the target time length for N times to obtain a fourth time length;
the WiFi connection time length decreased each time is in positive correlation with the size of N, the mobile network connection time length increased each time is in positive correlation with the size of N, and N is an integer larger than 0.
In this embodiment, when the first throughput is smaller than the second throughput, the WiFi connection duration may be gradually reduced, and the connection duration reduced each time has a positive correlation with the number of times of adjustment until the WiFi connection duration is reduced to a third duration; and gradually increasing the connection duration of the mobile network, wherein the connection duration increased each time is in positive correlation with the adjustment times until the connection duration is increased to a fourth duration.
Therefore, the terminal equipment can adjust the connection time for multiple times, and can adjust the variable quantity of the connection time according to the adjustment times, so that the quick adjustment can be realized, and the utilization rate of the network can be improved.
Optionally, when the first throughput is greater than the second throughput, the connection duration increased each time by the WiFi is a multiple of T1, and the connection duration decreased each time by the mobile network is a multiple of T2; or
Under the condition that the first throughput is smaller than the second throughput, the connection time length of each reduction of the WiFi is a multiple of T1, and the connection time length of each increase of the mobile network is a multiple of T2;
wherein, T1 represents a frame duration of the network type of the WiFi, and T2 represents a frame duration of the network type of the mobile network.
For example, when the data transmission throughput of WiFi is greater than the throughput of the mobile data network, for WiFi, increase the duration of T1 × n each time; for the mobile data network, the duration of T2 x n is reduced every time, and the sum of the occupation ratio durations of the two is always a fixed value; when the data transmission throughput of the WiFi is smaller than the throughput of the mobile data network, for the WiFi, the duration of T1 x n is reduced each time; for the mobile data network, the duration of T2 x n is increased every time, the sum of the occupation ratio durations of the two is always a fixed value, wherein n is the number of times of adjustment.
In this embodiment, the duration of each adjustment to the WiFi is a multiple of T1, and the duration of each adjustment to the mobile network is a multiple of T2. Thus, the utilization rate of the network can be improved.
To facilitate a further understanding of the detailed description of the embodiments of the present invention, reference is made to the following description taken in conjunction with the accompanying drawings.
As shown in fig. 5, the terminal device connects to the WiFi and the mobile network according to the user operation, and the WiFi and the mobile network are connected according to a Time Division Duplexing (TDD) mode. In the initial state, the default WiFi and mobile network each take half of the transmission duration to allocate connections. When the terminal equipment is connected with the WiFi and the mobile network, the data transmission throughput of the WiFi and the mobile network is obtained in the respective connection duration, and the data throughput of the WiFi and the data throughput of the mobile network are compared.
If the data throughput of the WiFi is smaller than that of the mobile network, multiplying the duration of the complete frame structure of each network system by N to serve as a minimum adjusting unit, reducing the duration ratio in the WiFi data network connected in the TDD mode, synchronously increasing the duration ratio of the mobile data network until the data throughput of the WiFi is equivalent to that of the mobile network, and maintaining the duration ratio of the mobile network and the WiFi, wherein N is the adjusting times.
If the data throughput of the WiFi is larger than that of the mobile network, the duration of the complete frame structure of each network system multiplied by N is taken as a minimum adjusting unit, the duration ratio of the mobile data network connected in the TDD mode is reduced, the duration ratio of the WiFi data network is synchronously increased until the data throughput of the WiFi is equivalent to that of the mobile network, and the duration ratio of the mobile network and the WiFi is maintained.
And if the data throughput of the WiFi is equal to that of the mobile network, maintaining the time length ratio of the mobile network and the WiFi.
The network connection method of the embodiment of the invention can improve the flexibility of the network connection mode and reduce the interference of network switching to users on the basis of the embodiment corresponding to the figure 1.
Referring to fig. 6, fig. 6 is a structural diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 6, the terminal device 600 includes: an acquisition module 601 and an output module 602.
An obtaining module 601, configured to obtain a type of an intelligent device when a connection request sent by the intelligent device is received;
an output module 602, configured to output a prompt message when the type of the intelligent device is a preset type, where the prompt message is used to prompt a user to select a network connection mode of the terminal device.
Optionally, as shown in fig. 7, the network connection manner at least includes a time-sharing bi-pass connection manner;
the terminal device further includes:
a receiving module 603, configured to receive an input of the time-sharing bi-pass connection manner from a user;
and the connection module 604 is configured to respond to the input, and connect to the network through a time-sharing bi-pass connection manner between the WiFi and the mobile network.
Optionally, as shown in fig. 8, the connection module 604 includes:
a determining submodule 6041, configured to determine a first connection duration of the WiFi and a second connection duration of the mobile network respectively;
a connection submodule 6042, configured to connect the WiFi and the mobile network alternately according to the first connection duration and the second connection duration.
Optionally, as shown in fig. 9, the determining sub-module 6041 includes at least one of:
a first allocating unit 60411, configured to allocate an initial connection duration of the WiFi and the mobile network to be a target duration;
a second allocating unit 60412, configured to allocate, according to the data transmission throughput sizes of the WiFi and the mobile network within the target time duration, a first connection time duration after the target time duration for the WiFi and a second connection time duration after the target time duration for the mobile network.
Alternatively, as shown in fig. 9, the second dispensing unit 60412 includes:
an obtaining subunit 604121, configured to obtain a first throughput of the WiFi for data transmission in the target duration and a second throughput of the mobile network for data transmission in the target duration;
a comparison subunit 604122 configured to compare magnitudes of the first throughput and the second throughput;
a first adjusting subunit 604123, configured to, when the first throughput is greater than the second throughput, increase a first connection duration of the WiFi after the target duration from the target duration to a first duration, and decrease a second connection duration of the mobile network after the target duration from the target duration to a second duration, where the target duration is smaller than the first duration, the target duration is greater than the second duration, and a difference between the data transmission throughput of the WiFi and the data transmission throughput of the mobile network is smaller than a preset value when the first connection duration of the WiFi is the first duration and the second connection duration of the mobile network is the second duration; or
A second adjusting subunit 604124, configured to, when the first throughput is smaller than the second throughput, decrease a first connection duration of the WiFi after the target duration from the target duration to a third duration, and increase a second connection duration of the mobile network after the target duration from the target duration to a fourth duration, where the target duration 2 is greater than the third duration, the target duration is smaller than the fourth duration, and when the first connection duration of the WiFi is the third duration and the second connection duration of the mobile network is the fourth duration, a difference between the data transmission throughput of the WiFi and the data transmission throughput of the mobile network is smaller than the preset value; or alternatively
A determining sub-unit 604125, configured to keep the connection duration of the WIFI and the mobile network both equal to the target duration if the first throughput is equal to the second throughput.
Optionally, the first adjusting subunit 604123 is specifically configured to obtain, after performing duration increase on a first connection duration of the WiFi after the target duration for N times, the first duration;
reducing a second connection time length of the mobile network after the target time length for N times to obtain a second time length;
the WiFi network connection duration and the N are in positive correlation, the WiFi network connection duration and the N are decreased every time, and the N is an integer larger than 0.
Optionally, the second adjusting subunit 604123 is specifically configured to reduce, by the target duration, the duration of a first connection duration of the WiFi after the target duration for N times to obtain the third duration;
increasing a second connection time length of the mobile network after the target time length by the target time length for N times to obtain a fourth time length;
the WiFi connection time length decreased each time is in positive correlation with the size of N, the mobile network connection time length increased each time is in positive correlation with the size of N, and N is an integer larger than 0.
Optionally, when the first throughput is greater than the second throughput, the connection duration increased each time by the WiFi is a multiple of T1, and the connection duration decreased each time by the mobile network is a multiple of T2; or
When the first throughput is smaller than the second throughput, the connection duration of each reduction of the WiFi is multiple of T1, and the connection duration of each increase of the mobile network is multiple of T2;
wherein, T1 represents a frame duration of the network type of the WiFi, and T2 represents a frame duration of the network type of the mobile network.
The terminal device 600 can implement each process implemented by the terminal device in the foregoing method embodiments, and in order to avoid repetition, details are not described here again.
According to the terminal device 600 of the embodiment of the invention, the terminal device outputs the prompt information under the condition that the type of the intelligent device is the preset type, so that the user can select the network connection mode according to the prompt information without performing multiple operations on the network connection by the user, and the user operation can be reduced.
Fig. 11 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, processor 1110, and power supply 1111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 11 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
The processor 1110 is configured to, in a case that a connection request sent by an intelligent device is received, obtain a type of the intelligent device; and under the condition that the type of the intelligent equipment is a preset type, outputting prompt information, wherein the prompt information is used for prompting a user to select a network connection mode of the terminal equipment.
Therefore, the terminal device outputs the prompt information under the condition that the type of the intelligent device is the preset type, so that the user can select the network connection mode according to the prompt information without performing multiple operations for network connection, and the user operation can be reduced.
Optionally, the network connection mode at least includes a time-sharing bi-pass connection mode; the processor 1110, after outputting the prompt message when the type of the smart device is the preset type, is further configured to:
receiving the input of the time-sharing bi-pass connection mode from a user;
responding to the input, and connecting the network through a time-sharing bi-pass connection mode of the WiFi and the mobile network.
Optionally, the processor 1110 executes the network connection in the time-sharing dual-pass connection manner between the WiFi and the mobile network, including:
respectively determining a first connection duration of the WiFi and a second connection duration of the mobile network;
and alternately connecting the WiFi and the mobile network according to the first connection duration and the second connection duration.
Optionally, the processor 1110 performs the determining of the first connection duration of the WiFi and the second connection duration of the mobile network respectively, where the determining includes at least one of:
allocating the initial connection duration of the WiFi and the mobile network to be target duration;
and distributing a first connection time length of the WiFi after the target time length and a second connection time length of the mobile network after the target time length according to the data transmission throughput of the WiFi and the mobile network in the target time length.
Optionally, the allocating, by the processor 1110, a first connection duration after the target duration and a second connection duration after the target duration according to the data transmission throughput sizes of the WiFi and the mobile network within the target duration includes:
acquiring a first throughput of the WiFi for data transmission in the target time length and a second throughput of the mobile network for data transmission in the target time length;
comparing the magnitudes of the first throughput and the second throughput;
under the condition that the first throughput is larger than the second throughput, increasing a first connection time length of the WiFi after the target time length from the target time length to a first time length, and reducing a second connection time length of the mobile network after the target time length from the target time length to a second time length, wherein the target time length is smaller than the first time length, the target time length is larger than the second time length, and under the condition that the first connection time length of the WiFi is the first time length and the second connection time length of the mobile network is the second time length, the difference value between the data transmission throughput of the WiFi and the data transmission throughput of the mobile network is smaller than a preset value; or
When the first throughput is smaller than the second throughput, reducing a first connection time length of the WiFi after the target time length from the target time length to a third time length, and increasing a second connection time length of the mobile network after the target time length from the target time length to a fourth time length, wherein the target time length is larger than the third time length, the target time length is smaller than the fourth time length, and under the condition that the first connection time length of the WiFi is the third time length and the second connection time length of the mobile network is the fourth time length, a difference value between the data transmission throughput of the WiFi and the data transmission throughput of the mobile network is smaller than the preset value; or
And keeping the connection duration of the WiFi and the mobile network to be the target duration under the condition that the first throughput is equal to the second throughput.
Optionally, the processor 1110 performs the steps of increasing the first connection duration of the WiFi after the target duration from the target duration to the first duration, and decreasing the second connection duration of the mobile network after the target duration from the target duration to the second duration, including:
obtaining a first connection duration of the WiFi after the target duration is subjected to duration increase for N times by the target duration;
reducing a second connection time length of the mobile network after the target time length for N times to obtain a second time length;
the WiFi network connection duration and the N are in positive correlation, the WiFi network connection duration and the N are decreased every time, and the N is an integer larger than 0.
Optionally, the reducing, by the processor 1110, the first connection duration of the WiFi after the target duration from the target duration to a third duration, and increasing, by the processor, the second connection duration of the mobile network after the target duration from the target duration to a fourth duration includes:
reducing the duration of the first connection duration of the WiFi after the target duration for N times by the target duration to obtain a third duration;
increasing a second connection time length of the mobile network after the target time length for N times to obtain a fourth time length;
the WiFi connection time length decreased each time is in positive correlation with the size of N, the mobile network connection time length increased each time is in positive correlation with the size of N, and N is an integer larger than 0.
Optionally, when the first throughput is greater than the second throughput, the connection duration increased each time by the WiFi is a multiple of T1, and the connection duration decreased each time by the mobile network is a multiple of T2; or
When the first throughput is smaller than the second throughput, the connection duration of each reduction of the WiFi is multiple of T1, and the connection duration of each increase of the mobile network is multiple of T2;
wherein, T1 represents the frame duration of the network standard of the WiFi, and T2 represents the frame duration of the network standard of the mobile network.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1101 may be configured to receive and transmit signals during a message transmission or a call, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1110; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 1101 may also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 1102, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 1103 may convert audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output as sound. Also, the audio output unit 1103 can also provide audio output related to a specific function performed by the terminal device 1100 (e.g., a call signal reception sound, a message reception sound, and the like). The audio output unit 1103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1104 is used to receive audio or video signals. The input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device, such as a camera, in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1106. The image frames processed by the graphic processor 11041 may be stored in the memory 1109 (or other storage medium) or transmitted via the radio frequency unit 1101 or the network module 1102. The microphone 11042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1101 in case of the phone call mode.
The terminal device 1100 also includes at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 11061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 11061 and/or a backlight when the terminal device 1100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the attitude of the terminal device (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), and vibration identification related functions (such as pedometer and tapping); the sensors 1105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., and will not be described in detail herein.
The display unit 1106 is used to display information input by a user or information provided to the user. The Display unit 1106 may include a Display panel 11061, and the Display panel 11061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1107 is operable to receive input numeric or character information and generate key signal inputs relating to user settings and function control of the terminal device. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 11071 (e.g., operations by a user on or near the touch panel 11071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 11071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1110, receives a command from the processor 1110, and executes the command. In addition, the touch panel 11071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1107 may include other input devices 11072 in addition to the touch panel 11071. Specifically, the other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 11071 can be overlaid on the display panel 11061, and when the touch panel 11071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1110 to determine the type of the touch event, and then the processor 1110 provides a corresponding visual output on the display panel 11061 according to the type of the touch event. Although the touch panel 11071 and the display panel 11061 are shown in fig. 11 as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 1108 is an interface for connecting an external device to the terminal apparatus 1100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Interface unit 1108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within terminal apparatus 1100 or may be used to transmit data between terminal apparatus 1100 and external devices.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, application programs (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 1109 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 1109 and calling data stored in the memory 1109, thereby integrally monitoring the terminal device. Processor 1110 may include one or more processing units; preferably, the processor 1110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
Terminal device 1100 may further include a power supply 1111 (e.g., a battery) for providing power to various components, and preferably, power supply 1111 may be logically connected to processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the terminal device 1100 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 1110, a memory 1109, and a computer program that is stored in the memory 1109 and is executable on the processor 1110, where the computer program, when executed by the processor 1110, implements each process in the foregoing network connection method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing network connection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the particular illustrative embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and equivalents thereof, which may be made by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A network connection method is applied to terminal equipment and is characterized by comprising the following steps:
the method comprises the steps of acquiring the type of intelligent equipment under the condition of receiving a connection request sent by the intelligent equipment;
outputting prompt information under the condition that the type of the intelligent equipment is a preset type, wherein the prompt information is used for prompting a user to select a network connection mode of the terminal equipment;
the network connection mode at least comprises a time-sharing bi-pass connection mode;
after outputting the prompt message when the type of the intelligent device is the preset type, the method further includes:
receiving the input of the time-sharing bi-pass connection mode from a user;
responding to the input, and connecting the network in a time-sharing bi-pass connection mode of WiFi and a mobile network;
through wiFi and mobile network's timesharing bi-pass connected mode connected network, include:
respectively determining first connection duration of the WiFi and second connection duration of the mobile network;
the determining the first connection duration of the WiFi and the second connection duration of the mobile network respectively includes at least one of:
allocating the initial connection duration of the WiFi and the mobile network to be target duration;
according to the data transmission throughput of the WiFi and the mobile network in the target time length, allocating a first connection time length of the WiFi after the target time length and a second connection time length of the mobile network after the target time length;
the allocating, according to the WiFi and the data transmission throughput of the mobile network within a target duration, a first connection duration of the WiFi after the target duration and a second connection duration of the mobile network after the target duration includes:
acquiring a first throughput of the WiFi for data transmission in the target time length and a second throughput of the mobile network for data transmission in the target time length;
comparing the first throughput and the second throughput in magnitude;
under the condition that the first throughput is larger than the second throughput, increasing a first connection time length of the WiFi after the target time length from the target time length to a first time length, and reducing a second connection time length of the mobile network after the target time length from the target time length to a second time length, wherein the target time length is smaller than the first time length, the target time length is larger than the second time length, and under the condition that the first connection time length of the WiFi is the first time length and the second connection time length of the mobile network is the second time length, the difference value between the data transmission throughput of the WiFi and the data transmission throughput of the mobile network is smaller than a preset value; or
When the first throughput is smaller than the second throughput, reducing a first connection time length of the WiFi after the target time length from the target time length to a third time length, and increasing a second connection time length of the mobile network after the target time length from the target time length to a fourth time length, wherein the target time length is larger than the third time length, the target time length is smaller than the fourth time length, and under the condition that the first connection time length of the WiFi is the third time length and the second connection time length of the mobile network is the fourth time length, a difference value between the data transmission throughput of the WiFi and the data transmission throughput of the mobile network is smaller than the preset value; or alternatively
And keeping the connection duration of the WiFi and the mobile network to be the target duration under the condition that the first throughput is equal to the second throughput.
2. The method of claim 1, wherein connecting the network via the time-sharing dual-active connection between the WiFi and the mobile network comprises:
and alternately connecting the WiFi and the mobile network according to the first connection duration and the second connection duration.
3. The method of claim 1, wherein increasing a first connection duration of the WiFi after the target duration from the target duration to a first duration, and decreasing a second connection duration of the mobile network after the target duration from the target duration to a second duration comprises:
obtaining a first connection duration of the WiFi after the target duration is subjected to duration increase for N times by the target duration;
reducing a second connection time length of the mobile network after the target time length for N times to obtain a second time length;
the WiFi network connection duration and the N are in positive correlation, the WiFi network connection duration and the N are decreased every time, and the N is an integer larger than 0.
4. The method of claim 1, wherein decreasing the first connection duration of the WiFi after the target duration from the target duration to a third duration, and increasing the second connection duration of the mobile network after the target duration from the target duration to a fourth duration comprises:
obtaining a third time length after N times of time length reduction is carried out on the first connection time length of the WiFi after the target time length;
increasing a second connection time length of the mobile network after the target time length by the target time length for N times to obtain a fourth time length;
the WiFi connection time length decreased each time is in positive correlation with the size of N, the mobile network connection time length increased each time is in positive correlation with the size of N, and N is an integer larger than 0.
5. The method of claim 3 or 4, wherein in the case that the first throughput is greater than the second throughput, the WiFi connection duration per increase is a multiple of T1, and the mobile network connection duration per decrease is a multiple of T2; or
When the first throughput is smaller than the second throughput, the connection duration of each reduction of the WiFi is multiple of T1, and the connection duration of each increase of the mobile network is multiple of T2;
wherein, T1 represents the frame duration of the network standard of the WiFi, and T2 represents the frame duration of the network standard of the mobile network.
6. A terminal device, comprising:
the device comprises an acquisition module, a connection module and a processing module, wherein the acquisition module is used for acquiring the type of the intelligent equipment under the condition of receiving a connection request sent by the intelligent equipment;
the output module is used for outputting prompt information under the condition that the type of the intelligent equipment is a preset type, wherein the prompt information is used for prompting a user to select a network connection mode of the terminal equipment;
the network connection mode at least comprises a time-sharing bi-pass connection mode;
the terminal device further includes:
the receiving module is used for receiving the input of the time-sharing bi-pass connection mode from a user;
the connection module is used for responding to the input and connecting the network in a time-sharing bi-pass connection mode of WiFi and the mobile network;
the connection module includes:
the determining submodule is used for respectively determining the first connection time of the WiFi and the second connection time of the mobile network;
the determination sub-module includes: the first allocation unit is used for allocating the initial connection duration of the WiFi and the mobile network to be target duration;
a second allocating unit, configured to allocate, according to the data transmission throughput of the WiFi and the mobile network within the target duration, a first connection duration of the WiFi after the target duration and a second connection duration of the mobile network after the target duration;
the second allocation unit comprises at least one of:
an obtaining subunit, configured to obtain a first throughput of the WiFi performing data transmission in the target duration and a second throughput of the mobile network performing data transmission in the target duration;
a comparison subunit, configured to compare magnitudes of the first throughput and the second throughput;
a first adjusting subunit, configured to, when the first throughput is greater than the second throughput, increase a first connection duration of the WiFi after the target duration from the target duration to a first duration, and decrease a second connection duration of the mobile network after the target duration from the target duration to a second duration, where the target duration is smaller than the first duration, the target duration is greater than the second duration, and a difference between a data transmission throughput of the WiFi and a data transmission throughput of the mobile network is smaller than a preset value when the first connection duration of the WiFi is the first duration and the second connection duration of the mobile network is the second duration; or
A second adjusting subunit, configured to, when the first throughput is smaller than the second throughput, decrease a first connection duration of the WiFi after the target duration from the target duration to a third duration, and increase a second connection duration of the mobile network after the target duration from the target duration to a fourth duration, where the target duration is greater than the third duration, and the target duration is smaller than the fourth duration, and when the first connection duration of the WiFi is the third duration and the second connection duration of the mobile network is the fourth duration, a difference between a data transmission throughput of the WiFi and a data transmission throughput of the mobile network is smaller than the preset value; or
A determining subunit, configured to keep connection durations of the WiFi and the mobile network both as the target duration under the condition that the first throughput is equal to the second throughput.
7. The terminal device of claim 6, wherein the connection module comprises:
and the connection submodule is used for alternately connecting the WiFi and the mobile network according to the first connection duration and the second connection duration.
8. The terminal device according to claim 6, wherein the first adjusting subunit is specifically configured to add, from the target duration, N times of duration increases for a first connection duration after the target duration of the WiFi, to obtain the first duration;
reducing a second connection time length of the mobile network after the target time length for N times to obtain a second time length;
the WiFi network connection duration and the N are in positive correlation, the WiFi network connection duration and the N are decreased every time, and the N is an integer larger than 0.
9. The terminal device according to claim 6, wherein the second adjusting subunit is specifically configured to reduce, by the target duration, a duration of a first connection duration of the WiFi after the target duration for N times to obtain the third duration;
increasing a second connection time length of the mobile network after the target time length by the target time length for N times to obtain a fourth time length;
the WiFi connection time length decreased each time is in positive correlation with the size of N, the mobile network connection time length increased each time is in positive correlation with the size of N, and N is an integer larger than 0.
10. The terminal device according to claim 8 or 9, wherein in the case that the first throughput is greater than the second throughput, the WiFi has a connection duration increased each time which is a multiple of T1, and the mobile network has a connection duration decreased each time which is a multiple of T2; or
Under the condition that the first throughput is smaller than the second throughput, the connection time length of each reduction of the WiFi is a multiple of T1, and the connection time length of each increase of the mobile network is a multiple of T2;
wherein, T1 represents the frame duration of the network standard of the WiFi, and T2 represents the frame duration of the network standard of the mobile network.
11. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the network connection method according to any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps in the network connection method according to any one of claims 1 to 5.
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 CN109819458A (en) 2019-05-28
CN109819458B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN114501678B (en) * 2022-02-24 2023-11-21 喀斯玛汇智(无锡)科技有限公司 Communication processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN107801222A (en) * 2016-09-06 2018-03-13 中兴通讯股份有限公司 Bluetooth and WiFi switching method and system, client and wireless access point equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930439B (en) * 2009-06-23 2015-11-25 中国工商银行股份有限公司 The Website processing device of the various model mobile phone of a kind of adaptation and application thereof
CN107567019A (en) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 A kind of access control method, device, first and second access controller
CN106571989A (en) * 2016-11-09 2017-04-19 杭州联络互动信息科技股份有限公司 Method and device for controlling intelligent household device by intelligent mobile terminal
CN107222525B (en) * 2017-05-15 2021-07-23 努比亚技术有限公司 Data network connection state display method, terminal and computer readable storage medium
CN108595082B (en) * 2018-03-15 2020-05-26 维沃移动通信有限公司 Information prompting method and terminal equipment
CN108696909A (en) * 2018-06-27 2018-10-23 努比亚技术有限公司 Based reminding method, terminal and the computer readable storage medium of network connection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN107801222A (en) * 2016-09-06 2018-03-13 中兴通讯股份有限公司 Bluetooth and WiFi switching method and system, client and wireless access point equipment

Also Published As

Publication number Publication date
CN109819458A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN109768926B (en) Data processing method, terminal equipment and computer readable storage medium
CN109587789B (en) Random access method, mobile terminal and network equipment
CN110891305B (en) Power control device and method and electronic equipment
CN111277387B (en) Indication information transmission method and communication equipment
CN108712577B (en) Call mode switching method and terminal equipment
CN109151367B (en) Video call method and terminal equipment
CN108282759B (en) Service processing method and mobile communication terminal
CN110972234B (en) Network connection method and electronic equipment
CN109407920B (en) Status icon display method, status icon processing method and related equipment
CN109819458B (en) Network connection method, terminal device and computer readable storage medium
CN109710130B (en) Display method and terminal
CN109101151B (en) Information display processing method and terminal equipment
CN108601048B (en) Flow control method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN109782970B (en) Display method and terminal
CN109151741B (en) Multimedia message receiving method and terminal
CN108879856B (en) Charging method and terminal
CN108762709B (en) Terminal control method, terminal and computer readable storage medium
CN108419283B (en) WIFI hotspot scanning method and mobile terminal
CN111615198A (en) Resource determining method, resource indicating method, terminal and network side equipment
JP7274036B2 (en) Uplink transmission discard method, uplink transmission discard configuration method and related equipment
JP7332688B2 (en) Receiving method, transmitting method, terminal and network equipment
CN109286414B (en) Antenna determination method and terminal
CN109743469B (en) VOLTE-based communication method and mobile terminal
CN109450508B (en) Antenna determination method and device and mobile terminal

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