CN109587718B - Regional router control system based on mobile terminal positioning - Google Patents

Regional router control system based on mobile terminal positioning Download PDF

Info

Publication number
CN109587718B
CN109587718B CN201811555374.4A CN201811555374A CN109587718B CN 109587718 B CN109587718 B CN 109587718B CN 201811555374 A CN201811555374 A CN 201811555374A CN 109587718 B CN109587718 B CN 109587718B
Authority
CN
China
Prior art keywords
router
module
closing
value
terminals
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.)
Expired - Fee Related
Application number
CN201811555374.4A
Other languages
Chinese (zh)
Other versions
CN109587718A (en
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.)
Jiangshan Leijun Intelligent Manufacturing Technology Co ltd
Original Assignee
Jiangshan Leijun Intelligent Manufacturing 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 Jiangshan Leijun Intelligent Manufacturing Technology Co Ltd filed Critical Jiangshan Leijun Intelligent Manufacturing Technology Co Ltd
Priority to CN201811555374.4A priority Critical patent/CN109587718B/en
Publication of CN109587718A publication Critical patent/CN109587718A/en
Application granted granted Critical
Publication of CN109587718B publication Critical patent/CN109587718B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

The invention discloses a regional router control system based on mobile terminal positioning, which is used for solving the problems that how to reasonably select a connecting router and reasonably distribute bandwidth according to the position of a mobile terminal and the current number of connected persons of the router, ensure the reasonability of the internet surfing speed of the mobile terminal, automatically eliminate standby mobile terminals and ensure that other mobile terminals cannot be connected, and comprises a regional router, the mobile terminal, an acquisition module, a selection module, a processor, a bandwidth distribution module, an intelligent opening and closing module, an opening and closing module, a control module, an automatic elimination module and a modification module; the invention carries out router selection on the target mobile terminal through the selection module; the automatic eliminating module is used for eliminating the standby terminal and ensuring that other terminals can be connected by eliminating the standby terminal; so as to prevent the standby terminal from occupying the connection position and causing other terminals to be unable to connect.

Description

Regional router control system based on mobile terminal positioning
Technical Field
The invention relates to the technical field of router control, in particular to a regional router control system based on mobile terminal positioning.
Background
Routers, also called gateway devices, are used to connect multiple logically separate networks, a so-called logical network representing a single network or a sub-network. This may be accomplished by the routing function of the router when data is transferred from one subnet to another. Therefore, the router has the functions of judging network addresses and selecting IP paths, can establish flexible connection in a multi-network interconnection environment, can be used for connecting various subnets by completely different data grouping and medium access methods, only receives information of a source station or other routers, and belongs to interconnection equipment of a network layer.
The existing regional router is covered by a plurality of routers, has a plurality of wireless network signals, and often appears the phenomenon that the connecting router has no network or the number of connected people is full and can not be connected.
Disclosure of Invention
The invention aims to provide a regional router control system based on mobile terminal positioning.
The technical problem to be solved by the invention is as follows:
(1) how to reasonably select a connection router according to the position of the mobile terminal and the current number of connected people of the router;
(2) how to reasonably distribute the bandwidth and ensure the reasonability of the internet speed of the mobile terminal;
(3) how to automatically eliminate the standby mobile terminal and ensure that other mobile terminals cannot be connected.
The purpose of the invention can be realized by the following technical scheme: a regional router control system based on mobile terminal positioning comprises a regional router, a mobile terminal, an acquisition module, a selection module, a processor, a bandwidth allocation module, an intelligent opening and closing module, an opening and closing module, a control module, an automatic removing module and a modification module;
the regional router is a regional wireless network formed by a plurality of routers; the mobile terminal is in communication connection with the regional router through a wireless network; marking a mobile terminal which is in communication connection with the area router and agrees to acquire position positioning information as a target mobile terminal; the acquisition module is used for acquiring the position coordinate and the network speed of the target mobile terminal, the number of the target mobile terminals currently connected with the router and the network speed of the router; the acquisition module sends the acquired position coordinates and the network speed information of the target mobile terminal to the selection module, the selection module receives the position coordinates and the network speed of the target mobile terminal sent by the acquisition module and selects a router, and the selection process comprises the following steps:
a: setting the position coordinate of the target mobile terminal as Fi, wherein i is 1 … … n; the network speed value is recorded as Wi, i is 1 … … n; setting a plurality of routers as Ai, wherein i is 1 … … n, and the coordinate of the router Ai is recorded as Bi; recording the number of the current connection terminals of the router Ai as Di; 1, 1 … … n;
b: calculating the distance between the position coordinate Fi of the target mobile terminal and the coordinate Bi of the router Ai; the distance between Fi and Ai is recorded as Ci; 1, 1 … … n;
c: classifying the network speed values Wi of the number Di of the current connection terminals of the router Ai, counting the target mobile terminals when Wi is larger than K1 and marking the target mobile terminals as using terminals Hi, and marking the number of the using terminals Hi as DAj; counting target mobile terminals when Wi < K1 and marking the target mobile terminals as standby terminals Gi, and marking the number of the standby terminals Gi as DBj; wherein, DAj + DBj ═ Di; k1 is a preset net speed value;
d: setting preset values for Ci, DAj and DBj; setting a preset value of Ci as J1; the preset value of DAj is recorded as J2; the preset value of DBj is recorded as J3;
e: using formulas
Figure GDA0002183607980000021
Acquiring a priority value Yi between the mobile terminal and the area router, wherein the larger the priority value Yi is, the higher the priority value Yi represents that the mobile terminal is preferentially connected with the router Ai; the smaller the distance Ci, the larger the priority value Yi; the smaller the number DAj of the used terminals is, the larger the priority value Yi is, the larger the number DBj of the standby terminals is, and the larger the priority value Yi is;
the selection module sends data information to the processor, wherein the data information comprises the number of the used terminals and the number of the standby terminals; the processor receives the data information sent by the selection module and sends the data information to the bandwidth allocation module; the bandwidth allocation module is used for calculating the bandwidth of the target mobile terminal, and the specific calculation steps are as follows:
the method comprises the following steps: setting a total bandwidth M; the number DAj of the used terminals Hi; the number DBj of standby terminals Gi;
step two: using formulas
Figure GDA0002183607980000031
Acquiring a bandwidth Vi of a used terminal Hi; m1 is a bandwidth fixed value preset by the standby terminal Gi;
the bandwidth allocation module sends the calculated bandwidth of the user terminal to the control module, and the control module receives the bandwidth information of the user terminal sent by the bandwidth allocation module and controls the area router; specifically, when the user terminal H1 is accessed in the router a 1; the bandwidth value corresponding to the use terminal H1 is the bandwidth V1, the control module adjusts the bandwidth value of the use terminal H1 in the router A1, and the bandwidth value of the use terminal H1 in the router A1 is equal to the bandwidth V1;
preferably, the automatic eliminating module is used for eliminating the standby terminal and comprises an acquisition unit, a storage unit and a calculation unit; the acquisition unit is used for acquiring the standby time of the standby terminal, and the standby time is the initial time of the network speed Wi < K1 of the standby terminal and is started to time; the eliminating unit is used for calculating an eliminating value of the standby terminal and eliminating the eliminating value, and the eliminating step is as follows:
s1: setting an initial time point t1 when the network speed Wi of the standby terminal Gi is less than K1; the duration of Wi < K1 is denoted t 2; when Wi > K1, the duration t2 stops counting;
s2: judging the duration of the duration t2, and when t2> tg, namely the network speed Wi < K1, the network speed duration t2 is greater than the limit duration tg; judging that the target terminal is removed;
s3: removing the target terminal; other terminals are convenient to connect;
preferably, the intelligent switching module is used for intelligently calculating the time for switching on and off the router; the intelligent opening and closing module comprises an intelligent opening and closing unit and a customized opening and closing unit; the intelligent switching unit is used for judging the opening and closing time of the intelligent control router, the intelligent switching unit comprises a counting module and a judging module, the counting module is used for counting the number of the routers connected with the use terminals and the standby terminals in each time period and sending the number to the judging module, the judging module receives the number of the routers connected with the use terminals and the standby terminals sent by the counting module and judges, and the specific judging process is as follows:
a: dividing the time of each day into a plurality of time periods, and recording the time periods as Ei, i being 1 … … n; the corresponding range of Ei is noted as (e)i-1,ei) (ii) a Setting the connection number of the connection routers of the using terminal and the standby terminal counted in each time period as Pi, i is 1 … … n;
b: using formulas
Figure GDA0002183607980000041
Obtaining a closing value Ji of a time period Ei;
c: using formula for calculating average valueObtaining an average closing value Jpi;
d: setting a closing threshold value as JA; judging the average closing value Jpi and a closing threshold value JA, and if Jpi is greater than JA; indicating that the time period Ei is the router off time period when Jpi < JA; indicating that the time period Ei is the router opening time period;
the judging module sends the calculated average closing value to an opening and closing module, and the opening and closing module is used for controlling the opening and closing of the area router; the starting and closing module receives the average closing value sent by the judging module and controls the starting and closing of the area router according to the average closing value;
preferably, the customized switching unit is used for a personal control router, and comprises a binding module and an identification module; the binding module is used for binding the individual and the router; marking individuals bound with the router as bound users; the identification module is used for identifying and calculating the coordinates and the leaving time of the bound user, and the specific calculation steps are as follows:
the method comprises the following steps: setting real-time coordinates of bound users as ZiI is 1 … … n; by binding the real-time coordinates Z of the useriCalculating the distance W between the bound user and the routeriSetting the transmitting signal range of the router as R and the leaving time as TiWherein the leaving time is Wi>R starts to time;
step two: using the formula U ═ Wi-R)*u1+TiU2 obtaining an automatic closing value U; wherein u1 and u2 are preset fixed values;
step three: using formulasObtaining the automatic opening value V, wherein,
Figure GDA0002183607980000052
indicating that the bound user is close to the router,
Figure GDA0002183607980000053
indicating that the bound user is far away from the router;
step four: setting an automatic closing threshold value as ZD 1; the automatic turn-on threshold value is marked as ZD 2; the automatic closing value U is compared with an automatic closing threshold value ZD1, when U is greater than ZD1, the identification module sends a closing instruction to the opening and closing module, and the opening and closing module controls the router to be closed; the automatic opening value V is compared with the opening threshold value ZD2, when V is greater than ZD2, the identification module sends an opening command to the opening and closing module, and the opening and closing module controls the router to be opened
Preferably, the modification module is used for modifying and displaying the area router password, and the modification module comprises an authentication unit, a display unit and a modification unit; the authentication unit is used for inputting an authentication password of the area router and authenticating the authentication password; the specific verification process is as follows:
a: setting a comparison password as q1q2q3q4q5q 6; setting an input password x1x2x3x4x5x 6;
b: matching the comparison password with the input password, and when the input password is the same as the comparison password, successfully verifying;
the verification unit sends a verification success instruction to the modification unit; the modification unit receives the verification success command sent by the verification unit and then modifies the password; the display unit is used for displaying the regional router password.
The invention has the beneficial effects that:
(1) the invention carries out router selection on the target mobile terminal through the selection module; obtaining a priority value Yi between the mobile terminal and the area router by using a formula, wherein the higher the priority value Yi is, the higher the priority value Yi represents that the mobile terminal is preferentially connected with the router Ai; the smaller the distance Ci, the larger the priority value Yi; the smaller the number DAj of the used terminals is, the larger the priority value Yi is, the larger the number DBj of the standby terminals is, and the larger the priority value Yi is;
(2) the bandwidth allocation module is used for calculating the bandwidth of the target mobile terminal; using formulas
Figure GDA0002183607980000061
Acquiring a bandwidth Vi of a used terminal Hi; m1 is a bandwidth fixed value preset by the standby terminal Gi; by removing the bandwidth of the standby terminal Gi, the bandwidth is distributed to the use terminal to the maximum extent, and the network speed of the use terminal in use is ensured;
(3) the automatic eliminating module is used for eliminating the standby terminal and eliminating the eliminated target terminal; other terminals are convenient to connect; the standby terminal is removed, so that other terminals can be connected; so as to prevent the standby terminal from occupying the connection position and causing other terminals to be unable to connect;
(4) the intelligent switching unit is used for judging the switching-on and switching-off time of the intelligent control router and dividing the time of each day into a plurality of time periods; using formulas
Figure GDA0002183607980000062
Obtaining a closing value Ji of a time period Ei; using formula for calculating average value
Figure GDA0002183607980000063
Obtaining an average closing value Jpi; when Jpi>JA; indicating that the time period Ei is a router off time period when Jpi<JA; indicating that the time period Ei is the router opening time period; the router can be reasonably closed by judging the closing time period of the router, so that resources are saved;
(5) the customized switching unit is used for the personal control router; using the formula U ═ Wi-R)*u1+TiU2 obtaining an automatic closing value U; wherein u1 and u2 are preset fixed values; using formulas
Figure GDA0002183607980000064
Obtaining the automatic opening value V, wherein,
Figure GDA0002183607980000065
indicating that the bound user is close to the router,
Figure GDA0002183607980000066
indicating that the bound user is far away from the router; the opening and closing module is used for controlling the router to be closed; comparing the automatic opening value V with the opening threshold value ZD2, when V is>ZD2, the identification module sends an 'opening' instruction to the opening and closing module, and the opening and closing module controls the router to be opened; the router is opened and closed through the personal mobile position and time, thereby the router is controlledThe device is intelligently turned on and off.
Drawings
The invention will be further described with reference to the accompanying drawings.
Fig. 1 is a schematic block diagram of a zone router control system based on mobile terminal positioning according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention is a regional router control system based on mobile terminal positioning, including a regional router, a mobile terminal, an acquisition module, a selection module, a processor, a bandwidth allocation module, an intelligent switching module, a control module, an automatic eliminating module, and a modification module;
the regional router is a regional wireless network formed by a plurality of routers; the mobile terminal is in communication connection with the regional router through a wireless network; marking a mobile terminal which is in communication connection with the area router and agrees to acquire position positioning information as a target mobile terminal; the acquisition module is used for acquiring the position coordinate and the network speed of the target mobile terminal, the number of the target mobile terminals currently connected with the router and the network speed of the router; the acquisition module sends the acquired position coordinate and network speed information of the target mobile terminal to the selection module, the selection module receives the position coordinate and the network speed of the target mobile terminal sent by the acquisition module and selects a router, and the selection process comprises the following steps:
a: setting the position coordinate of the target mobile terminal as Fi, wherein i is 1 … … n; the network speed value is recorded as Wi, i is 1 … … n; setting a plurality of routers as Ai, wherein i is 1 … … n, and the coordinate of the router Ai is recorded as Bi; recording the number of the current connection terminals of the router Ai as Di; 1, 1 … … n;
b: calculating the distance between the position coordinate Fi of the target mobile terminal and the coordinate Bi of the router Ai; the distance between Fi and Ai is recorded as Ci; 1, 1 … … n;
c: classifying the network speed values Wi of the number Di of the current connection terminals of the router Ai, counting the target mobile terminals when Wi is larger than K1 and marking the target mobile terminals as using terminals Hi, and marking the number of the using terminals Hi as DAj; counting target mobile terminals when Wi < K1 and marking the target mobile terminals as standby terminals Gi, and marking the number of the standby terminals Gi as DBj; wherein, DAj + DBj ═ Di; k1 is a preset net speed value;
d: setting preset values for Ci, DAj and DBj; setting a preset value of Ci as J1; the preset value of DAj is recorded as J2; the preset value of DBj is recorded as J3;
e: using formulas
Figure GDA0002183607980000081
Acquiring a priority value Yi between the mobile terminal and the area router, wherein the larger the priority value Yi is, the higher the priority value Yi represents that the mobile terminal is preferentially connected with the router Ai; the smaller the distance Ci, the larger the priority value Yi; the smaller the number DAj of the used terminals is, the larger the priority value Yi is, the larger the number DBj of the standby terminals is, and the larger the priority value Yi is;
the selection module sends data information to the processor, wherein the data information comprises the number of the used terminals and the number of the standby terminals; the processor receives the data information sent by the selection module and sends the data information to the bandwidth allocation module; the bandwidth allocation module is used for calculating the bandwidth of the target mobile terminal, and the specific calculation steps are as follows:
the method comprises the following steps: setting a total bandwidth M; the number DAj of the used terminals Hi; the number DBj of standby terminals Gi;
step two: using formulas
Figure GDA0002183607980000082
Acquiring a bandwidth Vi of a used terminal Hi; m1 is a bandwidth fixed value preset by the standby terminal Gi; by removing the bandwidth of the standby terminal Gi, the bandwidth is distributed to the use terminal to the maximum extent, and the network speed of the use terminal in use is ensured;
the bandwidth allocation module sends the calculated bandwidth of the user terminal to the control module, and the control module receives the bandwidth information of the user terminal sent by the bandwidth allocation module and controls the area router; specifically, when the user terminal H1 is accessed in the router a 1; the bandwidth value corresponding to the use terminal H1 is the bandwidth V1, the control module adjusts the bandwidth value of the use terminal H1 in the router A1, and the bandwidth value of the use terminal H1 in the router A1 is equal to the bandwidth V1;
the automatic eliminating module is used for eliminating the standby terminal and comprises an acquisition unit, a storage unit and a calculation unit; the acquisition unit is used for acquiring the standby time of the standby terminal, and the standby time is the initial time of the network speed Wi < K1 of the standby terminal and starts to time; the eliminating unit is used for calculating an eliminating value of the standby terminal and eliminating the eliminating value, and the eliminating step is as follows:
s1: setting an initial time point t1 when the network speed Wi of the standby terminal Gi is less than K1; the duration of Wi < K1 is denoted t 2; when Wi > K1, the duration t2 stops counting;
s2: judging the duration of the duration t2, and when t2> tg, namely the network speed Wi < K1, the network speed duration t2 is greater than the limit duration tg; judging that the target terminal is removed;
s3: removing the target terminal; other terminals are convenient to connect; the standby terminal is removed, so that other terminals can be connected; so as to prevent the standby terminal from occupying the connection position and causing other terminals to be unable to connect;
the intelligent switching module is used for intelligently calculating the time for switching on and off the router; the intelligent opening and closing module comprises an intelligent opening and closing unit and a customized opening and closing unit; the intelligent switching unit is used for judging the opening and closing time of the intelligent control router, the intelligent switching unit comprises a counting module and a judging module, the counting module is used for counting the number of the routers connected with the use terminal and the standby terminal in each time period and sending the number to the judging module, the judging module receives the number of the routers connected with the use terminal and the standby terminal sent by the counting module and judges, and the specific judging process is as follows:
a: dividing the time of each day into a plurality of time periods, and recording the time periods as Ei, i being 1 … … n; the corresponding range of Ei is noted as (e)i-1,ei) (ii) a Setting the connection number of the connection routers of the using terminal and the standby terminal counted in each time period as Pi, i is 1 … … n;
b: using formulas
Figure GDA0002183607980000091
Obtaining a closing value Ji of a time period Ei;
c: using formula for calculating average valueObtaining an average closing value Jpi;
d: setting a closing threshold value as JA; judging the average closing value Jpi and a closing threshold value JA, and if Jpi is greater than JA; indicating that the time period Ei is the router off time period when Jpi < JA; indicating that the time period Ei is the router opening time period; the router can be reasonably closed by judging the closing time period of the router, so that resources are saved;
the judgment module sends the calculated average closing value to the opening and closing module, and the opening and closing module is used for controlling the opening and closing of the area router; the start-stop module receives the average closing value sent by the judgment module and controls the start and the stop of the area router according to the average closing value;
the customized switching unit is used for the personal control router and comprises a binding module and an identification module; the binding module is used for binding the individual and the router; marking individuals bound with the router as bound users; the identification module is used for identifying and calculating the coordinates and the leaving time of the bound user, and the specific calculation steps are as follows:
the method comprises the following steps: setting real-time coordinates of bound users as ZiI is 1 … … n; by binding the real-time coordinates Z of the useriCalculating the distance W between the bound user and the routeriSetting the transmitting signal range of the router as R and the leaving time as TiWherein the leaving time is Wi>R starts to time;
step two: using the formula U ═ Wi-R)*u1+TiU2 obtaining an automatic closing value U; wherein u1 and u2 are preset fixed values;
step three: using formulas
Figure GDA0002183607980000101
Obtaining the automatic opening value V, wherein,
Figure GDA0002183607980000102
indicating that the bound user is close to the router,
Figure GDA0002183607980000103
indicating that the bound user is far away from the router;
step four: setting an automatic closing threshold value as ZD 1; the automatic turn-on threshold value is marked as ZD 2; the automatic closing value U is compared with an automatic closing threshold value ZD1, when U is greater than ZD1, the identification module sends a closing instruction to the opening and closing module, and the opening and closing module controls the router to be closed; the automatic opening value V is compared with the opening threshold value ZD2, when V is greater than ZD2, the identification module sends an opening command to the opening and closing module, and the opening and closing module controls the router to be opened; the router is opened and closed through the personal mobile position and time, so that the router is intelligently opened and closed;
the modification module is used for modifying and displaying the regional router password, and comprises an authentication unit, a display unit and a modification unit; the verification unit is used for inputting a verification password of the area router and verifying the password; the specific verification process is as follows:
a: setting a comparison password as q1q2q3q4q5q 6; setting an input password x1x2x3x4x5x 6;
b: matching the comparison password with the input password, and when the input password is the same as the comparison password, successfully verifying;
the verification unit sends a verification success instruction to the modification unit; the modification unit receives the verification success command sent by the verification unit and then modifies the password; the display unit is used for displaying the regional router password.
The working principle is as follows: the position of a target mobile terminal is acquired through an acquisition module, router connection selection is carried out on the target mobile terminal through a selection module, and a proper router is selected to be connected, so that the internet speed of a user is guaranteed; calculating the bandwidth of the target mobile terminal through a bandwidth allocation module, and then setting the calculated bandwidth through a control module, so as to reasonably allocate the bandwidth setting of the target mobile terminal; removing the removed target terminal through an automatic removing module; other terminals are convenient to connect; so as to prevent the standby terminal from occupying the connection position and causing other terminals to be unable to connect; the intelligent switching module is used for intelligently calculating the time for switching on and off the router; according to the calculation of the time period of no-use, the router is reasonably closed, and the electric energy is saved; the individual is bound with the router, and the router is opened and closed through the individual mobile position and time, so that the router is intelligently opened and closed.
Carrying out router selection on a target mobile terminal through a selection module; obtaining a priority value Yi between the mobile terminal and the area router by using a formula, wherein the higher the priority value Yi is, the higher the priority value Yi represents that the mobile terminal is preferentially connected with the router Ai; the smaller the distance Ci, the larger the priority value Yi; the smaller the number DAj of the used terminals is, the larger the priority value Yi is, the larger the number DBj of the standby terminals is, and the larger the priority value Yi is; the bandwidth allocation module is used for calculating the bandwidth of the target mobile terminal; using formulas
Figure GDA0002183607980000111
Acquiring a bandwidth Vi of a used terminal Hi; m1 is a bandwidth fixed value preset by the standby terminal Gi; by removing the bandwidth of the standby terminal Gi, the bandwidth is distributed to the use terminal to the maximum extent, and the network speed of the use terminal in use is ensured; the automatic eliminating module is used for eliminating the standby terminal and eliminating the eliminated target terminal; other terminals are convenient to connect; the standby terminal is removed, so that other terminals can be connected; so as to prevent the standby terminal from occupying the connection position and causing other terminals to be unable to connect; intelligent opening and closing sheetThe element is used for judging the opening and closing time of the intelligent control router and dividing the time of each day into a plurality of time periods; using formulas
Figure GDA0002183607980000121
Obtaining a closing value Ji of a time period Ei; using formula for calculating average value
Figure GDA0002183607980000122
Obtaining an average closing value Jpi; when Jpi>JA; indicating that the time period Ei is a router off time period when Jpi<JA; indicating that the time period Ei is the router opening time period; the router can be reasonably closed by judging the closing time period of the router, so that resources are saved; the customized switching unit is used for the personal control router; using the formula U ═ Wi-R)*u1+TiU2 obtaining an automatic closing value U; wherein u1 and u2 are preset fixed values; using formulas
Figure GDA0002183607980000123
Obtaining the automatic opening value V, wherein,
Figure GDA0002183607980000124
indicating that the bound user is close to the router,
Figure GDA0002183607980000125
indicating that the bound user is far away from the router; the opening and closing module is used for controlling the router to be closed; comparing the automatic opening value V with the opening threshold value ZD2, when V is>ZD2, the identification module sends an 'opening' instruction to the opening and closing module, and the opening and closing module controls the router to be opened; the router is opened and closed through the personal mobile position and time, and therefore the router is opened and closed intelligently.
The foregoing is merely exemplary and illustrative of the present invention and various modifications, additions and substitutions may be made by those skilled in the art to the specific embodiments described without departing from the scope of the invention as defined in the following claims.

Claims (5)

1. A regional router control system based on mobile terminal positioning is characterized by comprising a regional router, a mobile terminal, an acquisition module, a selection module, a processor, a bandwidth allocation module, an intelligent opening and closing module, an opening and closing module, a control module, an automatic removing module and a modification module;
the regional router is a regional wireless network formed by a plurality of routers; the mobile terminal is in communication connection with the regional router through a wireless network; marking a mobile terminal which is in communication connection with the area router and agrees to acquire position positioning information as a target mobile terminal; the acquisition module is used for acquiring the position coordinate and the network speed of the target mobile terminal, the number of the target mobile terminals currently connected with the router and the network speed of the router; the acquisition module sends the acquired position coordinates and the network speed information of the target mobile terminal to the selection module, the selection module receives the position coordinates and the network speed of the target mobile terminal sent by the acquisition module and selects a router, and the selection process comprises the following steps:
a: setting the position coordinate of the target mobile terminal as Fi, wherein i is 1 … … n; the network speed value is recorded as Wi, i is 1 … … n; setting a plurality of routers as Ai, wherein i is 1 … … n, and the coordinate of the router Ai is recorded as Bi; recording the number of the current connection terminals of the router Ai as Di; 1, 1 … … n;
b: calculating the distance between the position coordinate Fi of the target mobile terminal and the coordinate Bi of the router Ai; the distance between Fi and Ai is recorded as Ci; 1, 1 … … n;
c: classifying the network speed values Wi of the number Di of the current connection terminals of the router Ai, counting the target mobile terminals when Wi is larger than K1 and marking the target mobile terminals as using terminals Hi, and marking the number of the using terminals Hi as DAj; counting target mobile terminals when Wi < K1 and marking the target mobile terminals as standby terminals Gi, and marking the number of the standby terminals Gi as DBj; wherein, DAj + DBj ═ Di; k1 is a preset net speed value;
d: setting preset values for Ci, DAj and DBj; setting a preset value of Ci as J1; the preset value of DAj is recorded as J2; the preset value of DBj is recorded as J3;
e: using formulasAcquiring a priority value Yi between the mobile terminal and the area router, wherein the larger the priority value Yi is, the higher the priority value Yi represents that the mobile terminal is preferentially connected with the router Ai; the smaller the distance Ci, the larger the priority value Yi; the smaller the number DAj of the used terminals is, the larger the priority value Yi is, the larger the number DBj of the standby terminals is, and the larger the priority value Yi is;
the selection module sends data information to the processor, wherein the data information comprises the number of the used terminals and the number of the standby terminals; the processor receives the data information sent by the selection module and sends the data information to the bandwidth allocation module; the bandwidth allocation module is used for calculating the bandwidth of the target mobile terminal, and the specific calculation steps are as follows:
the method comprises the following steps: setting a total bandwidth M; the number DAj of the used terminals Hi; the number DBj of standby terminals Gi;
step two: using formulas
Figure FDA0002183607970000021
Acquiring a bandwidth Vi of a used terminal Hi; m1 is a bandwidth fixed value preset by the standby terminal Gi;
the bandwidth allocation module sends the calculated bandwidth of the user terminal to the control module, and the control module receives the bandwidth information of the user terminal sent by the bandwidth allocation module and controls the area router; specifically, when the user terminal H1 is accessed in the router a 1; the bandwidth value corresponding to the use terminal H1 is the bandwidth V1, and the control module adjusts the bandwidth value of the use terminal H1 in the router A1 to enable the bandwidth value of the use terminal H1 in the router A1 to be equal to the bandwidth V1.
2. The system for controlling the area router based on the mobile terminal positioning as claimed in claim 1, wherein the automatic eliminating module is used for eliminating the standby terminal, and comprises an acquisition unit, a storage unit and a calculation unit; the acquisition unit is used for acquiring the standby time of the standby terminal, and the standby time is the initial time of the network speed Wi < K1 of the standby terminal and is started to time; the eliminating unit is used for calculating an eliminating value of the standby terminal and eliminating the eliminating value, and the eliminating step is as follows:
s1: setting an initial time point t1 when the network speed Wi of the standby terminal Gi is less than K1; the duration of Wi < K1 is denoted t 2; when Wi > K1, the duration t2 stops counting;
s2: judging the duration of the duration t2, and when t2> tg, namely the network speed Wi < K1, the network speed duration t2 is greater than the limit duration tg; judging that the target terminal is removed;
s3: removing the target terminal; facilitating the connection of other terminals.
3. The system according to claim 1, wherein the intelligent switching module is configured to intelligently calculate the time for switching on and off the router; the intelligent opening and closing module comprises an intelligent opening and closing unit and a customized opening and closing unit; the intelligent switching unit is used for judging the opening and closing time of the intelligent control router, the intelligent switching unit comprises a counting module and a judging module, the counting module is used for counting the number of the routers connected with the use terminals and the standby terminals in each time period and sending the number to the judging module, the judging module receives the number of the routers connected with the use terminals and the standby terminals sent by the counting module and judges, and the specific judging process is as follows:
a: dividing the time of each day into a plurality of time periods, and recording the time periods as Ei, i being 1 … … n; the corresponding range of Ei is noted as (e)i-1,ei) (ii) a Setting the connection number of the connection routers of the using terminal and the standby terminal counted in each time period as Pi, i is 1 … … n;
b: using formulas
Figure FDA0002183607970000031
Obtaining a closing value Ji of a time period Ei;
c: using formula for calculating average value
Figure FDA0002183607970000032
Obtaining an average closing value Jpi;
d: setting a closing threshold value as JA; judging the average closing value Jpi and a closing threshold value JA, and if Jpi is greater than JA; indicating that the time period Ei is the router off time period when Jpi < JA; indicating that the time period Ei is the router opening time period;
the judging module sends the calculated average closing value to an opening and closing module, and the opening and closing module is used for controlling the opening and closing of the area router; the starting and closing module receives the average closing value sent by the judging module and controls the starting and closing of the area router according to the average closing value;
4. the system of claim 3, wherein the customized switching unit is used for personal control of the router, and comprises a binding module and an identification module; the binding module is used for binding the individual and the router; marking individuals bound with the router as bound users; the identification module is used for identifying and calculating the coordinates and the leaving time of the bound user, and the specific calculation steps are as follows:
the method comprises the following steps: setting real-time coordinates of bound users as ZiI is 1 … … n; by binding the real-time coordinates Z of the useriCalculating the distance W between the bound user and the routeriSetting the transmitting signal range of the router as R and the leaving time as TiWherein the leaving time is Wi>R starts to time;
step two: using the formula U ═ Wi-R)*u1+TiU2 obtaining an automatic closing value U; wherein u1 and u2 are preset fixed values;
step three: using formulas
Figure FDA0002183607970000041
Obtaining the automatic opening value V, wherein,
Figure FDA0002183607970000042
indicating that the bound user is close to the router,
Figure FDA0002183607970000043
indicating that the bound user is far away from the router;
step four: setting an automatic closing threshold value as ZD 1; the automatic turn-on threshold value is marked as ZD 2; the automatic closing value U is compared with an automatic closing threshold value ZD1, when U is greater than ZD1, the identification module sends a closing instruction to the opening and closing module, and the opening and closing module controls the router to be closed; and the automatic opening value V is compared with the opening threshold value ZD2, when V is greater than ZD2, the identification module sends an opening command to the opening and closing module, and the opening and closing module controls the opening of the router.
5. The system for controlling the regional router based on the mobile terminal positioning as claimed in claim 1, wherein the modification module is used for modifying and displaying the regional router password, and the modification module comprises an authentication unit, a display unit and a modification unit; the authentication unit is used for inputting an authentication password of the area router and authenticating the authentication password; the specific verification process is as follows:
a: setting a comparison password as q1q2q3q4q5q 6; setting an input password x1x2x3x4x5x 6;
b: matching the comparison password with the input password, and when the input password is the same as the comparison password, successfully verifying;
the verification unit sends a verification success instruction to the modification unit; the modification unit receives the verification success command sent by the verification unit and then modifies the password; the display unit is used for displaying the regional router password.
CN201811555374.4A 2018-12-19 2018-12-19 Regional router control system based on mobile terminal positioning Expired - Fee Related CN109587718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811555374.4A CN109587718B (en) 2018-12-19 2018-12-19 Regional router control system based on mobile terminal positioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811555374.4A CN109587718B (en) 2018-12-19 2018-12-19 Regional router control system based on mobile terminal positioning

Publications (2)

Publication Number Publication Date
CN109587718A CN109587718A (en) 2019-04-05
CN109587718B true CN109587718B (en) 2020-02-07

Family

ID=65930051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811555374.4A Expired - Fee Related CN109587718B (en) 2018-12-19 2018-12-19 Regional router control system based on mobile terminal positioning

Country Status (1)

Country Link
CN (1) CN109587718B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862604B (en) * 2019-04-16 2021-03-23 武汉思创易控科技有限公司 AP-based nearby access method, control method, storage medium and AP
CN110445673A (en) * 2019-07-13 2019-11-12 恒大智慧科技有限公司 A kind of method for down loading and system, computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6975621B2 (en) * 2001-03-20 2005-12-13 Motorola, Inc Method to optimally select bandwidth and priority for voice message packets in a voice over IP network
US7558271B2 (en) * 2005-10-21 2009-07-07 International Business Machines Corporation Method and apparatus for adaptive bandwidth control with defined priorities for different networks
CN101447913B (en) * 2007-11-27 2011-04-20 华为技术有限公司 Method and server for determining through optical path and system for establishing through optical path
US9584400B2 (en) * 2012-08-31 2017-02-28 Nokia Technologies Oy Method and apparatus for selecting a router in an infinite link network
CN102904941B (en) * 2012-09-28 2016-12-21 北京奇虎科技有限公司 The process of a kind of network access speed information, the method and apparatus of display
US10382341B2 (en) * 2015-03-20 2019-08-13 Juniper Networks, Inc. Label switched path preemption avoidance
CN104753797B (en) * 2015-04-09 2017-08-25 清华大学深圳研究生院 A kind of content center network dynamic routing method based on selectivity caching

Also Published As

Publication number Publication date
CN109587718A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
US8576866B2 (en) Hierarchical rate limiting of control packets
CN109587718B (en) Regional router control system based on mobile terminal positioning
CN105050118A (en) Wi-Fi hotspot connecting method and device
US20110196977A1 (en) Dynamic service groups based on session attributes
CN103491649B (en) WIFI synchronizes APN network multi-channel and concurrently surfs the Net and the method for the most preferably WIFI networking
CN107318113A (en) Network sliced sheet processing method and device
CN107566429A (en) Base station, the response method of access request, apparatus and system
CN108391298A (en) A kind of system and electronic equipment of network automatic switchover
CN106656547A (en) Method and apparatus for updating network configuration of household electrical appliances
CN103430495A (en) Network system, controller, and QoS control method
CN101312410B (en) Control apparatus and method for controlling access of multiple kinds of service in same user side interface
CN106535187A (en) Smart home equipment access method and system based on wireless router terminal
CN107682887A (en) A kind of router control, the method and system of anti-loiter network
CN109005044A (en) Data transfer control method and relevant apparatus
CN105744100B (en) A kind of intelligent communication method, device and communication equipment
CN109287001A (en) Link connection method and relevant apparatus
CN105307224B (en) A kind of method, apparatus and terminal that terminal intelligently switches between access points
US20150120930A1 (en) Provisioning access point bandwidth based on predetermined events
CN107483360B (en) Service flow scheduling method and device
CN101980488A (en) Address resolution protocol (ARP) table entry management method and three-layer exchanger
CN108024306B (en) TCP connection management method and gateway equipment
CN112492591B (en) Method and device for accessing power Internet of things terminal to network
CN106792821B (en) Access control method and device based on virtual gateway
CN113423121A (en) Bandwidth configuration method and device and data transmission method and device
CN106851685A (en) A kind of method and system of control mobile terminal bandwidth

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
TA01 Transfer of patent application right

Effective date of registration: 20200109

Address after: 324000 No.9, Guangfu Road, Hecun Town, Jiangshan City, Quzhou City, Zhejiang Province

Applicant after: Jiangshan Leijun Intelligent Manufacturing Technology Co.,Ltd.

Address before: 438700 Xingang No.2 Road, Huangzhou District, Huanggang City, Hubei Province, 146

Applicant before: Ye Donghai

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200207

Termination date: 20211219

CF01 Termination of patent right due to non-payment of annual fee