A protocol type based data pre-connection control system and method

CN116828025BActive Publication Date: 2026-08-21HUIZHIAN INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211617816.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-15
Publication Date
2026-08-21
Estimated Expiration
2042-12-15

AI Technical Summary

Technical Problem

针对TCP/TLS协议的传输场景,该方法可能使得加载时间有可观缩短,但在QUIC over UDP传输场景下,加载时间已经非常低,预连接带来的收益极小,带来的额外开销却较大,所以,亟需一种保证加载时间仍然较低的情况下,减少了不必要的预连接带来的开销的数据预连接控制方案

Benefits of technology

[0063] This technical solution provides a protocol-type-based data pre-connection control system, comprising: an access reading module for real-time reading of server access records; an identification module for identifying the connection protocol of the access records and determining the identification result; a pre-connection stopping module for stopping the pre-connection between the server and the client when the identification result indicates that the connection protocol of the access record is the QUIC protocol; and a pre-connection starting module for starting the pre-connection between the server and the client when the identification result indicates that the connection protocol of the access record is the TCP/TLS protocol. This reduces the overhead of unnecessary pre-connections while ensuring a low loading time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116828025B_ABST
    Figure CN116828025B_ABST
Patent Text Reader

Abstract

The application provides a protocol type-based data pre-connection control system, comprising: an access reading module, configured to read access records of a server in real time; an identification module, configured to identify connection protocols of the access records and determine an identification result; a pre-connection stopping module, configured to stop pre-connection between the server and a client when the identification result is that the connection protocol of the access records is a QUIC protocol; and a pre-connection starting module, configured to start pre-connection between the server and the client when the identification result is that the connection protocol of the access records is a TCP / TLS protocol.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data pre-connection technology, and in particular to a data pre-connection control system and method based on protocol type. Background Technology

[0002] Currently, in some streaming media scenarios with high requirements for smoothness, a connection is pre-established with the server before the playback page is accessed. For TCP / TLS transmission scenarios, this method may significantly reduce loading time. However, in QUIC over UDP transmission scenarios, where loading time is already very low, the benefits of pre-connection are minimal, while the additional overhead is significant. Therefore, there is an urgent need for a data pre-connection control scheme that reduces the unnecessary overhead of pre-connection while maintaining low loading time. Summary of the Invention

[0003] This invention provides a data pre-connection control system based on protocol type, comprising:

[0004] The access reading module is used to read the server's access records in real time;

[0005] The identification module is used to identify the connection protocol of the access record and determine the identification result;

[0006] The pre-connection stop module is used to stop the pre-connection between the server and the client when the identification result indicates that the connection protocol for the access record is the QUIC protocol.

[0007] The pre-connection initiation module is used to initiate a pre-connection between the server and the client when the identification result indicates that the connection protocol of the access record is TCP / TLS.

[0008] As one embodiment of this technical solution, the identification module includes:

[0009] A data connection request unit is used to obtain a data connection request through the access record;

[0010] The data packet feature unit is used to perform feature analysis on the data packets of the data connection request and obtain data packet features;

[0011] A connection protocol unit is used to determine statistical rules for the data packet characteristics, judge whether the rule features of the data packet characteristics of a data connection request within a preset value match the statistical rules, and when the rule features match the statistical rules, determine the connection protocol for the data connection request; wherein,

[0012] The statistical rules correspond to the connection protocol and include at least data entry conditions and protocol identification modes.

[0013] As one embodiment of this technical solution, the connection protocol unit includes:

[0014] The statistical rules subunit is used to query the statistical rules of the data connection request and, at the same time, record sample information of the data packet characteristics;

[0015] The judgment subunit is used to determine whether the number of data connection requests meets a preset value based on sample information of data packet characteristics, and to determine the judgment result;

[0016] The statistics subunit is used to perform statistical analysis on the rule features of the data packet characteristics and determine the rule features when the number of data connection requests meets a preset value.

[0017] The protocol determination subunit is used to identify whether the rule feature matches the statistical rule, and when the rule feature matches the statistical rule, the connection protocol of the data connection request is obtained as the protocol corresponding to the statistical rule.

[0018] As one embodiment of this technical solution, the pre-connection stop module includes:

[0019] The conversion unit is used to convert the connection protocol of the data connection request from the QUIC protocol to the TCP / TLS protocol according to different protocol conversions when the identification result is that the connection protocol of the access record is the QUIC protocol, and determine the conversion result;

[0020] A data connection request transmission unit is used to receive the data connection request through the data transmission channel of the TCP / TLS protocol when the conversion result shows that the conversion is successful, and to start a pre-connection between the server and the client.

[0021] The pre-connection stop unit is used to stop the pre-connection between the server and the client when the conversion result displays conversion recognition.

[0022] As one embodiment of this technical solution, the conversion unit includes:

[0023] The connection protocol subunit is used to encapsulate the corresponding client's connection protocol when the identification result indicates that the connection protocol for the access record is the QUIC protocol.

[0024] The data connection request subunit is used to receive data connection requests deployed on the corresponding client through the encapsulated client connection protocol;

[0025] The conversion result subunit is used to convert the connection protocol of the data connection request from the QUIC protocol to the TCP / TLS protocol according to different protocol conversion rules, and determine the conversion result.

[0026] This invention provides a data pre-connection control method based on protocol type, comprising:

[0027] Read the server's access records in real time;

[0028] Identify the connection protocol of the access record and determine the identification result;

[0029] When the identification result indicates that the connection protocol for the access record is QUIC, the pre-connection between the server and the client is terminated.

[0030] When the identification result indicates that the connection protocol of the access record is TCP / TLS, a pre-connection is initiated between the server and the client.

[0031] As one embodiment of this technical solution, identifying the connection protocol of the access record and determining the identification result includes:

[0032] The access record is used to obtain the data connection request;

[0033] Perform feature analysis on the data packets in the data connection request to obtain data packet features;

[0034] Statistical rules for the data packet characteristics are determined; it is then determined whether the rule characteristics of the data packet characteristics of a data connection request within a preset value match the statistical rules; and when the rule characteristics match the statistical rules, the connection protocol of the data connection request is determined; wherein,

[0035] The statistical rules correspond to the connection protocol and include at least data entry conditions and protocol identification modes.

[0036] As one embodiment of this technical solution, the step of determining the statistical rules for the data packet characteristics, judging whether the rule features of the data packet characteristics of the data connection request within a preset value match the statistical rules, and determining the connection protocol of the data connection request when the rule features match the statistical rules, includes:

[0037] Query the statistical rules of the data connection request, and at the same time, record sample information of the data packet characteristics;

[0038] Based on sample information of data packet characteristics, determine whether the number of data connection requests meets a preset value, and determine the judgment result;

[0039] When the number of data connection requests meets a preset value, statistical analysis is performed on the rule features of the data packet characteristics to determine the rule features;

[0040] Identify whether the rule features match the statistical rules, and when the rule features match the statistical rules, obtain the connection protocol of the data connection request as the protocol corresponding to the statistical rules.

[0041] As one embodiment of this technical solution, when the identification result indicates that the connection protocol for the access record is the QUIC protocol, the pre-connection between the server and the client is stopped, including:

[0042] When the identification result indicates that the connection protocol of the access record is the QUIC protocol, the connection protocol of the data connection request is converted from the QUIC protocol to the TCP / TLS protocol according to different protocol conversions, and the conversion result is determined.

[0043] When the conversion result shows that the conversion is successful, the data connection request is received through the data transmission channel of the TCP / TLS protocol to start the pre-connection between the server and the client;

[0044] When the conversion result shows conversion recognition, stop the pre-connection between the server and the client.

[0045] As one embodiment of this technical solution, when the identification result is an access record and the connection protocol is QUIC, the connection protocol of the data connection request is converted from QUIC to TCP / TLS according to different protocol conversions, and the conversion result is determined, including:

[0046] When the identification result indicates that the connection protocol of the access record is the QUIC protocol, the corresponding client connection protocol is encapsulated.

[0047] The data connection request deployed on the corresponding client is received through the encapsulated client connection protocol;

[0048] Based on different protocol conversion rules, the connection protocol of the data connection request is converted from the QUIC protocol to the TCP / TLS protocol, and the conversion result is determined.

[0049] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.

[0050] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0051] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:

[0052] Figure 1This is a block diagram of a data pre-connection control system based on protocol type in an embodiment of the present invention;

[0053] Figure 2 This is a block diagram of a data pre-connection control system based on protocol type in an embodiment of the present invention;

[0054] Figure 3 This is a block diagram of a data pre-connection control system based on protocol type in an embodiment of the present invention. Detailed Implementation

[0055] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.

[0056] Example 1:

[0057] according to Figure 1 The present technical solution provides a data pre-connection control system based on protocol type, including:

[0058] The access reading module is used to read the server's access records in real time;

[0059] The identification module is used to identify the connection protocol of the access record and determine the identification result;

[0060] The pre-connection stop module is used to stop the pre-connection between the server and the client when the identification result indicates that the connection protocol for the access record is the QUIC protocol.

[0061] The pre-connection initiation module is used to initiate a pre-connection between the server and the client when the identification result indicates that the connection protocol of the access record is TCP / TLS.

[0062] The working principle and beneficial effects of the above technical solution are as follows:

[0063] This technical solution provides a protocol-type-based data pre-connection control system, comprising: an access reading module for real-time reading of server access records; an identification module for identifying the connection protocol of the access records and determining the identification result; a pre-connection stopping module for stopping the pre-connection between the server and the client when the identification result indicates that the connection protocol of the access record is the QUIC protocol; and a pre-connection starting module for starting the pre-connection between the server and the client when the identification result indicates that the connection protocol of the access record is the TCP / TLS protocol. This reduces the overhead of unnecessary pre-connections while ensuring a low loading time.

[0064] Example 2:

[0065] according to Figure 2The present technical solution provides an embodiment in which the identification module includes:

[0066] A data connection request unit is used to obtain a data connection request through the access record;

[0067] The data packet feature unit is used to perform feature analysis on the data packets of the data connection request and obtain data packet features;

[0068] A connection protocol unit is used to determine statistical rules for the data packet characteristics, judge whether the rule features of the data packet characteristics of a data connection request within a preset value match the statistical rules, and when the rule features match the statistical rules, determine the connection protocol for the data connection request; wherein,

[0069] The statistical rules correspond to the connection protocol and include at least data entry conditions and protocol identification modes.

[0070] The working principle and beneficial effects of the above technical solution are as follows:

[0071] This technical solution provides an embodiment where the identification module includes: a data connection request unit, used to obtain a data connection request through the access record; a data packet feature unit, used to perform feature analysis on the data packets of the data connection request to obtain data packet features; and a connection protocol unit, used to determine statistical rules for the data packet features, determine whether the rule features of the data packet features of the data connection request within a preset value match the statistical rules, and when the rule features match the statistical rules, determine the connection protocol of the data connection request; wherein, the statistical rules correspond to the connection protocol and at least include data entry conditions and protocol identification modes. Accurate identification of statistical rules for data features reduces resource consumption and improves data connection speed by avoiding unnecessary processing of protocol connections.

[0072] Example 3:

[0073] according to Figure 3 The present technical solution provides an embodiment in which the connection protocol unit includes:

[0074] The statistical rules subunit is used to query the statistical rules of the data connection request and, at the same time, record sample information of the data packet characteristics;

[0075] The judgment subunit is used to determine whether the number of data connection requests meets a preset value based on sample information of data packet characteristics, and to determine the judgment result;

[0076] The statistics subunit is used to perform statistical analysis on the rule features of the data packet characteristics and determine the rule features when the number of data connection requests meets a preset value.

[0077] The protocol determination subunit is used to identify whether the rule feature matches the statistical rule, and when the rule feature matches the statistical rule, the connection protocol of the data connection request is obtained as the protocol corresponding to the statistical rule.

[0078] The working principle and beneficial effects of the above technical solution are as follows:

[0079] This technical solution provides an embodiment in which the connection protocol unit includes:

[0080] The statistical rule subunit is used to query the statistical rules of the data connection request and record sample information of the data packet characteristics. The judgment subunit is used to determine whether the number of data connection requests meets a preset value based on the sample information of the data packet characteristics and determine the judgment result. The statistics subunit is used to perform statistical analysis on the rule characteristics of the data packet characteristics when the number of data connection requests meets the preset value and determine the rule characteristics. The protocol determination subunit is used to identify whether the rule characteristics match the statistical rules, and when the rule characteristics match the statistical rules, obtain the connection protocol of the data connection request as the protocol corresponding to the statistical rules.

[0081] Example 4:

[0082] This technical solution provides an embodiment in which the pre-connection stop module includes:

[0083] The conversion unit is used to convert the connection protocol of the data connection request from the QUIC protocol to the TCP / TLS protocol according to different protocol conversions when the identification result is that the connection protocol of the access record is the QUIC protocol, and determine the conversion result;

[0084] A data connection request transmission unit is used to receive the data connection request through the data transmission channel of the TCP / TLS protocol when the conversion result shows that the conversion is successful, and to start a pre-connection between the server and the client.

[0085] The pre-connection stop unit is used to stop the pre-connection between the server and the client when the conversion result displays conversion recognition.

[0086] The working principle and beneficial effects of the above technical solution are as follows:

[0087] This technical solution provides an embodiment in which the pre-connection stopping module includes: a conversion unit, used to convert the connection protocol of the data connection request from the QUIC protocol to the TCP / TLS protocol according to different protocol conversions when the identification result indicates that the connection protocol of the access record is the QUIC protocol, and determine the conversion result; a data connection request transmission unit, used to receive the data connection request through the data transmission channel of the TCP / TLS protocol when the conversion result shows that the conversion is successful, and start the pre-connection between the server and the client; and a pre-connection stopping unit, used to stop the pre-connection between the server and the client when the conversion result shows that the conversion is identified.

[0088] Example 5:

[0089] This technical solution provides a conversion unit as described in one embodiment, comprising:

[0090] The connection protocol subunit is used to encapsulate the corresponding client's connection protocol when the identification result indicates that the connection protocol for the access record is the QUIC protocol.

[0091] The data connection request subunit is used to receive data connection requests deployed on the corresponding client through the encapsulated client connection protocol;

[0092] The conversion result subunit is used to convert the connection protocol of the data connection request from the QUIC protocol to the TCP / TLS protocol according to different protocol conversion rules, and determine the conversion result.

[0093] The working principle and beneficial effects of the above technical solution are as follows:

[0094] This technical solution provides a conversion unit as described in one embodiment, comprising: a connection protocol subunit, used to encapsulate the corresponding client's connection protocol when the identification result indicates the access record's connection protocol is QUIC; a data connection request subunit, used to receive a data connection request deployed on the corresponding client through the encapsulated client's connection protocol; and a conversion result subunit, used to convert the connection protocol of the data connection request from the QUIC protocol to the TCP / TLS protocol according to different protocol conversion rules, and determine the conversion result. Converting convertible connection protocols improves data performance, optimizes the original connection data, and reduces data distortion.

[0095] Example 6:

[0096] This technical solution provides a data pre-connection control method based on protocol type, including:

[0097] Read the server's access records in real time;

[0098] Identify the connection protocol of the access record and determine the identification result;

[0099] When the identification result indicates that the connection protocol for the access record is QUIC, the pre-connection between the server and the client is terminated.

[0100] When the identification result indicates that the connection protocol of the access record is TCP / TLS, a pre-connection is initiated between the server and the client.

[0101] The working principle and beneficial effects of the above technical solution are as follows:

[0102] This technical solution provides a protocol-type-based data pre-connection control method, including: real-time reading of server access records; identifying the connection protocol of the access records and determining the identification result; when the identification result indicates that the connection protocol of the access record is the QUIC protocol, the server and client stop pre-connection; when the identification result indicates that the connection protocol of the access record is the TCP / TLS protocol, the server and client start pre-connection. This reduces the overhead of unnecessary pre-connection while ensuring that loading time remains low.

[0103] Example 7:

[0104] This technical solution provides an embodiment in which identifying the connection protocol of the access record and determining the identification result includes:

[0105] The access record is used to obtain the data connection request;

[0106] Perform feature analysis on the data packets in the data connection request to obtain data packet features;

[0107] Statistical rules for the data packet characteristics are determined; it is then determined whether the rule characteristics of the data packet characteristics of a data connection request within a preset value match the statistical rules; and when the rule characteristics match the statistical rules, the connection protocol of the data connection request is determined; wherein,

[0108] The statistical rules correspond to the connection protocol and include at least data entry conditions and protocol identification modes.

[0109] The working principle and beneficial effects of the above technical solution are as follows:

[0110] This technical solution provides an embodiment in which identifying the connection protocol of the access record and determining the identification result includes: obtaining a data connection request through the access record; performing feature analysis on the data packets in the data connection request to obtain data packet features; determining statistical rules for the data packet features; judging whether the rule features of the data packet features of the data connection request within a preset value match the statistical rules; and when the rule features match the statistical rules, determining the connection protocol of the data connection request; wherein the statistical rules correspond to the connection protocol and at least include data entry conditions and protocol identification modes. Accurately identifying statistical rules for data features reduces resource consumption overhead and improves data connection speed by avoiding unnecessary processing of protocol connections.

[0111] Example 8:

[0112] This technical solution provides an embodiment in which the statistical rules for determining the characteristics of the data packets are used to determine whether the rule features of the data packet characteristics of a data connection request within a preset value match the statistical rules, and when the rule features match the statistical rules, the connection protocol of the data connection request is determined, including:

[0113] Query the statistical rules of the data connection request, and at the same time, record sample information of the data packet characteristics;

[0114] Based on sample information of data packet characteristics, determine whether the number of data connection requests meets a preset value, and determine the judgment result;

[0115] When the number of data connection requests meets a preset value, statistical analysis is performed on the rule features of the data packet characteristics to determine the rule features;

[0116] Identify whether the rule features match the statistical rules, and when the rule features match the statistical rules, obtain the connection protocol of the data connection request as the protocol corresponding to the statistical rules.

[0117] The working principle and beneficial effects of the above technical solution are as follows:

[0118] This technical solution provides an embodiment in which the determination of statistical rules for the data packet characteristics, the determination of whether the rule features of the data packet characteristics of a data connection request within a preset value match the statistical rules, and the determination of the connection protocol of the data connection request when the rule features match the statistical rules, includes: querying the statistical rules of the data connection request and recording sample information of the data packet characteristics; based on the sample information of the data packet characteristics, determining whether the number of data connection requests meets a preset value and determining the determination result; when the number of data connection requests meets the preset value, performing statistical analysis on the rule features of the data packet characteristics to determine the rule features; identifying whether the rule features match the statistical rules, and when the rule features match the statistical rules, obtaining the connection protocol of the data connection request as the protocol corresponding to the statistical rules. Accurate identification of the protocol of the statistical rules enables efficient communication between the client and the server in the future.

[0119] Example 9:

[0120] This technical solution provides an embodiment in which, when the identification result indicates that the connection protocol for the access record is the QUIC protocol, the pre-connection between the server and the client is stopped, including:

[0121] When the identification result indicates that the connection protocol of the access record is the QUIC protocol, the connection protocol of the data connection request is converted from the QUIC protocol to the TCP / TLS protocol according to different protocol conversions, and the conversion result is determined.

[0122] When the conversion result shows that the conversion is successful, the data connection request is received through the data transmission channel of the TCP / TLS protocol to start the pre-connection between the server and the client;

[0123] When the conversion result shows conversion recognition, stop the pre-connection between the server and the client.

[0124] The working principle and beneficial effects of the above technical solution are as follows:

[0125] This technical solution, when the identification result indicates that the connection protocol of the access record is QUIC, stops the pre-connection between the server and the client, including: when the identification result indicates that the connection protocol of the access record is QUIC, converting the connection protocol of the data connection request from QUIC to TCP / TLS according to different protocol conversions, and determining the conversion result; when the conversion result shows that the conversion is successful, receiving the data connection request through the data transmission channel of the TCP / TLS protocol, and starting the pre-connection between the server and the client; when the conversion result shows conversion recognition, stopping the pre-connection between the server and the client.

[0126] Example 10:

[0127] This technical solution provides an embodiment in which, when the identification result indicates that the connection protocol of the access record is QUIC, the connection protocol of the data connection request is converted from QUIC to TCP / TLS according to different protocol conversions, and the conversion result is determined, including:

[0128] When the identification result indicates that the connection protocol of the access record is the QUIC protocol, the corresponding client connection protocol is encapsulated.

[0129] The data connection request deployed on the corresponding client is received through the encapsulated client connection protocol;

[0130] Based on different protocol conversion rules, the connection protocol of the data connection request is converted from the QUIC protocol to the TCP / TLS protocol, and the conversion result is determined.

[0131] The working principle and beneficial effects of the above technical solution are as follows:

[0132] This technical solution, when the connection protocol of the access record identified by the identification result is the QUIC protocol, converts the connection protocol of the data connection request from the QUIC protocol to the TCP / TLS protocol according to different protocol conversions, and determines the conversion result. This includes: when the connection protocol of the access record identified by the identification result is the QUIC protocol, encapsulating the corresponding client's connection protocol; receiving the data connection request deployed on the corresponding client through the encapsulated client's connection protocol; and converting the connection protocol of the data connection request from the QUIC protocol to the TCP / TLS protocol according to different protocol conversion rules, and determining the conversion result. Converting convertible connection protocols improves data performance, optimizes the original connection data, and reduces data distortion.

[0133] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.

[0134] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0135] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0136] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0137] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A data pre-connection control system based on protocol type, characterized in that, include: The access reading module is used to read the server's access records in real time; The identification module is used to identify the connection protocol of the access record and determine the identification result; The pre-connection stop module is used to stop the pre-connection between the server and the client when the identification result indicates that the connection protocol for the access record is the QUIC protocol. The pre-connection initiation module is used to initiate a pre-connection between the server and the client when the identification result indicates that the connection protocol for the access record is TCP / TLS. The identification module includes: A data connection request unit is used to obtain a data connection request through the access record; The data packet feature unit is used to perform feature analysis on the data packets of the data connection request and obtain data packet features; A connection protocol unit is used to determine statistical rules for the data packet characteristics, judge whether the rule features of the data packet characteristics of a data connection request within a preset value match the statistical rules, and when the rule features match the statistical rules, determine the connection protocol for the data connection request; wherein, The statistical rules correspond to the connection protocol and include at least data entry conditions and protocol identification modes.

2. The data pre-connection control system based on protocol type according to claim 1, characterized in that, The connection protocol unit includes: The statistical rules subunit is used to query the statistical rules of the data packet characteristics and, at the same time, record the sample information of the data packet characteristics; The judgment subunit is used to determine whether the number of data connection requests meets a preset value based on sample information of data packet characteristics, and to determine the judgment result; The statistics subunit is used to perform statistical analysis on the rule features of the data packet characteristics and determine the rule features when the number of data connection requests meets a preset value. The protocol determination subunit is used to identify whether the rule feature matches the statistical rule, and when the rule feature matches the statistical rule, to obtain the connection protocol of the data connection request as the connection protocol corresponding to the statistical rule.

3. A data pre-connection control system based on protocol type according to claim 1, characterized in that, The pre-connection stop module includes: The conversion unit is used to convert the connection protocol of the data connection request from the QUIC protocol to the TCP / TLS protocol according to different protocol conversion rules when the identification result is the connection protocol of the access record. A data connection request transmission unit is used to receive the data connection request through the data transmission channel of the TCP / TLS protocol when the conversion result shows that the conversion is successful, and to start a pre-connection between the server and the client. The pre-connection stop unit is used to stop the pre-connection between the server and the client when the conversion result shows that the conversion has failed.

4. A data pre-connection control system based on protocol type according to claim 3, characterized in that, The conversion unit includes: The connection protocol subunit is used to encapsulate the corresponding client's connection protocol when the identification result indicates that the connection protocol for the access record is the QUIC protocol. The data connection request subunit is used to receive data connection requests deployed on the corresponding client through the encapsulated client connection protocol; The conversion result subunit is used to convert the connection protocol of the data connection request from the QUIC protocol to the TCP / TLS protocol according to different protocol conversion rules, and determine the conversion result.

5. A data pre-connection control method based on protocol type, characterized in that, include: Read the server's access records in real time; Identify the connection protocol of the access record and determine the identification result; When the identification result indicates that the connection protocol for the access record is QUIC, the pre-connection between the server and the client is terminated. When the identification result indicates that the connection protocol for the access record is TCP / TLS, a pre-connection is initiated between the server and the client. The step of identifying the connection protocol of the access record and determining the identification result includes: The access record is used to obtain the data connection request; Perform feature analysis on the data packets in the data connection request to obtain data packet features; Statistical rules for the data packet characteristics are determined; it is then determined whether the rule characteristics of the data packet characteristics of a data connection request within a preset value match the statistical rules; and when the rule characteristics match the statistical rules, the connection protocol of the data connection request is determined; wherein, The statistical rules correspond to the connection protocol and include at least data entry conditions and protocol identification modes.

6. The data pre-connection control method based on protocol type according to claim 5, characterized in that, The statistical rules for determining the characteristics of the data packets include: determining whether the rule features of the data packet characteristics of the data connection request within a preset value match the statistical rules; and when the rule features match the statistical rules, determining the connection protocol of the data connection request. Query the statistical rules of the data packet characteristics, and at the same time, record the sample information of the data packet characteristics; Based on sample information of data packet characteristics, determine whether the number of data connection requests meets a preset value, and determine the judgment result; When the number of data connection requests meets a preset value, statistical analysis is performed on the rule features of the data packet characteristics to determine the rule features; Identify whether the rule features match the statistical rules, and when the rule features match the statistical rules, obtain the connection protocol of the data connection request as the connection protocol corresponding to the statistical rules.

7. The data pre-connection control method based on protocol type according to claim 5, characterized in that, When the identification result indicates that the connection protocol for the access record is QUIC, the pre-connection between the server and the client is terminated, including: When the identification result indicates that the connection protocol of the access record is the QUIC protocol, the connection protocol of the data connection request is converted from the QUIC protocol to the TCP / TLS protocol according to different protocol conversion rules, and the conversion result is determined. When the conversion result shows that the conversion is successful, the data connection request is received through the data transmission channel of the TCP / TLS protocol to start the pre-connection between the server and the client; When the conversion result shows that the conversion failed, the pre-connection between the server and the client is stopped.

8. The data pre-connection control method based on protocol type according to claim 7, characterized in that, When the connection protocol of the access record identified by the identification result is the QUIC protocol, the connection protocol of the data connection request is converted from the QUIC protocol to the TCP / TLS protocol according to different protocol conversion rules, and the conversion result is determined, including: When the identification result indicates that the connection protocol of the access record is the QUIC protocol, the corresponding client connection protocol is encapsulated. The data connection request deployed on the corresponding client is received through the encapsulated client connection protocol; Based on different protocol conversion rules, the connection protocol of the data connection request is converted from the QUIC protocol to the TCP / TLS protocol, and the conversion result is determined.

Citation Information

Patent Citations

  • Communication method, system and device and computer readable storage medium

    CN112039824A

  • Data transmission method and device, electronic equipment and storage medium

    CN115134553A