CN114827093A - Communication method, device, system and storage medium - Google Patents
Communication method, device, system and storage medium Download PDFInfo
- Publication number
- CN114827093A CN114827093A CN202110064807.1A CN202110064807A CN114827093A CN 114827093 A CN114827093 A CN 114827093A CN 202110064807 A CN202110064807 A CN 202110064807A CN 114827093 A CN114827093 A CN 114827093A
- Authority
- CN
- China
- Prior art keywords
- encryption
- decryption
- target
- session
- forwarding
- 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.)
- Granted
Links
- 230000006854 communication Effects 0.000 title claims abstract description 260
- 238000004891 communication Methods 0.000 title claims abstract description 255
- 238000000034 method Methods 0.000 title claims abstract description 83
- 230000008569 process Effects 0.000 claims abstract description 33
- 230000015654 memory Effects 0.000 claims description 42
- 238000012545 processing Methods 0.000 claims description 23
- 230000004044 response Effects 0.000 claims description 17
- 230000005540 biological transmission Effects 0.000 claims description 12
- 230000011664 signaling Effects 0.000 claims description 10
- 230000000977 initiatory effect Effects 0.000 claims description 9
- 238000011084 recovery Methods 0.000 abstract description 27
- 238000010586 diagram Methods 0.000 description 20
- 238000004590 computer program Methods 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000003993 interaction Effects 0.000 description 6
- 230000005291 magnetic effect Effects 0.000 description 6
- 125000004122 cyclic group Chemical group 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000005012 migration Effects 0.000 description 3
- 238000013508 migration Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002085 persistent effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 235000009470 Theobroma cacao Nutrition 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 244000240602 cacao Species 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Computer And Data Communications (AREA)
Abstract
本申请实施例提供一种通信方法、设备、系统及存储介质。在本申请实施例中,利用加/解密单元承担加/解密服务工作,从而可将加/解密服务从转发设备上分离出来,这保证了加密通信过程中的加/解密服务不会受到转发设备重启的影响;转发设备承担转发服务工作,并在转发过程中,将运行中会话的会话状态信息记录在存储单元中,基于此,转发设备重启后,可以存储单元中的会话状态信息为依据,进行会话恢复,从而可实现重启后自动恢复会话及恢复加/解密服务。据此,本申请实施例中,转发设备的重启不再会导致会话中断,用户对转发设备的重启基本无感知,从而可有效提高用户体验。
Embodiments of the present application provide a communication method, device, system, and storage medium. In the embodiment of the present application, the encryption/decryption unit is used to undertake the work of the encryption/decryption service, so that the encryption/decryption service can be separated from the forwarding device, which ensures that the encryption/decryption service in the encrypted communication process will not be affected by the forwarding device. The impact of restart; the forwarding device undertakes the forwarding service work, and records the session state information of the running session in the storage unit during the forwarding process. Based on this, after the forwarding device restarts, the session state information in the storage unit can be used as the basis, Session recovery is performed, so as to realize automatic recovery of sessions and recovery of encryption/decryption services after restarting. Accordingly, in the embodiment of the present application, the restart of the forwarding device will no longer cause session interruption, and the user is basically unaware of the restart of the forwarding device, thereby effectively improving user experience.
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种通信方法、设备、系统及存储介质。The present application relates to the field of communication technologies, and in particular, to a communication method, device, system, and storage medium.
背景技术Background technique
在RTC实时音视频通信过程中,SFU(Selective forwarding Unit,选择性转发单元)负责音视频媒体流的加/解密及转发处理,处于音视频通信系统的中心节点。In the RTC real-time audio and video communication process, the SFU (Selective forwarding Unit, selective forwarding unit) is responsible for the encryption/decryption and forwarding processing of audio and video media streams, and is the central node of the audio and video communication system.
SFU在发生崩溃、升级或扩容等很多情况下,需要进行重启。而SFU重启会导致RTC中的加/解密失效、会话中断,用户必须再重新建立会话,给用户带来不便,尤其是对于SFU负载的用户数量级较高的情况下,重启带来的损失更大。SFU needs to be restarted in many cases such as crash, upgrade or expansion. The SFU restart will cause the encryption/decryption in RTC to fail and the session to be interrupted. The user must re-establish the session, which brings inconvenience to the user, especially when the SFU load is higher than the order of magnitude of the user, the loss caused by the restart is even greater. .
发明内容SUMMARY OF THE INVENTION
本申请的多个方面提供一种通信方法、设备、系统及存储介质,用以实现加密通信服务的热重启。Various aspects of the present application provide a communication method, device, system, and storage medium for implementing a hot restart of an encrypted communication service.
本申请实施例提供一种通信系统,包括转发设备、加/解密单元和存储单元,所述转发设备与所述加/解密单元和所述存储单元通信连接;An embodiment of the present application provides a communication system, including a forwarding device, an encryption/decryption unit, and a storage unit, and the forwarding device is communicatively connected to the encryption/decryption unit and the storage unit;
所述转发设备,用于在对目标会话进行加密转发的过程中,将所述目标会话的会话状态信息记录在所述存储单元中,作为所述转发设备重启后恢复所述目标会话的依据;针对所述目标会话向所述加/解密单元发起加/解密服务请求;the forwarding device, configured to record the session state information of the target session in the storage unit in the process of encrypting and forwarding the target session, as a basis for restoring the target session after the forwarding device restarts; Initiating an encryption/decryption service request to the encryption/decryption unit for the target session;
所述加/解密单元,用于根据所述加/解密服务请求,对所述目标会话进行加/解密处理,以支持所述转发设备对目标会话进行加密转发;The encryption/decryption unit is configured to perform encryption/decryption processing on the target session according to the encryption/decryption service request, so as to support the forwarding device to encrypt and forward the target session;
所述存储单元,用于存储所述目标会话的会话状态信息。The storage unit is used for storing session state information of the target session.
本申请实施例还提供一种通信方法,适用于通信系统中的转发设备,包括:The embodiment of the present application also provides a communication method, which is applicable to a forwarding device in a communication system, including:
在对目标会话进行加密转发的过程中,将所述目标会话的会话状态信息记录在所述通信系统中的存储单元中,作为所述转发设备重启后恢复所述目标会话的依据;In the process of encrypting and forwarding the target session, recording session state information of the target session in a storage unit in the communication system, as a basis for restoring the target session after the forwarding device restarts;
针对所述目标会话向所述加/解密单元发起加/解密服务请求,以供所述加/解密单元根据所述加/解密服务请求,对所述目标会话进行加/解密处理,以支持所述转发设备对目标会话进行加密转发。An encryption/decryption service request is initiated to the encryption/decryption unit for the target session, so that the encryption/decryption unit performs encryption/decryption processing on the target session according to the encryption/decryption service request to support all The forwarding device encrypts and forwards the target session.
本申请实施例还提供一种通信方法,适用于通信系统中的加/解密设备,包括:The embodiment of the present application also provides a communication method, which is applicable to an encryption/decryption device in a communication system, including:
接收所述通信系统中的转发设备转发的目标会话的通信端发起的针对目标媒体流的通信握手消息;Receive a communication handshake message for the target media stream initiated by the communication end of the target session forwarded by the forwarding device in the communication system;
根据所述通信握手消息,与所述目标会话对应的通信端进行通信协商,以获得通信秘钥;According to the communication handshake message, perform communication negotiation with the communication terminal corresponding to the target session to obtain a communication key;
基于所述通信秘钥,对所述目标媒体流进行加/解密处理;Encrypting/decrypting the target media stream based on the communication key;
将加/解密处理后的媒体流返回给所述转发设备,以供所述转发设备对所述目标会话进行加密转发。Returning the encrypted/decrypted media stream to the forwarding device for the forwarding device to encrypt and forward the target session.
本申请实施例还提供一种转发设备,包括存储器、处理器和通信组件;Embodiments of the present application also provide a forwarding device, including a memory, a processor, and a communication component;
所述存储器用于存储一条或多条计算机指令;the memory for storing one or more computer instructions;
所述处理器与所述存储器和所述通信组件耦合,用于执行所述一条或多条计算机指令,以用于:The processor is coupled to the memory and the communication component for executing the one or more computer instructions for:
在对目标会话进行加密转发的过程中,通过所述通信组件将所述目标会话的会话状态信息记录在所述通信系统中的存储单元中,作为所述转发设备重启后恢复所述目标会话的依据;In the process of encrypting and forwarding the target session, the session state information of the target session is recorded in a storage unit in the communication system through the communication component, as a method for restoring the target session after the forwarding device restarts. in accordance with;
针对所述目标会话向所述加/解密单元发起加/解密服务请求,以供所述加/解密单元根据所述加/解密服务请求,对所述目标会话进行加/解密处理,以支持所述转发设备对目标会话进行加密转发。An encryption/decryption service request is initiated to the encryption/decryption unit for the target session, so that the encryption/decryption unit performs encryption/decryption processing on the target session according to the encryption/decryption service request to support all The forwarding device encrypts and forwards the target session.
本申请实施例还提供一种加/解密设备,包括存储器、处理器和通信组件;Embodiments of the present application also provide an encryption/decryption device, including a memory, a processor, and a communication component;
所述存储器用于存储一条或多条计算机指令;the memory for storing one or more computer instructions;
所述处理器与所述存储器和所述通信组件耦合,用于执行所述一条或多条计算机指令,以用于:The processor is coupled to the memory and the communication component for executing the one or more computer instructions for:
接收所述通信系统中的转发设备转发的目标会话的通信端发起的针对目标媒体流的通信握手消息;Receive a communication handshake message for the target media stream initiated by the communication end of the target session forwarded by the forwarding device in the communication system;
根据所述通信握手消息,与所述目标会话对应的通信端进行通信协商,以获得通信秘钥;According to the communication handshake message, perform communication negotiation with the communication terminal corresponding to the target session to obtain a communication key;
基于所述通信秘钥,对所述目标媒体流进行加/解密处理;Encrypting/decrypting the target media stream based on the communication key;
将加/解密处理后的媒体流返回给所述转发设备,以供所述转发设备对所述目标会话进行加密转发。Returning the encrypted/decrypted media stream to the forwarding device for the forwarding device to encrypt and forward the target session.
本申请实施例还提供一种存储计算机指令的计算机可读存储介质,当所述计算机指令被一个或多个处理器执行时,致使所述一个或多个处理器执行前述的通信方法。Embodiments of the present application further provide a computer-readable storage medium storing computer instructions, which, when executed by one or more processors, cause the one or more processors to execute the foregoing communication method.
在本申请实施例中,利用加/解密单元承担加/解密服务工作,从而可将加/解密服务从转发设备上分离出来,这保证了加密通信过程中的加/解密服务不会受到转发设备重启的影响;转发设备承担转发服务工作,并在转发过程中,将运行中会话的会话状态信息记录在存储单元中,基于此,转发设备重启后,可以存储单元中的会话状态信息为依据,进行会话恢复,从而可实现重启后自动恢复会话及恢复加/解密服务。据此,本申请实施例中,转发设备的重启不再会导致会话中断,用户对转发设备的重启基本无感知,从而可有效提高用户体验。In the embodiment of the present application, the encryption/decryption unit is used to undertake the work of the encryption/decryption service, so that the encryption/decryption service can be separated from the forwarding device, which ensures that the encryption/decryption service in the encrypted communication process will not be affected by the forwarding device. The impact of restart; the forwarding device undertakes the forwarding service work, and records the session state information of the running session in the storage unit during the forwarding process. Based on this, after the forwarding device restarts, the session state information in the storage unit can be used as the basis, Session recovery is performed, so as to realize automatic recovery of sessions and recovery of encryption/decryption services after restarting. Accordingly, in the embodiment of the present application, the restart of the forwarding device will no longer cause session interruption, and the user is basically unaware of the restart of the forwarding device, thereby effectively improving user experience.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:
图1为本申请一示例性实施例提供的一种通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a communication system provided by an exemplary embodiment of the present application;
图2为本申请一示例性实施例提供的一种转发设备重启后自动恢复方案的逻辑示意图;2 is a schematic diagram of a logic diagram of an automatic recovery solution after a forwarding device restarts provided by an exemplary embodiment of the present application;
图3为本申请一示例性实施例提供的另一种通信系统的结构示意图;FIG. 3 is a schematic structural diagram of another communication system provided by an exemplary embodiment of the present application;
图4为本申请一示例性实施例提供的一种加/解密方案的逻辑示意图;FIG. 4 is a schematic logical diagram of an encryption/decryption scheme provided by an exemplary embodiment of the present application;
图5为本申请另一示例性实施例提供的一种通信方法的流程示意图;FIG. 5 is a schematic flowchart of a communication method provided by another exemplary embodiment of the present application;
图6为本申请另一示例性实施例提供的另一种通信方法的流程示意图;6 is a schematic flowchart of another communication method provided by another exemplary embodiment of the present application;
图7为本申请又一示例性实施例提供的一种转发设备的结构示意图;FIG. 7 is a schematic structural diagram of a forwarding device according to another exemplary embodiment of the present application;
图8为本申请又一示例性实施例提供的一种加/解密设备的结构示意图。FIG. 8 is a schematic structural diagram of an encryption/decryption device according to another exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
目前,转发设备的重启会导致会话中断,给用户带来不便。为改善这些问题,本申请的一些实施例中:利用加/解密单元承担加/解密服务工作,从而可将加/解密服务从转发设备上分离出来,这保证了加密通信过程中的加/解密服务不会受到转发设备重启的影响;转发设备承担转发服务工作,并在转发过程中,将运行中会话的会话状态信息记录在存储单元中,基于此,转发设备重启后,可以存储单元中的会话状态信息为依据,进行会话恢复,从而可实现重启后自动恢复会话并恢复加/解密服务。据此,本申请实施例中,转发设备的重启不再会导致会话中断,用户对转发设备的重启基本无感知,从而可有效提高用户体验。Currently, the restart of the forwarding device will cause the session to be interrupted, which brings inconvenience to the user. In order to improve these problems, in some embodiments of the present application, the encryption/decryption unit is used to undertake the work of the encryption/decryption service, so that the encryption/decryption service can be separated from the forwarding device, which ensures the encryption/decryption in the encrypted communication process. The service will not be affected by the restart of the forwarding device; the forwarding device undertakes the work of the forwarding service, and records the session state information of the running session in the storage unit during the forwarding process. Based on this, after the forwarding device restarts, the Based on the session state information, the session is restored, so that the session can be automatically restored and the encryption/decryption service can be restored after restarting. Accordingly, in the embodiment of the present application, the restart of the forwarding device will no longer cause session interruption, and the user is basically unaware of the restart of the forwarding device, thereby effectively improving user experience.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图1为本申请一示例性实施例提供的通信系统的结构示意图。如图1所示,该系统包括:转发设备10、加/解密单元20和存储单元30,转发设备10与加/解密单元20和存储单元30通信连接。FIG. 1 is a schematic structural diagram of a communication system provided by an exemplary embodiment of the present application. As shown in FIG. 1 , the system includes: a
在物理实现上,转发设备10可以是常规服务器、云服务器、云主机、虚拟中心等服务器设备,其中,服务器设备的构成主要包括处理器、硬盘、内存、系统总线等,和通用的计算机架构类似。例如,在RTC场景中,转发设备10可以是SFU(Selective forwarding Unit,选择性转发单元)。存储单元30可以是分布式存储系统等,例如,redis(Remote DictionaryServer,远程字典服务)。当然,本实施例并不限于此,本实施例对转发设备10、存储单元30的物理实现形式不作限定。In terms of physical implementation, the
本实施例提供的通信系统可用于各种加密通信场景中,例如,RTC(Real-timecommunication.实时音视频通信)类场景、直播类场景等,其中,RTC类场景可包括但不限于在线会议、在线教育、视频通话等场景,直播类场景可包括但不限于视频监控、视频直播等场景。本实施例对应用场景不作限定。The communication system provided in this embodiment can be used in various encrypted communication scenarios, for example, RTC (Real-time communication. Real-time audio and video communication) scenarios, live broadcast scenarios, etc., where RTC scenarios may include but are not limited to online conferences, Scenarios such as online education and video calls, and live broadcast scenarios may include, but are not limited to, video surveillance, live video and other scenarios. This embodiment does not limit the application scenario.
在加密通信场景中,会话session是经过加密处理的,以保护通信者的隐私。其中,会话用于区分不同的通信端,单个会话对应一个通信端。通信端第一次向转发设备10发起转发请求时,转发设备10可向其发放一个会话ID,该通信端后续向转发设备10发起转发请求时,转发设备10都会确认是否已经存在与该通信端对应的会话ID,如果存在,则认为这些转发请求均属于同一会话,如果不存在(比如该通信端间隔很久没有发起转发请求,则转发设备10会将为该通信端发送的会话ID删除),则会为该通信端创建一个新的会话ID。本实施例中,转发设备10可为不同会话(也即不同通信端)提供转发服务。在上述RTC类场景下,会话通常为双向的,通信端可向转发设备10发起推流请求,也可发起拉流请求。而上述直播类场景下,会话则通常是单向的,通信端通常只向转发设备10发起拉流请求,当然,本实施例对此不作限定,可根据实际需要将会话配置为单向或双向。In the encrypted communication scenario, the session is encrypted to protect the privacy of the communicator. The session is used to distinguish different communication terminals, and a single session corresponds to one communication terminal. When the communication end initiates a forwarding request to the
基于此,本实施例中,转发设备10可创建目标会话,并负责对目标会话进行加密转发。在通信系统正常运行的情况下,转发设备10可在对目标会话进行加密转发的过程中,将目标会话的会话状态信息记录在存储单元30中,作为转发设备10重启后恢复目标会话的依据。优选地,转发设备10可选用距离最近(例如,同区域或同机房)的存储单元30进行会话状态信息的记录,以提高会话恢复速度。相应地,存储单元30,可用于存储目标会话的会话状态信息。Based on this, in this embodiment, the forwarding
本实施例中,转发设备10可采用key-value的形式存储会话状态信息。为此,转发设备10可为目标会话配置会话键值session key,并在session key下记录会话状态信息。其中,会话状态信息可用于描述会话的属性及配置信息,会话状态信息可包括但不限于信令状态记录、连接状态记录、加/解密状态记录、媒体描述信息记录或订阅信息记录。以下将对这几种示例性的会话状态信息进行说明:In this embodiment, the forwarding
信令状态记录,用于记录信令交互结果;Signaling status record, used to record the result of signaling interaction;
连接状态记录,用于记录最后选中的传输路径,例如,可对ICE(interactiveconnectivity establishment交互式连接建立)状态进行记录,主要记录最后选中的候选地址对candidate pair;The connection status record is used to record the last selected transmission path. For example, the ICE (interactive connectivity establishment) status can be recorded, mainly recording the last selected candidate address pair candidate pair;
加/解密状态记录,用于记录与加/解密单元20的交互信息,包括但不限于记录会话对应的加/解密任务的标识、在加/解密单元20中所使用的任务地址标识等;Encryption/decryption state record, for recording the interaction information with the encryption/
媒体描述信息记录,主要记录媒体描述信息的协商结果,例如SDP(SessionDescription Protocal,会话描述协议)的协商结果;The media description information record mainly records the negotiation result of the media description information, such as the negotiation result of the SDP (Session Description Protocol, session description protocol);
订阅信息记录,用于记录通信端之间的订阅关系。The subscription information record is used to record the subscription relationship between the communication terminals.
值得说明的是,以上几种会话状态信息仅是示例性的,本实施例中,转发设备10还可在存储单元30中记录可用于支持会话恢复的其它类型的信息,本实施例并不限于此,另外,上述几种示例性会话状态信息中的记录内容也仅是示例性的,本实施例也并不限于此。It should be noted that the above several types of session state information are only exemplary. In this embodiment, the forwarding
从目标会话的角度来说,转发设备10可在目标会话创建时为目标会话创建会话键值及会话状态信息,而在目标会话结束时,在存储单元30中删除目标会话对应的会话键值及会话状态信息。同理,从整体角度来说,转发设备10可在出现新增会话时,在存储单元30中为新增会话创建会话键值及会话状态信息,而在出现结束会话时,在存储单元30中删除结束会话对应的会话键值及会话状态信息。实际应用中,各种会话状态可能是实时变化的,本实施例中,转发设备10可在确定成功执行新的会议状态的情况下,将对应的新的会话状态信息更新至存储单元30中。相应地,存储单元30中存储的会话状态信息是动态变化的,这样,存储单元30中可记录最新的、最准确的会话状态信息。From the perspective of the target session, the forwarding
据此,本实施例中,存储单元30能够准确且全面地记录转发设备10上运行中会话的会话状态信息,为转发设备10重启后的会话恢复提供准确且全面地依据。Accordingly, in this embodiment, the
另外,本实施例中,转发设备10还可将最近一次启动的时间信息,记录在存储单元30中。该时间信息可作为后续重启过程中判断是否存在循环重启的依据。In addition, in this embodiment, the forwarding
本实施例中,转发设备10还可针对目标会话向加/解密单元20发起加/解密服务请求。对加/解密单元20来说,可根据加/解密服务请求,对目标会话进行加/解密处理,以支持转发设备10对目标会话进行加密转发。关于加/解密单元20执行的加/解密处理过程,将在后文中进行详述。基于此,不再由转发设备10执行加/解密处理操作,因此,可避免转发设备10的重启对加/解密服务造成影响,从可可支持转发设备10重启后,加/解密服务自动恢复执行。In this embodiment, the forwarding
值得说明的是,本实施例中,通信系统中包含的转发设备10、加/解密单元20及存储单元30中,均不限于图1中所示出的数量,而且,根据通信需求,转发设备10、加/解密单元20及存储单元30的部署位置均可分布在多个区域、多个机房等,本实施例对此均不作限定。It should be noted that, in this embodiment, the forwarding
本实施例中,利用加/解密单元20承担加/解密服务工作,从而可将加/解密服务从转发设备10上分离出来,这保证了加密通信过程中的加/解密服务不会受到转发设备10重启的影响;转发设备10承担转发服务工作,并在转发过程中,将运行中会话的会话状态信息记录在存储单元30中,基于此,转发设备10重启后,可以存储单元30中的会话状态信息为依据,进行会话恢复,从而可实现重启后自动恢复会话及恢复加/解密服务。据此,本申请实施例中,转发设备10的重启不再会导致会话中断,用户对转发设备10的重启基本无感知,从而可有效提高用户体验。In this embodiment, the encryption/
在上述或下述实施例中,转发设备10在发生崩溃、升级或扩容等情况下,可进行重启。图2为本申请一示例性实施例提供的一种转发设备重启后自动恢复方案的逻辑示意图。参考图2,对转发设备10来说,可在重启后,从存储单元30中读取至少一个会话各自对应的会话状态信息;根据至少一个会话各自对应的会话状态信息,恢复至少一个会话。In the above or the following embodiments, the forwarding
通常,单个会话在生成周期内可包含至少一条媒体流,而媒体流又可分为推流、拉流等,其中,推流可以是指通信端向转发设备10提供的媒体流,而拉流可以是指通信端所订阅的由其它通信端提供的推流。例如,通信端A在目标会话中订阅了通信端B和通信端C,则通信端A可将自身采集到的媒体流作为推流提供给转发设备10,转发设备10则可将通信端B和通信端C提供的媒体流作为通信端A订阅的拉流,并将通信端A订阅的拉流提供给通信端A。基于此,本实施例中,转发设备10可先恢复包含推流的会话,再恢复包含拉流的会话,以保证包含拉流的会话能够找到所需的推流。参考图2,转发设备10可先解析包含推流的会话状态信息,并恢复包含推流的会话,再解析包含拉流的会话状态信息,并恢复包含拉流的会话。转发设备10还可针对包含拉流的会话判断本机是否存在包含对应推流的会话,如果是,则可恢复推流和拉流之间的订阅关系,如果否,则可建立与其它转发设备10之间的级联,并从其他转发设备10上拉起对应的推流。Generally, a single session can include at least one media stream in the generation cycle, and the media stream can be divided into push stream, pull stream, etc., where the push stream may refer to the media stream provided by the communication end to the
本实施例中,转发设备10可根据从存储单元30中读取到的至少一个会话各自对应的会话状态信息;根据读取到的会话状态信息,恢复至少一个会话对应的实例并设置相应的属性及配置参数。与前述的会话状态信息适配的,转发设备10对单个会话进行的恢复操作包括但不限于:信令状态恢复、连接状态恢复、加/解密状态恢复、媒体描述状态恢复、订阅状态恢复或级联恢复等。In this embodiment, the forwarding
以下将以加/解密状态恢复和级联恢复操作为例,进行会话恢复过程的说明。The following will take encryption/decryption state restoration and cascade restoration operations as examples to describe the session restoration process.
在加/解密状态恢复过程中,转发设备10可根据加/解密状态记录,确定至少一个会话各自对应的加/解密任务的标识及在加/解密单元20中的所使用的任务地址标识;根据至少一个会话各自对应的加/解密任务的标识及在加/解密单元20中的所使用的任务地址标识,恢复至少一个会话各自对应的加/解密任务。其中,若加/解密单元20中包含多个加/解密设备22,则前述的在加/解密单元20中的所使用的任务地址标识可以是所使用的加/解密设备22的任务地址标识。加/解密设备22上运行有若干加/解密任务,每个加/解密任务所占用的任务地址不同,任务地址标识可以是端口标识等。这样,转发设备10可从加/解密状态记录中解析出至少一个会话各自对应的加/解密任务标识,从而找到执行加/解密任务的加/解密设备22的端口标识,基于此,转发设备10可重新建立其自身与加/解密设备22之间在各个加/解密任务下的端口映射关系,从而恢复各个加/解密任务,即恢复加/解密服务。During the encryption/decryption state recovery process, the forwarding
在级联恢复过程中,转发设备10可将恢复的包含拉流的会话,作为新建会话,按照标准的级联流程进行级联操作,从而恢复转发设备10之间的级联。通过级联恢复可有效解决转发设备10的容量和覆盖需求,支持转发设备10为恢复的包含拉流的会话从其它转发设备10上拉取包含对应推流的会话。During the cascading restoration process, the forwarding
另外,正如上文提及的,转发设备10可在存储单元30中记录最近一次启动的时间信息,基于此,参考图2,转发设备10可在连接存储单元30后,读取最近一次启动的时间信息,并判断最近一次重启距当前的间隔时间是否超过预设阈值,例如图2中的30s,如果超过,则可执行后续的自动恢复操作;而如果未超过,则可确定转发设备10处于循环重启状态。若确定转发设备10处于循环重启状态,转发设备10可清除存储单元30中存储的会话状态信息,不再进行会话恢复,从而避免影响转发设备10执行正常的转发服务,当然,这种情况下,也可暂停恢复,并在进行循环重启原因排查后,再次连接存储单元30并进行会话恢复,而不清除存储单元30中的会话状态信息,本实施例对此不作限定。In addition, as mentioned above, the forwarding
在执行完上述的恢复过程后,转发设备10可进入正常的转发工作状态,在整个恢复过程中,在重启前处于运行中的会话被完整恢复,各种属性及配置参数基本不变,因此,用户对恢复过程是无感知的,不再会出现会话中断需要重新发起的问题。这样,本实施例可实现转发设备10重启后的自动恢复功能,不仅可实现转发设备10的崩溃后的重启恢复,还可为转发设备10的热升级、热迁移、实时扩展等功能提供前提条件,保证了转发设备10稳如磐石的转发性能。After the above-mentioned restoration process is performed, the forwarding
在上述或下述实施例中,可由加/解密单元20为目标会话提供加/解密服务。值得说明的是,在转发设备10正常运行的情况下以及在转发设备10重启的情况下,加/解密单元20均可提供加/解密服务,因此,本实施例中,并不必区分加/解密单元20在上述哪种情况下提供加/解密服务。In the above or the following embodiments, the encryption/
本实施例中,加/解密单元20可以媒体流为单位提供加/解密服务。相应地,对转发设备10来说,可响应于目标会话的通信端发起的针对目标会话中目标媒体流的转发请求,向加/解密单元20发起加/解密服务请求;加/解密单元20可对目标媒体流进行加/解密处理,以支持转发设备10对目标媒体流进行转发。In this embodiment, the encryption/
图3为本申请一示例性实施例提供的另一种通信系统的结构示意图。参考图3,加/解密单元20可包含控制设备21和至少一个加/解密设备22。在物理实现上,控制设备21和加/解密设备22均可以是常规服务器、云服务器、云主机、虚拟中心等服务器设备,当然,也可采用电脑等终端设备,本实施例对此不作限定。FIG. 3 is a schematic structural diagram of another communication system provided by an exemplary embodiment of the present application. Referring to FIG. 3 , the encryption/
基于此,转发设备10可将针对目标媒体流的转发请求发送至加/解密单元20中的控制设备21;控制设备21可响应于针对目标媒体流的加/解密服务请求,从至少一个加/解密设备22中确定用于提供加/解密服务的目标加/解密设备22,并将目标加/解密设备22的描述信息提供给转发设备10;目标加/解密设备22,可用于对目标媒体流进行加/解密处理。Based on this, the forwarding
本实施例中,控制设备21可对至少一个加/解密设备22进行调度。控制设备21可利用存储单元30管理至少一个加/解密设备22的设备状态信息;相应地,至少一个加/解密设备22可将自身的设备状态信息记录在存储单元30中。基于此,控制设备21可在接收到针对目标媒体流的转发请求时,从存储单元30中读取至少一个加/解密设备22的设备状态信息;根据至少一个加/解密设备22的设备状态信息,从至少一个加/解密设备22中选择满足预设条件的加/解密设备22作为目标加/解密设备22。In this embodiment, the control device 21 may schedule at least one encryption/decryption device 22 . The control device 21 can use the
其中,设备状态信息可包括但不限于负载信息或部署位置信息等。前述的预设条件可以是处于空闲状态和/或与转发设备10的距离最近等。例如,控制设备21在进行加/解密设备22调度时,可尽量保证同机房的加/解密设备22为转发设备10提供服务,这样可有效提高加/解密服务的速度,减少转发设备10与加/解密设备22交互过程中的丢包问题。The device status information may include, but is not limited to, load information or deployment location information. The aforementioned preset conditions may be in an idle state and/or the closest distance to the
本实施例中,转发请求中可包含媒体描述信息,媒体描述信息用于对媒体流及会话进行属性描述,例如,媒体描述信息可描述媒体流采用的编码格式,会话转发采用的传输协议等,以供通信端和转发设备10双方获知对方的交互能力,本实施例并不限于此。例如,在RTC场景中,媒体描述信息可采用SDP。本实施例中,转发设备10可获取目标加/解密设备22的身份认证信息;将身份认证信息添加至媒体描述信息中,以获得应答信息;将应答信息返回目标会话对应的通信端,以供通信端对目标加/解密设备22进行身份验证。与前文呼应地,转发设备10可将添加身份认证信息的媒体描述信息记录在存储单元30中,作为一种会话状态信息。其中,身份认证信息可以是身份证书的摘要等,例如,CA颁发的证书的摘要。该身份验证过程可集成在转发设备10与目标会话对应的通信端进行信令交互的过程中,媒体描述信息的可作为信令交互的其中一项信息。在身份验证通过后,可触发目标会话对应的通信端进行后续的握手协商及媒体流传输等操作。In this embodiment, the forwarding request may include media description information, and the media description information is used to describe the attributes of the media stream and the session. For example, the media description information may describe the encoding format used by the media stream, the transmission protocol used by the session forwarding, etc., For both the communication end and the
在确定出目标加/解密设备22的基础上,目标会话对应的通信端还可与转发设备10进行握手并发起通信握手消息,转发设备10则可将目标会话对应的通信端发起的通信握手消息转发给目标加/解密设备22。目标加/解密设备22可接收转发设备10转发的目标会话的通信端发起的通信握手消息;根据通信握手消息,与目标会话对应的通信端进行通信协商,以获得通信秘钥;基于通信秘钥,对目标媒体流进行加/解密处理。也即是,转发设备10作为中间媒介,支持目标会话对应的通信端与目标加/解密设备22进行针对目标媒体流的握手协商,以获得用于对目标媒体流进行加/解密处理的通信秘钥。On the basis of determining the target encryption/decryption device 22, the communication end corresponding to the target session can also perform handshake with the
本实施例中,针对目标媒体流的转发请求可以是推流请求,也可以是拉流请求,推流请求和拉流请求触发的加/解密过程存在细微差别如下:In this embodiment, the forwarding request for the target media stream may be a push stream request or a pull stream request. The encryption/decryption processes triggered by the push stream request and the pull stream request are slightly different as follows:
若针对目标会话中目标媒体流的转发请求为推流请求,则转发设备10可接收目标会话对应的通信端发送的加密后的目标媒体流;将加密后的目标媒体流提供给目标加/解密设备22。对目标加/解密设备22来说,则可按照目标媒体流对应的通信秘钥,对加密后的目标媒体流进行解密处理,以获得目标媒体流;通过安全传输路径,将目标媒体流发回转发设备10。If the forwarding request for the target media stream in the target session is a streaming request, the forwarding
若针对目标会话中目标媒体流的转发请求为拉流请求,则转发设备10可通过安全传输路径将目标媒体流发送至目标加/解密设备22。目标加/解密设备22则可按照目标媒体流对应的通信秘钥,对目标媒体流进行加密处理,以获得加密后的目标媒体流;将加密后的目标媒体流发送给转发设备10,以供转发设备10将加密后的目标媒体流转发给目标会话的通信端。If the forwarding request for the target media stream in the target session is a pull request, the forwarding
实际应用中,可在转发设备10与目标加/解密设备22之间建立安全传输路径,例如内网路径,这样,转发设备10与目标加/解密设备22之间可采用私有信息的格式传输数据,以保证所传输数据的安全性。In practical applications, a secure transmission path, such as an intranet path, can be established between the forwarding
图4为本申请一示例性实施例提供的一种加/解密方案的逻辑示意图,参考图4,分别示出了通信端A进行推流的过程中的加密方案和通信端B进行拉流的过程中的解密方案。FIG. 4 is a logical schematic diagram of an encryption/decryption scheme provided by an exemplary embodiment of the present application. Referring to FIG. 4 , the encryption scheme in the process of the communication end A pushing the stream and the communication end B pulling the stream are respectively shown. The decryption scheme in the process.
在通信端A进行推流的过程中:During the push process of communication terminal A:
1.通信端A发送推流请求携带SDP到SFU。1. The communication terminal A sends a push request to carry the SDP to the SFU.
2.SFU向控制设备请求空闲的加/解密设备,并获取目标加/解密设备的证书的摘要。2. The SFU requests an idle encryption/decryption device from the control device, and obtains a digest of the certificate of the target encryption/decryption device.
3.SFU将证书的摘要填入应答的SDP中,返回给通信端A。3. The SFU fills the digest of the certificate into the SDP of the response and returns it to the communication terminal A.
4.SFU向目标加/解密设备申请加/解密服务。4. The SFU applies for the encryption/decryption service to the target encryption/decryption device.
5.通信端A在收到应道的SDP后,和SFU进行握手,SFU将握手消息通过私有消息格式发送给目标加/解密设备,由目标加/解密设备实际和通信端A进行握手协商。5. After receiving the corresponding SDP, the communication terminal A handshakes with the SFU. The SFU sends the handshake message to the target encryption/decryption device in a private message format, and the target encryption/decryption device actually conducts handshake negotiation with the communication terminal A.
6.握手完成后,通信端A和目标加/解密设备都生成了相应的通信秘钥。6. After the handshake is completed, both the communication terminal A and the target encryption/decryption device generate the corresponding communication key.
7.通信端A将加密后的媒体流发送给SFU,SFU将加密后的媒体流封装为私有格式的流发送给目标加/解密设备,目标加/解密设备解密后以私有格式发送回SFU。7. The communication end A sends the encrypted media stream to the SFU, and the SFU encapsulates the encrypted media stream into a private format stream and sends it to the target encryption/decryption device. After decryption, the target encryption/decryption device sends it back to the SFU in a private format.
在通信端B进行拉流的过程中:In the process of pulling the stream at the communication end B:
1.通信端B发送拉流请求携带SDP到SFU,拉流请求中携带通信端B所订阅的通信端A的标识。1. The communication end B sends a pull request carrying the SDP to the SFU, and the pull request carries the identifier of the communication end A subscribed by the communication end B.
2.SFU向控制设备请求空闲的加/解密设备,并获取目标加/解密设备的证书的摘要。2. The SFU requests an idle encryption/decryption device from the control device, and obtains a digest of the certificate of the target encryption/decryption device.
3.SFU将证书的摘要填入应答的SDP中,返回给通信端A。3. The SFU fills the digest of the certificate into the SDP of the response and returns it to the communication terminal A.
4.SFU向目标加/解密设备申请加/解密服务。4. The SFU applies for the encryption/decryption service to the target encryption/decryption device.
5.通信端A在收到应道的SDP后,和SFU进行握手,SFU将握手消息通过私有消息格式发送给目标加/解密设备,由目标加/解密设备实际和通信端A进行握手协商。5. After receiving the corresponding SDP, the communication terminal A handshakes with the SFU. The SFU sends the handshake message to the target encryption/decryption device in a private message format, and the target encryption/decryption device actually conducts handshake negotiation with the communication terminal A.
6.握手完成后,通信端A和目标加/解密设备都生成了相应的通信秘钥。6. After the handshake is completed, both the communication terminal A and the target encryption/decryption device generate the corresponding communication key.
7.SFU将本机中存储的由目标加/解密设备解密的通信端A的媒体流以私有封装的方式发送给目标加/解密设备,目标加/解密设备加密后再以私有格式封装后发回给SFU,SFU将加密流发送给通信端B,完成了通信端B拉取通信端A的媒体流的功能。7. The SFU sends the media stream of the communication terminal A stored in the machine and decrypted by the target encryption/decryption device to the target encryption/decryption device in a private encapsulation manner. The target encryption/decryption device encrypts it and then encapsulates it in a private format and sends Back to the SFU, the SFU sends the encrypted stream to the communication end B, completing the function of the communication end B pulling the media stream of the communication end A.
值得说明的是,图4所示的加/解密方案仅是示例性的,其中各个环节的顺序并不限于此,各个环节也可按需进行增减,本实施例提供的加/解密方案并不局限于图4所示。It is worth noting that the encryption/decryption scheme shown in FIG. 4 is only exemplary, and the order of each link is not limited to this, and each link can also be increased or decreased as needed. The encryption/decryption scheme provided in this embodiment is not limited to this. Not limited to what is shown in FIG. 4 .
在上述或下述实施例中,通信系统中的转发设备可以有多个,通信系统中还可包括管理设备,管理设备用于管理多个转发设备,管理设备与多个转发设备通信连接。其中,多个转发设备的部署位置可以相同也可以不同。In the above or the following embodiments, there may be multiple forwarding devices in the communication system, and the communication system may further include a management device, the management device is used to manage multiple forwarding devices, and the management device is communicatively connected to the multiple forwarding devices. The deployment positions of the multiple forwarding devices may be the same or different.
基于此,本实施例中,若目标会话的通信端的地址发生变化,则对至少一个转发设备进行负载均衡,以确定目标转发设备;目标转发设备,用于从存储单元中读取目标会话的会话状态信息,以将目标会话迁移至目标转发设备上。Based on this, in this embodiment, if the address of the communication end of the target session changes, load balancing is performed on at least one forwarding device to determine the target forwarding device; the target forwarding device is used to read the session of the target session from the storage unit state information to migrate the target session to the target forwarding device.
例如,目标会话的通信端的从移动网络切换至无线网络,则将导致其通信地址发生变化,这种情况下,无论管理设备将目标会话调配至哪台转发设备上,调配到的转发设备均可从存储单元中读取目标会话对应的会话状态信息,从而恢复目标会话,这可实现目标会话的热迁移。这可大大提高通信系统中转发设备的灵活性,而且,热迁移过程中用户并无感知,保证了用户体验。For example, if the communication end of the target session is switched from the mobile network to the wireless network, its communication address will change. In this case, no matter which forwarding device the management device allocates the target session to, the allocated forwarding device can The session state information corresponding to the target session is read from the storage unit, so as to restore the target session, which can realize the hot migration of the target session. This can greatly improve the flexibility of the forwarding device in the communication system, and the user does not perceive during the hot migration process, which ensures the user experience.
图5为本申请另一示例性实施例提供的一种通信方法的流程示意图,该方法可由转发装置执行,该转发装置可实现为软件和/或硬件的结合,该转发装置可集成在转发设备中。参考图5,该方法包括:FIG. 5 is a schematic flowchart of a communication method provided by another exemplary embodiment of the present application. The method may be executed by a forwarding apparatus, and the forwarding apparatus may be implemented as a combination of software and/or hardware, and the forwarding apparatus may be integrated in a forwarding device. middle. Referring to Figure 5, the method includes:
步骤500、在对目标会话进行加密转发的过程中,将目标会话的会话状态信息记录在通信系统中的存储单元中,作为转发设备重启后恢复目标会话的依据;
步骤510、针对目标会话向加/解密单元发起加/解密服务请求,以供加/解密单元根据加/解密服务请求,对目标会话进行加/解密处理,以支持转发设备对目标会话进行加密转发。Step 510, initiate an encryption/decryption service request to the encryption/decryption unit for the target session, so that the encryption/decryption unit performs encryption/decryption processing on the target session according to the encryption/decryption service request, so as to support the forwarding device to encrypt and forward the target session. .
在一可选实施例中,目标会话中包含至少一条媒体流,步骤针对目标会话向加/解密单元发起加/解密服务请求,包括:In an optional embodiment, the target session includes at least one media stream, and the step of initiating an encryption/decryption service request to the encryption/decryption unit for the target session includes:
响应于目标会话的通信端发起的针对目标会话中目标媒体流的转发请求,向加/解密单元发起加/解密服务请求。In response to the forwarding request for the target media stream in the target session initiated by the communication end of the target session, an encryption/decryption service request is initiated to the encryption/decryption unit.
在一可选实施例中,该方法还包括:In an optional embodiment, the method further includes:
若针对目标会话中目标媒体流的转发请求为推流请求,则接收目标会话对应的通信端发送的加密后的目标媒体流;If the forwarding request for the target media stream in the target session is a streaming request, receive the encrypted target media stream sent by the communication terminal corresponding to the target session;
将加密后的目标媒体流提供给加/解密单元,以供加/解密单元对加密后的目标媒体流进行解密;The encrypted target media stream is provided to the encryption/decryption unit for the encryption/decryption unit to decrypt the encrypted target media stream;
接收加/解密单元解密获得的目标媒体流。Receive the target media stream decrypted by the encryption/decryption unit.
在一可选实施例中,该方法还包括:In an optional embodiment, the method further includes:
若针对目标会话中目标媒体流的转发请求为拉流请求,则通过安全传输路径将目标媒体流发送至加/解密单元,以供加/解密单元对目标媒体流进行加密处理;If the forwarding request for the target media stream in the target session is a pull stream request, the target media stream is sent to the encryption/decryption unit through a secure transmission path, so that the encryption/decryption unit can encrypt the target media stream;
接收加/解密单元发送的加密后的目标媒体流;Receive the encrypted target media stream sent by the encryption/decryption unit;
将加密后的目标媒体流转发给目标会话的通信端。Forward the encrypted target media stream to the communication end of the target session.
在一可选实施例中,针对目标会话中目标媒体流的转发请求中包含媒体描述信息,该方法还包括:In an optional embodiment, the forwarding request for the target media stream in the target session includes media description information, and the method further includes:
获取目标加/解密单元的身份认证信息;Obtain the identity authentication information of the target encryption/decryption unit;
将身份认证信息添加至媒体描述信息中,以获得应答信息;Add the identity authentication information to the media description information to obtain the response information;
将应答信息返回目标会话对应的通信端,以供通信端对目标加/解密单元进行身份验证。The response information is returned to the communication end corresponding to the target session, so that the communication end can authenticate the target encryption/decryption unit.
在一可选实施例中,该方法还包括:In an optional embodiment, the method further includes:
接收目标会话的通信端发起的与加/解密单元的通信握手消息;Receive the communication handshake message with the encryption/decryption unit initiated by the communication end of the target session;
将通信握手消息转发给加/解密单元,以供加/解密丹阳根据通信握手消息,与目标会话的通信端握手协商通信秘钥,并根据通信秘钥对目标媒体流进行加/解密处理。The communication handshake message is forwarded to the encryption/decryption unit for encryption/decryption. Danyang handshakes and negotiates the communication key with the communication end of the target session according to the communication handshake message, and encrypts/decrypts the target media stream according to the communication key.
在一可选实施例中,会话状态信息包括信令状态记录、连接状态记录、加/解密状态记录、媒体描述信息记录和订阅信息记录中的一种或多种。In an optional embodiment, the session state information includes one or more of a signaling state record, a connection state record, an encryption/decryption state record, a media description information record, and a subscription information record.
在一可选实施例中,该方法还包括:In an optional embodiment, the method further includes:
在重启后,从存储单元中读取至少一个会话各自对应的会话状态信息;After the restart, read session state information corresponding to at least one session from the storage unit;
根据至少一个会话各自对应的会话状态信息,恢复至少一个会话。The at least one session is restored according to session state information corresponding to each of the at least one session.
在一可选实施例中,会话状态信息中包含加/解密状态记录,该方法还包括:In an optional embodiment, the session state information includes an encryption/decryption state record, and the method further includes:
根据加/解密状态记录,确定至少一个会话各自对应的加/解密任务的标识及在加/解密单元中的所使用的任务地址标识;According to the encryption/decryption state record, determine the identifier of the encryption/decryption task corresponding to at least one session and the used task address identifier in the encryption/decryption unit;
根据至少一个会话各自对应的加/解密任务的标识及在加/解密单元中的所使用的任务地址标识,恢复至少一个会话各自对应的加/解密任务。The encryption/decryption task corresponding to the at least one session is restored according to the identification of the encryption/decryption task corresponding to the at least one session and the task address identification used in the encryption/decryption unit.
值得说明的是,上述关于通信方法各实施例中的技术细节,可参考前述的系统实施例中关于转发设备的相关描述,为节省篇幅,在此不再赘述,但这不应造成本申请保护范围的损失。It is worth noting that, for the technical details in the above-mentioned embodiments of the communication method, reference may be made to the relevant description of the forwarding device in the foregoing system embodiments. loss of range.
图6为本申请另一示例性实施例提供的另一种通信方法的流程示意图,该方法可由加/解密装置执行,该加/解密装置可实现为软件和/或硬件的结合,该加/解密装置可集成在加/解密设备中。参考图6,该方法包括:FIG. 6 is a schematic flowchart of another communication method provided by another exemplary embodiment of the present application. The method may be executed by an encryption/decryption device, and the encryption/decryption device may be implemented as a combination of software and/or hardware. The decryption device can be integrated in the encryption/decryption device. Referring to Figure 6, the method includes:
步骤600、接收通信系统中的转发设备转发的目标会话的通信端发起的针对目标媒体流的通信握手消息;Step 600: Receive a communication handshake message for the target media stream initiated by the communication end of the target session forwarded by the forwarding device in the communication system;
步骤601、根据通信握手消息,与目标会话对应的通信端进行通信协商,以获得通信秘钥;
步骤602、基于通信秘钥,对目标媒体流进行加/解密处理;
步骤603、将加/解密处理后的媒体流返回给转发设备,以供转发设备对目标会话进行加密转发。Step 603: Return the encrypted/decrypted media stream to the forwarding device for the forwarding device to encrypt and forward the target session.
在一可选实施例中,该方法还包括:In an optional embodiment, the method further includes:
将自身的设备状态信息记录在通信系统中的存储单元中,以供通信系统中的控制设备在接收到转发设备发起的加/解密请求时,从控制设备管理的至少一个加/解密设备中确定用于响应加/解密请求的目标加/解密设备;Record its own device status information in the storage unit in the communication system, so that the control device in the communication system determines from at least one encryption/decryption device managed by the control device when receiving the encryption/decryption request initiated by the forwarding device. The target encryption/decryption device used to respond to the encryption/decryption request;
若自身被确定为目标加/解密设备,则执行接收通信系统中的转发设备转发的目标会话的通信端发起的针对目标媒体流的通信握手消息及后续操作。If it is determined to be the target encryption/decryption device, the communication handshake message for the target media stream initiated by the communication end of the target session forwarded by the forwarding device in the communication system is received and subsequent operations are performed.
值得说明的是,上述关于通信方法各实施例中的技术细节,可参考前述的系统实施例中关于加/解密设备的相关描述,为节省篇幅,在此不再赘述,但这不应造成本申请保护范围的损失。It is worth noting that, for the technical details in the above-mentioned embodiments of the communication method, reference may be made to the relevant descriptions of the encryption/decryption devices in the foregoing system embodiments. In order to save space, they are not repeated here, but this should not cause cost Claim for loss of protection.
需要说明的是,上述实施例所提供方法的各步骤的执行主体均可以是同一设备,或者,该方法也由不同设备作为执行主体。比如,步骤601至步骤603的执行主体可以为设备A;又比如,步骤601和602的执行主体可以为设备A,步骤603的执行主体可以为设备B;等等。It should be noted that, the execution subject of each step of the method provided in the above-mentioned embodiments may be the same device, or the method may also be executed by different devices. For example, the execution subject of
另外,在上述实施例及附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现的顺序来执行或并行执行,操作的序号如601、602等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may be performed out of the order in which they appear in this document or performed in parallel , the sequence numbers of the operations, such as 601, 602, etc., are only used to distinguish different operations, and the sequence numbers themselves do not represent any execution order. Additionally, these flows may include more or fewer operations, and these operations may be performed sequentially or in parallel.
图7为本申请又一示例性实施例提供的一种转发设备的结构示意图。如图7所示,该转发设备包括:存储器70、处理器71以及通信组件72。FIG. 7 is a schematic structural diagram of a forwarding device according to another exemplary embodiment of the present application. As shown in FIG. 7 , the forwarding device includes: a
处理器71,与存储器70级通信组件72耦合,用于执行存储器70中的计算机程序,以用于:
在对目标会话进行加密转发的过程中,通过通信组件72将目标会话的会话状态信息记录在通信系统中的存储单元中,作为转发设备重启后恢复目标会话的依据;In the process of encrypting and forwarding the target session, the session state information of the target session is recorded in the storage unit in the communication system through the
通过通信组件72针对目标会话向加/解密单元发起加/解密服务请求,以供加/解密单元根据加/解密服务请求,对目标会话进行加/解密处理,以支持转发设备对目标会话进行加密转发。The
在一可选实施例中,目标会话中包含至少一条媒体流,处理器71在针对目标会话向加/解密单元发起加/解密服务请求时,用于:In an optional embodiment, the target session includes at least one media stream, and when the
响应于目标会话的通信端发起的针对目标会话中目标媒体流的转发请求,向加/解密单元发起加/解密服务请求。In response to the forwarding request for the target media stream in the target session initiated by the communication end of the target session, an encryption/decryption service request is initiated to the encryption/decryption unit.
在一可选实施例中,处理器71还用于:In an optional embodiment, the
若针对目标会话中目标媒体流的转发请求为推流请求,则接收目标会话对应的通信端发送的加密后的目标媒体流;If the forwarding request for the target media stream in the target session is a streaming request, receive the encrypted target media stream sent by the communication terminal corresponding to the target session;
将加密后的目标媒体流提供给加/解密单元,以供加/解密单元对加密后的目标媒体流进行解密;The encrypted target media stream is provided to the encryption/decryption unit for the encryption/decryption unit to decrypt the encrypted target media stream;
接收加/解密单元解密获得的目标媒体流。Receive the target media stream decrypted by the encryption/decryption unit.
在一可选实施例中,处理器71还用于:In an optional embodiment, the
若针对目标会话中目标媒体流的转发请求为拉流请求,则通过安全传输路径将目标媒体流发送至加/解密单元,以供加/解密单元对目标媒体流进行加密处理;If the forwarding request for the target media stream in the target session is a pull stream request, the target media stream is sent to the encryption/decryption unit through a secure transmission path, so that the encryption/decryption unit can encrypt the target media stream;
接收加/解密单元发送的加密后的目标媒体流;Receive the encrypted target media stream sent by the encryption/decryption unit;
将加密后的目标媒体流转发给目标会话的通信端。Forward the encrypted target media stream to the communication end of the target session.
在一可选实施例中,针对目标会话中目标媒体流的转发请求中包含媒体描述信息,处理器71还用于:In an optional embodiment, the forwarding request for the target media stream in the target session includes media description information, and the
获取目标加/解密单元的身份认证信息;Obtain the identity authentication information of the target encryption/decryption unit;
将身份认证信息添加至媒体描述信息中,以获得应答信息;Add the identity authentication information to the media description information to obtain the response information;
将应答信息返回目标会话对应的通信端,以供通信端对目标加/解密单元进行身份验证。The response information is returned to the communication end corresponding to the target session, so that the communication end can authenticate the target encryption/decryption unit.
在一可选实施例中,处理器71还用于:In an optional embodiment, the
接收目标会话的通信端发起的与加/解密单元的通信握手消息;Receive the communication handshake message with the encryption/decryption unit initiated by the communication end of the target session;
将通信握手消息转发给加/解密单元,以供加/解密丹阳根据通信握手消息,与目标会话的通信端握手协商通信秘钥,并根据通信秘钥对目标媒体流进行加/解密处理。The communication handshake message is forwarded to the encryption/decryption unit for encryption/decryption. Danyang handshakes and negotiates the communication key with the communication end of the target session according to the communication handshake message, and encrypts/decrypts the target media stream according to the communication key.
在一可选实施例中,会话状态信息包括信令状态记录、连接状态记录、加/解密状态记录、媒体描述信息记录和订阅信息记录中的一种或多种。In an optional embodiment, the session state information includes one or more of a signaling state record, a connection state record, an encryption/decryption state record, a media description information record, and a subscription information record.
在一可选实施例中,处理器71还用于:In an optional embodiment, the
在重启后,从存储单元中读取至少一个会话各自对应的会话状态信息;After the restart, read session state information corresponding to at least one session from the storage unit;
根据至少一个会话各自对应的会话状态信息,恢复至少一个会话。The at least one session is restored according to session state information corresponding to each of the at least one session.
在一可选实施例中,会话状态信息中包含加/解密状态记录,处理器71还用于:In an optional embodiment, the session state information includes an encryption/decryption state record, and the
根据加/解密状态记录,确定至少一个会话各自对应的加/解密任务的标识及在加/解密单元中的所使用的任务地址标识;According to the encryption/decryption state record, determine the identifier of the encryption/decryption task corresponding to at least one session and the used task address identifier in the encryption/decryption unit;
根据至少一个会话各自对应的加/解密任务的标识及在加/解密单元中的所使用的任务地址标识,恢复至少一个会话各自对应的加/解密任务。The encryption/decryption task corresponding to the at least one session is restored according to the identification of the encryption/decryption task corresponding to the at least one session and the task address identification used in the encryption/decryption unit.
进一步,如图7所示,该计算设备还包括:电源组件73等其它组件。图7中仅示意性给出部分组件,并不意味着转发设备只包括图7所示组件。Further, as shown in FIG. 7 , the computing device further includes: a
值得说明的是,上述关于转发设备各实施例中的技术细节,可参考前述的系统实施例中的相关描述,为节省篇幅,在此不再赘述,但这不应造成本申请保护范围的损失。It is worth noting that, for the technical details in the above-mentioned embodiments of the forwarding device, reference may be made to the relevant descriptions in the foregoing system embodiments. In order to save space, details are not repeated here, but this should not cause any loss of the protection scope of the present application. .
相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被执行时能够实现上述方法实施例中可由转发设备执行的各步骤。Correspondingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, and when the computer program is executed, each step that can be executed by the forwarding device in the foregoing method embodiment can be implemented.
图8为本申请又一示例性实施例提供的一种加/解密设备的结构示意图。如图8所示,该加/解密设备包括:存储器80、处理器81以及通信组件82。FIG. 8 is a schematic structural diagram of an encryption/decryption device according to another exemplary embodiment of the present application. As shown in FIG. 8 , the encryption/decryption device includes: a
处理器81,与存储器80及通信组件82耦合,用于执行存储器80中的计算机程序,以用于:
通过通信组件82接收通信系统中的转发设备转发的目标会话的通信端发起的针对目标媒体流的通信握手消息;Receive, through the communication component 82, a communication handshake message for the target media stream and initiated by the communication end of the target session forwarded by the forwarding device in the communication system;
根据通信握手消息,与目标会话对应的通信端进行通信协商,以获得通信秘钥;According to the communication handshake message, carry out communication negotiation with the communication terminal corresponding to the target session to obtain the communication key;
基于通信秘钥,对目标媒体流进行加/解密处理;Encrypt/decrypt the target media stream based on the communication key;
通过通信组件82将加/解密处理后的媒体流返回给转发设备,以供转发设备对目标会话进行加密转发。The encrypted/decrypted media stream is returned to the forwarding device through the communication component 82, so that the forwarding device can encrypt and forward the target session.
在一可选实施例中,处理器81还用于:In an optional embodiment, the
将自身的设备状态信息记录在通信系统中的存储单元中,以供通信系统中的控制设备在接收到转发设备发起的加/解密请求时,从控制设备管理的至少一个加/解密设备中确定用于响应加/解密请求的目标加/解密设备;Record its own device status information in the storage unit in the communication system, so that the control device in the communication system determines from at least one encryption/decryption device managed by the control device when receiving the encryption/decryption request initiated by the forwarding device. The target encryption/decryption device used to respond to the encryption/decryption request;
若自身被确定为目标加/解密设备,则执行接收通信系统中的转发设备转发的目标会话的通信端发起的针对目标媒体流的通信握手消息及后续操作。If it is determined to be the target encryption/decryption device, the communication handshake message for the target media stream initiated by the communication end of the target session forwarded by the forwarding device in the communication system is received and subsequent operations are performed.
进一步,如图8所示,该加/解密设备还包括:电源组件83等其它组件。图8中仅示意性给出部分组件,并不意味着加/解密设备只包括图8所示组件。Further, as shown in FIG. 8 , the encryption/decryption device further includes: a
值得说明的是,上述关于加/解密设备各实施例中的技术细节,可参考前述的系统实施例中的相关描述,为节省篇幅,在此不再赘述,但这不应造成本申请保护范围的损失。It is worth noting that, for the technical details in the above-mentioned embodiments of the encryption/decryption device, reference may be made to the relevant descriptions in the foregoing system embodiments. In order to save space, they will not be repeated here, but this should not limit the protection scope of the present application. Loss.
相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被执行时能够实现上述方法实施例中可由加/解密设备执行的各步骤。Correspondingly, the embodiments of the present application further provide a computer-readable storage medium storing a computer program, and when the computer program is executed, each step that can be executed by the encryption/decryption device in the above method embodiments can be implemented.
上述图7和8中的存储器,用于存储计算机程序,并可被配置为存储其它各种数据以支持在计算平台上的操作。这些数据的示例包括用于在计算平台上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memories in FIGS. 7 and 8 described above are used to store computer programs and may be configured to store various other data to support operations on the computing platform. Examples of such data include instructions for any application or method operating on the computing platform, contact data, phonebook data, messages, pictures, videos, etc. Memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
上述图7和8中的通信组件,被配置为便于通信组件所在设备和其他设备之间有线或无线方式的通信。通信组件所在设备可以接入基于通信标准的无线网络,如WiFi,2G、3G、4G/LTE、5G等移动通信网络,或它们的组合。在一个示例性实施例中,通信组件经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The above-mentioned communication components in FIGS. 7 and 8 are configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, a mobile communication network such as 2G, 3G, 4G/LTE, and 5G, or a combination thereof. In one exemplary embodiment, the communication component receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication assembly further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
上述图7和8中的电源组件,为电源组件所在设备的各种组件提供电力。电源组件可以包括电源管理系统,一个或多个电源,及其他与为电源组件所在设备生成、管理和分配电力相关联的组件。The power supply assemblies in Figures 7 and 8 above provide power for various components of the equipment in which the power supply assemblies are located. A power supply assembly may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the equipment in which the power supply assembly is located.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture, or device that includes the element.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.
Claims (26)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110064807.1A CN114827093B (en) | 2021-01-18 | 2021-01-18 | A communication method, device, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110064807.1A CN114827093B (en) | 2021-01-18 | 2021-01-18 | A communication method, device, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114827093A true CN114827093A (en) | 2022-07-29 |
CN114827093B CN114827093B (en) | 2024-12-06 |
Family
ID=82524662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110064807.1A Active CN114827093B (en) | 2021-01-18 | 2021-01-18 | A communication method, device, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114827093B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116095139A (en) * | 2022-12-29 | 2023-05-09 | 天翼物联科技有限公司 | Session processing method, system, device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1889767A (en) * | 2005-06-30 | 2007-01-03 | 华为技术有限公司 | Method for achieving media flow security and communication system |
CN101102463A (en) * | 2007-07-25 | 2008-01-09 | 中国网络通信集团公司 | media streaming method |
US20090182668A1 (en) * | 2008-01-11 | 2009-07-16 | Nortel Networks Limited | Method and apparatus to enable lawful intercept of encrypted traffic |
CN110489244A (en) * | 2019-04-29 | 2019-11-22 | 北京达佳互联信息技术有限公司 | Information processing method, system, device and computer readable storage medium |
CN111010744A (en) * | 2018-10-08 | 2020-04-14 | 华为技术有限公司 | Method and device for establishing session and method and device for sending message |
CN111835997A (en) * | 2020-07-15 | 2020-10-27 | 济南慧云量子科技有限公司 | Cloud video conference system based on quantum key encryption and decryption method thereof |
-
2021
- 2021-01-18 CN CN202110064807.1A patent/CN114827093B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1889767A (en) * | 2005-06-30 | 2007-01-03 | 华为技术有限公司 | Method for achieving media flow security and communication system |
CN101102463A (en) * | 2007-07-25 | 2008-01-09 | 中国网络通信集团公司 | media streaming method |
US20090182668A1 (en) * | 2008-01-11 | 2009-07-16 | Nortel Networks Limited | Method and apparatus to enable lawful intercept of encrypted traffic |
CN111010744A (en) * | 2018-10-08 | 2020-04-14 | 华为技术有限公司 | Method and device for establishing session and method and device for sending message |
CN110489244A (en) * | 2019-04-29 | 2019-11-22 | 北京达佳互联信息技术有限公司 | Information processing method, system, device and computer readable storage medium |
CN111835997A (en) * | 2020-07-15 | 2020-10-27 | 济南慧云量子科技有限公司 | Cloud video conference system based on quantum key encryption and decryption method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116095139A (en) * | 2022-12-29 | 2023-05-09 | 天翼物联科技有限公司 | Session processing method, system, device and storage medium |
WO2024140698A1 (en) * | 2022-12-29 | 2024-07-04 | 天翼物联科技有限公司 | Session processing method, system and apparatus, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114827093B (en) | 2024-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109361517B (en) | Virtualized cloud password machine system based on cloud computing and implementation method thereof | |
US10341118B2 (en) | SSL gateway with integrated hardware security module | |
US20170264610A1 (en) | Data processing method and apparatus based on mobile application entrance and system | |
JP7133285B2 (en) | User terminal, method and computer program for sending and receiving messages | |
US20200162245A1 (en) | Method and system for performing ssl handshake | |
KR20160139493A (en) | Method and apparatus for managing encryption keys for cloud service | |
CN105391979B (en) | A kind of method and apparatus of business processing | |
CN113472722A (en) | Data transmission method, storage medium, electronic device and automatic ticket selling and checking system | |
CN101512539B (en) | iSCSI and fibre channel authentication | |
EP3993319A1 (en) | Secure distribution of configuration to facilitate a privacy-preserving virtual private network system | |
CN111865897A (en) | Cloud service management method and device | |
US11606193B2 (en) | Distributed session resumption | |
CN108289074A (en) | User account login method and device | |
CN111181899B (en) | Data processing method, device and system and electronic equipment | |
US20140181508A1 (en) | Communication device and computer program product | |
CN115550041A (en) | Data transmission method and device, computer equipment and storage medium | |
CN114095496B (en) | Terminal application processing method, edge cloud application server and system, medium | |
WO2015027931A1 (en) | Method and system for realizing cross-domain remote command | |
CN114827093A (en) | Communication method, device, system and storage medium | |
WO2016177220A1 (en) | Instant message information storage method and device | |
CN113645283A (en) | Multilink communication method, device, storage medium and electronic equipment | |
CN111030914B (en) | Data transmission method and data transmission system | |
CN114090981B (en) | Access method and device for remote host | |
JP2017523702A (en) | Method, apparatus and system for obtaining local information | |
US10681755B2 (en) | Routing method and network entity performing same |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |