CN108834152A - A kind of WiFi control method based on router - Google Patents

A kind of WiFi control method based on router Download PDF

Info

Publication number
CN108834152A
CN108834152A CN201810666991.5A CN201810666991A CN108834152A CN 108834152 A CN108834152 A CN 108834152A CN 201810666991 A CN201810666991 A CN 201810666991A CN 108834152 A CN108834152 A CN 108834152A
Authority
CN
China
Prior art keywords
router
location information
method based
control method
information
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
CN201810666991.5A
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.)
Henan Fu Point Electronic Technology Co Ltd
Original Assignee
Henan Fu Point Electronic 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 Henan Fu Point Electronic Technology Co Ltd filed Critical Henan Fu Point Electronic Technology Co Ltd
Priority to CN201810666991.5A priority Critical patent/CN108834152A/en
Publication of CN108834152A publication Critical patent/CN108834152A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The WiFi control method based on router that the invention discloses a kind of, belongs to solar battery process detection field;It includes the following steps:Step 1:Obtain the location information and quantity information for having connected the mobile device of router;Step 2:WiFi control is realized according to quantity information and location information selection router cover type;The present invention solves the problems, such as that existing route device can not provide oriented cover range in the case where connecting equipment less and cause the wasting of resources, network speed slow, has achieved the effect that improve network speed while flexible change router coverage area.

Description

A kind of WiFi control method based on router
Technical field
The invention belongs to solar battery process detection field, especially a kind of WiFi control method based on router.
Background technique
In recent years, WiFi is widely deployed in all kinds of large-scale or small buildings such as family, market, airport, so that WiFi As one in positioning field most noticeable wireless technology.The method for wherein realizing WiFi positioning has very much, and one, pass through AP Broadcast MAC address, service provider send MAC Address to location server, and location server retrieves the geographical location of each AP, Its geographical location is calculated in conjunction with each signal strength and returns to geographical location to user equipment;Two, pass through WiFi locating module, The smart machine of WiFi is opened around scanning and acquisition, and the result of scanning is automatically uploaded to server or computer, root The distance that calculating WiFi smart machine is removed according to the signal strength that WiFi locating module acquires, eventually by localization method, by WiFi It calculates the position of smart machine;Three, the indoor positioning of the WiFi based on deep learning, interior of the smart phone based on WiFi Mapping fingerprint database is stored on server, movement is set by positioning application in advance using the fingerprint algorithm based on RSSI signal The standby AP information around localization region oneself will obtain is sent to server in real time, is matched by server and returns to coordinate Position is to client;WiFi location technology is gradually matured, corresponding to the variation of AP can should carry out high-precision positioning.
Router is the equipment for connecting each local area network, wide area network in internet, automatically selects and sets according to the case where channel Fixed routing sends signal with optimal path and by tandem.Router is the hinge of internet, and router is wide at present General to be applied to all trades and professions, the product of various difference class, which has become, realizes connection, backbone internetworking inside various backbone networks With the main force of backbone network and internet interconnection business.
Development based on router and WiFi location technology, home-use router solicitation are higher and higher;When connection equipment When fewer, router connects the network speed of equipment because realizing that omnidirectional's covering leads to the waste of resource using omnidirectional antenna Degree does not improve, it is therefore desirable to which one kind can be located by connecting equipment, realize the WiFi control method of flexible coverage area;
Summary of the invention
It is an object of the invention to:The present invention provides a kind of, and the WiFi control method based on router solves existing route Device can not provide the problem that oriented cover range causes the wasting of resources, network speed slow in the case where connecting equipment less.
The technical solution adopted by the present invention is as follows:
A kind of WiFi control method based on router, includes the following steps:
Step 1:Obtain the location information and quantity information for having connected the mobile device of router;
Step 2:WiFi control is realized according to quantity information and location information selection router cover type.
Preferably, the step 1 includes the following steps:
Step 1.1:Whether detection mobile device connects router, if skipping to after location information is then sent to router Step 1.2, if it is not, then continuing to test;
Step 1.2:Router receives and saves location information;
Step 1.3:Router has connected router according to the ID quantity calculating in mobile device and router transmission data Mobile device quantity information.
Preferably, the step 2 includes the following steps:
Step 2.1:Router calculates connection area according to location information and quantity information;
Step 2.2:Judge whether connection area is less than the oriented cover area of router, if so, control router Directional aerial work;If it is not, then controlling the omnidirectional antenna work of router.
Preferably, the step 2.1 includes the following steps:
Step 2.1.1:The location information of each connection equipment is converted into coordinate information, the location information of router is to sit Mark origin;
Step 2.1.2:Connection area is calculated by formula based on coordinate information and origin, calculation formula is as follows:
S=0.5* ((x0*y1-x1*y0)+(x1*y2-x2*y1)+…+(xn*y0-x0*yn))
Wherein, (x0, y0), (x1, y1)…(xn, yn) it is coordinate information counterclockwise, (x0, y0) and (xn, yn) be Same point.
Preferably, the directional aerial work of router is controlled in the step 2.2 using the relay that will control directional aerial Device is set to high level, realizes and connects directional aerial.
Preferably, the omnidirectional antenna work of router is controlled in the step 2.2 using the relay that will control omnidirectional antenna Device is set to high level, realizes and connects omnidirectional antenna.
In conclusion by adopting the above-described technical solution, the beneficial effects of the invention are as follows:
1. the present invention connects the location information and quantity information of equipment by obtaining, connection area is calculated according to it, according to Connection area carries out the selection of cover type, makes full use of resource, solves existing route device nothing in the case where connecting equipment less Method provides the problem that oriented cover range causes the wasting of resources, network speed slow, has reached flexible and has changed the same of router coverage area The effect of Shi Tigao network speed;
2. the present invention is converted to oriented cover by will connect the few situation of equipment, oriented cover while economizing on resources, Promote to improve network speed, improves the practicability of router.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is flow chart of the method for the present invention;
Fig. 2 is connection area coordinate diagram of the invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention, i.e., described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is logical The component for the embodiment of the present invention being often described and illustrated herein in the accompanying drawings can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should be noted that the relational terms of term " first " and " second " or the like be used merely to an entity or Operation is distinguished with another entity or operation, and without necessarily requiring or implying between these entities or operation, there are any This actual relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non-exclusive Property include so that include a series of elements process, method, article or equipment not only include those elements, but also Further include other elements that are not explicitly listed, or further include for this process, method, article or equipment it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described There is also other identical elements in the process, method, article or equipment of element.
The technical problem to be solved in the invention is:How to realize and is oriented and covers according to the distribution and quantity of connection equipment Lid or omnidirectional's covering;The technological means of use:Step 1:Obtain the location information sum number for having connected the mobile device of router Measure information;Step 2:WiFi control is realized according to quantity information and location information selection router cover type.Specific implementation:Step Rapid 1.1:Whether detection mobile device connects router, if skipping to step 1.2 after location information is then sent to router, if It is no, then it continues to test;Step 1.2:Router receives and saves location information;Step 1.3:Router is according to mobile device and road The quantity information for having connected the mobile device of router is calculated by the ID quantity in device transmission data.Step 2.1:Router according to Location information and quantity information calculate connection area;Step 2.2:Judge whether connection area is less than the oriented cover face of router Product, if so, the directional aerial work of control router;If it is not, then controlling the omnidirectional antenna work of router.Step 2.1.1: The location information of each connection equipment is converted into coordinate information, the location information of router is coordinate origin;Step 2.1.2: Connection area is calculated by formula based on coordinate information and origin, calculation formula is as follows:
S=0.5* ((x0*y1-x1*y0)+(x1*y2-x2*y1)+…+(xn*y0-x0*yn))
Wherein, (x0, y0), (x1, y1)…(xn, yn) it is coordinate information counterclockwise, (x0, y0) and (xn, yn) be Same point.
The directional aerial work that router is controlled in step 2.2 is set to high electricity using by the relay for controlling directional aerial It is flat, it realizes and connects directional aerial.
The omnidirectional antenna work that router is controlled in step 2.2 is set to high electricity using by the relay for controlling omnidirectional antenna It is flat, it realizes and connects omnidirectional antenna.
The technical effect reached:Solution existing route device can not provide oriented cover range in the case where connection equipment lacks situation and lead The problem for causing the wasting of resources, network speed slow has achieved the effect that improve network speed while flexible change router coverage area.
Embodiment 1
According to shown in Fig. 1-2, when connection equipment is 3, the coordinate of three equipment is (x0, y0), (x1, y1), (x2, y2), (x3, y3) coordinate be respectively (0,0), (2,4), (5,7), (5,1) are obtained according to formula reference area S:18 squares, corresponding half Diameter is 2.4 meters, and the oriented cover area that the router of the present embodiment is chosen is 28, and corresponding radius is 3 meters, therefore selects orientation Antenna covering;Controller uses STC series monolithic, and relay uses fixed relay, and directional aerial uses double frequency MIMO system Column, omnidirectional antenna obtain the location information and quantity information of connection equipment using PT-OA series, calculate connection area according to it, The selection that cover type is carried out according to connection area makes full use of resource, solves existing route device and lacks in situation in connection equipment The problem that oriented cover range causes the wasting of resources, network speed slow can not be provided, flexible change router coverage area has been reached The effect of network speed is improved simultaneously.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (6)

1. a kind of WiFi control method based on router, it is characterised in that:Include the following steps:
Step 1:Obtain the location information and quantity information for having connected the mobile device of router;
Step 2:WiFi control is realized according to quantity information and location information selection router cover type.
2. a kind of WiFi control method based on router according to claim 1, it is characterised in that:Step 1 packet Include following steps:
Step 1.1:Whether detection mobile device connects router, if skipping to step after location information is then sent to router 1.2, if it is not, then continuing to test;
Step 1.2:Router receives and saves location information;
Step 1.3:Router calculates the shifting for having connected router according to the ID quantity in mobile device and router transmission data The quantity information of dynamic equipment.
3. a kind of WiFi control method based on router according to claim 1, it is characterised in that:Step 2 packet Include following steps:
Step 2.1:Router calculates connection area according to location information and quantity information;
Step 2.2:Judge whether connection area is less than the oriented cover area of router, if so, the orientation of control router Antenna Operation;If it is not, then controlling the omnidirectional antenna work of router.
4. a kind of WiFi control method based on router according to claim 3, it is characterised in that:The step 2.1 Include the following steps:
Step 2.1.1:The location information of each connection equipment is converted into coordinate information, the location information of router is that coordinate is former Point;
Step 2.1.2:Connection area is calculated by formula based on coordinate information and origin, calculation formula is as follows:
S=0.5* ((x0*y1-x1*y0)+(x1*y2-x2*y1)+…+(xn*y0-x0*yn))
Wherein, (x0, y0), (x1, y1)…(xn, yn) it is coordinate information counterclockwise, (x0, y0) and (xn, yn) it is same Point.
5. a kind of WiFi control method based on router according to claim 3, it is characterised in that:The step 2.2 The directional aerial work of middle control router is set to high level using by the relay for controlling directional aerial, realizes and connects orientation day Line.
6. a kind of WiFi control method based on router according to claim 1, it is characterised in that:The step 2.2 The omnidirectional antenna work of middle control router is set to high level using by the relay for controlling omnidirectional antenna, realizes and connects omnidirectional antennas Line.
CN201810666991.5A 2018-06-26 2018-06-26 A kind of WiFi control method based on router Pending CN108834152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810666991.5A CN108834152A (en) 2018-06-26 2018-06-26 A kind of WiFi control method based on router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810666991.5A CN108834152A (en) 2018-06-26 2018-06-26 A kind of WiFi control method based on router

Publications (1)

Publication Number Publication Date
CN108834152A true CN108834152A (en) 2018-11-16

Family

ID=64138736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810666991.5A Pending CN108834152A (en) 2018-06-26 2018-06-26 A kind of WiFi control method based on router

Country Status (1)

Country Link
CN (1) CN108834152A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109803001A (en) * 2018-12-29 2019-05-24 中科院计算技术研究所南京移动通信与计算创新研究院 Intelligent electrical bike management system and method
CN110312264A (en) * 2019-06-21 2019-10-08 重庆市农业科学院 Carry out the network management platform of three-dimensional vegetable cultivation

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070259677A1 (en) * 2006-05-02 2007-11-08 Shay Waxman Methods and apparatus for providing an extended-local area system based on short messaging service
US20090168650A1 (en) * 2007-12-28 2009-07-02 Alex Kesselman Techniques to control wireless personal area networks
CN202696915U (en) * 2012-05-14 2013-01-23 成都飞鱼星科技开发有限公司 Intelligent type wireless router
CN203457329U (en) * 2013-06-26 2014-02-26 成都卓程科技有限公司 Intelligent type wireless router
CN105611622A (en) * 2014-11-19 2016-05-25 镇江金软计算机科技有限责任公司 Position locating system based on wireless Wi-Fi
CN106535324A (en) * 2016-10-28 2017-03-22 上海斐讯数据通信技术有限公司 Router positioning method and intelligent router
CN106535308A (en) * 2016-10-27 2017-03-22 深圳市保千里电子有限公司 Method and system for smartly controlling WIFI transmission distance
CN108365883A (en) * 2018-05-17 2018-08-03 郑州天点科技有限公司 A kind of adjustable network device based on omnidirectional antenna and directional aerial
CN208174683U (en) * 2018-05-17 2018-11-30 郑州天点科技有限公司 A kind of adjustable network device based on omnidirectional antenna and directional aerial

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070259677A1 (en) * 2006-05-02 2007-11-08 Shay Waxman Methods and apparatus for providing an extended-local area system based on short messaging service
US20090168650A1 (en) * 2007-12-28 2009-07-02 Alex Kesselman Techniques to control wireless personal area networks
CN202696915U (en) * 2012-05-14 2013-01-23 成都飞鱼星科技开发有限公司 Intelligent type wireless router
CN203457329U (en) * 2013-06-26 2014-02-26 成都卓程科技有限公司 Intelligent type wireless router
CN105611622A (en) * 2014-11-19 2016-05-25 镇江金软计算机科技有限责任公司 Position locating system based on wireless Wi-Fi
CN106535308A (en) * 2016-10-27 2017-03-22 深圳市保千里电子有限公司 Method and system for smartly controlling WIFI transmission distance
CN106535324A (en) * 2016-10-28 2017-03-22 上海斐讯数据通信技术有限公司 Router positioning method and intelligent router
CN108365883A (en) * 2018-05-17 2018-08-03 郑州天点科技有限公司 A kind of adjustable network device based on omnidirectional antenna and directional aerial
CN208174683U (en) * 2018-05-17 2018-11-30 郑州天点科技有限公司 A kind of adjustable network device based on omnidirectional antenna and directional aerial

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109803001A (en) * 2018-12-29 2019-05-24 中科院计算技术研究所南京移动通信与计算创新研究院 Intelligent electrical bike management system and method
CN110312264A (en) * 2019-06-21 2019-10-08 重庆市农业科学院 Carry out the network management platform of three-dimensional vegetable cultivation
CN110312264B (en) * 2019-06-21 2022-03-11 重庆市农业科学院 Network management platform for three-dimensional cultivation of vegetables

Similar Documents

Publication Publication Date Title
US10091662B1 (en) Customer premises equipment deployment in beamformed wireless communication systems
US8326320B2 (en) Method and locating device for locating at least one mobile radio subscriber
Kitasuka et al. Wireless LAN based indoor positioning system WiPS and its simulation
CN104010364B (en) For determining the method and system in the geographical location of the estimation of base station
US9426044B2 (en) Radio access network geographic information system with multiple format
KR101077879B1 (en) Estimating the location of inexpensive wireless terminals by using signal strength measurements
CN109845393A (en) The Wireless Networking that machine learning is coordinated
CN103476112B (en) A kind of mobile terminal locating method and base station
Antevski et al. A hybrid BLE and Wi-Fi localization system for the creation of study groups in smart libraries
CN103635826A (en) Method and apparatus for geo-locating mobile station
CN110535578A (en) Method for transmitting signals and device
CN102063499A (en) Method and system for constructing electronic map locating database
CN102811455A (en) Method and device for realizing coverage measurement
Muñoz-Organero et al. Using bluetooth to implement a pervasive indoor positioning system with minimal requirements at the application level
US10666521B1 (en) Positioning network devices
CN106358155B (en) A kind of method for building up and device of radio-frequency fingerprint database
Koivisto et al. Continuous high-accuracy radio positioning of cars in ultra-dense 5G networks
CN107343315B (en) Positioning system and method based on wireless local area network multi-frequency point combined measurement
CN107743092A (en) Path selecting method and device
CN101815350B (en) Method for positioning user equipment and user equipment therefor
CN108834152A (en) A kind of WiFi control method based on router
CN109827573B (en) Method, system and application for judging coordinate system
CN107636983B (en) System and method for efficient link discovery in wireless networks
CN104469940A (en) Method and system for locating wireless terminal equipment based on wireless router
CN109451814A (en) Residence reselecting and device

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

Application publication date: 20181116

RJ01 Rejection of invention patent application after publication