CN116567053A - Session connection management method and related device - Google Patents

Session connection management method and related device Download PDF

Info

Publication number
CN116567053A
CN116567053A CN202210111694.0A CN202210111694A CN116567053A CN 116567053 A CN116567053 A CN 116567053A CN 202210111694 A CN202210111694 A CN 202210111694A CN 116567053 A CN116567053 A CN 116567053A
Authority
CN
China
Prior art keywords
connection
target
session
service data
control process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210111694.0A
Other languages
Chinese (zh)
Inventor
张富才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202210111694.0A priority Critical patent/CN116567053A/en
Publication of CN116567053A publication Critical patent/CN116567053A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/142Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3297Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a session connection management method and a related device. Acquiring a plurality of session connections detected by a master control process; then analyzing the characteristic information of the session connection through the main control process to determine the characteristic hash value corresponding to the session connection; analyzing the characteristic hash value through the main control process, and distributing the multi-item label connection belonging to the target session in the session connection to the target execution process; and further receiving the service data transferred by the target connection based on the target execution process, so as to execute the target session according to the service data. Therefore, a management framework for connecting, distributing and managing by utilizing the main control process, and carrying out service processing by the executing process is constructed, and connection matching is carried out by the characteristic information of connection, so that the process of multi-connection binding in the session is accurately realized, and the accuracy of session connection distribution is improved.

Description

Session connection management method and related device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a session connection management method and a related device.
Background
With the advent of the big data age, the use of various types of data has become more and more popular. Taking cloud video as an example, the content of the cloud video is integrated in a cloud video server, and the cloud video server provides video services, such as on-demand, live broadcast, video call, cloud game and the like, for terminal equipment of a user.
In a cloud video scene, multiple connections need to be distributed into the same session, and multiple execution processes can be adopted to jointly detect the same port, and the connections are established in a contention lock mode.
However, in the scenario of multi-connection distribution, because a large number of connections need to be processed by executing processes, and because of randomness of the contention lock, it cannot be guaranteed that multiple connections of the same session are bound to the same process, which affects accuracy of session connection distribution.
Disclosure of Invention
In view of this, the present application provides a method for managing session connection, which can effectively improve accuracy of session distribution.
The first aspect of the present application provides a method for managing session connection, which may be applied to a system or a program including a session connection management function in a terminal device, and specifically includes:
acquiring a plurality of session connections detected by a master control process;
analyzing the characteristic information of the session connection through the main control process, and determining a characteristic hash value corresponding to the session connection;
analyzing the characteristic hash value through the main control process, collecting multi-item label connection belonging to a target session in the session connection, and distributing the target connection to a target execution process corresponding to the target session;
And receiving service data transferred by the target connection based on the target execution process so as to execute the target session according to the service data.
Optionally, in some possible implementations of the present application, the parsing, by the master process, the feature hash value, and distributing the target connection in the session connection to a target execution process includes:
analyzing the characteristic hash value through the main control process, and forming a consistent hash node ring by using at least two session connections as data nodes;
calculating a target position on the consistent hash node ring corresponding to the target session according to a consistent hash algorithm;
searching along the consistent hash node ring from the target position, and correlating based on the encountered data nodes to determine the target connection corresponding to the target session;
and distributing the target connection to the target execution process corresponding to the target session.
Optionally, in some possible implementations of the present application, the receiving, based on the target execution process, service data transferred by the target connection, so as to execute the target session according to the service data includes:
Determining an initial connection associated with the target connection;
analyzing the socket corresponding to the initial connection to obtain a port descriptor corresponding to the initial connection;
determining a data address according to the port descriptor;
performing data migration based on the data address to receive the service data transmitted by the target connection based on the target execution process;
and executing the target session according to the service data.
Optionally, in some possible implementations of the present application, the method further includes:
determining a protocol type corresponding to the initial connection;
if the protocol type indicates that the socket corresponding to the initial connection has connection characteristics, analyzing the socket corresponding to the initial connection to obtain double-end quadruple information corresponding to the initial connection;
performing data migration based on the double-end quadruple information so as to receive the service data transmitted by the target connection through the target execution process;
and executing the target session according to the service data.
Optionally, in some possible implementations of the present application, the method further includes:
if the protocol type indicates that the initial connection has no connection characteristic, binding double-end four-tuple information corresponding to the initial connection in a main control process;
Responding to the determination of the target session, and extracting double-end quadruple information corresponding to the initial connection from the main control process;
performing data migration based on the double-end quadruple information corresponding to the initial connection so as to receive the service data transmitted by the target connection based on the target execution process;
and executing the target session according to the service data.
Optionally, in some possible implementations of the present application, the receiving, based on the target execution process, service data transferred by the target connection, so as to execute the target session according to the service data includes:
receiving the service data transmitted by the target connection based on the target execution process, and determining order information of the target connection for the target session;
if the order information indicates that the target connection is the first connection, the target session is created;
and executing the target session according to the service data.
Optionally, in some possible implementations of the present application, the method for managing network resources is applied to a blockchain device, where the blockchain device is a node in a blockchain.
A second aspect of the present application provides a session connection management apparatus, including:
The acquisition unit is used for acquiring a plurality of session connections detected by the main control process;
the determining unit is used for analyzing the characteristic information of the session connection through the main control process and determining a characteristic hash value corresponding to the session connection;
the determining unit is further configured to parse the feature hash value through the master control process, collect multiple target connections belonging to a target session in the session connection, and distribute the target connection to a target execution process corresponding to the target session;
and the management unit is used for receiving the service data corresponding to the target session based on the target execution process so as to execute the target session according to the service data.
Optionally, in some possible implementations of the present application, the determining unit is specifically configured to parse the feature hash value through the master control process, and use at least two session connections as data nodes to form a consistent hash node ring;
the determining unit is specifically configured to calculate, according to a consistent hash algorithm, a target position on the consistent hash node ring corresponding to the target session;
the determining unit is specifically configured to search along the consistent hash node ring from the target location, and associate based on the encountered data node to determine the target connection corresponding to the target session;
The determining unit is specifically configured to distribute the target connection to the target execution process corresponding to the target session.
Optionally, in some possible implementations of the present application, the management unit is specifically configured to determine an initial connection associated with the target connection;
the management unit is specifically configured to parse the socket corresponding to the initial connection to obtain a port descriptor corresponding to the initial connection;
the management unit is specifically configured to determine a data address according to the port descriptor;
the management unit is specifically configured to perform data migration based on the data address, so as to receive, based on the target execution process, the service data transferred by the target connection;
the management unit is specifically configured to execute the target session according to the service data.
Optionally, in some possible implementations of the present application, the management unit is specifically configured to determine a protocol type corresponding to the initial connection;
the management unit is specifically configured to parse the socket corresponding to the initial connection if the protocol type indicates that the socket corresponding to the initial connection has a connection characteristic, so as to obtain double-end quadruple information corresponding to the initial connection;
The management unit is specifically configured to perform data migration based on the double-end quadruple information, so that the service data transferred by the target connection is received through the target execution process;
the management unit is specifically configured to execute the target session according to the service data.
Optionally, in some possible implementation manners of the present application, the management unit is specifically configured to bind, in a master control process, double-end quadruple information corresponding to the initial connection if the protocol type indicates that the initial connection has no connection characteristic;
the management unit is specifically configured to extract double-end quadruple information corresponding to the initial connection from the master control process in response to the determination of the target session;
the management unit is specifically configured to perform data migration based on the double-end quadruple information corresponding to the initial connection, so as to receive the service data transferred by the target connection based on the target execution process;
the management unit is specifically configured to execute the target session according to the service data.
Optionally, in some possible implementations of the present application, the management unit is specifically configured to receive, based on the target execution process, the service data transferred by the target connection, and determine order information of the target connection for the target session;
The management unit is specifically configured to create the target session if the order information indicates that the target connection is a first connection;
the management unit is specifically configured to execute the target session according to the service data.
A third aspect of the present application provides a computer device comprising: a memory, a processor, and a bus system; the memory is used for storing program codes; the processor is configured to execute the session connection management method according to the first aspect or any one of the first aspects according to an instruction in the program code.
A fourth aspect of the present application provides a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of managing session connections of the first aspect or any one of the first aspects described above.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from a computer-readable storage medium by a processor of a computer device, which executes the computer instructions, causing the computer device to perform the method of managing session connections provided in the above-described first aspect or various alternative implementations of the first aspect.
From the above technical solutions, the embodiments of the present application have the following advantages:
a plurality of session connections detected by a master control process are obtained; then analyzing the characteristic information of the session connection through the main control process to determine the characteristic hash value corresponding to the session connection; analyzing the characteristic hash value through a main control process, collecting multi-item label connection belonging to a target session in the session connection, and distributing the target connection to a target execution process corresponding to the target session; and further receiving the service data transferred by the target connection based on the target execution process, so as to execute the target session according to the service data. Therefore, a management framework for connecting, distributing and managing by utilizing the main control process, and carrying out service processing by the executing process is constructed, and connection matching is carried out by the characteristic information of connection, so that the process of multi-connection binding in the session is accurately realized, and the accuracy of session connection distribution is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
FIG. 1 is a network architecture diagram of the operation of a management system for session connection;
fig. 2 is a flowchart of a session connection management structure provided in an embodiment of the present application;
fig. 3 is a flowchart of a method for managing session connection according to an embodiment of the present application;
fig. 4 is a schematic view of a scenario of a session connection management method according to an embodiment of the present application;
fig. 5 is a schematic view of a scenario of another session connection management method according to an embodiment of the present application;
FIG. 6 is a flowchart of another method for managing session connection according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present application;
FIG. 9A is a diagram illustrating a data sharing system according to an embodiment of the present disclosure;
FIG. 9B is a block diagram of a blockchain of the present embodiments;
fig. 9C is a block chain node input information provided in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a session connection management method and a related device, which can be applied to a system or a program containing a session connection management function in terminal equipment, and a plurality of session connections detected by a master control process are obtained; then analyzing the characteristic information of the session connection through the main control process to determine the characteristic hash value corresponding to the session connection; further analyzing the characteristic hash value through the main control process, distributing the target connection in the session connection to the target execution process, wherein the target execution process is associated with the target session, and the target connection belongs to the target session; and further receiving the service data transferred by the target connection based on the target execution process, so as to execute the target session according to the service data. Therefore, a management framework for connecting, distributing and managing by utilizing the main control process, and carrying out service processing by the executing process is constructed, and connection matching is carried out by the characteristic information of connection, so that the process of multi-connection binding in the session is accurately realized, and the accuracy of session connection distribution is improved.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be capable of operation in sequences other than those illustrated or described herein, for example. Furthermore, the terms "comprises," "comprising," and "includes" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
First, some terms that may appear in the embodiments of the present application will be explained.
Cloud video: and integrating video streaming services such as video on demand, live broadcast, video call, cloud games and the like with the content at the cloud.
Cloud video server: the cloud video server is configured at the cloud end and used for transmitting cloud videos.
A session: a management unit representing a user (user) level. One user corresponds to one session, or there are multiple transport connections.
Transmission connection: at the transport layer, end-to-end, both ends acknowledge the established connection. Is a basic guarantee of the reliability of the transmission data, such as a TCP connection.
Multiple connections: the method refers to the transmission connection which is created by utilizing transmission protocols such as TCP, UDP and the like at the same time, and the transmission connection is used for jointly guaranteeing the service.
Multi-connection distribution: refers to the fact that multiple connections created in a user for guaranteed delivery are corresponding to the same user session.
Socket (Socket): an abstraction of endpoints that communicate bi-directionally between application processes on different hosts in a network. One socket is the end of the network where processes communicate, providing a mechanism for application layer processes to exchange data using network protocols. In terms of the position, the socket is connected with the application process in an upper mode, and the socket is connected with the network protocol stack in a lower mode, so that the socket is an interface for the application program to communicate through the network protocol, and is an interface for the application program to interact with the network protocol root.
It should be understood that the session connection management method provided in the present application may be applied to a system or a program including a session connection management function in a terminal device, for example, connection management, and specifically, the session connection management system may be operated in a network architecture as shown in fig. 1, which is a network architecture diagram operated by the session connection management system, as shown in the fig. 1, where the session connection management system may provide a session connection management procedure with multiple information sources, that is, perform multi-connection distribution in a server through a triggering operation on the terminal side; it will be appreciated that various terminal devices are shown in fig. 1, the terminal devices may be computer devices, in the actual scenario, there may be more or less terminal devices involved in the process of managing session connection, the specific number and types are not limited herein, and in addition, one server is shown in fig. 1, but in the actual scenario, there may also be participation of multiple servers, especially in the scenario of multi-model training interaction, the specific number of servers is determined by the actual scenario.
In this embodiment, the server may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, and basic cloud computing services such as big data and artificial intelligence platforms. The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminals and servers may be directly or indirectly connected by wired or wireless communication, and the terminals and servers may be connected to form a blockchain network, which is not limited herein.
Cloud technology (Cloud technology) refers to a hosting technology for integrating hardware, software, network and other series resources in a wide area network or a local area network to realize calculation, storage, processing and sharing of data. The cloud technology is based on the general names of network technology, information technology, integration technology, management platform technology, application technology and the like applied by the cloud computing business mode, can form a resource pool, and is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical networking systems require a large amount of computing, storage resources, such as video websites, picture-like websites, and more portals. Along with the high development and application of the internet industry, each article possibly has an own identification mark in the future, the identification mark needs to be transmitted to a background system for logic processing, data with different levels can be processed separately, and various industry data needs strong system rear shield support and can be realized only through cloud computing.
It will be appreciated that the management system of session connection described above may be operated on a personal mobile terminal, for example: the application can be used as connection management, can also be run on a server, and can also be used as a third party device to provide management of session connection so as to obtain the management processing result of the session connection of the information source; the specific session connection management system may be implemented in a program form in the device, may also be implemented as a system component in the device, or may be implemented as a cloud service program, where a specific operation mode is determined according to an actual scenario, and is not limited herein.
With the advent of the big data age, the use of various types of data has become more and more popular. Taking cloud video as an example, the content of the cloud video is integrated in a cloud video server, and the cloud video server provides video services, such as on-demand, live broadcast, video call, cloud game and the like, for terminal equipment of a user.
In a cloud video scene, multiple connections need to be distributed into the same session, and multiple execution processes can be adopted to jointly detect the same port, and the connections are established in a contention lock mode.
However, in the scenario of multi-connection distribution, because a large number of connections need to be processed by executing processes, and because of randomness of the contention lock, it cannot be guaranteed that multiple connections of the same session are bound to the same process, which affects accuracy of session connection distribution.
Specifically, in the native Nginx, the Master process is mainly responsible for information synchronization between the Worker processes, for example, the creation and destruction information of the Worker are synchronized to other normal workers, and the processing capacity is free; and the workbench process is mainly responsible for connection acquisition and data forwarding. Thus, it is known that the Master process is relatively idle as a whole and that there is already a domain splice word communicating with each of the Worker processes. Therefore, on the basis of the original Nginx connection distribution framework, whether a shared memory or a workbench see-through communication mode belongs to the subsequent repair operation, and the operation is equivalent to adding some self logics of a server on the basis of normal business processing, so that performance influence can be brought to high-performance forwarding. For example, the problems of shared memory synchronization, message synchronization when the workbench is more, message processing and the like are solved. Meanwhile, the Master process is still responsible for some simple synchronous processing with each process, is always in a more idle state and belongs to resource waste.
In this embodiment, a brand new architecture is provided for fully utilizing a Master process to perform connection distribution management by optimizing resource utilization and modifying a native ng ix architecture, and a Worker is responsible for service processing. By means of business layering and function dividing, reasonable and efficient connection distribution is achieved under the condition that a large number of extra service terminals are not added with own business, and based on object characteristic information, multiple connection binding unified processes in a session are efficiently achieved.
The method is specifically applied to a flow framework of session connection management shown in fig. 2, and as shown in fig. 2, the flow framework of session connection management provided in the embodiment of the present application adopts nginnx as a high-performance forwarding server, and how multiple transmission connections correspond to a session distribution method during multiple channel transmission. In the video server, information verification is executed in a Master process in a unified way by modifying an Nginx original connection allocation mode and combining characteristic information of a multi-channel user, so that different connections under the same user session are allocated to the same Worker process according to a verification result. In this way, multiple connections of the same session can be ensured to correspond to the same process, and additional shared memory management and signal synchronization processes are avoided under the condition of connection cross-process, so that the forwarding service performance under multiple channels is improved.
The embodiment can be applied to various scenes such as cloud technology, artificial intelligence, intelligent traffic, auxiliary driving, internet of vehicles (audio and video) and the like. The user terminal used in the embodiment in a specific application scenario includes, but is not limited to, a mobile phone, a computer, an intelligent voice interaction device, an intelligent home appliance, a vehicle-mounted terminal and the like.
It can be understood that the method provided in the present application may be a program writing, so as to be used as a processing logic in a hardware system, or may be used as a session connection management device, and the processing logic is implemented in an integrated or external manner. As one implementation, the session connection management device obtains a plurality of session connections detected by the master control process; then analyzing the characteristic information of the session connection through the main control process to determine the characteristic hash value corresponding to the session connection; further analyzing the characteristic hash value through the main control process, distributing the target connection in the session connection to the target execution process, wherein the target execution process is associated with the target session, and the target connection belongs to the target session; and further receiving the service data transferred by the target connection based on the target execution process, so as to execute the target session according to the service data. Therefore, a management framework for connecting, distributing and managing by utilizing the main control process, and carrying out service processing by the executing process is constructed, and connection matching is carried out by the characteristic information of connection, so that the process of multi-connection binding in the session is accurately realized, and the accuracy of session connection distribution is improved.
With reference to the foregoing flowchart, a method for managing session connection in the present application will be described, and referring to fig. 3, fig. 3 is a flowchart of a method for managing session connection provided in an embodiment of the present application, where the method may be executed by a participant, and the embodiment of the present application at least includes the following steps:
301. and acquiring a plurality of session connections detected by the master control process.
In this embodiment, the Master process is a Master, and in the native nmginx, the Master process is mainly responsible for information synchronization between execution processes (works), such as synchronizing creation and destruction information of the works to other normal works, and some signal processing; the embodiment can be applied to cloud video scenes, and is used for modifying a native Nginx connection distribution framework, namely, a Master is used as a connection distribution Master node to carry out multi-connection distribution, and a specific distribution process is described below.
In particular, from the application scene, the embodiment can be applied to cloud video services, such as interactive live broadcast, cloud games based on video streams and the like, and the cloud video services have high requirements on service quality. The embodiment can also be applied to cloud games, which not only requires high code rate, but also requires ultra-low delay so as to bring high image quality and good operation hand feeling to players.
There is no guarantee regarding packet transmission. When the network itself shakes or the public network data flow burst competes, the packet loss rate and the queuing delay of the data packet are often increased. If network jitter is considered a random event, multiple paths are certainly more stable than single path transmission. Because of the multiple paths, the probability of jitter being encountered simultaneously is always lower than the probability of single path jitter. Fig. 4 is a schematic view of a session connection management method according to an embodiment of the present application. For the cloud video server, the video fluency can be improved, the loading speed can be improved, the blocking is reduced, the connection is established through different communication protocols, and a plurality of session connections are bound to the same execution process in the cloud server.
It can be understood that, the session connection sets corresponding to the plurality of cloud services carried on the cloud server are a plurality of session connections detected by the master control process, and the connections in the session connection sets need to be bound into the sessions of the corresponding services.
302. And analyzing the characteristic information of the session connection through the main control process to determine the characteristic hash value corresponding to the session connection.
In this embodiment, the feature information of the session connection includes features indicating the object identifier in the connection, such as the IP of the requesting party, the name of the requesting service, and the ID of the user; specifically, the feature information may be information obtained by combining the above features in a numerical manner, for example, a string formed by a list of parameters for the request service name, and the specific feature form depends on the actual scenario.
It can be understood that the characteristic hash value corresponding to the session connection is determined, that is, the embodiment adopts a consistent hash algorithm to map a plurality of session connections into an execution process. Specifically, the consistent hashing algorithm maps each object to a point on the ring, and the system maps the available node machines to different locations on the ring. When searching a machine corresponding to a certain object, the position on the circular ring corresponding to the object is needed to be calculated by a consistent hash algorithm, and the machine is searched along the circular ring until encountering a certain node machine, and the machine is the position where the object should be stored. When a node machine is deleted, all objects stored on that machine are moved to the next machine. When adding a machine to a point on the ring, the next machine to that point needs to move the corresponding object before that node to the new machine. Altering the distribution of objects on the node machine may be accomplished by adjusting the location of the node machine; the consistent hash algorithm has the advantages of low redundancy, balanced load, smooth transition, balanced storage, monotonous keywords and the like. By expressing the characteristic hash value of the session connection, the session connection can be classified by using a consistent hash algorithm.
303. And analyzing the characteristic hash value through the main control process, collecting the multi-item target connection belonging to the target session in the session connection, and distributing the target connection to the target execution process corresponding to the target session.
In this embodiment, the target session is the executed client service, for example, the target session is a voice session in a cloud game; the corresponding target connection is a plurality of connections configured for the service, namely one cloud game session can correspond to the plurality of connections so as to ensure the session stability of the cloud game. In addition, the target execution process (worker) is a process allocated to execute the service, for example, the target session is a voice session in the cloud game, and the target execution process is a process serving the voice session.
Specifically, the embodiment adopts a consistent hash algorithm to perform attribution determination of target connection, that is, the characteristic hash value is firstly resolved through a main control process, at least two session connections are used as data nodes to form a consistent hash node ring, because the consistent hash algorithm organizes the whole hash value space into a virtual ring, if a certain hash function H is assumed to have a value space of 0 to (232-1) (namely, the hash value is a 32-bit unsigned plastic), the whole space is organized in a clockwise direction, and 0 and 232-1 are overlapped in a zero point direction; then calculating a target position on a consistent hash node ring corresponding to the target session according to a consistent hash algorithm; and searching along the consistent hash node ring from the target position, and correlating based on the encountered data nodes to determine the target connection corresponding to the target session.
Further, since the target connection is associated with a corresponding worker (target execution process), the collected target connection can be distributed to the target execution process corresponding to the target session, thereby realizing a multi-connection distribution process.
304. And receiving the business data transferred by the target connection based on the target execution process so as to execute the target session according to the business data.
In this embodiment, the Master is used as a connection distribution Master node, and the Worker is responsible for forwarding services, so as to implement multi-connection distribution by combining service layering, function division and resource allocation. Specifically, the distribution architecture of the present application is shown in fig. 5, and fig. 5 is a schematic view of a scenario of another session connection management method provided in an embodiment of the present application. In the scene shown in the figure, the Master process is logic executed by the core layer of the nmginx, namely, by receiving a plurality of session connections, then performing parsing and layering, and further performing data migration.
Specifically, for the process of transferring connection after determining the target workbench process, the process is a data migration process. For the delivery of a connection, an initial connection associated with the target connection may be first determined; then resolving the socket corresponding to the initial connection to obtain a port descriptor corresponding to the initial connection; determining a data address according to the port descriptor; further, data migration is carried out based on the data address, so that service data transmitted by the target connection is received based on the target execution process; and executing the target session according to the service data. This is because the migration of the connection between different processes is realized by customizing the existing inter-process communication mode of the native Nginx, namely, setting the domain socket communication capable of carrying the socket descriptor, because the connection is essentially binding the descriptors of IP and PORT.
In addition, since the initial connection contains different connection types. For connection types, such as TCP and UDP, the present embodiment may support that, considering the specific difference between TCP and UDP sockets, the protocol type corresponding to the initial connection may be determined; if the protocol type indicates that the socket corresponding to the initial connection has connection characteristics (TCP), analyzing the socket corresponding to the initial connection to obtain double-end quadruple information corresponding to the initial connection; then, data migration is carried out based on double-end quadruple information so as to receive service data transmitted by target connection based on a target execution process; and then executing the target session according to the service data. This is because TCP is a socket with connection characteristics, with connection double-ended quad information.
For UDP connection, because the connection characteristic is not provided, the corresponding four-element information is required to be bound on a Master process in advance before connection migration is performed, and then connection migration is performed, so that the Worker can acquire opposite-end IP and PORT information after receiving the connection after the migration. Binding double-end four-tuple information corresponding to the initial connection in a main control process if the protocol type indicates that the initial connection has no connection characteristic; then, in response to the determination of the target session, double-end quadruple information corresponding to the initial connection is extracted from the main control process; further, data migration is carried out based on double-end quadruple information corresponding to the initial connection, so that service data transmitted by the target connection are received based on the target execution process; and executing the target session according to the service data.
The embodiment can discard the mode of synchronous troublesome shared memory, complicated inter-Worker communication and the like by modifying the Nginx distribution architecture, so as to obtain the maximum benefit with the minimum cost. Meanwhile, the method is not limited to cloud video scenes, and can support multichannel scenes.
As can be seen from the above embodiments, by acquiring multiple session connections detected by the master process; then analyzing the characteristic information of the session connection through the main control process to determine the characteristic hash value corresponding to the session connection; analyzing the characteristic hash value through a main control process, collecting multi-item label connection belonging to a target session in the session connection, and distributing the target connection to a target execution process corresponding to the target session; and further receiving the service data transferred by the target connection based on the target execution process, so as to execute the target session according to the service data. Therefore, a management framework for connecting, distributing and managing by utilizing the main control process, and carrying out service processing by the executing process is constructed, and connection matching is carried out by the characteristic information of connection, so that the process of multi-connection binding in the session is accurately realized, and the accuracy of session connection distribution is improved.
The following describes embodiments in connection with a scenario of a cloud game. Referring to fig. 6, fig. 6 is a flowchart of another session connection management method according to an embodiment of the present application, where the embodiment of the present application includes a master process execution portion 601 and an execution process execution portion 602.
For the master process executing part 601, the master process first performs detection (master list) of session connection, and then extracts feature information of the detected session connection, where the feature includes a name of a cloud game, a user ID, a user IP, game configuration information, and the like; and then determining a corresponding cloud game execution process workbench based on the characteristic information, and further performing data migration.
Specifically, the session connection detection process may be specific identification of game streaming media data, that is, detecting game streaming media, so as to trigger distribution of multiple connections. This is because cloud gaming may also be referred to as on-demand gaming, a gaming approach based on cloud computing technology. Cloud gaming enables lightweight devices with relatively limited graphics processing and data computing capabilities to run high quality games. In a cloud game scenario, all cloud game instances are not run in a terminal used by a user, but in a server of the cloud game; the server of the cloud game compresses and codes game pictures and game audios in the cloud game instance into media streams, and then transmits the media streams to a terminal used by a user through a network, wherein the media streams can comprise video streams and audio streams, namely, the session detection effect can be achieved through identification of the media streams.
In addition, the video stream and the audio stream of the cloud game can be respectively connected and distributed, and the video and the audio may have different requirements, so that the service execution effect after connection and distribution is improved.
For the executing portion 602 corresponding to the executing process, the executing process receives migration data corresponding to the session connection divided by the master process, and determines whether the session connection is the first connection (order information) of the cloud game session, for example, the creation connection of the voice channel; receiving service data transmitted by a target connection based on a target execution process, and determining order information of the target connection for a target session; if the order information indicates that the target connection is the first connection, a target session is created; and then executing the target session according to the service data. Creating a game session for a game scene, namely if the game scene is the first connection, and binding the connection accessed by other users based on the game session; if the connection is not the first connection, the existing game session is accessed, and the multi-connection distribution process is completed.
It can be understood that, since the cloud game server allows multiple clients to access and operate the same cloud game instance, in the connection distribution process of this embodiment, the connection of the multiple clients may be distributed separately, or the connection distribution may be performed based on the cloud game instance, that is, the connection of the multiple clients is handled together.
According to the embodiment, through modifying the Nginx distribution architecture, the modes of troublesome synchronization, troublesome inter-Worker communication and the like can be omitted, the method can be effectively and accurately accessed into the game session, and the efficiency of accessing the game session is improved.
In order to better implement the above-described aspects of the embodiments of the present application, the following also provides related devices for implementing the above-described aspects. Referring to fig. 7, fig. 7 is a schematic structural diagram of a session connection management device according to an embodiment of the present application, and a session connection management device 700 includes:
an obtaining unit 701, configured to obtain a plurality of session connections detected by a master control process;
a determining unit 702, configured to parse the feature information of the session connection through the master control process, and determine a feature hash value corresponding to the session connection;
the determining unit 702 is further configured to parse the feature hash value through the master control process, collect multiple target connections belonging to a target session in the session connection, and distribute the target connection to a target execution process corresponding to the target session;
and the management unit 703 is configured to receive service data corresponding to the target session based on the target execution process, so as to execute the target session according to the service data.
Optionally, in some possible implementations of the present application, the determining unit 702 is specifically configured to parse the feature hash value through the master control process, and form a consistent hash node ring with at least two session connections as data nodes;
the determining unit 702 is specifically configured to calculate, according to a consistent hash algorithm, a target position on the consistent hash node ring corresponding to the target session;
the determining unit 702 is specifically configured to perform a lookup along the consistent hash node ring from the target location, and perform association based on the encountered data node, so as to determine the target connection corresponding to the target session;
the determining unit 702 is specifically configured to distribute the target connection to the target execution process corresponding to the target session.
Optionally, in some possible implementations of the present application, the management unit 703 is specifically configured to determine an initial connection associated with the target connection;
the management unit 703 is specifically configured to parse the socket corresponding to the initial connection to obtain a port descriptor corresponding to the initial connection;
the management unit 703 is specifically configured to determine a data address according to the port descriptor;
The management unit 703 is specifically configured to perform data migration based on the data address, so as to receive, based on the target execution process, the service data transferred by the target connection;
the management unit 703 is specifically configured to execute the target session according to the service data.
Optionally, in some possible implementations of the present application, the management unit 703 is specifically configured to determine a protocol type corresponding to the initial connection;
the management unit 703 is specifically configured to parse the socket corresponding to the initial connection if the protocol type indicates that the socket corresponding to the initial connection has a connection characteristic, so as to obtain double-end quadruple information corresponding to the initial connection;
the management unit 703 is specifically configured to perform data migration based on the double-end quadruple information, so as to receive, by using the target execution process, the service data transferred by the target connection;
the management unit 703 is specifically configured to execute the target session according to the service data.
Optionally, in some possible implementations of the present application, the management unit 703 is specifically configured to bind, in a master control process, double-end quadruple information corresponding to the initial connection if the protocol type indicates that the initial connection has no connection characteristic;
The management unit 703 is specifically configured to extract, in response to the determination of the target session, double-end quadruple information corresponding to the initial connection from the master control process;
the management unit 703 is specifically configured to perform data migration based on the double-end quadruple information corresponding to the initial connection, so as to receive, based on the target execution process, the service data transferred by the target connection;
the management unit 703 is specifically configured to execute the target session according to the service data.
Optionally, in some possible implementations of the present application, the management unit 703 is specifically configured to receive, based on the target execution process, the service data transferred by the target connection, and determine order information of the target connection for the target session;
the management unit 703 is specifically configured to create the target session if the order information indicates that the target connection is a first connection;
the management unit 703 is specifically configured to execute the target session according to the service data.
A plurality of session connections detected by a master control process are obtained; then analyzing the characteristic information of the session connection through the main control process to determine the characteristic hash value corresponding to the session connection; analyzing the characteristic hash value through a main control process, collecting multi-item label connection belonging to a target session in the session connection, and distributing the target connection to a target execution process corresponding to the target session; and further receiving the service data transferred by the target connection based on the target execution process, so as to execute the target session according to the service data. Therefore, a management framework for connecting, distributing and managing by utilizing the main control process, and carrying out service processing by the executing process is constructed, and connection matching is carried out by the characteristic information of connection, so that the process of multi-connection binding in the session is accurately realized, and the accuracy of session connection distribution is improved.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 800 may have a relatively large difference due to different configurations or performances, and may include one or more central processing units (central processing units, CPU) 822 (e.g., one or more processors) and a memory 832, and one or more storage media 830 (e.g., one or more mass storage devices) storing application 842 or data 844. Wherein the memory 832 and the storage medium 830 may be transitory or persistent. The program stored in the storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Still further, the central processor 822 may be configured to communicate with the storage medium 830 to execute a series of instruction operations in the storage medium 830 on the server 800.
The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input/output interfaces 858, and/or one or more operating systems 841, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
The steps performed by the management apparatus in the above-described embodiments may be based on the server structure shown in fig. 8.
In an embodiment of the present application, there is further provided a computer readable storage medium, where management instructions of session connection are stored, which when executed on a computer, cause the computer to perform steps performed by a session connection management device in a method described in the foregoing embodiment shown in fig. 3 to fig. 6.
There is also provided in an embodiment of the present application a computer program product comprising instructions for managing session connections, which when run on a computer causes the computer to perform the steps performed by the session connection management apparatus in the method described in the embodiment of fig. 3 to 6 described above.
The embodiment of the application also provides a session connection management system, which may include the session connection management device in the embodiment described in fig. 7, or the server described in fig. 8.
In one possible scenario, the method of network resource management in the present application is applied to a blockchain device, that is, the authoritative DNS, LDNS, or terminal is a blockchain device, and the blockchain device is a node in the blockchain, which is described below with reference to the accompanying drawings; referring to the data sharing system shown in fig. 9A, the data sharing system 900 refers to a system for performing data sharing between nodes, and the data sharing system may include a plurality of nodes 901, where the plurality of nodes 901 may be respective clients in the data sharing system. Each node 901 may receive input information during normal operation and maintain shared data within the data sharing system based on the received input information. In order to ensure the information intercommunication in the data sharing system, information connection can exist between each node in the data sharing system, and the nodes can transmit information through the information connection. For example, when any node in the data sharing system receives input information, other nodes in the data sharing system acquire the input information according to a consensus algorithm, and store the input information as data in the shared data, so that the data stored on all nodes in the data sharing system are consistent.
Each node in the data sharing system has a node identifier corresponding to the node identifier, and each node in the data sharing system can store the node identifiers of other nodes in the data sharing system, so that the generated block can be broadcast to other nodes in the data sharing system according to the node identifiers of other nodes. Each node can maintain a node identification list shown in the following table, and the node names and the node identifications are correspondingly stored in the node identification list. The node identifier may be an IP (Internet Protocol, protocol of interconnection between networks) address, and any other information that can be used to identify the node, and the IP address is only illustrated in table 1.
Table 1 correspondence between node names and node identifications
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
...
Node N 119.123.789.258
Each node in the data sharing system stores one and the same blockchain. The blockchain is composed of a plurality of blocks, see fig. 9B, and the starting block comprises a block header and a block body, wherein the block header stores an input information characteristic value, a version number, a timestamp and a difficulty value, and the block body stores input information; the next block of the starting block takes the starting block as a father block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the father block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain are associated with the block data stored in the father block, and the safety of the input information in the block is ensured.
When each block in the blockchain is generated, referring to fig. 9C, when the node where the blockchain is located receives the input information, checking the input information, storing the input information into the memory pool after the checking is completed, and updating the hash tree used for recording the input information; then, updating the update time stamp to the time of receiving the input information, trying different random numbers, and calculating the characteristic value for a plurality of times, so that the calculated characteristic value can meet the following formula:
SHA256(SH256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
wherein SHA256 is a eigenvalue algorithm used to calculate eigenvalues; version (version number) is version information of the related block protocol in the block chain; the prev_hash is the block header characteristic value of the parent block of the current block; the merkle_root is a characteristic value of input information; ntime is the update time of the update timestamp; the nbits is the current difficulty, is a fixed value in a period of time, and is determined again after exceeding a fixed period of time; x is a random number; TARGET is a eigenvalue threshold that can be determined from nbits.
Thus, when the random number meeting the formula is calculated, the information can be correspondingly stored to generate the block head and the block main body, and the current block is obtained. And then, the node where the blockchain is located sends the newly generated blocks to other nodes in the data sharing system where the newly generated blocks are located according to the node identification of other nodes in the data sharing system, the other nodes verify the newly generated blocks, and the newly generated blocks are added into the blockchain stored in the newly generated blocks after the verification is completed.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or all or part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a session connection management device, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (10)

1. A method for managing session connection, comprising:
acquiring a plurality of session connections detected by a master control process;
analyzing the characteristic information of the session connection through the main control process, and determining a characteristic hash value corresponding to the session connection;
analyzing the characteristic hash value through the main control process, collecting multi-item label connection belonging to a target session in the session connection, and distributing the target connection to a target execution process corresponding to the target session;
and receiving service data transferred by the target connection based on the target execution process so as to execute the target session according to the service data.
2. The method according to claim 1, wherein the parsing, by the master process, the feature hash value, collecting multiple target connections belonging to a target session in the session connection, and distributing the target connection to a target execution process corresponding to the target session, includes:
analyzing the characteristic hash value through the main control process, and forming a consistent hash node ring by using at least two session connections as data nodes;
calculating a target position on the consistent hash node ring corresponding to the target session according to a consistent hash algorithm;
searching along the consistent hash node ring from the target position, and correlating based on the encountered data nodes to determine the target connection corresponding to the target session;
and distributing the target connection to the target execution process corresponding to the target session.
3. The method of claim 1, wherein the receiving traffic data communicated by the target connection based on the target execution process to execute the target session in accordance with the traffic data comprises:
determining an initial connection associated with the target connection;
Analyzing the socket corresponding to the initial connection to obtain a port descriptor corresponding to the initial connection;
determining a data address according to the port descriptor;
performing data migration based on the data address to receive the service data transmitted by the target connection based on the target execution process;
and executing the target session according to the service data.
4. A method according to claim 3, characterized in that the method further comprises:
determining a protocol type corresponding to the initial connection;
if the protocol type indicates that the socket corresponding to the initial connection has connection characteristics, analyzing the socket corresponding to the initial connection to obtain double-end quadruple information corresponding to the initial connection;
performing data migration based on the double-end quadruple information so as to receive the service data transmitted by the target connection through the target execution process;
and executing the target session according to the service data.
5. The method according to claim 4, wherein the method further comprises:
if the protocol type indicates that the initial connection has no connection characteristic, binding double-end four-tuple information corresponding to the initial connection in a main control process;
Responding to the determination of the target session, and extracting double-end quadruple information corresponding to the initial connection from the main control process;
performing data migration based on the double-end quadruple information corresponding to the initial connection so as to receive the service data transmitted by the target connection based on the target execution process;
and executing the target session according to the service data.
6. The method of claim 1, wherein the receiving traffic data communicated by the target connection based on the target execution process to execute the target session in accordance with the traffic data comprises:
receiving the service data transmitted by the target connection based on the target execution process, and determining order information of the target connection for the target session;
if the order information indicates that the target connection is the first connection, the target session is created;
and executing the target session according to the service data.
7. A session connection management apparatus, comprising:
the acquisition unit is used for acquiring a plurality of session connections detected by the main control process;
the determining unit is used for analyzing the characteristic information of the session connection through the main control process and determining a characteristic hash value corresponding to the session connection;
The determining unit is further configured to parse the feature hash value through the master control process, collect multiple target connections belonging to a target session in the session connection, and distribute the target connection to a target execution process corresponding to the target session;
and the management unit is used for receiving the service data corresponding to the target session based on the target execution process so as to execute the target session according to the service data.
8. A computer device, the computer device comprising a processor and a memory:
the memory is used for storing program codes; the processor is configured to execute the session connection management method according to any one of claims 1 to 6 according to instructions in the program code.
9. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the method of managing session connections according to any of the preceding claims 1 to 6.
10. A computer readable storage medium storing executable instructions which when executed by a processor implement the method of managing session connections of any one of claims 1 to 6.
CN202210111694.0A 2022-01-29 2022-01-29 Session connection management method and related device Pending CN116567053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210111694.0A CN116567053A (en) 2022-01-29 2022-01-29 Session connection management method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210111694.0A CN116567053A (en) 2022-01-29 2022-01-29 Session connection management method and related device

Publications (1)

Publication Number Publication Date
CN116567053A true CN116567053A (en) 2023-08-08

Family

ID=87491992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210111694.0A Pending CN116567053A (en) 2022-01-29 2022-01-29 Session connection management method and related device

Country Status (1)

Country Link
CN (1) CN116567053A (en)

Similar Documents

Publication Publication Date Title
US9923786B2 (en) System and method for performing a service discovery for virtual networks
EP3815328B1 (en) Scalable sockets for quic
CN114024880B (en) Network target range probe acquisition method and system based on proxy IP and flow table
US20230070702A1 (en) Data transmission method and apparatus, computer readable medium, and electronic device
CN110502259B (en) Server version upgrading method, video networking system, electronic equipment and storage medium
CN109634988B (en) Monitoring polling method and device
CN110086850B (en) File processing method and video network disk system
CN109196842B (en) Session keeping method, device and storage medium
CN112953850B (en) Data transmission method and device, computer readable medium and electronic equipment
CN115209231B (en) Data transmission method, device, equipment and computer readable storage medium
EP4221233A1 (en) Data download method and apparatus, computer device and storage medium
WO2023061060A1 (en) Audio and video code stream scheduling method, system, medium and electronic apparatus
CN106716974B (en) Access distribution method, device and system
CN114389792B (en) WEB log NAT (network Address translation) front-back association method and system
CN113115120B (en) Video slicing method and device, electronic equipment and storage medium
CN110839142B (en) Monitoring directory sharing method and device
WO2016110258A1 (en) User data storing method and device
CN110545230A (en) method and device for forwarding VXLAN message
CN107483628B (en) DPDK-based one-way proxy method and system
CN112398754B (en) Data transmission method, device, medium, electronic equipment and network access equipment
CN108460044B (en) Data processing method and device
CN116567053A (en) Session connection management method and related device
CN114866827B (en) Audio and video synchronization detection method and device, storage medium and electronic equipment
CN116503498A (en) Picture rendering method and related device
CN114980359A (en) Data forwarding method, device, equipment, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40091122

Country of ref document: HK