CN112469099B - Networking control method, networking control device, electronic equipment and storage medium - Google Patents

Networking control method, networking control device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112469099B
CN112469099B CN202011338840.0A CN202011338840A CN112469099B CN 112469099 B CN112469099 B CN 112469099B CN 202011338840 A CN202011338840 A CN 202011338840A CN 112469099 B CN112469099 B CN 112469099B
Authority
CN
China
Prior art keywords
network
historical
network quality
electronic equipment
cellular data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011338840.0A
Other languages
Chinese (zh)
Other versions
CN112469099A (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 CN202011338840.0A priority Critical patent/CN112469099B/en
Publication of CN112469099A publication Critical patent/CN112469099A/en
Application granted granted Critical
Publication of CN112469099B publication Critical patent/CN112469099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a networking control method, a networking control device, electronic equipment and a storage medium, wherein the networking control method comprises the following steps: after the electronic equipment is connected with the Wi-Fi network, acquiring historical network quality parameters; based on the historical network quality parameters, the electronic device is controlled to establish a connection with the cellular data network to enable the electronic device to surf the internet through the cellular data network or surf the internet through the cellular data network and the Wi-Fi network. According to the method and the device, on one hand, the information transmission efficiency and the information transmission reliability of the electronic equipment when the quality of the Wi-Fi network is poor are improved by means of the cellular data network, and on the other hand, the operations of frequently executing disconnection of the Wi-Fi network and connection of the Wi-Fi network by a user are omitted, so that intelligent choosing and automatic connection of the cellular data network and the Wi-Fi network are completed. And further, the networking control method is optimized, the stability and reliability of data transmission of the electronic equipment are improved, the operation difficulty of a user is reduced, and the technical effect of using experience of the user is improved.

Description

Networking control method, networking control device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of data transmission, and particularly relates to a networking control method, a networking control device, electronic equipment and a readable storage medium.
Background
In the related art, after entering a coverage area of a connectable Wi-Fi (Wireless Fidelity, mobile hotspot) network, a terminal automatically establishes a connection with the Wi-Fi network and completes data transmission through the Wi-Fi network, but the strength of Wi-Fi network signals is affected in many aspects, the use experience of a user is affected when the Wi-Fi network quality is poor, and data transmission can be completed only by manually disconnecting the user from the Wi-Fi network.
Therefore, how to improve the internet surfing speed in the Wi-Fi network coverage area is a technical problem to be solved at present.
Disclosure of Invention
An object of the embodiments of the present application is to provide a networking control method, a networking control device, an electronic device, and a readable storage medium, which can solve the problem of how to improve the internet surfing speed in the coverage area of a Wi-Fi network.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a networking control method, where the method includes:
after the electronic equipment is connected with the Wi-Fi network, acquiring historical network quality parameters;
And based on the historical network quality parameters, controlling the electronic equipment to establish connection with the cellular data network so as to enable the electronic equipment to surf the internet through the cellular data network or surf the internet through the cellular data network and the Wi-Fi network.
In a second aspect, an embodiment of the present application provides a networking control device, including:
the network quality judging module is used for acquiring historical network quality parameters after the electronic equipment is controlled to be connected with the Wi-Fi network;
and the network acceleration module is used for controlling the electronic equipment to establish connection with the cellular data network based on the historical network quality parameters so as to enable the electronic equipment to surf the internet through the cellular data network or surf the internet through the cellular data network and the Wi-Fi network.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions implementing the steps of the networking control method as provided in the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the networking control method as provided in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface and the processor being coupled, the processor being configured to execute programs or instructions to implement the steps of the networking control method as provided in the first aspect.
In the embodiment of the application, after the electronic equipment is connected with the Wi-Fi network, the historical network quality parameter is acquired, whether the electronic equipment is connected to the cellular data network or not is controlled based on the historical network quality parameter, and current internet surfing is accelerated through the cellular data network.
Specifically, the network quality of the Wi-Fi network can be determined according to the acquired historical network quality parameters, the network quality can reflect the transmission speed and the transmission reliability of the Wi-Fi network, if the network quality is good, the electronic equipment can rapidly, stably and reliably surf the internet without influencing user experience, otherwise, if the current network quality is poor, the current Wi-Fi network is low in speed or high in packet loss rate, high-efficiency and stable transmission of data is not facilitated, and normal use of a user can be influenced.
In this regard, by determining the network quality based on the historical network quality parameters and connecting to the cellular network when the network quality is poor, surfing the internet of the electronic device is accelerated through the cellular network, which can provide convenience for improving the surfing experience.
Specifically, when the network quality is poor based on the historical network quality parameters, the electronic equipment is controlled to establish connection with the cellular data network, so that the electronic equipment can perform data transmission through the cellular data network or perform data transmission through the cellular data network and the Wi-Fi network.
In particular, network access through the cellular data network and Wi-Fi network may be dynamically allocated based on current network speeds of the cellular data network and Wi-Fi network.
If the network speed of the cellular data network is good, the Wi-Fi network can be used for surfing the Internet through the cellular data network alone. If the cellular data network speed is good, the Wi-Fi network speed is normal, and the internet can be accessed through the cellular data network and the Wi-Fi network at the same time.
According to the embodiment of the application, on one hand, the information transmission efficiency and the information transmission reliability of the electronic equipment when the quality of the Wi-Fi network is poor are improved by means of the cellular data network, and on the other hand, the operations of frequently executing the disconnection of the Wi-Fi network and the connection of the Wi-Fi network by a user are omitted, so that the intelligent choosing and the automatic connection of the cellular data network and the Wi-Fi network are completed. And further, the networking control method is optimized, the stability and reliability of data transmission of the electronic equipment are improved, the operation difficulty of a user is reduced, and the technical effect of using experience of the user is improved.
Drawings
FIG. 1 illustrates one of the flowcharts of a networking control method according to an embodiment of the present application;
FIG. 2 illustrates a second flow chart of a networking control method in accordance with an embodiment of the present application;
FIG. 3 illustrates a third flowchart of a networking control method according to an embodiment of the present application;
FIG. 4 illustrates a fourth flow chart of a networking control method according to an embodiment of the present application;
FIG. 5 illustrates a fifth flow chart of a networking control method according to an embodiment of the present application;
FIG. 6 illustrates a sixth flow chart of a networking control method according to an embodiment of the present application;
FIG. 7 shows a block diagram of a networked control device according to an embodiment of the present application;
fig. 8 shows a schematic diagram of a hardware structure of an electronic device according to an embodiment of the application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The networking control method, the networking control device, the electronic equipment and the readable storage medium provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
In some embodiments of the present application, a networking control method is provided, and fig. 1 shows one of flowcharts of the networking control method according to an embodiment of the present application, specifically, the networking control method may include the following steps:
step 102, after the connection between the electronic equipment and the Wi-Fi network is established, acquiring historical network quality parameters;
step 104, based on the historical network quality parameters, controlling the electronic device to establish a connection with the cellular data network, so that the electronic device can surf the internet through the cellular data network or surf the internet through the cellular data network and the Wi-Fi network.
In the embodiment of the application, after the electronic equipment is connected with the Wi-Fi network, the historical network quality parameter is acquired, whether the electronic equipment is connected to the cellular data network or not is controlled based on the historical network quality parameter, and current internet surfing is accelerated through the cellular data network.
Specifically, the network quality of the Wi-Fi network can be determined according to the acquired historical network quality parameters, the network quality can reflect the transmission speed and the transmission reliability of the Wi-Fi network, if the network quality is good, the electronic equipment can rapidly, stably and reliably surf the internet without influencing the user experience, otherwise, if the network quality is poor, the Wi-Fi network is low in speed or high in packet loss rate, high-efficiency and stable transmission of data is not facilitated, and normal use of a user is influenced.
In this regard, by determining the network quality based on the historical network quality parameters and connecting to the cellular network when the network quality is poor, surfing the internet of the electronic device is accelerated through the cellular network, which can provide convenience for improving the surfing experience.
Specifically, when the network quality is poor based on the historical network quality parameters, the electronic equipment is controlled to establish connection with the cellular data network, so that the electronic equipment can perform data transmission through the cellular data network or perform data transmission through the cellular data network and the Wi-Fi network.
In particular, network access through the cellular data network and Wi-Fi network may be dynamically allocated based on current network speeds of the cellular data network and Wi-Fi network.
If the network speed of the cellular data network is good, the Wi-Fi network can be used for surfing the Internet through the cellular data network alone. If the cellular data network speed is good, the Wi-Fi network speed is normal, and the internet can be accessed through the cellular data network and the Wi-Fi network at the same time.
According to the embodiment of the application, on one hand, the information transmission efficiency and the information transmission reliability of the electronic equipment when the quality of the Wi-Fi network is poor are improved by means of the cellular data network, and on the other hand, the operations of frequently executing the operations of disconnecting the Wi-Fi network and connecting the Wi-Fi network by a user are omitted, so that the intelligent choosing and the automatic connection of the cellular data network and the Wi-Fi network are completed.
For example, as a user moves within the coverage area of a Wi-Fi network, the distance between the user's location and the Wi-Fi network signal emitting device affects the quality of the Wi-Fi network. When a user approaches to the Wi-Fi network signal generating device, the Wi-Fi network quality can be determined to be good according to the historical network quality parameters, the surfing speed is high, the normal information transmission requirement of the electronic equipment can be met only by the Wi-Fi network, and obvious clamping is not caused. When a user is far away from the Wi-Fi network signal transmitting device and is positioned at the edge of the signal coverage area, the Wi-Fi network quality can be determined to be poor according to the historical network quality parameters, the surfing speed is low, at the moment, the control method automatically controls the electronic equipment to establish connection with the cellular data network, and the information transmission of the electronic equipment is completed through the dynamic cooperation of the Wi-Fi network and the cellular data network, so that the Wi-Fi network with poor network quality is made up through the cellular data network, and the user can surf the internet normally is ensured.
And further, the networking control method is optimized, the stability and reliability of data transmission of the electronic equipment are improved, the operation difficulty of a user is reduced, and the technical effect of using experience of the user is improved.
Specifically, when the control electronic device dynamically cooperates to surf the internet through the cellular data network and the Wi-Fi network: the Wi-Fi network and the cellular data network can be controlled to transmit data according to preset network distribution weights, and the data transmission proportion of the Wi-Fi network and the cellular data network can be specifically distributed according to the weights; the Wi-Fi network can be preferentially used for transmitting data, and when partial data packets cannot be transmitted through the Wi-Fi network, the partial data packets are transmitted through the cellular data network, and the transmission method can reduce the cost generated when the cellular data network transmits the data as much as possible so as to reduce the use cost of users; the cellular data network can be used for transmitting data preferentially correspondingly, and the transmission method can reduce the influence of the unstable Wi-Fi network on the internet surfing speed by using the cellular data preferentially.
In some embodiments of the present application, fig. 2 shows a second flowchart of a networking control method according to an embodiment of the present application, specifically, based on historical network quality parameters, controlling an electronic device to establish a connection with a cellular data network may specifically include the following steps:
Step 202, determining the network quality of the Wi-Fi network according to the historical network quality parameters under the condition that the historical network quality parameters meet preset conditions;
in step 204, in case the network quality of the Wi-Fi network is the first network quality, the electronic device is controlled to establish a connection with the cellular data network.
In the embodiments of the present application, specific limitations are made on how to control the step of network connection of an electronic device based on historical network quality parameters. Specifically, after the historical network quality parameter is obtained, whether the historical network quality parameter meets a preset condition is judged first so as to judge whether the obtained historical network quality parameter meets the condition for judging the Wi-Fi network quality. Therefore, the network quality of the Wi-Fi network is prevented from being judged by mistake by the historical network quality parameters which do not meet the preset conditions, and the electronic equipment is ensured to accurately and reliably select at least one of the cellular data network and the Wi-Fi network to perform high-speed internet surfing.
And after judging that the historical network quality parameter meets the preset condition, determining the network quality of the Wi-Fi network according to the historical network quality parameter, and if the determined network quality is the first network quality, controlling the electronic equipment to establish connection with the cellular data network. The network quality is the first network quality, and reflects that the Wi-Fi network is poor in quality, and the problem that network connection is unstable and the internet surfing speed is poor when the electronic equipment surfing through the Wi-Fi network is only performed. In this way, when the network quality is determined to be the first network quality, the electronic equipment is controlled to establish connection with the cellular data network, so that the electronic equipment can actively connect with the cellular data under the condition that the Wi-Fi network environment is poor, and data transmission is completed through the cooperation of the cellular data and the Wi-Fi network, and the poor Wi-Fi network is prevented from affecting the Internet surfing experience of a user. And further, the networking control method is optimized, the intelligent degree of the electronic equipment is improved, and the technical effect of user Internet surfing experience is improved.
In some embodiments of the present application, specifically, determining a network quality of a Wi-Fi network from historical network quality parameters includes: under the condition that the historical network quality parameter is smaller than a preset quality parameter threshold value, determining that the current network quality is the first network quality; and determining the network quality as the second network quality under the condition that the historical network quality parameter is greater than or equal to the quality parameter threshold.
In the embodiment of the application, how to determine the corresponding network quality according to the queried historical network quality parameters is described. Specifically, after the historical network quality parameter is determined, the historical network quality parameter is compared with a preset quality parameter threshold, and the quality parameter threshold is used for determining whether the defined network quality can meet the normal information transmission requirement of the electronic equipment.
When the historical network quality parameter is smaller than a preset quality parameter threshold, determining that the network quality is the first network quality, and the Wi-Fi network quality is poor under the first network quality, correspondingly controlling the electronic equipment to be connected with the cellular data network and completing data transmission through the cellular data network and the Wi-Fi network. Therefore, stable transmission of network data is ensured, network delay and network disconnection caused by poor Wi-Fi network quality are avoided, users can be ensured to surf the Internet stably at high speed, and user surfing experience is optimized.
Correspondingly, when the historical network quality parameter is larger than a preset quality parameter threshold, determining that the network quality is second network quality, wherein Wi-Fi network quality under the second network quality is good, conventional information transmission tasks of the electronic equipment can be met, and the state that the electronic equipment transmits information through the Wi-Fi network can be maintained. Therefore, the internet surfing cost of the user under the cellular data network is reduced on the basis of ensuring the stable and reliable transmission of the information, and the internet surfing cost of the user is reduced.
In some embodiments of the present application, fig. 3 shows a third flowchart of a networking control method according to an embodiment of the present application, specifically, when acquiring a historical network quality parameter, the method may specifically include the following steps:
step 302, obtaining signal frequency and signal strength of a Wi-Fi network;
step 304, searching a corresponding preset intensity interval according to the signal frequency and the signal intensity, and obtaining a network quality parameter record corresponding to the preset intensity interval.
In the embodiment of the application, how to obtain the historical network quality parameters is expanded, specifically, the signal frequency and the signal strength of the Wi-Fi network are obtained, so that a preset strength interval corresponding to the signal frequency and the signal strength is queried according to the signal frequency and the signal strength, and finally, the current network quality of the Wi-Fi network is determined by comparing the preset strength interval with the historical network quality data.
By dividing a plurality of intensity intervals in advance according to the network signal intensity and the network quality parameters to be used as labels for inquiring historical data, the inquiring process of the historical network quality parameters can be optimized to a certain extent, the data processing amount of the inquiring process is reduced, the inquiring efficiency is improved, and the system burden is reduced. The current network quality of the Wi-Fi network is determined by inquiring the historical network quality parameter corresponding to the intensity interval according to the determined intensity interval, so that the current network quality of the Wi-Fi network can be accurately and reliably judged at any moment after the electronic equipment establishes connection with the Wi-Fi network, and the judgment error is prevented from influencing subsequent networking control.
The historical network quality parameters can be from historical data stored by the electronic equipment, or from historical network data uploaded by other electronic equipment provided by the server, and the accuracy and reliability of current network quality judgment can be improved by acquiring the historical network quality parameters by the server.
In some embodiments of the present application, fig. 4 shows a fourth flowchart of a networking control method according to an embodiment of the present application, specifically, the networking control method may further include the following steps:
Step 402, acquiring the number of historical data packets and the historical networking duration of the historical network quality parameters;
step 404, determining that the historical network quality parameter meets the preset condition when at least one of the number of the historical data packets is larger than a preset second number threshold and the historical networking time is longer than a preset duration threshold is met.
In the embodiment of the application, the development is described how to determine whether to determine the current network quality according to the historical network quality parameters after acquiring the corresponding historical network quality parameters according to the preset intensity interval.
Specifically, the obtained historical network quality parameters comprise the number of historical data packets and the historical networking time length, the number of the historical data packets is compared with a preset second number threshold, and the historical networking time length is compared with a preset time length threshold.
The number of the historical data packets may reflect the data transmission amount corresponding to the historical network connection, and the historical networking duration may reflect the connection duration corresponding to the historical network connection. The preset second number threshold and duration threshold are used for defining whether the historical network quality parameter can accurately and reliably determine the current network quality. When the number of the historical data packets is larger than a preset second number threshold, the information transmission quantity corresponding to the historical network quality parameter is represented to meet the judging requirement, and the current network quality can be accurately determined through the historical network quality parameter. Similarly, when the historical networking time length is larger than a preset time length threshold, the network connection time length corresponding to the historical network quality parameter is represented to meet the judgment requirement, and the current network quality can be accurately determined through the historical network quality parameter.
In this way, by comparing the number of the historical data packets with the historical networking time length, the influence of unreliable historical data corresponding to the network connection event with too small information transmission quantity and too short network connection time length on the accuracy of the current network quality judgment can be avoided. And further, the reliability and the accuracy of deducing the current network quality according to the historical data are improved, the information transmission stability of the electronic equipment is improved, and the technical effect of user Internet surfing experience is optimized.
In some embodiments of the present application, fig. 5 shows a fifth flowchart of a networking control method according to an embodiment of the present application, specifically, obtaining a historical network quality parameter, and may further include the following steps:
step 502, acquiring the number of data packets transmitted through a Wi-Fi network;
step 504, obtaining a historical network quality parameter when the number of data packets is less than or equal to a preset first number threshold;
step 506, acquiring network quality parameters of the Wi-Fi network when the number of data packets is greater than a first number threshold;
in step 508, in the case that the network quality parameter is less than the quality parameter threshold, the current network quality is determined to be the first network quality.
In the embodiment of the application, the number of the data packets transmitted through the Wi-Fi network is counted, the data packets are data units in communication transmission, the number of the data packets can reflect the amount of transmission data, and the data amount of the electronic equipment which completes transmission through the Wi-Fi network can be determined by counting the number of the data packets transmitted under the Wi-Fi network.
Specifically, comparing the acquired number of data packets with a first number threshold, and acquiring a historical network quality parameter if the number of data packets is smaller than the first number threshold, so as to control network connection of the electronic equipment through the historical network quality parameter.
The accuracy of acquiring the network quality of the Wi-Fi network in real time depends on the number of data packets transmitted through the Wi-Fi network, and the network quality can be accurately acquired in real time only by transmitting enough data packets through the Wi-Fi network, wherein the number of the data packets is influenced by the network request number of the electronic equipment, and the number requirement of accurate judgment can not be met immediately after connection is established. In contrast, the present application determines the current network quality of the Wi-Fi network more accurately by means of historical network data under the condition that the known transmission network data packet is smaller. Therefore, the problem of inaccurate network quality acquisition in real time when fewer data packets are transmitted is solved, and the current network quality of the Wi-Fi network can be accurately and reliably judged at any time after the electronic equipment establishes connection with the Wi-Fi network, so that the influence of judgment errors on subsequent networking control is avoided.
For example, when the electronic device of the user just establishes a connection with the Wi-Fi network, the electronic device has not sent an access request, and the transmitted data packet is very few and insufficient as a basis for judging the network quality in real time, at this time, the electronic device acquires the signal frequency and the signal strength of the Wi-Fi network and queries reliable historical data in the historical network data according to the signal frequency and the signal strength to determine the current network quality. And further, the networking control method is optimized, the accuracy and the reliability of the whole control process are improved, the Internet surfing quality of a user is improved, and the technical effect of user use experience is optimized.
If the number of the data packets is greater than the first number threshold, the current network quality of the Wi-Fi network can be accurately and directly determined, and then the current network quality parameters of the Wi-Fi network are obtained. The number of the data packets is larger than the first number threshold, which indicates that the electronic device has transmitted a sufficient amount of data through the Wi-Fi network, the current Wi-Fi network state is more stable than the initial time of connection establishment of the electronic device, and the corresponding current network quality parameter can be used as a basis for accurately judging the current network quality parameter.
The current network quality parameters of the Wi-Fi network are timely acquired when the number of the data packets is larger than the first number threshold value, and the current network quality of the Wi-Fi network is judged through the quality network parameters, so that the electronic equipment can timely switch the network quality judging mode into real-time judgment after network connection is stable, the current network quality phase parameters of the Wi-Fi network in a stable state are more accurate and reliable than historical data, the accuracy and reliability of Wi-Fi network quality judgment can be ensured through the current network quality parameters timely when the conditions are met, the stability and reliability of electronic equipment information transmission are further improved, and the user Internet surfing experience is improved.
And comparing the current network quality parameter with a preset quality parameter threshold, and if the current network quality parameter is larger than the quality parameter threshold, indicating that the current Wi-Fi network is stable in connection, wherein the Wi-Fi network can meet the conventional information transmission requirement of the electronic equipment. If the current network quality parameter is smaller than the quality parameter threshold, the current Wi-Fi network quality is poor, the Wi-Fi network quality belongs to the first network quality, the network surfing requirement of a user cannot be met under the first network quality only by means of the Wi-Fi network, and the Wi-Fi network is assisted to jointly complete information transmission of the electronic equipment through connection of the cellular data network, so that the influence of the Wi-Fi network environment with poor network quality on normal network surfing of the user is avoided, an optimized networking control method is realized, the stability and reliability of information transmission are improved, and the technical effect of user experience is improved.
In some embodiments of the present application, specifically, the networking control method may further record a network quality parameter, and associate the network quality parameter to a preset intensity interval corresponding to the signal frequency and the signal intensity.
In the embodiment of the application, after the electronic device establishes connection with the Wi-Fi network, the networking control method can record the network quality parameter in real time, and correlate the network quality parameter with a preset intensity interval corresponding to the signal frequency and the signal intensity after the network quality parameter is acquired, so as to form a historical network quality parameter which can be called by the networking control method. The accuracy and the reliability of determining the current network quality through the network quality parameters can be improved by expanding the historical network quality parameters in real time, and the fact that the historical network quality parameters influence the judgment of the current network quality under special conditions is avoided. And further, the stability and the reliability of data transmission are improved, and the technical effect of user Internet surfing experience is improved.
In the subsequent working process, when the number of data packets transmitted by the electronic equipment under the Wi-Fi network is smaller than a first number threshold, the historical network quality parameter can be correspondingly inquired and called according to the signal frequency and the signal strength of the current Wi-Fi network so as to accurately judge the current network quality of the Wi-Fi network.
After the network quality parameters are associated with the signal comments and the preset intensity intervals corresponding to the signal intensity, the network quality parameters can be stored in the electronic equipment to be directly called, can be uploaded to a server through a network, and can be downloaded and used by the server when needed.
In some embodiments of the present application, specifically, the network quality parameters include at least one of: the number of TCP packets, the number of TCP retransmission times, the number of TCP packets received, the RTT time delay, and network card traffic information; and calculating the TCP retransmission rate according to the TCP packet sending number and the TCP retransmission times, and determining the network cartoon information according to the TCP retransmission rate and the RTT time delay.
In the embodiment of the application, the types of parameters included in the network quality parameters are defined. Specifically, the network quality parameters include at least one of the following species parameters:
the number of TCP (Transmission control protocol) packets is the number of data packets sent by the electronic equipment through a network protocol under the Wi-Fi network, and the number of the TCP packets can reflect the Transmission speed of the Wi-Fi network corresponding to the sent data volume;
The number of TCP retransmission times, which is the number of events of the electronic device transmitting the data packet from the newly executed data packet after the data packet transmission under the Wi-Fi network fails, can reflect the connection stability of the Wi-Fi network;
the number of TCP packets is the number of data packets received by the electronic equipment through a network protocol under the Wi-Fi network, and corresponds to the receiving amount of the data, and the number of the TCP packets can reflect the transmission speed of the Wi-Fi network;
RTT (round Trip Time) delay, which is the Time when the data is completely sent (the last bit is pushed onto the data link) to receive the acknowledgement signal, can reflect the speed and stability of the Wi-Fi network;
the network blocking information can be calculated by the number of TCP packets and the number of TCP retransmission times, and can be determined according to the TCP retransmission rate and the RTT time delay, and the network blocking times can reflect the connection stability and reliability of the Wi-Fi network.
In some embodiments of the present application, fig. 6 shows a sixth flowchart of a networking control method according to an embodiment of the present application, specifically, the networking control method includes the following steps:
step 602, connecting a Wi-Fi network;
Step 604, recording network quality parameters;
step 606, obtaining the number of transmitted data packets;
step 608, determining whether the number of data packets > the first number threshold is met;
if yes, go to step 610, if not, go to step 618;
step 610, determining whether it is a first network quality;
if yes, go to step 612, and if not, go to step 616;
step 612, adding 1 to the number of blocking times;
step 614, start acceleration;
step 616, add 1 to the number of no-stuck times;
step 618, obtaining historical network quality parameters;
step 620, judging whether the historical data packet number > the second number threshold value || the historical networking duration > the duration threshold value is met;
if yes, go to step 622, and if not, go to step 624;
step 622, determining whether a historical network quality parameter > quality parameter threshold is met;
if yes, go to step 614, and if not, go to step 624;
step 624, delay 1 second.
In the embodiment of the application, the historical network condition of Wi-Fi is learned to judge whether acceleration is needed, in general, the network quality of Wi-Fi has very strong correlation with the signal intensity of Wi-Fi, the stronger the Wi-Fi signal is, the better the network quality is, the weaker the Wi-Fi signal is, and the worse the network quality is, the problem that the current network quality cannot be judged due to less network data is solved by collecting and learning the network quality parameters of specific Wi-Fi under different signal intensities, and the Internet surfing experience of a user is improved.
Specifically, wi-Fi signal strength is divided into a plurality of intervals, such as one interval (not limited to 3 dbm) every 3dbm, and each interval stores historical quality information of the corresponding interval, such as TCP packet sending number, TCP retransmission number, TCP packet receiving number and RTT size;
because the anti-interference and signal attenuation of 2.4G and 5G are different, the frequency range of 2.4G/5G needs to be distinguished, and the 2.4G and 5G are stored separately, such as WiFi1-2.4G and WiFi1-5G, and network quality parameters of each signal interval are stored respectively;
after Wi-Fi is connected, current Wi-Fi signals and network quality parameters under the signal intensity are collected in real time, real-time jamming information such as jamming times and non-jamming times is calculated according to TCP retransmission rate and RTT, and the network quality parameters, the jamming times and the non-jamming times are all stored in a local database;
when the recorded historical data reaches a certain quantity, if the collection time length or the TCP packet number meets a certain condition (after the data of the historical record reaches a certain quantity, the historical data is considered to be credible and acceptable), the network quality of the mobile phone Wi-Fi under the current signal strength is judged through the historical record;
after Wi-Fi is connected, starting to calculate the historical jamming rate under the current signal strength, wherein the historical jamming rate=the historical jamming times under the current signal strength/(the historical jamming times under the current signal strength+the historical non-jamming times under the current signal strength);
If the network data packet transmitted by the current mobile phone is less than the set threshold value (the real-time network quality cannot be calculated or calculation is inaccurate currently), if the historical katon rate is greater than the set threshold value, the mobile phone network quality is considered to be poor under the current signal strength, and the cellular data needs to be started for acceleration.
Fig. 7 shows a block diagram of a network control device according to an embodiment of the present application, specifically, a network control device 700 includes:
the network quality judging module 702 is configured to obtain a historical network quality parameter to determine a current network quality of the Wi-Fi network after the electronic device is controlled to establish a connection with the Wi-Fi network;
the network acceleration module 704 is configured to control the electronic device to establish a connection with the cellular data network based on the historical network quality parameter, so that the electronic device can surf the internet through the cellular data network or surf the internet through the cellular data network and the Wi-Fi network.
In the embodiment of the application, after the electronic equipment is connected with the Wi-Fi network, the network quality judging module acquires the historical network quality parameters, controls whether the electronic equipment is connected to the cellular data network or not based on the historical network quality parameters, and accelerates the current internet surfing through the cellular data network.
Specifically, the network quality judging module can determine the network quality of the Wi-Fi network according to the acquired historical network quality parameters, the network quality can reflect the transmission speed and the transmission reliability of the Wi-Fi network, if the network quality is good, the electronic equipment can rapidly, stably and reliably complete data transmission without influencing user experience, otherwise, if the network quality is poor, the Wi-Fi network is low in speed or high in packet loss rate, high-efficiency and stable transmission of data is not facilitated, and normal use of a user can be influenced.
In this regard, the network quality is judged by controlling the network quality judging module to obtain the historical network quality parameters, and the network acceleration module is controlled to be connected to the cellular network when the network quality is poor, so that the internet surfing of the electronic equipment is accelerated through the cellular network, and convenience conditions can be provided for improving internet surfing experience.
Specifically, when the network quality judging module judges that the network quality is poor based on the historical network quality parameters, the network acceleration module controls the electronic equipment to establish connection with the cellular data network, so that the electronic equipment can perform data transmission through the cellular data network or perform data transmission through the cellular data network and the Wi-Fi network.
In particular, network access through the cellular data network and Wi-Fi network may be dynamically allocated based on current network speeds of the cellular data network and Wi-Fi network.
If the network speed of the cellular data network is good, the Wi-Fi network can be used for surfing the Internet through the cellular data network alone. If the cellular data network speed is good, the Wi-Fi network speed is normal, and the internet can be accessed through the cellular data network and the Wi-Fi network at the same time.
According to the embodiment of the application, on one hand, the information transmission efficiency and the information transmission reliability of the electronic equipment when the quality of the Wi-Fi network is poor are improved by means of the cellular data network, and on the other hand, the operations of frequently executing the operations of disconnecting the Wi-Fi network and connecting the Wi-Fi network by a user are omitted, so that the intelligent choosing and the automatic connection of the cellular data network and the Wi-Fi network are completed.
For example, as a user moves within the coverage area of a Wi-Fi network, the distance between the user's location and the Wi-Fi network signal emitting device affects the quality of the Wi-Fi network. When a user approaches to the Wi-Fi network signal generating device, the Wi-Fi network quality can be determined to be good according to the historical network quality parameters, and the normal information transmission requirement of the electronic equipment can be met only by the Wi-Fi network without causing obvious clamping. When the user is far away from the Wi-Fi network signal transmitting device and is positioned at the edge of the signal coverage area, the Wi-Fi network quality can be determined to be poor according to the historical network quality parameters, the internet surfing speed is low, at the moment, the networking control device automatically controls the electronic equipment to establish connection with the cellular data network, and the information transmission of the electronic equipment is completed through the dynamic cooperation of the Wi-Fi network and the cellular data network, so that the Wi-Fi network with poor network quality is made up through the cellular data network, and the user can surf the internet normally is ensured.
And further, the networking control device is optimized, the stability and the reliability of data transmission of the electronic equipment are improved, the operation difficulty of a user is reduced, and the technical effect of using experience of the user is improved.
Specifically, when the network acceleration module controls the electronic device to surf the internet through the cellular data network and the Wi-Fi network: the network acceleration module can control the Wi-Fi network and the cellular data network to transmit data according to preset network distribution weights, and can particularly distribute the data transmission proportion of the two networks according to the weights; the network acceleration module can also transmit data by using the Wi-Fi network preferentially, and when partial data packets cannot be transmitted by the Wi-Fi network, the partial data packets are transmitted by the cellular data network, so that the cost generated when the cellular data network transmits the data can be reduced as much as possible, and the use cost of a user is reduced; the corresponding network acceleration module may also transmit data using the cellular data network preferentially, which may reduce the impact of the unstable Wi-Fi network on the internet speed by using the cellular data preferentially.
In some embodiments of the present application, in particular, the network acceleration module is configured to: under the condition that the historical network quality parameters meet preset conditions, determining the network quality of the Wi-Fi network according to the historical network quality parameters; and in the case that the network quality of the Wi-Fi network is the first network quality, controlling the electronic device to establish a connection with the cellular data network.
In the embodiment of the application, the network acceleration module firstly judges whether the historical network quality parameter meets a preset condition after acquiring the historical network quality parameter so as to judge whether the acquired historical network quality parameter meets the condition for judging the Wi-Fi network quality. Therefore, the network quality of the Wi-Fi network is prevented from being judged by mistake by the historical network quality parameters which do not meet the preset conditions, and the electronic equipment is ensured to accurately and reliably select at least one of the cellular data network and the Wi-Fi network to perform high-speed internet surfing.
And after judging that the historical network quality parameter meets the preset condition, determining the network quality of the Wi-Fi network according to the historical network quality parameter, and if the determined network quality is the first network quality, controlling the electronic equipment to establish connection with the cellular data network. The network quality is the first network quality, and reflects that the Wi-Fi network is poor in quality, and the problem that network connection is unstable and the internet surfing speed is poor when the electronic equipment surfing through the Wi-Fi network is only performed. In this way, when the network quality is determined to be the first network quality, the electronic equipment is controlled to establish connection with the cellular data network, so that the electronic equipment can actively connect with the cellular data under the condition that the Wi-Fi network environment is poor, and data transmission is completed through the cooperation of the cellular data and the Wi-Fi network, and the poor Wi-Fi network is prevented from affecting the Internet surfing experience of a user. And further, the intelligent degree of the electronic equipment is improved, and the technical effect of user Internet surfing experience is improved.
In some embodiments of the present application, in particular, the network deceleration module is to: under the condition that the historical network quality parameter is larger than a preset quality parameter threshold value, determining the network quality as first network quality; and determining the network quality as the second network quality in the case that the historical network quality parameter is smaller than the quality parameter threshold.
In the embodiment of the application, the network deceleration module compares the historical network quality parameter with a preset quality parameter threshold after determining the historical network quality parameter, and the quality parameter threshold is used for determining whether the defined network quality can meet the normal information transmission requirement of the electronic equipment.
When the historical network quality parameter is smaller than a preset quality parameter threshold, determining that the network quality is the first network quality, and the Wi-Fi network quality is poor under the first network quality, correspondingly controlling the electronic equipment to be connected with the cellular data network and completing data transmission through the cellular data network and the Wi-Fi network. Therefore, stable transmission of network data is ensured, network delay and network disconnection caused by poor Wi-Fi network quality are avoided, users can be ensured to surf the Internet stably at high speed, and user surfing experience is optimized.
Correspondingly, when the historical network quality parameter is larger than a preset quality parameter threshold, determining that the network quality is second network quality, wherein Wi-Fi network quality under the second network quality is good, conventional information transmission tasks of the electronic equipment can be met, and the state that the electronic equipment transmits information through the Wi-Fi network can be maintained. Therefore, the internet surfing cost of the user under the cellular data network is reduced on the basis of ensuring the stable and reliable transmission of the information, and the internet surfing cost of the user is reduced.
In some embodiments of the present application, specifically, the network quality determination module is configured to: acquiring signal frequency and signal strength of a Wi-Fi network; and searching a corresponding preset intensity interval according to the signal frequency and the signal intensity, and acquiring a network quality parameter record corresponding to the preset intensity interval.
In the embodiment of the application, the network quality judging module acquires the signal frequency and the signal strength of the Wi-Fi network, so as to inquire a preset strength interval corresponding to the signal frequency and the signal strength, and finally, the current network quality of the Wi-Fi network is determined by comparing the preset strength interval with the historical network quality data.
By dividing a plurality of intensity intervals in advance according to the network signal intensity and the network quality parameters to be used as labels for inquiring historical data, the inquiring process of the historical network quality parameters can be optimized to a certain extent, the data processing amount of the inquiring process is reduced, the inquiring efficiency is improved, and the system burden is reduced. The current network quality of the Wi-Fi network is determined by inquiring the historical network quality parameter corresponding to the intensity interval according to the determined intensity interval, so that the current network quality of the Wi-Fi network can be accurately and reliably judged at any moment after the electronic equipment establishes connection with the Wi-Fi network, and the judgment error is prevented from influencing subsequent networking control.
The historical network quality parameters can be from historical data stored by the electronic equipment, or from historical network data uploaded by other electronic equipment provided by the server, and the accuracy and reliability of current network quality judgment can be improved by acquiring the historical network quality parameters by the server.
In some embodiments of the present application, specifically, the network quality determination module is configured to: acquiring the number of historical data packets of the historical network quality parameters and the historical networking time length; determining that the historical network quality parameter meets a preset condition when at least one of the following conditions is met: the number of the historical data packets is larger than a preset second number threshold, and the historical networking time length is larger than a preset duration threshold.
In the embodiment of the application, the historical network quality parameters acquired by the network quality judging module include the number of the historical data packets and the historical networking time length, the number of the historical data packets is compared with a preset second number threshold, and the historical networking time length is compared with a preset time length threshold.
The number of the historical data packets may reflect the data transmission amount corresponding to the historical network connection, and the historical networking duration may reflect the connection duration corresponding to the historical network connection. The preset second number threshold and duration threshold are used for defining whether the historical network quality parameter can accurately and reliably determine the current network quality. When the number of the historical data packets is larger than a preset second number threshold, the information transmission quantity corresponding to the historical network quality parameter is represented to meet the judging requirement, and the current network quality can be accurately determined through the historical network quality parameter. Similarly, when the historical networking time length is larger than a preset time length threshold, the network connection time length corresponding to the historical network quality parameter is represented to meet the judgment requirement, and the current network quality can be accurately determined through the historical network quality parameter.
In this way, by comparing the number of the historical data packets with the historical networking time length, the influence of unreliable historical data corresponding to the network connection event with too small information transmission quantity and too short network connection time length on the accuracy of the current network quality judgment can be avoided. And further, the reliability and the accuracy of deducing the current network quality according to the historical data are improved, the information transmission stability of the electronic equipment is improved, and the technical effect of user Internet surfing experience is optimized.
In some embodiments of the present application, specifically, the network quality determination module is configured to: acquiring the number of data packets transmitted through a Wi-Fi network; acquiring historical network quality parameters under the condition that the number of data packets is smaller than or equal to a preset first number threshold value; acquiring network quality parameters of the Wi-Fi network under the condition that the number of the data packets is larger than a first number threshold; and under the condition that the network quality parameter is smaller than the quality parameter threshold value, determining the current network quality as the first network quality.
In the embodiment of the application, the network quality judging module firstly counts the number of data packets transmitted through the Wi-Fi network, the data packets are data units in communication transmission, the number of the data packets can reflect the amount of transmission data, and the data amount of the electronic equipment which completes transmission through the Wi-Fi network can be determined by counting the number of the data packets transmitted under the Wi-Fi network.
Specifically, comparing the acquired number of data packets with a first number threshold, and acquiring a historical network quality parameter if the number of data packets is smaller than the first number threshold, so as to control network connection of the electronic equipment through the historical network quality parameter.
The accuracy of acquiring the network quality of the Wi-Fi network in real time depends on the number of data packets transmitted through the Wi-Fi network, and the network quality can be accurately acquired in real time only by transmitting enough data packets through the Wi-Fi network, wherein the number of the data packets is influenced by the network request number of the electronic equipment, and the number requirement of accurate judgment can not be met immediately after connection is established. In contrast, the present application determines the current network quality of the Wi-Fi network more accurately by means of historical network data under the condition that the known transmission network data packet is smaller. Therefore, the problem of inaccurate network quality acquisition in real time when fewer data packets are transmitted is solved, and the current network quality of the Wi-Fi network can be accurately and reliably judged at any time after the electronic equipment establishes connection with the Wi-Fi network, so that the influence of judgment errors on subsequent networking control is avoided.
For example, when the electronic device of the user just establishes a connection with the Wi-Fi network, the electronic device has not sent an access request, and the transmitted data packet is very few and insufficient as a basis for judging the network quality in real time, at this time, the electronic device acquires the signal frequency and the signal strength of the Wi-Fi network and queries reliable historical data in the historical network data according to the signal frequency and the signal strength to determine the current network quality. And further, the accuracy and the reliability of the whole control process are improved, the internet surfing quality of the user is improved, and the technical effect of user use experience is optimized.
If the number of the data packets is greater than the first number threshold, the current network quality of the Wi-Fi network can be accurately and directly determined, and then the current network quality parameters of the Wi-Fi network are obtained. The number of the data packets is larger than the first number threshold, which indicates that the electronic device has transmitted a sufficient amount of data through the Wi-Fi network, the current Wi-Fi network state is more stable than the initial time of connection establishment of the electronic device, and the corresponding current network quality parameter can be used as a basis for accurately judging the current network quality parameter.
The current network quality parameters of the Wi-Fi network are timely acquired when the number of the data packets is larger than the first number threshold value, and the current network quality of the Wi-Fi network is judged through the quality network parameters, so that the electronic equipment can timely switch the network quality judging mode into real-time judgment after network connection is stable, the current network quality phase parameters of the Wi-Fi network in a stable state are more accurate and reliable than historical data, the accuracy and reliability of Wi-Fi network quality judgment can be ensured through the current network quality parameters timely when the conditions are met, the stability and reliability of electronic equipment information transmission are further improved, and the user Internet surfing experience is improved.
And comparing the current network quality parameter with a preset quality parameter threshold, and if the current network quality parameter is larger than the quality parameter threshold, indicating that the current Wi-Fi network is stable in connection, wherein the Wi-Fi network can meet the conventional information transmission requirement of the electronic equipment. If the current network quality parameter is smaller than the quality parameter threshold, the current Wi-Fi network quality is poor, the Wi-Fi network quality belongs to the first network quality, the internet surfing requirement of a user cannot be met only by means of the Wi-Fi network under the first network quality, and the Wi-Fi network is assisted to jointly complete information transmission of the electronic equipment through connection of the cellular data network, so that the influence of the Wi-Fi network environment with poor network quality on normal internet surfing of the user is avoided, the information transmission stability and reliability are improved, and the technical effect of user experience is improved.
In some embodiments of the present application, as shown in fig. 7, specifically, the networked control device further includes: the recording module 706 is configured to record the network quality parameter, and associate the network quality parameter to a preset intensity interval corresponding to the signal frequency and the signal intensity.
In the embodiment of the application, after the electronic device establishes connection with the Wi-Fi network, the recording module may record the network quality parameter in real time, and correlate the network quality parameter with a preset intensity interval corresponding to the signal frequency and the signal intensity after the network quality parameter is acquired, so as to form a historical network quality parameter that can be called by the network quality judging module. The accuracy and the reliability of determining the current network quality through the network quality parameters can be improved by expanding the historical network quality parameters in real time, and the fact that the historical network quality parameters influence the judgment of the current network quality under special conditions is avoided. And further, the stability and the reliability of data transmission are improved, and the technical effect of user Internet surfing experience is improved.
In the subsequent working process, when the number of data packets transmitted by the electronic equipment under the Wi-Fi network is smaller than a first number threshold, the historical network quality parameter can be correspondingly inquired and called according to the signal frequency and the signal strength of the current Wi-Fi network so as to accurately judge the current network quality of the Wi-Fi network.
After the network quality parameters are associated with the signal comments and the preset intensity intervals corresponding to the signal intensity, the network quality parameters can be stored in the electronic equipment to be directly called, can be uploaded to a server through a network, and can be downloaded and used by the server when needed.
The networking control device in the embodiment of the application can be a device, and also can be a component, an integrated circuit or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The networking control device in the embodiments of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The networking control device provided in the embodiment of the present application can implement each process implemented by the networking control method in the method embodiments of fig. 1 to 6, and in order to avoid repetition, a detailed description is omitted here.
Optionally, the embodiment of the present application further provides an electronic device 1900, including a processor 1910, a memory 1909, and a program or an instruction stored in the memory 1909 and capable of running on the processor 1910, where the program or the instruction implements each process of the above-mentioned networking control method embodiment when executed by the processor 1910, and the process can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
It should be noted that, the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 shows a schematic diagram of a hardware structure of an electronic device according to an embodiment of the application.
The electronic device 1900 includes, but is not limited to: radio frequency unit 1901, network module 1902, audio output unit 1903, input unit 1904, sensor 1905, display unit 1906, user input unit 1907, interface unit 1908, memory 1909, and processor 1910.
Those skilled in the art will appreciate that the electronic device 1900 may further include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1910 by a power management system for performing functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
And the processor 1910 is configured to determine a current network quality of the Wi-Fi network after the electronic device establishes a connection with the Wi-Fi network, and control the electronic device to establish a connection with the cellular data network when the current network quality is the first network quality, so that the electronic device can surf the internet through the cellular data network and the Wi-Fi network. And further, the networking control method is optimized, the stability and reliability of data transmission of the electronic equipment are improved, the operation difficulty of a user is reduced, and the technical effect of using experience of the user is improved.
It should be understood that, in this embodiment of the present application, the radio frequency unit 1901 may be used to receive and send information or signals during a call, and specifically, receive downlink data of a base station or send uplink data to the base station. The radio frequency unit 1901 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.
The network module 1902 provides wireless broadband internet access to users, such as helping users send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 1903 may convert audio data received by the radio frequency unit 1901 or the network module 1902 or stored in the memory 1909 into an audio signal and output as sound. Also, the audio output unit 1903 may also provide audio output (e.g., call signal reception sound, message reception sound, etc.) related to a specific function performed by the electronic device 1900. The audio output unit 1903 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1904 is used to receive an audio or video signal. The input unit 1904 may include a graphics processor (Graphics Processing Unit, GPU) 5082 and a microphone 5084, the graphics processor 5082 processing 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 a display unit 1906, or stored in a memory 1909 (or other storage medium), or transmitted via a radio frequency unit 1901 or network module 1902. The microphone 5084 may receive sound and may be capable of processing the sound into audio data, and the processed audio data may be converted into a format output that may be transmitted to the mobile communication base station via the radio frequency unit 1901 in case of a phone call mode.
The electronic device 1900 also includes at least one sensor 1905, such as a fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and other sensors.
The display unit 1906 is used to display information input by a user or information provided to the user. The display unit 1906 may include a display panel 5122, and the display panel 5122 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
The user input unit 1907 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1907 includes a touch panel 5142 and other input devices 5144. The touch panel 5142, also referred to as a touch screen, can collect touch operations thereon or thereabout by a user. The touch panel 5142 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device and converts it into touch point coordinates, which are then sent to the processor 1910, and receives and executes commands sent from the processor 1910. Other input devices 5144 can include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Further, the touch panel 5142 can be overlaid on the display panel 5122, and when the touch panel 5142 detects a touch operation thereon or thereabout, the touch panel is transferred to the processor 1910 to determine a type of touch event, and then the processor 1910 provides a corresponding visual output on the display panel 5122 according to the type of touch event. The touch panel 5142 and the display panel 5122 may be two independent components or may be integrated into one component.
The interface unit 1908 is an interface for connecting an external device to the electronic apparatus 1900. For example, the external devices may include a wired or wireless headset port, an external power (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/0) port, a video I/0 port, an earphone port, and the like. The interface unit 1908 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 1900 or may be used to transmit data between the electronic apparatus 1900 and an external device.
The memory 1909 may be used to store software programs and various data. The memory 1909 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebooks, etc.) created according to the use of the mobile terminal, etc. In addition, memory 1909 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 1910 performs various functions of the electronic device 1900 and processes data by running or executing software programs and/or modules stored in the memory 1909 and invoking data stored in the memory 1909, thereby overall monitoring the electronic device 1900. The processor 1910 may include one or more processing units; preferably, the processor 1910 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications.
The electronic device 1900 may also include a power supply 1911 for powering the various components, wherein the power supply 1911 may be logically coupled to the processor 1910 via a power management system such that charge, discharge, and power management functions are performed by the power management system.
According to the method and the device for controlling the electronic equipment, under the condition that the current network quality is determined to be the first network quality, connection between the electronic equipment and the cellular data network is controlled, and the electronic equipment can conduct data transmission through the cellular data network and the Wi-Fi network. The first network quality is used for defining whether the current network quality can meet the normal information transmission requirement of the user, and if the current network quality is the first network quality, the current Wi-Fi network quality is poor, and the communication requirement of the user cannot be met stably and reliably.
On the basis, the electronic equipment is connected with the cellular network data and completes the data transmission of the electronic equipment through the cellular data network and the Wi-Fi network, so that the electronic equipment can complete the data transmission through the cellular data network in a time period with poor Wi-Fi network quality, on one hand, the information transmission efficiency and the information transmission reliability of the electronic equipment when the quality of the Wi-Fi network is poor are improved by means of the cellular data network, on the other hand, the operation that a user frequently executes disconnection of the Wi-Fi network and connection of the Wi-Fi network is omitted, and the intelligent choosing and switching of the cellular data network and the Wi-Fi network and automatic connection are completed. And further, the networking control method is optimized, the stability and reliability of data transmission of the electronic equipment are improved, the operation difficulty of a user is reduced, and the technical effect of using experience of the user is improved.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction realizes each process of the above-mentioned networking control method embodiment when being executed by a processor, and the same technical effect can be achieved, so that repetition is avoided, and no detailed description is given here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the above-mentioned networking control method embodiment, and can achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
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 phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (16)

1. A networking control method, comprising:
after the electronic equipment is connected with the Wi-Fi network, acquiring historical network quality parameters; the historical network quality parameters comprise TCP packet sending number, TCP retransmission times and RTT time delay;
based on the historical network quality parameters, determining the historical cartoon rate of the Wi-Fi network under the current signal strength;
and controlling the electronic equipment to establish connection with a cellular data network according to the historical cartoon rate so as to enable the electronic equipment to surf the internet through the cellular data network or surf the internet through the cellular data network and the Wi-Fi network.
2. The networking control method of claim 1, wherein the determining the historical click-through rate of the Wi-Fi network at the current signal strength based on the historical network quality parameter comprises:
and under the condition that the historical network quality parameter meets a preset condition, determining the historical click-through rate of the Wi-Fi network under the current signal strength according to the historical network quality parameter.
3. The networking control method of claim 1, wherein the controlling the electronic device to establish a connection with a cellular data network according to the historical click-through rate comprises:
And controlling the electronic equipment to establish connection with a cellular data network under the condition that the historical jamming rate of the Wi-Fi network under the current signal strength is larger than a set threshold value.
4. The networking control method of claim 1, wherein the obtaining historical network quality parameters comprises:
acquiring signal frequency and signal strength of the Wi-Fi network;
and searching a corresponding preset intensity interval according to the signal frequency and the signal intensity, and acquiring the network quality parameter record corresponding to the preset intensity interval.
5. The networking control method of claim 2, further comprising:
acquiring the number of TCP packets and the historical networking time length;
determining that the historical network quality parameter meets the preset condition when at least one of the following conditions is met:
the TCP package sending number is larger than a preset second number threshold, and the historical networking time length is larger than a preset duration threshold.
6. The networking control method of claim 1, wherein the determining the historical click-through rate of the Wi-Fi network at the current signal strength based on the historical network quality parameter comprises:
Based on the historical network quality parameters, acquiring the historical jamming times and the historical non-jamming times of the Wi-Fi network under the current signal strength;
and determining the historical jamming rate of the Wi-Fi network under the current signal strength according to the historical jamming times and the historical non-jamming times.
7. The networking control method of claim 1, further comprising:
and recording the network quality parameters, and associating the network quality parameters to a preset intensity interval corresponding to the signal frequency and the signal intensity.
8. A networked control device, comprising:
the network quality judging module is used for acquiring historical network quality parameters to determine the current network quality of the Wi-Fi network after the electronic equipment is controlled to be connected with the Wi-Fi network; the historical network quality parameters comprise TCP packet sending number, TCP retransmission times and RTT time delay;
and the network acceleration module is used for determining the historical jamming rate of the Wi-Fi network under the current signal intensity based on the historical network quality parameter, and controlling the electronic equipment to establish connection with a cellular data network according to the historical jamming rate so as to enable the electronic equipment to surf the internet through the cellular data network or surf the internet through the cellular data network and the Wi-Fi network.
9. The networking control device of claim 8, wherein the network acceleration module is configured to:
and under the condition that the historical network quality parameter meets a preset condition, determining the historical click-through rate of the Wi-Fi network under the current signal strength according to the historical network quality parameter.
10. The networking control device of claim 8, wherein the network acceleration module is configured to:
and controlling the electronic equipment to establish connection with a cellular data network under the condition that the historical jamming rate of the Wi-Fi network under the current signal strength is larger than a set threshold value.
11. The networking control device of claim 8, wherein the network quality determination module is configured to:
acquiring signal frequency and signal strength of the Wi-Fi network;
and searching a corresponding preset intensity interval according to the signal frequency and the signal intensity, and acquiring the network quality parameter record corresponding to the preset intensity interval.
12. The networking control device of claim 9, wherein the network quality determination module is configured to:
acquiring the number of TCP packets and the historical networking time length;
determining that the historical network quality parameter meets the preset condition when at least one of the following conditions is met:
The TCP package sending number is larger than a preset second number threshold, and the historical networking time length is larger than a preset duration threshold.
13. The networking control device of claim 8, wherein the network acceleration module is configured to:
based on the historical network quality parameters, acquiring the historical jamming times and the historical non-jamming times of the Wi-Fi network under the current signal strength;
and determining the historical jamming rate of the Wi-Fi network under the current signal strength according to the historical jamming times and the historical non-jamming times.
14. The networked control device of claim 8, further comprising:
the recording module is used for recording the network quality parameters and correlating the network quality parameters to a preset intensity interval corresponding to the signal frequency and the signal intensity.
15. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the steps of the networked control method of any one of claims 1 to 7.
16. A readable storage medium comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, wherein the program or instructions when executed by the processor implement the steps of the networked control method according to any one of claims 1 to 7.
CN202011338840.0A 2020-11-25 2020-11-25 Networking control method, networking control device, electronic equipment and storage medium Active CN112469099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011338840.0A CN112469099B (en) 2020-11-25 2020-11-25 Networking control method, networking control device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011338840.0A CN112469099B (en) 2020-11-25 2020-11-25 Networking control method, networking control device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112469099A CN112469099A (en) 2021-03-09
CN112469099B true CN112469099B (en) 2023-06-23

Family

ID=74799913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011338840.0A Active CN112469099B (en) 2020-11-25 2020-11-25 Networking control method, networking control device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112469099B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116419372A (en) * 2021-12-31 2023-07-11 华为技术有限公司 Control method of cellular network and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658588A (en) * 2016-12-21 2017-05-10 广东欧珀移动通信有限公司 Network quality detection method and device and computer equipment
CN109005574A (en) * 2018-07-28 2018-12-14 努比亚技术有限公司 Cell selecting method, mobile terminal and computer readable storage medium
CN110475244A (en) * 2018-05-10 2019-11-19 腾讯科技(上海)有限公司 Terminal management method, system, device, terminal and storage medium
WO2020147645A1 (en) * 2019-01-14 2020-07-23 Oppo广东移动通信有限公司 Link aggregation realization method and related product
CN111669799A (en) * 2020-05-21 2020-09-15 维沃移动通信有限公司 Network connection method and device and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8565766B2 (en) * 2007-02-05 2013-10-22 Wefi Inc. Dynamic network connection system and method
US8514717B2 (en) * 2011-01-21 2013-08-20 T-Mobile Usa, Inc. Smart connection manager
CN102802224B (en) * 2012-08-27 2015-04-08 东莞宇龙通信科技有限公司 Terminal and terminal network switching method
US8750250B2 (en) * 2012-12-04 2014-06-10 Bandwidth.Com, Inc. Personalized user session information for call handoff
CN103327578B (en) * 2013-07-05 2017-06-27 无锡儒安科技有限公司 The selection system of wireless network access point and system of selection
CN107484190B (en) * 2017-08-07 2019-04-12 Oppo广东移动通信有限公司 Method for connecting network, mobile terminal and computer readable storage medium
CN109756940B (en) * 2018-06-19 2021-06-01 北京字节跳动网络技术有限公司 Network switching method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658588A (en) * 2016-12-21 2017-05-10 广东欧珀移动通信有限公司 Network quality detection method and device and computer equipment
CN110475244A (en) * 2018-05-10 2019-11-19 腾讯科技(上海)有限公司 Terminal management method, system, device, terminal and storage medium
CN109005574A (en) * 2018-07-28 2018-12-14 努比亚技术有限公司 Cell selecting method, mobile terminal and computer readable storage medium
WO2020147645A1 (en) * 2019-01-14 2020-07-23 Oppo广东移动通信有限公司 Link aggregation realization method and related product
CN111669799A (en) * 2020-05-21 2020-09-15 维沃移动通信有限公司 Network connection method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SAR~2:针对无线传感器网络丢包的自适应修复与调整策略;莫路锋;郭振格;惠维;刘卓;;计算机工程与科学(第11期);全文 *

Also Published As

Publication number Publication date
CN112469099A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN111615141B (en) Measurement method, measurement configuration method, terminal and network equipment
CN109905907B (en) Network searching method and mobile terminal
CN110753389A (en) Network control method and electronic equipment
CN110557792B (en) Cell management method, trigger condition configuration method and related equipment
CN107948919B (en) Shared information processing method and mobile terminal
CN111328119B (en) Voice service processing method and electronic equipment
EP4236108A1 (en) Signal transmission method and apparatus, and terminal device, smart device, and electronic device
CN110708714B (en) Beam failure detection method, terminal and network equipment
CN113747482B (en) Method, system and terminal equipment for detecting and analyzing service network
CN112469099B (en) Networking control method, networking control device, electronic equipment and storage medium
CN112118188A (en) Flow rate limiting method and device, electronic equipment and storage medium
CN110611933B (en) Link quality monitoring method and terminal
CN112492340B (en) Live broadcast audio acquisition method, mobile terminal and computer readable storage medium
CN111836352B (en) Power control method and terminal for physical side link feedback channel
CN113286335A (en) Frequency point switching method and device, storage medium and access point
CN111615216B (en) Random access method and terminal
CN111800833B (en) Communication processing method, device, equipment and medium
CN110621079B (en) Random access resource selection method and terminal equipment
CN113596904A (en) Method and device for transmitting aperiodic positioning report
CN111435873A (en) Hybrid automatic repeat request feedback method and terminal
CN107889128B (en) Network quality adjusting method and device
CN115118636A (en) Method and device for determining network jitter state, electronic equipment and storage medium
CN111818657B (en) Uplink transmission discarding method, uplink transmission discarding configuration method and related equipment
CN110351892B (en) Notification method and related equipment
CN110035553B (en) Resource scheduling request 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