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

Flow comparison result storage method and device, equipment and storage medium

A technology for comparing results and flow, applied in security communication devices, digital transmission systems, electrical components, etc., can solve the problems of lack of pertinence, large storage space, and difficulty in ensuring the correctness and effectiveness of automated regression scripts. Improve utilization and enhance targeted effect

Active Publication Date: 2022-05-24
行吟信息科技(上海)有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, as the R&D time of projects in the industry is shortened day by day, automation scripts are often too late to maintain the system, and it is difficult to guarantee the correctness and effectiveness of automated regression scripts
When business is restructured, data is migrated, or infrastructure is upgraded, it is difficult to assess the scope of its impact on business scenarios, which makes it difficult to carry out testing work. When an accident occurs in an online service, it is difficult to reproduce the accident locally in time to determine the cause of the accident
[0004] In order to meet the needs of existing Internet services for comprehensive and systematic testing, traffic playback technology is often used to test business traffic. However, the currently stored traffic comparison results are often recorded traffic and the comparison results corresponding to the recorded traffic, which lacks pertinence. and take up a lot of storage space

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 comparison result storage method and device, equipment and storage medium
  • Flow comparison result storage method and device, equipment and storage medium
  • Flow comparison result storage method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 This is a flow chart of a method for storing traffic comparison results provided in Embodiment 1 of the present invention. This embodiment can be applied to real-time playback of service traffic generated by services under the hypertext transfer protocol, and to target the playback comparison results. The method can be performed by a flow comparison result storage device, the flow comparison result storage device can be implemented by software and / or hardware, and the flow comparison result storage device can be configured on a computing device, specifically It includes the following steps:

[0030] S101. Obtain configuration information of a target application.

[0031] In this embodiment, the target application can be understood as an application determined by the user that needs to perform traffic collection and playback comparison. Optionally, the target application can be installed on the user terminal to meet the needs of users in different fields and di...

Embodiment 2

[0048] figure 2 This is a flowchart of a traffic comparison method provided in Embodiment 2 of the present invention. The technical solution of the embodiment of the present invention is further optimized on the basis of the above-mentioned optional technical solutions, by specifying the collection of data traffic in the target application, and by The configuration information configures the target traffic, and then clarifies the specific operations to be performed for playback and comparison of the target traffic, and what operations can be performed on the stored abnormal traffic, so that the abnormal traffic in the real-time traffic playback can be targeted. In the case of data maintenance, accident recurrence, etc., scenarios can be reproduced through targeted storage traffic. Specifically include the following steps:

[0049] S201. Obtain the matching key, magnification, playback duration, upper limit value of query rate per second, playback type, whitelist configuratio...

Embodiment 3

[0085] image 3 A schematic structural diagram of a flow comparison result storage device provided in Embodiment 3 of the present invention, the flow comparison device includes: a configuration information acquisition module 31, a target flow determination module 32, a target flow playback module 33, and a comparison result storage module 34.

[0086] The configuration information acquisition module 31 is used to acquire the configuration information of the target application; the target flow determination module 32 is used to acquire the collection flow of the target application when receiving the trigger information, and configure the collection flow according to the configuration information to obtain the target application. The target traffic of the application; wherein, the target traffic is the traffic under the hypertext transfer protocol; the target traffic playback module 33 is used to send the target traffic to the corresponding at least two target services, so that ...

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 embodiment of the invention discloses a flow comparison result storage method and device, equipment and a storage medium. The method comprises the steps of obtaining configuration information of a target application; acquiring the collection flow of the target application when the trigger information is received, and configuring the collection flow according to the configuration information to obtain the target flow of the target application; wherein the target traffic is traffic under a hypertext transfer protocol; sending the target traffic to at least two corresponding target services to enable the target services to play back the target traffic and generate response information; and receiving response information of the target service, comparing the response information to obtain a comparison result, and storing the abnormal traffic according to the comparison result. According to the technical scheme provided by the embodiment of the invention, the abnormal traffic in the real-time playback is stored, so that the reason of the recurrent accident can be better compared when the accident occurs in the online service, the pertinence of the comparison result of the stored traffic is enhanced, and the utilization rate of the storage space is improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of network testing, and in particular, to a method, apparatus, device, and storage medium for storing traffic comparison results. Background technique [0002] As the business development speed of the Internet industry continues to accelerate, the business scale continues to expand, and the system design becomes increasingly complex. People often use more automated regression scripts and manually written scripts to meet the requirements of business systems for robustness, compatibility, test coverage, and timeliness. [0003] However, as the development time of projects in the industry is shortened day by day, automation scripts are often too late to maintain the system, so it is difficult to guarantee the correctness and effectiveness of automated regression scripts. When the business is refactored, data migrated or the basic components are upgraded, it is difficult to assess the scop...

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 Applications(China)
IPC IPC(8): H04L41/0803H04L43/024H04L9/40H04L67/02
CPCH04L41/0803H04L43/024H04L63/1425H04L67/02Y02D30/50
Inventor 葛庆阳
Owner 行吟信息科技(上海)有限公司