CN112491563A - Campus network free flow calculation method, system, server and storage medium - Google Patents

Campus network free flow calculation method, system, server and storage medium Download PDF

Info

Publication number
CN112491563A
CN112491563A CN202011241790.4A CN202011241790A CN112491563A CN 112491563 A CN112491563 A CN 112491563A CN 202011241790 A CN202011241790 A CN 202011241790A CN 112491563 A CN112491563 A CN 112491563A
Authority
CN
China
Prior art keywords
flow
free
data
account
traffic
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.)
Granted
Application number
CN202011241790.4A
Other languages
Chinese (zh)
Other versions
CN112491563B (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.)
Central China Normal University
Original Assignee
Central China Normal University
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 Central China Normal University filed Critical Central China Normal University
Priority to CN202011241790.4A priority Critical patent/CN112491563B/en
Publication of CN112491563A publication Critical patent/CN112491563A/en
Application granted granted Critical
Publication of CN112491563B publication Critical patent/CN112491563B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a campus network free flow calculation method, a system, a server and a readable storage medium, wherein different preset flow-free rules are set for different account numbers, and flow types of terminal equipment are counted to realize that different types of free flow calculation strategies are used for different account numbers, so that the technical problems that in the prior art, refined management cannot be carried out on a campus network, teacher lessons can be influenced when flow limitation is too large, and students cannot be normalized when flow limitation is too small are solved, and the technical effect of realizing the refined management of the campus network is achieved.

Description

Campus network free flow calculation method, system, server and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a campus network free flow calculation method, a campus network free flow calculation system, a campus network free flow calculation server and a campus network free flow calculation storage medium.
Background
Because some students at school lack effective self-control power, the Internet can not be effectively utilized for learning in the face of open Internet ecology, the school has the responsibility of teaching book nurses and needs to guide the students to use the Internet to improve the learning efficiency, however, because the contents browsed by each student on the open ecological Internet are different, the correction of the use of the Internet by the students needs the guidance of teachers and students, the method lacks efficiency and is difficult to cover all students, and the learning efficiency of teachers and students who normally use the Internet can not be reduced by using the Internet.
The existing campus network shields partial websites mostly through the mechanism of the blacklist, however, due to the fact that the identities of users of the campus network are different and the purposes are different, management personnel training, occupation training, student public classes, teacher training and the like exist, if the limitation is too large, normal activities of teachers and students can be influenced, the existing blacklist mechanism only can limit teachers and students to the minimum degree, and the purpose of guiding students to use the Internet to improve the learning efficiency cannot be achieved.
Disclosure of Invention
The invention provides a campus network free flow calculation method, a campus network free flow calculation system, a campus network free flow calculation server and a campus network free flow calculation storage medium, and aims to solve the technical problem that in the prior art, the prior campus network free flow calculation method is not available, and students cannot be guided to use the Internet to improve learning efficiency.
The invention solves the technical problem and provides a campus network free flow calculation method, which comprises the following steps:
responding to a login request of terminal equipment, and issuing an authentication page to the terminal equipment;
receiving an account number and a password input by the terminal equipment on the authentication page, authenticating the account number and the password according to account information in a database, and selecting a corresponding preset flow-free rule according to the account type of the account number in the database;
and calculating free flow according to the statistical data of the flow type of the terminal equipment and the preset flow-free rule.
Preferably, the step of calculating the free traffic according to the traffic type of the terminal device and a preset flow-free rule specifically includes:
obtaining the flow type according to the data flow characteristics and the target internet protocol address;
counting the data traffic of the terminal equipment according to the traffic type to obtain the statistical data;
and calculating free flow according to the statistical data and the preset flow-free rule.
Preferably, the step of obtaining the traffic type according to the data traffic characteristics and the target internet protocol address specifically includes:
and correspondingly setting a white list and a black list according to the known learning related website and the entertainment related website, counting the data flow according to different target internet protocol addresses, setting the white list flow meter as free flow, and setting the black list flow meter as charged flow.
Preferably, the method further comprises the following steps:
the database caches page data pointed by the Internet protocol address in the white list and caches data reaching an access frequency threshold value in a non-white list;
performing characteristic analysis on the data reaching the access frequency threshold, and when the data reaching the access frequency threshold is non-learning data, taking the flow meter as a charging flow;
and updating the data of the Internet protocol addresses in the white list at regular time, and deleting the non-learning data of which the number of accesses is less than the threshold of the number of accesses for a preset number of days.
Preferably, the step of obtaining the traffic type according to the data traffic characteristics and the target internet protocol address specifically includes:
counting the data traffic according to different target internet protocol addresses, and counting the connection stability characteristics and the data traffic characteristics of each target internet protocol address;
taking the data flow with the connection stability characteristic as stable and the data flow characteristic below a preset average flow as game flow; calculating the data flow with the connection stability characteristic as stable and the data flow characteristic as the data flow above the preset average flow as video flow; taking the data flow with the connection stability characteristic of instability and the data flow characteristic of being below a preset average flow as the webpage flow; and calculating the data flow rate with the connection stability characteristic as unstable and the data flow rate characteristic as the data flow rate above the preset average flow rate as the lower current-carrying capacity.
Preferably, the step of receiving the account and the password input by the terminal device on the authentication page, authenticating the account and the password according to account information in a database, and selecting the corresponding preset flow-free rule according to the account type of the account in the database specifically includes:
receiving an account number and a password input by the terminal equipment on the authentication page, and authenticating the account number and the password according to account information in a database;
when the account is authenticated as an administrator, all traffic of the account accessing the Internet is counted as free traffic and the free traffic limit of other accounts can be changed; when the account is authenticated as a teacher, the flow cached by the account accessing database, the webpage flow and the downloading flow are counted as free flows, and a preset number of free flow limits are set; when the account is authenticated as a student, flow generated by learning data cached by the account accessing database is counted as free flow, and the free flow limit is 0; when the account is authenticated as a temporary account, the account can only browse the learning data cached by the database.
Preferably, the campus network free traffic calculation method further includes:
and when the game flow and the video flow exceed a preset flow upper limit or no flow is generated within a preset waiting time, executing automatic offline processing on the terminal equipment.
The invention also provides a campus network free flow calculation system, which comprises:
the terminal login unit is used for responding to a login request of the terminal equipment and issuing an authentication page to the terminal equipment;
the authentication charging unit is used for receiving an account number and a password input by the terminal equipment on the authentication page, authenticating the account number and the password according to account information in a database, and selecting a corresponding preset flow-free rule according to the account type of the account number in the database;
and the flow-free calculating unit is used for calculating free flow according to the statistical data of the flow type of the terminal equipment and the preset flow-free rule.
The invention also provides a campus network free flow calculation server, which comprises: the campus network free flow calculation method comprises the following steps of storing a campus network free flow calculation program, storing a campus network free flow calculation program on the memory, and running on the processor, wherein the campus network free flow calculation program realizes the steps of the campus network free flow calculation method when being executed by the processor.
The invention also provides a readable storage medium, wherein the readable storage medium stores the campus network free flow calculation program, and the campus network free flow calculation program realizes the steps of the campus network free flow calculation method when being executed by a processor.
According to the method and the device, different flow-free rules are set for different accounts, the flow type of the terminal device in use is counted, free rewarding for partial flow is achieved, inconvenience caused by limitation of a blacklist mode on network use in the prior art is solved, the degree of fine management is improved, the effect of guiding students to use the internet to improve learning efficiency is achieved, and user experience is improved.
Drawings
FIG. 1 is a schematic diagram of a server structure of a hardware operating environment according to an embodiment of a method for calculating free traffic in a campus network of the present invention;
FIG. 2 is a schematic flow chart illustrating a free traffic calculation method for a campus network according to another embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a free traffic calculation method for a campus network according to another embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a free traffic calculation method for a campus network according to another embodiment of the present invention;
fig. 5 is a functional block diagram of the campus network free traffic computing system of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with specific embodiments, the examples given are intended to illustrate the invention and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a server structure of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the server may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a Display screen (Display), and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage server separate from the processor 1001.
Those skilled in the art will appreciate that the architecture shown in FIG. 1 does not constitute a limitation on the servers, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include an operating system, a network communication module, a user interface module, and a campus network free traffic calculation program therein.
In the network device shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting peripheral equipment; the network device calls the campus network free traffic calculation program stored in the memory 1005 through the processor 1001, and performs the following operations:
responding to a login request of terminal equipment, and issuing an authentication page to the terminal equipment;
receiving an account number and a password input by the terminal equipment on the authentication page, authenticating the account number and the password according to account information in a database, and selecting a corresponding preset flow-free rule according to the account type of the account number in the database;
and calculating free flow according to the statistical data of the flow type of the terminal equipment and the preset flow-free rule.
Further, the step of calculating the free flow according to the flow type of the terminal device and a preset flow-free rule specifically includes:
obtaining the flow type according to the data flow characteristics and the target internet protocol address;
counting the data traffic of the terminal equipment according to the traffic type to obtain the statistical data;
and calculating free flow according to the statistical data and the preset flow-free rule.
Further, the step of obtaining the traffic type according to the data traffic characteristics and the target internet protocol address specifically includes:
and correspondingly setting a white list and a black list according to the known learning related website and the entertainment related website, counting the data flow according to different target internet protocol addresses, setting the white list flow meter as free flow, and setting the black list flow meter as charged flow.
Further, the method also comprises the following steps:
the database caches page data pointed by the Internet protocol address in the white list and caches data reaching an access frequency threshold value in a non-white list;
performing characteristic analysis on the data reaching the access frequency threshold, and when the data reaching the access frequency threshold is non-learning data, taking the flow meter as a charging flow;
and updating the data of the Internet protocol addresses in the white list at regular time, and deleting the non-learning data of which the number of accesses is less than the threshold of the number of accesses for a preset number of days.
Further, the step of obtaining the traffic type according to the data traffic characteristics and the target internet protocol address specifically includes:
counting the data traffic according to different target internet protocol addresses, and counting the connection stability characteristics and the data traffic characteristics of each target internet protocol address;
taking the data flow with the connection stability characteristic as stable and the data flow characteristic below a preset average flow as game flow; calculating the data flow with the connection stability characteristic as stable and the data flow characteristic as the data flow above the preset average flow as video flow; taking the data flow with the connection stability characteristic of instability and the data flow characteristic of being below a preset average flow as the webpage flow; and calculating the data flow rate with the connection stability characteristic as unstable and the data flow rate characteristic as the data flow rate above the preset average flow rate as the lower current-carrying capacity.
Further, the step of receiving the account and the password input by the terminal device on the authentication page, authenticating the account and the password according to account information in a database, and selecting a corresponding preset flow-free rule according to the account type of the account in the database specifically includes:
receiving an account number and a password input by the terminal equipment on the authentication page, and authenticating the account number and the password according to account information in a database;
when the account is authenticated as an administrator, all traffic of the account accessing the Internet is counted as free traffic and the free traffic limit of other accounts can be changed; when the account is authenticated as a teacher, the flow cached by the account accessing database, the webpage flow and the downloading flow are counted as free flows, and a preset number of free flow limits are set; when the account is authenticated as a student, flow generated by learning data cached by the account accessing database is counted as free flow, and the free flow limit is 0; when the account is authenticated as a temporary account, the account can only browse the learning data cached by the database.
Further, the method also comprises the following steps:
and when the game flow and the video flow exceed a preset flow upper limit or no flow is generated within a preset waiting time, executing automatic offline processing on the terminal equipment.
According to the embodiment, the internet traffic capable of promoting teaching and learning is set to be free traffic by establishing the preset traffic-free rule, and different traffic-free rules are set for accounts with different campus identities by counting the traffic types of the terminal equipment, so that fine management of a campus network is realized, and orderly progress of school teaching work is promoted.
Based on the hardware structure, the embodiment of the campus network free flow calculation method is provided.
The campus network free traffic calculation method described with reference to fig. 2 includes the following steps:
s10, responding to the login request of the terminal equipment, and issuing an authentication page to the terminal equipment;
it is easy to understand that, since campus identity authentication needs to be performed on a user using a terminal device to determine the requirement of the user on the internet in a teaching process, a login step needs to be performed, and in this embodiment, an account login step is implemented by issuing an authentication page through the terminal.
S20, receiving an account number and a password input by the terminal equipment on the authentication page, authenticating the account number and the password according to account information in a database, and selecting a corresponding preset flow-free rule according to the account type of the account number in the database;
it should be noted that, a user who can find the corresponding account information in the database is a campus user, and a user who cannot find the corresponding account information is a guest user, for example, for a user who directly closes an authentication page, if the received account and password are null, the user is a guest user, and a user who can find the corresponding account information in the database only needs to execute the corresponding flow-free rule according to the account type recorded in the database.
And S30, calculating free flow according to the statistical data of the flow type of the terminal equipment and the preset flow-free rule.
It is worth emphasizing that the embodiment further implements refined management on the campus network by identifying and counting different types of traffic, for example, for student accounts, a free policy is executed on the traffic only when the traffic is identified as the traffic in the aspects beneficial to learning, such as thesis inquiry, teaching video, etc., and a charging policy is executed on the remaining traffic; and for the teacher account, only when the entertainment video and the game data are identified, the charging strategy is executed for the part of the flow, and the free strategy is executed for the rest of the flow.
The identity of the user using the terminal equipment is confirmed through the authentication page, the campus network is promoted to be utilized in the aspect of improving the campus teaching capacity by setting the flow-free rule corresponding to the campus identity, fine management is achieved through statistics of the flow type of the terminal equipment, and user experience is improved.
Referring to fig. 3, the step of calculating the free traffic according to the traffic type of the terminal device and the preset flow-free rule specifically includes:
s31, obtaining the flow type according to the data flow characteristics and the target Internet protocol address;
it is easy to understand that, since the game traffic, the video traffic and the web traffic are different from each other in terms of the usage environment and usage status of the traffic, different types of traffic can be identified according to their characteristics, and the traffic generated by the ip address known as the video website or the game server can be determined by the ip address accessed by the terminal device.
S32, counting the data traffic of the terminal equipment according to the traffic type to obtain the statistical data;
it should be noted that, when a certain continuous operation is performed through the network, most of the traffic accesses appear in one internet protocol address, so that the classified statistics of the traffic of different operations can be realized only according to the internet protocol address, and then the classified statistics result is further processed according to the traffic type according to the traffic characteristics to obtain the statistical data.
And S33, calculating free flow according to the statistical data and the preset flow-free rule.
It is worth emphasizing that, in this embodiment, the statistical data includes game traffic, video traffic, web traffic, and download traffic, and then the flow-free rule is divided according to the demands of different campus identities for different types of traffic, that is, the preset flow-free rule.
Referring to fig. 4, the step of obtaining the traffic type according to the data traffic characteristics and the target internet protocol address specifically includes:
s34, setting a white list and a black list according to the known learning related website and the entertainment related website, counting the data flow according to different target Internet protocol addresses, setting the white list flow meter as free flow and setting the black list flow meter as charged flow.
It is easy to understand that, in this embodiment, the learned websites are added to the white list in the mode of setting the white list, and the traffic of visiting the websites in the white list is taken as free traffic. .
Specifically, the method further comprises the following steps:
the database caches page data pointed by the Internet protocol address in the white list and caches data reaching an access frequency threshold value in a non-white list;
it should be noted that, because of the particularity of the campus network, in order to reduce the bandwidth consumption of the wide area network and improve the access speed of the campus network to the learning-type website, in this embodiment, the access speed of the learning-type website is improved by caching the websites in the white list which are identified as being beneficial to learning, and by caching the data and the data with a large number of access times, the traffic consumption between the campus network and the wide area network is reduced, and the access speed of the learning data and the hotspot information is improved.
Performing characteristic analysis on the data reaching the access frequency threshold, and when the data reaching the access frequency threshold is non-learning data, taking the flow meter as a charging flow;
it is worth emphasizing that accessing more data may not be learning data, but the data still can help students to recognize the world growth, and caching the data is beneficial to reduce traffic consumption between the campus network and the wide area network, and the network environment for acquiring learning resources of the wide area network is improved to a certain extent, so that caching of the data is reserved at all, but since accessing the data is not helpful to learning, the access traffic to the data still is counted as charging traffic.
And updating the data of the Internet protocol addresses in the white list at regular time, and deleting the non-learning data of which the number of accesses is less than the threshold of the number of accesses for a preset number of days.
It is worth mentioning that, in the embodiment, the cache data is updated 2 hours after the school lights off, and the data exchange is performed with the wide area network by using the idle bandwidth with a small number of network access people, so that the user experience is improved, and the data which is not a hotspot and is not beneficial to learning is cleaned to avoid excessively occupying the storage space of the database.
Specifically, the step of obtaining the traffic type according to the data traffic characteristics and the target internet protocol address specifically includes:
counting the data traffic according to different target internet protocol addresses, and counting the connection stability characteristics and the data traffic characteristics of each target internet protocol address;
it is easy to understand that the connection stability described in this embodiment refers to the time when data is exchanged with the internet protocol address, the longer the time when data is exchanged with the internet protocol address, the stronger the connection stability, and conversely, the weaker the connection stability, and the data traffic characteristic refers to the total data amount of data exchanged with the internet protocol address.
Taking the data flow with the connection stability characteristic as stable and the data flow characteristic below a preset average flow as game flow; calculating the data flow with the connection stability characteristic as stable and the data flow characteristic as the data flow above the preset average flow as video flow; taking the data flow with the connection stability characteristic of instability and the data flow characteristic of being below a preset average flow as the webpage flow; and calculating the data flow rate with the connection stability characteristic as unstable and the data flow rate characteristic as the data flow rate above the preset average flow rate as the lower current-carrying capacity.
It should be noted that the game traffic has a feature of low total amount of data with long transmission time, the video traffic has a feature of high total amount of data with long transmission time, the web traffic has a feature of low total amount of data with short transmission time, and the download traffic has a feature of high total amount of data with short transmission time.
Specifically, the step of receiving the account and the password input by the terminal device on the authentication page, authenticating the account and the password according to account information in a database, and selecting a corresponding preset flow-free rule according to the account type of the account in the database specifically includes:
receiving an account number and a password input by the terminal equipment on the authentication page, and authenticating the account number and the password according to account information in a database;
it is worth emphasizing that the database storing the account information and the database caching the internet data and counting the traffic type of the terminal device are isolated from each other in the technical scheme of the application, so as to improve the security performance of the technical scheme of the embodiment.
When the account is authenticated as an administrator, all traffic of the account accessing the Internet is counted as free traffic and the free traffic limit of other accounts can be changed; when the account is authenticated as a teacher, the flow cached by the account accessing database, the webpage flow and the downloading flow are counted as free flows, and a preset number of free flow limits are set; when the account is authenticated as a student, flow generated by learning data cached by the account accessing database is counted as free flow, and the free flow limit is 0; when the account is authenticated as a temporary account, the account can only browse the learning data cached by the database.
It can be understood that the administrator account can reward or compensate other accounts by issuing free flow rate limit, so as to reduce adverse effects caused by free flow rate calculation errors, and meanwhile, as a teacher needs to prepare lessons, look up and download a large amount of data, and need to select videos beneficial to teaching from a large amount of entertainment videos, the flow rate of the teacher account accessing the database cache, the webpage flow rate and the downloading flow rate are measured as free flow rates.
Specifically, the method further comprises the following steps:
and when the game flow and the video flow exceed a preset flow upper limit or no flow is generated within a preset waiting time, executing automatic offline processing on the terminal equipment.
It should be emphasized that, the technical scheme of this embodiment achieves the anti-addiction effect by limiting the game traffic and the upper limit of the video traffic, thereby avoiding the excessive time of entertainment occupying the school time of the students, and improving the duty ratio of the rest time and the learning time of the students in the school time.
According to the method, the technical scheme is further improved by disclosing the specific preset flow-free rule and the flow type distinguishing method, the calculation accuracy of the free flow of the campus network, namely the beneficial flow for learning is improved, and the user experience is improved.
The invention also provides a campus network free flow calculation system, which comprises:
the terminal login unit is used for responding to a login request of the terminal equipment and issuing an authentication page to the terminal equipment;
the authentication charging unit is used for receiving an account number and a password input by the terminal equipment on the authentication page, authenticating the account number and the password according to account information in a database, and selecting a corresponding preset flow-free rule according to the account type of the account number in the database;
and the flow-free calculating unit is used for calculating free flow according to the statistical data of the flow type of the terminal equipment and the preset flow-free rule.
The invention also provides a campus network free flow calculation server, which comprises: the campus network free flow calculation method comprises the following steps of storing a campus network free flow calculation program, storing a campus network free flow calculation program on the memory, and running on the processor, wherein the campus network free flow calculation program realizes the steps of the campus network free flow calculation method when being executed by the processor.
The invention also provides a readable storage medium, wherein the readable storage medium stores the campus network free flow calculation program, and the campus network free flow calculation program realizes the steps of the campus network free flow calculation method when being executed by a processor.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A campus network free flow calculation method is characterized by comprising the following steps:
responding to a login request of terminal equipment, and issuing an authentication page to the terminal equipment;
receiving an account number and a password input by the terminal equipment on the authentication page, authenticating the account number and the password according to account information in a database, and selecting a corresponding preset flow-free rule according to the account type of the account number in the database;
and calculating free flow according to the statistical data of the flow type of the terminal equipment and the preset flow-free rule.
2. The method for calculating the free traffic of the campus network according to claim 1, wherein the step of calculating the free traffic according to the traffic type of the terminal device and a preset flow-free rule specifically includes:
obtaining the flow type according to the data flow characteristics and the target internet protocol address;
counting the data traffic of the terminal equipment according to the traffic type to obtain the statistical data;
and calculating free flow according to the statistical data and the preset flow-free rule.
3. The campus network free traffic calculation method of claim 2, wherein the step of obtaining the traffic type according to the data traffic characteristics and the target internet protocol address specifically comprises:
and correspondingly setting a white list and a black list according to the known learning related website and the entertainment related website, counting the data flow according to different target internet protocol addresses, setting the white list flow meter as free flow, and setting the black list flow meter as charged flow.
4. The campus network free traffic calculation method of claim 3, further comprising:
the database caches page data pointed by the Internet protocol address in the white list and caches data reaching an access frequency threshold value in a non-white list;
performing characteristic analysis on the data reaching the access frequency threshold, and when the data reaching the access frequency threshold is non-learning data, taking the flow meter as a charging flow;
and updating the data of the Internet protocol addresses in the white list at regular time, and deleting the non-learning data of which the number of accesses is less than the threshold of the number of accesses for a preset number of days.
5. The campus network free traffic calculation method of claim 4, wherein the step of obtaining the traffic type according to the data traffic characteristics and the target internet protocol address specifically comprises:
counting the data traffic according to different target internet protocol addresses, and counting the connection stability characteristics and the data traffic characteristics of each target internet protocol address;
taking the data flow with the connection stability characteristic as stable and the data flow characteristic below a preset average flow as game flow; calculating the data flow with the connection stability characteristic as stable and the data flow characteristic as the data flow above the preset average flow as video flow; taking the data flow with the connection stability characteristic of instability and the data flow characteristic of being below a preset average flow as the webpage flow; and calculating the data flow rate with the connection stability characteristic as unstable and the data flow rate characteristic as the data flow rate above the preset average flow rate as the lower current-carrying capacity.
6. The campus network free traffic calculation method according to claim 5, wherein the step of receiving the account and the password input by the terminal device on the authentication page, authenticating the account and the password according to account information in a database, and selecting the corresponding preset flow-free rule according to the account type of the account in the database specifically includes:
receiving an account number and a password input by the terminal equipment on the authentication page, and authenticating the account number and the password according to account information in a database;
when the account is authenticated as an administrator, all traffic of the account accessing the Internet is counted as free traffic and the free traffic limit of other accounts can be changed; when the account is authenticated as a teacher, the flow cached by the account accessing database, the webpage flow and the downloading flow are counted as free flows, and a preset number of free flow limits are set; when the account is authenticated as a student, flow generated by learning data cached by the account accessing database is counted as free flow, and the free flow limit is 0; when the account is authenticated as a temporary account, the account can only browse the learning data cached by the database.
7. The campus-network free-flow computing method of claim 6, further comprising:
and when the game flow and the video flow exceed a preset flow upper limit or no flow is generated within a preset waiting time, executing automatic offline processing on the terminal equipment.
8. A campus-network free-flow computing system, comprising:
the terminal login unit is used for responding to a login request of the terminal equipment and issuing an authentication page to the terminal equipment;
the authentication charging unit is used for receiving an account number and a password input by the terminal equipment on the authentication page, authenticating the account number and the password according to account information in a database, and selecting a corresponding preset flow-free rule according to the account type of the account number in the database;
and the flow-free calculating unit is used for calculating free flow according to the statistical data of the flow type of the terminal equipment and the preset flow-free rule.
9. A server, characterized in that the server comprises: a memory, a processor and a campus network free traffic calculation program stored on the memory and executable on the processor, the campus network free traffic calculation program when executed by the processor implementing the steps of the campus network free traffic calculation method according to any one of claims 1 to 7.
10. A readable storage medium, wherein the readable storage medium stores thereon a campus network free traffic calculation program, and when the campus network free traffic calculation program is executed by a processor, the method of calculating campus network free traffic according to any one of claims 1 to 7 is implemented.
CN202011241790.4A 2020-11-09 2020-11-09 Campus network free flow calculation method, system, server and storage medium Active CN112491563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011241790.4A CN112491563B (en) 2020-11-09 2020-11-09 Campus network free flow calculation method, system, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011241790.4A CN112491563B (en) 2020-11-09 2020-11-09 Campus network free flow calculation method, system, server and storage medium

Publications (2)

Publication Number Publication Date
CN112491563A true CN112491563A (en) 2021-03-12
CN112491563B CN112491563B (en) 2022-07-01

Family

ID=74929064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011241790.4A Active CN112491563B (en) 2020-11-09 2020-11-09 Campus network free flow calculation method, system, server and storage medium

Country Status (1)

Country Link
CN (1) CN112491563B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112933609A (en) * 2021-05-17 2021-06-11 南京烽火星空通信发展有限公司 Game addiction analysis method based on flow classification
CN116471237A (en) * 2023-06-16 2023-07-21 四川轻化工大学 Network addiction control method based on QoS technology
CN117041899A (en) * 2023-10-10 2023-11-10 联通在线信息科技有限公司 Edge authentication streaming-free metering method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567820A (en) * 2003-07-01 2005-01-19 华为技术有限公司 A charging method of switch-in network
CN1571383A (en) * 2003-07-19 2005-01-26 华为技术有限公司 A method for implementing campus network
CN1725708A (en) * 2005-06-24 2006-01-25 杭州华为三康技术有限公司 Statistical method of data stream
US20060239254A1 (en) * 1998-12-08 2006-10-26 Nomadix, Inc. Systems and Methods for Providing Dynamic Network Authorization, Authentication and Accounting
US20100115113A1 (en) * 1998-12-08 2010-05-06 Nomadix, Inc. Systems and methods for providing dynamic network authorization, authentication and accounting
CN102469078A (en) * 2010-11-08 2012-05-23 中国移动通信集团公司 Method, system and device for accessing campus network to external network
CN104079636A (en) * 2014-06-18 2014-10-01 深圳技师学院 Mobile campus network based on cloud computing
CN107895039A (en) * 2017-11-29 2018-04-10 华中科技大学 A kind of construction method of campus network Verification System log database
CN109102654A (en) * 2018-08-03 2018-12-28 西北工业大学 A kind of network billing print system based on Campus Net
CN110391916A (en) * 2018-04-16 2019-10-29 华为技术有限公司 A kind of method and relevant device of traffic management

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060239254A1 (en) * 1998-12-08 2006-10-26 Nomadix, Inc. Systems and Methods for Providing Dynamic Network Authorization, Authentication and Accounting
US20100115113A1 (en) * 1998-12-08 2010-05-06 Nomadix, Inc. Systems and methods for providing dynamic network authorization, authentication and accounting
CN1567820A (en) * 2003-07-01 2005-01-19 华为技术有限公司 A charging method of switch-in network
CN1571383A (en) * 2003-07-19 2005-01-26 华为技术有限公司 A method for implementing campus network
CN1725708A (en) * 2005-06-24 2006-01-25 杭州华为三康技术有限公司 Statistical method of data stream
CN102469078A (en) * 2010-11-08 2012-05-23 中国移动通信集团公司 Method, system and device for accessing campus network to external network
CN104079636A (en) * 2014-06-18 2014-10-01 深圳技师学院 Mobile campus network based on cloud computing
CN107895039A (en) * 2017-11-29 2018-04-10 华中科技大学 A kind of construction method of campus network Verification System log database
CN110391916A (en) * 2018-04-16 2019-10-29 华为技术有限公司 A kind of method and relevant device of traffic management
CN109102654A (en) * 2018-08-03 2018-12-28 西北工业大学 A kind of network billing print system based on Campus Net

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112933609A (en) * 2021-05-17 2021-06-11 南京烽火星空通信发展有限公司 Game addiction analysis method based on flow classification
CN116471237A (en) * 2023-06-16 2023-07-21 四川轻化工大学 Network addiction control method based on QoS technology
CN116471237B (en) * 2023-06-16 2023-10-13 四川轻化工大学 Network addiction control method based on QoS technology
CN117041899A (en) * 2023-10-10 2023-11-10 联通在线信息科技有限公司 Edge authentication streaming-free metering method and device, electronic equipment and storage medium
CN117041899B (en) * 2023-10-10 2024-02-09 联通在线信息科技有限公司 Edge authentication streaming-free metering method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112491563B (en) 2022-07-01

Similar Documents

Publication Publication Date Title
CN112491563B (en) Campus network free flow calculation method, system, server and storage medium
US8566262B2 (en) Techniques to filter media content based on entity reputation
CN108319598B (en) Data caching method, device and system
US10810242B2 (en) Scalable and effective document summarization framework
CN108632227A (en) A kind of malice domain name detection process method and device
CN110300084B (en) IP address-based portrait method and apparatus, electronic device, and readable medium
CN106651580B (en) Method and device for judging whether financial account is malicious or not and computing device
Zeng et al. Temporal-spatial mobile application usage understanding and popularity prediction for edge caching
WO2010063878A1 (en) Methods, apparatuses, and computer program products in social services
CN105897550A (en) Off-line message pushing method and device
KR101482073B1 (en) Apparatus and method for spam comment filtering connected with social network service
CN104933069A (en) Method and system for analyzing web browsing statistics of desktop terminal
US11902180B2 (en) Automated decision techniques for controlling resource access
CN113240563A (en) Course pushing method and device and server
CN107766470A (en) Intelligent statistical method, Intelligent statistical display methods and the device of a kind of data sharing
Zhang et al. Challenges and chances for the emerging short video network
CN110515940A (en) Querying method, equipment, storage medium and device based on data sharing
JP2018522314A (en) Content filtering based on user / mobile network and data plan
CN106815742A (en) A kind of sending method of electronic ticket data, device and electronic equipment
US11290359B2 (en) Relaying internet census information
CN112001454B (en) Clustering method and device for special line for collecting guests
Xu et al. HMM based cache pollution attack detection for edge computing enabled mobile social networks
CN112836141B (en) Network resource access management method, system, device and storage medium
CN109951316B (en) Application program management method and device, computer readable medium and electronic equipment
KR20150107509A (en) Online board server, online board system and method for controlling harmful image display on online board

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
GR01 Patent grant
GR01 Patent grant