CN103384214A - Network detection system and method - Google Patents

Network detection system and method Download PDF

Info

Publication number
CN103384214A
CN103384214A CN2012101360611A CN201210136061A CN103384214A CN 103384214 A CN103384214 A CN 103384214A CN 2012101360611 A CN2012101360611 A CN 2012101360611A CN 201210136061 A CN201210136061 A CN 201210136061A CN 103384214 A CN103384214 A CN 103384214A
Authority
CN
China
Prior art keywords
network
period
detecting
time
submodule
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
CN2012101360611A
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.)
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
Original Assignee
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
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 Shenzhen Futaihong Precision Industry Co Ltd, Chi Mei Communication Systems Inc filed Critical Shenzhen Futaihong Precision Industry Co Ltd
Priority to CN2012101360611A priority Critical patent/CN103384214A/en
Publication of CN103384214A publication Critical patent/CN103384214A/en
Pending legal-status Critical Current

Links

Images

Abstract

Provided is a network detection system and method. The system comprises a feedback module, a processing module and a detection module, wherein the feedback module is used for monitoring and recording the starting time and the end time of a network use period, a network idle period and a network connectionless period and feeding the information back to the processing module. The processing module is used for regulating detection frequencies of the periods recorded in the feedback information according to the received feedback information, and the processing module is further used for inquiring the detection frequency corresponding to the current moment and triggering the detection module when a detection moment arrives. The detection module is used for detecting network connection states when triggered and connecting to the network automatically when network disconnection is detected. According to the network detection system and method, the detection frequencies can be regulated dynamically according to habits of users, the detection frequencies are increased when the network is used much, the detection frequencies can be reduced when the network is idle, and therefore the aim that electricity is saved is achieved.

Description

Network detecting system and method
Technical field
The present invention relates to a kind of network detecting system and method.
Background technology
Confirm at present whether a network connects effective, often with Ping(Packet Internet Grope the Internet packets survey meter, the program that is used for test network connection amount, it is to check the whether order of unobstructed or network connection speed of network) or ACK(Acknowledgement be in data communication, receiving station issues a kind of transmission control character of dispatching station, its expression confirms that the data send have accepted errorlessly, is used for confirming whether a network connects still effective) method.These network detecting modes are all to utilize to send specific message, confirm that this network connects surviving and available, but transmission frequency just becomes the decisive factor that affects system response speed or power consumption number.Along with the networking of running gear is used increasingly various, and under the limited prerequisite of power supply capacity, if want to make network can continue to be in connection status, to provide message receive in real time and send, will use high-frequency to go to detect network state, but do so a large amount of electric consumptions of meeting, the device stand-by time is shortened, cause and use inconvenience.Existing have part software on the market, by certain setting, is held in special time to close network access device, to reach energy-conservation purpose.Yet these softwares usually are not inconsistent user's demand and set complicated inconvenience.
Summary of the invention
The invention provides a kind of network detecting system, this system comprises: feedback module is used for Real Time Monitoring and records network and use period, empty lots and network without the zero-time and the concluding time that connect the period, and feeding back to processing module; Processing module is used for adjusting the detecting frequency of institute's record slot in feedback information according to the feedback information that receives; Described processing module also is used for detecting frequency corresponding to inquiry current time, and when detecting arrives constantly, triggers detecting module; Detecting module is used for detecting network connection state and automatic interconnection network when detecting network outage when being triggered.
The present invention also provides a kind of network method for detecting, comprising: feedback step, and Real Time Monitoring also records network and uses period, empty lots, network without the zero-time and the concluding time that connect the period, and feeds back to treatment step; Treatment step according to the feedback information that receives, is adjusted the detecting frequency of institute's record slot in feedback information; The first determining step, the detecting frequency corresponding according to each period inquired about corresponding detecting frequency of current period, when detecting arrives constantly, enters the detecting step, when detecting does not arrive constantly, returns to feedback step;
Detecting step, detecting network connection state and automatic interconnection network when detecting network outage.
The present invention can be accustomed to according to the user, dynamically adjusts the network detecting frequency, allows the user increase the network detecting frequency when the network use is frequent, but can reduce detecting frequency again when not using network, saves electronic equipment power source.
Description of drawings
Fig. 1 is the running environment figure of the better embodiment of network detecting system of the present invention.
Fig. 2 is the functional block diagram of the better embodiment of network detecting system of the present invention.
Fig. 3 is the flow chart of the better embodiment of network method for detecting of the present invention.
Fig. 4, Fig. 5 are the sub-process figure of the better embodiment of network method for detecting of the present invention.
The main element symbol description
The network detecting system 1
Electronic equipment 2
Network 3
Display device 20
Input equipment 22
Memory 24
Processor 26
Feedback module 10
Processing module 12
Detecting module 14
The first judgement submodule 100
The Real Time Monitoring submodule 101
Record sub module 102
The repayment submodule 103
The initialization submodule 120
Reading submodule 121
Frequency is adjusted submodule 122
The statistics submodule 123
The second judgement submodule 124
The inquiry submodule 125
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the running environment schematic diagram of network detecting system of the present invention preferred embodiment.Described network detecting system 1 operates in electronic equipment 2, and described electronic equipment 2 also comprises display device 20, input equipment 22, memory 24 and the processor 26 that is connected by data/address bus.
Described electronic equipment 2 is can even connect to the Net 3 smart mobile phone, PDA(Personal Digital Assistant, personal digital assistant), the equipment such as PC.Being appreciated that described electronic equipment 2 yet should further comprise hardware system and the software systems that other are necessary, as mainboard, operating system etc., is all those skilled in the art's known general knowledge due to these equipment, describes no longer one by one in the present embodiment.Described display device 20 and input equipment 22 are used as the input-output equipment of electronic equipment 2.
Described network detecting system 1 can dynamically be adjusted the frequency of network 3 connection states of detecting electronic equipment 2, makes electronic equipment 2 under the situation of not excessive power consumption, can continue to provide the user good and instant use impression.
In the present embodiment, described network detecting system 1 can be divided into one or more modules, described one or more module is stored in described memory 24 and is configured to and carried out by one or more processors (the present embodiment is a processor 26), to complete the present invention.For example, consult shown in Figure 2ly, described network detecting system 1 is divided into feedback module 10, processing module 12, detecting module 14.Wherein, feedback module 10 is divided into again the first judgement submodule 100, Real Time Monitoring submodule 101, record sub module 102 and repayment submodule 103; And processing module 12 also is divided into initialization submodule 120, reading submodule 121, frequency adjustment submodule 122, statistics submodule 123, the second judgement submodule 124 and inquiry submodule 125.The alleged module of the present invention is to complete the program segment of a specific function, is more suitable in describing the implementation of software in electronic equipment 2, the description of consulting Fig. 3 to Fig. 5 about the function of each module than program.
As shown in Figure 3, be the preferred embodiment flow chart of network method for detecting of the present invention.
Step S200, feedback module 10 Real Time Monitorings also record network and use period, empty lots, network without the zero-time and the concluding time that connect the period, and the information of monitoring is fed back to processing module 12.The flow process that the detailed description of this step S200 is seen Fig. 4.
Step S202, the feedback information that processing module 12 bases receive, the detecting frequency of institute's record slot in the adjustment feedback information is as the frequency that increases the detecting network that uses the period, the frequency that reduces network empty lots, the detecting network of nothing connection period.The flow process that the detailed description of this step S202 is seen Fig. 5.
Step S204, the detecting frequency that processing module 12 is corresponding according to each period is inquired about corresponding detecting frequency of current period, when detecting arrives constantly, triggers detecting module 14 and enters step S206, when detecting does not arrive constantly, returns to step S200.
Step S206, detecting module 14 detecting network connection state and automatic interconnection network when detecting network outage.
In above execution mode, described step S206 can adopt Ping or ACK network detection techniques.
As shown in Figure 4, described step S200 specifically comprises flow process:
Step S2000 obtains available network, and first judges submodule 100 judges whether network connects, and enters step S2002 if network connects, otherwise, enter step S2004.
Step S2002, on Real Time Monitoring submodule 101 Real Time Monitoring networks, the inflow and outflow of data, then enter step S2006.
At step S2002, when the data inflow and outflow is arranged, zero-time and the concluding time of 102 record material inflow and outflow periods of record sub module, and this data inflow and outflow period is called the network use period.
When there is no the data inflow and outflow, record sub module 102 records this zero-time that there is no the data inflow and outflow period and concluding time, and does not have the data inflow and outflow time to be called the network empty lots this.
Step S2004, Real Time Monitoring submodule 101 Real Time Monitoring networks connect, and obtain network without the connection status period, and record sub module 102 records this network without the zero-time and the concluding time that connect the period, then enters step S2006.
Step S2006, repayment submodule 103 use above-mentioned network period, network empty lots and network to feed back to processing module 12 without the zero-time, the concluding time that connect the period immediately.
Need to prove that above-mentioned steps S2000 carries out repeatedly to step S2006, its objective is that study feedback user uses the use habit of network.
As shown in Figure 5, this step S202 specifically comprises flow process:
Step S2021, the frequency that initialization submodule 120 initialization detecting networks connect is 90 seconds as the initialization detecting frequency, the detecting primary network connected in namely 90 seconds.
Step S2022, reading submodule 121 reads feedback information in real time.
Step S2023, what record in the feedback information that the second judgement submodule 124 judgement is read is that network is in empty lots or network without connecting the period, still use the period, if what record in feedback information is that network is in empty lots or without connecting the period, enter step S2024, if what record in feedback information is that network is in the use period, enter step S2025.
Step S2024, frequency is adjusted submodule 122 empty lots or network is reduced without the detecting frequency that connects the period, and as detecting frequency is increased by 10 seconds, also detecting in namely 100 seconds is once.
Step S2025, frequency is adjusted submodule 122 and will be used the detecting frequency of period to increase, and as detecting frequency is reduced 10 seconds, also detecting in namely 80 seconds is once.
Step S2026, statistics submodule 123 adds network empty lots or the network of the feedback information that this time received to a statistical form without the detecting frequency that connects period or use period and process adjustment thereof, and this statistical form shows that the network in a day 24 hours uses period, empty lots, network without connection period and real-time adjusted detecting frequency corresponding to each period.
Step S2027, inquiry submodule 125 is according to the detecting frequency of described statistical form current period of inquiry, the second judgement submodule 124 judges whether to arrive the detecting moment of current period according to this detecting frequency, if arrive detecting constantly, enter step S206, otherwise, return to this step S2027 and continue to inquire about and wait for arriving and detect constantly.
Above execution mode is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (8)

1. a network detecting system, operate in electronic equipment, it is characterized in that, this system comprises:
Feedback module is used for Real Time Monitoring and records network and use period, empty lots and network without the zero-time and the concluding time that connect the period, and feeding back to processing module;
Processing module is used for adjusting the detecting frequency of institute's record slot in feedback information according to the feedback information that receives;
Described processing module also is used for detecting frequency corresponding to inquiry current time, and when detecting arrives constantly, triggers detecting module;
Detecting module is used for detecting network connection state and automatic interconnection network when detecting network outage when being triggered.
2. network detecting system according to claim 1, is characterized in that, described feedback module also comprises following submodule:
The first judgement submodule is used for judging whether network connects;
The Real Time Monitoring submodule is used for when network has connection the inflow and outflow of data on the Real Time Monitoring network;
Record sub module is used for when network has the data inflow and outflow, the zero-time of record material inflow and outflow period and concluding time, and this data inflow and outflow period is called the network use period;
Described record sub module also is used for recording this zero-time that there is no the data inflow and outflow period and concluding time, and not having the data inflow and outflow time to be called the network empty lots this when network has connection but there is no the data inflow and outflow;
Described Real Time Monitoring submodule also is used for when network during without connection, and whether the Real Time Monitoring network connects, and obtains network without connection status zero-time and concluding time;
Described record sub module also is used for recording this network without the zero-time and the concluding time that connect the period;
The repayment submodule is used for immediately above-mentioned network being used period, network empty lots and network to feed back to processing module without the zero-time, the concluding time that connect the period.
3. network detecting system according to claim 2, is characterized in that, described processing module also comprises following submodule:
The initialization submodule is used for the detecting frequency that initialization detecting network connects;
Reading submodule is used for reading in real time feedback information;
The second judgement submodule is used for network that feedback information that judgement reads records and is in and uses the period empty lots or without connecting the period;
Frequency is adjusted submodule, is that network is in empty lots or network, reduces empty lots or network during the period without connection without the detecting frequency that connects the period for what record when the feedback information that reads;
Described frequency is adjusted submodule, also is used for being in use during the period when the network that the feedback information that reads records, and will use the detecting frequency of period to increase;
The statistics submodule, be used for the network empty lots of feedback information that this time received or network without connecting the period or using the period and add a statistical form to through the detecting frequency of adjusting, this statistical form shows that the network in a day 24 hours uses period, empty lots, network without connecting period and real-time adjusted detecting frequency corresponding to each period;
The inquiry submodule is used for the detecting frequency according to the described statistical form current period of inquiry;
Described second judges submodule, also judges whether to arrive the detecting moment of current period for the detecting frequency according to the current period that inquires.
4. network detecting system according to claim 1, is characterized in that, described detecting module adopts Ping or ACK to carry out the network detecting.
5. a network method for detecting, be applied in electronic equipment, it is characterized in that, the method comprises:
Feedback step, Real Time Monitoring also records that network uses period, empty lots, network is without the zero-time and the concluding time that connect the period and feed back to treatment step;
Treatment step according to the feedback information that receives, is adjusted the detecting frequency of institute's record slot in feedback information;
The first determining step, the detecting frequency corresponding according to each period inquired about corresponding detecting frequency of current period, when detecting arrives constantly, enters the detecting step, when detecting does not arrive constantly, returns to feedback step;
Detecting step, detecting network connection state and automatic interconnection network when detecting network outage.
6. network method for detecting according to claim 5, is characterized in that, described feedback step comprises:
The second determining step is obtained available network, judges whether network connects, and enters the first monitoring step if network connects, otherwise, enter the second monitoring step;
The first monitoring step, the inflow and outflow of data on the Real Time Monitoring network, when the data inflow and outflow is arranged, the zero-time of record material inflow and outflow period and concluding time, and this data inflow and outflow period is called the network use period; When there is no the data inflow and outflow, record this zero-time that there is no the data inflow and outflow period and concluding time, and do not have the data inflow and outflow time to be called the network empty lots this, then enter the repayment step;
The second monitoring step, whether the Real Time Monitoring network connects, and obtains network without the connection status period, records this network without the zero-time and the concluding time that connect the period, then enters the repayment step;
The repayment step uses above-mentioned network period, network idle period and network to feed back to treatment step without the zero-time, the concluding time that connect the period immediately.
7. network method for detecting according to claim 6, is characterized in that, the treating step comprises:
Initialization step, the frequency that initialization detecting network connects;
Read step reads feedback information in real time;
The 3rd determining step judges that whether the network that records in feedback information is in the use period, if so, enters the second set-up procedure, otherwise enters the first set-up procedure;
The first set-up procedure reduces empty lots or network without the detecting frequency that connects the period;
The second set-up procedure will use the detecting frequency of period to increase;
Statistic procedure, the network empty lots that record in the feedback information that this time received or network are without connecting the period or using the period and add a statistical form to through the detecting frequency of adjusting, and this statistical form shows that the network in a day 24 hours uses period, empty lots, network without connecting period and real-time adjusted detecting frequency corresponding to each period;
Query steps according to the detecting frequency of described statistical form current period of inquiry, judges whether to arrive the detecting moment of current period according to this detecting frequency, if arrive detecting constantly, enter the detecting step, otherwise, return to query steps and continue to inquire about and wait for arriving and detect constantly.
8. network method for detecting according to claim 5, is characterized in that, described detecting step adopts Ping or ACK to carry out the network detecting.
CN2012101360611A 2012-05-04 2012-05-04 Network detection system and method Pending CN103384214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101360611A CN103384214A (en) 2012-05-04 2012-05-04 Network detection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101360611A CN103384214A (en) 2012-05-04 2012-05-04 Network detection system and method

Publications (1)

Publication Number Publication Date
CN103384214A true CN103384214A (en) 2013-11-06

Family

ID=49491914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101360611A Pending CN103384214A (en) 2012-05-04 2012-05-04 Network detection system and method

Country Status (1)

Country Link
CN (1) CN103384214A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850343A (en) * 2017-01-22 2017-06-13 上海易贷网金融信息服务有限公司 A kind of mobile applications end network detection system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080201488A1 (en) * 1997-06-18 2008-08-21 Brian Kenner System and method for server-side optimization of data delivery on a distributed computer network
CN101312407A (en) * 2007-05-25 2008-11-26 中兴通讯股份有限公司 Method and apparatus for measuring quality of network service
CN201398196Y (en) * 2009-05-14 2010-02-03 复旦大学 Automatic monitoring system for communication network
CN102348220A (en) * 2010-07-30 2012-02-08 中兴通讯股份有限公司 Method and device for monitoring working state of access channel in wireless network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080201488A1 (en) * 1997-06-18 2008-08-21 Brian Kenner System and method for server-side optimization of data delivery on a distributed computer network
CN101312407A (en) * 2007-05-25 2008-11-26 中兴通讯股份有限公司 Method and apparatus for measuring quality of network service
CN201398196Y (en) * 2009-05-14 2010-02-03 复旦大学 Automatic monitoring system for communication network
CN102348220A (en) * 2010-07-30 2012-02-08 中兴通讯股份有限公司 Method and device for monitoring working state of access channel in wireless network system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850343A (en) * 2017-01-22 2017-06-13 上海易贷网金融信息服务有限公司 A kind of mobile applications end network detection system

Similar Documents

Publication Publication Date Title
CN1965284B (en) Automatic user device presence registration system
CN101032129B (en) Methods and apparatus for operating a wireless electronic device based on usage pattern
US20070254727A1 (en) Hotspot Power Regulation
US20050195830A1 (en) User directed background transfer and data storage
US20080136654A1 (en) Methods and devices for power source life value calculation and representation
CN102711226A (en) Method and device for scanning WIFI (wireless fidelity) access point
CN108990105A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
CN105337804A (en) Hot spot sharing method based on mobile terminal
CN108810971A (en) Internet of things data transmission method, internet-of-things terminal and computer readable storage medium
CN111047425A (en) Behavior prediction method and device
CN104919425A (en) Systems and methods for device-to-cloud message delivery
CN102238267A (en) Mobile terminal and communication service condition conversion control method thereof
CN103888933B (en) A kind of information transferring method based on terminal power, system and relevant device
CN102291677A (en) Wireless network testing device and method
CN105511880A (en) Transparent computing based intelligent software starting method
CN103384214A (en) Network detection system and method
US20050265245A1 (en) Method of transferring data in a local household network
CN103442327B (en) Internet of things device and its means of communication
CN103309429A (en) Information processing method and electronic equipment
CN100392941C (en) UPS capable of implementing remote wireless monitoring and system for monitoring the same
US20160142526A1 (en) Remote monitoring system and remote monitoring method
CN110392417A (en) Power consumption management method, terminal, computer equipment and storage medium
US20180317175A1 (en) Method for securing availability of mobile terminal device and information processing device
CN106951294B (en) Method and equipment for providing service for cross-system application
TWI573415B (en) System and method for detecting network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131106