The present invention relates to a system and method for analyzing reason for network connection failure, and more particularly, to a system and method for analyzing reason for network connection failure between an electronic information device and a wireless network.
Wireless Local Area Network (WLAN) realizes network connections and obtains various services from the network without the need for physical media, such as cables. Thus, it is widely employed in various places, such as industries, schools, hotels and scenic spots. In comparison to the current wired network infrastructure, it has the advantages of establishing communications with network systems without the need of communication lines in order to utilize resources provided. Normally, the network coverage of a WLAN depends on the openness of the environment. With no addition of antenna, the coverage is about 250 meters. In semi-opened space with intervals, the coverage is about 35˜30 meters. With the addition of antenna, the effective coverage distance is of course longer. Along with the maturity of network-related technologies and network protocols used, users heavily employ wireless communication network for convenience reasons. In general wireless communication network applications, users only need to insert a wireless network card into an electronic information device with a WLAN interface, such as a personal computer or a hand-held device, the electronic information device then performs site survey, i.e. searches for an access point (e.g. a bridge) or a wireless router capable of wireless network connection and other user ends using the wireless network within the connection range of the installed wireless network card. After connection request and network establishment, various services provided by the wireless network can be used. Additionally, the electronic information device is able to freely move about within the wireless network coverage area while staying connected to the network.
In
However, in the wireless network connection technology of the current WLAN, if the electronic information device is unable to establish a wireless network connection with the wireless network base station, the electronic information device will only notify the user with a network connection failure message, but not the reason for such failure. The user is unable to determine whether the problem of wireless network connection failure is due to the electronic information device, the wireless network base station or the wireless network space. Thus, no effective and prompt measures can be taken by the user, which left the user in a helpless situation. Additionally, if the user is not using certified mechanism, after wireless network connection failed, the user may be confused since a connection established message may be returned by the wireless network base station.
Thus, in general, the user has to perform site survey from the beginning and analyze on his/her own any returned signal data to determine the possible reasons behind the wireless network connection failure. However, such manner can only be performed by a user skilled in this art. For a layperson, it would often be a time-consuming and challenging task. Furthermore, this method requires the site survey to be performed from the start, which causes inconveniences for the users. Moreover, the users have to analyze the data by themselves to derive the reason of failure, which is time consuming and mentally demanding. Even if the reason of the wireless network connection failure is determined by the users, it is not always correct due to individual subjectiveness, so the users are still unable to take corresponding measures promptly and effectively to solve the problem of wireless network connection failure.
Thus, a method and system for analyzing reason of network connection failure is required to solve aforementioned problems in the prior art and to provide users with fast and accurate reasons of wireless network connection failure, allowing prompt and effective measures to be taken by the users.
In the light of forgoing drawbacks, an objective of the present invention is to provide a system and method for analyzing the reason for network connection failure, so that users can accurately and quickly obtain the reason for wireless network connection failure.
Another objective of the present invention is to provide a system and method for analyzing the reason for network connection failure that allows the users to take corresponding measures promptly and effectively based on the reason for network connection failure.
In accordance with the above and other objectives, the present invention provides a system for analyzing the reason for network connection failure applicable in an electronic information device supporting wireless network, comprising an enabling module that enables the electronic information device to scan a status of the wireless network and obtains data of parameter settings of a wireless network being scanned; and a processing module for analyzing the reason for the network connection failure between the electronic information device and the wireless network according to the data of parameter settings obtained by the enabling module and parameter data inputted by a user and informing the user of the reason for the connection failure.
Corresponding to the system for analyzing reason for network connection failure, the present invention further discloses a method for analyzing the reason for network connection failure applicable in an electronic information device supporting wireless network. The method firstly enables the electronic information device to scan a status of the wireless network and obtains data of parameter settings of the wireless network, and then compares the data of parameter settings with parameter data inputted by the user in order to analyze and obtain the reason for the network connection failure between the electronic information device and the wireless network, and finally informs the user the reason for the network connection failure.
In comparison to the problems exist in the prior art, the present invention allows users to input a plurality of parameter data for connecting with a wireless network via the electronic information device, and after wireless network connection fails, obtains the reason for such connection failure such that corresponding measures can be taken promptly and effectively.
The present invention can be more fully understood by reading the following detailed description of the preferred embodiments, with reference made to the accompanying drawings, wherein:
The present invention is described by the following specific embodiments. Those with ordinary skills in the arts can readily understand the other advantages and functions of the present invention after reading the disclosure of this specification. The present invention can also be implemented with different embodiments. Various details described in this specification can be modified based on different viewpoints and applications without departing from the scope of the present invention.
In
The system 1 for analyzing reasons for network connection failure of the present invention can be externally connected to or internal built in the electronic information device 100. This embodiment illustrates the internal built-in manner. The system comprises an enabling module 10 and a processing module 12. The enabling module is used for the electronic information device to scan the status of the wireless network 200, and obtains data of parameter setting thereof when the wireless network is scanned. The processing module is used for analyzing a reason of connection failure between the electronic information device 100 and the wireless network 200 according to the data of parameter settings obtained by the enabling module 10 and parameter data entered by a user 300, and subsequently informing the user 300 of the reason of the connection failure.
The enabling module 10 makes the electronic information device 100 to perform a site survey to scan the status of the wireless network 200 and obtains the data of parameter settings thereof when the wireless network 200 is scanned. The data of parameter settings at least includes a SSID and an encryption parameter. The encryption parameter comprises an encryption type.
The processing module 12 comprises: an identifier comparing unit 120, a signal strength determining unit 122, an encryption parameter comparing unit 124 and an analyzing unit 126.
The identifier comparing unit 120 is used for determining whether an SSID exists in the data of parameter settings obtained by the enabling module 10. If so, the SSID in the data of parameter settings are compared with the SSID in the parameter data and a message of the identifier comparison result is outputted. If not, then a no network message is outputted. The signal strength determining unit 122 determines network connection signal strength of the wireless network according to the data of parameter settings obtained by the enabling module 10, and a message of the signal strength determining result is outputted. The encryption parameter comparing unit 124 compares the encryption parameter in the data of parameter settings obtained by the enabling module 10 and the encryption parameter in the parameter data, and a message of the encryption parameter comparing result in outputted. The analyzing unit 126 is used to receive the message of the identifier comparing result or the no network message, the message of the signal strength determining result and the message of the encryption parameter comparing result, and analyze these messages to determine the reason for connection failure between the electronic information device 100 and the wireless network 200, and inform the user 300 of the reason of connection failure.
The analysis performed by the analyzing unit 126 comprises the steps as follows. The analyzing unit 126 analyzes the identifier comparing result message or the no network message. If the no network message is received, the user 300 is informed that no network service is available via the display unit 102, and no further analysis on the messages of the signal strength determining result and the encryption parameter comparing result. If the message of the identifier comparing result is received, then analysis is performed on the message of the identifier comparing result.
According to the above, the analyzing unit 126 analyzes the message of the identifier comparing result. If the message of the identifier comparing result indicates that the SSID in the data of parameter settings is identical to the SSID in the parameter data, then the analysis of the message of the signal strength determining result is performed. If the message of the identifier comparing result indicates that the SSID in the data of parameter settings is different from the SSID in the parameter data, then the user 300 is informed of entering the wrong SSID via the display unit 102, and the analyses of the messages of the signal strength determining result and the encryption parameter comparing result are not performed.
From the above, the analyzing unit 126 then analyzes the message of the signal strength determining result. If the message of the signal strength determining result indicates that the network connection signal strength is normal, then performs the analysis of the message of the encryption parameter comparing result. If the message of the signal strength determining result indicates that the network connection signal strength is abnormal, then the user 300 is informed via the display unit 102 that the network connection signal of the wireless network is weak and that the analysis of the message of the encryption parameter comparing result is not performed.
From the above, the analyzing unit 126 analyzes the message of the encryption parameter comparing result. If the message of the encryption parameter comparing result indicates that the encryption parameter in the data of parameter settings obtained by the enabling module 10 is identical to the encryption parameter in the parameter data, then the user 300 is informed via the display unit 102 that the reason of network connection failure between the electronic information device 100 and the wireless network is due to incorrect encryption key. If the message of the encryption parameter comparing result indicates that the encryption parameter in the data of parameter settings obtained by the enabling module 10 is not identical to the encryption parameter in the parameter data, then the user 300 is informed that the reason of network connection failure between the electronic information device 100 and the wireless network is due to incorrect encryption parameter.
Thus, the reason of wireless network connection failure can be automatically analyzed and returned to the user by the analyses performed by the system for analyzing reason of network connection failure of the present invention. Thus, the user may accurately and quickly obtain the reason of wireless network connection failure and take corresponding measures, reducing operational complexity and time consumed.
Referring now to
In step S10, the electronic information device scans the wireless network status. In this step, the user can manually control the electronic information device or via an enabling module to perform a site survey in order to scan the wireless network status. The electronic information device is provided with a wireless network card. Then, perform step S11.
In step S11, the electronic information device obtains data of parameter settings of the wireless network when the wireless network is scanned. The data of parameter settings at least includes a SSID and an encryption parameter. The encryption parameter comprises an encryption type. Then, perform step S12.
In step S12, a processing module compares the data of parameter settings with the parameter data inputted by the user. Then, perform step S13.
In step S13, the processing module determines the reason for connection failure between the electronic information device and the wireless network by analyzing the comparing results. Then, proceed to step S14.
In step S14, the electronic information device notifies the user via a display unit the reason for connection failure with the wireless network.
In conjunction with
In step S120, determining whether there is a SSID in the obtained data of parameter settings by an identifier comparing unit. If so, then proceed to step S122; else, proceed to step S121.
In step S121, since that no SSID exists in the data of parameter settings, an analyzing unit analyzes a message of no network outputted by the identifier comparing unit and informs the user that he/she is currently in a no network service status.
In step S122, since that a SSID exists in the data of parameter settings, the identifier comparing unit compares the SSID in the data of parameter settings with the SSID in the parameter data, and outputs a message of the identifier comparing result to the analyzing unit. Then, proceed to step S123.
In step S123, the analyzing unit receives and analyzes the message of identifier comparing result. If the message of the identifier comparing result indicates that the SSID in the data of parameter settings is identical to the SSID in the parameter data, then proceed to step S125. If the message of the identifier comparing result indicates that the SSID in the data of parameter settings is different from the SSID in the parameter data, then proceed to step S124, where the user 300 is informed via the display unit 102 that the reason of network connection failure is due to wrong SSID entered.
In step S125, a signal strength determining unit determines the network connection signal strength of the wireless network based on the data of parameter settings obtained, and outputs a message of the signal strength determining result to the analyzing unit. Then, proceed to step S126.
In step S126, since that the message of the identifier comparing result indicates the SSID in the data of parameter settings is identical to the SSID in the parameter data, the analyzing unit analyzes the message of signal strength determining result, and if the signal strength determining result indicates that the network connection signal strength is abnormal, then proceed to step S127, where the user informed that the reason for connection failure between the electronic information device and the wireless network is due to a weak network connection signal of the wireless network. If the signal strength determining result indicates that the network connection signal strength is abnormal, then proceed to step S128.
In step S128, an encryption parameter comparing unit compares the encryption parameter in the data of parameter settings with the encryption parameter in the parameter data, and outputs a message of the encryption parameter comparing result to the analyzing unit. Then, proceed to step S129.
In step S129, since the message of the signal strength determining result indicates the network connection signal strength is normal, then the analyzing unit analyzes the message of the encryption parameter comparing result. If the message of the encryption parameter comparing result indicates that the encryption parameter in the data of parameter settings is identical to the encryption parameter in the parameter data, then proceed to step S130, where the user is informed that the reason of network connection failure between the electronic information device and the wireless network is due to incorrect encryption key. If the message of the encryption parameter comparing result indicates that the encryption parameter in the data of parameter settings is not identical to the encryption parameter in the parameter data, then the user is informed that the reason of network connection failure between the electronic information device and the wireless network is due to incorrect encryption parameter.
It is clear from the above system and method for analyzing reason for network connection failure that the technical features and implementations of the system and method for analyzing reason for network connection failure disclosed in the present invention allows the users to input a plurality of parameter data for connecting with wireless network via the electronic information device, and if the wireless network connection fails, the users may accurately and quickly obtain the reason of wireless network connection failure and take corresponding measures, reducing operational complexity and time consumed.
The above embodiments are only used to illustrate the principles of the present invention, and they should not be construed as to limit the present invention in any way. The above embodiments can be modified by those with ordinary skills in the arts without departing from the scope of the present invention as defined in the following appended claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 094121806 | Jun 2005 | TW | national |