Multi-person session control method and system based on data plane development kit

By generating a user-space protocol stack from a data plane development kit, capturing and verifying session data packets from user terminals, the problems of high data processing load and low security of session platform terminals are solved, and stable and reliable transmission and processing of session data are achieved.

CN116827916BActive Publication Date: 2026-05-15HUIZHIAN INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUIZHIAN INFORMATION TECH CO LTD
Filing Date
2022-12-05
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

In multi-user conversation scenarios, the data processing workload of the conversation platform terminal is large, which can easily lead to crosstalk or garbled characters in the conversation data, reduce security and reliability, and fail to guarantee the stability of the conversation.

Method used

By generating a user-space protocol stack from the data plane development kit, session data packets from user terminals are captured and their characteristic information is obtained. The user-space protocol range is used for verification processing to ensure that the data packets match the session scenario before decoding and sharing operations are performed.

Benefits of technology

It reduces the data processing workload of the session platform terminal, avoids crosstalk and garbled characters in the session data processing process, improves the security and reliability of the session, and ensures the stability of multi-person sessions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116827916B_ABST
    Figure CN116827916B_ABST
Patent Text Reader

Abstract

The application provides a multi-person session control method and system based on a data plane development kit, which constructs a data plane development kit user state protocol stack about a user terminal to replace a session platform terminal for processing session data packets, so as to reduce the data processing workload of the session platform terminal, and the data plane development kit user state protocol stack can independently process session data packets from different user terminals, avoids crosstalk or garbled code of the session data in the processing process, improves the security and reliability of the session, and ensures that the session scene normally and continuously and stably performs multi-person session operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of session scene management, and in particular to a multi-user session control method and system based on a data plane development kit. Background Technology

[0002] In multi-user conversation scenarios, after different user terminals connect to the conversation platform terminal, they forward each user terminal's conversation data to the conversation platform terminal according to the Session Initiation Protocol (SIP). The conversation platform terminal's operating system then needs to process each received conversation data before uploading it to the corresponding conversation context. If there are many user terminals connected to the conversation context or a large amount of conversation data sent by the user terminals, the workload of the conversation platform terminal's operating system in processing the conversation data increases accordingly, thus increasing the operating system's workload. Furthermore, the above-mentioned conversation scenario method requires centralized reception and parsing of conversation data from user terminals, which can easily lead to crosstalk or garbled characters during processing, reducing the security and reliability of the conversation and failing to guarantee the normal, continuous, and stable operation of multi-user conversations. Summary of the Invention

[0003] To address the shortcomings of existing technologies, this invention provides a multi-user session control method and system based on a data plane development kit. The method generates a corresponding user-mode protocol stack for the data plane development kit based on the user terminal with session connection permissions. When a user terminal accesses a session scenario constructed by the session platform terminal, the method captures session data packets sent by the user terminal, obtains their corresponding data packet characteristic information, and sends the session data packets to the corresponding user-mode protocol interval of the user-mode protocol stack. Session operations are performed on session data packets that match the session scenario within the user-mode protocol interval. This method replaces the session platform terminal's processing of session data packets by constructing a user-mode protocol stack based on the data plane development kit for the user terminal. This reduces the data processing workload of the session platform terminal, and the user-mode protocol stack of the data plane development kit can independently process session data packets from different user terminals, avoiding crosstalk or garbled characters during session data processing, improving session security and reliability, and ensuring the normal, continuous, and stable operation of multi-user session scenarios.

[0004] This invention provides a multi-user session control method based on a data plane development kit, comprising the following steps:

[0005] Step S1: Obtain the session connection request received by the session platform terminal, analyze and process the session connection request, determine the session connection permission of the user terminal that issued the session connection request, and generate the corresponding data plane development kit user-mode protocol stack based on the user terminal with session connection permission.

[0006] Step S2: Construct a corresponding session scenario on the session platform terminal and connect a user terminal with session connection permissions to the session scenario; capture the session data packets sent by the user terminal connected to the session scenario and obtain the data packet feature information corresponding to the session data packets;

[0007] Step S3: Based on the data packet feature information, the session data packet is sent to the user-space protocol interval corresponding to the user-space protocol stack; the received session data packet is verified through the user-space protocol interval to determine whether the session data packet matches the session scenario;

[0008] Step S4: Based on the result of the verification process, perform the corresponding session operation in the session scenario.

[0009] Further, in step S1, a session connection request received by the session platform terminal is obtained, the session connection request is analyzed and processed to determine the session connection permission of the user terminal that issued the session connection request; based on the user terminal with session connection permission, a corresponding data plane development kit user-space protocol stack is generated, including:

[0010] All request messages received by the session platform terminal are intercepted, and the corresponding message content frame headers are extracted from the request messages. Based on the message content frame headers, it is determined whether the request message belongs to a session connection request.

[0011] After marking all session connection requests, the terminal identity information of the user terminal that issued the session connection request is extracted; if the terminal identity information exists in the preset terminal identity information whitelist, it is determined that the corresponding user terminal has session connection permission; otherwise, it is determined that the corresponding user terminal does not have session connection permission.

[0012] For each user terminal with session connection permissions, the data plane development kit protocol is loaded to generate a user-mode protocol range corresponding to each user terminal with session connection permissions; then, the user-mode protocol ranges of all user terminals with session connection permissions are combined to form the data plane development kit user-mode protocol stack.

[0013] Further, in step S2, a corresponding session scenario is constructed on the session platform terminal, and a user terminal with session connection permissions is connected to the session scenario; session data packets sent by the user terminal connected to the session scenario are captured, and the data packet feature information corresponding to the session data packets is obtained, including:

[0014] From all user terminals with session connection permissions, select the user terminals that initiate session invitations. Based on the invitation request from the user terminal that initiates the session invitation, construct a corresponding session scenario on the session platform terminal, and connect all user terminals with session connection permissions that respond to the invitation request to the session scenario.

[0015] The session data packets sent by the user terminal accessing the session scenario are captured, and the session data packets are parsed to obtain the session party name information corresponding to the session data packets, which is used as the data packet feature information.

[0016] Further, in step S3, based on the data packet characteristic information, the session data packet is sent to the user-space protocol interval corresponding to the user-space protocol stack; the received session data packet is verified through the user-space protocol interval to determine whether the session data packet matches the session scenario, including:

[0017] Based on the session party name information, a matching user-space protocol range is selected from the user-space protocol stack, and the session data packet is sent to the selected user-space protocol range;

[0018] The received session data packets are processed by the user-mode protocol interval to verify the data format and content, thereby determining whether the data format and content of the session data packets meet the requirements of a preset text session scenario or a preset voice session scenario; if yes, the session data packets are determined to match the session scenario; if no, the session data packets are determined to not match the session scenario.

[0019] Furthermore, in step S4, based on the result of the verification process, corresponding session operations are performed in the session scenario, including:

[0020] The session data packets that match the session scenario are decoded to generate corresponding text session data or voice session data, and the text session data or voice session data is shared in the session scenario.

[0021] This invention also provides a multi-user session control system based on a data plane development kit, including:

[0022] The session connection permission determination module is used to obtain the session connection request received by the session platform terminal, analyze and process the session connection request, and determine the session connection permission of the user terminal that issued the session connection request.

[0023] The user-space protocol stack generation module is used to generate the corresponding data plane development kit user-space protocol stack based on user terminals with session connection permissions.

[0024] The session connection processing module is used to construct a corresponding session scenario on the session platform terminal and connect user terminals with session connection permissions to the session scenario; capture session data packets sent by user terminals connected to the session scenario and obtain data packet feature information corresponding to the session data packets;

[0025] The session data packet processing module is used to send the session data packet to the user-space protocol interval corresponding to the user-space protocol stack according to the data packet feature information; and to perform verification processing on the received session data packet through the user-space protocol interval to determine whether the session data packet matches the session scenario.

[0026] The session operation execution module is used to perform corresponding session operations in the session scenario based on the result of the verification process.

[0027] Furthermore, the session connection permission determination module obtains the session connection request received by the session platform terminal, analyzes and processes the session connection request, and determines the session connection permission of the user terminal that issued the session connection request, including:

[0028] All request messages received by the session platform terminal are intercepted, and the corresponding message content frame headers are extracted from the request messages. Based on the message content frame headers, it is determined whether the request message belongs to a session connection request.

[0029] After marking all session connection requests, the terminal identity information of the user terminal that issued the session connection request is extracted; if the terminal identity information exists in the preset terminal identity information whitelist, it is determined that the corresponding user terminal has session connection permission; otherwise, it is determined that the corresponding user terminal does not have session connection permission.

[0030] The user-space protocol stack generation module generates a corresponding data plane development kit user-space protocol stack based on the user terminal with session connection permissions, including:

[0031] For each user terminal with session connection permissions, the data plane development kit protocol is loaded to generate a user-mode protocol range corresponding to each user terminal with session connection permissions; then, the user-mode protocol ranges of all user terminals with session connection permissions are combined to form the data plane development kit user-mode protocol stack.

[0032] Furthermore, the session connection processing module constructs a corresponding session scenario on the session platform terminal and connects user terminals with session connection permissions to the session scenario; it captures session data packets sent by user terminals connected to the session scenario and obtains data packet feature information corresponding to the session data packets, including:

[0033] From all user terminals with session connection permissions, select the user terminals that initiate session invitations. Based on the invitation request from the user terminal that initiates the session invitation, construct a corresponding session scenario on the session platform terminal, and connect all user terminals with session connection permissions that respond to the invitation request to the session scenario.

[0034] The session data packets sent by the user terminal accessing the session scenario are captured, and the session data packets are parsed to obtain the session party name information corresponding to the session data packets, which is used as the data packet feature information.

[0035] Furthermore, the session data packet processing module sends the session data packet to the user-space protocol interval corresponding to the user-space protocol stack based on the data packet feature information; the received session data packet is verified through the user-space protocol interval to determine whether the session data packet matches the session scenario, including:

[0036] Based on the session party name information, a matching user-space protocol range is selected from the user-space protocol stack, and the session data packet is sent to the selected user-space protocol range;

[0037] The received session data packets are processed by the user-mode protocol interval to verify the data format and content, thereby determining whether the data format and content of the session data packets meet the requirements of a preset text session scenario or a preset voice session scenario; if yes, the session data packets are determined to match the session scenario; if no, the session data packets are determined to not match the session scenario.

[0038] Furthermore, the session operation execution module performs corresponding session operations in the session scenario based on the result of the verification process, including:

[0039] The session data packets that match the session scenario are decoded to generate corresponding text session data or voice session data, and the text session data or voice session data is shared in the session scenario.

[0040] Compared to existing technologies, this multi-user session control method and system based on a data plane development kit generates a corresponding user-mode protocol stack for the data plane development kit based on the user terminal with session connection permissions. When the user terminal accesses the session scenario constructed by the session platform terminal, it captures the session data packets sent by the user terminal, obtains their corresponding data packet feature information, and sends the session data packets to the corresponding user-mode protocol range of the user-mode protocol stack. For the session data packets in the user-mode protocol range that match the session scenario, it executes session operations. By constructing a user-mode protocol stack for the user terminal using the data plane development kit, it replaces the session platform terminal in processing session data packets. This reduces the data processing workload of the session platform terminal, and the user-mode protocol stack of the data plane development kit can independently process session data packets from different user terminals, avoiding crosstalk or garbled characters during session data processing, improving session security and reliability, and ensuring the normal, continuous, and stable operation of multi-user session scenarios.

[0041] Other features and advantages of the invention will be set forth in the following description, 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.

[0042] 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

[0043] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 This is a flowchart illustrating the multi-user session control method based on the data plane development kit provided by the present invention.

[0045] Figure 2 This is a schematic diagram of the structure of a multi-user conversation control system based on a data plane development kit provided by the present invention. Detailed Implementation

[0046] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0047] See Figure 1 This is a flowchart illustrating a multi-user session control method based on a data plane development kit provided in an embodiment of the present invention. The multi-user session control method based on the data plane development kit includes the following steps:

[0048] Step S1: Obtain the session connection request received by the session platform terminal, analyze and process the session connection request, and determine the session connection permission of the user terminal that issued the session connection request; generate the corresponding data plane development kit user-mode protocol stack based on the user terminal with session connection permission.

[0049] Step S2: Construct a corresponding session scenario on the session platform terminal and connect a user terminal with session connection permissions to the session scenario; capture the session data packets sent by the user terminal connected to the session scenario and obtain the data packet feature information corresponding to the session data packets;

[0050] Step S3: Based on the data packet feature information, send the session data packet to the user-space protocol interval corresponding to the user-space protocol stack; verify the received session data packet through the user-space protocol interval to determine whether the session data packet matches the session scenario;

[0051] Step S4: Based on the result of the verification process, perform the corresponding session operation in the session scenario.

[0052] The beneficial effects of the above technical solution are as follows: This multi-user session control method based on the data plane development kit generates a corresponding user-mode protocol stack of the data platform development kit according to the user terminal with session connection permissions; when the user terminal accesses the session scenario constructed by the session platform terminal, it captures the session data packets sent by the user terminal, obtains the corresponding data packet feature information, and sends the session data packets to the user-mode protocol interval corresponding to the user-mode protocol stack; it performs session operations on the session data packets that match the session scenario determined by the user-mode protocol interval. By constructing the user-mode protocol stack of the data plane development kit for the user terminal, it replaces the session platform terminal in processing the session data packets. This reduces the data processing workload of the session platform terminal, and the user-mode protocol stack of the data plane development kit can independently process session data packets from different user terminals, avoiding crosstalk or garbled characters in the session data during processing, improving the security and reliability of the session, and ensuring that the session scenario can perform multi-user session operations normally, continuously and stably.

[0053] Preferably, in step S1, the session connection request received by the session platform terminal is obtained, the session connection request is analyzed and processed to determine the session connection permission of the user terminal that issued the session connection request; based on the user terminal with session connection permission, the corresponding data plane development kit user-space protocol stack is generated, including:

[0054] All request messages received by the session platform terminal are intercepted, and the corresponding message content frame header is extracted from the request message. Based on the message content frame header, it is determined whether the request message belongs to a session connection request.

[0055] After marking all session connection requests, the terminal identity information of the user terminal that issued the session connection request is extracted; if the terminal identity information exists in the preset terminal identity information whitelist, it is determined that the corresponding user terminal has session connection permission; otherwise, it is determined that the corresponding user terminal does not have session connection permission.

[0056] For each user terminal with session connection permissions, the data plane development kit protocol is loaded to generate a user-mode protocol range corresponding to each user terminal with session connection permissions; then, the user-mode protocol ranges of all user terminals with session connection permissions are combined to form the data plane development kit user-mode protocol stack.

[0057] The beneficial effects of the above technical solution are as follows: In multi-user session scenarios, the session platform terminal connects to multiple user terminals via the network. Each user terminal's session data packet is received by the session platform terminal, parsed, processed, and uploaded to the corresponding session scenario. Thus, the session platform terminal, acting as the processing terminal for multi-user sessions, handles the processing of session data packets from all connected user terminals. To ensure the security of multi-user sessions, session connection requests from each user terminal need to be analyzed and processed to extract the terminal identity information of the user terminal that issued the request. This terminal identity information is then compared against a whitelist to ensure that only user terminals matching the terminal identity information on the preset whitelist can gain access to the session platform terminal, effectively guaranteeing session security in the corresponding session scenario. Furthermore, the Data Plane Development Kit (DPDK) protocol is loaded for each user terminal with a session connection request. This generates a corresponding user-mode protocol range, which is a virtual server corresponding to each user terminal. This server is compatible with and supports the DPDK, enabling the processing of session data packets from the corresponding user terminal. Furthermore, by assembling the user-mode protocol ranges corresponding to all user terminals into a corresponding data plane development kit user-mode protocol stack, session data packets sent by all user terminals can be collected centrally, and each user-mode protocol range can be used to process session data packets from each user terminal individually, thereby improving the processing efficiency and reliability of session data packets and avoiding crosstalk during session data packet processing.

[0058] Preferably, in step S2, a corresponding session scenario is constructed on the session platform terminal, and user terminals with session connection permissions are connected to the session scenario; session data packets sent by user terminals connected to the session scenario are captured, and the data packet feature information corresponding to the session data packets is obtained, including:

[0059] From all user terminals with session connection permissions, select the user terminal that initiates the session invitation. Based on the invitation request of the user terminal that initiates the session invitation, construct the corresponding session scenario on the session platform terminal, and connect all user terminals with session connection permissions that respond to the invitation request to the session scenario.

[0060] The session data packets sent by the user terminal accessing the session scenario are captured, and the session data packets are parsed to obtain the session party name information corresponding to the session data packets, which is used as the feature information of the data packets.

[0061] The beneficial effects of the above technical solution are as follows: The conversation platform terminal constructs corresponding conversation scenarios (such as text conversation scenarios, voice conversation scenarios, or video conversation scenarios) based on conversation invitations initiated by user terminals. Once the corresponding conversation scenario is constructed, all user terminals that respond to the conversation invitation and have conversation connection requests will be connected to the conversation scenario. Subsequently, the conversation data packets sent by the user terminals connected to the conversation scenario are captured and parsed to obtain the conversation party name information corresponding to each conversation data packet, which facilitates accurate analysis and processing of each conversation data packet later. This conversation party name information is the name information corresponding to the user terminal that sent the conversation data packet in that conversation scenario, and this name information has a unique corresponding relationship with the user terminal's terminal identity information.

[0062] Preferably, in step S3, based on the data packet characteristic information, the session data packet is sent to the user-space protocol interval corresponding to the user-space protocol stack; the received session data packet is verified through the user-space protocol interval to determine whether the session data packet matches the session scenario, including:

[0063] Based on the session party name information, a matching user-space protocol range is selected from the user-space protocol stack, and the session data packet is sent to the selected user-space protocol range;

[0064] The received session data packets are processed by the user-mode protocol interval to verify the data format and content, thereby determining whether the data format and content of the session data packets meet the requirements of the preset text session scenario or the preset voice session scenario. If yes, the session data packets are determined to match the session scenario; otherwise, the session data packets are determined to not match the session scenario.

[0065] The beneficial effects of the above technical solution are as follows: By using the session party name information as a basis, the user-space protocol range that matches the session data packet in the user-space protocol stack is determined. The session data packet is then sent to the corresponding user-space protocol range, facilitating individual verification of the session data packet. This allows for determination of whether the data format and content of the session data packet meet the preset text session scenario requirements or the preset voice session scenario requirements, thereby ensuring the normal execution of subsequent session communication. The preset text session scenario requirements may include, but are not limited to, a word limit for text sessions; the preset voice session scenario requirements may include, but are not limited to, a duration limit for voice sessions.

[0066] Preferably, in step S4, based on the result of the verification process, the corresponding session operation is performed in the session scenario, including:

[0067] The session data packets that match the session scenario are decoded to generate corresponding text session data or voice session data, and then the text session data or voice session data is shared within the session scenario.

[0068] The beneficial effects of the above technical solution are: decoding the session data packets to generate corresponding text session data or voice session data, which enables the sharing of text session data and voice session data with all user terminals accessing the current session scenario.

[0069] See Figure 2 This is a schematic diagram of the structure of a multi-user session control system based on a data plane development kit provided in an embodiment of the present invention. The multi-user session control system based on the data plane development kit includes:

[0070] The session connection permission determination module is used to obtain the session connection request received by the session platform terminal, analyze and process the session connection request, and determine the session connection permission of the user terminal that issued the session connection request.

[0071] The user-space protocol stack generation module is used to generate the corresponding data plane development kit user-space protocol stack based on user terminals with session connection permissions.

[0072] The session connection processing module is used to build a corresponding session scenario on the session platform terminal and connect user terminals with session connection permissions to the session scenario; capture session data packets sent by user terminals connected to the session scenario and obtain the data packet feature information corresponding to the session data packets;

[0073] The session data packet processing module is used to send the session data packet to the user-space protocol range corresponding to the user-space protocol stack based on the data packet's characteristic information; and to perform verification processing on the received session data packet through the user-space protocol range to determine whether the session data packet matches the session scenario.

[0074] The session operation execution module is used to perform corresponding session operations in the session scenario based on the result of the verification process.

[0075] The beneficial effects of the above technical solution are as follows: The multi-user session control system based on the data plane development kit generates a corresponding user-mode protocol stack of the data platform development kit according to the user terminal with session connection permissions; when the user terminal accesses the session scenario constructed by the session platform terminal, it captures the session data packets sent by the user terminal, obtains the corresponding data packet feature information, and sends the session data packets to the user-mode protocol interval corresponding to the user-mode protocol stack; it performs session operations on the session data packets that match the session scenario determined by the user-mode protocol interval. By constructing the user-mode protocol stack of the data plane development kit for the user terminal, it replaces the session platform terminal in processing the session data packets. This reduces the data processing workload of the session platform terminal, and the user-mode protocol stack of the data plane development kit can independently process session data packets from different user terminals, avoiding crosstalk or garbled characters in the session data during processing, improving the security and reliability of the session, and ensuring that the session scenario can perform multi-user session operations normally, continuously and stably.

[0076] Preferably, the session connection permission determination module obtains the session connection request received by the session platform terminal, analyzes and processes the session connection request, and determines the session connection permission of the user terminal that issued the session connection request, including:

[0077] All request messages received by the session platform terminal are intercepted, and the corresponding message content frame header is extracted from the request message. Based on the message content frame header, it is determined whether the request message belongs to a session connection request.

[0078] After marking all session connection requests, the terminal identity information of the user terminal that issued the session connection request is extracted; if the terminal identity information exists in the preset terminal identity information whitelist, it is determined that the corresponding user terminal has session connection permission; otherwise, it is determined that the corresponding user terminal does not have session connection permission.

[0079] This user-space protocol stack generation module generates the corresponding data plane development kit user-space protocol stack based on the user terminal with session connection permissions, including:

[0080] For each user terminal with session connection permissions, the data plane development kit protocol is loaded to generate a user-mode protocol range corresponding to each user terminal with session connection permissions; then, the user-mode protocol ranges of all user terminals with session connection permissions are combined to form the data plane development kit user-mode protocol stack.

[0081] The beneficial effects of the above technical solution are as follows: In multi-user session scenarios, the session platform terminal connects to multiple user terminals via the network. Each user terminal's session data packet is received by the session platform terminal, parsed, processed, and uploaded to the corresponding session scenario. Thus, the session platform terminal, acting as the processing terminal for multi-user sessions, handles the processing of session data packets from all connected user terminals. To ensure the security of multi-user sessions, session connection requests from each user terminal need to be analyzed and processed to extract the terminal identity information of the user terminal that issued the request. This terminal identity information is then compared against a whitelist to ensure that only user terminals matching the terminal identity information on the preset whitelist can gain access to the session platform terminal, effectively guaranteeing session security in the corresponding session scenario. Furthermore, the Data Plane Development Kit (DPDK) protocol is loaded for each user terminal with a session connection request. This generates a corresponding user-mode protocol range, which is a virtual server corresponding to each user terminal. This server is compatible with and supports the DPDK, enabling the processing of session data packets from the corresponding user terminal. Furthermore, by assembling the user-mode protocol ranges corresponding to all user terminals into a corresponding data plane development kit user-mode protocol stack, session data packets sent by all user terminals can be collected centrally, and each user-mode protocol range can be used to process session data packets from each user terminal individually, thereby improving the processing efficiency and reliability of session data packets and avoiding crosstalk during session data packet processing.

[0082] Preferably, the session connection processing module constructs a corresponding session scenario on the session platform terminal and connects user terminals with session connection permissions to the session scenario; it captures session data packets sent by user terminals connected to the session scenario and obtains the data packet feature information corresponding to the session data packets, including:

[0083] From all user terminals with session connection permissions, select the user terminal that initiates the session invitation. Based on the invitation request of the user terminal that initiates the session invitation, construct the corresponding session scenario on the session platform terminal, and connect all user terminals with session connection permissions that respond to the invitation request to the session scenario.

[0084] The session data packets sent by the user terminal accessing the session scenario are captured, and the session data packets are parsed to obtain the session party name information corresponding to the session data packets, which is used as the feature information of the data packets.

[0085] The beneficial effects of the above technical solution are as follows: The conversation platform terminal constructs corresponding conversation scenarios (such as text conversation scenarios, voice conversation scenarios, or video conversation scenarios) based on conversation invitations initiated by user terminals. Once the corresponding conversation scenario is constructed, all user terminals that respond to the conversation invitation and have conversation connection requests will be connected to the conversation scenario. Subsequently, the conversation data packets sent by the user terminals connected to the conversation scenario are captured and parsed to obtain the conversation party name information corresponding to each conversation data packet, which facilitates accurate analysis and processing of each conversation data packet later. This conversation party name information is the name information corresponding to the user terminal that sent the conversation data packet in that conversation scenario, and this name information has a unique corresponding relationship with the user terminal's terminal identity information.

[0086] Preferably, the session data packet processing module sends the session data packet to the user-space protocol interval corresponding to the user-space protocol stack based on the data packet characteristic information; the received session data packet is verified through the user-space protocol interval to determine whether the session data packet matches the session scenario, including:

[0087] Based on the session party name information, a matching user-space protocol range is selected from the user-space protocol stack, and the session data packet is sent to the selected user-space protocol range;

[0088] The received session data packets are processed by the user-mode protocol interval to verify the data format and content, thereby determining whether the data format and content of the session data packets meet the requirements of the preset text session scenario or the preset voice session scenario. If yes, the session data packets are determined to match the session scenario; otherwise, the session data packets are determined to not match the session scenario.

[0089] The beneficial effects of the above technical solution are as follows: By using the session party name information as a basis, the user-space protocol range that matches the session data packet in the user-space protocol stack is determined. The session data packet is then sent to the corresponding user-space protocol range, facilitating individual verification of the session data packet. This allows for determination of whether the data format and content of the session data packet meet the preset text session scenario requirements or the preset voice session scenario requirements, thereby ensuring the normal execution of subsequent session communication. The preset text session scenario requirements may include, but are not limited to, a word limit for text sessions; the preset voice session scenario requirements may include, but are not limited to, a duration limit for voice sessions.

[0090] Preferably, the session operation execution module performs corresponding session operations in the session scenario based on the result of the verification process, including:

[0091] The session data packets that match the session scenario are decoded to generate corresponding text session data or voice session data, and then the text session data or voice session data is shared within the session scenario.

[0092] The beneficial effects of the above technical solution are: decoding the session data packets to generate corresponding text session data or voice session data, which enables the sharing of text session data and voice session data with all user terminals accessing the current session scenario.

[0093] As can be seen from the above embodiments, the multi-user session control method and system based on the data plane development kit generates a corresponding data platform development kit user-mode protocol stack according to the user terminal with session connection permissions; when the user terminal accesses the session scenario constructed by the session platform terminal, it captures the session data packets sent by the user terminal, obtains the corresponding data packet feature information, and sends the session data packets to the user-mode protocol interval corresponding to the user-mode protocol stack; it performs session operations on the session data packets that match the session scenario determined by the user-mode protocol interval. By constructing a data plane development kit user-mode protocol stack for the user terminal, it replaces the session platform terminal in processing session data packets. This reduces the data processing workload of the session platform terminal, and the data plane development kit user-mode protocol stack can independently process session data packets from different user terminals, avoiding crosstalk or garbled characters in the session data during processing, improving the security and reliability of the session, and ensuring that the session scenario can perform multi-user session operations normally, continuously and stably.

[0094] 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 multi-user session control method based on a data plane development kit, characterized in that: Includes the following steps: Step S1: Obtain the session connection request received by the session platform terminal, analyze and process the session connection request, and determine the session connection permission of the user terminal that issued the session connection request; load the data plane development kit protocol for each user terminal with session connection permission, and generate a user-mode protocol range corresponding to each user terminal with session connection permission. Then, the user console protocol segments of all user terminals with session connection permissions are combined into a user-mode protocol stack for the data plane development kit. Step S2: Construct a corresponding session scenario on the session platform terminal and connect user terminals with session connection permissions to the session scenario; Capturing session data packets sent by user terminals accessing the session scenario and obtaining data packet feature information corresponding to the session data packets includes: capturing session data packets sent by user terminals accessing the session scenario, parsing the session data packets to obtain session party name information corresponding to the session data packets, and using this as the data packet feature information; Step S3, according to the data packet feature information, sends the session data packet to the user-space protocol interval corresponding to the user-space protocol stack, including: according to the session party name information, selecting a matching user-space protocol interval from the user-space protocol stack, and sending the session data packet to the selected user-space protocol interval; The received session data packets are verified using the user-space protocol range to determine whether the session data packets match the session scenario. Step S4: Based on the result of the verification process, perform the corresponding session operation in the session scenario.

2. The multi-user session control method based on the data plane development kit as described in claim 1, characterized in that: In step S1, the session connection request received by the session platform terminal is obtained, the session connection request is analyzed and processed, and the session connection permission of the user terminal that issued the session connection request is determined, including: All request messages received by the session platform terminal are intercepted, and the corresponding message content frame headers are extracted from the request messages. Based on the message content frame headers, it is determined whether the request message belongs to a session connection request. After marking all session connection requests, the terminal identity information of the user terminal that issued the session connection request is extracted; if the terminal identity information exists in the preset terminal identity information whitelist, it is determined that the corresponding user terminal has session connection permission; otherwise, it is determined that the corresponding user terminal does not have session connection permission.

3. The multi-user session control method based on the data plane development kit as described in claim 2, characterized in that: In step S2, a corresponding session scenario is constructed on the session platform terminal, and user terminals with session connection permissions are connected to the session scenario, including: From all user terminals with session connection permissions, select the user terminals that initiate session invitations. Based on the invitation request from the user terminal that initiated the session invitation, construct a corresponding session scenario on the session platform terminal, and connect all user terminals with session connection permissions that respond to the invitation request to the session scenario.

4. The multi-user session control method based on the data plane development kit as described in claim 3, characterized in that: In step S3, the received session data packets are verified using the user-space protocol interval to determine whether the session data packets match the session scenario, including: The received session data packets are processed by the user-mode protocol interval to verify the data format and content, thereby determining whether the data format and content of the session data packets meet the requirements of a preset text session scenario or a preset voice session scenario; if yes, the session data packets are determined to match the session scenario; if no, the session data packets are determined to not match the session scenario.

5. The multi-user session control method based on the data plane development kit as described in claim 4, characterized in that: In step S4, based on the result of the verification process, corresponding session operations are performed in the session scenario, including: The session data packets that match the session scenario are decoded to generate corresponding text session data or voice session data, and the text session data or voice session data is shared in the session scenario.

6. A multi-user conversation control system based on a data plane development kit, characterized in that: include: The session connection permission determination module is used to obtain the session connection request received by the session platform terminal, analyze and process the session connection request, and determine the session connection permission of the user terminal that issued the session connection request. The user-mode protocol stack generation module is used to load the data plane development kit protocol for each user terminal with session connection permission and generate the user-mode protocol range corresponding to each user terminal with session connection permission. Then, the user console protocol segments of all user terminals with session connection permissions are combined into a user-mode protocol stack for the data plane development kit. The session connection processing module is used to construct a corresponding session scenario on the session platform terminal and connect user terminals with session connection permissions to the session scenario; Capturing session data packets sent by user terminals accessing the session scenario and obtaining data packet feature information corresponding to the session data packets includes: capturing session data packets sent by user terminals accessing the session scenario, parsing the session data packets to obtain session party name information corresponding to the session data packets, and using this as the data packet feature information; The session data packet processing module is used to send the session data packet to the user-mode protocol interval corresponding to the user-mode protocol stack according to the data packet feature information, including: selecting a matching user-mode protocol interval from the user-mode protocol stack according to the session party name information, and sending the session data packet to the selected user-mode protocol interval; The received session data packets are verified using the user-space protocol range to determine whether the session data packets match the session scenario. The session operation execution module is used to perform corresponding session operations in the session scenario based on the result of the verification process.

7. The multi-user session control system based on the data plane development kit as described in claim 6, characterized in that: The session connection permission determination module obtains the session connection request received by the session platform terminal, analyzes and processes the session connection request, and determines the session connection permission of the user terminal that issued the session connection request, including: All request messages received by the session platform terminal are intercepted, and the corresponding message content frame headers are extracted from the request messages. Based on the message content frame headers, it is determined whether the request message belongs to a session connection request. After marking all session connection requests, the terminal identity information of the user terminal that issued the session connection request is extracted; if the terminal identity information exists in the preset terminal identity information whitelist, it is determined that the corresponding user terminal has session connection permission; otherwise, it is determined that the corresponding user terminal does not have session connection permission.

8. The multi-user session control system based on the data plane development kit as described in claim 7, characterized in that: The session connection processing module constructs a corresponding session scenario on the session platform terminal and connects user terminals with session connection permissions to the session scenario, including: From all user terminals with session connection permissions, select the user terminals that initiate session invitations. Based on the invitation request from the user terminal that initiated the session invitation, construct a corresponding session scenario on the session platform terminal, and connect all user terminals with session connection permissions that respond to the invitation request to the session scenario.

9. The multi-user session control system based on the data plane development kit as described in claim 8, characterized in that: The session data packet processing module verifies the received session data packets through the user-space protocol range to determine whether the session data packets match the session scenario, including: The received session data packets are processed by the user-mode protocol interval to verify the data format and content, thereby determining whether the data format and content of the session data packets meet the requirements of a preset text session scenario or a preset voice session scenario; if yes, the session data packets are determined to match the session scenario; if no, the session data packets are determined to not match the session scenario.

10. The multi-user session control system based on the data plane development kit as described in claim 9, characterized in that: The session operation execution module performs corresponding session operations in the session scenario based on the result of the verification process, including: The session data packets that match the session scenario are decoded to generate corresponding text session data or voice session data, and the text session data or voice session data is shared in the session scenario.