Frequency limiting method and device, equipment and medium
A technology of frequency limiting and electronic equipment, applied in transmission systems, electrical components, etc., can solve the problems of low frequency limiting timeliness and poor frequency limiting effect, and achieve the effect of improving frequency limiting timeliness and frequency limiting effect.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 A schematic diagram of a frequency limiting method process is provided for an embodiment of the present invention, and the process includes the following steps:
[0028] S101: Receive access information sent by a client.
[0029] The frequency limiting method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device may be an intelligent device such as a PC or a server.
[0030] In order to limit the frequency, in the embodiment of the present invention, determination is made based on the access information sent by the client, and the electronic device receives the access information sent by the client. And in the embodiment of the present invention, the electronic device receives the access information sent by the client through the access layer.
[0031] And in the embodiment of the present invention, in order to improve frequency limiting efficiency and reduce the possibility of false seals, after rec...
Embodiment 2
[0041] In order to accurately process the access information sent by the client, on the basis of the above embodiments, in the embodiment of the present invention, the method further includes:
[0042] If the gray list does not contain the source IP address, then obtain the target room number, target room password and age carried in the access information, and judge the access according to the pre-saved room number, room password and age threshold Whether the information is normal, if so, allow the client to access, if not, deny the client's access.
[0043] When it is detected that the source IP address is not included in the gray list, it means that the source IP address can be released. In order to accurately limit the frequency, the access information sent by the client can be further verified. Since the access information sent by the client is In order to enter the live broadcast room, in the embodiment of the present invention, the access information sent by the client c...
Embodiment 3
[0055] In order to accurately implement frequency limitation, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, the IP address in the blacklist is obtained in the following manner:
[0056] For each target source IP address that is denied access, count the number of times that the target source IP address is denied access within a preset time length, and when the number of times is greater than the preset number of times threshold, add the target source IP address to all In the above blacklist, and record the time when the target source IP address is added to the blacklist.
[0057] In order to accurately realize the frequency limit, in the embodiment of the present invention, a blacklist is saved, and the IP addresses saved in the blacklist are all IP addresses that are detected to have the risk of swiping traffic. Specifically, when within the preset time length If an IP address frequently sends access information and is denied acce...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com