CN108834180B - Route management method and related equipment - Google Patents

Route management method and related equipment Download PDF

Info

Publication number
CN108834180B
CN108834180B CN201810618325.4A CN201810618325A CN108834180B CN 108834180 B CN108834180 B CN 108834180B CN 201810618325 A CN201810618325 A CN 201810618325A CN 108834180 B CN108834180 B CN 108834180B
Authority
CN
China
Prior art keywords
user
user equipment
credit score
routing
equipment
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.)
Active
Application number
CN201810618325.4A
Other languages
Chinese (zh)
Other versions
CN108834180A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810618325.4A priority Critical patent/CN108834180B/en
Publication of CN108834180A publication Critical patent/CN108834180A/en
Application granted granted Critical
Publication of CN108834180B publication Critical patent/CN108834180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/32Connectivity information management, e.g. connectivity discovery or connectivity update for defining a routing cluster membership

Abstract

The embodiment of the application discloses a route management method and related equipment, comprising the following steps: acquiring a traffic threshold value of the routing equipment and a user credit score of each user equipment in at least one user equipment connected to the routing equipment; determining the maximum flow value allowed by each user equipment according to the flow threshold and the user credit score; and managing the routing equipment according to the maximum flow value allowed by each user equipment. By adopting the embodiment of the application, the reasonable distribution of the flow resources is realized, and the utilization rate of the flow resources is improved.

Description

Route management method and related equipment
Technical Field
The present application relates to the field of network technologies, and in particular, to a route management method and a related device.
Background
With the rapid development of user equipment, WIreless-Fidelity (WIFI) has been widely used as a free broadband WIreless access method, and thus more requirements are placed on the convenience and security of WIFI. Because the open access and the password access have potential safety hazards in public places, most users do not adopt the two access modes, but use the access mode of Portal authentication (also called Web authentication), and the access mode is relatively safe and can acquire and authenticate the information of the access equipment, so that the aim of safe access is fulfilled. Furthermore, due to physical equipment limitations, the wire speed cannot reach infinity. The traffic resource of each routing device is limited, and as more access user devices are accessed, the less traffic resource each user device can use, and if a certain user device uses a large traffic resource, the access speed of other connected user devices is slow. Meanwhile, with the increasing of free WIFI in public places, information leakage is easily caused when unfamiliar WIFI is connected. But the security of these WIFI cannot be distinguished for the user. In addition, in order to control access of the user equipment, a white list mechanism is currently the most common mode, after the user equipment is registered, the user equipment is added into an access white list, and then the user equipment has the authority to connect to a WIFI route, but the scheme cannot reasonably utilize traffic resources.
Disclosure of Invention
The embodiment of the application provides a route management method and related equipment. The reasonable distribution of the flow resources can be realized, and the utilization rate of the flow resources is improved.
In one aspect, an embodiment of the present application provides a routing management method, including:
acquiring a traffic threshold value of the routing equipment and a user credit score of each user equipment in at least one user equipment connected to the routing equipment;
determining the maximum flow value allowed by each user equipment according to the flow threshold and the user credit score;
and managing the routing equipment according to the maximum flow value allowed by each user equipment.
Wherein the determining the maximum traffic value allowed by each user equipment comprises:
acquiring the current usage amount of the traffic resource of the routing equipment;
and determining the maximum flow value allowed by each user equipment according to the current usage amount.
Wherein the determining the maximum traffic value allowed by each ue according to the current usage amount comprises:
when the current usage amount is equal to the traffic threshold, determining a ratio of the user credit score of each user equipment to the sum of the user credit scores of the user equipments according to the user credit score of each user equipment;
and determining the maximum flow value currently allowed by each user equipment according to the ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments and the flow threshold value.
Wherein, the determining the maximum traffic value currently allowed by each ue according to the ratio of the user credit score of each ue to the sum of the user credit scores of the ues and the traffic threshold comprises:
determining a product of a ratio of the user credit score of each user equipment to a sum of the user credit scores of the plurality of user equipments and the traffic threshold;
and taking the product as the maximum flow value currently allowed by each user equipment.
Wherein the determining the maximum traffic value allowed by each ue according to the current usage amount comprises:
when the current usage amount is smaller than the flow threshold value, acquiring a current flow value of each user equipment;
determining the priority of each user equipment according to the user credit score of each user equipment;
and determining the maximum flow value allowed by each user equipment at the next moment according to the priority of each user equipment, the current flow value of each user equipment and the flow threshold.
Wherein the content of the first and second substances,
Figure BDA0001696360140000021
wherein, R isi' the maximum flow value allowed for the next moment of said each user equipment, said UiFor the current flow value of each UE, LiFor the priority of each user equipment, the Ri=Li*UiM is the flow threshold when
Figure BDA0001696360140000022
Said I is 1, or
Figure BDA0001696360140000023
The I is 1.
In another aspect, an embodiment of the present application provides a routing management method, including:
obtaining a user credit score of each user equipment in at least one user equipment connected to the routing equipment;
determining the device credit score of the routing device according to the user credit score of each user device;
determining security for connection to the routing device based on the device credit score.
Wherein the determining the security of the routing device according to the device credit score comprises:
when the device credit score is greater than a preset threshold value, determining that the routing device is connected safely; determining that the connection to the routing device is dangerous when the device credit score is not greater than the preset threshold.
Wherein, after determining that there is a risk in connecting to the routing device when the device credit score is not greater than the preset threshold, the method further comprises:
and sending prompt information to other user equipment connected to the routing equipment, wherein the prompt information is used for prompting the user to be connected to the routing equipment to have risk.
Wherein the determining the device credit score of the routing device according to the user credit score of each of the plurality of user devices comprises:
and taking the average value of the user credit scores of the plurality of user devices as the device credit score of the routing device.
In another aspect, an embodiment of the present application provides a routing management apparatus, including:
an obtaining module, configured to obtain a traffic threshold of the routing device and a user credit score of each user device in at least one user device connected to the routing device;
the processing module is used for determining the maximum flow value allowed by each user equipment according to the flow threshold value and the user credit score;
and the management module is used for managing the routing equipment according to the maximum flow value allowed by each piece of user equipment.
The processing module is further configured to obtain a current usage amount of the traffic resource of the routing device; and determining the maximum flow value allowed by each user equipment according to the current usage amount.
The processing module is further configured to determine, when the current usage amount is equal to the traffic threshold, a ratio of the user credit score of each ue to a sum of the user credit scores of the plurality of ues according to the user credit score of each ue; and determining the maximum flow value currently allowed by each user equipment according to the ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments and the flow threshold value.
Wherein the processing module is further configured to determine a product of a ratio of the user credit score of each user equipment to a sum of the user credit scores of the plurality of user equipments and the traffic threshold;
and taking the product as the maximum flow value currently allowed by each user equipment.
The processing module is further configured to obtain a current traffic value of each ue when the current usage amount is smaller than the traffic threshold; determining the priority of each user equipment according to the user credit score of each user equipment; and determining the maximum flow value allowed by each user equipment at the next moment according to the priority of each user equipment, the current flow value of each user equipment and the flow threshold.
Wherein the content of the first and second substances,
Figure BDA0001696360140000041
wherein, R isi' the maximum flow value allowed for the next moment of said each user equipment, said UiFor the current flow value of each UE, LiFor the priority of each user equipment, the Ri=Li*UiM is the flow threshold when
Figure BDA0001696360140000042
Said I is 1, or
Figure BDA0001696360140000043
The I is 1.
In another aspect, an embodiment of the present application provides a routing management apparatus, including:
an obtaining module, configured to obtain a user credit score of each user equipment in at least one user equipment connected to the routing device;
a processing module, configured to determine a device credit score of the routing device according to the user credit score of each user device;
the processing module is further configured to determine security of the connection to the routing device based on the device credit score.
The processing module is further configured to determine that the routing device is connected safely when the device credit score is greater than a preset threshold; determining that the connection to the routing device is dangerous when the device credit score is not greater than the preset threshold.
Wherein the apparatus further comprises: and the sending module is used for sending prompt information to other user equipment connected to the routing equipment, wherein the prompt information is used for prompting a user that the user is connected to the routing equipment and risks.
The processing module is further configured to use an average value of the user credit scores of the plurality of user devices as the device credit score of the routing device.
In another aspect, the present application provides a routing management device, including: the routing management method comprises a processor, a memory and a communication bus, wherein the communication bus is used for realizing connection communication between the processor and the memory, and the processor executes a program stored in the memory for realizing the steps in the routing management method provided by the first aspect.
In one possible design, the route management device provided by the present application may include a module for performing the corresponding operations in the above method. The modules may be software and/or hardware.
Yet another aspect of the embodiments of the present application provides a computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to perform the method of the above-mentioned aspects.
Yet another aspect of the embodiments of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above-described aspects.
By implementing the embodiment of the application, firstly, when a plurality of user equipment are detected to be connected to the routing equipment, the flow threshold value of the routing equipment and the user credit score of each user equipment in the plurality of user equipment are obtained; then, determining the maximum flow value allowed by each user equipment according to the flow threshold and the user credit score; and finally, managing the plurality of user equipment according to the maximum flow value allowed by each user equipment. The flow is distributed by adopting the credit of the user, so that the reasonable distribution of the flow resources is realized, and the utilization rate of the flow resources is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic architecture diagram of a routing management system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a route management method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a route management method according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a routing management device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a routing management device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a routing management system according to an embodiment of the present application. As shown in the figure, the reason management system in the embodiment of the present application includes: user equipment 101, routing equipment 102, and server 103. Among other things, the user equipment 101 includes user equipment 1, user equipment 2, and user equipment 3, which may refer to equipment that provides voice and/or data connectivity to a user, may also be connected to a computing device such as a laptop or desktop computer, or may be a standalone device such as a Personal Digital Assistant (PDA). The user equipment may also be a Station (STA), a system, a subscriber unit, a subscriber Station, a mobile Station, a remote Station, an access point, a remote terminal, an access terminal, a user agent, or a user device. The routing device 102 may be a computer network device for selecting a transmission path of data and transmitting the data to a destination, and the routing device 102 may be a WIFI router. The server 103 is configured to receive a service request sent by the user equipment 101 through the routing device 102, and provide a data service, an authentication service, and the like to the user equipment 101. Server 103 may be a background server, a data server,
referring to fig. 2, fig. 2 is a flowchart illustrating a route management method according to an embodiment of the present application. As shown in the figures, the steps in the embodiment of the present application include:
s201, obtaining the flow threshold value of the routing device and the user credit score of each user device in at least one user device connected to the routing device.
In a specific implementation, when the user equipment needs to be connected to the routing equipment, the user equipment displays an authentication page, prompts the user to input an account and a password on the authentication page, and then sends a connection request to the server through the routing equipment, wherein the connection request comprises the account and the password. After receiving the connection request, the server verifies whether the account number and the password are correct, if the server verifies the account number and the password are correct, an authentication success result is returned to the routing equipment, the authentication success result comprises a user credit score, after the routing equipment receives the authentication success result of the specific character string, the authentication success result is analyzed, the user credit score of the user equipment is obtained, the user credit score is bound with an equipment network card of the user equipment, and the user equipment is informed of the authentication success result. And if the server fails in verification, returning an authentication failure result to the routing equipment, and sending prompt information, wherein the prompt information is used for reminding the user to re-input the account and the password for verification. The server can encrypt the authentication success result and the verification failure result and return the encrypted authentication success result and the encrypted verification failure result to the routing device and the user device.
In addition, each routing device is configured with a traffic threshold, since the maximum traffic that the routing device can allow through is limited by the hardware parameters of the routing device. The traffic threshold of the routing device may be obtained from preset configuration information of the routing device. The flow threshold may be 100M, 50M, etc.
In the embodiment of the application, when a plurality of user devices are detected to be connected to the routing device, the traffic threshold of the routing device and the user credit score of each user device can be obtained. Or when detecting that a certain user equipment is connected to the routing equipment, acquiring the user credit score of the user equipment, and performing traffic resource allocation according to the user credit score of the user equipment. For example, when the user credit score of the user equipment is greater than a preset threshold, all the traffic resources of the routing equipment are allocated to the user equipment, and when the user credit score of the user equipment is not greater than the preset threshold, the traffic resources are not allocated to the user equipment.
S202, determining the maximum flow value allowed by each user device according to the flow threshold and the user credit score.
In specific implementation, the current usage amount of the traffic resource of the routing device may be obtained; and determining the maximum flow value allowed by each user equipment according to the current usage amount. The method specifically comprises the following two optional modes:
first, when the current usage amount is equal to the traffic threshold, the traffic usage of the user equipment needs to be limited because the traffic resource of the routing device has reached the limit at this time. Determining a ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments according to the user credit score of each user equipment; and determining the maximum flow value currently allowed by each user equipment according to the ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments and the flow threshold value. Further, a product of a ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments and the traffic threshold may be determined; and taking the product as the maximum flow value currently allowed by each user equipment.
For example,
Figure BDA0001696360140000071
wherein R isiThe maximum flow value currently allowed by the user equipment i, M is the flow threshold value of the routing equipment, SiAnd (4) corresponding user credit points to user equipment i, wherein n is the number of users connected with the routing equipment.
A second alternative is that when the current usage is less than the traffic threshold, in this case, there is no need to limit the traffic usage of the user equipment, since there is still a balance of traffic resources. However, in order to avoid the traffic resource reaching the limit due to the sudden surge of traffic usage, the traffic usage of each ue at the next time needs to be limited. The current flow value of each user equipment can be obtained; determining the priority of each user equipment according to the user credit score of each user equipment; and determining the maximum flow value allowed by each user equipment at the next moment according to the priority of each user equipment, the current flow value of each user equipment and the flow threshold.
For example,
Figure BDA0001696360140000081
wherein, R isi' the maximum flow value allowed for the next moment of said each user equipment, said UiFor the current flow value of each UE, LiFor the priority of each user equipment, the Ri=Li*UiM is the flow threshold when
Figure BDA0001696360140000082
Said I is 1, or
Figure BDA0001696360140000083
The I is 1.
It should be noted that the higher the user credit score of the user equipment is, the higher the priority of the user equipment is. The lower the user credit score of the user equipment, the lower the priority of the user equipment. Priority L when traffic resources are still sufficientiThe larger the traffic resource, the more preferentially the remaining traffic resource is allocated to user equipment i. Conversely, when traffic resources are imminent, priority LiThe smaller the traffic resource of the user equipment i is, the priority is given to the reclamation.
S203, managing the routing device according to the maximum flow value allowed by each user device.
In a specific implementation, when the current usage amount is equal to the traffic threshold, the traffic usage of each ue connected to the routing device is limited according to the maximum traffic value currently allowed by each ue. And when the current usage amount is smaller than the traffic threshold, limiting the traffic usage of each user equipment connected to the routing equipment according to the maximum traffic value allowed by each user equipment at the next moment.
In the embodiment of the application, firstly, when a plurality of user equipment are detected to be connected to the routing equipment, a traffic threshold value of the routing equipment and a user credit score of each user equipment in the plurality of user equipment are obtained; then, determining the maximum flow value allowed by each user equipment according to the flow threshold and the user credit score; and finally, managing the plurality of user equipment according to the maximum flow value allowed by each user equipment. The flow is distributed by adopting the credit of the user, so that the reasonable distribution of the flow resources is realized, and the utilization rate of the flow resources is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a route management method according to another embodiment of the present application. As shown in the figures, the steps in the embodiment of the present application include:
s301, obtaining the user credit score of each user equipment in at least one user equipment connected to the routing equipment.
In a specific implementation, when the user equipment needs to be connected to the routing equipment, the user equipment displays an authentication page, prompts the user to input an account and a password on the authentication page, and then sends a connection request to the server through the routing equipment, wherein the connection request comprises the account and the password. After receiving the connection request, the server verifies whether the account number and the password are correct, if the server verifies the account number and the password are correct, an authentication success result is returned to the routing equipment, the authentication success result comprises a user credit score, after the routing equipment receives the authentication success result of the specific character string, the authentication success result is analyzed, the user credit score of the user equipment is obtained, the user credit score is bound with an equipment network card of the user equipment, and the user equipment is informed of the authentication success result. And if the server fails in verification, returning an authentication failure result to the routing equipment, and sending prompt information, wherein the prompt information is used for reminding the user to re-input the account and the password for verification. The server can encrypt the authentication success result and the verification failure result and return the encrypted authentication success result and the encrypted verification failure result to the routing device and the user device.
S302, according to the user credit score of each user device, determining the device credit score of the routing device.
In a specific implementation, an average value of the user credit scores of the plurality of user devices may be used as the device credit score of the routing device. Further, a sum of user credit scores of the plurality of user devices may be calculated, and then a value of the sum of user credit scores of the plurality of user devices divided by the number of users of the plurality of user devices may be calculated as the device credit score of the routing device. A weighted average of the user credit scores of the plurality of user devices may also be calculated as the device credit score for the routing device.
S303, according to the device credit score, the security of the routing device is determined.
In a specific implementation, when the device credit score is greater than a preset threshold, it is determined that the device connected to the routing device is safe; determining that the connection to the routing device is dangerous when the device credit score is not greater than the preset threshold.
Optionally, when detecting that there is another user device to be connected to the routing device, when the device credit score is greater than the preset threshold, the device may send first prompting information to the other user device connected to the routing device, where the first prompting information is used to prompt a user to connect to the routing device securely. And under the condition that the device credit score is not greater than the preset threshold value, when detecting that other user equipment is about to be connected to the routing equipment, sending second prompt information to the other user equipment connected to the routing equipment, wherein the second prompt information is used for prompting the user that the user is at risk when connecting to the routing equipment so as to remind the user of careful connection. For example, display "device credit score of the WIFI router is abnormal, please use care to avoid important information leakage" on other user devices. Therefore, the risk of user information leakage is reduced, and the safety of WIFI use is improved.
In the embodiment of the application, firstly, when a plurality of user equipment are detected to be connected to the routing equipment, the user credit score of each user equipment in the plurality of user equipment is obtained; then, according to the flow threshold and the user credit score, determining the equipment credit score of the routing equipment; and finally, according to the equipment credit score, determining the safety of the routing equipment, and further reminding other user equipment connected to the routing equipment whether the routing equipment has risks, so that the risk of user information leakage is reduced, and the safety of WIFI use is improved.
It should be noted that the technical solutions of the two embodiments may be used in combination, and not only the traffic resources are managed according to the user credit score, but also the device credit score of the routing device is determined based on the user information score, so as to perform risk prompt for subsequent user access.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a routing management device according to an embodiment of the present application. As shown in the figures, the apparatus in the embodiment of the present application includes:
an obtaining module 401, configured to obtain a traffic threshold of the routing device and a user credit score of each of at least one user device connected to the routing device.
In a specific implementation, when the user equipment needs to be connected to the routing equipment, the user equipment displays an authentication page, prompts the user to input an account and a password on the authentication page, and then sends a connection request to the server through the routing equipment, wherein the connection request comprises the account and the password. After receiving the connection request, the server verifies whether the account number and the password are correct, if the server verifies the account number and the password are correct, an authentication success result is returned to the routing equipment, the authentication success result comprises a user credit score, after the routing equipment receives the authentication success result of the specific character string, the authentication success result is analyzed, the user credit score of the user equipment is obtained, the user credit score is bound with an equipment network card of the user equipment, and the user equipment is informed of the authentication success result. And if the server fails in verification, returning an authentication failure result to the routing equipment, and sending prompt information, wherein the prompt information is used for reminding the user to re-input the account and the password for verification. The server can encrypt the authentication success result and the verification failure result and return the encrypted authentication success result and the encrypted verification failure result to the routing device and the user device.
In addition, because the maximum traffic that the routing device can allow to pass is limited by the hardware parameters of the routing device, each routing device is configured with a traffic threshold, and the traffic threshold of the routing device can be obtained from the preset configuration information of the routing device. The flow threshold may be 100M, 50M, etc.
In the embodiment of the application, when a plurality of user devices are detected to be connected to the routing device, the traffic threshold of the routing device and the user credit score of each user device can be obtained. Or when detecting that a certain user equipment is connected to the routing equipment, acquiring the user credit score of the user equipment, and performing traffic resource allocation according to the user credit score of the user equipment. For example, when the user credit score of the user equipment is greater than a preset threshold, all the traffic resources of the routing equipment are allocated to the user equipment, and when the user credit score of the user equipment is not greater than the preset threshold, the traffic resources are not allocated to the user equipment.
A processing module 402, configured to determine, according to the traffic threshold and the user credit score, a maximum traffic value allowed for each ue.
In specific implementation, the current usage amount of the traffic resource of the routing device may be obtained; and determining the maximum flow value allowed by each user equipment according to the current usage amount. The method specifically comprises the following two optional modes:
first, when the current usage amount is equal to the traffic threshold, the traffic usage of the user equipment needs to be limited because the traffic resource of the routing device has reached the limit at this time. Determining a ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments according to the user credit score of each user equipment; and determining the maximum flow value currently allowed by each user equipment according to the ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments and the flow threshold value. Further, a product of a ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments and the traffic threshold may be determined; and taking the product as the maximum flow value currently allowed by each user equipment.
For example,
Figure BDA0001696360140000111
wherein R isiThe maximum flow value currently allowed by the user equipment i, M is the flow threshold value of the routing equipment, SiAnd (4) corresponding user credit points to user equipment i, wherein n is the number of users connected with the routing equipment.
A second alternative is that when the current usage is less than the traffic threshold, in this case, there is no need to limit the traffic usage of the user equipment, since there is still a balance of traffic resources. However, in order to avoid the traffic resource reaching the limit due to the sudden surge of traffic usage, the traffic usage of each ue at the next time needs to be limited. The current flow value of each user equipment can be obtained; determining the priority of each user equipment according to the user credit score of each user equipment; and determining the maximum flow value allowed by each user equipment at the next moment according to the priority of each user equipment, the current flow value of each user equipment and the flow threshold.
For example,
Figure BDA0001696360140000121
wherein, R isi' the maximum flow value allowed for the next moment of said each user equipment, said UiFor the current flow value of each UE, LiFor the priority of each user equipment, the Ri=Li*UiM is the flow threshold when
Figure BDA0001696360140000122
Said I is 1, or
Figure BDA0001696360140000123
The I is 1.
It should be noted that the higher the user credit score of the user equipment is, the higher the priority of the user equipment is. The lower the user credit score of the user equipment, the lower the priority of the user equipment. Priority L when traffic resources are still sufficientiThe larger, the priority will be to remaining streamsThe more resource is allocated to user equipment i. Conversely, when traffic resources are imminent, priority LiThe smaller the traffic resource of the user equipment i is, the priority is given to the reclamation.
Optionally, the obtaining module 401 is further configured to obtain a user credit score of each user equipment in at least one user equipment connected to the routing device. The processing module 402 is further configured to determine a device credit score of the routing device according to the user credit score, and determine security of connection to the routing device according to the device credit score.
Specifically, the average of the user credit scores of the plurality of user devices may be used as the device credit score of the routing device. Further, a sum of user credit scores of the plurality of user devices may be calculated, and then a value of the sum of user credit scores of the plurality of user devices divided by the number of users of the plurality of user devices may be calculated as the device credit score of the routing device. A weighted average of the user credit scores of the plurality of user devices may also be calculated as the device credit score for the routing device. When the device credit score is greater than a preset threshold value, determining that the routing device is connected safely; determining that the connection to the routing device is dangerous when the device credit score is not greater than the preset threshold.
A management module 403, configured to manage the routing device according to the maximum traffic value allowed by each ue.
In a specific implementation, when the current usage amount is equal to the traffic threshold, the traffic usage of each ue connected to the routing device is limited according to the maximum traffic value currently allowed by each ue. And when the current usage amount is smaller than the traffic threshold, limiting the traffic usage of each user equipment connected to the routing equipment according to the maximum traffic value allowed by each user equipment at the next moment.
Optionally, the routing management apparatus further includes:
a sending module 404, configured to, when it is detected that there is another user equipment to be connected to the routing device when the device credit score is greater than the preset threshold, send a first prompt message to the other user equipment connected to the routing device, where the first prompt message is used to prompt a user to connect to the routing device securely. And under the condition that the device credit score is not greater than the preset threshold value, when detecting that other user equipment is about to be connected to the routing equipment, sending second prompt information to the other user equipment connected to the routing equipment, wherein the second prompt information is used for prompting the user that the user is at risk when connecting to the routing equipment so as to remind the user of careful connection. For example, display "device credit score of the WIFI router is abnormal, please use care to avoid important information leakage" on other user devices. Therefore, the risk of user information leakage is reduced, and the safety of WIFI use is improved.
Please refer to fig. 5, wherein fig. 5 is a schematic structural diagram of a routing management device according to an embodiment of the present application. As shown, the route management device may include: at least one processor 501, at least one communication interface 502, at least one memory 504, and at least one communication bus 504.
The processor 501 may be, for example, a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a digital signal processor and a microprocessor, or the like. The communication bus 504 may be a peripheral component interconnect standard PCI bus or an extended industry standard architecture EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus. A communication bus 504 is used to enable connection communications between these components. The communication interface 502 of the flow control device in this embodiment is used for performing signaling or data communication with other node devices. The Memory 504 may include a volatile Memory, such as a Nonvolatile dynamic Random Access Memory (NVRAM), a Phase Change Random Access Memory (PRAM), a Magnetoresistive Random Access Memory (MRAM), and the like, and a Nonvolatile Memory, such as at least one magnetic Disk Memory device, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a flash Memory device, such as a NOR flash Memory (NOR flash Memory) or a NAND flash Memory (EEPROM), a semiconductor device, such as a Solid State Disk (SSD), and the like. The memory 504 may optionally be at least one storage device located remotely from the processor 501. A set of program codes is stored in the memory 504 and the processor 501 executes the programs in the memory 504.
Acquiring a traffic threshold value of the routing equipment and a user credit score of each user equipment in at least one user equipment connected to the routing equipment;
determining the maximum flow value allowed by each user equipment according to the flow threshold and the user credit score;
and managing the routing equipment according to the maximum flow value allowed by each user equipment.
Optionally, the processor 501 is further configured to perform the following operation steps:
acquiring the current usage amount of the traffic resource of the routing equipment;
and determining the maximum flow value allowed by each user equipment according to the current usage amount.
Optionally, the processor 501 is further configured to perform the following operation steps:
when the current usage amount is equal to the traffic threshold, determining a ratio of the user credit score of each user equipment to the sum of the user credit scores of the user equipments according to the user credit score of each user equipment;
and determining the maximum flow value currently allowed by each user equipment according to the ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments and the flow threshold value.
Optionally, the processor 501 is further configured to perform the following operation steps:
determining a product of a ratio of the user credit score of each user equipment to a sum of the user credit scores of the plurality of user equipments and the traffic threshold;
and taking the product as the maximum flow value currently allowed by each user equipment.
Optionally, the processor 501 is further configured to perform the following operation steps:
when the current usage amount is smaller than the flow threshold value, acquiring a current flow value of each user equipment;
determining the priority of each user equipment according to the user credit score of each user equipment;
and determining the maximum flow value allowed by each user equipment at the next moment according to the priority of each user equipment, the current flow value of each user equipment and the flow threshold.
Wherein the content of the first and second substances,
Figure BDA0001696360140000151
wherein, R isi' the maximum flow value allowed for the next moment of said each user equipment, said UiFor the current flow value of each UE, LiFor the priority of each user equipment, the Ri=Li*UiM is the flow threshold when
Figure BDA0001696360140000152
Said I is 1, or
Figure BDA0001696360140000153
The I is 1.
Optionally, the processor 501 is further configured to perform the following operation steps:
obtaining a user credit score for each of at least one user device connected to the routing device
Determining the equipment credit score of the routing equipment according to the user credit score of each user equipment;
determining security for connection to the routing device based on the device credit score.
Optionally, the processor 501 is further configured to perform the following operation steps:
when the device credit score is greater than a preset threshold value, determining that the routing device is connected safely;
determining that the connection to the routing device is dangerous when the device credit score is not greater than the preset threshold.
Optionally, the processor 501 is further configured to perform the following operation steps:
and sending prompt information to other user equipment connected to the routing equipment, wherein the prompt information is used for prompting the user to be connected to the routing equipment to have risk.
Optionally, the processor 501 is further configured to perform the following operation steps:
and taking the average value of the user credit scores of the plurality of user devices as the device credit score of the routing device.
Further, the processor may cooperate with the memory and the communication interface to perform the operations of the routing management apparatus in the embodiments of the above application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above-mentioned embodiments further explain the objects, technical solutions and advantages of the present application in detail. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (15)

1. A method for route management, the method comprising:
the method for acquiring the traffic threshold value of the routing equipment and the user credit score of each user equipment in at least one user equipment connected to the routing equipment comprises the following steps: when the user equipment is detected to be connected to the routing equipment, sending a connection request to a server through the routing equipment, wherein the connection request is used for the server to return an authentication success result, and the authentication success result comprises the user credit score;
determining the maximum flow value allowed by each user equipment according to the flow threshold and the user credit score;
and managing the routing equipment according to the maximum flow value allowed by each user equipment.
2. The method of claim 1, wherein the determining the maximum flow value allowed for each user equipment comprises:
acquiring the current usage amount of the traffic resource of the routing equipment;
and determining the maximum flow value allowed by each user equipment according to the current usage amount.
3. The method of claim 2, wherein said determining the maximum traffic value allowed for each user equipment based on the current usage comprises:
when the current usage amount is equal to the flow threshold, determining the ratio of the user credit score of each user equipment to the sum of the user credit scores of the user equipments according to the user credit score of each user equipment;
and determining the maximum flow value currently allowed by each user equipment according to the ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments and the flow threshold value.
4. The method of claim 3, wherein the determining the maximum traffic value currently allowed for each UE according to the ratio of the user credit score of each UE to the sum of the user credit scores of the UEs and the traffic threshold comprises:
determining a product of a ratio of the user credit score of each user equipment to a sum of the user credit scores of the plurality of user equipments and the traffic threshold;
and taking the product as the maximum flow value currently allowed by each user equipment.
5. The method of claim 2, wherein said determining the maximum traffic value allowed for each user equipment based on the current usage comprises:
when the current usage amount is smaller than the flow threshold value, acquiring a current flow value of each user equipment;
determining the priority of each user equipment according to the user credit score of each user equipment;
and determining the maximum flow value allowed by each user equipment at the next moment according to the priority of each user equipment, the current flow value of each user equipment and the flow threshold.
6. The method of claim 5,
Figure FDA0002617444220000021
wherein, R isi' the maximum flow value allowed for the next moment of said each user equipment, said UiFor the current flow value of each UE, LiFor the priority of each user equipment, the Ri=Li*UiM is the flow threshold when
Figure FDA0002617444220000022
Said i is 1, or
Figure FDA0002617444220000023
And i is 1.
7. A method of route management, the method further comprising:
obtaining a user credit score for each of at least one user device connected to a routing device, comprising: when the user equipment is detected to be connected to the routing equipment, sending a connection request to a server through the routing equipment, wherein the connection request is used for the server to return an authentication success result, and the authentication success result comprises the user credit score;
acquiring a traffic threshold of a routing device, determining a device credit score of the routing device according to the user credit score of each user device, and determining a maximum traffic value allowed by each user device according to the traffic threshold and the user credit score;
and determining the security of the connection to the routing equipment according to the equipment credit score, and managing the routing equipment according to the maximum flow value allowed by each user equipment.
8. The method of claim 7, wherein said determining the security of the routing device based on the device credit score comprises:
when the device credit score is greater than a preset threshold value, determining that the routing device is connected safely;
determining that the connection to the routing device is dangerous when the device credit score is not greater than the preset threshold.
9. The method of claim 8, wherein after determining that there is a risk of connecting to the routing device when the device credit score is not greater than the preset threshold, further comprising:
and sending prompt information to other user equipment connected to the routing equipment, wherein the prompt information is used for prompting the user to be connected to the routing equipment to have risk.
10. The method of claim 7, wherein said determining a device credit score for said routing device based on said user credit score for said each user device comprises:
and taking the average value of the user credit scores of the plurality of user devices as the device credit score of the routing device.
11. A routing management apparatus, the apparatus comprising:
an obtaining module, configured to obtain a traffic threshold of a routing device and a user credit score of each user device in at least one user device connected to the routing device, where the obtaining module includes: when the user equipment is detected to be connected to the routing equipment, sending a connection request to a server through the routing equipment, wherein the connection request is used for the server to return an authentication success result, and the authentication success result comprises the user credit score;
the processing module is used for determining the maximum flow value allowed by each user equipment according to the flow threshold value and the user credit score;
and the management module is used for managing the routing equipment according to the maximum flow value allowed by each piece of user equipment.
12. The apparatus of claim 11,
the processing module is further configured to obtain a current usage amount of the traffic resource of the routing device; and determining the maximum flow value allowed by each user equipment according to the current usage amount.
13. The apparatus of claim 12,
the processing module is further configured to determine, when the current usage amount is equal to the traffic threshold, a ratio of the user credit score of each ue to a sum of the user credit scores of the plurality of ues according to the user credit score of each ue; and determining the maximum flow value currently allowed by each user equipment according to the ratio of the user credit score of each user equipment to the sum of the user credit scores of the plurality of user equipments and the flow threshold value.
14. The apparatus of claim 12,
the processing module is further configured to obtain a current traffic value of each ue when the current usage amount is smaller than the traffic threshold; determining the priority of each user equipment according to the user credit score of each user equipment; and determining the maximum flow value allowed by each user equipment at the next moment according to the priority of each user equipment, the current flow value of each user equipment and the flow threshold.
15. A routing management apparatus, the apparatus comprising:
an obtaining module, configured to obtain a user credit score of each user equipment in at least one user equipment connected to a routing device, includes: when the user equipment is detected to be connected to the routing equipment, sending a connection request to a server through the routing equipment, wherein the connection request is used for the server to return an authentication success result, and the authentication success result comprises the user credit score;
a processing module, configured to obtain a traffic threshold of a routing device, determine a device credit score of the routing device according to the user credit score of each user device, and determine a maximum traffic value allowed by each user device according to the traffic threshold and the user credit score;
the processing module is further configured to determine security of the connection to the routing device according to the device credit score, and manage the routing device according to a maximum traffic value allowed by each user device.
CN201810618325.4A 2018-06-14 2018-06-14 Route management method and related equipment Active CN108834180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810618325.4A CN108834180B (en) 2018-06-14 2018-06-14 Route management method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810618325.4A CN108834180B (en) 2018-06-14 2018-06-14 Route management method and related equipment

Publications (2)

Publication Number Publication Date
CN108834180A CN108834180A (en) 2018-11-16
CN108834180B true CN108834180B (en) 2020-11-06

Family

ID=64142259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810618325.4A Active CN108834180B (en) 2018-06-14 2018-06-14 Route management method and related equipment

Country Status (1)

Country Link
CN (1) CN108834180B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163312A (en) * 2015-07-31 2015-12-16 中国联合网络通信集团有限公司 Wireless network access method and wireless network access device
CN105450619A (en) * 2014-09-28 2016-03-30 腾讯科技(深圳)有限公司 Method, device and system of protection of hostile attacks

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103138979B (en) * 2011-11-30 2016-08-03 华为终端有限公司 Network access management method and network access equipment
WO2014079033A1 (en) * 2012-11-23 2014-05-30 华为技术有限公司 Credit control method, user equipment and control entity
US9578508B2 (en) * 2013-03-13 2017-02-21 Qualcomm Incorporated Method and apparatus for wireless device countermeasures against malicious infrastructure
CN105357734B (en) * 2015-11-20 2019-04-16 小米科技有限责任公司 The method and device of control access WIFI hot spot

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450619A (en) * 2014-09-28 2016-03-30 腾讯科技(深圳)有限公司 Method, device and system of protection of hostile attacks
CN105163312A (en) * 2015-07-31 2015-12-16 中国联合网络通信集团有限公司 Wireless network access method and wireless network access device

Also Published As

Publication number Publication date
CN108834180A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
JP6259032B2 (en) Managing wireless network login password sharing
US8713646B2 (en) Controlling access to resources on a network
US10757102B2 (en) Methods, apparatus, and systems for identity authentication
CN111355723B (en) Single sign-on method, device, equipment and readable storage medium
CN110278192B (en) Method and device for accessing intranet by extranet, computer equipment and readable storage medium
US20140310606A1 (en) Method and device for providing plugin in contact list
CN111355583B (en) Service providing system, method, device, electronic equipment and storage medium
CN108834180B (en) Route management method and related equipment
CN108965108B (en) Message pushing method and related equipment
CN115801299B (en) Meta universe identity authentication method, device, equipment and storage medium
CN116318911A (en) Domain name access method and device, electronic equipment and storage medium
US10172001B1 (en) Authentication mechanism
CN113365272B (en) Method and system for preventing network from being rubbed
CN113114623B (en) Data connection method, device, terminal equipment and computer readable storage medium
CN112543194B (en) Mobile terminal login method and device, computer equipment and storage medium
CN111147256B (en) Authentication method and device
CN112733101A (en) Cloud server management method, device, storage medium and server terminal
US20140094118A1 (en) Evaluating wireless network access connections via near field communications
KR102005932B1 (en) Server for managing social network friends and method for managing social network friends using the same
CN116527284B (en) Data storage security determination method, device, equipment and storage medium
CN110519256B (en) Method and device for DApp to access USB private key management equipment
CN109271758B (en) Method, equipment, device and server for preventing So file from being stolen
CN106993300B (en) Access control method and system for terminal hotspot
CN110347632B (en) Communication method and device
CN113765986A (en) Flow control method and server for open platform

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