CN108566304A - Interface control method, electronic equipment and computer readable storage medium - Google Patents

Interface control method, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN108566304A
CN108566304A CN201810388223.8A CN201810388223A CN108566304A CN 108566304 A CN108566304 A CN 108566304A CN 201810388223 A CN201810388223 A CN 201810388223A CN 108566304 A CN108566304 A CN 108566304A
Authority
CN
China
Prior art keywords
interface
configuration information
current limliting
current
limiting condition
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.)
Pending
Application number
CN201810388223.8A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810388223.8A priority Critical patent/CN108566304A/en
Publication of CN108566304A publication Critical patent/CN108566304A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing

Abstract

A kind of interface control method of disclosure offer, electronic equipment and computer readable storage medium, pass through the interface corresponding to the request for determining and receiving;The corresponding interface configuration information of the interface is obtained, the interface configuration information includes at least:Current limliting configuration information;Judge whether the interface meets limiting condition according to the current limliting configuration information;If the interface meets limiting condition; it limits the interface and obtains data; it solves existing system and cannot be satisfied multiplex roles to unify Current limited Control; the technical issues of can not carrying out flexible self-defined Current limited Control; more flexible and convenient multiple interfaces current-limiting function is realized, the technique effect of safer system protection is effectively provided.

Description

Interface control method, electronic equipment and computer readable storage medium
Technical field
The present invention relates to a kind of network communication technology field more particularly to interface control method, electronic equipment and computers Readable storage medium storing program for executing.
Background technology
There are three sharp weapon to be used for protecting system when developing high concurrent system:Caching, degradation and current limliting.Some of which scene It can not be solved with caching and degrading, for example the second scene of scarce resources such as kills, rushes to purchase, for another example comment on, place an order etc. and writing clothes The frequent complex query scenes such as the scene of business, the most the last few pages also such as commented on load, therefore need to have a kind of means to limit Concurrent/request amount of these scenes, i.e. current limliting.
The purpose of current limliting is limited by carrying out the request in speed limit or a time window to concurrent access/request Speed protects system, can refuse if reaching limiting speed service (be directed to faulty page or announcing resource without), row Team waits for (for example the second kills, comments on, placing an order), degrades that (return is revealed all the details data or default data, as commodity details page inventory gives tacit consent to It is in stockit is available).The common current limliting of general exploitation high concurrent system has:Limit total number of concurrent (such as database connection pool, thread pool), limit It makes instantaneous number of concurrent (the limit_conn modules of such as nginx, for limiting instantaneous concurrent connection number), limit in time window Mean Speed (the limit_req modules of RateLimiter, nginx of such as Guava, limit Mean Speed per second);Other are also The Consumption rate for calling rate just like limitation remote interface, limiting MQ.In addition it can according to number of network connections, network flow, CPU or memory load etc. carry out current limliting.
Currently, current-limiting function is generally had no in existing system, or it is also to carry out current limliting individually for some interface to have Operation.It cannot be satisfied multiplex roles and unify Current limited Control, flexible self-defined Current limited Control can not be carried out, therefore, limit and be The management of performance of system, while also reducing the safety of system.
Invention content
It is a primary object of the present invention to propose a kind of interface control method, electronic equipment and computer-readable storage medium Matter, it is intended to solve existing system and cannot be satisfied multiplex roles to unify Current limited Control, flexible self-defined current limliting control can not be carried out System, therefore, the technical issues of limiting the management of performance of system, while also reducing the safety of system.
To achieve the above object, the present invention provides a kind of interface control method, including:It determines corresponding to the request received Interface;The corresponding interface configuration information of the interface is obtained, the interface configuration information includes at least:Current limliting configuration information; Judge whether the interface meets limiting condition according to the current limliting configuration information;If the interface meets limiting condition, limit It makes the interface and obtains data.
Optionally, the method further includes:If the interface is unsatisfactory for limiting condition, described in interface acquisition Ask corresponding data.
Optionally, the current limliting configuration information includes at least one of:Preset time inner joint current limliting quantity connects Total number of request of mouth.
Optionally, described to judge whether the interface meets limiting condition according to the current limliting configuration information, further include:It obtains Take the corresponding present flow rate state of the interface;It is connect according to described in the current limliting configuration information and the present flow rate condition adjudgement Whether the corresponding present flow rate state of mouth meets the limiting condition.
Optionally, before the interface corresponding to request that the determination receives, further include:It is by background management system Multiple interfaces configure interface configuration information;The interface configuration information is preserved to database.
Optionally, described to obtain the corresponding interface configuration information of the interface, further include:Institute is loaded from the database Interface configuration information is stated to local memory;The corresponding interface configuration information of the interface is obtained from local memory.
Optionally, the method further includes:When detecting that interface configuration information changes, the interface after variation is configured Information preservation is to database.
Optionally, described to obtain the corresponding interface configuration information of the interface, further include:According to the database Interface configuration information after variation updates local memory;Interface after obtaining the corresponding variation of the interface in local memory is matched Confidence ceases.
The disclosure also provides a kind of electronic equipment, which is characterized in that the electronic equipment includes:Processor;Memory, with The processor connection, the memory include control instruction, when the processor reads the control instruction, described in control Electronic equipment realizes the interface control method of any of the above-described.
The disclosure also provides a kind of computer readable storage medium, which is characterized in that the computer readable storage medium There are one or multiple programs, one or more of programs be executed by one or more processors, to realize any of the above-described The interface control method.
Interface control method, electronic equipment and the computer readable storage medium that a kind of example embodiment of the disclosure provides In, by determining the interface corresponding to the request received;The corresponding interface configuration information of the interface is obtained, the interface is matched Confidence breath includes at least:Current limliting configuration information;Judge whether the interface meets limiting condition according to the current limliting configuration information; If the interface meets limiting condition, limit the interface and obtain data, solves existing system and cannot be satisfied multiplex roles system One Current limited Control, the technical issues of can not carrying out flexible self-defined Current limited Control, realize more flexible and convenient a variety of Interface current-limiting function effectively provides the technique effect of safer system protection.
Description of the drawings
Fig. 1 optionally a kind of hardware architecture diagrams of mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the communications network system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is a kind of flow chart of one of disclosure interface control method of embodiment;
Fig. 4 is the module diagram of one of the disclosure a kind of electronic equipment of embodiment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, mobile terminal, Intelligent bracelet, pedometer etc. are mobile The fixed terminals such as terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WIFI module 102, audio output unit 103, A, V (audio, video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WIFI belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WIFI module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WIFI module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WIFI module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A, V input units 104 are for receiving audio or video signal.A, V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WIFI module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation information of touch detecting apparatus detection user, and detect touch behaviour Make the signal brought, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This Outside, the multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave may be used and realize touch panel 1071.In addition to touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation It is one or more in bar etc., it does not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input, output (I, O) end Mouth, video I, O port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part, by run or execute the software program being stored in memory 109 and or module, and call be stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
One of present exemplary embodiment discloses a kind of interface control method first.The interface control method is held Row main body can be server-side one or more electronic equipment, such as:The equipment such as server, cluster;The interface control method Executive agent can also be third party device, such as the terminal, and the third party device is by way of wirelessly or non-wirelessly and clothes Business end and client are into row data communication, to realize the interface control method described in the disclosure.The disclosure is not restricted this. But in order to preferably explain that the interface control method described in the disclosure, present embodiment are implemented by executive agent of server-side The explanation of mode, Fig. 3 is a kind of flow chart of interface control method of one of disclosure embodiment signal, such as Fig. 3 institutes Show, which may comprise steps of:
Step S110 determines the interface corresponding to the request received;
Step S120, obtains the corresponding interface configuration information of the interface, and the interface configuration information includes at least:Current limliting Configuration information;
Step S130 judges whether the interface meets limiting condition according to the current limliting configuration information;
Step S140 limits the interface and obtains data if the interface meets limiting condition.
By the above embodiment, the disclosure provides a kind of interface current-limiting mode of configurableization, solves existing system The technical issues of cannot be satisfied multiplex roles and unify Current limited Control, can not carrying out flexible self-defined Current limited Control, realizes more For flexible and convenient multiple interfaces current-limiting function, the technique effect of safer system protection is effectively provided.
In the following, by being described further to the interface control method in this example embodiment with reference to shown in figure 3.
In step s 110, the interface corresponding to the request received is determined.
In this example embodiment, when receive one or more clients simultaneously or non-concurrent transmission request message When, the corresponding interface of the request is determined according to the request message.
In the step s 120, the corresponding interface configuration information of the interface is obtained, the interface configuration information includes at least: Current limliting configuration information.
In this example embodiment, each connect is stored in local memory, in database or in third party's storage device Mouthful corresponding interface configuration information, include in the interface configuration information with a series of interface related configuration parameters, such as:Limit The relatively uniform Resource Locator of stream configuration information, interface (URL) information etc. and some other relevant information.Wherein, current limliting is matched Include the threshold value of one or more decision conditions in confidence breath, for judging whether interface meets limiting condition, such as:Limiting time Inner joint current limliting quantity, limits total number of request of interface etc..
In this example embodiment, obtaining corresponding interface configuration information according to interface can be by inquiring the interface and connecing Mapping relations between mouth configuration information are achieved, and can also pass through the address that interface and corresponding interface configuration information is arranged Link is obtained automatically according to the corresponding address chain of the interface and corresponding interface is taken to match confidence after determining request corresponding interface Breath is achieved.
It, can as needed will be whole it should be noted that local each interface can be managed by manual type The specific interface of interface or part carry out current limliting setting, and these arrange parameters can be added in corresponding interface configuration information In, it is used so that subsequent step obtains.
In alternative embodiments, current limliting configuration information includes at least one of:
Preset time inner joint current limliting quantity, total number of request of interface.
It should be noted that other than the content of the current limliting configuration information proposed in the above embodiment, this field skill Art personnel can not be limited according to the self-defined current limliting configuration information of actual demand, the disclosure.
In step S130, judge whether the interface meets limiting condition according to the current limliting configuration information.
In this example embodiment, after obtaining the corresponding interface configuration information of the interface, according to interface configuration information In include current limliting configuration information, judge whether the interface meets limiting condition using the current limliting configuration information.Such as:It determines The interface corresponding to request received is interface A, and " interface A shown in the current limliting configuration information:Current limliting " then uses the limit Stream configuration information when judging whether interface A meets limiting condition, judges that interface A meets limiting condition.In another example:It determines The interface corresponding to request received is interface A, and interface A is called by the 11st time, and shown in the current limliting configuration information " interface A:Current limliting after 10th time ", then using the current limliting configuration information come when judging whether interface A meets limiting condition, due to Current call number (11 times) is more than limiting condition (10 times), then judges that interface A meets limiting condition.
In alternative embodiments, the step S130, further comprises the steps;
Step S132 obtains the corresponding present flow rate state of the interface;
Step S134, it is corresponding current according to interface described in the current limliting configuration information and the present flow rate condition adjudgement Whether flow status meets the limiting condition.
In this example embodiment, when judging whether interface meets limiting condition, need further current according to the interface Flow status carry out real-time sex determination so that system can be according to the present flow rate state of the interface to the limit of the interface Stream mode is dynamically adjusted, and to more adapt to high concurrent system, can also be played effectively to the flow status of interface Load balancing effect.
For example, determining that the interface corresponding to the request received is interface B, the corresponding current streams of interface B are obtained Amount state is:" interface B:Current time:10:04:00, the 51st calling, ";And it is in the current limliting configuration information:" interface B:When Between:10:00:00~10:05:In 00;Current limliting after 50th time ", then according to the current limliting configuration information and the present flow rate shape When state judges whether the corresponding present flow rate states of interface B meet the limiting condition, due in interface B present flow rate states Current time " 10:04:" 10 in the 00 " limiting time in current limliting configuration information:00:00~10:05:00 ", and interface B works as Current call number in preceding flow status is 51 times, is more than limiting condition 50 times in current limliting configuration information, then judges interface B Meet limiting condition.
Again for example, determining that the interface corresponding to the request received is interface C, it is corresponding current to obtain interface C Flow status is:" current total number of request total 1000 ";And it is in the current limliting configuration information:" current limliting after total number of request 1000 ", Whether institute is then met according to the current limliting configuration information and the corresponding present flow rate states of the present flow rate condition adjudgement interface C When stating limiting condition, due to total number of request total 1000 in interface C present flow rate states, that is to say, that interface C is corresponding Current request is the 1001st, is more than limiting condition (total number of request 1000) in current limliting configuration information, then judges that interface C meets limit Stream condition.
In step S140, if the interface meets limiting condition, limits the interface and obtain data.
In this example embodiment, if the interface meets limiting condition, limits the interface and obtain data, it can should Interface, which is closed or directly returned to client, asks unsuccessful status response message.
By the above embodiment, the disclosure provides a kind of interface current-limiting mode of configurableization, solves existing system The technical issues of cannot be satisfied multiplex roles and unify Current limited Control, can not carrying out flexible self-defined Current limited Control, realizes more For flexible and convenient multiple interfaces current-limiting function, the technique effect of safer system protection is effectively provided.
In alternative embodiments, after the step S140, further comprise the steps;
Step S150 obtains the corresponding number of the request if the interface is unsatisfactory for limiting condition by the interface According to.
In this example embodiment, by the way that current limliting Rule of judgment is arranged, current limliting judgement is carried out to interface, if the interface is not Meet limiting condition, that is to say, that current system has the ability for continuing with request, then according to normal interface call flow Obtain the corresponding data of the request.
By the above embodiment, interface current-limiting mode is embodied as configurableization, existing system is solved and cannot be satisfied Multiplex roles unify Current limited Control, the technical issues of can not carrying out flexible self-defined Current limited Control, realize more flexible side Just multiple interfaces current-limiting function effectively provides the technique effect of safer system protection.
In alternative embodiments, further comprising the steps of before the step S110;
Step S210 is that multiple interfaces configure interface configuration information by background management system;
Step S220 preserves the interface configuration information to database.
In this example embodiment, local each interface can be manually managed by background management system, Interface configuration information is configured for multiple interfaces.Can also the specific interface of whole interfaces or part be subjected to current limliting as needed Setting, and these arrange parameters can add in corresponding interface configuration information.Background management system can be independent third Method, system is achieved, and can also be integrated among local system, and the subsystem as local system is achieved, and the disclosure is not Make particular determination.
Background management system can make the management such as admin system or platform, which provides configurable administration interface, after Platform developer can check the status information of each interface by the administration interface, can also configure or change corresponding interface Configuration information.After completing to configure, when preserving or update by clicking, relevant interface configuration information is preserved to database In.Notice operation is carried out by redis or other message-oriented middlewares simultaneously.
It corresponds to an interface it should be noted that the corresponding interface configuration information of multiple interfaces can be each interface and matches confidence Breath can also be that multiple interfaces correspond to an interface configuration information;The interface configuration information can be general configuration information, also may be used To be the corresponding configuration information of each interface.
By the above embodiment, the interface message of current limliting can be needed with manual configuration correlation from the background, and synchronous preserve should In information to the cache servers such as local memory or redis, dynamic current limliting interface configuration feature can be very easily realized, To efficiently solve the performance bottleneck of system, while the safety of lifting system.
In alternative embodiments, in the step S120, further comprise the steps;
Step S230 loads the interface configuration information to local memory from the database;
Step S240 obtains the corresponding interface configuration information of the interface from local memory.
In this example embodiment, by being loaded in relevant interface configuration information to local memory in the database.When connecing When receiving the request of client, its opposite address URL is obtained according to the interface of request, meanwhile, obtain being somebody's turn to do in local memory The corresponding interface configuration information of interface.
By the above embodiment, unify saving interface configuration information by using database, when each interface item opens When dynamic, it is loaded onto local memory from database by interface configuration information, the unified configuration current limliting management of multiplex roles may be implemented, reach To the multiplex roles current-limiting function of flexible aspect.
In alternative embodiments, the method is further comprising the steps of:
When detecting that interface configuration information changes, the interface configuration information after variation is preserved to number by step S250 According to library.
Can be logical by related personnel when detecting that interface configuration information changes in this example embodiment It crosses background management system and carries out configuration operation and have updated interface configuration information, can also be that system connects according to daily record intelligent updating Mouth configuration information.Interface configuration information, which changes, to be:It increased interface configuration information newly, increased current limliting configuration information newly, Or change interface configuration information, have modified current limliting configuration information, delete the variations such as current limliting configuration information, by connecing after variation Mouth configuration information is preserved into database, while carrying out notice operation by redis or other message-oriented middlewares.
By the above embodiment, interface current-limiting mode is embodied as configurableization, is realized more flexible and convenient more Kind interface current limliting unifies configuration feature, effectively provides safer system protection.
In alternative embodiments, in the step S120, further comprise the steps;
Step S260 updates local memory according to the interface configuration information after changing described in the database;
Step S270, the interface configuration information after obtaining the corresponding variation of the interface in local memory.
In this example embodiment, when interface configuration information changes, after reading variation from the database Interface configuration information updates local memory.Specifically, the interface configuration information stored in database safeguards a version number, works as every time When interface configuration information changes, which adds one automatically, locally matches to database query interface at interval of preset time Confidence ceases corresponding latest edition number, when version number is inconsistent, more according to the interface configuration information after changing in the database New local memory.It can also be the interface configuration information stored in database, work as receive changed interface configuration every time When information, a update request is sent to each interface item, after receiving update request, after changing in the database Interface configuration information update local memory.
By the above embodiment, newest interface configuration information is uniformly safeguarded by using database, when interface configures When information changes, it is updated to local memory from database by changed interface configuration information, by by interface current limliting Mode is embodied as configurableization, and the unified configuration current limliting management of multiplex roles may be implemented, reach the multiplex roles current limliting of flexible aspect Function effectively provides safer system protection.
In alternative embodiments, one of present exemplary embodiment also discloses a kind of interface control method.It should Interface control method includes the following steps:
In the background management systems such as step S310, admin, it is desirable to provide the configurableization interface of interface, major function For:Addition needs interface relative URL (unique major key) information of current limliting and some other relevant information, such as:In limiting time Interface current limliting quantity, limits the relevant informations such as total number of request of interface.When clicking preservation or update, related current limliting configuration is preserved In information to database, while notice operation is carried out by redis or other message-oriented middlewares, notification interface project current limliting is matched It sets and has changed.
Step S320 needs to add unified flow restricting filter function module in interface item.Its main process flow For:When interface item starts, loaded in relevant interface current limliting configuration information to local memory from database.Work as client request When, its opposite address URL (this is unique major key) is obtained according to the interface of request, meanwhile, obtain the phase in local memory The configuration information for closing interface current limliting, current limliting judgement is uniformly carried out by flow restricting filter module, if it exceeds current limliting Rule of judgment, then Unsuccessful state is directly returned, the data after interface calls otherwise are returned.
Step S330, when needing newly-increased current limliting interface configuration information every time, or changing relevant information, by related personnel Configuration operation is being carried out from the background, is being preserved into database by admin, and all interface items are notified by message-oriented middleware, When interface item gets the notice, newest current limliting configuration information is loaded from database, and update local cache.
By the above embodiment, the disclosure provides a kind of interface current-limiting mode of configurableization, solves existing system The technical issues of cannot be satisfied multiplex roles and unify Current limited Control, can not carrying out flexible self-defined Current limited Control, realizes more For flexible and convenient multiple interfaces current-limiting function, the technique effect of safer system protection is effectively provided.
In an exemplary embodiment of the disclosure, a kind of electronic equipment that can realize the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, i.e.,:It is complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 4.The electronics that Fig. 4 is shown Equipment 600 is only an example, should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in figure 4, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap It includes but is not limited to:Above-mentioned at least one processing unit 610, above-mentioned at least one storage unit 620, connection different system component The bus 630 of (including storage unit 620 and processing unit 610), display unit 640.
Wherein, the storage unit has program stored therein code, and said program code can be held by the processing unit 610 Row so that the processing unit 610 executes the above-mentioned interface control method of the disclosure, and this method includes:Determine that is received asks Seek corresponding interface;The corresponding interface configuration information of the interface is obtained, the interface configuration information includes at least:Current limliting is matched Confidence ceases;Judge whether the interface meets limiting condition according to the current limliting configuration information;If the interface meets current limliting Condition limits the interface and obtains data.
Optionally, the method further includes:If the interface is unsatisfactory for limiting condition, described in interface acquisition Ask corresponding data.
Optionally, the current limliting configuration information includes at least one of:Preset time inner joint current limliting quantity connects Total number of request of mouth.
Optionally, described to judge whether the interface meets limiting condition according to the current limliting configuration information, further include:It obtains Take the corresponding present flow rate state of the interface;It is connect according to described in the current limliting configuration information and the present flow rate condition adjudgement Whether the corresponding present flow rate state of mouth meets the limiting condition.
Optionally, before the interface corresponding to request that the determination receives, further include:It is by background management system Multiple interfaces configure interface configuration information;The interface configuration information is preserved to database.
Optionally, described to obtain the corresponding interface configuration information of the interface, further include:Institute is loaded from the database Interface configuration information is stated to local memory;The corresponding interface configuration information of the interface is obtained from local memory.
Optionally, the method further includes:When detecting that interface configuration information changes, the interface after variation is configured Information preservation is to database.
Optionally, described to obtain the corresponding interface configuration information of the interface, further include:According to the database Interface configuration information after variation updates local memory;Interface after obtaining the corresponding variation of the interface in local memory is matched Confidence ceases.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205 6204, such program module 6205 includes but not limited to:Operating system, one or more application program, other program moulds Block and program data may include the realization of network environment in each or certain combination in these examples.
Bus 630 can be to indicate one or more in a few class bus structures, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use the arbitrary bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make Any equipment that the electronic equipment 600 can be communicated with one or more of the other computing device (such as router, modulation /demodulation Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with By network adapter 660 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, Such as internet) communication.As shown, network adapter 660 is communicated by bus 630 with other modules of electronic equipment 600. It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 600, including but not It is limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
By the above embodiment, the disclosure provides a kind of interface current-limiting mode of configurableization, solves existing system The technical issues of cannot be satisfied multiplex roles and unify Current limited Control, can not carrying out flexible self-defined Current limited Control, realizes more For flexible and convenient multiple interfaces current-limiting function, the technique effect of safer system protection is effectively provided.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also In the form of being embodied as a kind of program product comprising program code, when described program product is run on an electronic device, institute Program code is stated for making the electronic equipment execute the above-mentioned interface control method of the disclosure, this method includes:It determines and receives The interface corresponding to request arrived;The corresponding interface configuration information of the interface is obtained, the interface configuration information includes at least: Current limliting configuration information;Judge whether the interface meets limiting condition according to the current limliting configuration information;If the interface is full Sufficient limiting condition limits the interface and obtains data.
Optionally, the method further includes:If the interface is unsatisfactory for limiting condition, described in interface acquisition Ask corresponding data.
Optionally, the current limliting configuration information includes at least one of:Preset time inner joint current limliting quantity connects Total number of request of mouth.
Optionally, described to judge whether the interface meets limiting condition according to the current limliting configuration information, further include:It obtains Take the corresponding present flow rate state of the interface;It is connect according to described in the current limliting configuration information and the present flow rate condition adjudgement Whether the corresponding present flow rate state of mouth meets the limiting condition.
Optionally, before the interface corresponding to request that the determination receives, further include:It is by background management system Multiple interfaces configure interface configuration information;The interface configuration information is preserved to database.
Optionally, described to obtain the corresponding interface configuration information of the interface, further include:Institute is loaded from the database Interface configuration information is stated to local memory;The corresponding interface configuration information of the interface is obtained from local memory.
Optionally, the method further includes:When detecting that interface configuration information changes, the interface after variation is configured Information preservation is to database.
Optionally, described to obtain the corresponding interface configuration information of the interface, further include:According to the database Interface configuration information after variation updates local memory;Interface after obtaining the corresponding variation of the interface in local memory is matched Confidence ceases.
The present invention also provides another embodiments, i.e., for realizing the program product of the above method, may be used Portable compact disc read only memory (CD-ROM) and include program code, and can be on terminal device, such as PC Operation.However, the program product of the present invention is without being limited thereto, in this document, readable storage medium storing program for executing can any be included or deposit The tangible medium of program is stored up, which can be commanded the either device use or in connection of execution system, device.
The arbitrary combination of one or more readable mediums may be used in described program product.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or the arbitrary above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include:It is electrical connection, portable disc, hard disk, random access memory (RAM) with one or more conducting wires, read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, In carry readable program code.The data-signal of this propagation may be used diversified forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, which can send, propagate either transmission for used by instruction execution system, device or device or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with any combination of one or more programming languages for executing the program that operates of the present invention Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It executes on computing device, partly execute on a user device, being executed as an independent software package, partly in user's calculating Upper side point is executed or is executed in remote computing device or server completely on a remote computing.It is being related to far In the situation of journey computing device, remote computing device can pass through the network of any kind, including LAN (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
By the above embodiment, the disclosure provides a kind of interface current-limiting mode of configurableization, solves existing system The technical issues of cannot be satisfied multiplex roles and unify Current limited Control, can not carrying out flexible self-defined Current limited Control, realizes more For flexible and convenient multiple interfaces current-limiting function, the technique effect of safer system protection is effectively provided.
Corresponding technical characteristic in the respective embodiments described above, can under the premise of not leading to scheme contradiction or can not implement Mutually to use.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) method that executes each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of interface control method, which is characterized in that the method includes:
Determine the interface corresponding to the request received;
The corresponding interface configuration information of the interface is obtained, the interface configuration information includes at least:Current limliting configuration information;
Judge whether the interface meets limiting condition according to the current limliting configuration information;
If the interface meets limiting condition, limits the interface and obtain data.
2. the method as described in claim 1, which is characterized in that the method further includes:
If the interface is unsatisfactory for limiting condition, the corresponding data of the request are obtained by the interface.
3. method as claimed in claim 1 or 2, which is characterized in that the current limliting configuration information include at least it is following wherein it One:
Preset time inner joint current limliting quantity, total number of request of interface.
4. method as claimed in claim 3, which is characterized in that described to judge that the interface is according to the current limliting configuration information It is no to meet limiting condition, further include:
Obtain the corresponding present flow rate state of the interface;
According to the corresponding present flow rate state of interface described in the current limliting configuration information and the present flow rate condition adjudgement whether Meet the limiting condition.
5. method as claimed in claim 1 or 2, which is characterized in that the interface corresponding to request that the determination receives it Before, further include:
It is that multiple interfaces configure interface configuration information by background management system;
The interface configuration information is preserved to database.
6. method as claimed in claim 5, which is characterized in that it is described to obtain the corresponding interface configuration information of the interface, also Including:
The interface configuration information is loaded from the database to local memory;
The corresponding interface configuration information of the interface is obtained from local memory.
7. method as claimed in claim 5, which is characterized in that the method further includes:
When detecting that interface configuration information changes, the interface configuration information after variation is preserved to database.
8. the method for claim 7, which is characterized in that it is described to obtain the corresponding interface configuration information of the interface, also Including:
Local memory is updated according to the interface configuration information after changing described in the database;
Interface configuration information after obtaining the corresponding variation of the interface in local memory.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory is connected to the processor, and the memory includes control instruction, is referred to when the processor reads the control When enabling, the interface control method that the electronic equipment realizes any one of claim 1-8 is controlled.
10. a kind of computer readable storage medium, which is characterized in that there are one the computer readable storage mediums or multiple journeys Sequence, one or more of programs are executed by one or more processors, to realize the interface of any one of claim 1-8 Control method.
CN201810388223.8A 2018-04-26 2018-04-26 Interface control method, electronic equipment and computer readable storage medium Pending CN108566304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810388223.8A CN108566304A (en) 2018-04-26 2018-04-26 Interface control method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810388223.8A CN108566304A (en) 2018-04-26 2018-04-26 Interface control method, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108566304A true CN108566304A (en) 2018-09-21

Family

ID=63536981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810388223.8A Pending CN108566304A (en) 2018-04-26 2018-04-26 Interface control method, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108566304A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039937A (en) * 2018-09-26 2018-12-18 深圳壹账通智能科技有限公司 Dynamic current limiting method, apparatus, computer equipment and storage medium
CN110278124A (en) * 2019-06-18 2019-09-24 努比亚技术有限公司 The monitoring method of interface, device and computer readable storage medium on line
CN111343240A (en) * 2020-02-12 2020-06-26 北京字节跳动网络技术有限公司 Service request processing method and device, electronic equipment and storage medium
CN111600807A (en) * 2020-04-14 2020-08-28 网宿科技股份有限公司 Flow control method and system based on API gateway equipment
CN111818175A (en) * 2020-07-24 2020-10-23 南方电网数字电网研究院有限公司 Enterprise service bus configuration file generation method, device, equipment and storage medium
CN112202682A (en) * 2020-09-27 2021-01-08 平安国际智慧城市科技股份有限公司 Interface flow control method and device, computer equipment and storage medium
CN112615792A (en) * 2020-12-10 2021-04-06 北京房天下嘉居网络技术有限公司 Interface current limiting method and device
CN112612618A (en) * 2020-12-30 2021-04-06 深圳我家云网络科技有限公司 Interface current limiting method and device, computer equipment and storage medium
CN114844835A (en) * 2022-07-04 2022-08-02 眉山环天智慧科技有限公司 Self-adaptive dynamic current limiting method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170031704A1 (en) * 2015-07-31 2017-02-02 Hewlett-Packard Development Company, L.P. Network port profile for virtual machines using network controller
CN106487925A (en) * 2016-11-29 2017-03-08 用友网络科技股份有限公司 Service access control method and service access control system
CN107222426A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 The method of flow control, apparatus and system
CN107508860A (en) * 2017-07-21 2017-12-22 深圳市金立通信设备有限公司 One kind service current-limiting method, server and terminal
CN107659431A (en) * 2017-08-15 2018-02-02 北京趣拿软件科技有限公司 Interface processing method, apparatus, storage medium and processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170031704A1 (en) * 2015-07-31 2017-02-02 Hewlett-Packard Development Company, L.P. Network port profile for virtual machines using network controller
CN107222426A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 The method of flow control, apparatus and system
CN106487925A (en) * 2016-11-29 2017-03-08 用友网络科技股份有限公司 Service access control method and service access control system
CN107508860A (en) * 2017-07-21 2017-12-22 深圳市金立通信设备有限公司 One kind service current-limiting method, server and terminal
CN107659431A (en) * 2017-08-15 2018-02-02 北京趣拿软件科技有限公司 Interface processing method, apparatus, storage medium and processor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
佚名: ""分布式环境下限流方案的实现redis Ratelimiter Guava, Token Bucket, Leaky Bucket"", 《HTTPS://WWW.CNBLOGS.COM/SOFTIDEA/P/6229543.HTML》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039937B (en) * 2018-09-26 2023-05-12 深圳壹账通智能科技有限公司 Dynamic current limiting method, dynamic current limiting device, computer equipment and storage medium
CN109039937A (en) * 2018-09-26 2018-12-18 深圳壹账通智能科技有限公司 Dynamic current limiting method, apparatus, computer equipment and storage medium
CN110278124A (en) * 2019-06-18 2019-09-24 努比亚技术有限公司 The monitoring method of interface, device and computer readable storage medium on line
CN111343240A (en) * 2020-02-12 2020-06-26 北京字节跳动网络技术有限公司 Service request processing method and device, electronic equipment and storage medium
CN111600807A (en) * 2020-04-14 2020-08-28 网宿科技股份有限公司 Flow control method and system based on API gateway equipment
CN111818175A (en) * 2020-07-24 2020-10-23 南方电网数字电网研究院有限公司 Enterprise service bus configuration file generation method, device, equipment and storage medium
CN111818175B (en) * 2020-07-24 2023-06-30 南方电网数字电网研究院有限公司 Enterprise service bus configuration file generation method, device, equipment and storage medium
CN112202682A (en) * 2020-09-27 2021-01-08 平安国际智慧城市科技股份有限公司 Interface flow control method and device, computer equipment and storage medium
CN112615792A (en) * 2020-12-10 2021-04-06 北京房天下嘉居网络技术有限公司 Interface current limiting method and device
CN112615792B (en) * 2020-12-10 2023-10-13 北京房天下嘉居网络技术有限公司 Interface current limiting method and device
CN112612618B (en) * 2020-12-30 2022-07-19 深圳我家云网络科技有限公司 Interface current limiting method and device, computer equipment and storage medium
CN112612618A (en) * 2020-12-30 2021-04-06 深圳我家云网络科技有限公司 Interface current limiting method and device, computer equipment and storage medium
CN114844835A (en) * 2022-07-04 2022-08-02 眉山环天智慧科技有限公司 Self-adaptive dynamic current limiting method and device
CN114844835B (en) * 2022-07-04 2022-09-20 眉山环天智慧科技有限公司 Self-adaptive dynamic current limiting method and device

Similar Documents

Publication Publication Date Title
CN108566304A (en) Interface control method, electronic equipment and computer readable storage medium
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN107688607A (en) The method and mobile terminal of a kind of database access, computer-readable recording medium
CN108768775A (en) Information processing method, electronic equipment and computer storage media
CN107436779A (en) A kind of application management method, equipment and computer-readable recording medium
CN107343083A (en) One kind lifting game experiencing method, apparatus and computer-readable recording medium
CN107133302A (en) Realize method, system, terminal and the computer-readable recording medium of data consistency
CN110177177A (en) Message back method, mobile terminal and computer readable storage medium
CN108241752A (en) Photo display methods, mobile terminal and computer readable storage medium
CN109144705A (en) Application management method, mobile terminal and computer readable storage medium
CN107832032A (en) Screen locking display methods and mobile terminal
CN108762926A (en) A kind of system optimization method, terminal and computer readable storage medium
CN107133350A (en) Data-updating method, mobile terminal and storage medium based on search engine
CN110290269A (en) Display control method, mobile terminal and computer readable storage medium
CN110347306A (en) A kind of multi-screen display method, terminal and computer readable storage medium
CN109254972A (en) A kind of offline order Word library updating method, terminal and computer readable storage medium
CN108040116A (en) Information push method, router and computer-readable recording medium
CN108449736A (en) A kind of data transmission method, terminal and computer readable storage medium
CN107466081A (en) A kind of wireless switching method and terminal
CN107391593A (en) A kind of document handling method, mobile terminal and computer-readable recording medium
CN109976860A (en) It is switched fast the method, terminal and storage medium of application
CN110209434A (en) A kind of EMS memory management process, device and computer readable storage medium
CN108879117A (en) Mobile terminal and its antenna structure
CN107797825A (en) A kind of data transmission method for uplink, terminal and computer-readable recording medium
CN106951300A (en) Replacement method, device and the base computer-readable recording medium of preset application

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180921