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

A throughput control method, device, equipment and storage medium

A control method and throughput technology, applied in instrumentation, error detection/correction, calculation, etc., can solve problems such as high and low traffic, waste of system resources, etc.

Active Publication Date: 2021-11-16
成方金融科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Not only wasting a lot of system resources, but also prone to uneven flow
Therefore, this setting method will not be used in actual work

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
  • A throughput control method, device, equipment and storage medium
  • A throughput control method, device, equipment and storage medium
  • A throughput control method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] figure 1 It is a flowchart of a throughput control method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of stably controlling the throughput of a press in a test system. The method can be executed by a throughput control device, which can Implemented by software and / or hardware.

[0047] Such as figure 1 As shown, the method specifically includes the following steps:

[0048]Step 110: Obtain the current log sending start and end time of the press target thread in the current sending cycle, and determine the current log sending time according to the current log sending start and end time.

[0049] In practical application, it is possible to obtain the application logs generated by the tested information system in the production environment, and use the press to send the application logs to the tested system in the test environment, and perform traffic playback to achieve the performance test of the tested system. Whe...

Embodiment 2

[0108] The throughput control device provided in the embodiment of the present invention can execute the throughput control method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. figure 2 is a structural block diagram of a throughput control device provided in Embodiment 2 of the present invention, such as figure 2 As shown, the device includes: a current cycle sending duration determining module 210 , a current cycle timeout determining module 220 and a next cycle sending time determining module 230 .

[0109] The current cycle sending duration determination module 210 is configured to obtain the current log sending start and end time of the press target thread in the current sending cycle, and determine the current log sending duration according to the current log sending start and end time.

[0110] The current period timeout determination module 220 is configured to determine t...

Embodiment 3

[0133] image 3 A structural block diagram of a computer device provided in Embodiment 3 of the present invention, such as image 3 As shown, the computer device includes a processor 310, a memory 320, an input device 330 and an output device 340; the number of processors 310 in the computer device can be one or more, image 3 Take a processor 310 as an example; the processor 310, memory 320, input device 330 and output device 340 in the computer equipment can be connected by bus or other methods, image 3 Take connection via bus as an example.

[0134] The memory 320, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding to the throughput control method in the embodiment of the present invention (for example, the throughput control device in the The current cycle sending duration determination module 210, the current cycle timeout determination module 220 an...

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 a throughput control method, device, equipment and storage medium. The method includes: obtaining the current log sending start and end time of the press target thread in the current sending cycle, determining the current log sending time according to the current log sending start and ending time; according to the current log sending time, combined with the cumulative timeout value of the previous sending cycle , determine the current timeout condition of the current sending cycle; determine the next log sending time of the next sending cycle according to the current timeout situation, and control the target thread to send the next application log at the next log sending time . The invention adjusts the actual sleep duration of the partial sending cycle by setting the accumulated timeout variable to record the accumulated sending timeout time before the current sending cycle, realizes the stable maintenance of the throughput of the press in the test system within a relatively wide time requirement, and solves the problem of flow playback An issue where the throughput of a press cannot be stably controlled due to differences in application log sizes.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of software testing, and in particular to a throughput control method, device, equipment and storage medium. Background technique [0002] The technique of obtaining the application logs of the production environment of the information system under test and playing them back in the test environment is called traffic playback. Traffic playback is divided into traffic playback for the purpose of functional testing and traffic playback for the purpose of performance testing. The traffic playback for the purpose of functional testing has no requirement on the throughput index, while the traffic playback for the purpose of performance testing has higher requirements on the throughput of the test system. [0003] Initially, traffic replay for the purpose of performance testing often replays traffic at the maximum capacity of the performance testing press. As the industry pays more and m...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3692G06F11/3688
Inventor 杨建旭
Owner 成方金融科技有限公司
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