Method and device for judging whether system or system module is blocked or not
A system module and judgment module technology, applied in the computer field, can solve problems such as the inability to simply and intuitively reflect the overall performance of the system, and achieve the effects of reducing analysis complexity, reducing resources, and overcoming loss.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] figure 2 It is a schematic diagram of the counter setting of the method for judging whether a system or a system module is blocked according to an embodiment of the present invention;
[0048] Such as figure 2As shown, the application program includes 4 sub-modules, and a module counter is set in each sub-module. Since the module counter is set in the module, it is at the module level, and the counters of different sub-modules are not allowed to be named repeatedly.
[0049] Since sub-module 1, sub-module 3 and sub-module 4 do not call other internal modules, they are all independent modules, and their internal counters are independent counters. The counters in submodule 1, submodule 3, and submodule 4 only reflect the performance (thread blocking) of their corresponding submodules.
[0050] Submodule 2 is an intermediate module that calls submodule 3 and submodule 4. The value of counter 2 is the sum of the values of counter 3 and counter 4. The dependency betw...
Embodiment 2
[0053] Figure 5 is a schematic flowchart of a system for judging congestion according to an embodiment of the present invention;
[0054] exist Figure 5 , the system sets a global counter (bv). The global counter bv is set in the system, and the addition and subtraction operations of the global counter bv are respectively performed at the entrance and exit of all modules in the system. The global counter can reflect the performance of the system (thread blocking).
[0055] 2. Counter counting (counting module)
[0056] A system or a system module is triggered (executed) according to different requests.
[0057] Such as figure 2 As shown, the browser client uses the HTTP interface to access the sub-module 1, the mobile APP uses the HTTP interface to access the sub-module 2, and other background services use the RPC (Remote Procedure Call Protocol, remote procedure call protocol) and SOCKET interface to call the sub-module 2.
[0058] There can be many kinds of request ...
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