Unlock instant, AI-driven research and patent intelligence for your innovation.

Flow playback method and device

A flow and request data technology, applied in multi-program devices, inter-program communication, instruments, etc., can solve the problems of low playback success rate and low test efficiency, and achieve the effect of improving success rate, improving efficiency, and ensuring accuracy

Pending Publication Date: 2020-08-04
度小满科技(北京)有限公司
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention discloses a flow playback method and device, which improves the playback success rate and solves the problem of low test efficiency due to the low playback success rate in the prior art

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
  • Flow playback method and device
  • Flow playback method and device
  • Flow playback method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0054] refer to figure 1 , which shows a schematic flowchart of a flow playback method provided by an embodiment of the present invention. In this embodiment, the method includes:

[0055] S101: Receive multiple request data sent by the network layer, and store the multiple request data in a message queue;

[0056] In this embodiment, the request data may be represented as request information for triggering a certain operation in the service, where the reques...

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 flow playback method and device, and the method comprises the steps: receiving a plurality of pieces of request data transmitted by a network layer, and storing the pluralityof pieces of request data in a message queue; sequentially obtaining the request data from the message queue until the request data does not exist in the message queue; storing the request data withthe preposed dependent data and incomplete preposed dependent data into a message queue; and performing playback operation on the request data without the pre-dependent data or with complete pre-dependent data. Thus, when flow playback is carried out, the sequence of the request data is considered, and under the condition that the request data has preposition dependence and the preposition data isincomplete, playback is not ended immediately, but the request data is stored into the message queue again to wait for extracting the request data again. Therefore, the situation of playback failurecaused by ignoring the sequence between the network flows is avoided, the flow playback success rate is greatly improved, and the test efficiency is further improved.

Description

technical field [0001] The present invention relates to the field of testing, in particular to a flow playback method and device. Background technique [0002] In order to ensure the stability and reliability of the business system, it is usually necessary to test the stability and reliability of the business. Among them, traffic playback is a way to realize the test, and traffic playback refers to a method of storing and recording real network traffic. , and restore and replay the network traffic. [0003] For example, in the financial business system field, the financial business system field can perform operations such as online transactions. When performing traffic playback, the financial business system can be built offline to store the traffic data generated during online transaction operations in the financial business field, and The traffic data is simulated online transactions in the financial business system constructed offline. [0004] However, the traffic repl...

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): G06F11/28G06F11/00G06F9/54
CPCG06F11/28G06F11/008G06F9/546
Inventor 申大伟靳二辉郭蒙蒙
Owner 度小满科技(北京)有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More