CN109246029A - A kind of router control method, system, equipment and router - Google Patents

A kind of router control method, system, equipment and router Download PDF

Info

Publication number
CN109246029A
CN109246029A CN201810914929.3A CN201810914929A CN109246029A CN 109246029 A CN109246029 A CN 109246029A CN 201810914929 A CN201810914929 A CN 201810914929A CN 109246029 A CN109246029 A CN 109246029A
Authority
CN
China
Prior art keywords
router
module
flow
preset
light intensity
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
CN201810914929.3A
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 Pretech Technology Co Ltd
Original Assignee
Shenzhen Pretech Technology 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 Shenzhen Pretech Technology Co Ltd filed Critical Shenzhen Pretech Technology Co Ltd
Priority to CN201810914929.3A priority Critical patent/CN109246029A/en
Publication of CN109246029A publication Critical patent/CN109246029A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6245Modifications to standard FIFO or LIFO
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of router control methods, comprising: detection ambient light intensity judges whether current environment light intensity is less than preset Intensity threshold;When the current environment light intensity is less than the Intensity threshold, terminal access has been detected whether;If so, detecting the flow parameter of the router;If it is not, then closing the presetting module of the router;Wherein, the flow parameter includes flow rate and flow duration;When the flow parameter meets default closedown condition, the presetting module of the router is closed.Invention additionally discloses a kind of router control system, a kind of router control equipment and routers.Using the embodiment of the present invention, the power consumption of router can be effectively reduced, saves electricity.

Description

A kind of router control method, system, equipment and router
Technical field
The present invention relates to the communications field more particularly to a kind of router control method, system, equipment and routers.
Background technique
With advances in technology and develop, network even wireless network has come into huge numbers of families, and wherein routes Device plays an important role, and router is the important medium that people carry out network access.But router one under normal condition Directly sending out beacon packet high-power, therefore router is more power-consuming to chance for a long time at dead of night, while long-time high load Work also has an impact to router lifetime.In addition certain customers also think that the radiofrequency signal of router can interfere the sleep of people, It is bad to the health of people.Through detection terminal not in the signal cover of wireless routing, then existing solution is Server is sent data to by terminal, and then controls router and turns off WiFi module, but the disadvantages of the method are as follows needs end End issues corresponding instruction, and obtains reliance server to control, and the resource needed is more.
Summary of the invention
The purpose of the embodiment of the present invention is that providing a kind of router control method, system, equipment and router, can effectively subtract The power consumption of few router, saves electricity.
To achieve the above object, the embodiment of the invention provides a kind of router control methods, comprising:
Ambient light intensity is detected, judges whether current environment light intensity is less than preset Intensity threshold;
When the current environment light intensity is less than the Intensity threshold, terminal access has been detected whether;
If so, detecting the flow parameter of the router;If it is not, then closing the presetting module of the router;Wherein, The flow parameter includes flow rate and flow duration;
When the flow parameter meets default closedown condition, the presetting module of the router is closed.
Compared with prior art, router control method disclosed by the invention, first detection ambient light intensity, work as when described When preceding environmental light intensity is less than the Intensity threshold, terminal access has been detected whether;It is then detected that when having terminal access, detection The flow parameter of the router;Finally, closing the pre- of the router when the flow parameter meets default closedown condition If module.When solving the prior art by detecting terminal not in the signal cover of wireless routing, clothes are sent data to Business device, and then control router and turn off WiFi module, need terminal to issue corresponding instruction, and obtain reliance server to control System, the more problem of the resource needed can effectively reduce the power consumption of router, save electricity.
As an improvement of the above scheme, the default closedown condition includes that the flow rate is less than preset flow rate Threshold value and the flow duration are greater than preset flow duration threshold value.
As an improvement of the above scheme, after the presetting module for closing the router, further includes:
When meeting default unlocking condition, the presetting module is opened;Wherein, the default unlocking condition includes working as front ring Border light intensity is greater than or equal to preset Intensity threshold, receives the control instruction for opening the presetting module or reach preset unlatching Time.
As an improvement of the above scheme, the presetting module include but is not limited to uplink WAN mouth mold block, USB module and WiFi module.
To achieve the above object, the embodiment of the invention also provides a kind of router control systems, comprising:
Light-intensity test unit judges whether current environment light intensity is less than preset light intensity threshold for detecting ambient light intensity Value;
Terminal detection unit, for having detected whether terminal when the current environment light intensity is less than the Intensity threshold Access;
Flow parameter detection unit, for when there is terminal access, detecting the flow parameter of the router and judging institute State whether flow parameter meets default closedown condition;Wherein, the flow parameter includes flow rate and flow duration;
Presetting module closing unit, for closing the presetting module of the router.
Compared with prior art, router control system disclosed by the invention detects ring by light-intensity test unit first Border luminous intensity, when the current environment light intensity is less than the Intensity threshold, terminal detection unit has detected whether terminal access; Then, when terminal detection unit has detected terminal access, flow parameter detection unit detects the flow ginseng of the router Number;Finally, presetting module closing unit closes the default of the router when the flow parameter meets default closedown condition Module.When solving the prior art by detecting terminal not in the signal cover of wireless routing, service is sent data to Device, and then control router and turn off WiFi module needs terminal to issue corresponding instruction, and reliance server controls, The more problem of the resource needed can effectively reduce the power consumption of router, save electricity.
As an improvement of the above scheme, the default closedown condition includes that the flow rate is less than preset flow rate Threshold value and the flow duration are greater than preset flow duration threshold value.
As an improvement of the above scheme, the system also includes presetting module opening unit, the presetting module is opened single Member is for opening the presetting module when meeting default unlocking condition;Wherein, the default unlocking condition includes current environment When light intensity is greater than or equal to preset Intensity threshold, receives the control instruction for opening the presetting module or reach preset unlatching Between.
As an improvement of the above scheme, the presetting module include but is not limited to uplink WAN mouth mold block, USB module and WiFi module.
To achieve the above object, the embodiment of the invention also provides a kind of routers to control equipment, including processor, storage Device and storage in the memory and are configured as the computer program executed by the processor, and the processor executes The router control method as described in above-mentioned any embodiment is realized when the computer program.
To achieve the above object, the embodiment of the invention also provides a kind of routers, including uplink WAN mouth mold block, USB mould Router control system described in block, WiFi module, LED module and any of the above-described embodiment.
Detailed description of the invention
Fig. 1 is a kind of flow chart of router control method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural block diagram of router control system 10 provided in an embodiment of the present invention;
Fig. 3 is a kind of structural block diagram of router control equipment 20 provided in an embodiment of the present invention;
Fig. 4 is a kind of structural block diagram of router 30 provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Embodiment one
It is a kind of flow chart of router control method provided in an embodiment of the present invention referring to Fig. 1, Fig. 1;Include:
S1, detection ambient light intensity, judge whether current environment light intensity is less than preset Intensity threshold;
S2, when the current environment light intensity be less than the Intensity threshold when, detected whether terminal access;
S3, if so, detecting the flow parameter of the router;If it is not, then closing the presetting module of the router;Its In, the flow parameter includes flow rate and flow duration;
S4, when the flow parameter meets default closedown condition, close the presetting module of the router.
Specifically, in step sl, ambient light intensity can be detected by optical sensor, judge that current environment light intensity is It is no to be less than preset Intensity threshold.If current environment light intensity is less than preset Intensity threshold, user is likely to be at the shape to be rested State then can determine that and currently belong to night and user does not turn on light;Or current environment is daytime, but current environment light intensity is weaker, Such as shading of drawing the curtain together etc..If current environment light intensity is greater than or in preset Intensity threshold, keeps the current shape of router State is constant.Under daytime or the enough situations of night light intensity, further judgement is not done to the router, because of daytime or night In the late enough situations of light intensity, the epidemic situation comparison of user is active, if being not connected with the router for a period of time, then it is automatic to close The router is closed, once then then need to be again coupled to the router during user goes back home, it is more inconvenient.
Preferably, photo resistance can be used in the optical sensor, and the photo resistance can connect with a divider resistance. On output pin by the main control chip for being connected to the router after electric resistance partial pressure, current environment light intensity is less than preset light When strong threshold value, the resistance value of the photo resistance increases, and the output pin of the main control chip recognizes low level, then open detection Whether terminal connection is had.Preferably, the size of the Intensity threshold can be selected by adjusting the resistance value of the divider resistance.
Specifically, when the current environment light intensity is less than the Intensity threshold, having been detected whether in step S2~S3 Terminal access.Preferably, the terminal can be mobile phone, computer or other mobile terminals.If detecting described in endless connection Router then closes the presetting module of the router.Preferably, the presetting module includes but is not limited to uplink WAN mouth mold Block, USB module and WiFi module.Further, the presetting module may include in addition to the optical sensor and main control chip Other modules.Specifically, being detected in the case where current environment light intensity is less than the Intensity threshold described in endless access Router, then can determine that user does not go back home, and can close the presetting module at this time.
Specifically, if having detected, terminal connects the router, detects the flow parameter of the router;Wherein, The flow parameter includes flow rate and flow duration.
Specifically, in step s 4, in the case where having detected that terminal connects the router, when the flow parameter When meeting default closedown condition, the presetting module of the router is closed.Preferably, the default closedown condition includes the stream Rate is measured less than preset flow rate threshold value and the flow duration is greater than preset flow duration threshold value.
Specifically, if the present flow rate rate detected is less than the flow rate threshold value, and the flow duration Greater than the flow duration threshold value, then the presetting module is closed.Specifically, detecting the flow rate can judge to use Whether family has online, in conjunction with the flow duration is detected, then can determine whether user does not surf the Internet for a long time, if when long Between do not surf the Internet, then can be determined that user be in sleep in, then can close the presetting module.In real life, also having can Terminal can have been always existed and accessed the router, such as Web TV or mobile phone, if terminal is in standby, but simultaneously It does not surf the Internet, the flow rate may be 0KB at this time, then user may be other things of hurrying at this time, it is not to need to stop Breath, if the flow rate is both less than the flow rate threshold value in the flow duration threshold value, then can determine that User is currently in sleep, can close the presetting module.Preferably, the flow duration threshold value can be 1 hour.
Further, further include step S5 after closing the presetting module: when meeting default unlocking condition, opening The presetting module;Wherein, the default unlocking condition includes that current environment light intensity is greater than or equal to preset Intensity threshold, connects It receives the control instruction for opening the presetting module or reaches the preset opening time.Preferably, the control instruction can be logical That crosses the open command either router itself that the cell phone application being connected to the router is sent opens what key was sent Open command.Preferably, the opening time can be every morning by user's sets itself, such as the opening time 7 points.
When it is implemented, ambient light intensity is detected first, and when the current environment light intensity is less than the Intensity threshold, inspection Whether survey has terminal access;It is then detected that detecting the flow parameter of the router to when having terminal access;Finally, when described When flow parameter meets default closedown condition, the presetting module of the router is closed.
Compared with prior art, router control method disclosed by the invention solves the prior art and passes through detection terminal When not in the signal cover of wireless routing, server is sent data to, and then controls router and turns off WiFi module, is needed It wants terminal to issue corresponding instruction, and obtains reliance server to control, the more problem of the resource needed can effectively reduce road By the power consumption of device, electricity is saved.
Router control method described in the embodiment of the present invention, The night screen has hung down on that night, and WiFi can be automatically closed.Work as user It is gone back home when turning on light at night, WiFi function can automatically turn on, but user turns off the light sleep or turn off the light when going out, and WiFi is then closed automatically Close, the function can be convenient those have sleep before turn off WiFi habit user, full intelligentized control, be not necessarily to people's manual configuration.Separately Outside, from the WiFi time opening on software and turn off that function is different, which does not need the time of user setting switch WiFi, only It needs to set optical mode control unlatching, just can detect the active state of user automatically, more conveniently and effectively meet the needs of users. It will not relate to that server is used to close to control the WiFi of routing simultaneously, information security is more secure.
Embodiment two
Referring to fig. 2, Fig. 2 is a kind of structural block diagram of router control system 10 provided in an embodiment of the present invention;Include:
Light-intensity test unit 11 judges whether current environment light intensity is less than preset light intensity for detecting ambient light intensity Threshold value;
Terminal detection unit 12, for having detected whether end when the current environment light intensity is less than the Intensity threshold Terminate into;
Flow parameter detection unit 13, for detecting the flow parameter of the router and judgement when there is terminal access Whether the flow parameter meets default closedown condition;Wherein, the flow parameter includes flow rate and flow duration;
Presetting module closing unit 14, for closing the presetting module of the router.
Specifically, the light-intensity test unit 11 can be optical sensor, front ring is worked as in the judgement of light-intensity test unit 11 Whether border light intensity is less than preset Intensity threshold.If it is preset that the light-intensity test unit 11 detects that current environment light intensity is less than Intensity threshold, user are likely to be at the state to be rested, then can determine that and currently belong to night and user does not turn on light;Or it is current Environment is daytime, but current environment light intensity is weaker, such as shading of drawing the curtain together etc..Work as if the light-intensity test unit 11 detects Preceding environmental light intensity is greater than or in preset Intensity threshold, then keeps the current state of router constant.In daytime or night light In strong enough situations, further judgement is not done to the router, because in daytime or the enough situations of night light intensity, user Epidemic situation comparison it is active, if the router is then automatically closed being not connected with the router for a period of time, then once using During family is gone back home, then need to be again coupled to the router, it is more inconvenient.
Preferably, photo resistance can be used in the optical sensor, and the photo resistance can connect with a divider resistance. On output pin by the main control chip for being connected to the router after electric resistance partial pressure, current environment light intensity is less than preset light When strong threshold value, the resistance value of the photo resistance increases, and the output pin of the main control chip recognizes low level, then open detection Whether terminal connection is had.Preferably, the size of the Intensity threshold can be selected by adjusting the resistance value of the divider resistance.
Specifically, when the light-intensity test unit 11 detects that the current environment light intensity is less than the Intensity threshold, The terminal detection unit 12 has detected whether terminal access.Preferably, the terminal can be mobile phone, computer or other movements Terminal.If detecting, endless connects the router, closes the presetting module of the router.Preferably, described default Module includes but is not limited to uplink WAN mouth mold block, USB module and WiFi module.Further, the presetting module may include Other modules in addition to the optical sensor and main control chip.Specifically, being less than the Intensity threshold in current environment light intensity In the case of detect that endless accesses the router, then can determine that user does not go back home, can close at this time described default Module.
Specifically, if the terminal detection unit 12 has detected that terminal connects the router, the flow parameter Detection unit 13 detects the flow parameter of the router;Wherein, when the flow parameter includes flow rate and lasting flow It is long.
Specifically, in the case where the terminal detection unit 12 has detected that terminal connects the router, when described When flow parameter detection unit 13 determines that the flow parameter meets default closedown condition, the presetting module closing unit 14 is closed Close the presetting module of the router.Preferably, the default closedown condition includes that the flow rate is less than preset flow Rate-valve value and the flow duration are greater than preset flow duration threshold value.
Specifically, if the present flow rate rate that the flow parameter detection unit 13 detects is less than the flow rate threshold Value, and the flow duration is greater than the flow duration threshold value, then the presetting module closing unit 14 closes institute State presetting module.Specifically, detecting the flow rate can judge whether user has online, held in conjunction with the flow is detected Continuous duration, then can determine whether user does not surf the Internet for a long time, if not surfing the Internet for a long time, then can be determined that user is in sleep In, then it can close the presetting module.In real life, it is also possible to it has always existed terminal and has accessed the router, than Such as Web TV or mobile phone, if terminal is in standby, but do not surf the Internet, the flow rate may be 0KB at this time, So user may be other things of hurrying at this time, be not to need to rest, if described in the flow duration threshold value Flow rate is both less than the flow rate threshold value, then then can determine that user is currently in sleep, can close described default Module.Preferably, the flow duration threshold value can be 1 hour.
Further, the router control system 10 further includes presetting module opening unit 15, and the presetting module is opened Unit 15 is opened for opening the presetting module when meeting default unlocking condition;Wherein, the default unlocking condition includes working as Preceding environmental light intensity is greater than or equal to preset Intensity threshold, receives the control instruction for opening the presetting module or reach preset Opening time.Preferably, the control instruction can be the open command sent by the cell phone application being connected to the router The either open command of the router opening key and sending itself.Preferably, the opening time can be by user certainly Row setting, such as the opening time can be 7 points of every morning.
When it is implemented, ambient light intensity is detected by light-intensity test unit 11 first, when the current environment light intensity is small When the Intensity threshold, terminal detection unit 12 has detected whether terminal access;Then, when terminal detection unit 12 detects When having terminal access, flow parameter detection unit 13 detects the flow parameter of the router;Finally, when the flow parameter is full When foot presets closedown condition, presetting module closing unit 14 closes the presetting module of the router.
Compared with prior art, it is whole by detection to solve the prior art for router control system 10 disclosed by the invention When end is not in the signal cover of wireless routing, server is sent data to, and then controls router and turns off WiFi module, It needs terminal to issue corresponding instruction, and obtains reliance server to control, the more problem of the resource needed can effectively reduce The power consumption of router saves electricity.
Router control system 10 described in the embodiment of the present invention, The night screen has hung down on that night, and WiFi can be automatically closed.When with Family is gone back home at night when turning on light, and WiFi function can automatically turn on, but user turns off the light sleep or turn off the light when going out, and WiFi is then automatic Close, the function can be convenient those have sleep before turn off WiFi habit user, full intelligentized control, be not necessarily to people's manual configuration. In addition, the function does not need the time of user setting switch WiFi from the WiFi time opening on software and turning off that function is different, It only needs to set optical mode control unlatching, just can detect the active state of user automatically, more conveniently and effectively meet the need of user It asks.It will not relate to that server is used to close to control the WiFi of router simultaneously, information security is more secure.
Embodiment three
It is a kind of structural block diagram of router control equipment 20 provided in an embodiment of the present invention referring to Fig. 3, Fig. 3;The implementation The router control equipment 20 of example include: processor 21, memory 22 and storage in the memory and can be at the place The computer program run on reason device 21.The processor 21 realizes above-mentioned each router control when executing the computer program Step in embodiment of the method processed, such as step S1~S4 shown in FIG. 1.Alternatively, the processor 21 executes the computer The function of each module/unit in above-mentioned each Installation practice, such as light-intensity test unit 11 are realized when program.
Illustratively, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory, and is executed by the processor 21, to complete the present invention.It is one or Multiple module/units can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing Implementation procedure of the computer program in router control equipment 20.For example, the computer program can be divided It is cut into light-intensity test unit 11, terminal detection unit 12, flow parameter detection unit 13, presetting module closing unit 14 and presets Module opening unit 15, each module concrete function are as follows:
Light-intensity test unit 11 judges whether current environment light intensity is less than preset light intensity for detecting ambient light intensity Threshold value;
Terminal detection unit 12, for having detected whether end when the current environment light intensity is less than the Intensity threshold Terminate into;
Flow parameter detection unit 13, for detecting the flow parameter of the router and judgement when there is terminal access Whether the flow parameter meets default closedown condition;Wherein, the flow parameter includes flow rate and flow duration;
Presetting module closing unit 14, for closing the presetting module of the router;
The presetting module opening unit 15, for opening the presetting module when meeting default unlocking condition;Its In, the default unlocking condition includes that current environment light intensity is greater than or equal to preset Intensity threshold, receives and open described preset The control instruction of module reaches the preset opening time.
The router control equipment 20 can be desktop PC, notebook, palm PC and cloud server etc. Calculate equipment.The router control equipment 20 may include, but be not limited only to, processor, memory.Those skilled in the art can To understand, the schematic diagram is only the example of router control equipment 20, does not constitute the limit to router control equipment 20 It is fixed, it may include perhaps combining certain components or different components, such as the road than illustrating more or fewer components It can also include input-output equipment, network access equipment, bus etc. by device control equipment 20.
Alleged processor 21 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor It is the control centre of the router control equipment 20 Deng, the processor 21, utilizes various interfaces and the entire road of connection By the various pieces of device control equipment 20.
The memory 22 can be used for storing the computer program and/or module, and the processor is by operation or holds The computer program and/or module that row is stored in the memory 22, and the data being stored in memory 22 are called, it is real The various functions of the existing router control equipment 20.The memory 22 can mainly include storing program area and storing data Area, wherein storing program area can application program needed for storage program area, at least one function (such as sound-playing function, Image player function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, electricity according to mobile phone Script for story-telling etc.) etc..In addition, memory 22 may include high-speed random access memory, it can also include nonvolatile memory, example Such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are solid State memory device.
Wherein, if module/unit that router control equipment 20 integrates is realized in the form of SFU software functional unit And when sold or used as an independent product, it can store in a computer readable storage medium.Based on such Understand, the present invention realizes all or part of the process in above-described embodiment method, can also instruct phase by computer program The hardware of pass is completed, and the computer program can be stored in a computer readable storage medium, which exists When being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer journey Sequence code, the computer program code can be source code form, object identification code form, executable file or certain intermediate shapes Formula etc..The computer-readable medium may include: any entity or device, note that can carry the computer program code Recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium Deng.It should be noted that the content that the computer-readable medium includes can be real according to legislation in jurisdiction and patent The requirement trampled carries out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium It does not include electric carrier signal and telecommunication signal.
Example IV
Referring to fig. 4, Fig. 4 is a kind of structural block diagram of router 30 provided in an embodiment of the present invention;Including uplink WAN mouth mold Router control system 10 described in block 31, USB module 32, WiFi module 33, LED module 34 and above-described embodiment two.Specifically , for the uplink WAN mouth mold block 31 for accessing internet, the USB module 32 can connect mobile terminal device.
Specifically, the detailed process of the router control system 10 control of the router with reference to described in above-described embodiment two system The course of work of system 10, details are not described herein.
Compared with prior art, router 30 disclosed by the invention solves the prior art by detection terminal not in nothing Route by signal cover in when, send data to server, and then control router and turn off WiFi module, need terminal Corresponding instruction is issued, and obtains reliance server to control, the more problem of the resource needed can effectively reduce router Power consumption saves electricity.
Router 30 described in the embodiment of the present invention, The night screen has hung down on that night, and WiFi can be automatically closed.When user returns at night It gets home when turning on light, WiFi function can automatically turn on, but user turns off the light sleep or turn off the light when going out, and WiFi is then automatically closed, should Function can be convenient those have sleep before turn off WiFi habit user, full intelligentized control, be not necessarily to people's manual configuration.In addition, with WiFi time opening on software with turn off that function is different, which does not need the time of user setting switch WiFi, it is only necessary to It sets optical mode control to open, just can detect the active state of user automatically, more conveniently and effectively meet the needs of users.Simultaneously It will not relate to that server is used to close to control the WiFi of router 30, information security is more secure.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand And implement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (10)

1. a kind of router control method characterized by comprising
Ambient light intensity is detected, judges whether current environment light intensity is less than preset Intensity threshold;
When the current environment light intensity is less than the Intensity threshold, terminal access has been detected whether;
If so, detecting the flow parameter of the router;If it is not, then closing the presetting module of the router;Wherein, described Flow parameter includes flow rate and flow duration;
When the flow parameter meets default closedown condition, the presetting module of the router is closed.
2. router control method as described in claim 1, which is characterized in that the default closedown condition includes the flow Rate is less than preset flow rate threshold value and the flow duration is greater than preset flow duration threshold value.
3. router control method as described in claim 1, which is characterized in that the presetting module for closing the router Afterwards, further includes:
When meeting default unlocking condition, the presetting module is opened;Wherein, the default unlocking condition includes current environment light When being greater than or equal to preset Intensity threshold by force, receiving the control instruction for opening the presetting module or reach preset unlatching Between.
4. router control method as claimed any one in claims 1 to 3, which is characterized in that the presetting module includes But it is not limited to uplink WAN mouth mold block, USB module and WiFi module.
5. a kind of router control system characterized by comprising
Light-intensity test unit judges whether current environment light intensity is less than preset Intensity threshold for detecting ambient light intensity;
Terminal detection unit, for having detected whether terminal access when the current environment light intensity is less than the Intensity threshold;
Flow parameter detection unit, for when there is terminal access, detecting the flow parameter of the router and judging the stream Whether amount parameter meets default closedown condition;Wherein, the flow parameter includes flow rate and flow duration;
Presetting module closing unit, for closing the presetting module of the router.
6. router control system as claimed in claim 5, which is characterized in that the default closedown condition includes the flow Rate is less than preset flow rate threshold value and the flow duration is greater than preset flow duration threshold value.
7. router control system as claimed in claim 5, which is characterized in that the system also includes presetting modules to open list Member, the presetting module opening unit are used to open the presetting module when meeting default unlocking condition;Wherein, described pre- If unlocking condition includes that current environment light intensity is greater than or equal to preset Intensity threshold, receives the control for opening the presetting module Instruct or reach the preset opening time.
8. the router control system as described in claim 5 to 7, which is characterized in that the presetting module includes but is not limited to Uplink WAN mouth mold block, USB module and WiFi module.
9. a kind of router controls equipment, which is characterized in that including processor, memory and storage in the memory and It is configured as the computer program executed by the processor, the processor realizes such as right when executing the computer program It is required that router control method described in any one of 1 to 4.
10. a kind of router, which is characterized in that including uplink WAN mouth mold block, USB module, WiFi module, LED module and above-mentioned Router control system described in any one of claim 5 to 8.
CN201810914929.3A 2018-08-13 2018-08-13 A kind of router control method, system, equipment and router Pending CN109246029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810914929.3A CN109246029A (en) 2018-08-13 2018-08-13 A kind of router control method, system, equipment and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810914929.3A CN109246029A (en) 2018-08-13 2018-08-13 A kind of router control method, system, equipment and router

Publications (1)

Publication Number Publication Date
CN109246029A true CN109246029A (en) 2019-01-18

Family

ID=65070993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810914929.3A Pending CN109246029A (en) 2018-08-13 2018-08-13 A kind of router control method, system, equipment and router

Country Status (1)

Country Link
CN (1) CN109246029A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414993A (en) * 2013-07-26 2013-11-27 华为终端有限公司 Method for controlling wireless network states and wireless router
CN104468377A (en) * 2014-12-12 2015-03-25 上海斐讯数据通信技术有限公司 Router equipment and wireless transmitting power adjusting method thereof
CN204465581U (en) * 2015-03-16 2015-07-08 南京林恒机械制造有限公司 A kind of wireless router of automatic control switch
CN206023749U (en) * 2016-08-05 2017-03-15 上海工程技术大学 A kind of intelligent router
US20170366943A1 (en) * 2016-06-17 2017-12-21 T-Mobile, U.S.A., Inc. Indoor/outdoor coverage detection based on sensor inputs

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414993A (en) * 2013-07-26 2013-11-27 华为终端有限公司 Method for controlling wireless network states and wireless router
CN104468377A (en) * 2014-12-12 2015-03-25 上海斐讯数据通信技术有限公司 Router equipment and wireless transmitting power adjusting method thereof
CN204465581U (en) * 2015-03-16 2015-07-08 南京林恒机械制造有限公司 A kind of wireless router of automatic control switch
US20170366943A1 (en) * 2016-06-17 2017-12-21 T-Mobile, U.S.A., Inc. Indoor/outdoor coverage detection based on sensor inputs
CN206023749U (en) * 2016-08-05 2017-03-15 上海工程技术大学 A kind of intelligent router

Similar Documents

Publication Publication Date Title
US9413902B2 (en) Method and device for supplying power to access device
CN108345524A (en) Method for monitoring application program and Application Monitoring device
CN111541956B (en) Optical port self-adaption method, device, switch and computer readable storage medium
WO2016131348A1 (en) Method for achieving traffic control and terminal
CN106060909A (en) Network access method and mobile terminal
CN103533166A (en) Mode switching method and device of mobile terminal
CN105791560A (en) Data network access control method and user terminal
CN104065822A (en) Standby flow control method and standby flow control device
CN111065114B (en) Energy-saving management method, energy-saving management device and storage medium
CN106406179B (en) The multiplex roles host of modularized design, control system and method including the host
CN101772140A (en) Self-adaption energy saving method and business system having self-adaption energy saving function
CN104506987A (en) Smart earphone control method and smart earphone
CN103781122A (en) Flow management device and method
CN108364485A (en) A kind of traffic signal control system
CN105848235A (en) Communication control method and device
CN108734840A (en) A kind of access control system and its control method
CN111711275A (en) Design method of intelligent power distribution monitoring system applied to container
CN104410751A (en) Method and system for power saving of mobile phone based on Bluetooth peripheral
CN109246029A (en) A kind of router control method, system, equipment and router
CN104123512B (en) Realize the method and apparatus switched between intelligent cipher key equipment pattern
CN106020426B (en) A kind of method for releasing and device waking up lock
CN109068355B (en) Method for saving data traffic, telephone watch, server and mobile terminal
CN109996223A (en) A kind of method and system of near-field communication automatic network-building
CN108876550A (en) A kind of leasing method based on shared charger baby, device and its system
CN208257832U (en) A kind of POE power supply unit based on RS485

Legal Events

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

Application publication date: 20190118