CN104053147A - Method for starting and closing guest network and wireless router - Google Patents

Method for starting and closing guest network and wireless router Download PDF

Info

Publication number
CN104053147A
CN104053147A CN201410275585.8A CN201410275585A CN104053147A CN 104053147 A CN104053147 A CN 104053147A CN 201410275585 A CN201410275585 A CN 201410275585A CN 104053147 A CN104053147 A CN 104053147A
Authority
CN
China
Prior art keywords
guest network
time
closing
unlatching
network
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
CN201410275585.8A
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.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201410275585.8A priority Critical patent/CN104053147A/en
Publication of CN104053147A publication Critical patent/CN104053147A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the field of communication, and provides a method for starting and closing a guest network and a wireless router. The method comprises the steps of pre-configuring the starting and/or closing time information of the guest network, starting to execute a timer when configuration takes effects, detecting whether a current moment meets the pre-configured time for starting or closing the guest network or not every other preset time duration, and executing corresponding operations for starting or closing the guest network if the current moment meets the pre-configured time for starting or closing the guest network. According to the method for starting and closing the guest network and the wireless router, due to the fact that the time information of starting and/or closing the guest network is pre-configured, the timer is started to be executed at the moment when the configuration takes effects, whether the current moment meets the pre-configured time for starting or closing the guest network or not is detected every other preset time duration, and the corresponding operations for starting or closing the guest network are executed if the current moment meets the pre-configured time for starting or closing the guest network. Therefore, the process for configuring the starting and the closing of the guest network is simple and convenient, and configuration time is saved.

Description

A kind of method of opening and closing guest network and wireless router
Technical field
The invention belongs to the communications field, relate in particular to a kind of method and wireless router of opening and closing guest network.
Background technology
The mode of accessing Internet is varied, has become a kind of important way by wireless network accessing Internet.But the user of access divides a variety of, for the object of safety, it need to be the different different authorities of user assignment simultaneously, for example whether can the Access Management Access page, whether can with same network in other main frame communicate etc., current way is the network that different rights is provided simultaneously, normally owner's network and guest network, to reach aforementioned object.
Common situation is each one of owner's network and guest network, but that guest network also can have is multiple.Guest network is attached to owner's network, i.e. the great majority of owner's network configuration directly comes into force in guest network, as the channel of network, pattern, cipher mode etc.The main frame of access owner network can configure guest network, but the main frame of access guest network cannot configure owner's network.In addition, the use of owner's network and guest network is non-interfering.
But owner's network is conventional unlatching, and the opening time of guest network may be uncertain.In the prior art, all configurations of guest network all need administrator hand configuration, very inconvenience.For not needing the parameter configuration of often amendment as SSID (Service Set Identifier, service set, be the title of wireless network), network cipher etc. can once just configure, but the opening and closing of network all need to enter administration page to be at every turn configured, and is very loaded down with trivial details and time-consuming.
Summary of the invention
The object of the present invention is to provide a kind of method and wireless router of opening and closing guest network, the opening and closing that are intended to the network that solves prior art all need to enter administration page at every turn and are configured, very loaded down with trivial details and time-consuming problem.
First aspect, the invention provides a kind of method of opening and closing guest network, and described method comprises:
The unlatching of pre-configured guest network and/or the temporal information of closing;
Rise in the configuration take-effective moment, start to carry out timer;
Check every the scheduled time whether current time meets pre-configured unlatching or close time of guest network, if so, carry out the operation of opening accordingly or closing guest network.
Second aspect, the invention provides a kind of wireless router, and described wireless router comprises:
Configuration module, for the unlatching of pre-configured guest network and/or the temporal information of closing;
Executive Module, for rising in the configuration take-effective moment, starts to carry out timer;
Checking module, for checking every the scheduled time whether current time meets pre-configured unlatching or close time of guest network;
Operational module, in the time that checking module checks that current time meets pre-configured unlatching or closes the time of guest network, carries out the operation of opening accordingly or closing guest network.
In the present invention, due to the unlatching of pre-configured guest network and/or the temporal information of closing; Rise in the configuration take-effective moment, start to carry out timer; Check every the scheduled time whether current time meets pre-configured unlatching or close time of guest network, if so, carry out the operation of opening accordingly or closing guest network.Therefore configure the process of opening and closing guest network easy and save setup time.
Brief description of the drawings
Fig. 1 is the flow chart of the method for the opening and closing guest network that provides of the embodiment of the present invention one.
Fig. 2 is the structural representation of the wireless router that provides of the embodiment of the present invention two.
Embodiment
In order to make object of the present invention, technical scheme and beneficial effect clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
For technical solutions according to the invention are described, describe below by specific embodiment.
embodiment mono-:
Refer to Fig. 1, the method for the opening and closing guest network that the embodiment of the present invention one provides comprises the following steps:
The unlatching of S101, pre-configured guest network and/or the temporal information of closing;
S102, rise in the configuration take-effective moment, start to carry out timer;
In the embodiment of the present invention one, the configuration take-effective moment specifically: user carries out the moment of operation or the wireless router system start-up loading configuration of preserving configuration.
S103, check that every the scheduled time whether current time meets pre-configured unlatching or close time of guest network, if so, carries out S104, otherwise returns to S103;
The operation of guest network is opened or is closed in S104, execution accordingly.
In the embodiment of the present invention one,
S101 is specifically as follows: the unlatching duration of pre-configured guest network, and described unlatching duration refers to calculating from the configuration take-effective moment, guest network is from being opened into the duration of automatically closing.
S103 is specifically as follows: check from the configuration take-effective moment and play the time difference between current time every the scheduled time, by the unlatching duration contrast of described time difference and pre-configured guest network, if exceeded described unlatching duration, carry out S104, otherwise return to S103.
S104 is specifically as follows: close guest network, and timeing closing device.
In the embodiment of the present invention one, timer can use the counter of internal system to carry out timing, the counting of counter is not subject to the impact of system time change, the change that is system time can't cause counter to be reset or total count value change, and the counts of each second is stable, so statistics can accurately reflect that self-configuring comes into force the time difference of moment to current time total time.
Adopt technique scheme, after configuration take-effective, within unlatching duration, guest network is in opening, user can search SSID, can access guest network, the service that can normally use network to provide, and guest network will be in closed condition after opening duration, user cannot search SSID and cannot access guest network.
In the embodiment of the present invention one,
S101 can be also specifically: the time period that pre-configured guest network is periodically opened and/or the time period of closing.
S103 can be also specifically: check current residing time point every the scheduled time, for example, in which which day of one week, described current residing time point and the time period of pre-configured unlatching and/or the time period of closing are contrasted hour which minute.
S104 can be also specifically: if within the time period in opening, and guest network do not open, and opens guest network, if within the time period in closing, and guest network opens, closes guest network.
Adopt technique scheme, user can formulate one-period timetable, whether is illustrated in which hour guest network of which day of one week in opening.After configuration take-effective, if show the unlatching that is configured to of interior corresponding current time cycle time, guest network will be in opening, user can search SSID, can access network, the service that can normally use network to provide, and if in cycle time table corresponding current time be configured to close, guest network will be in closed condition, and user cannot search SSID and cannot access network.
In the embodiment of the present invention one, the cycle of configuration can be one week, can configure the opening of the guest network of every 24 hours of every day in a week.Using size is 7, and every number is the opening that the array of shaping number is stored the guest network of the each hour period of one week seven days, to save the memory space of configuration.Wherein the data type of every number is the shaping number of 32, use every number to represent respectively which day of one week, use wherein low 24 bit representation 24 hour period of one day of every number, also can be for using wherein any 24 difference 24 hours periods of corresponding one day of every number, set is that guest network is opening in this hour period of 1 expression, whole storage of array the opening (altogether 7*24=168 hour) of each hour period guest network of a week seven days.When configuration is preserved, system will be carried out set operation to array again according to the configuration of user in the page.
Certainly, the cycle of configuration can be also one month or 1 year.The time granularity size of periodic table of formulating is hour, but can formulate be one day or one minute even a second be time granularity size.
In the embodiment of the present invention one, due to the unlatching of pre-configured guest network and/or the temporal information of closing; Rise in the configuration take-effective moment, start to carry out timer; Check every the scheduled time whether current time meets pre-configured unlatching or close time of guest network, if so, carry out the operation of opening accordingly or closing guest network.Therefore configure the process of opening and closing guest network easy and save setup time.
embodiment bis-:
Refer to Fig. 2, the wireless router that the embodiment of the present invention two provides comprises: configuration module 11, Executive Module 12, checking module 13 and operational module 14, wherein,
Configuration module 11, for the unlatching of pre-configured guest network and/or the temporal information of closing;
Executive Module 12, for rising in the configuration take-effective moment, starts to carry out timer;
Checking module 13, for checking every the scheduled time whether current time meets pre-configured unlatching or close time of guest network;
Operational module 14, in the time that checking module checks that current time meets pre-configured unlatching or closes the time of guest network, carries out the operation of opening accordingly or closing guest network.
In the embodiment of the present invention two, the described configuration take-effective moment specifically: user carries out the moment of operation or the wireless router system start-up loading configuration of preserving configuration.
In the embodiment of the present invention two,
Described configuration module specifically can be for: the unlatching duration of pre-configured guest network, and described unlatching duration refers to calculating from the configuration take-effective moment, guest network is from being opened into the duration of automatically closing;
Described checking module specifically can be for: check from the configuration take-effective moment and play the time difference between current time every the scheduled time, described time difference and the unlatching duration of pre-configured guest network are contrasted;
Described operational module specifically can be for: when checking module is checked through the unlatching duration that the described time difference has exceeded described pre-configured guest network, close guest network, and timeing closing device.
In the embodiment of the present invention two,
Described configuration module specifically can also be used for: the time period that pre-configured guest network is periodically opened and/or the time period of closing;
Described checking module specifically can also be used for: check current residing time point every the scheduled time, described current residing time point and the time period of pre-configured unlatching and/or the time period of closing are contrasted;
Described operational module specifically can also be used for: within checking module is checked through the time period of described current residing time point in pre-configured unlatching, and guest network is not opened, open guest network, if described current residing time point is within the pre-configured time period of closing, and guest network is opened, close guest network.
In the embodiment of the present invention two, the cycle of configuration can be one week, can configure the opening of the guest network of every 24 hours of every day in a week.Using size is 7, and every number is the opening that the array of shaping number is stored the guest network of the each hour period of one week seven days, to save the memory space of configuration.Wherein the data type of every number is the shaping number of 32, use every number to represent respectively which day of one week, use wherein low 24 bit representation 24 hour period of one day of every number, also can be for using wherein any 24 difference 24 hours periods of corresponding one day of every number, set is that guest network is opening in this hour period of 1 expression, whole storage of array the opening (altogether 7*24=168 hour) of each hour period guest network of a week seven days.When configuration is preserved, system will be carried out set operation to array again according to the configuration of user in the page.
Certainly, the cycle of configuration can be also one month or 1 year.The time granularity size of periodic table of formulating is hour, but can formulate be one day or one minute even a second be time granularity size.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. a method for opening and closing guest network, is characterized in that, described method comprises:
The unlatching of pre-configured guest network and/or the temporal information of closing;
Rise in the configuration take-effective moment, start to carry out timer;
Check every the scheduled time whether current time meets pre-configured unlatching or close time of guest network, if so, carry out the operation of opening accordingly or closing guest network.
2. the method for claim 1, is characterized in that, the described configuration take-effective moment specifically: user carries out the moment of operation or the wireless router system start-up loading configuration of preserving configuration.
3. method as claimed in claim 1 or 2, is characterized in that,
The unlatching of described pre-configured guest network and/or the temporal information of closing are specially: the unlatching duration of pre-configured guest network, and described unlatching duration refers to calculating from the configuration take-effective moment, guest network is from being opened into the duration of automatically closing;
Describedly check every the scheduled time whether current time meets pre-configured unlatching or close time of guest network, if, carrying out the operation of opening accordingly or closing guest network is specially: check from the configuration take-effective moment and play the time difference between current time every the scheduled time, by the unlatching duration contrast of described time difference and pre-configured guest network, if exceeded described unlatching duration, close guest network, and timeing closing device.
4. method as claimed in claim 1 or 2, is characterized in that,
The unlatching of described pre-configured guest network and/or the temporal information of closing are specially: the time period that pre-configured guest network is periodically opened and/or the time period of closing;
Describedly check every the scheduled time whether current time meets pre-configured unlatching or close time of guest network, if, carrying out the operation of opening accordingly or closing guest network is specially: check current residing time point every the scheduled time, by the time period of described current residing time point and pre-configured unlatching and/or the time period contrast of closing, if within the time period in opening, and guest network is not opened, open guest network, if within the time period in closing, and guest network is opened, close guest network.
5. a wireless router, is characterized in that, described wireless router comprises:
Configuration module, for the unlatching of pre-configured guest network and/or the temporal information of closing;
Executive Module, for rising in the configuration take-effective moment, starts to carry out timer;
Checking module, for checking every the scheduled time whether current time meets pre-configured unlatching or close time of guest network;
Operational module, in the time that checking module checks that current time meets pre-configured unlatching or closes the time of guest network, carries out the operation of opening accordingly or closing guest network.
6. wireless router as claimed in claim 5, is characterized in that, the described configuration take-effective moment specifically: user carries out the moment of operation or the wireless router system start-up loading configuration of preserving configuration.
7. the wireless router as described in claim 5 or 6, is characterized in that,
Described configuration module is specifically for the unlatching duration of pre-configured guest network, and described unlatching duration refers to calculating from the configuration take-effective moment, and guest network is from being opened into the duration of automatically closing;
Described checking module specifically for: check from the configuration take-effective moment and play the time difference between current time every the scheduled time, described time difference and the unlatching duration of pre-configured guest network are contrasted;
Described operational module specifically for: when checking module is checked through the unlatching duration that the described time difference has exceeded described pre-configured guest network, close guest network, and timeing closing device.
8. the wireless router as described in claim 5 or 6, is characterized in that,
The time period that described configuration module is periodically opened specifically for: pre-configured guest network and/or the time period of closing;
Described checking module specifically for: check current residing time point every the scheduled time, described current residing time point and the time period of pre-configured unlatching and/or the time period of closing contrasted;
Described operational module specifically for: within checking module is checked through the time period of described current residing time point in pre-configured unlatching, and guest network is not opened, open guest network, if described current residing time point is within the pre-configured time period of closing, and guest network is opened, close guest network.
CN201410275585.8A 2014-06-19 2014-06-19 Method for starting and closing guest network and wireless router Pending CN104053147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410275585.8A CN104053147A (en) 2014-06-19 2014-06-19 Method for starting and closing guest network and wireless router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410275585.8A CN104053147A (en) 2014-06-19 2014-06-19 Method for starting and closing guest network and wireless router

Publications (1)

Publication Number Publication Date
CN104053147A true CN104053147A (en) 2014-09-17

Family

ID=51505419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410275585.8A Pending CN104053147A (en) 2014-06-19 2014-06-19 Method for starting and closing guest network and wireless router

Country Status (1)

Country Link
CN (1) CN104053147A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246133A (en) * 2015-11-13 2016-01-13 上海斐讯数据通信技术有限公司 Guest network control method, guest network control device and router
WO2016101272A1 (en) * 2014-12-26 2016-06-30 华为技术有限公司 Method and apparatus for adjusting network mode
WO2017005051A1 (en) * 2015-07-08 2017-01-12 中兴通讯股份有限公司 Network connection processing method and device
CN107359991A (en) * 2017-08-22 2017-11-17 上海斐讯数据通信技术有限公司 A kind of router, the method for generating cipher code of router guest network and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203933A1 (en) * 2003-04-10 2004-10-14 Cheng Steven D. Method of location display for mobile station
CN103369557A (en) * 2012-03-29 2013-10-23 通用电气公司 System and method for automated provisioning of a wireless device
CN103686963A (en) * 2013-12-06 2014-03-26 小米科技有限责任公司 Method, device, equipment and system for controlling wireless network to be switched on/off

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203933A1 (en) * 2003-04-10 2004-10-14 Cheng Steven D. Method of location display for mobile station
CN103369557A (en) * 2012-03-29 2013-10-23 通用电气公司 System and method for automated provisioning of a wireless device
CN103686963A (en) * 2013-12-06 2014-03-26 小米科技有限责任公司 Method, device, equipment and system for controlling wireless network to be switched on/off

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101272A1 (en) * 2014-12-26 2016-06-30 华为技术有限公司 Method and apparatus for adjusting network mode
CN107113604A (en) * 2014-12-26 2017-08-29 华为技术有限公司 The method of adjustment and device of a kind of network mode
WO2017005051A1 (en) * 2015-07-08 2017-01-12 中兴通讯股份有限公司 Network connection processing method and device
CN105246133A (en) * 2015-11-13 2016-01-13 上海斐讯数据通信技术有限公司 Guest network control method, guest network control device and router
CN107359991A (en) * 2017-08-22 2017-11-17 上海斐讯数据通信技术有限公司 A kind of router, the method for generating cipher code of router guest network and system

Similar Documents

Publication Publication Date Title
US9973999B2 (en) Method and apparatus for Self Organizing Networks
US9191522B1 (en) Billing varied service based on tier
CN104053147A (en) Method for starting and closing guest network and wireless router
CN105373419A (en) Background application operation method and system
WO2012065031A3 (en) Animal data management
DE112008004246T5 (en) Temperature alarm and low-rate refresh for nonvolatile memory
CN105574168A (en) Security audit system and audit method for in-memory database
CN104813327A (en) Apparatus and method for mobile communications and computing
WO2012152049A2 (en) Method and device for shutting down application
JP2016505933A5 (en)
CN103428051A (en) System and method for testing communication devices
CN103607353A (en) Router, router setting method and router setting system
CN103595566A (en) Method and device for detecting idle IP addresses
CN104205755A (en) Method, device, and system for delaying packets during a network-triggered wake of a computing device
CN105281965B (en) Traffic acquisition method and device based on IOS (input/output system)
CN102207914A (en) Hardware encrypted trans-flash (TF) card loaded with application programs
CN109086149A (en) A kind of method that micro services interface calls analysis of central issue
CN103812679A (en) Mass log statistical analysis system and method
CN102761541A (en) Timer processing method and system
CN105610643B (en) A kind of cloud computing monitoring method and device
CN104796967B (en) Wireless network data restoring method and device
CN107818167B (en) MySQL partition automatic management method, system, equipment and storage medium
CN109992360A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN103533184A (en) Method for reducing standby power consumption of mobile phone
JP2017536781A (en) How to restore the maintenance element to the factory state

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140917

RJ01 Rejection of invention patent application after publication