Index generation and matching method and device for request statements and response statements

A response statement and indexing technology, applied in the database field, can solve the problems of difficulty in request and response, poor matching effect of request and response, and complicated transmission, so as to improve matching efficiency and accuracy, and improve matching efficiency

Pending Publication Date: 2021-06-15
白腊梅
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method for generating and matching indexes of request sentences and response sentences, aiming to solve the problems in the prior art when requests and responses are transmitted through different switches and are in different transmission links. The situation is more complicated, which makes it more difficult to obtain the corresponding request and response, and the matching effect between the request and the response is poor

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
  • Index generation and matching method and device for request statements and response statements
  • Index generation and matching method and device for request statements and response statements
  • Index generation and matching method and device for request statements and response statements

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] see Figure 1 to Figure 3 , the request statement and the index generation and matching method of the response statement in the embodiment of the present invention include the following steps:

[0024] S1: Obtain network data and write it into the network data space;

[0025] S2: Separate the request data space and response data space from the network data space according to the data source of the network data;

[0026] S3: Process the request data space and the response data space respectively to obtain the first continuous space corresponding to the request data space and the request matching value, and the second continuous space corresponding to the response data space and the response matching value. The first continuous space stores Request index data, and the second continuous space stores response index data;

[0027] S4: Determine the first continuous space and the second continuous space corresponding to the same request matching value and response matching ...

Embodiment 2

[0050] Further, see Figure 4 , step S2 specifically includes the following steps:

[0051] S21: Separate the network data initiated by the client as a data source into a request data space, and separate the network data whose data source is a response from the server into a response data space;

[0052] S22: Determine whether the same request data space exists in the obtained multiple request data spaces, and whether the same response data space exists in the multiple response data spaces;

[0053] S23: If yes, divide the same request data space into the same request data space, and divide the same response data space into the same response data space;

[0054] S24: If not, divide different request data spaces into different request data spaces, and divide different response data spaces into different response data spaces.

[0055] Specifically, please refer to the description of the request data space and the response data space in Embodiment 1. Since the request data spac...

Embodiment 3

[0062] Further, see Figure 5 , step S22 specifically includes the following steps:

[0063] S221: Detect the data sequence information, data size information and data confirmation information of each request data space and response data space;

[0064] S222: If the data sequence information of the current requested data space is equal to the data sequence information of the last requested data space plus the data size information of the last requested data space, then determine that the current requested data space is different from the previous requested data space;

[0065] S223: If the data confirmation information of the current requested data space is equal to the data confirmation information of the previous requested data space, then determine that the current requested data space is the same as the previous requested data space;

[0066] S224: If the data sequence information of the current response data space is equal to the data sequence information of the previous...

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 index generation and matching method for the request statement and the response statement comprises the following steps: acquiring network data and writing the network data into a network data space; separating a request data space and a response data space from the network data space according to a data source of the network data; processing the request data space and the response data space, obtaining a first continuous space and a request matching value corresponding to the request data space and a second continuous space and a response matching value corresponding to the response data space, storing request index data in the first continuous space, and storing response index data in the second continuous space; and determining a first continuous space and a second continuous space corresponding to the same request matching value and response matching value, and updating index address information corresponding to the first continuous space in the second continuous space to a blank position of the first continuous space. The invention further provides an index generation and matching device for the request statements and the response statements. According to the invention, index generation and matching of the request and the response are realized.

Description

technical field [0001] The invention belongs to the technical field of databases, in particular to a method and device for index generation and matching of request sentences and response sentences. Background technique [0002] With the development of society, people's demand for various information and data is getting higher and higher, and the network used is becoming more and more complicated, which makes the process of request and response between the client and the server become more and more complicated. diversification. Whether the request and the response can be correctly matched together determines the correctness of the data analysis. [0003] Therefore, it is very important for enterprises to solve some frequent system failures whether they can get the response corresponding to the request correctly. [0004] As for how to match the sent request and the corresponding received response, a common practice in the prior art is to process both at the same time. Howe...

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): G06F16/951G06F16/958
CPCG06F16/951G06F16/958
Inventor 白腊梅
Owner 白腊梅
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