Roaming method and system based on time scheduling
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a roaming method and system based on time scheduling.
Background
From the information age to the data age, the demand of people living in cities for wireless data services has increased explosively, and the introduction of the concept of wireless cities has prompted the rapid coverage of wireless technologies in public areas. The wireless city is a wireless network which covers urban administrative areas by using a high-speed broadband wireless technology, provides services for acquiring information by using wireless terminals or wireless technologies for the public and provides access and faster speed to the city or the area anytime and anywhere; the wireless user can move in the whole WLAN coverage area, and the wireless network card can automatically discover the AP (wireless access point) with the maximum signal strength nearby and transmit and receive data through the AP to keep uninterrupted network connection. The AP is equivalent to a bridge connected with a wired network and a wireless network, and can connect all wireless network clients together to realize wide-range and multi-user wireless access.
Usually, a plurality of APs are responsible for aggregating data and accessing to the Internet by an AC (wireless access controller), and simultaneously, control functions such as configuration management of AP devices, authentication and management of wireless users, broadband access, security and the like are completed, so that the pressure of a background (such as a network management platform) can be greatly reduced. By utilizing the strong management and control functions of the AC, a personalized and specialized WLAN solution can be constructed.
In the foreseeable future, the coverage range of wireless WIFI in public areas is widened, and a large number of APs are distributed in places such as shopping malls, buses, subways, trains, high-speed rails and parks. Wireless services are convenient for people to distribute in cities, and meanwhile, problems are caused, on one hand, the running power consumption of a large amount of wireless equipment is large; on the other hand, in different places at different times, the roaming service requirements of users are different, and if the users are treated in a cutting mode for a long time, the conditions that the resource allocation is unreasonable and the user experience is not smooth are generated. How to deal with resource allocation is a major issue in wireless roaming.
Chinese patent publication No. CN104936255A discloses a wireless access control method, apparatus, router, and terminal, the method comprising: detecting a first signal strength of the associated terminal; judging whether the first signal intensity is lower than a preset signal intensity threshold value or not; and when the first signal strength is judged to be lower than the signal strength threshold, reducing the power for sending the management message, so that the terminal releases the association with the AP when detecting that the second signal strength of the associated AP is lower than the roaming threshold.
In the method, the terminal can automatically release the association with the AP with weaker signal strength without manual operation of a user, disassociates the AP with better signal strength in the wireless local area network, improves the internet experience of the user and ensures the performance of the whole network, and the method changes the AP associated with the user terminal to increase the user experience and allocate resources; but the pertinence is poor, when more users exist and the number of the APs in the area is small, the method has low realizable rate of improving the internet surfing experience of the users and needs to be established under a more reasonable resource allocation system.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a roaming method and system based on time scheduling, which can provide wireless roaming service more intelligently, allocate and utilize network resources more reasonably, improve user internet experience, reduce power consumption, and save electricity resources, in view of the above-mentioned deficiencies of the prior art.
In order to achieve the purpose, the invention adopts the technical scheme that:
a roaming method based on time scheduling, the method comprising the steps of:
s10: collecting and analyzing the number of roaming user access requests in different time periods;
s20: configuring the power and user standard access threshold of each time slot access point;
s30: and reading the current time period, and providing roaming service according to the power of the access point and the user standard access threshold value of the current time period.
Further, the collecting and analyzing the number of roaming user access requests in different time periods comprises the following steps:
s11: collecting the quantity of roaming user access requests of different time periods of a scene where the roaming user is located through an access point;
s12: and dividing time grades according to the distribution condition of the number of the user access requests along with time.
Further, in the step S12, the time level T is divided by using a discretization processing method0、T1、...、TnN is a natural number, and the larger n is, the smaller the number of user access requests is.
Further, the power of the access point in step S20 is configured according to the following formula:
Pn=(100/(n+1)%)*Pmax。
wherein the content of the first and second substances,
Pnis time level of TnThe power value required to be configured;
Pmaxa maximum power value configurable for the access point.
Further, the user standard access threshold of the access point in step S20 is configured according to the following formula:
Rn=(100/(n+1)%)*Rmax。
wherein the content of the first and second substances,
Rnis time level of TnA user standard access threshold value which needs to be configured;
Rmaxand the access point is configured with the highest user standard access threshold value.
Further, step S30 includes determining whether the number of user access requests is higher than the current access permission threshold, rejecting user access if the number of user access requests is higher than the current access permission threshold, and allowing user access if the number of user access requests is not higher than the current access permission threshold.
Further, the step S30 further includes collecting the total number of the users refused to access and the users allowed to access in the current time period, so that the data is updated in time.
A roaming system based on time scheduling, comprising:
the data processing module is used for collecting and analyzing the number of roaming user access requests in different time periods;
the configuration module is used for configuring the power of the access point in each time period and the user standard access threshold;
and the access module is used for reading the current time period and providing roaming service according to the power of the access point in the current time period and the user standard access threshold value.
Further, the data processing module comprises:
the collection unit is used for collecting the access request quantity of roaming users in different time periods of the scene where the access point is located through the access point;
and the dividing unit is used for dividing the time grades according to the distribution condition of the number of the user access requests along with the time.
Further, the access module includes a determining unit, configured to determine whether the number of user access requests is higher than a current quasi access threshold.
After the technical scheme is adopted, the invention has the beneficial effects that:
(1) the method comprises the steps of acquiring a more accurate data set by collecting the number of roaming user access requests in different time periods and analyzing the distribution condition of the number of the user access requests along with the change of time, knowing peak and off-peak periods of a specified scene in detail, and conveniently and reasonably configuring the power of an access point and the user standard access threshold;
(2) the time grade is divided in a discretization processing mode, so that more practical situation division can be obtained;
(3) by configuring the power of the access point in each time period and the user access threshold, targeted power and access threshold in different time periods are given, so that the power consumption is reduced, the user access amount can be intelligently allocated, and the user internet experience is improved;
(4) the effect of updating data regularly is achieved by collecting the total number of the users refusing to access and the users allowing to access in the current time period, not only are the number of the users collecting to access, but also the number of the users refusing to access are collected, and the accuracy of configuration information is kept.
Drawings
In order to more clearly illustrate embodiments of the present invention or prior art solutions, the drawings are as follows:
fig. 1 is a flowchart of a roaming method based on time scheduling according to embodiment 1 of the present invention;
fig. 2 is a structural diagram of a roaming system based on time scheduling in embodiment 1 of the present invention;
fig. 3 is a flowchart of a roaming method based on time scheduling according to embodiment 2 of the present invention;
FIG. 4 is a block diagram of a data processing module according to embodiment 2 of the present invention;
FIG. 5 is a flowchart of the procedure of step S30 in embodiment 4 of the present invention;
fig. 6 is a structural diagram of a roaming system based on time scheduling in embodiment 4 of the present invention.
Detailed Description
The following are specific embodiments of the present invention and are further described with reference to the drawings, but the present invention is not limited to these embodiments.
Wireless services are convenient for people to spread throughout cities, and meanwhile, the wireless services also bring problems, such as large running power consumption of a large amount of wireless equipment, different sites at different time, different roaming service demands of users, unreasonable resource allocation and unsmooth user experience; the invention provides a corresponding solution based on the situation, and the method has a differentiated configuration roaming scheme and can preferably intelligently adjust the division, thereby realizing intelligent and energy-saving wireless roaming service.
According to long-term investigation, the user roaming request has the same characteristic in different application scenes (such as parks, subways, shopping malls and high-speed rails), the quantity demand of the user wireless access requests has great correlation with time, and the user access time periods are divided into a plurality of time periods according to the user quantity and are classified into grades, such as peak periods, common periods, sleeping periods and the like.
The following are specific examples of the present invention.
Example 1
As shown in fig. 1, a flowchart of a roaming method based on time scheduling in this embodiment is shown, where the method includes:
s10: collecting and analyzing the number of roaming user access requests in different time periods;
in this step, the AC collects data of the number of all-weather (24-hour) roaming user access requests, analyzes and draws a distribution graph of the number of user access requests in the time dimension, divides the time into time periods, and divides the time levels from high to low according to the number of user access requests from high to low.
S20: configuring the power and user standard access threshold of each time slot access point;
in the step, in each time period, namely each time level, the AC collects and analyzes data of the access request quantity of all-weather (24-hour) roaming users, and divides the time levels according to the specific condition of centralized distribution of the request quantity, so that the AC can be uniformly and pertinently guided to carry out relevant configuration; the AC configures access thresholds of power and user criteria of Access Points (APs) at different time levels according to a correlation algorithm, and knows according to the partitioning rule in step S10 that: the more the number of the user access requests is, the higher the time level is, and the larger the configured power and user standard access threshold value is.
S30: and reading the current time period, and providing roaming service according to the power of the access point and the user standard access threshold value of the current time period.
In this step, the AC reads the current time period, obtains the time class of the current time period, and provides a corresponding roaming service according to the power and user criteria access threshold value that the AP should be configured at the current time class.
The specific AC (Wireless Access Point Controller) is a network device, is used to centralize and control the Wireless AP, is a core of the Wireless network, is responsible for managing all the Wireless APs in the Wireless network, and includes: configuration issuing, relevant configuration parameter modification, radio frequency intelligent management, access security control and the like.
Fig. 2 is a structural diagram of a roaming system based on time scheduling in this embodiment, where the system includes:
the data processing module 10 is used for collecting and analyzing the number of roaming user access requests in different time periods;
a configuration module 20, configured to configure the power and user standard access threshold of the access point in each time period;
the access module 30 is configured to read a current time period, and provide a roaming service according to the power of an access point and a user criterion access threshold in the current time period.
The data processing module 10 and the configuration module 20 may be integrated in the same AC.
The method has the advantages that the level state of the user access request quantity is divided according to time, the AC is enabled to configure the AP power and the user standard access threshold value in a targeted mode, network resources are utilized more intelligently and reasonably, the user internet experience is improved, meanwhile, the function consumption is reduced, and the wireless roaming service distribution on demand under most application scenes can be met.
Example 2
The difference between this embodiment and the previous embodiment is that this embodiment specifically introduces a method and a system for collecting and analyzing the number of roaming user access requests in different time periods.
Fig. 3 is a flowchart illustrating a roaming method based on time scheduling in this embodiment, where the collecting and analyzing the number of roaming user access requests in different time periods includes the following steps:
s11: collecting the access request quantity of roaming users in different time periods of a scene where the roaming users are located through an AP;
s12: and dividing time grades according to the distribution condition of the number of the user access requests along with time.
In the step S12, the time level T is divided by adopting a discretization processing method0、T1、...、TnN is a natural number, the larger n is, the smaller the number of user access requests is, and the lower the represented time level is; for example, the subway station can be simply divided into a rush hour T for getting on and off duty0Off-peak operating period T1And a sleep period T2。
The discretization processing means that continuous data are segmented into a plurality of segments, the segmentation principle is equidistant, equal frequency and optimized, or the discrete processing is carried out on the continuous data according to the characteristics of the data, and then some extreme values and nonlinear relation quantities are integrated, so that the relation between independent variables and target variables becomes clear; in the embodiment, the segmentation is performed according to the centralized characteristic of the distribution condition of the user access request quantity along with time, the independent variable is time, the target variable is the user access request quantity, the time complexity can be effectively reduced through discretization processing, and the distribution of the user access request quantity along with the time level is clearly shown.
As shown in fig. 4, which is a structural diagram of a data processing module in this embodiment, the data processing module 10 includes:
the collecting unit 11 is configured to collect, through the AP, the number of access requests of roaming users in different time periods of a scene where the roaming users are located;
and a dividing unit 12, configured to divide the time classes according to a distribution situation of the number of user access requests over time.
The embodiment has the advantages that the AP is used for correspondingly collecting data, so that the method is simpler and quicker to operate, and the collected data is more accurate; the most preferable time grade situation is obtained through a discretization processing mode, so that the distribution is more reasonable, the user internet experience is smoother, and the product credit degree is higher.
Example 3
The difference between this embodiment and embodiment 2 is that this embodiment introduces a specific method for configuring access point power and user reference access threshold.
The power of the AP in step S20 is configured according to the following formula:
Pn=(100/(n+1)%)*Pmax。
wherein the content of the first and second substances,
Pnis time level of TnThe power value required to be configured;
Pmaxa maximum power value configurable for the AP.
If the time scale is T1And the AC configures the current power of the AP to be 50% of the maximum power value.
The user reference access threshold of the AP in step S20 is configured according to the following formula calculation result:
Rn=(100/(n+1)%)*Rmax。
wherein the content of the first and second substances,
Rnis time level of TnA user standard access threshold value which needs to be configured;
Rmaxand accessing a threshold value for the highest user standard configurable by the AP.
If the time scale is T1And the AC configures the current user reference access threshold of the AP to be 50% of the highest user reference access threshold.
The calculation mode adopted in the embodiment is designed in a relatively concentrated scene of a user request peak time period and an off-peak time period, such as places of subways, buses and the like, and is a mode which is relatively easy to implement and has relatively low power consumption.
Example 4
The difference between this embodiment and embodiment 3 is that this embodiment further includes periodic updating of the number of roaming user access requests (including the number of users refusing access).
As shown in fig. 5, a flowchart of a process of step S30 in this embodiment is shown, where step S30 includes determining whether the number of user access requests is higher than a current access permission threshold, and if so, denying the user access, and if not, allowing the user access.
In this step, when receiving a new user access request, the AP feeds back to the AC, the AC reads the current time, obtains the user standard access threshold value at the time level of the current time, and determines whether the user access number added to the user is higher than the user standard access threshold value allowed by the current AP, if so, the user access is denied, and if not, the user access is allowed, and roaming service is provided for the user.
The step S30 further includes collecting the total number of users refused to access and allowed to access in the current time period, so that the data can be updated in time.
In this step, every time a user is accessed or a user is rejected, the number of APs needs to be recorded and stored, and is periodically uploaded to the AC, which is specifically implemented as follows: and the AP collects the total number of the users refused to access and the users allowed to access at the current time to form user request access total number distribution data which changes along with the time, saves the data to obtain data summary (such as 7 points to 9 points) of a certain time period, immediately uploads the data information to the AC, and empties the data of the time period to leave a storage space to continuously store the user request access total number distribution data summary of the next time period.
As shown in fig. 6, which is a structure diagram of a roaming system based on time scheduling in this embodiment, the access module 30 includes a determining unit 31 for determining whether the number of user access requests is higher than a current quasi access threshold.
The embodiment has the advantages that the total number of the users refusing to access and the users allowing to access in the current time period is collected through the AP, the data in the total time period is obtained through storage, and the AC is uploaded regularly to be subjected to summary analysis, so that the data can be updated regularly, the configuration of the AC is more flexible and intelligent, and the actual requirements are met; the method and the device not only collect the number of accessed users, but also collect the number of rejected users, thereby ensuring the accuracy of the reference information during AC configuration.
The specific embodiments described herein are merely illustrative of the spirit of the invention. Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.