CN113891497A - Network repairing method and device - Google Patents

Network repairing method and device Download PDF

Info

Publication number
CN113891497A
CN113891497A CN202111178373.4A CN202111178373A CN113891497A CN 113891497 A CN113891497 A CN 113891497A CN 202111178373 A CN202111178373 A CN 202111178373A CN 113891497 A CN113891497 A CN 113891497A
Authority
CN
China
Prior art keywords
network
target
input
connection
condition
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.)
Pending
Application number
CN202111178373.4A
Other languages
Chinese (zh)
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 CN202111178373.4A priority Critical patent/CN113891497A/en
Publication of CN113891497A publication Critical patent/CN113891497A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The application discloses a network repairing method and device, and belongs to the technical field of wireless communication. The method comprises the following steps: searching a DNS server which can be used for repairing WIFI network connection under the condition that the connection with the wireless fidelity WIFI network is detected to be invalid; under the condition that N DNS servers are found, displaying a target display window, wherein the target display window comprises N first sub-display areas corresponding to the N DNS servers, network state information of the corresponding DNS server is displayed in each first sub-display area, and N is a positive integer; receiving a first input to a first target area, wherein the first target area is any one of N first sub-display areas; and responding to the first input, and repairing the connection of the WIFI network through a target DNS server, wherein the target DNS server is a DNS server corresponding to the first target area.

Description

Network repairing method and device
Technical Field
The present application belongs to the field of wireless communication technologies, and in particular, to a network repair method and apparatus.
Background
With the rapid development of wireless communication technology, electronic devices such as smart phones and tablet computers have become more and more popular and become an indispensable part of people's daily life. The electronic equipment is interconnected through a network, so that a user can browse information, access audio and video and realize social communication through the electronic equipment.
Currently, the electronics can generally connect to a data traffic network or a Wireless Fidelity (WIFI) network to achieve interconnection. Compared with a data traffic network, a WIFI network generally has the advantages of wide radio wave coverage, high speed, good signal quality, no traffic limitation, and the like, and therefore people prefer to select an electronic device to connect to the WIFI network. Under the condition that the electronic equipment is connected with the WIFI network, the connection failure of the electronic equipment and the WIFI network may occur, namely, the WIFI network signal is good but the electronic equipment cannot surf the internet, and at the moment, the connection between the electronic equipment and the WIFI network needs to be repaired. However, the existing electronic equipment has the problem of complex operation in the process of repairing the connection between the electronic equipment and the WIFI network.
Disclosure of Invention
The embodiment of the application aims to provide a network repairing method and device, and the problem that the operation is complex in the process of repairing the connection between an electronic device and a WIFI network in the prior art can be solved.
In a first aspect, an embodiment of the present application provides a network repairing method, where the method includes:
under the condition that the connection with a wireless fidelity (WIFI) network is detected to be invalid, searching a DNS (domain name system) server which can be used for repairing the WIFI network connection;
displaying a target display window under the condition that N DNS servers are found, wherein the target display window comprises N first sub-display areas corresponding to the N DNS servers, network state information of the corresponding DNS server is displayed in each first sub-display area, and N is a positive integer;
receiving a first input to a first target area, wherein the first target area is any one of the N first sub-display areas;
and responding to the first input, and repairing the connection of the WIFI network through a target DNS server, wherein the target DNS server is a DNS server corresponding to the first target area.
In a second aspect, an embodiment of the present application provides a network repair apparatus, including:
the system comprises a searching module, a judging module and a judging module, wherein the searching module is used for searching a DNS server which can be used for repairing the WIFI network connection under the condition that the connection with the wireless fidelity WIFI network is detected to be invalid;
the display module is used for displaying a target display window under the condition that N DNS servers are found, wherein the target display window comprises N first sub-display areas corresponding to the N DNS servers, network state information of the corresponding DNS server is displayed in each first sub-display area, and N is a positive integer;
a first input module, configured to receive a first input to a first target area, where the first target area is any one of the N first sub-display areas;
and the repairing module is used for responding to the first input and repairing the connection of the WIFI network through a target DNS server, wherein the target DNS server is a DNS server corresponding to the first target area.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the connection failure of the electronic equipment and the WIFI network is detected and N DNS servers are found, a target display window comprising N first sub-display areas corresponding to the N DNS servers is displayed; receiving first input of a user to the first target area based on the network state information displayed in the N first sub-display areas; and responding to the first input, and repairing the connection between the electronic equipment and the WIFI network through a target DNS server corresponding to the first target area. Therefore, under the condition that the connection between the electronic equipment and the WIFI network is invalid, the target display window can be displayed so that a user can select a required target DNS server in the target display window, and the connection between the electronic equipment and the WIFI network is repaired through the target DNS server, so that the repairing process is visual and the operation is convenient.
Drawings
Fig. 1 is a schematic flowchart of a network repairing method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a target display window provided by an embodiment of the present application;
fig. 3 is a schematic structural diagram of a network repair device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The network repairing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a schematic flow chart of a network repairing method provided in an embodiment of the present application is shown, where the network repairing method is applied to an electronic device, as shown in fig. 1, the method at least includes the following steps 101 to 104.
Step 101, when detecting that a connection with a Wireless Fidelity (WIFI) network fails, searching a Domain Name System (DNS) server that can be used to repair the WIFI network connection.
And 102, displaying a target display window under the condition that N DNS servers are found, wherein the target display window comprises N first sub-display areas corresponding to the N DNS servers, network state information of the corresponding DNS server is displayed in each first sub-display area, and N is a positive integer.
Step 103, receiving a first input to a first target area, where the first target area is any one of the N first sub-display areas.
And step 104, responding to the first input, and repairing the connection with the WIFI network through a target DNS server, wherein the target DNS server is a DNS server corresponding to the first target area.
Based on the above, under the condition that the connection failure of the electronic equipment and the WIFI network is detected and N DNS servers are found, displaying a target display window comprising N first sub-display areas corresponding to the N DNS servers; receiving first input of a user to the first target area based on the network state information displayed in the N first sub-display areas; and responding to the first input, and repairing the connection between the electronic equipment and the WIFI network through a target DNS server corresponding to the first target area. Therefore, under the condition that the connection between the electronic equipment and the WIFI network is invalid, the target display window can be displayed so that a user can select a required target DNS server in the target display window, and the connection between the electronic equipment and the WIFI network is repaired through the target DNS server, so that the repairing process is visual and the operation is convenient.
In step 101, in the case that the electronic device is connected to the WIFI network, if the electronic device detects that the connection between the electronic device and the WIFI network is invalid, the electronic device searches for a DNS server that can be used to repair the connection between the electronic device and the WIFI network.
The connection between the electronic equipment and the WIFI network is invalid, and the working state of the WIFI network is normal, but the electronic equipment cannot surf the internet through the WIFI network.
In addition, the searching for the DNS server that can be used to repair the connection between the electronic device and the WIFI network may be that the electronic device generates a DNS server search command when detecting that the connection between the electronic device and the WIFI network is invalid, and the electronic device executes a search operation in response to the DNS server search command to search for the DNS server that can be used to repair the connection between the electronic device and the WIFI network.
In step 102, after the electronic device searches for DNS servers that can be used for repairing the WIFI network connection, the electronic device may search for N DNS servers, and when the electronic device searches for N DNS servers, the electronic device displays the target display window in a pop-up window on a display interface of the electronic device.
In the N DNS servers, any one DNS server may be used to repair the connection between the electronic device and the WIFI network, and the N DNS servers may be one or more DNS servers. For example, the electronic device may find 3 DNS servers, including DNS1, DNS2, and DNS3, among others.
In addition, the target display window may be displayed in a display interface of the electronic device, and the target display window includes the N first sub-display regions, where the N first sub-display regions correspond to the N DNS servers one to one, and each first sub-display region displays network status information of the DNS server corresponding to the first sub-display region, and the network status information may include at least one of a stability index (e.g., a packet loss rate, a time delay, and the like) of the DNS server, a network speed range, and the like.
The shape, size, display position, and the like of the target display window may be set according to actual needs, and are not limited herein.
Specifically, the target display window is a disk-shaped window, and the disk-shaped window is provided with a first rotatable display layer that is rotatable around a center, and the first rotatable display layer includes the N first sub-display regions; in addition, the disk-shaped window is also provided with a pointer, and the pointer is used for indicating the selected first sub-display area.
For example, as shown in fig. 2, the electronic device may display the disc-shaped window 20 in a display interface thereof, and the first rotatable display layer 21 of the disc-shaped window 20 may include at least 3 sub-display regions (i.e., N ═ 3), and the 3 sub-display regions respectively display therein network status information (such as a stability index and a network speed range) of the DNS1, network status information of the DNS2, and network status information of the DNS 3.
In step 103, when the electronic device displays the target display window, the user may input a first input to a first target area of the N first sub-display areas based on the network status information displayed in each first sub-display area in the target display window.
The first input may be any input to the first target area, and may be at least one of a voice input, a gesture input, a touch input, and the like, and the touch input may include a click input, a press input, or a slide input, and the like.
For example, when the electronic device displays the disk window 20, if the user needs to select the DNS2 with high stability and high network speed according to the stability index and the network speed range of each DNS server displayed in the disk window 20, the user may input a rotation input to the first rotatable display layer 21 so that the pointer 200 in the disk window 20 is positioned in the sub display area 212.
In step 104, after the electronic device receives the first input, the electronic device responds to the first input, and restores the connection between the electronic device and the WIFI network through the target DNS server corresponding to the first target area, so that the connection between the electronic device and the WIFI network is normal.
For example, in a case where the pointer 21 indicates the sub display region where the network state information of the DNS2 is displayed, if the electronic device receives a click input of a user clicking the "ok" control, the electronic device determines the DNS2 as the target DNS server and repairs its connection with the WIFI network through the DNS 2.
It should be noted that, in the embodiment of the present application, since no improvement is made on a process of the electronic device repairing its connection with the WIFI network through the DNS server, the repairing process is well known to those skilled in the art, and is not described herein again.
In some embodiments, after the step 104, the method may further include:
detecting a first network speed of the WIFI network under the condition that the connection with the WIFI network is normal;
and under the condition that the first network speed is detected to meet a first preset condition, starting connection between the electronic equipment and a data traffic network, and controlling the data traffic network to compensate for the first network speed so as to adjust the network speed of the electronic equipment from the first network speed to a second network speed, wherein the second network speed is higher than the first network speed.
Based on this, under the condition that the connection state of the electronic device and the WIFI network is normal, if the electronic device detects that the first network speed of the WIFI network meets the first preset condition, the electronic device may open the connection with the data traffic network, and control the data traffic network to compensate for the network speed of the WIFI network, so that the network speed of the electronic device may be increased.
In this embodiment, under the condition that the connection between the electronic device and the WIFI network is normal, the electronic device may detect the network speed of the WIFI network, and determine whether the detected first network speed satisfies a first preset condition.
The first preset condition is preset in the electronic device, and may be implemented at any time and in any manner that the first preset condition may be set. For example, the first preset condition may be set in a WIFI configuration interface by a user when the electronic device is connected to the WIFI.
Alternatively, in some embodiments, the target display window may further include a first condition setting area, where M is a positive integer;
before the step of starting the connection between the electronic device and the data traffic network when it is detected that the first network speed satisfies the first preset condition, the method further includes:
receiving a second input of the user in the first condition setting area;
in response to the second input, the first preset condition is determined.
Based on this, by setting the first condition setting area in the target display window, the user can set the first preset condition by inputting the second input in the first condition setting area under the condition that the target display window is displayed by the electronic device, so that the operation is convenient and fast, and time is saved.
The first condition setting area may be a display area for inputting the first preset condition, and the first condition setting area may be located in a display area of the target display window other than the M first sub-display areas.
The second input may be any input for setting the first preset condition to the first condition setting area, and may be at least one of a voice input, a gesture input during an idle operation, a touch input, and the like. For example, in a case where the first condition setting area is provided with a voice input control, the second input may be an input in which the user presses the voice input control and inputs voice, and the like.
The shape, size, position, and the like of the first condition setting area in the target display window may be set according to actual needs, and are not limited herein.
In this embodiment, the first preset condition may be any condition for determining that the network speed of the WIFI network needs to be compensated.
For example, a network speed threshold may be input in the first condition setting area, and the first preset condition may be that the network speed threshold is less than or equal to the network speed threshold (e.g., 100 kb/s), that is, when the first network speed is less than or equal to the network speed threshold, the electronic device controls the data traffic network to compensate for the first network speed of the WIFI network.
In some embodiments, the first condition setting area may include M second sub-display areas, and the M second sub-display areas correspondingly display M network speed ranges, where M is a positive integer;
the second input is input to a second target region, and the second target region is any one of the M second sub-display regions;
the starting of the connection between the electronic device and the data traffic network when it is detected that the first network speed satisfies the first preset condition may include:
and under the condition that the first network speed is detected to be in a target network speed range, starting the connection between the electronic equipment and a data traffic network, wherein the target network speed range is a network speed range corresponding to the second target area in the M network speed ranges.
Based on this, the user can select the target network speed range through the M second sub-display areas, so that when the network speed of the WIFI network is within the target network speed range, the electronic device controls the data traffic network to compensate the network speed, and the operation of setting the first preset condition by the user is more convenient and time-saving.
The first condition setting area may include the M second sub-display areas, and the M second sub-display areas correspondingly display M network speed ranges. Specifically, in the case where the target display window is the disk-shaped window, the disk-shaped window may be further provided with a second rotatable display layer, the second rotatable display layer includes the M second sub-display regions, and the second rotatable display layer is arranged side by side with the first rotatable display layer.
Illustratively, as shown in fig. 2, the second rotatable display layer 22 of the disc-shaped window 20 may include at least 3 sub-display regions (i.e., M ═ 3), in which the network speed ranges 0-50KB/s, 50-100KB/s and 100-; if the user rotates the second rotatable display layer 22, so that the pointer 200 is located in the sub-display area displaying 100-.
In addition, when the electronic device controls the data traffic network to compensate for the first network speed, the electronic device may not limit the traffic used by the data traffic network.
In some embodiments, after the starting of the connection between the electronic device and the data traffic network and the controlling of the data traffic network to compensate for the first network speed, the method further includes:
detecting usage traffic of the electronic device in a data traffic network when the electronic device is connected to the data traffic network;
and closing the connection between the electronic equipment and the data traffic network under the condition that the usage traffic is detected to meet a second preset condition.
Based on this, under the condition that the electronic device compensates for the first network speed of the electronic device through the data traffic network, the electronic device can timely close the connection between the electronic device and the data traffic network according to the usage traffic of the data traffic network, so that the electronic device is prevented from using too much traffic under the data traffic network.
The second preset condition is preset in the electronic device, and may be implemented at any time and in any manner that the second preset condition may be set. For example, the second preset condition may be set in the data traffic network configuration interface when the electronic device is connected to the data traffic network.
Alternatively, in some embodiments, the target display window further includes a second condition setting area, where M is a positive integer;
before the step of closing the connection between the electronic device and the data traffic network when it is detected that the usage traffic satisfies the second preset condition, the method may further include:
receiving a third input of the user in the second condition setting area;
in response to the third input, the second preset condition is determined.
Based on this, by setting the second condition setting area in the target display window, the user can set the second preset condition by inputting a third input in the second condition setting area under the condition that the target display window is displayed by the electronic device, so that the operation is convenient and fast, and time is saved.
The second condition setting area may be a display area for inputting the second preset condition, and the second condition setting area may be located in a display area of the target display window other than the M first sub-display areas.
The third input may be any input for setting the second preset condition to the second condition setting area, and may be at least one of a voice input, a gesture input during an idle operation, a touch input, and the like. For example, in a case where the second condition setting area is provided with a voice input control, the third input may be an input in which the user presses the voice input control and inputs voice, or the like.
The shape, size, position, and the like of the second condition setting area in the target display window may be set according to actual needs, and are not limited herein.
In this embodiment, the second preset condition may be any condition for determining that the connection between the electronic device and the data traffic network needs to be closed.
For example, a traffic threshold may be input in the second condition setting area, and the second preset condition may be greater than or equal to the traffic threshold (e.g., 1000M, etc.), that is, in a case that the usage traffic is greater than or equal to the traffic threshold, the electronic device closes its connection to the data traffic network.
In some embodiments, the second condition setting area may include K third sub-display areas, and the K third sub-display areas correspondingly display K flow ranges, where K is a positive integer;
the third input is input to a third target area, and the third target area is any one of the K third sub-display areas;
the closing the connection between the electronic device and the data traffic network when it is detected that the usage traffic satisfies a second preset condition may include:
and closing the connection between the electronic equipment and the data traffic network when the usage traffic is detected to exceed a target traffic range, wherein the target traffic range is a traffic range corresponding to the third target area in the K traffic ranges.
Based on this, the user can select the target flow range through the K third sub-display areas, so that when the usage flow exceeds the target flow range, the electronic device closes the connection between the electronic device and the data flow network, and the operation of setting the second preset condition by the user is more convenient and time-saving.
The second condition setting area may include the K third sub-display areas, and the K third sub-display areas correspondingly display K flow ranges. Specifically, in the case where the target display window is the disk-shaped window, the disk-shaped window may further include a third rotatable display layer, the third rotatable display layer includes the K third sub-display regions, and the third rotatable display layer is disposed in parallel with the first rotatable display layer and the second rotatable display layer.
Illustratively, as shown in fig. 2, the third rotatable display layer 23 of the disc-shaped window 20 may include at least 3 sub-display regions (i.e., K — 3), and the 3 sub-display regions respectively display flow ranges of 0-200M, 0-500M, and 0-1000M; if the user rotates the third rotatable display layer 23 to make the pointer 200 located in the sub-display area where the flow range 0-500M is displayed, and the electronic device receives the click input of the user clicking the "confirm" control, the electronic device closes the connection with the data flow network when the usage flow exceeds 0-500M.
It should be noted that, in the network repairing method provided in the embodiment of the present application, the execution subject may be a network repairing apparatus, or a control module in the network repairing apparatus for executing the network repairing method. In the embodiment of the present application, a network repair device executing a network repair method is taken as an example to describe the network repair device provided in the embodiment of the present application.
Please refer to fig. 3, which is a schematic structural diagram of a network repair apparatus according to an embodiment of the present application, and is applied to the electronic device. As shown in fig. 3, the network repairing apparatus 300 at least includes a searching module 301, a displaying module 302, a first inputting module 303 and a repairing module 304.
The searching module 301 is configured to search, when it is detected that the connection with the WIFI network is failed, a DNS server that can be used to repair the WIFI network connection.
The display module 302 is configured to display a target display window when N DNS servers are found, where the target display window includes N first sub-display regions corresponding to the N DNS servers, and network state information of the DNS server corresponding to each first sub-display region is displayed in each first sub-display region, where N is a positive integer.
The first input module 303 is configured to receive a first input to a first target area, where the first target area is any one of the N first sub-display areas.
The repairing module 304 is configured to, in response to the first input, repair the connection of the WIFI network through a target DNS server, where the target DNS server is a DNS server corresponding to the first target area.
In some embodiments, the apparatus 300 may further include a network speed detection module and a network speed compensation module.
The network speed detection module is used for detecting a first network speed of the WIFI network under the condition that the connection with the WIFI network is normal.
The network speed compensation module is used for starting connection between the electronic equipment and a data traffic network and controlling the data traffic network to compensate for the first network speed under the condition that the first network speed is detected to meet a first preset condition, so that the network speed of the electronic equipment is adjusted from the first network speed to a second network speed, wherein the second network speed is greater than the first network speed.
In some embodiments, the target display window may further include a first condition setting area.
The apparatus 300 may further include a second input module and a first preset condition determination module.
The second input module is used for receiving a second input of the user in the first condition setting area.
The first preset condition determining module is used for responding to the second input and determining the first preset condition.
In some embodiments, the first condition setting area may include M second sub-display areas, and the M second sub-display areas correspondingly display M network speed ranges, where M is a positive integer.
The second input may be an input to a second target region, where the second target region is any one of the M second sub-display regions.
The network speed compensation module may be specifically configured to:
and under the condition that the first network speed is detected to be in a target network speed range, starting connection between the electronic equipment and a data traffic network, wherein the target network speed range is a network speed range corresponding to the second target area in the M network speed ranges.
In some embodiments, the apparatus 300 may further include a usage flow detection module and a connection closure module.
The usage traffic detection module is used for detecting usage traffic of the electronic device under a data traffic network under the condition that the electronic device is connected with the data traffic network.
The connection closing module is used for closing the connection between the electronic equipment and the data traffic network when detecting that the usage traffic meets a second preset condition.
In some embodiments, the target display window may further include a second condition setting area.
The apparatus 300 may further include a third input module and a second preset condition determination module.
The third input module is used for receiving a third input of the user in the second condition setting area.
The second preset condition determining module is used for responding to the third input and determining the second preset condition.
In some embodiments, the second condition setting area may include K third sub-display areas, and the K third sub-display areas correspondingly display K flow ranges, where K is a positive integer.
The third input may be an input to a third target area, where the third target area is any one of the K third sub-display areas.
The connection closing module may specifically be configured to:
and closing the connection between the electronic equipment and the data traffic network when the usage traffic is detected to exceed a target traffic range, wherein the target traffic range is a traffic range corresponding to the third target area in the K traffic ranges.
The network repair device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The network repair apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The network repair apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the foregoing network repair method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated 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. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, processor 510 may be configured to, in the event that a connection with a WIFI network is detected to be invalid, find a DNS server that may be used to repair the WIFI network connection.
The display unit 506 may be configured to display a target display window when N DNS servers are found, where the target display window includes N first sub-display regions corresponding to the N DNS servers, and network state information of the DNS server corresponding to each first sub-display region is displayed in each first sub-display region, where N is a positive integer.
The user input unit 507 may be configured to receive a first input to a first target region, where the first target region is any one of the N first sub-display regions.
Processor 510 may be further configured to, in response to the first input, repair the connection to the WIFI network through a target DNS server, where the target DNS server is a DNS server corresponding to the first target zone.
In some embodiments, processor 510 may also be configured to:
detecting a first network speed of the WIFI network under the condition that the connection with the WIFI network is normal;
and under the condition that the first network speed is detected to meet a first preset condition, starting connection between the electronic equipment and a data traffic network, and controlling the data traffic network to compensate for the first network speed so as to adjust the network speed of the electronic equipment from the first network speed to a second network speed, wherein the second network speed is higher than the first network speed.
In some embodiments, the target display window may further include a first condition setting area;
the user input unit 507 may also be used to receive a second input of the user at the first condition setting area.
Processor 510 may be further configured to determine the first preset condition in response to the second input.
In some embodiments, the first condition setting area may include M second sub-display areas, and the M second sub-display areas correspondingly display M network speed ranges, where M is a positive integer.
The second input may be an input to a second target region, where the second target region is any one of the M second sub-display regions.
The processor 510 may be configured to, when it is detected that the first network speed is in a target network speed range, open a connection between the electronic device and a data traffic network, where the target network speed range is a network speed range corresponding to the second target area in the M network speed ranges.
In some embodiments, processor 510 may also be configured to:
detecting usage traffic of the electronic device under a data traffic network in case of connection of the electronic device with the data traffic network;
and under the condition that the usage flow is detected to meet a second preset condition, closing the connection between the electronic equipment and the data flow network.
In some embodiments, the target display window may further include a second condition setting area;
the user input unit 507 may be further configured to receive a third input from the user at the second condition setting area.
Processor 510 may be further configured to determine the second preset condition in response to the third input.
In some embodiments, the second condition setting area may include K third sub-display areas, and the K third sub-display areas correspondingly display K flow ranges, where K is a positive integer.
The third input may be an input to a third target area, where the third target area is any one of the K third sub-display areas.
The processor 510 may be configured to close the connection between the electronic device and the data traffic network when it is detected that the usage traffic exceeds a target traffic range, where the target traffic range is a traffic range corresponding to the third target area in the K traffic ranges.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing network repair method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above network repair method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for network repair, comprising:
under the condition that the connection with a wireless fidelity (WIFI) network is detected to be invalid, searching a Domain Name System (DNS) server which can be used for repairing the WIFI network connection;
displaying a target display window under the condition that N DNS servers are found, wherein the target display window comprises N first sub-display areas corresponding to the N DNS servers, network state information of the corresponding DNS server is displayed in each first sub-display area, and N is a positive integer;
receiving a first input to a first target area, wherein the first target area is any one of the N first sub-display areas;
and responding to the first input, and repairing the connection of the WIFI network through a target DNS server, wherein the target DNS server is a DNS server corresponding to the first target area.
2. The method of claim 1, wherein after repairing the connection of the WIFI network through the target DNS server in response to the first input, the method further comprises:
detecting a first network speed of the WIFI network under the condition that the connection with the WIFI network is normal;
and under the condition that the first network speed is detected to meet a first preset condition, starting connection between the electronic equipment and a data traffic network, and controlling the data traffic network to compensate for the first network speed so as to adjust the network speed of the electronic equipment from the first network speed to a second network speed, wherein the second network speed is higher than the first network speed.
3. The method of claim 2, wherein the target display window further comprises a first condition setting area;
before the connection between the electronic device and the data traffic network is opened when it is detected that the first network speed satisfies a first preset condition, the method further includes:
receiving a second input of the user in the first condition setting area;
in response to the second input, the first preset condition is determined.
4. The method of claim 2, wherein after the opening of the connection between the electronic device and the data traffic network and the controlling of the data traffic network to compensate for the first network speed, the method further comprises:
detecting usage traffic of the electronic device under a data traffic network in case of connection of the electronic device with the data traffic network;
and under the condition that the usage flow is detected to meet a second preset condition, closing the connection between the electronic equipment and the data flow network.
5. The method of claim 4, wherein the target display window further comprises a second condition setting area;
before the step of closing the connection between the electronic device and the data traffic network when it is detected that the usage traffic satisfies a second preset condition, the method further includes:
receiving a third input of the user in the second condition setting area;
in response to the third input, determining the second preset condition.
6. A network repair device, comprising:
the system comprises a searching module, a judging module and a judging module, wherein the searching module is used for searching a DNS server which can be used for repairing the WIFI network connection under the condition that the connection with the wireless fidelity WIFI network is detected to be invalid;
the display module is used for displaying a target display window under the condition that N DNS servers are found, wherein the target display window comprises N first sub-display areas corresponding to the N DNS servers, network state information of the corresponding DNS server is displayed in each first sub-display area, and N is a positive integer;
a first input module, configured to receive a first input to a first target area, where the first target area is any one of the N first sub-display areas;
and the repairing module is used for responding to the first input and repairing the connection of the WIFI network through a target DNS server, wherein the target DNS server is a DNS server corresponding to the first target area.
7. The apparatus of claim 6, further comprising:
the network speed detection module is used for detecting a first network speed of the WIFI network under the condition that the connection with the WIFI network is normal;
the network speed compensation module is configured to, when it is detected that the first network speed meets a first preset condition, start connection between the electronic device and a data traffic network, and control the data traffic network to compensate for the first network speed, so that the network speed of the electronic device is adjusted from the first network speed to a second network speed, where the second network speed is greater than the first network speed.
8. The apparatus of claim 7, wherein the target display window further comprises a first condition setting area;
the device further comprises:
the second input module is used for receiving a second input of the user in the first condition setting area;
a first preset condition determining module, configured to determine the first preset condition in response to the second input.
9. The apparatus of claim 7, further comprising:
the using flow detection module is used for detecting the using flow of the electronic equipment under the data flow network under the condition that the electronic equipment is connected with the data flow network;
and the connection closing module is used for closing the connection between the electronic equipment and the data traffic network under the condition that the use traffic is detected to meet a second preset condition.
10. The apparatus of claim 9, wherein the target display window further comprises a second condition setting area;
the device further comprises:
the third input module is used for receiving a third input of the user in the second condition setting area;
a second preset condition determining module, configured to determine the second preset condition in response to the third input.
CN202111178373.4A 2021-10-09 2021-10-09 Network repairing method and device Pending CN113891497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111178373.4A CN113891497A (en) 2021-10-09 2021-10-09 Network repairing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111178373.4A CN113891497A (en) 2021-10-09 2021-10-09 Network repairing method and device

Publications (1)

Publication Number Publication Date
CN113891497A true CN113891497A (en) 2022-01-04

Family

ID=79005842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111178373.4A Pending CN113891497A (en) 2021-10-09 2021-10-09 Network repairing method and device

Country Status (1)

Country Link
CN (1) CN113891497A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004310194A (en) * 2003-04-02 2004-11-04 Sony Corp Method for checking condition of network and terminal device
US20120057578A1 (en) * 2010-09-07 2012-03-08 Samsung Electronics Co. Ltd. Apparatus and method for determining validity of wifi connection in wireless communication system
CN103546590A (en) * 2013-10-18 2014-01-29 北京奇虎科技有限公司 Method and device for choosing DNS (domain name server)
CN103973835A (en) * 2014-05-16 2014-08-06 北京金山网络科技有限公司 Domain name system server selection method and device
CN105722248A (en) * 2016-01-29 2016-06-29 努比亚技术有限公司 Network speed superposing device and method
CN110708696A (en) * 2019-09-17 2020-01-17 RealMe重庆移动通信有限公司 Network data recovery method and device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004310194A (en) * 2003-04-02 2004-11-04 Sony Corp Method for checking condition of network and terminal device
US20120057578A1 (en) * 2010-09-07 2012-03-08 Samsung Electronics Co. Ltd. Apparatus and method for determining validity of wifi connection in wireless communication system
CN103546590A (en) * 2013-10-18 2014-01-29 北京奇虎科技有限公司 Method and device for choosing DNS (domain name server)
CN103973835A (en) * 2014-05-16 2014-08-06 北京金山网络科技有限公司 Domain name system server selection method and device
CN105722248A (en) * 2016-01-29 2016-06-29 努比亚技术有限公司 Network speed superposing device and method
CN110708696A (en) * 2019-09-17 2020-01-17 RealMe重庆移动通信有限公司 Network data recovery method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US10050456B2 (en) Mobile handset recharge
US20130312106A1 (en) Selective Remote Wipe
US20240012605A1 (en) Data Processing Method and Mobile Device
WO2023045885A1 (en) Synchronization method and apparatus
CN112433693B (en) Split screen display method and device and electronic equipment
CN112269506B (en) Screen splitting method and device and electronic equipment
CN112835485A (en) Application interface processing method and device, electronic equipment and readable storage medium
CN112148167A (en) Control setting method and device and electronic equipment
CN111813299A (en) Information sharing method, information sharing device and electronic equipment
WO2023030114A1 (en) Interface display method and apparatus
CN112099702A (en) Application running method and device and electronic equipment
CN112286612A (en) Information display method and device and electronic equipment
CN112764611B (en) Application program control method and device and electronic equipment
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN112416172A (en) Electronic equipment control method and device and electronic equipment
WO2023155745A1 (en) Interface display method and apparatus
CN113891497A (en) Network repairing method and device
CN112104785B (en) Information display method and device
CN112148175B (en) Notification display mode setting method and device, electronic equipment and storage medium
US11327558B2 (en) Physical gesture based data manipulation within a virtual scene for investigating a security incident
CN114416269A (en) Interface display method and display device
CN114222355A (en) Terminal power saving display method and device and electronic equipment
CN113672136A (en) Information display method, device, equipment and storage medium
CN113655937A (en) Application management method and device, electronic equipment and readable storage medium
CN113253884A (en) Touch method, touch device and electronic equipment

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