Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interface current limiting method and device, electronic equipment and storage medium

A current limiting method and interface technology, which is applied in the direction of electrical components, digital transmission systems, transmission systems, etc., can solve fixed and invariable problems, achieve flexible current limiting functions, and avoid the effect of business system collapse

Active Publication Date: 2019-06-04
PING AN TECH (SHENZHEN) CO LTD
View PDF7 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current limiting strategy in the prior art is directly configured through the configuration system or the configuration file, and is a fixed current limiting rule, such as a fixed limit on the number of visits per second, the number of visits per minute, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Interface current limiting method and device, electronic equipment and storage medium
  • Interface current limiting method and device, electronic equipment and storage medium
  • Interface current limiting method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] refer to figure 1 As shown in FIG. 1 , the flow chart of the interface current limiting method provided by Embodiment 1 of the present invention is shown. According to different requirements, the execution sequence in the flowchart can be changed, and some steps can be omitted.

[0054] Step S01. Obtain the current limit threshold of the interface.

[0055] In this embodiment, the current limiting threshold is the maximum value of the total number of access requests that can be received and processed by the interface within a preset time, and the current limiting threshold is set by the operation and maintenance personnel to realize the ideal operating index of the system.

[0056] Step S02, receiving an access request, and confirming whether the access request is a normal request. When it is confirmed that the access request is a normal request, the process enters step S03; when it is confirmed that the access request is an abnormal request, the process enters step S...

Embodiment 2

[0100] figure 2 It is a functional block diagram of a preferred embodiment of the interface current limiting device of the present invention.

[0101] In some embodiments, the interface current limiting device 20 operates in an electronic device. The interface current limiting device 20 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the interface current limiting device 20 can be stored in a memory and executed by at least one processor to perform the interface current limiting function.

[0102] In this embodiment, the interface current limiting device 20 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: an acquiring module 201 , a receiving module 202 , a statistics module 203 , a setting module 204 and a processing module 205 . The module referred to in the present invention refers to a series of computer program segmen...

Embodiment 3

[0148] image 3 It is a schematic diagram of the electronic device provided by Embodiment 3 of the present invention.

[0149] The electronic device 3 includes: a memory 31 , at least one processor 32 , a computer program 33 stored in the memory 31 and operable on the at least one processor 32 , and at least one communication bus 34 .

[0150] When the at least one processor 32 executes the computer program 33, the steps in the above embodiment of the interface current limiting method are implemented.

[0151] Exemplarily, the computer program 33 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 31 and executed by the at least one processor 32, To complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 33 in the electro...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The interface current limiting method comprises the steps of obtaining a current limiting threshold value of a current interface; Receiving an access request, and confirming whether the access requestis a normal request or not; When it is determined that the access request is a normal request, counting the total number of access requests received by the current interface within a preset time; Confirming a new current-limiting threshold value of the current interface, and setting the maximum value of the number of access requests allowed to be received by the new current-limiting threshold value in unit time; And updating the current limiting threshold value of the current interface into a new current limiting threshold value, and performing current limiting control on the current interface according to the new current limiting threshold value. The invention also provides an interface current limiting device, electronic equipment and a storage medium. The interface supports the currentlimiting function of any unit time and optimizes the interface function, so that the current limiting function is more flexible, and more service requirements can be met.

Description

technical field [0001] The invention relates to the technical field of mobile communication, in particular to an interface current limiting method, device, electronic equipment and storage medium. Background technique [0002] To ensure the stability of the business system to cope with large-traffic access requests, it is usually necessary to pay attention to two functional controls. One is request current limiting, and the other is service degradation processing. The significance of the two functional controls is that the services of the business system will not be paralyzed. The service capability per unit time that each interface in the business system can provide is limited. When the carrying capacity of the service is exceeded, it will generally cause the entire interface service to stop, or the business system to crash, or bring a series of unknown chain reactions, which will cause the loss of the service capability of the entire system. Therefore, it is necessary t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/801
Inventor 时文涛
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products