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

Isolation current limiting method and device, computer equipment and readable storage medium

A technology of isolating current limiting and method bodies, applied in the computer field, can solve problems such as inability to modify parameter values, and achieve the effects of lowering technical threshold, reducing workload, and being easy to use

Active Publication Date: 2019-08-23
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when using Hystrix components, developers need to set parameters for a series of configuration items, which requires developers to have a certain understanding of Hystrix components; in addition, after the parameter values ​​​​of configuration items are set, they cannot set The parameter value is modified, which has certain limitations

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
  • Isolation current limiting method and device, computer equipment and readable storage medium
  • Isolation current limiting method and device, computer equipment and readable storage medium
  • Isolation current limiting method and device, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] The method for isolation and current limiting provided by the present invention will be described below with reference to the accompanying drawings.

[0040] figure 1 It is an optional schematic flow diagram of the method for isolating current limiting of the present invention, such as figure 1 As shown, the method may include the following steps:

[0041] Step S101: Find the method body added with the preset isolation current limiting annotation in the business system framework.

[0042] Wherein, the business system framework is a business system framework that can realize multiple functions, and the business system framework includes method bodies corresponding to each function, and the corresponding functions can be realized by executing each method body; in this implementation In the example, search for the method body with the preset isolation current limiting annotation added in the business system framework containing multiple method bodies.

[0043] The isola...

Embodiment 2

[0086] Based on the isolation and current limiting method provided in the first embodiment above, this embodiment provides an isolation and current limiting device, specifically, figure 2 An optional structural block diagram of the device for isolating current limiting is shown, the device for isolating current limiting is divided into one or more program modules, one or more program modules are stored in a storage medium, and are controlled by one or more processors to complete the present invention. The program module referred to in the present invention refers to a series of computer program instruction segments capable of completing specific functions, which is more suitable than the program itself to describe the execution process of the device for isolation and current limiting in the storage medium. The following description will specifically introduce the programs of this embodiment. function of the module.

[0087] Such as figure 2 As shown, the isolation and curr...

Embodiment 3

[0112] This embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or A server cluster composed of multiple servers), etc. Such as image 3 As shown, the computer device 30 in this embodiment at least includes but is not limited to: a memory 301 and a processor 302 that can be communicated with each other through a system bus. It should be pointed out that, image 3 Only computer device 30 is shown having components 301-302, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.

[0113] In this embodiment, the memory 301 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), s...

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 invention discloses an isolation current limiting method and device. The method comprises the following steps of: searching a method body added with a preset isolating and current-limiting annotation in a service system framework; obtaining a parameter value of a key configuration item from the isolated current-limiting annotation, searching an initial parameter group corresponding to the service system framework from a preset background management platform, and obtaining initial parameter values of other configuration items except the key configuration item from the searched initial parameter group; according to the parameter values of the key configuration items in the isolated current-limiting annotation and the initial parameter values of other configuration items obtained from thebackground management platform, constructing a Hystrix Command annotation of the Hystrix component; and carrying out isolation current limiting processing on the method body according to the constructed HystroxCommand annotation. According to the method and the device, the technical threshold of using Hystrix is reduced, the configured parameter values can be modified, and the use experience degree is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device, computer equipment and readable storage medium for isolating current limiting. Background technique [0002] In a distributed environment, business systems usually have many dependencies (for example: various third-party interface calls), and under high concurrent access, these dependencies may have many uncontrollable problems, such as: slow network connection, busy resources, temporary Unavailable, etc.; when the dependency is blocked, it will have a great impact on the entire business system; the Hystrix component is an open source library package related to delay and failure tolerance, which can provide isolation, current limiting, and fuse functions for dependencies, so as to Services in high-concurrency environments are protected to a certain extent to reduce the risk of business systems being dragged down. However, when using Hystrix components...

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
IPC IPC(8): G06F9/445
CPCG06F9/44505
Inventor 席在盛
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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