Traffic recording processing method and device, traffic playback processing method and device and electronic equipment

A processing method and traffic technology, applied in the computer field, can solve problems such as service processing intrusion, poor stability, and complicated traffic recording processing, and achieve the effect of reducing complexity and reducing complexity

Pending Publication Date: 2021-09-21
ALIBABA GRP HLDG LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main disadvantages of this method are: in order to collect traffic, a large number of sub-call configurations need to be done, the traffic recording processing is more complicated, and there is intrusion to service processing, which affects the security and performance of the service
In addition, the Javaagent method needs to share the container with the service, which has high operation and maintenance costs and poor stability

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
  • Traffic recording processing method and device, traffic playback processing method and device and electronic equipment
  • Traffic recording processing method and device, traffic playback processing method and device and electronic equipment
  • Traffic recording processing method and device, traffic playback processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] like image 3 As shown, it is a schematic flow chart of a traffic recording processing method according to an embodiment of the present invention. The method can be applied to the above-mentioned cloud service platform, and the method can include:

[0065] S101: Collect traffic data through a service grid component corresponding to a specified application in response to a traffic collection instruction issued by the service grid console. As mentioned above, under the Mesh framework, service grid components and applications are configured correspondingly. Each application can be configured with multiple service grid components with different service capabilities. These service grid components are used to implement the cloud service platform as Various service capabilities provided by each application. In the embodiment of the present invention, a service grid component for traffic processing is designed based on the Mesh framework. Since all the traffic data generated ...

Embodiment 2

[0073] like Figure 4 As shown, it is a schematic flow chart of a traffic playback processing method according to an embodiment of the present invention. The method can be applied to the above-mentioned cloud service platform, and the method can include:

[0074] S201: Obtain a first service invocation request associated with the specified application and including a traffic coloring identifier and first response data corresponding to the first service invocation request from traffic recording data related to the specified application. Traffic playback processing can be performed for a specified application. Through traffic playback processing, use the first service call request in the traffic recording data to initiate a service call to the specified application, and then compare the returned response data with the first response data in the traffic recording data. Compare to determine whether there is a problem with the specified application processing.

[0075] S202: Send ...

Embodiment 3

[0083] like Figure 5 As shown, it is a schematic structural diagram of a traffic recording processing device according to an embodiment of the present invention. The device can be applied to the above-mentioned cloud service platform, and the device can include:

[0084] The traffic collection module 11 is configured to collect traffic data through a service grid component corresponding to a specified application in response to a traffic collection instruction issued by the service grid console. In the embodiment of the present invention, a service grid component for traffic processing is designed based on the Mesh framework. Since all the traffic data generated by the application will flow through various service grid components, the service grid component for traffic processing can collect the traffic data of the specified application. In the above service grid component for traffic processing, a traffic recording switch can be set, and when the traffic recording switch is...

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 provides a traffic recording processing method and device, a traffic playback processing method and device and electronic equipment. The traffic recording processing method comprises the steps: collecting traffic data through a service grid component corresponding to a specified application in response to a traffic collection instruction issued by a service grid console; according to a service calling request for the specified application in the collected traffic data, adding a traffic dyeing identifier to the traffic data, and generating traffic recording data; and storing the traffic recording data. According to the embodiment of the invention, the characteristic that the traffic of the application flows through the service grid component under the Mesh framework is utilized, and the traffic data of the specified application is acquired by setting the service grid component, so that the traffic acquisition and storage under the Mesh framework are realized, in addition, a traffic dyeing mechanism is added in the traffic acquisition process, therefore, in the subsequent traffic playback processing step, the normal traffic and the playback traffic can be effectively distinguished.

Description

technical field [0001] The present application relates to a traffic recording and playback processing method, device and electronic equipment, belonging to the field of computer technology. Background technique [0002] In the prior art, the traffic collection and playback technology is mainly realized based on the Java agent (Java agent) technology, which uses bytecode enhancement to perform AOP (Aspect Oriented Programming, aspect-oriented programming) aspect processing on the requests in the traffic, thereby realizing Traffic collection and playback. The main disadvantages of this method are: in order to collect traffic, a large number of sub-call configurations need to be done, the traffic recording process is more complicated, and there is intrusion to the service processing, which affects the security and performance of the service. In addition, the Java agent method needs to share the container with the service, which has high operation and maintenance costs and poor...

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): H04L29/08H04L12/851G06F11/36
CPCH04L67/34H04L67/1095H04L47/2483G06F11/3688
Inventor 张伟
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products