Electronic device and method for detecting network connection between the electronic device and network
AssigneeChi Mei Communication Systems, Inc.
InventorsYun-Long SIE, Her-Ching SHYU
Life of this patent
Estimating the term…
Abstract
In a method for detecting a network connection between an electronic device and a network, the method firstly records in real time busy time periods and idle time periods of the network connection. Secondly, the method adjusts a detection frequency of a current time period to meet a need of the current time period, and computes all of the network detection time. At last, the method detects the network connection when a current time is same as the network detection time, and builds a new network connection between an electronic device and a network when the network connection between the electronic device and the network is disconnected.
Claims12
An electronic device for detecting a network connection between the electronic device and a network, the electronic device comprising:
- a storage device;
- at least one processor;
- and
- one or more programs stored in the storage device and executed by the at least one processor, the one or more programs comprising:
- a recording module that records busy time periods and idle time periods of the network connection between the electronic device and the network in real time, wherein the busy time periods are time periods when the electronic device communicates with the network, and the idle time periods are time periods when the electronic device does not communicate with the network;
- a processing module that adjusts a detection frequency of a current time period for detecting the network connection between the electronic device and the network according to the busy time periods and the idle time periods, and computes a network detection time according to the detection frequency of the current time period;
- and
- a detection module that detects the network connection between the electronic device and the network when a current time is same as the network detection time, and builds a new network connection between the electronic device and the network if the network connection between the electronic device and the network is disconnected.
A method for detecting a network connection between the electronic device and a network, the method comprising:
- (a) recording busy time periods and idle time periods of the network connection between the electronic device and the network in real time, wherein the busy time periods are time periods when the electronic device communicates with the network, and the idle time periods are time periods when the electronic device does not communicate with the network;
- (b) adjusting a detection frequency of a current time period for detecting the network connection between the electronic device and the network according to the busy time periods and the idle time periods, and computing a network detection time according to the detection frequency of the current time period;
- and
- (c) detecting the network connection between the electronic device and the network when a current time is same as the network detection time, and building a new network connection between the electronic device and the network if the network connection between the electronic device and the network is disconnected.
A non-transitory computer-readable storage medium having stored thereon instructions being executed by a processor of an electronic device, causes the electronic device to perform a method for detecting a network connection between the electronic device and a network, the method comprising:
- (a) recording busy time periods and idle time periods of the network connection between the electronic device and the network in real time, wherein the busy time periods are time periods when the electronic device communicates with the network, and the idle time periods are time periods when the electronic device does not communicate with the network;
- (b) adjusting a detection frequency of a current time period for detecting the network connection between the electronic device and the network according to the busy time periods and the idle time periods, and computing a network detection time according to the detection frequency of the current time period;
- and
- (c) detecting the network connection between the electronic device and the network when a current time is same as the network detection time, and building a new network connection between the electronic device and the network if the network connection between the electronic device and the network is disconnected.
Dependencies are inferred from the claim text.