Method and device for sending or displaying network detection results
The AP receives the fault indication information of the STA and performs network detection, sends the detection results to the STA and displays them to the user, solving the problem that users find it difficult to determine the cause of network failure, achieving fast and accurate fault positioning, and protecting the reputation of the manufacturer.
Patent Information
- Application Number
- CN202110170822.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-05
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2041-02-05
AI Technical Summary
When users encounter network failures, they usually need to have professional knowledge to determine the cause of the failure, resulting in unnecessary losses to the reputation of mobile phone manufacturers and router manufacturers.
The fault indication information is received from the STA through the AP, and after receiving the information, the network detection is performed, and after obtaining the detection result, it is sent to the STA, and the STA will display the detection result to the user.
Without the expertise of users, it can quickly determine the cause of network failure, avoid unnecessary losses to the reputation of mobile phone manufacturers and router manufacturers, and increase the rate at which users determine the location of network failure.
Smart Images

Figure CN114885355B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a method and device for sending or displaying network detection results. Background Art
[0002] Wi-Fi is a short-range wireless communication technology that transmits information between Wi-Fi devices via radio waves. Some Wi-Fi devices are directly connected to a wide area network (WAN), and these Wi-Fi devices can be called access points (APs); other Wi-Fi devices access the WAN through APs, and these Wi-Fi devices can be called stations (STAs). For example, when a mobile phone accesses a WAN through a router, the mobile phone is a STA and the router is an AP.
[0003] When a mobile phone accesses a WAN through a router, it may encounter a network failure, which may cause the mobile phone to be unable to access the WAN normally. The location of the network failure may be on the mobile phone, or on the router or server. Users usually need to use network failure detection tools to determine the location of the network failure. For example, a user can visit a web page with an Internet Protocol (IP) address of 192.168.1.1, and then use the failure detection tool on the web page to determine the location of the network failure; users can also use a network failure detection application (APP) to determine the location of the network failure.
[0004] However, the above network fault detection method requires users to have certain professional knowledge. Since most users do not have professional knowledge, they will think that the cause of the network fault is the product defect of the mobile phone or router, which will cause unnecessary reputation loss to the mobile phone manufacturers and router manufacturers. Summary of the invention
[0005] The present application provides a method, device, computer program product and computer-readable storage medium for sending or displaying network detection results, which can determine the cause of network failure when the user does not have professional knowledge, thereby avoiding unnecessary loss of reputation of mobile phone manufacturers and router manufacturers.
[0006] In a first aspect, a method for sending network detection results is provided, comprising: an AP receives fault indication information from a STA, wherein the fault indication information is used to indicate that a network fault occurs to the STA; the AP obtains a network detection result; and the AP sends the network detection result to the STA according to the fault indication information.
[0007] When the AP receives the fault indication information, it means that the STA has experienced a network failure, which may be caused by the operator or by a problem with the Internet access parameter settings. The AP can send the network detection results to the STA based on the trigger of the fault indication information, so that the STA can display the network detection results to the user. In the above scheme, the fault indication information is automatically generated after the STA encounters a network failure, without the need for user operation, so that the user can determine the cause of the network failure without professional knowledge, avoiding unnecessary damage to the reputation of mobile phone manufacturers and router manufacturers.
[0008] Optionally, the network detection result includes a detection result of a fixed network or an access network, and the AP obtains the network detection result, including: the AP performs network detection before receiving the fault indication information to obtain the detection result of the fixed network or the access network.
[0009] The fixed network can be a fiber optic network or cable network connected to the AP, or a core network or other network; the access network can be a wireless network such as a cellular network connected to the AP. For the fixed network or access network, the AP can perform detection without waiting for the AP to be discovered, that is, the AP can perform network detection before receiving the fault indication information, so that when the AP finds the STA, it can send the detection result to the STA as soon as possible. If the detection result indicates that there is a serious fault in the fixed network or access network (such as network disconnection), the STA can cancel the authentication step and the association step after receiving the detection result, thereby avoiding meaningless steps and reducing resource (signaling and power) overhead.
[0010] Optionally, the AP sends the network detection result to the STA according to the fault indication information, including: the AP sends the network detection result to the STA before allocating an IP address to the STA according to the fault indication information.
[0011] The AP can perform network detection before discovering the STA, or it can perform network detection after discovering the STA. The AP obtains the detection result after the network detection, and sends the detection result to the STA before allocating an IP address to the STA. For example, the AP can send the detection result to the STA during the scanning stage, the authentication stage, or the association stage. In this way, even if the communication function between the AP and the STA is not sound (for example, the STA cannot obtain an IP address), the STA can determine the cause of the network failure, thereby avoiding unnecessary damage to the reputation of mobile phone manufacturers and router manufacturers. In addition, if the STA determines the location of the network fault through a web page or APP, the STA can only obtain the detection result after obtaining the IP address. The method provided in the present application enables the STA to obtain the detection result before obtaining the IP address, thereby increasing the rate at which the STA determines the location of the network fault.
[0012] Optionally, the network detection result is carried in a beacon frame.
[0013] The beacon frame includes a vendor specific field, and using the field to carry the network detection result does not require the development of a private protocol, thereby reducing the implementation cost of the present application.
[0014] In a second aspect, a method for displaying network detection results is provided, including: a STA sends fault indication information to an AP, the fault indication information indicating that a network fault occurs to the STA; the STA receives a network detection result from the AP, the network detection result is used to indicate a cause of the network fault; and the STA displays the network detection result.
[0015] When a STA encounters a network failure, the network failure may be caused by the operator or by a problem with the Internet access parameter settings. After receiving the network detection result from the AP, the STA displays the network detection result to the user. In the above scheme, the fault indication information is automatically generated after the STA encounters a network failure, without the need for user operation, so that the cause of the network failure can be determined without the user having professional knowledge, thus avoiding unnecessary damage to the reputation of mobile phone manufacturers and router manufacturers.
[0016] Optionally, it also includes: the STA displays a solution corresponding to the network detection result.
[0017] Some network faults can be resolved through simple user operations. For example, if the network detection result shows that the AP's WAN port is disconnected, the STA can prompt the user to check whether the fiber optic port is loose, thereby quickly resolving some network faults and improving user satisfaction.
[0018] Optionally, the STA receiving a network detection result from the AP includes: the STA receiving the network detection result from the AP before acquiring an IP address from the AP.
[0019] The AP can perform network detection before discovering the STA, or it can perform network detection after discovering the STA. The AP obtains the detection result after the network detection, and sends the detection result to the STA before allocating an IP address to the STA. For example, the AP can send the detection result to the STA during the scanning stage, the authentication stage, or the association stage. In this way, even if the communication function between the AP and the STA is not sound (for example, the STA cannot obtain an IP address), the STA can determine the location of the network fault, thereby avoiding unnecessary damage to the reputation of mobile phone manufacturers and router manufacturers. In addition, if the STA determines the location of the network fault through a web page or APP, the STA can only obtain the detection result after obtaining the IP address. The method provided in the present application enables the STA to obtain the detection result before obtaining the IP address, thereby increasing the rate at which the STA determines the location of the network fault.
[0020] Optionally, the network detection result is carried in a beacon frame.
[0021] The beacon frame contains a manufacturer-defined field, which can be used to carry network detection results without developing a private protocol, thereby reducing the implementation cost of the present application.
[0022] In a third aspect, a device for sending a network detection result is provided, comprising a unit for executing any one of the methods in the first aspect. The device may be a terminal device or a chip in the terminal device. The device may include a sending unit and a processing unit.
[0023] When the device is a terminal device, the processing unit may be a processor, and the sending unit may be an antenna; the terminal device may also include a memory, which is used to store computer program code. When the processor executes the computer program code stored in the memory, the terminal device executes any one of the methods in the first aspect.
[0024] When the device is a chip in a terminal device, the processing unit may be a processing unit inside the chip, and the sending unit may be an output interface, a pin or a circuit, etc.; the chip may also include a memory, which may be a memory inside the chip (for example, a register, a cache, etc.) or a memory located outside the chip (for example, a read-only memory, a random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip executes any one of the methods in the first aspect.
[0025] In a fourth aspect, a device for displaying network detection results is provided, comprising a unit for executing any one of the methods in the second aspect. The device may be a terminal device or a chip in the terminal device. The device may include a receiving unit and a processing unit.
[0026] When the device is a terminal device, the processing unit may be a processor, and the receiving unit may be an antenna; the terminal device may also include a memory, which is used to store computer program code. When the processor executes the computer program code stored in the memory, the terminal device executes any one of the methods in the second aspect.
[0027] When the device is a chip in a terminal device, the processing unit may be a processing unit inside the chip, and the receiving unit may be an input interface, a pin or a circuit, etc.; the chip may also include a memory, which may be a memory inside the chip (for example, a register, a cache, etc.) or a memory located outside the chip (for example, a read-only memory, a random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip executes any one of the methods in the second aspect.
[0028] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program code. When the computer program code is executed by a device that sends network detection results, the device executes any one of the methods in the first aspect.
[0029] In a sixth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program code. When the computer program code is executed by a device for displaying network detection results, the device executes any one of the methods in the second aspect.
[0030] In a seventh aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is executed by a device that sends network detection results, the device executes any one of the methods in the first aspect.
[0031] In an eighth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is executed by a device for displaying network detection results, the device executes any one of the methods in the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 is a schematic diagram of a communication system suitable for the present application;
[0033] Figure 2 It is a schematic diagram of a wireless access process provided by the present application;
[0034] Figure 3 is a schematic diagram of a passive scanning method provided by the present application;
[0035] Figure 4 is a schematic diagram of an active scanning method provided by the present application;
[0036] Figure 5 is a schematic diagram of an authentication method provided by this application;
[0037] Figure 6 is a schematic diagram of another authentication method provided by this application;
[0038] Figure 7 is a schematic diagram of an association method provided by the present application;
[0039] Figure 8 It is a schematic diagram of a method for sending and displaying network detection results provided by the present application;
[0040] Fig. 9 It is a schematic diagram of a format of a manufacturer-defined element provided by this application;
[0041] Fig.10 It is a schematic diagram of an interface for displaying network detection results provided by the present application;
[0042] Fig.11 It is a schematic diagram of another interface for displaying network detection results provided by the present application;
[0043] Fig.12 This is a schematic diagram of another interface for displaying network detection results provided by the present application;
[0044] Fig.13 It is a schematic diagram of a device for sending network detection results provided by the present application;
[0045] Fig.14 It is a schematic diagram of a device for displaying network detection results provided by the present application;
[0046] Fig.15 It is a schematic diagram of an electronic device provided by the present application. DETAILED DESCRIPTION
[0047] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0048] Figure 1 is a schematic diagram of a communication system applicable to the present application.
[0049] The communication system 100 includes a STA 110, an AP 120, an access network 130 and a server 140. Information is transmitted between the STA 110 and the AP 120 via radio waves, information is transmitted between the AP 120 and the access network 130 via optical fibers, cables or wireless signals, and information is transmitted between the access network 130 and the server 140 via fixed networks such as optical fibers or cables.
[0050] In the present application, STA 110 may be a handheld device, a vehicle-mounted device, or a wearable device with a wireless communication function, such as a 3GPP (3 rd The user equipment (UE) and mobile station (MS) defined by the 3rd Generation Partnership Project (3GPP) are:
[0051] The AP 120 provides wireless access services for the STA 110. The AP 120 may be a router, or a mobile phone or other electronic device operating in AP mode.
[0052] The access network 130 may be a wireless access network or a wired access network that meets 3GPP requirements.
[0053] The server 140 is used to provide computing services or application services for the STA 110 .
[0054] It should be noted that the communication system 100 is an example of a communication system applicable to the present application, and the communication system applicable to the present application can also be divided into more specific structures.
[0055] Before STA 110 communicates with server 140, it needs to establish a communication connection with AP 120. The process of establishing the communication connection is the wireless access process. The wireless access process can be divided into three stages, namely, scanning stage, authentication stage and association stage. Figure 2 Briefly describe these three stages.
[0056] 1. Scanning phase.
[0057] The scanning phase is a phase in which the STA 110 and the AP 120 discover each other. From the perspective of the STA 110, there are two ways to discover the AP 120, one is passive scanning and the other is active scanning.
[0058] Passive scanning refers to the process in which STA 110 discovers surrounding APs by listening to beacon frames. The signaling process of passive scanning is as follows: Figure 3 shown.
[0059] APs that provide wireless networks (e.g., AP 110, AP 120, and AP 130) periodically send beacon frames, each of which contains the service set identifier (SSID) of the AP that sent the beacon frame. For example, the beacon frame sent by AP 110 contains SSID 1, the beacon frame sent by AP 120 contains SSID 2, and the beacon frame sent by AP 130 contains SSID 3. STA 110 can listen to beacon frames on supported channels to obtain information about surrounding wireless networks, thereby discovering AP 120.
[0060] Active scanning refers to the process in which STA 110 sends a probe request on a channel it supports and discovers surrounding APs based on the received probe response. The signaling process of active scanning is as follows: Figure 4 shown.
[0061] STA 110 sends a probe request with an SSID field, where the SSID field can be the SSID of AP 120 or can be empty. The former is a designated scanning mode, and the latter is a broadcast scanning mode. If STA 110 sends a probe request in a broadcast scanning mode, all APs (such as AP 110, AP 120, and AP 130) that receive the probe request will send a probe response to STA 110, so that STA 110 can discover the surrounding APs.
[0062] 2. Certification stage.
[0063] The authentication phase is the phase in which AP 120 verifies whether the identity of STA 110 is legitimate. STA 110 can select a suitable AP from the surrounding APs for identity authentication, for example, STA 110 can choose to authenticate with AP 120. Based on the settings of AP 120, STA 110 can perform two-step authentication or four-step authentication.
[0064] Two-step authentication is open-system authentication. The signaling process of open-system authentication is as follows: Figure 5 shown.
[0065] STA 110 may send an authentication request (AuthenticationRequest) without information such as a user name to AP 120;
[0066] After receiving the authentication request, AP 120 replies with an authentication response (Authentication Response), and sets the status code (status code) field of the authentication response to the status of successful authentication.
[0067] Four-step authentication is shared-key authentication. The signaling process of shared-key authentication is as follows: Figure 6 shown.
[0068] STA 110 first sends an authentication request to AP 120;
[0069] After receiving the authentication request, AP 120 randomly generates a challenge value (Challenge) and sends the challenge value to STA 110 through an authentication response;
[0070] STA 110 encrypts the challenge value using a preset key and sends the encrypted challenge value (Encrypted Challenge) to AP 120 via an authentication response;
[0071] AP 120 decrypts the encrypted challenge value using its own key. If the key of STA 110 is the same as the key of AP 120, the challenge value decrypted by AP 120 is the same as the challenge value generated by itself. At this time, AP 120 determines that the authentication is successful and sends an authentication response containing authentication success information to STA 110. If the key of STA 110 is different from the key of AP 120, the challenge value decrypted by AP 120 is different from the challenge value generated by itself. At this time, AP 120 determines that the authentication fails, and sends an authentication response containing authentication failure information to STA 110.
[0072] If the STA 110 is successfully authenticated, the wireless access process may proceed to the next stage.
[0073] 3. Association stage.
[0074] The association phase is a link layer negotiation phase, during which STA 110 and AP 120 can determine link layer configuration parameters based on their respective capabilities. The signaling process of the association phase is as follows: Figure 7 shown.
[0075] STA 110 sends an Association Request to AP 120, which carries various parameters of STA 110 and parameters selected according to the service configuration, such as the transmission rate, signal, quality of service (QoS) supported by STA 110, and the encryption algorithm selected by STA 110.
[0076] After receiving the association request, the AP 120 may send an association response (AssociationResponse) according to its own capabilities, indicating whether to accept the parameters in the association request.
[0077] The above wireless access process is only an example, and the wireless access process applicable to the present application is not limited to this. For example, the authentication stage may also adopt a Wi-Fi protected access pre-shared key (WPA-PSK) authentication method or an extensible authentication protocol (EAP) authentication method.
[0078] Due to the complexity of the communication system, network failures may occur in various links of the communication system 100, thereby causing the STA 110 to be unable to use the network normally.
[0079] For example, when the workload of server 140 is too heavy, STA 110 may be unable to browse the web; a failure in access network 130 may cause broadband dial-up failure; the WAN port of AP 120 is in a disconnected state, and the media access control (MAC) address of STA 110 is not in the Internet whitelist of AP 120, which may cause STA 110 to be unable to use the network normally.
[0080] When a user encounters the above network failure using STA 110, some users will use APP or web pages to determine the location of the network failure, while other users (such as the elderly) will not even use APP or web pages to determine the cause of the network failure. Even if some users use APP or web pages to determine the cause of the network failure, if the communication function between STA 110 and AP 120 is not sound (such as STA 110 cannot obtain an IP address), the mobile phone cannot open the web page or APP, and these users cannot determine the cause of the network failure.
[0081] Users are usually people without professional knowledge. When they cannot determine the cause of a network failure, they usually suspect that the devices they see (ie, STA 110 and AP 120) are faulty, causing unnecessary damage to the reputation of STA manufacturers and AP manufacturers.
[0082] This application provides a method that can determine the cause of a network failure without the user having professional knowledge, thereby avoiding unnecessary loss of reputation of mobile phone manufacturers and router manufacturers. Figure 8 As shown, method 800 includes the following contents.
[0083] S810, the AP 120 receives fault indication information from the STA 110, where the fault indication information is used to indicate that a network fault occurs to the STA 110.
[0084] The above fault indication information can be a bit in a detection request, authentication request, association request or IP message. When the bit is set to 0, it indicates that STA 110 currently has no network fault; when the bit is set to 1, it indicates that STA 110 currently has a network fault. This application does not limit the specific form of the fault indication information.
[0085] S820: AP 120 obtains a network detection result.
[0086] S830, the AP 120 sends the network detection result to the STA 110 according to the fault indication information.
[0087] AP 120 may perform network detection before receiving the fault indication information, or may perform network detection based on the trigger of the fault indication information after receiving the fault indication information. The present application does not limit the timing of network detection. After obtaining the network detection result, AP 120 sends the network detection result to STA 110 based on the trigger of the fault indication information. In the above scheme, the fault indication information is automatically generated after the STA 110 has a network failure, without user operation, so that the cause of the network failure can be determined without the user having professional knowledge, avoiding unnecessary loss of reputation of mobile phone manufacturers and router manufacturers.
[0088] Optionally, the AP 120 may perform network detection before discovering the STA 110, or may perform network detection after discovering the STA 110. These two situations are respectively described below.
[0089] In case 1, the AP 120 performs network detection before discovering the STA 110 .
[0090] For some network failures that can be detected without the participation of STA 110 (eg, access network failures and fixed network failures), AP 120 may perform network detection before discovering STA 110 so as to quickly inform STA 110.
[0091] For example, the detection of the WAN port status, broadband dial-up status, and network access status does not require the participation of the STA 110. The AP 120 can perform the detection and obtain the detection result before discovering the STA 110.
[0092] The WAN port status may be determined based on an interruption event indicating the insertion and disconnection of the WAN port. The insertion and disconnection of the WAN port will trigger the WAN port circuit to report an interruption event. If the most recently reported interruption event indicates that the WAN port status is the insertion status, then the AP 120 may determine that the current WAN port status is the insertion status; if the most recently reported interruption event indicates that the WAN port status is the disconnection status, then the AP 120 may determine that the current WAN port status is the disconnection status.
[0093] The broadband dial-up status can be determined by account login. If the broadband account login is successful, the AP 120 can determine that the broadband dial-up status is normal; if the broadband account login fails, the AP 120 can determine that the broadband dial-up status is abnormal.
[0094] The network access status can be determined based on the ping response of the website. AP 120 can send a ping data packet to a website. If AP 120 receives a ping response from the website before the preset time arrives, the network access status can be determined to be normal; if AP 120 does not receive a ping response from the website before the preset time arrives, the network access status can be determined to be abnormal.
[0095] After discovering the STA 110, the AP 120 may send the fault detection result of the access network or the fixed network to the STA 110 as soon as possible.
[0096] For example, AP 120 may write indication information indicating the detection result in the detection response. If the indication information indicates that the access network or the fixed network is in a normal state, STA 110 may continue to execute the steps of the authentication phase and the association phase; if the indication information indicates that the access network or the fixed network has a serious fault (such as a network disconnection), STA 110 may no longer execute the steps of the authentication phase and the association phase, thereby avoiding the execution of meaningless steps and reducing resource (signaling and power) overhead.
[0097] In case 2, the AP 120 performs network detection after discovering the STA 110 .
[0098] For some network faults that require the participation of the STA 110 to be detected, the AP 120 may perform network detection after discovering the STA 110 .
[0099] For example, AP 120 sets an Internet access whitelist, and only STAs whose MAC addresses are in the Internet access whitelist can access the network through AP 120; AP 120 can obtain the MAC address of STA 110 from the frame sent by STA 110 (such as a detection request). If the MAC address of STA 110 matches the MAC address in the Internet access whitelist, AP 120 can send an indication message indicating that the Internet access whitelist verification is successful to STA 110; if the MAC address of STA 110 does not match the MAC address in the Internet access whitelist, AP 120 can send an indication message indicating that the Internet access whitelist verification has failed to STA 110.
[0100] In addition to the above examples of detecting network failures, other methods can also be used to detect network failures, and the present application does not limit the methods for detecting network failures. In addition, the network detection result can also be notified to STA 110 through other messages. The following is an embodiment of transmitting the network detection result through a beacon frame.
[0101] The beacon frame contains a manufacturer-defined element, which can be filled with customized information. By using this field to carry the network detection results, there is no need to develop a private protocol, which can reduce the implementation cost of the present application.
[0102] The format of the vendor-defined element is as follows Fig. 9 As shown, the vendor-defined element includes the following four fields: element identifier (ID), length, organization identifier, and vendor-specific content, where the element ID and length each occupy one octet, the organization identifier occupies j octets, the vendor-specific content occupies nj octets, j is a positive integer, and j≤n≤255.
[0103] Vendor-defined elements are used to carry information not defined in the Wi-Fi standard in a separately defined format. This ensures that reserved element IDs are not usurped by non-standard uses and that interoperability is more easily achieved in the presentation of non-standard information.
[0104] The length field is used to indicate the length of the manufacturer-defined field.
[0105] The meaning of the organization identification field can be found in section 8.4.1.31 of the IEEE 802.11 standard. In addition, section 8.2.2 of the IEEE 802.11 standard describes the order of the field.
[0106] The manufacturer-defined content field may carry indication information indicating the network detection result.
[0107] For example, one octet of the manufacturer-defined content field can carry 255 codes (i.e., 255 indication information), each code can indicate a network detection result; if the network detection result is that the WAN port is disconnected, the detection result can be indicated by code "1"; if the network detection result is that STA 110 is not in the Internet access whitelist of AP 120, the detection result can be indicated by code "2"; if the network detection result is that broadband dial-up fails, the detection result can be indicated by code "3"; if the network detection result is that the network path is abnormal, the detection result can be indicated by code "4".
[0108] After AP 120 generates a beacon frame carrying indication information, it sends the beacon frame to STA 110 before allocating an IP address to STA 110 .
[0109] For example, AP 120 may send the beacon frame to STA 110 during the scanning phase, authentication phase, or association phase, wherein AP 120 does not obtain an IP address during the scanning phase, authentication phase, or association phase; after STA 110 receives the beacon frame, it determines the network detection result according to the indication information carried by the beacon frame and performs the following steps.
[0110] S840, STA 110 displays the network detection result.
[0111] STA 110 may present the network detection result to the user through text, pictures or language. Figures 10 to 12 These are examples of several ways of displaying network detection results provided in this application.
[0112] When the network detection result shows that STA 110 is not in the Internet access whitelist of AP 120, STA 110 can display the following Fig.10 In this interface, STA 110 displays the detection result to the user through a reminder message of the service APP (hicare), wherein the title of the reminder message is "Wi-Fi networking failure detected", and the content of the reminder message includes "Please check whether the router is set to an Internet whitelist".
[0113] When the network detection result is that the WAN port is abnormal, STA 110 can display the following Fig.11In this interface, STA 110 displays the detection result to the user through a reminder message of the service APP (hicare), wherein the title of the reminder message is "Wi-Fi networking failure detected", and the content of the reminder message includes "Please check whether the router network cable is plugged in properly". The content of the reminder message is used to guide the user to check the fiber optic socket of the router, so that some network failures can be quickly resolved and user satisfaction can be improved.
[0114] When the network detection result is that the broadband dial-up status is abnormal, STA 110 can display the following Fig.12 In this interface, STA 110 displays the detection result to the user through a reminder message of the service APP (hicare), wherein the title of the reminder message is "Wi-Fi networking failure detected", and the content of the reminder message includes "Please check whether the router broadband dial-up is successful".
[0115] Users can Figures 10 to 12 The interface shown clearly identifies the location of the network fault, and attempts to resolve the network fault under the guidance of the reminder message, thereby avoiding unnecessary damage to the reputation of mobile phone manufacturers and router manufacturers.
[0116] The above describes in detail an example of a method for sending and displaying network detection results provided by the present application. It is understandable that, in order to implement the above functions, the corresponding device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0117] The present application can divide the functional units of the device for sending or displaying network detection results according to the above method example. For example, each function can be divided into each functional unit, or two or more functions can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0118] Fig.131300 is a schematic diagram of a device for sending network detection results provided by the present application. The device 1300 includes a processing unit 1310, a sending unit 1320 and a receiving unit 1330, wherein the sending unit 1320 can perform a sending step under the control of the processing unit 1310, and the receiving unit 1330 can perform a receiving step under the control of the processing unit 1310. For example:
[0119] The receiving unit 1330 is used to: receive fault indication information from a STA, where the fault indication information is used to indicate that a network fault occurs to the STA;
[0120] The processing unit 1310 is used to: obtain a network detection result; and send the network detection result to the STA through the sending unit 1320 according to the fault indication information.
[0121] Optionally, the network detection result includes a detection result of a fixed network or an access network, and the processing unit 1310 is specifically used to: perform network detection before receiving the fault indication information to obtain the detection result of the fixed network or the access network.
[0122] Optionally, the processing unit 1310 is specifically configured to: send the network detection result to the STA before allocating an IP address to the STA according to the fault indication information.
[0123] Optionally, the network detection result is carried in a beacon frame.
[0124] The specific manner in which the device 1300 executes the method for sending the network detection result and the beneficial effects produced can refer to the relevant description in the method embodiment.
[0125] Fig.14 1400 is a schematic diagram of a device for displaying network detection results provided by the present application. The device 1400 includes a processing unit 1410, a receiving unit 1420 and a sending unit 1430, wherein the receiving unit 1420 can perform a receiving step under the control of the processing unit 1410, and the sending unit 1430 can perform a sending step under the control of the processing unit 1410. For example:
[0126] The sending unit 1430 is used to: send fault indication information to the AP, where the fault indication information indicates that a network fault occurs in the device 1400;
[0127] The receiving unit 1420 is used to: receive a network detection result from the AP, where the network detection result is used to indicate a cause of the network failure;
[0128] The processing unit 1410 is used to display the network detection result.
[0129] Optionally, the processing unit 1410 is further configured to: display a solution corresponding to the network detection result.
[0130] Optionally, the receiving unit 1420 is specifically configured to: receive the network detection result from the AP before acquiring the IP address from the AP.
[0131] Optionally, the network detection result is carried in a beacon frame.
[0132] The specific manner in which the device 1400 executes the method for displaying network detection results and the beneficial effects produced can refer to the relevant description in the method embodiment.
[0133] Fig.15 A structural schematic diagram of an electronic device provided by the present application is shown. Fig.15 The dotted line in the figure indicates that the unit or the module is optional. The device 1500 can be used to implement the method described in the above method embodiment. The device 1500 can be a terminal device (such as an AP or a STA) or a chip.
[0134] The device 1500 includes one or more processors 1501, which can support the device 1500 to implement the method in the method embodiment. The processor 1501 can be a general-purpose processor or a special-purpose processor. For example, the processor 1501 can be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0135] The processor 1501 may be used to control the device 1500, execute software programs, and process data of the software programs. The device 1500 may also include a communication unit 1505 to implement input (reception) and output (transmission) of signals.
[0136] For example, the device 1500 may be a chip, the communication unit 1505 may be an input and / or output circuit of the chip, or the communication unit 1505 may be a communication interface of the chip, and the chip may be a component of a terminal device or other electronic device.
[0137] For another example, the device 1500 may be a terminal device, the communication unit 1505 may be a transceiver of the terminal device, or the communication unit 1505 may be a transceiver circuit of the terminal device.
[0138] The device 1500 may include one or more memories 1502, on which a program 1504 is stored. The program 1504 can be executed by the processor 1501 to generate instructions 1503, so that the processor 1501 performs the method described in the above method embodiment according to the instructions 1503. Optionally, data may also be stored in the memory 1502. Optionally, the processor 1501 may also read data (such as network detection results) stored in the memory 1502, and the data may be stored at the same storage address as the program 1504, or the data may be stored at a different storage address from the program 1504.
[0139] The processor 1501 and the memory 1502 may be provided separately or integrated together, for example, integrated on a system on chip (SOC) of the terminal device.
[0140] The device 1500 may further include an antenna 1506. The communication unit 1505 is configured to implement the transceiver function of the device 1500 through the antenna 1506.
[0141] The present application also provides a computer program product, which, when executed by the processor 1501, implements the method described in any method embodiment of the present application.
[0142] The computer program product may be stored in the memory 1502 , for example, a program 1504 , which is converted into an executable target file that can be executed by the processor 1501 after preprocessing, compiling, assembling, and linking.
[0143] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the method described in any method embodiment of the present application is implemented. The computer program can be a high-level language program or an executable target program.
[0144] The computer-readable storage medium is, for example, memory 1502. Memory 1502 may be a volatile memory or a nonvolatile memory, or memory 1502 may include both a volatile memory and a nonvolatile memory. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0145] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described devices and equipment and the technical effects produced can refer to the corresponding processes and technical effects in the aforementioned method embodiments, and will not be repeated here.
[0146] In several embodiments provided in the present application, the disclosed systems, devices and methods can be implemented in other ways. For example, some features of the method embodiments described above can be ignored or not performed. The device embodiments described above are merely schematic, and the division of units is only a logical function division. There may be other division methods in actual implementation, and multiple units or components may be combined or integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the above coupling includes electrical, mechanical or other forms of connection.
[0147] It should be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0148] In addition, the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0149] In short, the above is only a preferred embodiment of the technical solution of this application, and is not intended to limit the protection scope of this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application should be included in the protection scope of this application.
Claims
1. A method for sending network detection results, characterized in that: include: The access point AP directly receives fault indication information from the station STA, where the fault indication information is used to indicate that a network fault occurs to the STA, and the fault indication information is automatically generated after the network fault occurs to the STA; The AP obtains a network detection result; The AP sends the network detection result to the STA before allocating an Internet Protocol IP address to the STA according to the fault indication information.
2. The method according to claim 1, characterized in that The network detection result includes a detection result of a fixed network or an access network, and the AP obtains the network detection result, including: The AP performs network detection before receiving the fault indication information to obtain a detection result of the fixed network or the access network.
3. The method according to claim 1 or 2, characterized in that: The network detection result is carried in the beacon frame.
4. A method for displaying network detection results, characterized in that: include: The station STA directly sends fault indication information to the access point AP, where the fault indication information indicates that a network fault occurs to the STA, and the fault indication information is automatically generated after the network fault occurs to the STA; The STA receives a network detection result from the AP before acquiring an Internet Protocol IP address from the AP, where the network detection result is used to indicate a cause of the network failure; The STA displays the network detection result.
5. The method according to claim 4, characterized in that Also includes: The STA displays the solution corresponding to the network detection result.
6. The method according to claim 4 or 5, characterized in that: The network detection result is carried in the beacon frame.
7. A device for sending network detection results, characterized in that: The device comprises a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device executes the method according to any one of claims 1 to 3.
8. A device for displaying network detection results, characterized in that: The device comprises a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device executes the method according to any one of claims 4 to 6.
9. A chip, characterized in that: The method comprises a processor, and when the processor executes instructions, the processor executes the method according to any one of claims 1 to 3, or causes the chip to execute the method according to any one of claims 4 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method according to any one of claims 1 to 3, or the processor executes the method according to any one of claims 4 to 6.
Citation Information
Patent Citations
Management method of router, router and mobile terminal
CN106487584A
Wireless router fault detection method and system
CN107294789A
Method and device for displaying network state of wireless access point
CN107548124A
Network fault processing method and device
CN109769261A