CN113286341A - Method, system, device and storage medium for automatically switching network - Google Patents

Method, system, device and storage medium for automatically switching network Download PDF

Info

Publication number
CN113286341A
CN113286341A CN202110550634.4A CN202110550634A CN113286341A CN 113286341 A CN113286341 A CN 113286341A CN 202110550634 A CN202110550634 A CN 202110550634A CN 113286341 A CN113286341 A CN 113286341A
Authority
CN
China
Prior art keywords
wifi
flow
preset
current
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110550634.4A
Other languages
Chinese (zh)
Other versions
CN113286341B (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.)
Guangzhou Dayu Chuangfu Technology Co ltd
Original Assignee
Shaoxing University Yuanpei College
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 Shaoxing University Yuanpei College filed Critical Shaoxing University Yuanpei College
Priority to CN202110550634.4A priority Critical patent/CN113286341B/en
Publication of CN113286341A publication Critical patent/CN113286341A/en
Application granted granted Critical
Publication of CN113286341B publication Critical patent/CN113286341B/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/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • 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
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to a method, a system, equipment and a storage medium for automatically switching networks, wherein the method comprises the following steps: obtaining the current flow allowance of the mobile data; acquiring the wifi signal intensity of the current access wifi or the wifi signal intensity of the application access wifi; judging whether the current flow allowance is lower than a preset safety flow threshold value or not; if yes, accessing the wifi; if not, judging whether the wifi signal intensity of the wifi is greater than a preset intensity value or not; if the intensity value is larger than the preset intensity value, accessing the wifi; and if the mobile data are not greater than the preset intensity value, starting the mobile data. The method and the device have the effect of facilitating the user to surf the internet by using the intelligent terminal so as to improve the network use experience.

Description

Method, system, device and storage medium for automatically switching network
Technical Field
The present application relates to the field of network technologies, and in particular, to a method, a system, a device, and a storage medium for automatically switching a network.
Background
Along with the internet is more and more popular, the intelligent mobile terminals such as cell-phones have more and more big demands on the network, and the intelligent terminals can be networked through a mobile data network and can be connected with wifi to realize networking.
In the correlation technique, the cell-phone is after accessing wifi, accessible wifi browses the webpage, watches video etc. but because wifi's radiation range is limited, must just can access wifi in wifi radiation range, and wifi receives the environmental impact, and radiation range is unstable, and network and unstability on wifi's radiant edge.
For the related technologies, the inventor thinks that when a user uses a network on the wifi radiation edge, the user can automatically access the wifi network, so as to save the flow; however, because the wifi signal strength at the edge of the wifi coverage area is weak, the network speed is slow, and the normal use of the intelligent terminal can be affected, the user needs to manually disconnect the wifi and switch the wifi into mobile data, which is troublesome.
Disclosure of Invention
In order to facilitate a user to surf the internet by using an intelligent terminal and improve the network use experience, the application provides a method, a system, equipment and a storage medium for automatically switching networks.
In a first aspect, the method for automatically switching networks provided by the present application adopts the following technical solutions:
a method of automatically switching networks, comprising:
obtaining the current flow allowance of the mobile data;
acquiring the wifi signal intensity of the current access wifi or the wifi signal intensity of the application access wifi;
judging whether the current flow allowance is lower than a preset safety flow threshold value or not;
if yes, accessing the wifi;
if not, judging whether the wifi signal intensity of the wifi is greater than a preset intensity value or not;
if the intensity value is larger than the preset intensity value, accessing the wifi;
and if the mobile data are not greater than the preset intensity value, starting the mobile data.
By adopting the technical scheme, the current flow allowance is obtained firstly, if the flow is insufficient, only wifi can be selected to be used, the flow expense and the excess phenomenon are avoided, if the flow is sufficient, the wifi signal intensity is analyzed through the intelligent terminal, the relation between the wifi signal and the preset value of the signal intensity is judged, and under the condition that the wifi signal intensity obtained through analysis is smaller than the preset value of the signal intensity, the intelligent terminal disconnects wifi, and uses the mobile data flow to perform networking, so that the network quality is improved; and under the condition that wifi signal strength is greater than the signal strength default, intelligent terminal keeps inserting wifi, uses wifi to network, realizes the automatic switch-over between wifi and the mobile data flow to this saves the flow, guarantees the smoothness of network simultaneously, prevents that mobile terminal from automatic disconnection wifi under the not abundant condition of mobile data flow, causes a large amount of data flow to deduct the expense.
Optionally, a network delay self-check is performed after the step of accessing wifi, the network delay self-check includes,
acquiring network delay of the wifi accessed currently;
judging whether the network delay of the wifi exceeds a preset threshold value;
if so, displaying a network switching control on the human-computer interaction interface, wherein the network switching control comprises a confirmation sub-control and a cancellation sub-control, the confirmation sub-control is used for responding to the input signal to disconnect the wifi and start the mobile data, and the cancellation sub-control is used for responding to the input signal to keep the access state of the wifi;
if not, the wifi access state is kept.
By adopting the technical scheme, because the network delay is probably caused by poor network quality or unstable signals of wifi, the network delay directly influences the uplink and downlink speed of information, so that the network use experience is poor, and therefore whether the network delay of wifi exceeds a preset threshold value or not can realize the automatic pop-up of the network switching control, so that the time for a user to search a network setting page and perform network switching is reduced, and the convenience is improved.
Optionally, the step of network delay self-checking further comprises,
acquiring an account corresponding to the current mobile data;
judging whether the current account has a flow common identifier or not;
if yes, directly disconnecting the wifi and starting the mobile data when the network delay of the wifi exceeds a preset threshold;
and if not, displaying a network switching control on the man-machine interaction interface when the network delay of the wifi exceeds a preset threshold value.
By adopting the technical scheme, the flow common identifier needs to be specified according to the use habit of the user, when the user frequently uses the flow of the account when wifi is not good, the flow is generally sufficient or the user is inclined to use high-quality network service, so that when the account has the flow common identifier, mobile data is directly used when the network delay is high, the humanization is improved, and the use by the user is facilitated.
Optionally, the step of obtaining the traffic common identifier includes,
accumulating available records of flow once when an input signal corresponding to the confirmation sub-control is acquired;
binding an account corresponding to the available record of the flow and the current mobile data;
and when the times of the available records of the flow corresponding to any account are greater than a preset time threshold, generating a flow common identifier bound with the account.
By adopting the technical scheme, the selection of the user when the network delay is low is recorded as the reference of the use habit, and when the mobile data is frequently selected and used, the fact that the flow of the user is abundant or the user is inclined to use high-quality network service can be judged, so that the automatic switching of the network is realized, the network delay is reduced, and the network quality is improved.
Optionally, after the step of determining whether the current account has the common traffic identifier, the method further includes,
if the current account has a common flow identifier, acquiring the wifi use condition of the intelligent terminal corresponding to the account;
calculating the wifi use duration of the intelligent terminal in a state that the wifi signal intensity is lower than a preset intensity value according to the wifi use condition;
if the wifi use duration exceeds the preset time, canceling the flow common identification of the account, and deleting or clearing the number of available flow records;
if the wifi service duration does not exceed the preset time, the flow common identification of the account is reserved.
By adopting the technical scheme, the flow common identifier is marked on the intelligent terminal when the available record of the flow is greater than the preset time threshold value, but the flow package of the intelligent terminal may change, and the flow common identifier marked on the intelligent terminal needs to be corrected; the method comprises the steps of determining the demand degree of a user on wifi through the wifi time under low network signal strength, determining whether the user has a flow-saving phenomenon, if the user always uses low-quality wifi for flow saving, indicating that the flow is not sufficient or the user can accept the low-quality network, and canceling a common flow identifier to prevent the system from misjudging to cause the fact that the intelligent terminal disconnects the wifi to cause a large amount of data flow deduction and loss to the user.
Optionally, the method for obtaining the preset safety flow threshold includes,
acquiring the service cycle and the total flow rate of the flow package under the current account;
calculating the average using flow in each unit time in the using period according to the using period and the total flow rate;
acquiring the remaining package duration at the current moment;
and calculating the safety flow threshold corresponding to each unit time according to the remaining package time length and the average using flow in each unit time.
By adopting the technical scheme, the safe flow threshold value can be selected to be larger than or equal to the product of the remaining package duration and the average use flow in each unit time, the flow is averagely distributed to each unit time, and when the flow use exceeds the average progress, the wifi network is switched to replace, so that the flow is saved, and the influence on later-stage internet experience caused by excessive flow use is avoided.
Optionally, after the step of judging whether the current flow margin is lower than the preset safety flow threshold, the method further includes,
searching wifi accessible at the current moment;
acquiring wifi signal intensity of each wifi;
if the access to the wifi is selected, sequencing each wifi according to the signal intensity of the wifi, and sending a networking application to the wifi with the maximum signal intensity of the wifi;
if the access to the wifi is not selected, judging whether a strong wifi with the wifi signal intensity larger than a preset intensity value exists or not;
and if so, displaying information associated with the strong wifi on the human-computer interaction interface.
By adopting the technical scheme, when the wifi is accessed or the mobile data is started, the wifi signal intensity of the current wifi is monitored, so that the wifi with the best wifi signal is selected, and the internet experience is improved; meanwhile, if the wifi intensity reaches the strong wifi of the preset intensity value, the user is prompted to select the strong wifi, and therefore the flow is saved.
In the second aspect, in order to facilitate the user to use the intelligent terminal to surf the internet and improve the experience of network use, the system for automatically switching the network provided by the application adopts the following technical scheme:
the utility model provides a system for automatic switch-over network, is applied to intelligent terminal and wifi network end, includes:
the flow obtaining module is used for obtaining the current flow allowance of the mobile data;
the wifi analyzing module is used for acquiring the wifi signal intensity of the current access wifi or the wifi signal intensity of the application access wifi;
the first judgment module is used for judging whether the current flow allowance is lower than a preset safety flow threshold value or not;
the second judgment module is used for judging whether the wifi signal intensity of the wifi is greater than a preset intensity value or not;
the execution module is used for controlling the wifi connection function and the mobile data connection function of the intelligent terminal, when the current flow allowance is lower than a preset safety flow threshold value, or the wifi signal intensity of the wifi is larger than a preset intensity value, the wifi is accessed, and when the current flow allowance is not lower than the preset safety flow threshold value and the wifi signal intensity of the wifi is not larger than the preset intensity value, the mobile data is started.
Through adopting above-mentioned technical scheme, acquire the current flow surplus through the flow acquisition module, acquire wifi signal strength through wifi analysis module, first judgement module and second judgement module are used for judging whether flow surplus and wifi signal strength satisfy the requirement respectively, if the flow is not abundant then can only use wifi, if the flow is abundant then can select strong wifi or mobile data, thereby in the province stream, avoid promoting the network quality under the prerequisite of deducting the fee, convenience of customers uses intelligent terminal to surf the net, improve the network and use experience.
In order to facilitate the user to use the intelligent terminal to surf the internet and improve the experience of network use, the application provides an apparatus which adopts the following technical scheme:
an apparatus comprising a processor and a memory, the memory having stored therein a computer program that can be loaded by the processor and that performs the above-described method of automatically switching networks.
By adopting the technical scheme, the automatic switching of the network is realized according to the wifi or mobile data condition by the method for automatically switching the network, the network quality is improved on the premise of saving flow and avoiding fee deduction, a user can conveniently use the intelligent terminal to surf the internet, and the network use experience is improved.
In a fourth aspect, in order to facilitate a user to use an intelligent terminal to surf the internet and improve network use experience, the storage medium provided by the application adopts the following technical scheme:
a storage medium storing a computer program that can be loaded by a processor and that executes the above-described method of automatically switching networks.
By adopting the technical scheme, the automatic switching of the network is realized according to the wifi or mobile data condition by the method for automatically switching the network, the network quality is improved on the premise of saving flow and avoiding fee deduction, a user can conveniently use the intelligent terminal to surf the internet, and the network use experience is improved.
In summary, the present application includes at least one of the following beneficial technical effects:
1. if the flow is not abundant, then only can use wifi, if the flow is abundant then can select strong wifi or remove data to promote the network quality under the prerequisite of province flow, avoiding deducting the expense, convenience of customers uses intelligent terminal to surf the net, improves the network and uses experience.
2. Whether the network delay of the wifi exceeds a preset threshold value or not can be judged to realize automatic pop-up of the network switching control, so that the time for a user to search a network setting page and perform network switching is reduced, and convenience is improved.
3. If the user always uses low-quality wifi for stream saving, the flow is not sufficient or the user can accept the low-quality network, so that the common flow identification is cancelled, and the phenomenon that the intelligent terminal is disconnected from the wifi due to system misjudgment to cause large data flow fee deduction and loss to the user is prevented.
Drawings
Fig. 1 is a system block diagram of a system for automatically switching networks according to an embodiment of the present application.
Fig. 2 is a flowchart of a method for automatically switching networks according to an embodiment of the present application.
Fig. 3 is a partial flowchart of a method for automatically switching a network according to an embodiment of the present application, which mainly shows an acquisition process of a security traffic threshold.
Fig. 4 is a partial flowchart of a method for automatically switching a network according to an embodiment of the present application, which mainly shows an execution flow of a network delay self-check.
Fig. 5 is a partial flowchart of a method for automatically switching a network according to an embodiment of the present application, which mainly shows a flow of generating and correcting a traffic common identifier.
Fig. 6 is a partial flowchart of a method for automatically switching networks according to an embodiment of the present application, which mainly shows an execution flow of wifi monitoring nearby.
Detailed Description
The present application is described in further detail below with reference to figures 1-4.
The embodiment of the application discloses system for automatically switching networks, refer to fig. 1, and the system comprises a flow acquisition module, a wifi analysis module, a first judgment module, a second judgment module and an execution module, wherein the flow acquisition module, the wifi analysis module, the first judgment module, the second judgment module and the execution module can adopt processors, and the processors can adopt processors of mobile terminals. The flow acquisition module can acquire the current flow allowance of the mobile data of the account of the mobile terminal, and the account can represent the account of the SIM card. The wifi analyzing module can acquire the wifi signal intensity of the current access wifi or the access wifi applied. The execution module is used for controlling the wifi connection function and the mobile data connection function of the intelligent terminal, namely controlling the wifi to be opened or closed and controlling the mobile data to be opened or closed.
The embodiment of the present application discloses a method for automatically switching a network, which applies the system for automatically switching a network described above, and with reference to fig. 1 and 2, the method includes the following steps:
s110, the flow obtaining module obtains the current flow allowance of the mobile data.
Specifically, the current flow allowance is bound with account numbers such as an SIM card account, and the current flow allowance can be obtained only by sending corresponding application information to the operator and reading the current flow allowance from the feedback information.
S120, the wifi analyzing module obtains the wifi signal intensity of the current access wifi or the access wifi applied.
Specifically, wifi signal strength indicates wifi's RSSI value, and wifi analytic module only needs to read the RSSI value can be fit for wifi signal strength. In same wifi radiation area, generally the RSSI value is great on the nearer position of distance router, and lie in the radiation area edge then the RSSI value is less, and in the in-service use, wifi signal strength also is relevant with equidistant medium such as wall body, and this application adopts the mode of directly reading the RSSI value, has avoided the medium to measured data's influence.
S130, judging whether the current flow allowance is lower than a preset safety flow threshold value or not by a first judging module;
if yes, the execution module controls the terminal to access the wifi;
if not, the second judging module judges whether the wifi signal intensity of the wifi is larger than a preset intensity value or not;
if the intensity value is larger than the preset intensity value, the execution module controls the terminal to access the wifi;
and if the mobile data is not greater than the preset intensity value, the execution module controls the terminal to start the mobile data.
Specifically, the signal strength default value means that the wifi network is smooth and easy when the wifi signal strength is greater than the signal strength default value, and the intelligent terminal can smoothly use the network. The preset value of the signal strength can be set manually, and can be adjusted according to the needs of users, for example, a larger RSSI value can be selected when the user calls or plays games, and a smaller RSSI value can be selected when the user caches videos and audios. The above-mentioned wifi that judges whether this wifi's wifi signal strength is greater than this wifi in the step of predetermineeing the intensity value selects the wifi that the terminal has saved the verification password preferentially, later selects the biggest person of wifi signal strength in this part wifi.
The safety flow threshold may be preset in the execution program, and may be set to a fixed value, for example, 1GB, 2GB, or 10 GB; the safety flow threshold value per unit time can also be specified in an evenly distributed manner, and referring to fig. 3, the specific steps are as follows:
s131, obtaining the service cycle and the total flow rate of the flow package under the current account.
Specifically, the current account may represent a number of a SIM card to which the mobile data used by the current terminal belongs, the flow package may be a weekly package, a monthly package, or the like, the usage cycle may be weekly or monthly, and the total flow amount may be obtained by reading feedback information of the operator.
S132, calculating the average using flow in each unit time in the using period according to the using period and the total flow amount;
specifically, the average usage flow rate per unit time may be the daily usage flow rate, or may be accurate to the average usage flow rate per hour. For example, if the monthly package flow rate is 30G, the daily usage flow rate is 1G.
S133, obtaining the remaining package duration at the current moment;
specifically, when the time unit is day, the remaining package duration may be the number of remaining package days.
And S134, calculating a safety flow threshold corresponding to each unit time according to the remaining package time and the average used flow in each unit time.
Specifically, the safety flow threshold may be a value greater than or equal to a product of the remaining package duration and the average usage flow in each unit time, and if the average usage flow is calculated according to the daily usage flow, in this embodiment, the safety flow threshold = daily usage flow × + remaining package days + reserved flow value, for example, the monthly package flow is 30G, the reserved flow value is 1G, and the day is the 15 th day of the month, the safety flow threshold is 16G. Wherein the reserved flow value can be set by the user. The setting of the safe flow threshold value can avoid the problems that the user excessively uses the flow package to cause excessive deduction of extra cost and the like.
S200, after the wifi is accessed, network delay self-checking is executed, and referring to FIG. 4, the steps of the network delay self-checking are as follows:
s210, acquiring an account corresponding to the current mobile data;
and S220, acquiring the network delay of the wifi accessed currently.
Specifically, the network delay may be an average value of delay times within a period of sampling time, where the unit is ms, and a higher network delay indicates a worse network quality.
And S230, judging whether the current network delay of the wifi exceeds a preset threshold value.
If the current account number exceeds the preset threshold value, judging whether the current account number has a flow common identifier or not;
if the account number has a traffic common identifier, directly disconnecting wifi and starting mobile data.
And if the account does not have the flow common identifier, displaying a network switching control on a human-computer interaction interface of the terminal, wherein the network switching control comprises a confirmation sub-control and a cancellation sub-control, the confirmation sub-control is used for responding to the input signal to disconnect the wifi and start the mobile data, and the cancellation sub-control is used for responding to the input signal to keep the access state of the wifi.
And if the wifi access state does not exceed the preset threshold, keeping the wifi access state.
Specifically, the preset threshold may be set according to the requirement of the user on the network quality, for example, the preset threshold is 500 ms. The network switching control can be displayed as a popup on a human-computer interaction interface, and icons of characters with the meanings of 'confirmation' and 'cancellation' displayed on the popup respectively correspond to the confirmation sub-control and the cancellation sub-control. When the user clicks the confirmation sub-control, the current terminal disconnects wifi and starts mobile data, otherwise, when the user clicks the cancellation sub-control, the current terminal keeps the access state of wifi, so that automatic pop-up of the network switching control is realized, time for the user to search a network setting page and perform network switching is reduced, and convenience is improved.
The flow common identifier needs to be specified according to the use habit of the user, and when the user frequently uses the flow of the account when wifi is not good, the flow is sufficient or the user is inclined to use high-quality network service, so that when the account has the flow common identifier, the mobile data is directly used when the network delay is high, thereby improving the humanization and facilitating the use of the user.
Referring to fig. 5, the steps of acquiring the traffic common identifier are as follows:
s231, accumulating available records of flow once when input signals corresponding to the confirmation sub-control are acquired;
s232, binding the account corresponding to the available record of the flow and the current mobile data;
and S233, when the number of times of available records of the flow corresponding to any account is greater than a preset number threshold, generating a flow common identifier bound with the account.
Specifically, the available traffic record may represent a conventional selection of the user when the network delay is low, and may be used as a data reference for determining the use habit of the user, and when the user frequently selects to use the mobile data, it may be determined that the traffic of the user is abundant or the user prefers to use a high-quality network service, so that a network mode suitable for the user is selected according to the use habit of the user, and the use experience is improved.
The preset number threshold may be preset in the execution program, and may be set to 5 times/month or 10 times/month, and the like, and may be specifically set according to the actual situation. And the preset time threshold value can be used as periodic reference data, and zero clearing is carried out after the preset period is exceeded.
Because the flow package of the account may change, the flow common identifier needs to be regularly checked and corrected, and the specific steps are as follows:
after judging whether the current account has the traffic common identifier,
SA1, if the current account has a common flow identifier, acquiring wifi use conditions of the intelligent terminal corresponding to the account;
SA2, calculating the wifi use duration of the intelligent terminal in the state that the wifi signal intensity is lower than a preset intensity value according to the wifi use condition;
specifically, the wifi signal strength is lower than the preset strength value, that is, the RSSI value is lower than the preset strength value, which indicates that the network signal is in a poor state.
SA3, if the wifi use duration exceeds the preset time, canceling the flow common identifier of the account, and deleting or clearing the number of available records of the flow;
if the wifi service duration does not exceed the preset time, the flow common identification of the account is reserved.
Specifically, the duration of wifi usage represents the time of the user using the low-quality network, and also represents the tolerance degree of the user to the low-quality network, and meanwhile, whether the user has a flow-saving phenomenon is determined, if the user uses the low-quality wifi for flow saving all the time, the flow is not sufficient or the user can accept the low-quality network, so that the common flow identifier is cancelled, and the phenomenon that the intelligent terminal is disconnected from the wifi due to system misjudgment to cause large-amount data flow deduction is prevented.
Referring to fig. 6, after the step of determining whether the current flow allowance of the account is lower than the preset safety flow threshold, that is, before or after accessing the network, the operation of monitoring wifi nearby is executed, wifi nearby is monitored, and strong wifi is searched for standby, and the specific steps are as follows:
SB1, searching wifi accessible at the current moment;
specifically, the number of wifi and the corresponding ID may change in real time, and in this embodiment, wifi with high frequency or wifi with a time exceeding a set time is preferentially selected, or wifi with a corresponding verification password is saved, or wifi specified as an optional object by a user is selected, and unstable wifi occurring by accident can be excluded.
SB2, acquiring the wifi signal intensity of each wifi;
if the access to the wifi is selected, sequencing each wifi according to the signal intensity of the wifi, and sending a networking application to the wifi with the maximum signal intensity of the wifi;
if the access to the wifi is not selected, judging whether a strong wifi with the wifi signal intensity larger than a preset intensity value exists or not;
if so, displaying information associated with the strong wifi on a human-computer interaction interface;
if not, the original wifi access state or the connection state of the mobile data is kept.
Specifically, if it is judged that the current terminal needs to be accessed to wifi, then wifi with the largest wifi signal intensity is selected for networking, and if a verification password needs to be input in the networking process, a corresponding popup window is popped up on a human-computer interaction interface of the terminal. In another embodiment, the system can directly preferentially select wifi with the maximum wifi signal intensity from wifi stored with the verification password, so that the time for the user to input the password is reduced, and the use experience is improved.
And if the terminal has accessed the network of mobile data, then whether have the alternative network object in the wifi near the monitoring, strong wifi promptly, wifi signal strength is greater than the wifi of presetting the intensity value promptly, if there is strong wifi then show the information that is correlated with strong wifi, this partial information can express as ID with strong wifi, the character or the figure that wifi signal strength is correlated with, also can express as being used for the auxiliary user to connect this strong wifi's controlling part, this strong wifi can be connected to the user when triggering this controlling part, with this replacement mobile data, save the flow, avoid the flow to use excessively and influence the online experience of later stage. And meanwhile, the setting of the preset strength value can also ensure the network quality of strong wifi.
The embodiment of the application also discloses equipment which comprises a processor and a memory, wherein one or more processors and one or more memories can be arranged in the processor and the memory.
Wherein the memory is operable to store an instruction, a program, code, a set of codes, or a set of instructions. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function, such as determining whether wifi signal strength is greater than a preset signal strength value, and instructions for implementing the method for automatically switching networks; the storage data area may store data and the like involved in the above-described method of automatically switching networks.
An embodiment of the present application further provides a computer-readable storage medium, for example, including: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. The computer readable storage medium stores a computer program that can be loaded by a processor and executes the above-described method of automatically switching networks.
The working principle of the embodiment of the application is as follows: the flow acquisition module acquires current flow allowance, the wifi analysis module acquires wifi signal intensity again, the first judgment module judges whether the flow allowance is lower than a safe flow threshold value or not, so that whether wifi can be used or not is judged, and the flow allowance is not lower than the safe flow threshold value, so that mobile data can be used. Later the second judges whether module judges wifi signal strength is greater than predetermineeing the intensity value, if be greater than predetermineeing the intensity value, then it is strong enough to represent the signal, can use wifi to at province flow, avoid promoting the network quality under the prerequisite of deducting the fee, if less than or equal to predetermine the intensity value, then it is relatively poor to represent the wifi signal, uses the mobile data instead, and convenience of customers uses intelligent terminal to surf the net, thereby improves the network and uses experience.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. A method for automatically switching networks, characterized by: comprises the steps of (a) preparing a mixture of a plurality of raw materials,
obtaining the current flow allowance of the mobile data;
acquiring the wifi signal intensity of the current access wifi or the wifi signal intensity of the application access wifi;
judging whether the current flow allowance is lower than a preset safety flow threshold value or not;
if yes, accessing the wifi;
if not, judging whether the wifi signal intensity of the wifi is greater than a preset intensity value or not;
if the intensity value is larger than the preset intensity value, accessing the wifi;
and if the mobile data are not greater than the preset intensity value, starting the mobile data.
2. The method for automatically switching networks according to claim 1, wherein: performing a network latency self-test after said step of accessing wifi, the network latency self-test comprising,
acquiring network delay of the wifi accessed currently;
judging whether the network delay of the wifi exceeds a preset threshold value;
if so, displaying a network switching control on the human-computer interaction interface, wherein the network switching control comprises a confirmation sub-control and a cancellation sub-control, the confirmation sub-control is used for responding to the input signal to disconnect the wifi and start the mobile data, and the cancellation sub-control is used for responding to the input signal to keep the access state of the wifi;
if not, the wifi access state is kept.
3. The method for automatically switching networks according to claim 2, wherein: the step of network delay self-checking further comprises,
acquiring an account corresponding to the current mobile data;
judging whether the current account has a flow common identifier or not;
if yes, directly disconnecting the wifi and starting the mobile data when the network delay of the wifi exceeds a preset threshold;
and if not, displaying a network switching control on the man-machine interaction interface when the network delay of the wifi exceeds a preset threshold value.
4. The method of automatically switching networks according to claim 3, wherein: the step of acquiring the traffic common identifier comprises,
accumulating available records of flow once when an input signal corresponding to the confirmation sub-control is acquired;
binding an account corresponding to the available record of the flow and the current mobile data;
and when the times of the available records of the flow corresponding to any account are greater than a preset time threshold, generating a flow common identifier bound with the account.
5. The method of automatically switching networks according to claim 4, wherein: after the step of judging whether the current account has the traffic common identifier, the method further comprises the steps of,
if the current account has a common flow identifier, acquiring the wifi use condition of the intelligent terminal corresponding to the account;
calculating the wifi use duration of the intelligent terminal in a state that the wifi signal intensity is lower than a preset intensity value according to the wifi use condition;
if the wifi use duration exceeds the preset time, canceling the flow common identification of the account, and deleting or clearing the number of available flow records;
if the wifi service duration does not exceed the preset time, the flow common identification of the account is reserved.
6. The method for automatically switching networks according to claim 1, wherein: the method for acquiring the preset safety flow threshold value comprises the following steps,
acquiring the service cycle and the total flow rate of the flow package under the current account;
calculating the average using flow in each unit time in the using period according to the using period and the total flow rate;
acquiring the remaining package duration at the current moment;
and calculating the safety flow threshold corresponding to each unit time according to the remaining package time length and the average using flow in each unit time.
7. The method for automatically switching networks according to claim 1, wherein: after the step of judging whether the current flow allowance is lower than the preset safety flow threshold, the method further comprises the following steps,
searching wifi accessible at the current moment;
acquiring wifi signal intensity of each wifi;
if the access to the wifi is selected, sequencing each wifi according to the signal intensity of the wifi, and sending a networking application to the wifi with the maximum signal intensity of the wifi;
if the access to the wifi is not selected, judging whether a strong wifi with the wifi signal intensity larger than a preset intensity value exists or not;
and if so, displaying information associated with the strong wifi on the human-computer interaction interface.
8. A system for automatically switching networks, comprising,
the flow obtaining module is used for obtaining the current flow allowance of the mobile data;
the wifi analyzing module is used for acquiring the wifi signal intensity of the current access wifi or the wifi signal intensity of the application access wifi;
the first judgment module is used for judging whether the current flow allowance is lower than a preset safety flow threshold value or not;
the second judgment module is used for judging whether the wifi signal intensity of the wifi is greater than a preset intensity value or not;
the execution module is used for controlling the wifi connection function and the mobile data connection function of the intelligent terminal, when the current flow allowance is lower than a preset safety flow threshold value, or the wifi signal intensity of the wifi is larger than a preset intensity value, the wifi is accessed, and when the current flow allowance is not lower than the preset safety flow threshold value and the wifi signal intensity of the wifi is not larger than the preset intensity value, the mobile data is started.
9. An apparatus comprising a processor and a memory, the memory having stored thereon a computer program that can be loaded by the processor and that executes the method of automatically switching networks according to any one of claims 1 to 7.
10. A storage medium storing a computer program that can be loaded by a processor and that executes the method of automatically switching networks according to any one of claims 1 to 7.
CN202110550634.4A 2021-05-20 2021-05-20 Method, system, terminal and storage medium for automatically switching network Active CN113286341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110550634.4A CN113286341B (en) 2021-05-20 2021-05-20 Method, system, terminal and storage medium for automatically switching network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110550634.4A CN113286341B (en) 2021-05-20 2021-05-20 Method, system, terminal and storage medium for automatically switching network

Publications (2)

Publication Number Publication Date
CN113286341A true CN113286341A (en) 2021-08-20
CN113286341B CN113286341B (en) 2022-07-05

Family

ID=77280253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110550634.4A Active CN113286341B (en) 2021-05-20 2021-05-20 Method, system, terminal and storage medium for automatically switching network

Country Status (1)

Country Link
CN (1) CN113286341B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438289A (en) * 2011-12-26 2012-05-02 中国电信股份有限公司 Wireless fidelity (Wi-Fi) flow guide method and device as well as mobile terminal
US20160219478A1 (en) * 2015-01-28 2016-07-28 Mediatek Inc. RAN Assistance Parameter Reporting for LTE-WLAN Interworking Control and Management
US20160234711A1 (en) * 2013-10-23 2016-08-11 Motorola Solutions, Inc. Systems and methods for application controlled network selection between narrowband and broadband wireless networks
CN108770075A (en) * 2018-05-29 2018-11-06 深圳市零度智控科技有限公司 network connection control method, mobile terminal and computer readable storage medium
CN109246741A (en) * 2018-11-07 2019-01-18 上海连尚网络科技有限公司 Wireless network connecting method for terminal
CN109451538A (en) * 2018-12-29 2019-03-08 上海掌门科技有限公司 A kind of data flow control method and its terminal
CN112312514A (en) * 2020-11-23 2021-02-02 惠州Tcl移动通信有限公司 Method, device and equipment for accessing network and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438289A (en) * 2011-12-26 2012-05-02 中国电信股份有限公司 Wireless fidelity (Wi-Fi) flow guide method and device as well as mobile terminal
US20160234711A1 (en) * 2013-10-23 2016-08-11 Motorola Solutions, Inc. Systems and methods for application controlled network selection between narrowband and broadband wireless networks
US20160219478A1 (en) * 2015-01-28 2016-07-28 Mediatek Inc. RAN Assistance Parameter Reporting for LTE-WLAN Interworking Control and Management
CN108770075A (en) * 2018-05-29 2018-11-06 深圳市零度智控科技有限公司 network connection control method, mobile terminal and computer readable storage medium
CN109246741A (en) * 2018-11-07 2019-01-18 上海连尚网络科技有限公司 Wireless network connecting method for terminal
CN109451538A (en) * 2018-12-29 2019-03-08 上海掌门科技有限公司 A kind of data flow control method and its terminal
CN112312514A (en) * 2020-11-23 2021-02-02 惠州Tcl移动通信有限公司 Method, device and equipment for accessing network and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘兆坤: "异构网络终端接入智能切换***研究", 《通信技术》 *

Also Published As

Publication number Publication date
CN113286341B (en) 2022-07-05

Similar Documents

Publication Publication Date Title
CN105163316B (en) Access the method and device of Wi-Fi Hotspot
CN107424436A (en) A kind of method and device on quick reservation parking stall
CN106560811A (en) Direct broadcasting room recommending method and system based on broadcaster style
CN101510960B (en) Mobile phone camera shooting method and apparatus
CN105406894B (en) The carrier aggregation mode establishing method and communication terminal of a kind of communication terminal
CN106293803A (en) A kind of application control method and device
CN113590337B (en) Method and device for automatically adjusting cloud host configuration in cloud environment
CN110058531B (en) Intelligent household fault pre-prompting system and method
CN113286341B (en) Method, system, terminal and storage medium for automatically switching network
CN112333734A (en) Serving cell switching method and device
CN113709060A (en) Mobile phone short video flow delay control method and system based on big data
CN107908730A (en) A kind of method and apparatus of downloading data
CN109033147A (en) A kind of method for exhibiting data, terminal and computer can storage mediums
CN110320839B (en) Method and device for controlling intelligent curtain, intelligent curtain and storage medium
CN108647347A (en) Pagination Display method, user equipment, storage medium and device
CN108696857A (en) Judge the information processing method and the network equipment of identification card service condition
CN106911537A (en) Information collecting method and information collecting device
CN108199919B (en) Automatic monitoring method for mobile terminal flow
CN107819702A (en) A kind of flow allocation method and device, terminal and readable storage medium storing program for executing
CN107037977A (en) A kind of data write-in control method and system based on mobile terminal
CN106020429A (en) Power saving mode starting method and device and terminal equipment
CN109982412A (en) A kind of wifi access point connection method and device
CN115481284A (en) Cosmetic method and device based on cosmetic box, storage medium and electronic device
CN103559311A (en) Terminal and information flow display method
CN109144327B (en) Special terminal for ocean function zoning evaluation

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230627

Address after: Room 801, 85 Kefeng Road, Huangpu District, Guangzhou City, Guangdong Province

Patentee after: Guangzhou Dayu Chuangfu Technology Co.,Ltd.

Address before: 312000 No. 2799 Qunxianzhong Road, Shaoxing City, Zhejiang Province

Patentee before: SHAOXING UNIVERSITY YUANPEI College