WO2022166608A1 - 一种基于quic协议的服务升级方法、装置及电子设备 - Google Patents

一种基于quic协议的服务升级方法、装置及电子设备 Download PDF

Info

Publication number
WO2022166608A1
WO2022166608A1 PCT/CN2022/073052 CN2022073052W WO2022166608A1 WO 2022166608 A1 WO2022166608 A1 WO 2022166608A1 CN 2022073052 W CN2022073052 W CN 2022073052W WO 2022166608 A1 WO2022166608 A1 WO 2022166608A1
Authority
WO
WIPO (PCT)
Prior art keywords
socket
network
network connection
listening
upgrade
Prior art date
Application number
PCT/CN2022/073052
Other languages
English (en)
French (fr)
Inventor
张冬冬
Original Assignee
北京金山云网络技术有限公司
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 北京金山云网络技术有限公司 filed Critical 北京金山云网络技术有限公司
Publication of WO2022166608A1 publication Critical patent/WO2022166608A1/zh

Links

Images

Classifications

    • 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/164Adaptation or special uses of UDP protocol
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • 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/141Setup of application sessions
    • 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]
    • 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

Definitions

  • the present disclosure relates to the technical field of data communication, and in particular, to a service upgrade method, device and electronic device based on the QUIC protocol.
  • UDP User Datagram Protocol
  • QUIC Quick UDP Internet Connections
  • the present disclosure provides a service upgrade method, apparatus and electronic device based on the QUIC protocol.
  • the present disclosure provides a service upgrade method based on the QUIC protocol, including: when a first process receives an upgrade notification, querying a listening socket in a state of waiting for a connection; wherein the upgrade notification is issued after the second process is started obtain the first socket corresponding to the first network connection for which the network request has been processed; send the listening socket and the first socket to the second process, so that the second The process establishes a network connection with the client according to the listening socket and the first socket.
  • the step of obtaining the first socket corresponding to the first network connection that has processed the network request includes: in the currently established network connection, querying the first network that has processed the network request. Connect; determine the connected socket corresponding to the first network connection as the first socket.
  • the method further includes: in the currently established network connection, querying the second network connection that has not processed the completed network request; determining the connected socket corresponding to the second network connection as the first network connection. Two sockets.
  • the method further includes: receiving a network request from the client; judging that the socket corresponding to the network request is the listening socket, the first socket or the second socket. socket; in the case of the second socket, the first process responds to the network request; in the case of the listening socket or the first socket, the The first process sends a response notification to the second process so that the second process responds to the network request.
  • the method further includes: closing the acquired listening socket and the first socket.
  • the method further includes: judging whether there is an unprocessed network request; and determining to perform an exit operation if there is no unprocessed network request.
  • the step of sending the listening socket and the first socket to the second process includes: sending the listening socket and the first socket to the second process through inter-process communication. A socket is sent to the second process.
  • the present disclosure also provides a service upgrade device based on the QUIC protocol, comprising: a notification receiving module, configured to query a listening socket in a state of waiting for connection when the first process receives the upgrade notification; wherein, the upgrade notification It is sent after the second process is started; the socket acquisition module is set to obtain the first socket corresponding to the first network connection that has completed the network request; the socket sending module is set to word and the first socket are sent to the second process, so that the second process establishes a network connection with the client according to the listening socket and the first socket.
  • a notification receiving module configured to query a listening socket in a state of waiting for connection when the first process receives the upgrade notification
  • the upgrade notification It is sent after the second process is started
  • the socket acquisition module is set to obtain the first socket corresponding to the first network connection that has completed the network request
  • the socket sending module is set to word and the first socket are sent to the second process, so that the second process establishes a network connection with the client according to the listening socket and the first socket
  • the present disclosure also provides an electronic device, including: a processor and a storage device; a computer program is stored on the storage device, and the computer program executes the above method when executed by the processor.
  • the present disclosure also provides a computer-readable storage medium, where a computer program is stored thereon, and the computer program executes the steps of the above method when the computer program is executed by a processor.
  • the embodiments of the present disclosure provide a service upgrade method, device, and electronic device based on the QUIC protocol.
  • first process receives that the second process is started When sending an upgrade notification, first query the listening socket in the waiting state for connection, and obtain the first socket corresponding to the first network connection that has processed the completed network request; then compare the listening socket and the first socket Sent to the second process, so that the second process establishes a network connection with the client according to the listening socket and the first socket.
  • the listening socket and the first socket acquired by the first process are both idle sockets that do not need to process network requests at present; when the first process receives an upgrade notification from the second process , sending the above idle socket to the second process can ensure that the network connection will not be interrupted due to the upgrade of the QUIC protocol, which effectively improves the problem of service flashing; moreover, the above upgrade method does not require additional machines and is easy to deploy.
  • FIG. 1 is a flowchart of a service upgrade method based on the QUIC protocol according to an embodiment of the present disclosure
  • Fig. 2 is the scene schematic diagram of the service upgrade method based on QUIC protocol described in the embodiment of the present disclosure
  • FIG. 3 is a structural block diagram of a service upgrade apparatus based on the QUIC protocol according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
  • this embodiment provides a service upgrade method based on the QUIC protocol, Devices and electronic equipment, the technology can be applied to QUIC protocol-based application services such as audio and video playback, audio and video calls, and browsers.
  • QUIC protocol-based application services such as audio and video playback, audio and video calls, and browsers.
  • FIG. 1 is a flowchart of a service upgrade method based on the QUIC protocol provided by an embodiment of the present disclosure. This embodiment is applicable to the situation of server process update.
  • the method can be performed by a server process update device, and specifically includes the following steps:
  • Step S102 when the first process receives the upgrade notification, inquires about the listening socket in a state of waiting for connection; wherein, the upgrade notification is sent after the second process is started. It can be understood that the first process is the old process, and the second process is the new process after the upgrade is completed.
  • the second process When the first process performs a network connection based on the QUIC protocol, the second process is started and the network monitoring of the second process is started. After the second process is successfully started, an upgrade notification is sent to the first process, and after receiving the upgrade notification, the first process transfers the socket satisfying the preset idle condition to the second process.
  • the above socket can use fd (file descriptor, file descriptor); the above preset idle condition refers to the need to ensure that the socket is transmitted from the first process to the second process before and after the network connection established based on the socket. There is no data transfer.
  • the listening socket (represented by accept fd) is a socket in a state of waiting for connection. It monitors the network status in real time and waits for the connection request of the client; that is to say, the listening socket does not establish a network connection with the client, and does not There is data transmission, so the listening socket is a socket that satisfies the above preset idle condition.
  • Step S104 acquiring the first socket corresponding to the first network connection for which the network request has been processed.
  • the socket when the socket listens to the connection request of the client and responds to the connection request, it will establish a network connection with the client; in this case, the socket that establishes the network connection is called a connected socket Connection (can be represented by connect fd).
  • the first process may include one or more network connections, each of which corresponds to a connected socket. The first process queries whether there is an unprocessed network request or network response on the network connection, so as to obtain a network connection corresponding to no unprocessed network request or network response, and determines the obtained network connection as a processed network request. the first network connection; and then use the connected socket corresponding to the first network connection as the first socket.
  • Step S106 sending the monitoring socket and the first socket to the second process, so that the second process establishes a network connection with the client according to the monitoring socket and the first socket.
  • the first process sends the listening socket and the first socket to the second process.
  • the second process continues to perform the network connection switched by the first process according to the received first socket; and, the second process continues to monitor the network state according to the received listening socket.
  • the second process processes the client's new connection request through the listening socket, and establishes a new network connection with the client.
  • the second process continues the network connection of the first process through the first socket, which can ensure that the network connection will not be interrupted when the new process and the old process are switched.
  • the socket establishes a new network connection, and it is easy to achieve a smooth upgrade. For users, it will not be affected by the network upgrade.
  • the first process when the first process receives the upgrade notification sent after the second process is started, it first obtains the listening socket and the first socket that satisfy the idle condition; The listening socket and the first socket are sent to the second process, so that the second process establishes a network connection with the client based on the listening socket and the first socket.
  • the listening socket and the first socket obtained by the first process are both sockets that do not need to process network requests at present; when the first process receives the upgrade notification from the second process, it will The above-mentioned sockets that do not need to process network requests are sent to the second process, which can ensure that the network connection will not be interrupted due to the upgrade of the QUIC protocol, which effectively improves the problem of service flashing; moreover, the above-mentioned upgrade method does not require additional machines and is easy to deploy.
  • the method may include the following steps 1 to 5:
  • Step 1 when the first process is connected to the network, start the second process; after the second process is successfully started, an upgrade notification is sent to the first process.
  • Step 2 the first process queries the listening socket in the socket waiting state according to the upgrade notification.
  • Step 3 Obtain the first socket corresponding to the first network connection for which the network request has been processed.
  • the first network connection that has already processed the network request is queried.
  • some network connections may have outstanding network requests, and some network connections may not have outstanding network requests.
  • the network connection is determined as the first network connection; for example, when there is no block data (such as video stream) being transmitted on the network connection, the network connection is The connection is determined to be the first network connection. After that, the connected socket corresponding to the first network connection is determined as the first socket.
  • Step 4 close the acquired listening socket and the first socket.
  • the monitoring socket and the first socket after the monitoring socket and the first socket are obtained by query, the monitoring socket and the first socket can be closed at the same time; It can be changed at any time. Therefore, after each monitoring socket or the first socket is queried, the monitored monitoring socket or the first socket that has been queried can be closed accordingly.
  • Closing the listening socket and the first socket can be understood that the first process closes the processing of the network request of the client by the first socket, thereby cutting off the first network connection of the first process. And, the first process closes the monitoring socket for monitoring the client's connection request.
  • Step 5 the first process sends the listening socket and the first socket to the second process through inter-process communication (UDS, Unix Domain Socket).
  • UDS Unix Domain Socket
  • the second process establishes a new and process the new network request; meanwhile, the first process continues to process the network request through the network connection that has not yet processed the completed network request.
  • the first process and the second process can monitor the same port at the same time, and when the network request from the client is monitored, the first process or the second process responds network request.
  • the first process may also query the currently established network connection for a second network connection that has not yet completed the network request, and determine the connected socket corresponding to the second network connection as the second network connection. socket.
  • the service upgrade method based on the QUIC protocol may further include the following steps (1)-(4):
  • the client's socket first describes the server-side socket it wants to connect to, and points out the parameters of the server-side socket, which can include the address and port of the socket. number, and then send a network request carrying the above address and port number to the server-side socket.
  • the first process responds to the network request.
  • the second socket is a connected socket corresponding to the second network connection that has not yet processed and completed the network request. If it is determined to be the second socket, it means that the corresponding network connection has not yet processed and completed the network request. Therefore, in order to ensure the stability of the network service, the network request may be allocated to the first process based on the user-mode accept mechanism, and the first process will continue to process the network request.
  • the first process sends a response notification to the second process, so that the second process responds to the network request.
  • the socket corresponding to the network request is the listening socket or the first socket that has been sent to the second process, and the network connection corresponding to the listening socket or the first socket has not been processed yet. network request. Therefore, the network request may be allocated to the second process based on the user-mode accept mechanism, and the second process will continue to process the network request without affecting the network service at this time.
  • the first process and the second process monitor the network status at the same time, the first process continues to process the unfinished network request through the second socket, and the second process monitors the socket and the first socket through the Processing new network requests to achieve stable and smooth upgrade of the QUIC protocol, effectively improving the problem of service interruptions.
  • the service upgrade method based on the QUIC protocol further includes exiting the first process.
  • An implementation manner of exiting the first process may refer to the following: the first process determines whether there is an unprocessed network request; if there is no unprocessed network request, it is determined to perform an exit operation.
  • the first process determines whether there is a network connection that has not yet processed and completed the network request; if there is no network connection that has not processed the completed network request, it means that the first process has completed all network requests, and exits at this time The stability of the network service is not affected, so the exit operation is determined to be performed. Of course, if there are still unprocessed network requests, the network connection for which the unprocessed network requests are not processed is determined as the above-mentioned second network connection, and the network request is continued to be processed through the second network connection.
  • an exit notification sent by the second process may also be received first; for example, after receiving at least one first socket, the second process sends an exit notification to the first process, Or the second process sends an exit notification to the first process after establishing a new network connection with the client based on the listening socket or the first socket.
  • the first process determines whether there is an unprocessed network request, and if not, determines to execute the exit operation.
  • this embodiment provides a specific embodiment of a service upgrade method based on the QUIC protocol by taking a network service of live video as an example.
  • the client may be a terminal device such as a mobile phone, a computer, or an iPad for live broadcast, and there may be multiple clients, such as client ipA: 1234 and client ipB: 4567.
  • the connect API binds the client to the corresponding socket; referring to the routing table in the Linux net kernel (Linux system network kernel), the sockets recorded in the first and second lines are bound to the client ipA: 1234 Socket, and the socket recorded in the first line is a listening socket, the socket recorded in the second line is a connected socket; the socket recorded in the third and fourth lines is with the client ipB: 4567 bound socket, and the socket recorded in the third line is the connected socket, and the socket recorded in the fourth line is the listening socket.
  • Linux net kernel Linux net kernel
  • the first process sends the listening socket and the first socket of the connected socket to the second process through the UDS; wherein, the acquisition process of the first socket can refer to the above-mentioned embodiment, which will not be expanded here. describe.
  • the first process and the second process of the server monitor the port at the same time.
  • the network request is such as a live broadcast push request, and parse the multimedia data and socket parameters carried in the live broadcast push request; according to the set The parameter of the connection determines to assign the live broadcast push request to the first process or the second process.
  • the second process establishes a new network connection with the client through the socket, and uploads the multimedia data to the CDN (Content Delivery Network), so that the client's Multimedia data is pushed to other clients.
  • CDN Content Delivery Network
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the apparatus includes:
  • the notification receiving module 302 is configured to query the listening socket in a state of waiting for connection when the first process receives the upgrade notification; wherein, the upgrade notification is sent after the second process is started; the socket acquisition module 304 is configured as Obtain the first socket corresponding to the first network connection for which the network request has been processed; the socket sending module 306 is configured to send the listening socket and the first socket to the second process, so that the second process Establish a network connection with the client according to the listening socket and the first socket.
  • the listening socket and the first socket obtained by the first process are both sockets that do not need to process network requests at present;
  • sending the above-mentioned socket that does not need to handle network requests to the second process can ensure that the network connection will not be interrupted due to the upgrade of the QUIC protocol, which effectively improves the problem of service flashing; moreover, the above upgrade method does not require Additional machines, easy to deploy.
  • the socket obtaining module 304 is specifically set to: in the currently established network connection, query the first network connection that has completed the network request; Determined as the first socket.
  • the socket obtaining module 304 may be further configured to: in the currently established network connection, query the second network connection for which the network request has not been processed; word identified as the second socket.
  • the above-mentioned device further includes a judgment module (not shown in the figure); the judgment module is set to: receive a network request from a client; judge that the socket corresponding to the network request is a listening socket, a first set of connection or the second socket; in the case of the second socket, the first process responds to the network request; in the case of the listening socket or the first socket, the first process sends a response notification to the second process, so that the second process responds to the network request.
  • the judgment module is set to: receive a network request from a client; judge that the socket corresponding to the network request is a listening socket, a first set of connection or the second socket; in the case of the second socket, the first process responds to the network request; in the case of the listening socket or the first socket, the first process sends a response notification to the second process, so that the second process responds to the network request.
  • the above-mentioned apparatus further includes a closing module (not shown in the figure); the closing module is configured to: close the acquired listening socket and the first socket.
  • the above-mentioned apparatus further includes an exit module (not shown in the figure); the exit module is configured to: determine whether there is an unprocessed network request; in the case of no unprocessed network request, determine Perform an exit operation.
  • the socket sending module 306 is specifically configured to send the listening socket and the first socket to the second process through inter-process communication.
  • this embodiment provides an electronic device, referring to the schematic structural diagram of the electronic device shown in FIG. 4 , which includes: a processor 402 and a storage device 404 ; the storage device 404 stores a computer program, and the computer program When executed by the processor 402, the method provided in the first embodiment above is executed.
  • this embodiment further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the method provided in the first embodiment above are executed.
  • the service upgrade method based on the QUIC protocol provided by the present disclosure can ensure that the network connection will not be interrupted due to the upgrade of the QUIC protocol, which effectively improves the problem of service flashing; moreover, the above upgrade method does not require additional machines, is easy to deploy, and has strong advantages Industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

本公开涉及一种基于QUIC协议的服务升级方法、装置及电子设备,涉及数据通讯技术领域,包括:当第一进程接收到升级通知时,查询处于等待连接状态的监听套接字;其中,升级通知为第二进程启动后发出的;获取已处理完成网络请求的第一网络连接对应的第一套接字;将监听套接字和第一套接字发送给第二进程,以使第二进程根据监听套接字和第一套接字与客户端建立网络连接。本公开能够保证不会因为QUIC协议升级而中断网络连接,有效改善了服务闪断的问题。

Description

一种基于QUIC协议的服务升级方法、装置及电子设备
本公开要求于2021年02月08日提交中国专利局、申请号为202110184283.X、发明名称为“一种基于QUIC协议的服务升级方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及数据通讯技术领域,尤其涉及一种基于QUIC协议的服务升级方法、装置及电子设备。
背景技术
用户数据报协议(User Datagram Protocol,简称UDP)是一种无连接的传输层协议,快速UDP互联网连接协议(Quic UDP Internet Connections,简称QUIC)是一种使用UDP进行多路并发传输的协议。
随着技术的发展,基于QUIC协议的服务升级已逐渐成为需要经常进行的操作。由于QUIC协议基于的UDP不具有接入(accept)机制,不能像基于TCP的协议栈那样容易的实现平滑升级,因此目前还没有可用的升级方式,只能通过AB升级或者滚动升级。然而,AB升级模式在升级过程需要额外机器,滚动升级模式存在服务闪断的问题,影响用户的使用体验。
发明内容
(一)要解决的技术问题
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种基于QUIC协议的服务升级方法、装置及电子设备。
(二)技术方案
本公开提供了一种基于QUIC协议的服务升级方法,包括:当第一进程接收到升级通知时,查询处于等待连接状态的监听套接字;其中, 所述升级通知为第二进程启动后发出的;获取已处理完成网络请求的第一网络连接对应的第一套接字;将所述监听套接字和所述第一套接字发送给所述第二进程,以使所述第二进程根据所述监听套接字和所述第一套接字与客户端建立网络连接。
在一实施方式中,所述获取已处理完成网络请求的第一网络连接对应的第一套接字的步骤,包括:在当前已建立的网络连接中,查询已处理完成网络请求的第一网络连接;将所述第一网络连接对应的已连接套接字确定为第一套接字。
在一实施方式中,所述方法还包括:在当前已建立的网络连接中,查询未处理完成网络请求的第二网络连接;将所述第二网络连接对应的已连接套接字确定为第二套接字。
在一实施方式中,所述方法还包括:接收所述客户端的网络请求;判断所述网络请求对应的套接字为所述监听套接字、所述第一套接字或所述第二套接字;在为所述第二套接字的情况下,所述第一进程响应所述网络请求;在为所述监听套接字或所述第一套接字的情况下,所述第一进程发送响应通知至所述第二进程,以使所述第二进程响应所述网络请求。
在一实施方式中,所述方法还包括:关闭获取的所述监听套接字和所述第一套接字。
在一实施方式中,所述方法还包括:判断是否有未处理完成的网络请求;在没有未处理完成的网络请求的情况下,确定执行退出操作。
在一实施方式中,所述将所述监听套接字和所述第一套接字发送给所述第二进程的步骤,包括:通过进程间通信将所述监听套接字和所述第一套接字发送给所述第二进程。
本公开还提供了一种基于QUIC协议的服务升级装置,包括:通知接收模块,设置为当第一进程接收到升级通知时,查询处于等待连接状态的监听套接字;其中,所述升级通知为第二进程启动后发出的;套接字获取模块,设置为获取已处理完成网络请求的第一网络连接对应的第一套接字;套接字发送模块,设置为将所述监听套接字和所述第一套接字发送给所述第二进程,以使所述第二进程根据所述监听套 接字和所述第一套接字与客户端建立网络连接。
本公开还提供了一种电子设备,包括:处理器和存储装置;所述存储装置上存储有计算机程序,所述计算机程序在被所述处理器运行时执行上述方法。
本公开还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行上述方法的步骤。
(三)有益效果
本公开实施例提供的上述技术方案与相关技术相比具有如下优点:本公开实施例提供了一种基于QUIC协议的服务升级方法、装置及电子设备,当第一进程接收到第二进程启动后发出的升级通知时,首先查询处于等待连接状态的监听套接字,以及获取已处理完成网络请求的第一网络连接对应的第一套接字;然后将监听套接字和第一套接字发送给第二进程,以使第二进程根据监听套接字和第一套接字与客户端建立网络连接。在本公开实施例中,第一进程获取的监听套接字和第一套接字,均为当前无需处理网络请求的空闲的套接字;第一进程在接收到第二进程的升级通知时,将上述空闲的套接字发送给第二进程,能够保证不会因为QUIC协议升级而中断网络连接,有效改善了服务闪断的问题;而且,上述升级方式无需额外机器,易于部署。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例所述基于QUIC协议的服务升级方法流程图;
图2为本公开实施例所述基于QUIC协议的服务升级方法的场景示 意图;
图3为本公开实施例所述基于QUIC协议的服务升级装置结构框图;
图4为本公开实施例所述电子设备的结构示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
考虑到目前的升级方案中,诸如AB升级或者滚动升级的升级方式,均不能较好地实现针对基于QUIC协议的服务升级;基于此,本实施例提供了一种基于QUIC协议的服务升级方法、装置及电子设备,该技术可应用于音视频播放、音视频通话和浏览器等基于QUIC协议的应用服务上。为便于理解,以下对本公开实施例进行详细介绍。
实施例一:
图1为本公开实施例提供的一种基于QUIC协议的服务升级方法流程图,本实施例可适用于服务器进程更新的情况,该方法可以由服务器进程更新装置来执行,具体包括如下步骤:
步骤S102,当第一进程接收到升级通知时,查询处于等待连接状态的监听套接字;其中,升级通知为第二进程启动后发出的。可以理解,第一进程为旧进程,第二进程为升级完成后的新进程。
在第一进程进行基于QUIC协议的网络连接时,启动第二进程并且启动第二进程的网络监听。第二进程启动成功后向第一进程发送升级通知,第一进程接收到升级通知后,将满足预设空闲条件的套接字传递给第二进程。其中,上述套接字可以采用fd(file descriptor,文件描述符);上述预设空闲条件是指需要保证套接字由第一进程传递至第二进程前后,在基于套接字建立的网络连接上没有数据的传输。
监听套接字(可采用accept fd表示)是处于等待连接状态的套接字,它实时监听网络状态,等待客户端的连接请求;也就是说,监 听套接字未与客户端建立网络连接,不存在数据的传输,从而监听套接字为满足上述预设空闲条件的套接字。
步骤S104,获取已处理完成网络请求的第一网络连接对应的第一套接字。
在本实施例中,当套接字监听到客户端的连接请求,并响应该连接请求时,会建立与客户端的网络连接;在此情况下,将建立网络连接的套接字称为已连接套接字(可采用connect fd表示)。第一进程中可以包括一个或多个网络连接,每个网络连接对应一个已连接套接字。第一进程查询网络连接上是否尚有未处理完成的网络请求或网络响应,以得到没有未处理完成的网络请求或网络响应对应的网络连接,并将得到的网络连接确定为已处理完成网络请求的第一网络连接;进而将第一网络连接对应的已连接套接字作为第一套接字。
步骤S106,将监听套接字和第一套接字发送给第二进程,以使第二进程根据监听套接字和第一套接字与客户端建立网络连接。
第一进程将监听套接字和第一套接字发送给第二进程。第二进程根据接收到的第一套接字继续进行由第一进程切换来的网络连接;以及,第二进程根据接收到的监听套接字继续监听网络状态,当监听到客户端的新的连接请求时,第二进程通过该监听套接字处理客户端的新的连接请求,与客户端建立新的网络连接。在本实施例中,第二进程通过第一套接字继续第一进程的网络连接,能够保证网络连接在新、旧进程切换时,不会发生网络服务闪断;进一步结合第二进程利用监听套接字建立新的网络连接,容易实现平滑升级,对于用户而言,不会因为网络升级而受到影响。
本公开实施例提供的基于QUIC协议的服务升级方法,当第一进程接收到第二进程启动后发出的升级通知时,首先获取满足空闲条件的监听套接字和第一套接字;然后将监听套接字和第一套接字发送给第二进程,以使第二进程基于监听套接字和第一套接字与客户端建立网络连接。在本公开实施例中,第一进程获取的监听套接字和第一套接字,均为当前无需处理网络请求的套接字;第一进程在接收到第二进程的升级通知时,将上述无需处理网络请求的套接字发送给第二进程, 能够保证不会因为QUIC协议升级而中断网络连接,有效改善了服务闪断的问题;而且,上述升级方式无需额外机器,易于部署。
根据本公开又一个方面的基于QUIC协议的服务升级方法,该方法可以包括如下步骤1至步骤5:
步骤1,在第一进程进行网络连接时,启动第二进程;第二进程启动成功后向第一进程发送升级通知。
步骤2,第一进程根据升级通知,查询套接字中处于等待连接状态的监听套接字。
步骤3,获取已处理完成网络请求的第一网络连接对应的第一套接字。
具体的,首先在当前已建立的网络连接中,查询已处理完成网络请求的第一网络连接。在当前已建立的网络连接中,有些网络连接可能有尚未处理完成的网络请求,有些网络连接则可能没有未处理完成的网络请求。基于此,当网络连接上没有尚未处理完成的请求或者响应时,将该网络连接确定为第一网络连接;比如,当网络连接上没有正在传输的块数据(如视频流)时,将该网络连接确定为第一网络连接。在此之后,将第一网络连接对应的已连接套接字确定为第一套接字。
第一网络连接上没有未处理完成的网络请求,此时将其对应的第一套接字发送给第二进程,由第二进程继承第一套接字的第一网络连接,第一网络连接上的服务不会被中断。
步骤4,关闭获取的监听套接字和第一套接字。
在具体实现时,可以在查询得到监听套接字和第一套接字之后,同时关闭监听套接字和第一套接字;或者,考虑到网络连接上处理网络请求完成与否的状态是随时变化的,从而,可以每查询到监听套接字或第一套接字后,即相应关闭查询到的监听套接字或第一套接字。
关闭监听套接字和第一套接字,对此可以理解为,第一进程关闭第一套接字对客户端的网络请求的处理,从而切断第一进程的第一网络连接。以及,第一进程关闭监听套接字对客户端的连接请求的监听。
步骤5,第一进程通过进程间通信(UDS,Unix Domain Socket) 将监听套接字和第一套接字发送给第二进程。
至此,为了保证网络服务不会被中断,会出现第一进程和第二进程都在进行网络监听的情况,具体为:第二进程根据监听套接字和第一套接字与客户端建立新的网络连接,并对新的网络请求进行处理;同时,第一进程通过尚未处理完成网络请求的网络连接继续对网络请求进行处理。
在本实施例中,可以基于linux内核reuseport(套接字复用机制),第一进程和第二进程同时监听同一端口,当监听到客户端的网络请求时,由第一进程或者第二进程响应网络请求。
在一种实施例中,第一进程还可以在当前已建立的网络连接中,查询未处理完成网络请求的第二网络连接,并将第二网络连接对应的已连接套接字确定为第二套接字。
在此基础上,基于QUIC协议的服务升级方法还可以包括如下步骤(1)-(4):
(1)接收客户端的网络请求;在实际应用中,客户端的套接字首先描述它要连接的服务器端套接字,指出服务器端套接字的参数,参数可以包括套接字的地址和端口号,然后向服务器端套接字发送携带上述地址和端口号的网络请求。
(2)判断网络请求对应的套接字为监听套接字、第一套接字或第二套接字。具体的,根据网络请求中携带的地址和端口号,可以判断网络请求对应的套接字是监听套接字、第一套接字或者还是第二套接字。
(3)在网络请求对应的套接字为第二套接字的情况下,第一进程响应网络请求。第二套接字是未处理完成网络请求的第二网络连接对应的已连接套接字,在判断是第二套接字的情况下,表示对应的网络连接尚未处理完成网络请求。从而,为了保证网络服务的稳定性,可以基于用户态accept机制,将网络请求分配至第一进程,由第一进程继续对该网络请求进行处理。
(4)在网络请求对应的套接字为监听套接字或第一套接字的情况下,第一进程发送响应通知至第二进程,以使第二进程响应网络请求。 在此情况下,网络请求对应的套接字是已发送给第二进程的监听套接字或第一套接字,且监听套接字或第一套接字对应的网络连接没有未处理完成网络请求。从而,可以基于用户态accept机制,将网络请求分配至第二进程,由第二进程继续对该网络请求进行处理,此时不会对网络服务造成影响。
本实施例通过第一进程和第二进程同时监听网络状态,第一进程通过第二套接字对未完成处理的网络请求继续进行处理,第二进程通过监听套接字和第一套接字对新的网络请求进行处理,实现QUIC协议的稳定、平滑升级,有效改善了服务闪断的问题。
基于上述实施例,基于QUIC协议的服务升级方法还包括退出第一进程。退出第一进程的一种实现方式可参照如下所示:第一进程判断是否有未处理完成的网络请求;在没有未处理完成的网络请求的情况下,确定执行退出操作。
针对第一进程上的网络连接,第一进程判断是否存在尚未处理完成网络请求的网络连接;如果不存在尚未处理完成网络请求的网络连接,表示第一进程已完成全部的网络请求,此时退出不会影响网络服务的稳定性,从而确定执行退出操作。当然,如果还有未处理完成的网络请求,确定未处理完成网络请求的网络连接为上述第二网络连接,并通过第二网络连接继续处理网络请求。
在另一种退出第一进程的实现方式中,还可以首先接收第二进程发送的退出通知;比如:第二进程在接收到至少一个第一套接字后,向第一进程发送退出通知,或者第二进程基于监听套接字或第一套接字与客户端建立新的网络连接后,向第一进程发送退出通知。第一进程在接收到退出通知后,再判断是否有未处理完成的网络请求,并在没有的情况下,确定执行退出操作。
参照图2所示的服务升级场景示意图,本实施例以视频直播的网络服务为例,提供一种基于QUIC协议的服务升级方法的具体实施例。
参照图2,客户端可以为用于直播的手机、电脑或iPad等终端设备,且客户端可以为多个,诸如客户端ipA:1234和客户端ipB:4567。
在第一进程退出之前,也即在第一进程和第二进程均运行于服务 端的linux系统中,同时监听linux connect API(linux系统连接端口)的过程中,第一进程和第二进程通过linux connect API将客户端和对应的套接字进行绑定;参照Linux net kernel(Linux系统网络内核)中的路由表,第一、二行记录的套接字为与客户端ipA:1234绑定的套接字,且第一行记录的套接字为监听套接字,第二行记录的套接字为已连接套接字;第三、四行记录的套接字为与客户端ipB:4567绑定的套接字,且第三行记录的套接字为已连接套接字,第四行记录的套接字为监听套接字。
第一进程通过UDS将监听套接字和已连接套接字中的第一套接字发送给第二进程;其中,第一套接字的获取过程可参照上述实施例,在此不再展开描述。
服务端的第一进程和第二进程同时监听端口,当监听到客户端的网络请求时,该网络请求诸如为直播推送请求,解析该直播推送请求中携带的多媒体数据和套接字的参数;根据套接字的参数,确定将该直播推送请求分配给第一进程或第二进程。在此以分配给第二进程为例,第二进程通过套接字与客户端建立新的网络连接,并将多媒体数据上传至CDN(Content Delivery Network,内容分发网络),以通过CDN将客户端的多媒体数据推送至其他客户端。
实施例二:
基于上述实施例提供的基于QUIC协议的服务升级方法,参见图3所示的一种基于QUIC协议的服务升级装置的结构框图,该装置包括:
通知接收模块302,设置为当第一进程接收到升级通知时,查询处于等待连接状态的监听套接字;其中,升级通知为第二进程启动后发出的;套接字获取模块304,设置为获取已处理完成网络请求的第一网络连接对应的第一套接字;套接字发送模块306,设置为将监听套接字和第一套接字发送给第二进程,以使第二进程根据监听套接字和第一套接字与客户端建立网络连接。
本公开实施例提供的基于QUIC协议的服务升级装置,第一进程获取的监听套接字和第一套接字,均为当前无需处理网络请求的套接字; 第一进程在接收到第二进程的升级通知时,将上述无需处理网络请求的套接字发送给第二进程,能够保证不会因为QUIC协议升级而中断网络连接,有效改善了服务闪断的问题;而且,上述升级方式无需额外机器,易于部署。
在一种实施例中,套接字获取模块304具体设置为:在当前已建立的网络连接中,查询已处理完成网络请求的第一网络连接;将第一网络连接对应的已连接套接字确定为第一套接字。
在一种实施例中,套接字获取模块304还可以设置为:在当前已建立的网络连接中,查询未处理完成网络请求的第二网络连接;将第二网络连接对应的已连接套接字确定为第二套接字。
在一种实施例中,上述装置还包括判断模块(图中未示出);该判断模块设置为:接收客户端的网络请求;判断网络请求对应的套接字为监听套接字、第一套接字或第二套接字;在为第二套接字的情况下,第一进程响应网络请求;在为监听套接字或第一套接字的情况下,第一进程发送响应通知至第二进程,以使第二进程响应网络请求。
在一种实施例中,上述装置还包括关闭模块(图中未示出);该关闭模块设置为:关闭获取的监听套接字和第一套接字。
在一种实施例中,上述装置还包括退出模块(图中未示出);该退出模块设置为:判断是否有未处理完成的网络请求;在没有未处理完成的网络请求的情况下,确定执行退出操作。
在一种实施例中,套接字发送模块306具体设置为:通过进程间通信将监听套接字和第一套接字发送给第二进程。
本实施例所提供的装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,本实施例部分未提及之处,可参考前述实施例一中相应内容。
基于前述实施例,本实施例给出了一种电子设备,参照图4所示的电子设备的结构示意图,其包括:处理器402和存储装置404;存储装置404上存储有计算机程序,计算机程序在被处理器402运行时执行如上述实施例一所提供的方法。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁, 上述描述的电子设备的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在一实施方式中,本实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器运行时执行上述实施例一所提供方法的步骤。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。
工业实用性
本公开提供的基于QUIC协议的服务升级方法,能够保证不会因为QUIC协议升级而中断网络连接,有效改善了服务闪断的问题;而且,上述升级方式无需额外机器,易于部署,具有很强的工业实用性。

Claims (10)

  1. 一种基于QUIC协议的服务升级方法,包括:
    当第一进程接收到升级通知时,查询处于等待连接状态的监听套接字;其中,所述升级通知为第二进程启动后发出的;
    获取已处理完成网络请求的第一网络连接对应的第一套接字;
    将所述监听套接字和所述第一套接字发送给所述第二进程,以使所述第二进程根据所述监听套接字和所述第一套接字与客户端建立网络连接。
  2. 根据权利要求1所述的方法,其中,所述获取已处理完成网络请求的第一网络连接对应的第一套接字的步骤,包括:
    在当前已建立的网络连接中,查询已处理完成网络请求的第一网络连接;
    将所述第一网络连接对应的已连接套接字确定为第一套接字。
  3. 根据权利要求1所述的方法,其中,所述方法还包括:
    在当前已建立的网络连接中,查询未处理完成网络请求的第二网络连接;
    将所述第二网络连接对应的已连接套接字确定为第二套接字。
  4. 根据权利要求3所述的方法,其中,所述方法还包括:
    接收所述客户端的网络请求;
    判断所述网络请求对应的套接字为所述监听套接字、所述第一套接字或所述第二套接字;
    在为所述第二套接字的情况下,所述第一进程响应所述网络请求;
    在为所述监听套接字或所述第一套接字的情况下,所述第一进程发送响应通知至所述第二进程,以使所述第二进程响应所述网络请求。
  5. 根据权利要求1至4任一项所述的方法,其中,所述方法还包括:
    关闭获取的所述监听套接字和所述第一套接字。
  6. 根据权利要求1至5任一项所述的方法,其中,所述方法还包括:
    判断是否有未处理完成的网络请求;
    在没有未处理完成的网络请求的情况下,确定执行退出操作。
  7. 根据权利要求1所述的方法,其中,所述将所述监听套接字和所述第一套接字发送给所述第二进程的步骤,包括:
    通过进程间通信将所述监听套接字和所述第一套接字发送给所述第二进程。
  8. 一种基于QUIC协议的服务升级装置,包括:
    通知接收模块,设置为当第一进程接收到升级通知时,查询处于等待连接状态的监听套接字;其中,所述升级通知为第二进程启动后发出的;
    套接字获取模块,设置为获取已处理完成网络请求的第一网络连接对应的第一套接字;
    套接字发送模块,设置为将所述监听套接字和所述第一套接字发送给所述第二进程,以使所述第二进程根据所述监听套接字和所述第一套接字与客户端建立网络连接。
  9. 一种电子设备,包括:处理器和存储装置;
    所述存储装置上存储有计算机程序,所述计算机程序在被所述处理器运行时执行如权利要求1至7任一项所述的方法。
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行上述权利要求1至7任一项所述的方法的步骤。
PCT/CN2022/073052 2021-02-08 2022-01-20 一种基于quic协议的服务升级方法、装置及电子设备 WO2022166608A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110184283.X 2021-02-08
CN202110184283.XA CN114915669A (zh) 2021-02-08 2021-02-08 一种基于quic协议的服务升级方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2022166608A1 true WO2022166608A1 (zh) 2022-08-11

Family

ID=82741926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/073052 WO2022166608A1 (zh) 2021-02-08 2022-01-20 一种基于quic协议的服务升级方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN114915669A (zh)
WO (1) WO2022166608A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190199835A1 (en) * 2018-11-28 2019-06-27 Manasi Deval Quick user datagram protocol (udp) internet connections (quic) packet offloading
US20190327332A1 (en) * 2018-04-24 2019-10-24 NGINX, Inc. Passing Listener Sockets Between Web Server Processes
CN110381042A (zh) * 2019-07-01 2019-10-25 北京字节跳动网络技术有限公司 一种平滑重启服务的方法、装置、介质和电子设备
CN111756776A (zh) * 2020-07-28 2020-10-09 支付宝(杭州)信息技术有限公司 服务器、报文分配设备、程序交接系统以及程序交接的方法

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100464522C (zh) * 2007-05-17 2009-02-25 华为技术有限公司 一种进程升级的方法及进程升级系统
CN102299940A (zh) * 2010-06-25 2011-12-28 龚华清 一种不间断网络服务的软件升级方法
CN102508713B (zh) * 2011-10-12 2015-01-28 杭州华三通信技术有限公司 进程启动方法及装置
CN104216771B (zh) * 2013-05-30 2018-01-23 华为技术有限公司 软件程序的重启方法及装置
EP2940930A1 (en) * 2014-04-28 2015-11-04 Thomson Licensing Upgrading a gateway
CN106201566B (zh) * 2015-05-07 2019-08-23 阿里巴巴集团控股有限公司 利博伟特软件热升级方法及设备
CN106301820B (zh) * 2015-05-15 2020-03-10 阿里巴巴集团控股有限公司 一种基于网络连接服务的升级方法和装置
CN105100232B (zh) * 2015-07-14 2016-08-17 焦点教育科技有限公司 一种不中断服务的服务端程序平滑升级的方法
CN105450782B (zh) * 2016-01-15 2018-11-06 网宿科技股份有限公司 一种无丢包零停机重启网络服务的方法和系统
CN105808287B (zh) * 2016-02-25 2019-06-18 网宿科技股份有限公司 一种重启网络服务的方法及系统
US10868883B2 (en) * 2016-06-29 2020-12-15 Nicira, Inc. Upgrading a proxy that decouples network connections from an application during application's downtime
CN107147663A (zh) * 2017-06-02 2017-09-08 广东暨通信息发展有限公司 一种计算机集群系统的同步通讯方法和系统
US11223708B2 (en) * 2018-06-26 2022-01-11 Microsoft Technology Licensing, Llc Scalable sockets for QUIC
CN110233880B (zh) * 2019-05-23 2021-12-07 北京字节跳动网络技术有限公司 Udp数据包的传输方法、系统、介质和电子设备
CN111258739A (zh) * 2020-01-20 2020-06-09 上海米哈游天命科技有限公司 一种服务器进程更新方法、装置、服务器和介质
CN111338893B (zh) * 2020-02-20 2023-07-18 深圳市腾讯计算机系统有限公司 进程日志处理方法、装置、计算机设备以及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190327332A1 (en) * 2018-04-24 2019-10-24 NGINX, Inc. Passing Listener Sockets Between Web Server Processes
US20190199835A1 (en) * 2018-11-28 2019-06-27 Manasi Deval Quick user datagram protocol (udp) internet connections (quic) packet offloading
CN110381042A (zh) * 2019-07-01 2019-10-25 北京字节跳动网络技术有限公司 一种平滑重启服务的方法、装置、介质和电子设备
CN111756776A (zh) * 2020-07-28 2020-10-09 支付宝(杭州)信息技术有限公司 服务器、报文分配设备、程序交接系统以及程序交接的方法

Also Published As

Publication number Publication date
CN114915669A (zh) 2022-08-16

Similar Documents

Publication Publication Date Title
AU2007202859B9 (en) VoIP communication control method and access point apparatus
US9226002B2 (en) Method, device and system for realizing broadcast TV
WO2008141538A1 (fr) Procédé, dispositif et système servant à distribuer des données de fichier
WO2016177056A1 (zh) 用于视频会议的数据传输方法、装置及系统
US11051078B2 (en) Video distribution method and device
WO2021047448A1 (zh) 会话管理方法及设备
CN109818905B (zh) 一种传输层协议适配的方法、网元设备及系统
WO2022148363A1 (zh) 数据传输方法及数据传输服务器
WO2011144080A2 (zh) 一种通信的方法、系统及装置
WO2011160587A1 (zh) 一种双栈终端连接网络的方法及系统
WO2009021460A1 (fr) Procédé de rapport d'un résultat de mise en œuvre de politique, système de communication par réseau et équipement
CN105337814A (zh) 一种网络设备的连接方法、设备及系统
US20090094374A1 (en) Systems and methods providing lists of available streaming content
WO2014176990A1 (zh) 节点分配方法、装置及系统
WO2022166608A1 (zh) 一种基于quic协议的服务升级方法、装置及电子设备
CN101159597A (zh) 获取软件配置信息的方法、系统及相关设备
WO2013159492A1 (zh) 信息上报与下载的方法及系统
WO2016131250A1 (zh) 资源共享方法、装置及系统
WO2012028011A1 (zh) 一种会话监控方法及服务节点设备
US20020065918A1 (en) Method and apparatus for efficient and accountable distribution of streaming media content to multiple destination servers in a data packet network (DPN)
WO2015096058A1 (zh) 一种数据包处理方法和装置
WO2010094150A1 (zh) 动态关闭/打开sctp套接字监听连接功能的方法和装置
WO2015168993A1 (zh) 一种基于内容提供商与服务提供商分离的控制方法及装置
CN111338747A (zh) 一种数据通信方法、装置、终端设备和存储介质
WO2010069219A1 (zh) 一种p2p系统及种子查询方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22748887

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22748887

Country of ref document: EP

Kind code of ref document: A1