




















技术领域technical field
本申请实施例涉及视频流媒体领域,尤其涉及一种取流控制方法及装置。The embodiments of the present application relate to the field of video streaming media, and in particular, to a method and device for controlling stream acquisition.
背景技术Background technique
在提供视频流媒体服务的取流控制系统中,往往部署有多个视频流媒体服务平台,每个视频流媒体服务平台对取流请求中的关联对象在总取流路数上进行控制,从而管控取流行为。其中,关联对象是指参与意图获取视频流的取流行为的实体对象或虚拟对象,如视频流媒体服务平台、客户端设备、或前端设备等。In a streaming control system that provides video streaming services, multiple video streaming service platforms are often deployed, and each video streaming service platform controls the associated objects in the streaming request on the total number of streaming channels, so Control withdrawal behavior. Wherein, the associated object refers to a physical object or a virtual object that participates in the fetching behavior intended to obtain a video stream, such as a video streaming media service platform, a client device, or a front-end device.
然而,随着视频流媒体行业的发展,业务种类增多,仅针对每一关联对象的总取流路数来管控取流行为,无法满足取流行为管控需求,容易影响各类业务的运行效果。However, with the development of the video streaming media industry, the types of services have increased. Only the total number of access channels for each associated object is used to manage and control the streaming behavior, which cannot meet the needs of the management and control of the streaming behavior, which easily affects the operation effect of various services.
发明内容SUMMARY OF THE INVENTION
本申请提供一种取流控制方法及装置,能够针对不同监控点的取流行为进行管控,有助于提高业务运行效果。The present application provides a flow control method and device, which can manage and control flow collection behaviors at different monitoring points, and help improve business operation effects.
为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
第一方面,本申请实施例提供一种取流控制方法,该方法的执行主体可以是第一视频流媒体服务平台,也可以是应用于第一视频流媒体服务平台中的芯片。下面以执行主体是第一视频流媒体服务平台为例进行描述。该方法包括:第一视频流媒体服务平台接收来自第一客户端设备的取流请求。其中,取流请求用于请求获取目标监控点的目标业务流。第一视频流媒体服务平台响应于取流请求,根据管控策略确定是否执行针对目标监控点的取流行为,以获取目标业务流,并向第一客户端设备发送目标业务流。其中,管控策略用于组合管控目标关联对象中每个关联对象针对目标监控点的取流行为,目标关联对象与获取目标监控点的目标业务流相关联。In a first aspect, an embodiment of the present application provides a flow acquisition control method. The execution body of the method may be a first video streaming media service platform, or may be a chip applied in the first video streaming media service platform. The following description will be given by taking the execution subject being the first video streaming media service platform as an example. The method includes: a first video streaming media service platform receiving a streaming request from a first client device. The flow retrieval request is used to request to obtain the target service flow of the target monitoring point. The first video streaming media service platform, in response to the stream fetching request, determines whether to perform the fetching behavior for the target monitoring point according to the management and control policy, so as to obtain the target service stream, and sends the target service stream to the first client device. The management and control strategy is used to combine the fetching behavior of each associated object in the management and control target associated objects with respect to the target monitoring point, and the target associated object is associated with the target business flow for obtaining the target monitoring point.
示例性的,目标业务包括以下至少一项:预览、回放、或下载。Exemplarily, the target service includes at least one of the following: preview, playback, or download.
示例性的,关联对象包括以下至少一项:Exemplarily, the associated objects include at least one of the following:
第一项,用户,其中,用户为采用第一客户端设备发出取流请求的用户。该用户已在第一视频流媒体服务平台注册。The first item is the user, where the user is a user who uses the first client device to issue a stream fetching request. The user has registered with the first video streaming service platform.
第二项,用户组,其中,用户组为采用第一客户端设备发出取流请求的用户所在的组。该用户组已在第一视频流媒体服务平台注册。The second item is a user group, where the user group is a group of a user who uses the first client device to issue a stream fetching request. The user group has been registered with the first video streaming service platform.
第三项,第一客户端设备。The third item, the first client device.
第四项,应用。其中,该应用的业务流包括在取流请求所请求的目标业务流中,以方便第三方通过上述第一客户端设备预览、回放或下载该应用的视频流。示例性的,第三方包括第一视频流媒体服务平台的合作方、合作厂商等,第三方无需在第一视频流媒体服务平台注册。Fourth item, application. Wherein, the service flow of the application is included in the target service flow requested by the streaming request, so as to facilitate the third party to preview, play back or download the video stream of the application through the above-mentioned first client device. Exemplarily, the third party includes a partner, a partner manufacturer, etc. of the first video streaming media service platform, and the third party does not need to register on the first video streaming media service platform.
第五项,视频流媒体服务平台。其中,视频流媒体服务平台是上述目标业务流经由的服务平台,如上级平台、本级平台和下级平台中的至少一项。其中,上级平台是从本级平台获取业务流的平台,本级平台是指本端的视频流媒体服务平台,下级平台是向本级平台推送或共享业务流的平台。示例性的,上述第一视频流媒体服务平台可以作为上级平台、或本级平台。The fifth item is a video streaming service platform. Wherein, the video streaming media service platform is the service platform through which the above-mentioned target service flow passes, such as at least one of an upper-level platform, a current-level platform, and a lower-level platform. Among them, the upper-level platform is the platform that obtains the business stream from the same-level platform, the current-level platform refers to the video streaming service platform of the local end, and the lower-level platform is the platform that pushes or shares the business stream to the same-level platform. Exemplarily, the above-mentioned first video streaming media service platform may be used as an upper-level platform or a local-level platform.
第六项,前端设备,其中,前端设备用于采集或输出上述目标业务流。The sixth item is front-end equipment, wherein the front-end equipment is used to collect or output the above-mentioned target service flow.
第七项,边缘网关,其中,边缘网关能够汇聚边缘的前端设备,具备设备接入管理等功能。边缘网关,也可以理解为,本级平台的下级平台。The seventh item is an edge gateway, where the edge gateway can aggregate front-end devices at the edge, and has functions such as device access management. The edge gateway can also be understood as the lower-level platform of the current-level platform.
第八项,联网系统,其中,联网系统是从本级平台获取业务流的系统,属于本级平台的上级平台。The eighth item, networking system, wherein, the networking system is a system that obtains business flow from the platform at the same level, and belongs to the upper-level platform of the platform at the same level.
第九项,边缘系统,其中,边缘系统是向本级平台推送或共享业务流的系统,属于本级平台的下级平台。The ninth item, edge system, where the edge system is a system that pushes or shares business flows to the platform at the same level, and belongs to the lower-level platform of the platform at the same level.
示例性的,管控策略指示目标关联对象中每个关联对象针对目标业务的取流路数不受限。或者,管控策略指示目标关联对象中每个关联对象针对目标业务的取流路数。Exemplarily, the management and control policy indicates that each associated object in the target associated objects has an unlimited number of access paths for the target service. Alternatively, the management and control policy indicates the number of access paths for each associated object in the target associated object for the target service.
这样一来,除了总取流路数之外,第一视频流媒体服务平台还能够组合关联对象,针对组合中的不同关联对象进行取流行为管控,增加了取流行为的管控维度,使得取流行为的管控粒度更细,有助于提升业务运行效果,避免管控维度单一所导致的业务运行效果差的问题。In this way, in addition to the total number of fetched streams, the first video streaming service platform can also combine associated objects, and manage and control the fetching behavior for different associated objects in the combination. The granularity of management and control of popular behavior is finer, which helps to improve the effect of business operation and avoid the problem of poor business operation effect caused by a single management and control dimension.
在一种可能的设计中,本申请实施例取流控制方法还包括:第一视频流媒体服务平台确定第一场景。其中,第一场景与取流请求对应。管控策略用于组合管控目标关联对象中每个关联对象针对目标监控点的取流行为,包括:根据第一场景确定目标管控策略,目标管控策略用于组合管控目标关联对象中每个关联对象针对目标监控点的取流行为。In a possible design, the flow control method according to the embodiment of the present application further includes: the first video streaming media service platform determines the first scene. The first scenario corresponds to a stream fetching request. The management and control strategy is used to combine the fetching behavior of each associated object in the management and control target associated objects for the target monitoring point, including: determining the target management and control strategy according to the first scenario, and the target management and control strategy is used to combine the management and control target associated objects for each associated object. The acquisition behavior of the target monitoring point.
如此,在不同的场景下,第一视频视频流媒体服务平台设置了与第一场景匹配的目标管控策略,以对取流请求进行校验,从而向第一客户端设备提供满足目标管控策略的目标业务流,以适应不同场景下视频切换播放的需求。In this way, in different scenarios, the first video and video streaming service platform sets a target management and control strategy that matches the first scenario, so as to verify the streaming request, so as to provide the first client device with a target management and control strategy that meets the target management and control strategy. Target service flow to meet the needs of video switching and playback in different scenarios.
在一种可能的设计中,第一场景是基于取流请求的接收时间,和/或,第一客户端设备的位置确定的。In a possible design, the first scenario is determined based on the reception time of the streaming request and/or the location of the first client device.
在一种可能的设计中,管控策略用于组合管控目标关联对象中每个关联对象针对目标监控点的取流行为,包括:基于管控策略中针对目标监控点的业务权限配置,组合管控目标关联对象中每个关联对象针对目标监控点的取流行为,和/或,基于管控策略中针对各关联对象对目标业务的取流路数的配置,组合管控目标关联对象中每个关联对象针对目标监控点的取流行为。In a possible design, the management and control strategy is used to combine the fetching behavior of each associated object in the management and control target associated objects for the target monitoring point, including: based on the business permission configuration for the target monitoring point in the management and control strategy, the combined management and control target association The fetching behavior of each associated object in the object for the target monitoring point, and/or, based on the configuration of the number of streams fetching the target business for each associated object in the management and control policy, the combined control of each associated object in the target associated object for the target Fetching behavior of monitoring points.
如此,第一视频视频流媒体服务平台能够通过业务权限配置和/或取流路数的配置,来管控取流行为,提高取流行为控制的灵活性。In this way, the first video video streaming media service platform can manage and control the streaming behavior through the configuration of the service authority and/or the configuration of the number of streaming channels, so as to improve the flexibility of the control of the streaming behavior.
在一种可能的设计中,第一视频流媒体服务平台响应于取流请求,根据管控策略确定执行针对目标监控点的取流行为之后,本申请实施例取流控制方法还包括:第一视频流媒体服务平台更新管控策略。更新后的管控策略指示拒绝提供目标监控点的指定类型的业务流,指定类型的业务包括至少一种业务。第一视频流媒体服务平台根据更新后的管控策略,切断针对目标监控点的已提供业务流中的指定类型的业务流。In a possible design, after the first video streaming media service platform determines and executes the streaming behavior for the target monitoring point according to the management and control policy in response to the streaming request, the streaming control method according to the embodiment of the present application further includes: the first video Streaming media service platform update management and control strategy. The updated management and control policy indicates that the specified type of service flow of the target monitoring point is refused to be provided, and the specified type of service includes at least one service. The first video streaming media service platform cuts off the service flow of the specified type in the service flow provided for the target monitoring point according to the updated management and control policy.
也就是说,第一视频流媒体服务平台能够拒绝提供目标监控点的指定类型的业务流,以防止指定类型的业务流泄露,提高了取流行为管控的灵活性,方便管理。That is to say, the first video streaming service platform can refuse to provide the specified type of service flow of the target monitoring point, so as to prevent the leakage of the specified type of service flow, improve the flexibility of the management and control of the fetching behavior, and facilitate management.
在一种可能的设计中,本申请实施例取流控制方法还包括:第一视频流媒体服务平台接收来自第二客户端设备的第一指令。其中,第一指令包括第一关联对象对第一监控点的管控信息,第一监控点包括支撑图像采集模块的云台。在第一关联对象对第一监控点的访问权限开启,且第一监控点未被除第一关联对象之外的其他关联对象锁定的情况下,第一视频流媒体服务平台响应于管控信息,控制第一监控点,其他关联对象的权限级别高于关联对象的权限级别,以实现对本级的第一监控点的管控。和/或,在第一关联对象对第一监控点的访问权限开启,且第一监控点未被除第一关联对象之外的其他关联对象锁定的情况下,第一视频流媒体服务平台向第二视频流媒体服务平台发送第二指令,第二指令用于指示第二视频流媒体服务平台根据管控信息控制第一监控点,其他关联对象的权限级别高于关联对象的权限级别,以实现对跨级的第一监控点的管控。和/或,在第一关联对象对第一监控点的访问权限关闭,和/或第一监控点已被除第一关联对象之外的其他关联对象锁定的情况下,第一视频流媒体服务平台向第二客户端设备反馈拒绝信息。其中,拒绝信息指示对第一监控点的管控无效,其他关联对象的权限级别高于关联对象的权限级别,以避免不必要的关联对象或恶意的关联对象操控第一监控点,方便权限级别更高的关联对象来操控第一监控点。In a possible design, the streaming control method according to the embodiment of the present application further includes: the first video streaming media service platform receives the first instruction from the second client device. Wherein, the first instruction includes management and control information of the first associated object on the first monitoring point, and the first monitoring point includes a pan/tilt supporting the image acquisition module. In the case where the access authority of the first associated object to the first monitoring point is enabled, and the first monitoring point is not locked by other associated objects except the first associated object, the first video streaming service platform responds to the management and control information, To control the first monitoring point, the authority level of other associated objects is higher than the authority level of the associated objects, so as to realize the management and control of the first monitoring point at the same level. And/or, when the access authority of the first associated object to the first monitoring point is enabled, and the first monitoring point is not locked by other associated objects except the first associated object, the first video streaming service platform sends The second video streaming service platform sends a second instruction, and the second instruction is used to instruct the second video streaming service platform to control the first monitoring point according to the management and control information, and the authority level of other associated objects is higher than that of the associated objects, so as to realize Control over the first monitoring point across levels. And/or, when the access authority of the first associated object to the first monitoring point is closed, and/or the first monitoring point has been locked by other associated objects other than the first associated object, the first video streaming service The platform feeds back rejection information to the second client device. Among them, the rejection information indicates that the control of the first monitoring point is invalid, and the authority level of other associated objects is higher than the authority level of the associated objects, so as to avoid unnecessary associated objects or malicious associated objects from manipulating the first monitoring point, and it is convenient to change the authority level. High associated object to control the first monitoring point.
在一种可能的设计中,本申请实施例取流控制方法还包括:第一视频流媒体服务平台根据第一信息中的第一策略,在目标业务流中加载水印信息。其中,第一信息指示第二关联对象被配置的水印策略,以及第二关联对象的优先级,第二关联对象是目标关联对象中的至少一个,第一策略是满足优先级条件的第二关联对象所被配置的水印策略,以避免视频泄露、篡改等。In a possible design, the flow control method according to the embodiment of the present application further includes: the first video streaming media service platform loads watermark information in the target service flow according to the first policy in the first information. Wherein, the first information indicates the configured watermark policy of the second associated object, and the priority of the second associated object, the second associated object is at least one of the target associated objects, and the first policy is the second association that satisfies the priority condition The watermark policy configured by the object to avoid video leakage, tampering, etc.
第二方面,本申请实施例提供一种取流控制装置,该装置可以为上述第一方面或第一方面任一种可能的设计中的第一视频流媒体服务平台,或者实现上述第一视频流媒体服务平台功能的芯片;该装置包括实现上述方法相应的模块、单元、或手段(means),该模块、单元、或means可以通过硬件实现,软件实现,或者通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块或单元。In a second aspect, an embodiment of the present application provides a streaming control device, which may be the first video streaming media service platform in the first aspect or any possible design of the first aspect, or implement the first video A chip with functions of a streaming media service platform; the device includes corresponding modules, units, or means (means) for implementing the above method, and the modules, units, or means can be implemented by hardware, software, or by executing corresponding software in hardware. The hardware or software includes one or more modules or units corresponding to the above functions.
该装置包括处理单元、发送单元和接收单元。其中,接收单元,用于接收来自第一客户端设备的取流请求。其中,取流请求用于请求获取目标监控点的目标业务流。处理单元,用于响应于取流请求,根据管控策略确定是否执行针对目标监控点的取流行为,以获取目标业务流。其中,管控策略用于组合管控目标关联对象中每个关联对象针对目标监控点的取流行为,目标关联对象与获取目标监控点的目标业务流相关联。发送单元,用于向第一客户端设备发送目标业务流。The device includes a processing unit, a sending unit and a receiving unit. Wherein, the receiving unit is configured to receive a stream acquisition request from the first client device. The flow retrieval request is used to request to obtain the target service flow of the target monitoring point. The processing unit is configured to, in response to the flow fetching request, determine whether to execute the flow fetching behavior for the target monitoring point according to the management and control policy, so as to obtain the target service flow. The management and control strategy is used to combine the fetching behavior of each associated object in the management and control target associated objects with respect to the target monitoring point, and the target associated object is associated with the target business flow for obtaining the target monitoring point. The sending unit is configured to send the target service flow to the first client device.
在一种可能的设计中,处理单元,还用于确定第一场景。其中,第一场景与取流请求对应。管控策略用于组合管控目标关联对象中每个关联对象针对目标监控点的取流行为,包括:根据第一场景确定目标管控策略,目标管控策略用于组合管控目标关联对象中每个关联对象针对目标监控点的取流行为。In a possible design, the processing unit is further configured to determine the first scene. The first scenario corresponds to a stream fetching request. The management and control strategy is used to combine the fetching behavior of each associated object in the management and control target associated objects for the target monitoring point, including: determining the target management and control strategy according to the first scenario, and the target management and control strategy is used to combine the management and control target associated objects for each associated object. The acquisition behavior of the target monitoring point.
在一种可能的设计中,第一场景是基于取流请求的接收时间,和/或,第一客户端设备的位置确定的。In a possible design, the first scenario is determined based on the reception time of the streaming request and/or the location of the first client device.
在一种可能的设计中,管控策略用于组合管控目标关联对象中每个关联对象针对目标监控点的取流行为,包括:基于管控策略中针对目标监控点的业务权限配置,组合管控目标关联对象中每个关联对象针对目标监控点的取流行为;和/或,基于管控策略中针对各关联对象对目标业务的取流路数的配置,组合管控目标关联对象中每个关联对象针对目标监控点的取流行为。In a possible design, the management and control strategy is used to combine the fetching behavior of each associated object in the management and control target associated objects for the target monitoring point, including: based on the business permission configuration for the target monitoring point in the management and control strategy, the combined management and control target association The fetching behavior of each associated object in the object for the target monitoring point; and/or, based on the configuration of the number of streams fetching the target service for each associated object in the management and control policy, each associated object in the target associated object is combined to control the target Fetching behavior of monitoring points.
在一种可能的设计中,处理单元,还用于在响应于取流请求,根据管控策略确定执行针对目标监控点的取流行为之后,更新管控策略。其中,更新后的管控策略指示拒绝提供目标监控点的指定类型的业务流,指定类型的业务包括至少一种业务。处理单元,还用于根据更新后的管控策略,控制发送单元切断针对目标监控点的已提供业务流中的指定类型的业务流。In a possible design, the processing unit is further configured to update the management and control policy after determining and executing the flow-fetching behavior for the target monitoring point according to the management and control policy in response to the flow-fetching request. Wherein, the updated management and control policy indicates that the specified type of service flow of the target monitoring point is refused to be provided, and the specified type of service includes at least one service. The processing unit is further configured to, according to the updated management and control policy, control the sending unit to cut off the service flow of the specified type in the provided service flow for the target monitoring point.
在一种可能的设计中,接收单元,还用于接收来自第二客户端设备的第一指令。其中,第一指令包括第一关联对象对第一监控点的管控信息,第一监控点包括支撑图像采集模块的云台。处理单元,还用于在第一关联对象对第一监控点的访问权限开启,且第一监控点未被除第一关联对象之外的其他关联对象锁定的情况下,响应于管控信息,控制第一监控点,其他关联对象的权限级别高于关联对象的权限级别。和/或,发送单元,还用于在第一关联对象对第一监控点的访问权限开启,且第一监控点未被除第一关联对象之外的其他关联对象锁定的情况下,向第二视频流媒体服务平台发送第二指令,第二指令用于指示第二视频流媒体服务平台根据管控信息控制第一监控点,其他关联对象的权限级别高于关联对象的权限级别。和/或,发送单元,还用于在第一关联对象对第一监控点的访问权限关闭,和/或第一监控点已被除第一关联对象之外的其他关联对象锁定的情况下,向第二客户端设备反馈拒绝信息。其中,拒绝信息指示对第一监控点的管控无效,其他关联对象的权限级别高于关联对象的权限级别。In a possible design, the receiving unit is further configured to receive the first instruction from the second client device. Wherein, the first instruction includes management and control information of the first associated object on the first monitoring point, and the first monitoring point includes a pan/tilt supporting the image acquisition module. The processing unit is further configured to control, in response to the management and control information, in the case where the access authority of the first associated object to the first monitoring point is enabled and the first monitoring point is not locked by other associated objects except the first associated object At the first monitoring point, the permission level of other associated objects is higher than the permission level of the associated object. And/or, the sending unit is further configured to send the first associated object to the first monitoring point when the access authority of the first associated object is enabled and the first monitoring point is not locked by other associated objects except the first associated object. The second video streaming service platform sends a second instruction, the second instruction is used to instruct the second video streaming service platform to control the first monitoring point according to the management and control information, and the authority level of other associated objects is higher than that of the associated object. And/or, the sending unit is also used to close the access authority of the first associated object to the first monitoring point, and/or the first monitoring point has been locked by other associated objects except the first associated object, Feedback rejection information to the second client device. The rejection information indicates that the control of the first monitoring point is invalid, and the authority level of other associated objects is higher than that of the associated objects.
在一种可能的设计中,处理单元,还用于根据第一信息中的第一策略,在目标业务流中加载水印信息。其中,第一信息指示第二关联对象被配置的水印策略,以及第二关联对象的优先级,第二关联对象是目标关联对象中的至少一个,第一策略是满足优先级条件的第二关联对象所被配置的水印策略。In a possible design, the processing unit is further configured to load watermark information in the target service flow according to the first policy in the first information. Wherein, the first information indicates the configured watermark policy of the second associated object, and the priority of the second associated object, the second associated object is at least one of the target associated objects, and the first policy is the second association that satisfies the priority condition The watermark policy that the object is configured with.
第三方面,本申请实施例提供了一种取流控制装置,包括:处理器和存储器;该存储器用于存储计算机指令,当该处理器执行该指令时,使得该取流控制装置执行上述任一方面或任一方面任一种可能的设计中第一视频流媒体服务平台所执行的方法。该取流控制装置可以为上述第一方面或第一方面任一种可能的设计中的第一视频流媒体服务平台,或者实现上述第一视频流媒体服务平台功能的芯片。In a third aspect, an embodiment of the present application provides a flow control device, including: a processor and a memory; the memory is used to store a computer instruction, and when the processor executes the instruction, the flow control device is made to execute any of the above. A method performed by the first video streaming service platform in any possible design of one aspect or any aspect. The streaming control device may be the first video streaming media service platform in the first aspect or any possible design of the first aspect, or a chip that implements the functions of the first video streaming media service platform.
第四方面,本申请实施例提供了一种取流控制装置,包括:处理器;所述处理器与存储器耦合,用于读取存储器中的指令并执行,以使该取流控制装置执行如上述任一方面或任一方面任一种可能的设计中第一视频流媒体服务平台所执行的方法。该取流控制装置可以为上述第一方面或第一方面任一种可能的设计中的第一视频流媒体服务平台,或者实现上述第一视频流媒体服务平台功能的芯片。In a fourth aspect, an embodiment of the present application provides a flow control apparatus, including: a processor; the processor is coupled to a memory, and is configured to read and execute instructions in the memory, so that the flow control apparatus executes the following: The method performed by the first video streaming media service platform in any one of the above aspects or any possible design of any one aspect. The streaming control device may be the first video streaming media service platform in the first aspect or any possible design of the first aspect, or a chip that implements the functions of the first video streaming media service platform.
第五方面,本申请实施例提供一种芯片,包括处理电路和输入输出接口。其中,输入输出接口用于与芯片之外的模块通信,例如,该芯片可以为实现上述第一方面或第一方面任一种可能的设计中的第一视频流媒体服务平台功能的芯片。处理电路用于运行计算机程序或指令,以实现以上第一方面或第一方面任一种可能的设计中的方法。In a fifth aspect, an embodiment of the present application provides a chip, including a processing circuit and an input and output interface. The input and output interfaces are used for communication with modules other than the chip. For example, the chip may be a chip that implements the function of the first video streaming media service platform in the first aspect or any possible design of the first aspect. The processing circuit is used to run a computer program or instructions to implement the method in the above first aspect or any possible design of the first aspect.
第六方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述任一方面中任一项的方法。In a sixth aspect, embodiments of the present application provide a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on a computer, the computer can execute the method in any one of the above aspects .
第七方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述任一方面中任一项的方法。In a seventh aspect, the embodiments of the present application provide a computer program product including instructions, which, when executed on a computer, enables the computer to execute the method in any one of the foregoing aspects.
第八方面,本申请实施例提供一种电路系统,电路系统包括处理电路,处理电路被配置为执行如上述任一方面中任一项的方法。In an eighth aspect, embodiments of the present application provide a circuit system, where the circuit system includes a processing circuit, and the processing circuit is configured to perform the method according to any one of the foregoing aspects.
第九方面,本申请实施例提供一种取流控制系统,该取流控制系统包括上述各个方面中任一项中的第一视频流媒体服务平台和第一客户端设备。In a ninth aspect, an embodiment of the present application provides a stream capture control system, where the stream capture control system includes the first video streaming media service platform and the first client device in any one of the above aspects.
其中,第二方面至第九方面中任一种设计所带来的技术效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, for the technical effect brought by any one of the designs of the second aspect to the ninth aspect, reference may be made to the beneficial effects in the corresponding methods provided above, which will not be repeated here.
附图说明Description of drawings
图1为一个实施例中取流控制系统的示例性框架结构示意图;1 is a schematic diagram of an exemplary frame structure of a flow control system in one embodiment;
图2为如图1所示取流控制系统中的取流行为的实例示意图;Fig. 2 is the example schematic diagram of the fetching behavior in the fetching control system as shown in Fig. 1;
图3a至图3c为本申请实施例提供的一种取流控制方法的示例性流程示意图;3a to 3c are exemplary schematic flowcharts of a flow control method provided by an embodiment of the present application;
图4a至图4b为本申请实施例提供的再一种取流控制方法的示例性流程示意图;4a to 4b are schematic flowcharts of still another flow control method provided by an embodiment of the present application;
图5a至图5b为本申请实施例提供的校验第一取流请求的示例性流程示意图;5a to 5b are exemplary schematic flowcharts of verifying a first stream fetch request provided by an embodiment of the present application;
图6a至图6b为本申请实施例提供的一种取流路数配置的示例性流程示意图;Figures 6a to 6b are schematic flowcharts of an exemplary flow chart configuration provided by an embodiment of the present application;
图7为本申请实施例提供的又一种取流控制方法的示例性流程示意图;FIG. 7 is an exemplary schematic flowchart of another flow control method provided by an embodiment of the present application;
图8a至图8e为本申请实施例提供的云台控制的示例性流程示意图;FIGS. 8a to 8e are schematic flowcharts of an exemplary PTZ control provided by an embodiment of the present application;
图9a至图9b为本申请实施例提供的一种加载水印信息的示例性流程示意图;9a to 9b are schematic flowcharts of an exemplary process for loading watermark information provided by an embodiment of the present application;
图10为本申请实施例提供的一种取流控制装置的结构示意图;10 is a schematic structural diagram of a flow control device provided by an embodiment of the application;
图11为本申请实施例提供的再一种取流控制装置的结构示意图。FIG. 11 is a schematic structural diagram of still another flow control device according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下参照附图并举实施例,对本申请作进一步详细说明。In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and examples.
图1为一个实施例中取流控制系统的示例性框架结构示意图。FIG. 1 is a schematic diagram of an exemplary frame structure of a flow control system in one embodiment.
请参见图1,在本申请实施例中,取流控制系统可以包括用于承载本域视频流媒体服务平台100的服务器集群101、接入在本域视频流媒体服务平台100的至少一个本域前端设备集群102、以及与本域视频流媒体服务平台100通信的至少一个本域客户端设备103。Referring to FIG. 1 , in this embodiment of the present application, the flow control system may include a
其中,本域视频流媒体服务平台100可以是提供视频播放的服务功能的平台。视频播放的服务功能包括以下至少一项:策略配置、取流请求校验、或视频流编码等。应理解,本域视频流媒体服务平台100还能够实现视频播放的其他服务功能,此处不再一一列举。The local video streaming
本域前端设备集群102可以是一个具备图像采集功能的设备或集合至少一个具备图像采集功能的设备的设备组。示例性的,本域前端设备集群102包括摄像机、摄像头模组等图像采集设备。在本申请实施例中,仅以摄像机为例进行介绍。摄像机还可以是集成了云台的云台相机、球机等设备。一台摄像机还可以由一个云台来支撑(例如将摄像机通过连接件安装于云台上),云台通过调整自身的转动速度、俯仰角度等来控制摄像机采集图像的角度。一台摄像机通常也称为一个监控点。The local front-
本域客户端设备103能够与本域视频流媒体服务平台100进行通信,如发送取流请求,或接收视频流。示例性的,用户通过本域客户端设备103在本域视频流媒体服务平台100注册。其中,通过本域客户端设备103注册的用户可以是本域用户104,也可以是本域用户组105。以本域视频流媒体服务平台100所在域为例,本域用户是指,注册在本域视频流媒体服务平台100的独立用户。本域用户组是指,注册在本域视频流媒体服务平台100的用户组。一个用户组内可以包括至少一个用户。The
本域客户端设备103还能够播放获取的视频流。示例性的,本域客户端设备103可以是支持视频流媒体的播放格式的任意一种类型的客户端,例如,客户服务端(customerserver,CS)、浏览器服务端(browser server,BS)、移动终端(mobile)、或者电视墙等任意一种支持视频流媒体播放的客户端。The
应理解,在本申请实施例中,发送取流请求的本域客户端设备,与接收并播放视频流的本域客户端设备,可以是同一设备,也可以是不同设备,本申请实施例对此不作限定。下面,仅以同一设备为例进行介绍。It should be understood that, in this embodiment of the present application, the local client device that sends the stream fetch request and the local client device that receives and plays the video stream may be the same device or different devices. This is not limited. Below, only the same device is used as an example for introduction.
示例性的,本域用户104可以通过本域视频流媒体服务平台100的操作界面发起应用创建请求,以请求本域视频流媒体服务平台100创建第三方的应用。在应用创建完成之后,某一第三方可以预览、回放或下载自身应用的视频流。其中,第三方包括取流控制系统的合作方、合作厂商、运营商等。相比于本域用户104或本域用户组105而言,第三方无需在本域视频流媒体服务平台100注册。示例性的,某一第三方的应用可以是一个,即一个应用对应一个第三方。Exemplarily, the
可选的,如图l所示,该取流控制系统还可以包括用于承载第一邻域视频流媒体服务平台110的第一邻域服务器集群111、接入在第一邻域视频流媒体服务平台110的至少一个第一邻域前端设备集群112、以及与第一邻域视频流媒体服务平台110通信的至少一个第一邻域客户端设备113。和/或,该取流控制系统还可以包括用于承载第二邻域视频流媒体服务平台120的第二邻域服务器集群121、接入在第二邻域视频流媒体服务平台120的至少一个第二邻域前端设备集群122、以及与第二邻域视频流媒体服务平台120通信的至少一个第二邻域客户端设备123。Optionally, as shown in FIG. 1, the flow control system may also include a first
其中,第一邻域视频流媒体服务平台110和第二邻域视频流媒体服务平台120均与本域视频流媒体服务平台100通信连接,也都可以是提供视频播放的服务功能的平台,即,第一邻域视频流媒体服务平台110和第二邻域视频流媒体服务平台120可以是不同于本域视频流媒体服务平台100、且彼此互不相同的视频流媒体服务平台。应理解,在提供视频播放的服务功能的平台中,如上述本域视频流媒体服务平台100、第一邻域视频流媒体服务平台110或第二邻域视频流媒体服务平台120,均包括以下组件中的一项或多项:Wherein, the first neighborhood video streaming
第一,视频安防监控系统(video surveillance&control system,VSCS)组件。其中,VSCS组件属于服务平台中的业务组件,主要提供针对视频流的取流管控、云台管控、视频水印管控等功能。First, video surveillance & control system (VSCS) components. Among them, the VSCS component is a business component in the service platform, and mainly provides functions such as stream fetching management and control, PTZ management and control, and video watermarking management and control for video streams.
第二,设备接入框架(device access construction,DAC)组件。其中,DAC组件属于服务平台上的基础后端服务组件,主要提供设备接入及管理,设备取流业务等功能。Second, the device access construction (DAC) component. Among them, the DAC component belongs to the basic back-end service component on the service platform, which mainly provides functions such as device access and management, and device streaming services.
第三,视频联网网关(video networking gateway,NCG)组件。其中,NCG组件属于服务平台上的基础后端服务组件,主要提供外域平台的互联互通业务,域间的设备控制、取流、云台等业务交互功能。Third, the video networking gateway (video networking gateway, NCG) component. Among them, the NCG component belongs to the basic back-end service component on the service platform. It mainly provides the interconnection and interoperability services of the external domain platform, and the business interaction functions such as device control, flow acquisition, and PTZ between the domains.
第四,视频联网共享组件(video network share component,VNSC)。其中,VNSC具备生成短链接和长链接的功能。短链接是指,具有特定格式的统一资源定位符(uniformresource locator,URL),通常可以表示为:{取流协议}://{媒体服务Ip}:{媒体服务端口}/{短链接唯一标识},如rtsp://10.19.133.117:655/EUrl/kf6uH16。短链接的唯一标识可以为VNSC根据算法随机生成的指定位数长的字符(例如7位字符),原则上短链接唯一且不会重复。短链接是VSCS组件取流时进行换取真实取流长链接的唯一工具。每个短链接都会有对应的长链接,多个短链接可能对应同一个长链接。长链接是指,具有特定格式的完整取流URL,通常可以表示为:{取流协议}://{媒体服务Ip}:{媒体服务端口}/{媒体服务标识}/{取流业务类型}/{监控点或设备编号}/{码流类型}/{网络传输协议}?{扩展参数},如rtsp://10.19.133.117:655/dac/realplay/46de69b3ccd042b58a67188bef5a889e/MAIN/TCP?vnscPlatform=platform&vnscRegion=8f9d26795a3c4345886081d95d9dbde7&vnscClientType=browser&vnscDasIndex=2f390317-e1f9-4fa8-aac9-cae20e0fbfc2。长链接可以用于取流。Fourth, video network share component (video network share component, VNSC). Among them, VNSC has the function of generating short links and long links. A short link refers to a uniform resource locator (uniform resource locator, URL) with a specific format, which can usually be expressed as: {streaming protocol}: //{media service Ip}:{media service port}/{short link unique identifier }, such as rtsp://10.19.133.117:655/EUrl/kf6uH16. The unique identifier of the short link can be a character with a specified digit length (for example, a 7-digit character) randomly generated by VNSC according to an algorithm. In principle, the short link is unique and will not be repeated. Short link is the only tool to exchange for real long link when VSCS component fetches stream. Each short link will have a corresponding long link, and multiple short links may correspond to the same long link. A long link refers to a complete streaming URL with a specific format, which can usually be expressed as: {streaming protocol}://{media service Ip}:{media service port}/{media service ID}/{streaming service type }/{Monitoring point or device number}/{Stream type}/{Network transmission protocol}? {extended parameter}, such as rtsp://10.19.133.117:655/dac/realplay/46de69b3ccd042b58a67188bef5a889e/MAIN/TCP? vnscPlatform=platform&vnscRegion=8f9d26795a3c4345886081d95d9dbde7&vnscClientType=browser&vnscDasIndex=2f390317-e1f9-4fa8-aac9-cae20e0fbfc2. Long links can be used for streaming.
第五,媒体(media)组件。其中,媒体组件用于通过会话(session)向客户端设备提供视频流,或剔除正在传输视频流的会话。Fifth, the media component. Among them, the media component is used to provide a video stream to the client device through a session, or to exclude a session that is transmitting a video stream.
为了更清楚地理解该实施例中的方案,下面,以本域视频流媒体服务平台100的视角进行描述,故使用“邻域”来区别表达不同于本域视频流媒体服务平台100的其他视频流媒体服务平台。In order to understand the solution in this embodiment more clearly, the following description is made from the perspective of the video
类似的,第一邻域前端设备集群112和第二邻域前端设备集群122也都可以是具备图像采集功能的设备,即,第一邻域前端设备集群112和第二邻域前端设备集群122可以是不同于本域前端设备集群102、且彼此互不相同的前端设备集群。Similarly, both the first-neighborhood front-
第一邻域客户端设备113和第二邻域客户端设备123也都可以是具备通信功能、视频播放功能的设备,即,第一邻域客户端设备112和第二邻域客户端设备122可以是不同于本域客户端设备102、且彼此互不相同的客户端设备。Both the first-
第一邻域视频流媒体服务平台110注册的用户可以是第一邻域用户114,也可以是第一邻域用户组115。第二邻域视频流媒体服务平台120注册的用户可以是第二邻域用户124,也可以是第二邻域用户组125。其中,第一邻域用户114和第二邻域用户124均是独立用户,第一邻域用户组115和第二邻域用户组125均是用户组。The user registered with the first neighborhood video streaming
可选的,如图l所示,该取流控制系统还可以包括边缘网关130、以及接入在边缘网关130的至少一个第三邻域前端设备集群132。Optionally, as shown in FIG. 1 , the flow control system may further include an
其中,边缘网关130与本域视频流媒体服务平台100通信连接,能够面向设备接入场景,以提供边缘侧多种异构协议设备,如第三邻域前端设备集群132,接入本域视频流媒体服务平台100,实现域间联网共享视频流。边缘网关130支持接入管理、视频联网共享、感知数据转发等功能。另外,边缘网关也可以描述为边缘网关节点。例如,某一小区可以部署一套边缘网关系统,这就可以称为一个边缘网关节点。Among them, the
第三邻域前端设备集群132也都可以是具备图像采集功能的设备,即,第三邻域前端设备集群132可以是不同于本域前端设备集群102、且彼此互不相同的前端设备集群。The third-neighborhood front-
在如图l所示的取流控制系统中,取流行为包括以下至少一项:视频流的产生、视频流的传输、或视频流的播放等。取流行为与多个关联对象相关联。其中,关联对象是指,参与意图获取的视频流的取流行为的实体对象或虚拟对象,如用户、用户组、客户端设备、应用、视频流媒体服务平台、前端设备、边缘网关等。In the streaming control system shown in FIG. 1, the streaming behavior includes at least one of the following: generation of a video stream, transmission of a video stream, or playback of a video stream, and the like. Fetching behavior is associated with multiple associated objects. The associated object refers to the entity object or virtual object that participates in the fetching behavior of the video stream intended to be acquired, such as users, user groups, client devices, applications, video streaming media service platforms, front-end devices, edge gateways, etc.
图2是在如图1所示取流控制系统中的取流行为的实例示意图。FIG. 2 is a schematic diagram of an example of the flow extraction behavior in the flow extraction control system shown in FIG. 1 .
如图2中的曲线a所示,假设在本域视频流媒体服务平台100注册的本域用户104,采用本域客户端设备103向本域视频流媒体服务平台100发送取流请求,以发起从本域前端设备集群102的取流(例如针对本域前端设备集群102中的某个目标监控点),则,该取流行为与如下关联对象相关联(目标关联对象):As shown by the curve a in FIG. 2 , it is assumed that the
在本域视频流媒体服务平台100注册的本域用户104、该本域用户104所属的本域用户组105、接入在本域视频流媒体服务平台100并被本域用户104指定播放视频流的本域客户端设备103、该本域视频流媒体服务平台100、以及本域前端设备集群102。The
类似地,对于如图2中曲线a所示的本域取流行为,也可以由第一邻域用户114采用第一邻域客户端设备113向第一邻域视频流媒体服务平台110发起,和/或,由第二邻域用户124采用客户端设备123向第二邻域视频流媒体服务平台120发起。Similarly, for the behavior of streaming in this domain as shown by the curve a in FIG. 2 , the
如图2中的曲线b所示,假设在第一邻域视频流媒体服务平台110注册的第一邻域用户114,采用第一邻域客户端设备113向第一邻域视频流媒体服务平台110发送取流请求,以发起从接入在本域视频流媒体服务平台100的本域前端设备集群102的取流,则,该取流行为与如下关联对象相关联(目标关联对象):As shown by the curve b in FIG. 2 , it is assumed that the
在第一邻域视频流媒体服务平台110注册的第一邻域用户114、该第一邻域用户114所属的第一邻域用户组115、接入在第一邻域视频流媒体服务平台110并被第一邻域用户114指定播放视频流的第一邻域客户端113、该第一邻域视频流媒体服务平台110、本域视频流媒体服务平台100、以及接入在本域视频流媒体服务平台100的本域前端设备集群102。The
如图2中的曲线c所示,假设在本域视频流媒体服务平台100注册的本域用户104,采用本域客户端设备103向本域视频流媒体服务平台100发送取流请求,以发起从接入在第二邻域视频流媒体服务平台120的第二邻域前端设备集群122的取流,则,该取流行为与如下关联对象相关联(目标关联对象):As shown by the curve c in FIG. 2 , it is assumed that the
在本域视频流媒体服务平台100注册的本域用户104、该本域用户104所属的本域用户组105、接入在本域视频流媒体服务平台100并被本域用户104指定播放视频流媒体的本域客户端设备103、该本域视频流媒体服务平台100、第二邻域视频流媒体服务平台120、以及接入在第二邻域视频流媒体服务平台120的第二邻域前端设备集群122。The
如图2中的曲线d所示,假设在本域视频流媒体服务平台100注册的本域用户104,采用本域客户端设备103向本域视频流媒体服务平台100发送取流请求,以发起从接入在边缘网关130的第三邻域前端设备集群132的取流,则,该取流行为与如下关联对象相关联(目标关联对象):As shown by the curve d in FIG. 2 , it is assumed that the
在本域视频流媒体服务平台100注册的本域用户104、该本域用户104所属的本域用户组105、接入在本域视频流媒体服务平台100并被本域用户104指定播放视频流媒体的本域客户端设备103、该本域视频流媒体服务平台100、边缘网关130、以及接入在边缘网关130的第三邻域前端设备集群132。The
如图2中的曲线e所示,假设在第一邻域视频流媒体服务平台110注册的第一邻域用户114,采用第一邻域客户端设备113向第一邻域视频流媒体服务平台110发送取流请求,以发起经由本域视频流媒体服务平台100从接入在第二邻域视频流媒体服务平台120的第二邻域前端设备集群122的取流,则,该取流行为与如下关联对象相关联(目标关联对象):As shown by the curve e in FIG. 2 , it is assumed that the
在第一邻域视频流媒体服务平台110注册的第一邻域用户114、该第一邻域用户114所属的第一邻域用户组115、接入在第一邻域视频流媒体服务平台110并被第一邻域用户114指定播放视频流媒体的第一邻域客户端113、该第一邻域视频流媒体服务平台110、本域视频流媒体服务平台100、第二邻域视频流媒体服务平台120、以及接入在第二邻域视频流媒体服务平台120的第二邻域前端设备集群122。The
如图2中的曲线f所示,假设在第一邻域视频流媒体服务平台110注册的第一邻域用户114,采用第一邻域客户端设备113向第一邻域视频流媒体服务平台110发送取流请求,以发起经由本域视频流媒体服务平台100从接入在边缘网关130的第三邻域前端设备集群132的取流,则,该取流行为与如下关联对象相关联(目标关联对象):As shown by the curve f in FIG. 2 , it is assumed that the
在第一邻域视频流媒体服务平台110注册的第一邻域用户114、该第一邻域用户114所属的第一邻域用户组115、接入在第一邻域视频流媒体服务平台110并被第一邻域用户114指定播放视频流媒体的第一邻域客户端设备113、该第一邻域视频流媒体服务平台110、本域视频流媒体服务平台100、边缘网关130、以及接入在边缘网关130的第三邻域前端设备集群132。The
在图2的曲线a至曲线f所示的例子中,获取的视频流可以是某一(些)应用的视频流。例如,在第三方观看公众号直播的情况下,应用包括上述公众号,获取的视频流是该公众号的视频流。也就是说,上述取流行为的关联对象还包括应用。In the example shown by the curve a to the curve f in FIG. 2 , the acquired video stream may be the video stream of a certain application(s). For example, when a third party watches the live broadcast of an official account, the application includes the above official account, and the acquired video stream is the video stream of the official account. That is to say, the related object of the above-mentioned fetching behavior also includes the application.
如上可见,视频流的每次取流行为都与多个关联对象相关联,因此,在该实施例中,通过将取流行为的关联对象作为管控对象,实现对取流行为的管控。As can be seen above, each video stream fetching behavior is associated with multiple associated objects. Therefore, in this embodiment, the fetching behavior is managed and controlled by taking the associated object of the fetching behavior as the control object.
具体地,对于任意一个服务平台,取流行为的关联对象的对象类别可以包括本端对象类别,目的端对象类别,以及源端对象类别。Specifically, for any service platform, the object category of the associated object of the fetching behavior may include the object category of the local end, the object category of the destination end, and the object category of the source end.
示例性的,对于本域视频流媒体服务平台100而言,其本端对象类别的关联对象可以是该本域视频流媒体服务平台100。目的端对象类别的关联对象可以包括本域用户104,该本域用户104所属的本域用户组105,接入在本域视频流媒体服务平台100并被本域用户104指定播放视频流的本域客户端设备103,或目的端侧的其他视频流媒体服务平台。源端对象类别的关联对象可以包括本域前端设备集群102,或源端侧的其他视频流媒体服务平台,或源端侧的边缘网关。Exemplarily, for the video streaming
其中,本端对象类别的关联对象,可以以单个平台为单位进行管控策略的配置,本端对象类别在下文中将被称为本级平台,并以本域视频流媒体服务平台100为例进行实例描述。Among them, the related objects of the local object category can be configured with a single platform as a unit to configure the management and control strategy. The local object category will be referred to as the local platform in the following, and the video
属于一种目的端对象类别的客户端设备,可以以客户端设备为单位进行管控策略的配置。A client device belonging to a category of destination objects can configure management and control policies in units of client devices.
属于再一种目的端对象类别的用户,可以以单个用户为单位进行管控策略的配置。Users belonging to another destination object category can configure control policies on a single user basis.
属于又一种目的端对象类别的用户组,可以以单个用户组为单位进行管控策略的配置。User groups belonging to another destination object category can configure control policies on a single user group basis.
属于又一种目的端对象类别的其他视频流媒体服务平台,可以以单个平台为单位进行管控策略的配置,属于目的端对象类别的其他视频流媒体服务平台在下文中将被称为上级平台。其中,上级平台是指,接收从本级平台推送或共享的视频流媒体资源的平台,或者从本级平台获取视频流媒体资源的平台。后文中,将以第一邻域视频流媒体服务平台110为上级平台为例进行实例描述,但可以理解的是,允许同时存在除第一邻域视频流媒体服务平台110之外的其他上级平台。另外,目的端对象类别的其他视频流媒体服务平台也可以替换为联网系统。也就是说,联网系统也可以理解为本级平台的上级平台。Other video streaming media service platforms belonging to another destination object category can configure management and control policies on a single platform basis. Other video streaming media service platforms belonging to the destination object category will be referred to as upper-level platforms hereinafter. The upper-level platform refers to the platform that receives the video streaming media resources pushed or shared from the platform at the same level, or the platform that obtains the video streaming media resources from the platform at the same level. Hereinafter, the first neighborhood video streaming
属于一种源端对象类别的前端设备集群,可以以区域为单位进行管控策略的配置。其中,区域可以包括,地理区域、行政区域、街区、或自定义区域等,本申请实施例对此不作限定。A front-end device cluster belonging to a source-end object category can configure management and control policies on a region-by-region basis. The area may include a geographic area, an administrative area, a block, or a user-defined area, which is not limited in this embodiment of the present application.
属于再一种源端对象类别的其他视频流媒体服务平台,可以以单个平台为单位进行管控策略的配置,属于源端对象类别的其他视频流媒体服务平台在下文中将被称为下级平台。其中,下级平台是指,向本级平台推送或共享视频流媒体资源的平台,或者由本级平台从其获取视频流媒体资源的平台。后文中,将以第二邻域视频流媒体服务平台120为下级平台为例进行实例描述,但可以理解的是,允许同时存在除第二邻域视频流媒体服务平台120之外的其他下级平台。另外,源端对象类别的其他视频流媒体服务平台也可以替换为边缘系统。也就是说,边缘系统也可以理解为本级平台的下级平台。Other video streaming media service platforms belonging to yet another source-end object category can configure management and control policies on a single platform basis, and other video streaming media service platforms belonging to the source-end object category will be referred to as subordinate platforms hereinafter. The subordinate platform refers to the platform that pushes or shares video streaming media resources to the platform at the same level, or the platform from which the platform obtains video streaming media resources. Hereinafter, the second neighborhood video streaming
属于又一种源端对象类别的边缘网关,可以以单个边缘网关为单位进行管控策略的配置,属于源端对象类别的边缘网关,能够向本级平台推送或共享视频流媒体资源,以使本级平台从其获取视频流媒体资源。后文中,将以边缘网关130为例进行实例描述,但可以理解的是,允许同时存在除边缘网关130之外的其他边缘网关。Edge gateways belonging to another source object category can configure management and control policies on a single edge gateway. Edge gateways belonging to the source object category can push or share video streaming media resources to the platform at this level, so that the The top-level platform obtains video streaming media resources from it. Hereinafter, the
对于任意一个服务平台,取流行为的关联对象的对象类别还可以包括应用,可以以单个应用为单位进行管控策略的配置。For any service platform, the object category of the associated object of the fetching behavior may also include applications, and the configuration of management and control policies can be performed on a single application unit.
上述的每一个对象类别,都可以看作是用于对取流行为管控的一个维度。通过管控多个对象类别的关联对象来实施对取流行为的管控,可以实现对取流行为的多维度管控。Each of the above object categories can be regarded as a dimension used to control the fetching behavior. By controlling the associated objects of multiple object categories to implement the management and control of the fetching behavior, the multi-dimensional management and control of the fetching behavior can be realized.
然而,随着视频流媒体行业的发展,业务种类增多,仅针对总取流路数来管控取流行为,无法满足取流行为管控需求,容易影响各类业务的运行效果。However, with the development of the video streaming media industry, the types of services have increased. Only the total number of access channels is used to manage and control the streaming behavior, which cannot meet the needs of the management and control of the streaming behavior, which easily affects the operation effect of various services.
有鉴于此,本申请实施例提供了一种取流控制方法,本申请实施例取流控制方法应用于图1的网络架构。在本申请实施例取流控制方法中,第一视频流媒体服务平台接收来自第一客户端设备的取流请求。其中,取流请求用于请求获取目标监控点的目标业务流。然后,第一视频流媒体服务平台响应于取流请求,根据管控策略确定是否执行针对目标监控点的取流行为,以获取目标业务流,并向第一客户端设备发送目标业务流。其中,管控策略用于组合管控目标关联对象中每个关联对象针对目标监控点的取流行为,目标关联对象与获取目标监控点的目标业务流相关联。这样一来,除了总取流路数之外,第一视频流媒体服务平台还能够组合关联对象,针对组合的不同关联对象进行取流行为管控,增加取流行为的管控维度,使得取流行为的管控粒度更细,有助于提升业务运行效果,避免管控维度单一所导致的业务运行效果差的问题。In view of this, an embodiment of the present application provides a flow control method, and the flow control method according to the embodiment of the present application is applied to the network architecture of FIG. 1 . In the streaming control method according to the embodiment of the present application, the first video streaming media service platform receives a streaming request from the first client device. The flow retrieval request is used to request to obtain the target service flow of the target monitoring point. Then, the first video streaming media service platform, in response to the stream fetch request, determines whether to execute the stream fetch behavior for the target monitoring point according to the management and control policy, so as to obtain the target service stream, and send the target service stream to the first client device. The management and control strategy is used to combine the fetching behavior of each associated object in the management and control target associated objects with respect to the target monitoring point, and the target associated object is associated with the target business flow for obtaining the target monitoring point. In this way, in addition to the total number of fetched streams, the first video streaming service platform can also combine associated objects, and manage and control the fetching behavior for different associated objects in the combination. The granularity of management and control is finer, which helps to improve the effect of business operation and avoids the problem of poor business operation effect caused by a single management and control dimension.
下面,结合图3a,对本申请实施例提出的取流控制方法300进行详细介绍。Hereinafter, with reference to FIG. 3 a , the flow
S301、第一客户端设备向第一视频流媒体服务平台发送第一取流请求。相应的,第一视频流媒体服务平台接收来自第一客户端设备的第一取流请求。S301. The first client device sends a first streaming request to a first video streaming media service platform. Correspondingly, the first video streaming media service platform receives the first streaming request from the first client device.
其中,第一客户端设备与第一视频流媒体服务平台之间能够进行通信。以图1为例,第一客户端设备可以是第一邻域客户端设备113。相应的,第一视频流媒体服务平台是第一邻域视频流媒体服务平台110。第一客户端设备也可以是本域客户端设备103。相应的,第一视频流媒体服务平台是本域视频流媒体服务平台100。第一客户端设备还可以是第二邻域客户端设备123。相应的,第一视频流媒体服务平台是第二邻域视频流媒体服务平台120。在本申请实施例中,仅以本域客户端设备103和本域视频流媒体服务平台100为例进行介绍。Wherein, communication can be performed between the first client device and the first video streaming media service platform. Taking FIG. 1 as an example, the first client device may be the first
其中,第一取流请求用于请求获取目标监控点的目标业务流。与获取目标监控点的目标业务流相关联的关联对象,描述为关联对象a,具体可以参见图2的描述。示例性的,关联对象a包括:The first flow fetching request is used to request to obtain the target service flow of the target monitoring point. The associated object associated with the target service flow for acquiring the target monitoring point is described as associated object a, and for details, please refer to the description of FIG. 2 . Exemplarily, the associated object a includes:
第一项,用户。其中,用户是指,采用第一客户端设备发出第一取流请求的用户,如用户甲、或用户乙。相应的,用户,这一关联对象a的信息,可以包括:用户的名称、或用户的标识等。示例性的,以预览业务为例,第一取流请求指示用户甲获取n1路预览视频流。此种情况下,第一取流请求中可以携带关联对象a的信息包括:用户甲的名称、或用户甲的标识。The first item is the user. The user refers to a user who uses the first client device to send out the first stream fetching request, such as user A or user B. Correspondingly, the user, the information of the associated object a, may include: the user's name, or the user's identifier, and the like. Exemplarily, taking the preview service as an example, the first stream fetch request instructs user A to obtain n1 preview video streams. In this case, the information about the associated object a that can be carried in the first stream fetching request includes: the name of the user A, or the identifier of the user A.
第二项,用户组。其中,用户组是指,采用第一客户端设备发出第一取流请求的用户所属的组,如用户组1、或用户组2。相应的,用户组,这一关联对象a的信息,可以包括:用户组的名称、或用户组的标识等。示例性的,以预览业务为例,第一取流请求指示用户组1获取n1路预览视频流。此种情况下,目标业务流包括n1路预览视频流。第一取流请求中可以携带关联对象a的信息包括:用户组1的名称、或用户组1的标识。The second item is the user group. The user group refers to a group to which the user who uses the first client device to send the first stream fetching request belongs, such as user group 1 or user group 2. Correspondingly, the user group, the information of the associated object a, may include: the name of the user group, or the identifier of the user group, and the like. Exemplarily, taking the preview service as an example, the first streaming request instructs the user group 1 to acquire n1 preview video streams. In this case, the target service stream includes n1 preview video streams. The information of the associated object a that can be carried in the first stream fetch request includes: the name of the user group 1 or the identifier of the user group 1 .
第三项,客户端设备。示例性的,S301中第一取流请求携带的客户端设备的信息,可以包括:第一客户端设备的名称、或第一客户端设备的标识等。以预览业务为例,第一取流请求指示第一客户端设备获取n1路预览视频流。此种情况下,第一取流请求中可以携带关联对象a的信息包括:第一客户端设备的名称、或第一客户端设备的标识。The third item, the client device. Exemplarily, the information of the client device carried in the first stream fetching request in S301 may include: the name of the first client device, or the identifier of the first client device, and the like. Taking the preview service as an example, the first stream fetch request instructs the first client device to obtain n1 preview video streams. In this case, the information of the association object a that may be carried in the first stream fetch request includes: the name of the first client device or the identifier of the first client device.
第四项,应用。其中,该应用的视频流包括在第一取流请求所请求的目标业务流中,以方便第三方通过上述第一客户端设备预览、回放或下载该应用的视频流。示例性的,第三方包括取流控制系统(如上述第一视频流媒体服务平台)的合作方、合作厂商等,如其他公司运营的公众号。第三方无需在第一视频流媒体服务平台注册。例如,第三方在第一客户端设备上观看某一公众号直播的情况下,应用包括上述公众号。上述公众号的视频流包括在第一取流请求获取的目标业务流中。示例性的,以预览业务为例,第一取流请求指示获取关于公众号1的n1路预览视频流。此种情况下,第一取流请求中可以携带关联对象a的信息包括:公众号1的名称、或公众号1的标识。Fourth item, application. Wherein, the video stream of the application is included in the target service stream requested by the first stream fetching request, so as to facilitate the third party to preview, play back or download the video stream of the application through the above-mentioned first client device. Exemplarily, the third party includes partners, cooperative manufacturers, etc. of the streaming control system (such as the above-mentioned first video streaming media service platform), such as public accounts operated by other companies. Third parties do not need to register with the first video streaming service platform. For example, when a third party watches the live broadcast of a certain official account on the first client device, the application includes the above official account. The video stream of the above official account is included in the target service stream obtained by the first stream fetching request. Exemplarily, taking the preview service as an example, the first stream fetching request instructs to obtain n1 preview video streams of public account 1. In this case, the information of the associated object a that can be carried in the first stream fetch request includes: the name of the official account 1, or the identifier of the official account 1.
第五项,视频流媒体服务平台。其中,视频流媒体服务平台是指,S301中第一客户端设备意图获取的目标业务流所关联的服务平台。例如,以图2中曲线a或曲线d为例,S301中第一取流请求携带的视频流媒体服务平台的信息,可以包括:本域视频流媒体服务平台100的名称、或本域视频流媒体服务平台100的标识等。再如,以图2中曲线c为例,S301中第一取流请求携带的视频流媒体服务平台的信息,可以包括:本域视频流媒体服务平台100的名称(或本域视频流媒体服务平台100的标识),以及第二邻域视频流媒体服务平台120的名称(或第二邻域视频流媒体服务平台120的标识)。示例性的,以预览业务为例,第一取流请求指示本域视频流媒体服务平台100获取n1路预览视频流。此种情况下,第一取流请求中可以携带关联对象a的信息至少包括:本域视频流媒体服务平台100的名称、或本域视频流媒体服务平台100的标识。The fifth item is a video streaming service platform. The video streaming media service platform refers to the service platform associated with the target service flow that the first client device intends to acquire in S301. For example, taking the curve a or the curve d in FIG. 2 as an example, the information of the video streaming media service platform carried in the first streaming request in S301 may include: the name of the video streaming
第六项,前端设备。其中,前端设备是指,S301中第一客户端设备意图获取目标业务流的源端设备。例如,以图2中的曲线a为例,S301中第一取流请求携带的前端设备的信息,可以包括:本域前端设备集群102的名称、或本域前端设备集群102的标识等。再如,以图2中的曲线c为例,S301中第一取流请求携带的前端设备的信息,可以包括:第二邻域前端设备集群122的名称、或第二邻域前端设备集群122的标识等。又如,以图2中的曲线d为例,S301中第一取流请求携带的前端设备的信息,可以包括:第三邻域前端设备集群132的名称、或第三邻域前端设备集群132的标识等。示例性的,以预览业务为例,第一取流请求指示本域前端设备集群102获取n1路预览视频流。此种情况下,第一取流请求中携带关联对象a的信息可以包括:本域前端设备集群102的名称、或本域前端设备集群102的标识。The sixth item, front-end equipment. The front-end device refers to the source-end device from which the first client device intends to acquire the target service flow in S301. For example, taking curve a in FIG. 2 as an example, the front-end device information carried in the first stream fetch request in S301 may include: the name of the local front-
第七项,边缘网关。其中,边缘网关能够汇聚边缘的前端设备,具备设备接入管理等功能。边缘网关,也可以理解为,本级平台的下级平台。例如,以图2中的曲线d为例,S301中第一取流请求携带的边缘网关的信息,可以包括:边缘网关130的名称、或边缘网关130的标识等。示例性的,以预览为例,第一取流请求指示获取n1路经由边缘网关130的预览视频流。此种情况下,第一取流请求中可以携带关联对象a的信息包括:边缘网关130的名称、或边缘网关130的标识。The seventh item, edge gateway. Among them, the edge gateway can aggregate front-end devices at the edge, and has functions such as device access management. The edge gateway can also be understood as the lower-level platform of the current-level platform. For example, taking curve d in FIG. 2 as an example, the information of the edge gateway carried in the first flow fetching request in S301 may include: the name of the
第八项,联网系统。其中,联网系统是从本级平台获取视频流的系统,属于本级平台的上级平台。The eighth item is the networking system. Among them, the networking system is a system that obtains video streams from the platform at the same level, and belongs to the upper-level platform of the platform at the same level.
第九项,边缘系统。其中,边缘系统是向本级平台推送或共享视频流的系统,属于本级平台的下级平台。The ninth item, the limbic system. Among them, the edge system is a system that pushes or shares video streams to the platform at the same level, and belongs to the lower-level platform of the platform at the same level.
目标业务流,是指针对目标监控点的目标业务的视频流。其中,目标业务包括以下至少一项:The target service stream refers to the video stream of the target service directed to the target monitoring point. Among them, the target business includes at least one of the following:
第一项,预览。示例性的,用户想在第一客户端设备上预览目标监控点的视频流的情况下,S301中第一客户端设备意图获取视频流所属的目标业务,即为预览。此种情况下,目标业务流包括预览业务的视频流。示例性的,仅以用户为例,第一取流请求指示用户甲获取n1路预览视频流。此种情况下,第一取流请求中携带目标业务的信息包括:指示预览的信息,如名称,或标识等。另外,预览,也可以描述为,取流-实时预览,如表1所示。The first item, preview. Exemplarily, when the user wants to preview the video stream of the target monitoring point on the first client device, the first client device in S301 intends to obtain the target service to which the video stream belongs, that is, preview. In this case, the target service stream includes the video stream of the preview service. Exemplarily, only taking a user as an example, the first stream fetching request instructs user A to obtain n1 channels of preview video streams. In this case, the information of the target service carried in the first stream fetching request includes: information indicating preview, such as a name or an identifier. In addition, the preview can also be described as streaming-real-time preview, as shown in Table 1.
第二项,回放。示例性的,用户想在第一客户端设备上回放目标监控点的视频流的情况下,S301中第一客户端设备意图获取视频流所属的目标业务,即为回放。此种情况下,目标业务流包括回放业务的视频流。示例性的,仅以用户为例,第一取流请求指示用户甲获取n1路回放视频流。此种情况下,第一取流请求中携带目标业务的信息包括:指示回放的信息,如名称,或标识等。另外,回放,也可以描述为,取流-录像回放,如表1所示。The second item, playback. Exemplarily, when the user wants to play back the video stream of the target monitoring point on the first client device, the first client device in S301 intends to acquire the target service to which the video stream belongs, that is, playback. In this case, the target service stream includes the video stream of the playback service. Exemplarily, taking the user as an example, the first streaming request instructs user A to acquire n1 playback video streams. In this case, the information of the target service carried in the first stream fetching request includes: information indicating playback, such as a name or an identifier. In addition, playback can also be described as streaming-recording playback, as shown in Table 1.
第三项,下载。示例性的,用户想将目标监控点周围的视频流下载至第一客户端设备上的情况下,S301中第一客户端设备意图获取视频流所属的目标业务,即为下载。此种情况下,目标业务流包括下载业务的视频流。示例性的,仅以用户为例,第一取流请求指示用户甲获取n1路下载视频流。此种情况下,第一取流请求中携带目标业务的信息包括:指示下载的信息,如名称,或标识等。另外,下载,也可以描述为,取流-录像下载,如表1所示。The third item, download. Exemplarily, when the user wants to download the video stream around the target monitoring point to the first client device, the first client device in S301 intends to obtain the target service to which the video stream belongs, that is, downloading. In this case, the target service stream includes the video stream of the download service. Exemplarily, taking the user as an example, the first stream fetching request instructs the user A to obtain n1 channels of downloaded video streams. In this case, the information carrying the target service in the first stream fetching request includes: information indicating downloading, such as a name or an identifier. In addition, downloading can also be described as streaming-recording download, as shown in Table 1.
需要说明的是,以上仅以预览、回放和下载业务为例,对目标业务进行介绍,目标业务也可以有其他类型的业务,本申请实施例对此不作限定。It should be noted that the above only takes the preview, playback, and download services as examples to introduce the target service, and the target service may also have other types of services, which are not limited in this embodiment of the present application.
其中,目标监控点的介绍如下:一个监控点上可以部署有一个云台。云台用于支撑图像采集设备,如摄像机。对于某一监控点而言,该监控点上的图像采集设备所采集视频流中的一部分,或所采集的全部视频流,属于第一客户端设备意图获取的目标业务流。Among them, the introduction of the target monitoring point is as follows: a monitoring point can be deployed with a PTZ. The PTZ is used to support image acquisition equipment such as cameras. For a certain monitoring point, a part of the video streams collected by the image acquisition device on the monitoring point, or all the video streams collected belong to the target service stream that the first client device intends to acquire.
示例性的,再以图3b为例,第一客户端设备向第一视频流媒体服务平台的VNSC组件发送第一取流请求。Exemplarily, again taking FIG. 3b as an example, the first client device sends a first streaming request to the VNSC component of the first video streaming media service platform.
S302、第一视频流媒体服务平台根据管控策略a对第一取流请求进行校验,以得到第一取流请求的校验结果。S302 , the first video streaming media service platform verifies the first streaming request according to the management and control policy a, so as to obtain a verification result of the first streaming request.
其中,管控策略a用于组合管控关联对象a中每个关联对象针对目标监控点的取流行为。针对管控策略a,组合管控的关联对象可以记为目标关联对象1。示例性的,指示目标关联对象1针对目标监控点允许的取流路数,或指示目标关联对象1针对目标监控点允许的取流路数不受限,或指示目标关联对象1针对目标监控点允许的取流路数为零。示例性的,参见表1,表1示出了多种管控策略:Among them, the management and control strategy a is used to combine and control the fetching behavior of each associated object in the associated object a with respect to the target monitoring point. For the management and control strategy a, the associated object of combined management and control can be recorded as the target associated object 1. Exemplarily, instruct the target associated object 1 to allow the number of flow paths for the target monitoring point, or instruct the target associated object 1 to allow the number of flow paths for the target monitoring point to be unlimited, or instruct the target associated object 1 for the target monitoring point. The number of allowed access paths is zero. For example, see Table 1, which shows various management and control strategies:
表1Table 1
在表1中,关联对象有7种,包括联网系统、应用、客户端设备、用户、用户组、边缘系统和边缘网关。取流业务有3种类型的子业务,包括预览、回放和下载。业务权限有3种,包括开、关和不限流。其中,业务权限是开,可以理解为,允许该关联对象获取针对某个类型的业务流,但取流路数受限。其中,取流路数的上限值,可以由变量所在列的取值确定。业务权限是关,可以理解为,不允许该关联对象获取针对某个类型的业务流。业务权限是不限流,可以理解为,允许该关联对象获取针对某个类型的业务流,且取流路数不受限。示例性的,以应用所在行为例,某一应用针对预览的业务权限可以是开,且取流路数受限。某一应用针对预览的业务权限也可以是关,不允许该应用针对预览业务取流。某一应用针对预览的业务权限还可以是不限流,允许该应用针对预览业务取流,且取流不受限。其他关联对象和其他业务的业务权限介绍可以参见表1,此处不再一一赘述。In Table 1, there are seven types of associated objects, including networking systems, applications, client devices, users, user groups, edge systems, and edge gateways. The streaming service has 3 types of sub-services, including preview, playback and download. There are 3 types of business permissions, including on, off and unlimited current. Among them, the business authority is open, which can be understood as allowing the associated object to obtain a certain type of business flow, but the number of flow channels is limited. The upper limit of the number of flow paths can be determined by the value of the column where the variable is located. The business authority is off, which means that the associated object is not allowed to obtain a business flow for a certain type. The business authority is unlimited, which can be understood as allowing the associated object to obtain a certain type of business flow, and the number of flow channels is not limited. Exemplarily, taking the row where the application is located as an example, the service permission of a certain application for preview may be enabled, and the number of access channels is limited. The service permission of an application for preview can also be off, and the application is not allowed to obtain traffic for preview service. The service permission of an application for the preview service may also be unlimited, allowing the application to obtain the stream for the preview service, and the access to the stream is not restricted. For the introduction of other associated objects and business rights of other services, please refer to Table 1, which will not be repeated here.
应理解,在目标关联对象1实现为表1中的关联对象,目标业务实现为表1中的业务的情况下,管控策略a可以此类推,不再一一赘述。It should be understood that in the case where the target associated object 1 is implemented as the associated object in Table 1, and the target service is implemented as the service in Table 1, the management and control policy a can be deduced by analogy, and will not be described in detail.
下面,以管控策略a指示取流路数为例,对目标关联对象1进行介绍:Below, the target associated object 1 is introduced by taking the number of flow paths indicated by the management and control policy a as an example:
例如,以目标关联对象1包括用户和第一客户端设备为例,在目标业务是预览的情况下,管控策略a指示用户和第一客户端设备分别针对预览允许获取视频流的取流路数。在目标业务是回放的情况下,管控策略a指示用户和第一客户端设备分别针对回放允许获取视频流的取流路数。在目标业务是下载的情况下,管控策略a指示用户和第一客户端设备分别针对下载允许获取视频流的取流路数。For example, taking the target associated object 1 including the user and the first client device as an example, in the case where the target service is a preview, the management and control policy a instructs the user and the first client device to obtain the number of video streams allowed to obtain the video stream respectively for the preview . In the case where the target service is playback, the management and control policy a instructs the user and the first client device to respectively allow the number of video streams to be obtained for playback. In the case where the target service is downloading, the management and control policy a indicates that the user and the first client device are respectively allowed to obtain the number of video streams for downloading.
再如,以目标关联对象1包括用户组、第一视频流媒体服务平台和第一客户端设备为例,在目标业务是预览的情况下,管控策略a指示用户组、第一视频流媒体服务平台和第一客户端设备分别针对预览允许获取视频流的取流路数。在目标业务是回放的情况下,管控策略a指示用户组、第一视频流媒体服务平台和第一客户端设备分别针对回放允许获取视频流的取流路数。在目标业务是下载的情况下,管控策略a指示用户组、第一视频流媒体服务平台和第一客户端设备分别针对下载允许获取视频流的取流路数。For another example, take the target associated object 1 including the user group, the first video streaming service platform and the first client device as an example, in the case that the target service is a preview, the management and control policy a indicates the user group, the first video streaming service The platform and the first client device are respectively allowed to obtain the number of video streams for the preview. In the case where the target service is playback, the management and control policy a instructs the user group, the first video streaming media service platform, and the first client device to respectively allow the number of video streams to be obtained for playback. In the case where the target service is download, the management and control policy a indicates the number of streams that the user group, the first video streaming media service platform, and the first client device are allowed to acquire the video stream respectively for downloading.
应理解,目标关联对象1也可以有其他组合,如针对目标业务流关联的关联对象a中,选取两个或两个以上的关联对象,来构成组合,如用户组和第一视频流媒体服务平台,第一视频流媒体服务平台和第一客户端设备等,本申请实施例对目标关联对象1的组合方式不作限定。It should be understood that the target associated object 1 may also have other combinations. For example, in the associated object a associated with the target service flow, two or more associated objects are selected to form a combination, such as the user group and the first video streaming service. The platform, the first video streaming media service platform, the first client device, etc., the embodiment of the present application does not limit the combination of the target associated object 1 .
下面,以目标业务流包括n1路预览视频流为例,对S302的实现过程进行介绍:Below, the implementation process of S302 is introduced by taking the target service stream including n1 preview video streams as an example:
示例1,第一取流请求指示用户甲获取n1路预览视频流。此种情况下,第一视频流媒体服务平台采用的管控策略a至少指示:用户甲针对预览允许的最大取流路数为N1。在原有已请求路数n0的基础上,再新增请求n1路预览视频流后,若n0+n1之和小于或等于N1,则第一取流请求的校验结果指示满足管控策略a的要求。反之,若n0+n1之和大于N1,则第一取流请求的校验结果指示不满足管控策略a的要求。Example 1, the first stream request instructs user A to obtain n1 preview video streams. In this case, the management and control policy a adopted by the first video streaming media service platform at least indicates that the maximum number of access streams allowed by user A for preview is N1. On the basis of the original number of requested channels n0, after adding a new request for n1 channels of preview video streams, if the sum of n0+n1 is less than or equal to N1, the verification result of the first streaming request indicates that the requirements of the management and control policy a are met. . Conversely, if the sum of n0+n1 is greater than N1, the verification result of the first flow fetch request indicates that the requirements of the management and control policy a are not met.
示例2,第一取流请求指示用户组1获取n1路预览视频流。此种情况下,第一视频流媒体服务平台采用的管控策略a至少指示:用户组1针对预览允许的最大取流路数为N1。在原有已请求路数n0的基础上,再新增请求n1路预览视频流后,若n0+n1之和小于或等于N1,则第一取流请求的校验结果指示满足管控策略a的要求。反之,若n0+n1之和大于N1,则第一取流请求的校验结果指示不满足管控策略a的要求。Example 2, the first streaming request instructs user group 1 to acquire n1 preview video streams. In this case, the management and control policy a adopted by the first video streaming media service platform at least indicates that the maximum number of access streams allowed by the user group 1 for preview is N1. On the basis of the original number of requested channels n0, after adding a new request for n1 channels of preview video streams, if the sum of n0+n1 is less than or equal to N1, the verification result of the first streaming request indicates that the requirements of the management and control policy a are met. . Conversely, if the sum of n0+n1 is greater than N1, the verification result of the first flow fetch request indicates that the requirements of the management and control policy a are not met.
示例3,第一取流请求指示第一客户端设备获取n1路预览视频流。此种情况下,第一视频流媒体服务平台采用的管控策略a至少指示:第一客户端设备针对预览允许的最大取流路数为N1。在原有已请求路数n0的基础上,再新增请求n1路预览视频流后,若n0+n1之和小于或等于N1,则第一取流请求的校验结果指示满足管控策略a的要求。反之,若n0+n1之和大于N1,则第一取流请求的校验结果指示不满足管控策略a的要求。Example 3, the first streaming request instructs the first client device to acquire n1 channels of preview video streams. In this case, the management and control policy a adopted by the first video streaming media service platform at least indicates that the maximum number of access streams allowed by the first client device for preview is N1. On the basis of the original number of requested channels n0, after adding a new request for n1 channels of preview video streams, if the sum of n0+n1 is less than or equal to N1, the verification result of the first streaming request indicates that the requirements of the management and control policy a are met. . Conversely, if the sum of n0+n1 is greater than N1, the verification result of the first flow fetch request indicates that the requirements of the management and control policy a are not met.
应理解,上述示例1到示例3中,n0为正整数。上述示例1到示例3仅示出了单个关联对象的处理过程。而管控策略a用于组合管控关联对象a中每个关联对象的取流行为,所以,S302包括上述示例的组合。例如,目标关联对象1包括用户和第一客户端设备,则S302包括上述示例1和示例3,且示例1和示例3均满足管控策略a的要求,才确定第一取流请求的校验结果为:满足管控策略a的要求。反之,若示例1和示例3中有一项满足管控策略a的要求,则确定第一取流请求的校验结果为:不满足管控策略a的要求。再如,目标关联对象1包括用户组和第一客户端设备,则S302包括上述示例2和示例3,且示例2和示例3均满足管控策略a的要求,才确定第一取流请求的校验结果为:满足管控策略a的要求。反之,若示例2和示例3中有一项满足管控策略a的要求,则确定第一取流请求的校验结果为:不满足管控策略a的要求。当然,目标关联对象1也可以有其他组合,则S302的具体实现过程也会发生变化,可以上述举例进行类推,此处不再一一赘述。It should be understood that in the above examples 1 to 3, n0 is a positive integer. The above examples 1 to 3 only show the processing of a single associated object. The management and control policy a is used to combine and control the retrieval behavior of each associated object in the associated object a, so S302 includes a combination of the above examples. For example, if the target associated object 1 includes the user and the first client device, then S302 includes the above-mentioned example 1 and example 3, and both the example 1 and example 3 meet the requirements of the management and control policy a, and then the verification result of the first streaming request is determined. To: meet the requirements of management and control strategy a. Conversely, if one of Examples 1 and 3 satisfies the requirements of the management and control policy a, it is determined that the verification result of the first flow acquisition request is: the requirements of the management and control policy a are not met. For another example, if the target associated object 1 includes the user group and the first client device, then S302 includes the above-mentioned example 2 and example 3, and both the example 2 and the example 3 meet the requirements of the management and control strategy a, so that the verification of the first flow request is determined. The test result is: meet the requirements of management and control strategy a. Conversely, if one of Examples 2 and 3 satisfies the requirements of the management and control policy a, it is determined that the verification result of the first flow fetch request is: the requirements of the management and control policy a are not met. Of course, the target associated object 1 may also have other combinations, and the specific implementation process of S302 will also change, and analogies can be made by the above examples, which will not be repeated here.
需要说明的是,在上述N1的取值为零的情况下,可以理解为,管控策略a指示不允许目标关联对象1针对上述目标监控点的取流行为。在上述N1的取值为无穷大的情况下,可以理解为,管控策略a指示目标关联对象1针对目标监控点允许的取流路数不受限。It should be noted that, in the case where the value of the above N1 is zero, it can be understood that the management and control policy a indicates that the target associated object 1 is not allowed to take the behavior of the above target monitoring point. In the case where the value of N1 is infinite, it can be understood that the management and control policy a indicates that the target associated object 1 allows an unlimited number of access paths for the target monitoring point.
示例性的,以图3b为例,第一视频流媒体服务平台的VNSC组件根据第一取流请求,向第一客户端设备反馈短链接。相应的,第一客户端设备接收来自VNSC组件的短链接。其中,短链接指示了目标业务流的媒体服务端口、取流协议、取流路数等信息。第一客户端设备向第一视频流媒体服务平台的媒体组件发送请求消息a。其中,请求消息a包括上述短链接,请求消息a请求获取长链接,且请求消息a请求获取的长链接与上述短链接对应。在第一视频流媒体服务平台中,媒体组件向VNSC组件发送请求消息b。相应的,VNSC组件接收来自媒体组件的请求消息b。其中,请求消息b包括上述短链接,请求消息b请求获取长链接,且请求消息b请求获取的长链接与上述短链接对应。VNSC组件进行校验,以得到第一取流请求的校验结果。其中,VNSC组件得到的校验结果可以指示成功或失败。其中,成功,可以理解为,满足管控策略a的要求。失败,可以理解为,不满足管控策略a的要求。Exemplarily, taking FIG. 3b as an example, the VNSC component of the first video streaming media service platform feeds back a short link to the first client device according to the first streaming request. Accordingly, the first client device receives the short link from the VNSC component. The short link indicates information such as the media service port of the target service stream, the stream fetching protocol, and the number of fetching paths. The first client device sends a request message a to the media component of the first video streaming service platform. The request message a includes the above short link, the request message a requests to obtain a long link, and the long link requested by the request message a corresponds to the above short link. In the first video streaming service platform, the media component sends a request message b to the VNSC component. Correspondingly, the VNSC component receives the request message b from the media component. The request message b includes the above short link, the request message b requests to obtain a long link, and the long link requested by the request message b corresponds to the above short link. The VNSC component performs verification to obtain the verification result of the first stream fetching request. The verification result obtained by the VNSC component may indicate success or failure. Among them, success can be understood as meeting the requirements of the management and control strategy a. Failure can be understood as not meeting the requirements of control strategy a.
在满足管控策略a的要求的情况下,第一视频流媒体服务平台执行S303。反之,在不满足管控策略a的要求的情况下,第一视频流媒体服务平台执行S304。其中,S303和S304的说明如下:Under the condition that the requirements of the management and control policy a are satisfied, the first video streaming media service platform executes S303. On the contrary, in the case that the requirements of the management and control policy a are not met, the first video streaming media service platform executes S304. Among them, the descriptions of S303 and S304 are as follows:
S303、第一视频流媒体服务平台为第一客户端设备意图获取的目标业务流取流。S303. The first video streaming media service platform obtains a stream for the target service stream that the first client device intends to obtain.
也就是说,第一视频流媒体服务平台响应于取流请求,根据管控策略执行针对目标监控点的取流行为,以获取上述目标业务流,并向第一客户端设备发送上述目标业务流。相应的,第一客户端设备接收来自第一视频流媒体服务平台的目标业务流。That is, the first video streaming service platform, in response to the stream fetch request, executes the stream fetch behavior for the target monitoring point according to the management and control policy, so as to obtain the above-mentioned target service flow, and sends the above-mentioned target service flow to the first client device. Correspondingly, the first client device receives the target service stream from the first video streaming service platform.
例如,以图2中的曲线a所示为例,第一客户端设备意图获取的目标业务流来自本域前端设备集群102,也就是说,关联对象a至少包括第一客户端设备、第一视频流媒体服务平台和本域前端设备集群102中的两项或多项。此种情况下,第一视频流媒体服务平台从本域前端设备集群102取流,将获取的目标业务流反馈给第一客户端设备,以使第一客户端设备播放该目标业务流。For example, taking the curve a in FIG. 2 as an example, the target service flow that the first client device intends to acquire comes from the local front-
再如,以图2中的曲线c所示为例,第一客户端设备意图获取的目标业务流来自第二邻域前端设备集群122。也就是说,关联对象a至少包括第一客户端设备、第一视频流媒体服务平台和第二邻域前端设备集群122中的两项或多项。此种情况下,如图4a所示,第一视频流媒体服务平台执行如下步骤:For another example, taking the curve c in FIG. 2 as an example, the target service flow that the first client device intends to acquire comes from the
步骤1a,第一视频流媒体服务平台向第二视频流媒体服务平台发送第二取流请求。相应的,第二视频流媒体服务平台接收来自第一视频流媒体服务平台的第二取流请求。Step 1a, the first video streaming media service platform sends a second streaming request to the second video streaming media service platform. Correspondingly, the second video streaming media service platform receives the second streaming request from the first video streaming media service platform.
其中,第二视频流媒体服务平台是第一视频流媒体服务平台的下级平台。以图2中曲线c所示为例,第二视频流媒体服务平台是第二邻域视频流媒体服务平台120。Wherein, the second video streaming media service platform is a subordinate platform of the first video streaming media service platform. Taking the curve c in FIG. 2 as an example, the second video streaming media service platform is the second neighborhood video streaming
其中,第二取流请求用于请求获取目标监控点的目标业务流。第二取流请求指示的目标业务流与多个关联对象b相关联。关联对象b至少包括第一视频流媒体服务平台、第二视频流媒体服务平台和第二邻域前端设备集群122中的两项或多项。目标监控点可以参见第一取流请求的介绍,此处不再赘述。示例性的,第二取流请求指示第一视频流媒体服务平台意图获取目标监控点的n1路视频流。Wherein, the second flow fetching request is used to request to obtain the target service flow of the target monitoring point. The target service flow indicated by the second flow fetching request is associated with multiple association objects b. The association object b includes at least two or more items of the first video streaming media service platform, the second video streaming media service platform, and the second neighborhood front-
步骤2a、第二视频流媒体服务平台根据管控策略b对第二取流请求进行校验,以得到第二取流请求的校验结果。In step 2a, the second video streaming media service platform verifies the second stream fetching request according to the management and control policy b, so as to obtain a verification result of the second stream fetching request.
其中,管控策略b用于组合管控关联对象b中每个关联对象针对目标监控点的取流行为。针对管控策略b,组合管控的关联对象可以记为目标关联对象2。目标关联对象2可以包括第一视频流媒体服务平台和第二视频流媒体服务平台,或包括第一视频流媒体服务平台和第二邻域前端设备集群122,或包括第一视频流媒体服务平台、第二视频流媒体服务平台和第二邻域前端设备集群122,或其他组合方式,本申请实施例对此不作限定。相比于管控策略a而言,区别点在于,管控策略b是关于目标关联对象2的管控策略,其他可以参见管控策略a的介绍,此处不再赘述。Among them, the management and control strategy b is used to combine the management and control of the acquisition behavior of each associated object in the associated object b with respect to the target monitoring point. For the management and control strategy b, the associated object of combined management and control can be recorded as the target associated object 2 . The target associated object 2 may include the first video streaming media service platform and the second video streaming media service platform, or include the first video streaming media service platform and the second neighborhood front-
其中,步骤2a的实现过程可以参见S302中示例1至示例3的介绍,此处不再赘述。For the implementation process of step 2a, reference may be made to the introduction of Example 1 to Example 3 in S302, which will not be repeated here.
在满足管控策略b的要求的情况下,第二视频流媒体服务平台为第一视频流媒体服务平台意图获取的目标业务流取流,如第二视频流媒体服务平台从第二邻域前端设备集群122取流,将获取的目标业务流反馈给第一视频流媒体服务平台,以使第一视频流媒体服务平台反馈给第一客户端设备,从而使得第一客户端设备播放该目标业务流。反之,在不满足管控策略b的要求的情况下,第二视频流媒体服务平台拒绝为第一视频流媒体服务平台意图获取的目标业务流取流。Under the condition that the requirements of the management and control policy b are met, the second video streaming service platform obtains the stream for the target service stream that the first video streaming service platform intends to obtain. The
应理解,此处仅以第一视频流媒体服务平台是本域视频流媒体服务平台100,且第一客户端设备意图获取的目标业务流来自第二邻域前端设备集群122为例,进行介绍。而在图2的曲线e所示中,第一视频流媒体服务平台是第一邻域视频流媒体服务平台110,第一客户端设备是第一邻域客户端设备113,且第一客户端设备意图获取的目标业务流来自第二邻域前端设备集群122的情况下,在上述步骤1a和步骤2a中,第一视频流媒体服务平台实现为第一邻域视频流媒体服务平台110,第二视频流媒体服务平台实现为本域视频流媒体服务平台100。由于第二邻域前端设备集群122接入的视频流媒体服务平台是第二邻域视频流媒体服务平台120,所以,本域视频流媒体服务平台100再向第二邻域视频流媒体服务平台120发送第三取流请求。相应的,第二邻域视频流媒体服务平台120接收来自本域视频流媒体服务平台100的第三取流请求。其中,第三取流请求用于请求获取目标监控点的目标业务流。第三取流请求指示的目标业务流与多个关联对象c相关联。关联对象c至少包括第一客户端设备、本域视频流媒体服务平台100和第二邻域前端设备集群122中的两项或多项。第二邻域视频流媒体服务平台120根据管控策略c对第三取流请求进行校验,以得到第三取流请求的校验结果。其中,管控策略c用于组合管控目标关联对象3中每个关联对象针对目标监控点的取流行为。针对管控策略c,组合管控的关联对象可以记为目标关联对象3。相比于管控策略a而言,区别点在于,管控策略c是关于目标关联对象3的管控策略,其他可以参见管控策略a的介绍,此处不再赘述。示例性的,管控策略c指示目标关联对象3针对目标监控点允许的取流路数。第二邻域视频流媒体服务平台120根据第三检验结果确定是否为本域视频流媒体服务平台100意图获取的目标业务流取流,具体可以参见上述步骤2a的介绍,此处不再赘述。It should be understood that the introduction is made by taking the first video streaming service platform being the local video
又如,以图2中曲线d所示为例,第一客户端设备意图获取的目标业务流来自第三邻域前端设备集群132。也就是说,关联对象a至少包括第一客户端设备、第一视频流媒体服务平台和第三邻域前端设备集群132中的两项或多项。此种情况下,如图4b所示,第一视频流媒体服务平台执行如下步骤:For another example, taking the curve d in FIG. 2 as an example, the target service flow that the first client device intends to acquire comes from the
步骤1b,第一视频流媒体服务平台向边缘网关130发送第二取流请求。相应的,边缘网关130接收来自第一视频流媒体服务平台的第二取流请求。Step 1b, the first video streaming media service platform sends a second streaming request to the
其中,边缘网关130与第一视频流媒体服务平台通信连接,也属于第一视频流媒体服务平台的下级平台。The
其中,第二取流请求可以参见步骤1a的介绍。相比于步骤1a,步骤1b中的关联对象b至少包括第一视频流媒体服务平台、第二视频流媒体服务平台和第三邻域前端设备集群132。For the second stream fetching request, please refer to the introduction of step 1a. Compared with step 1a, the associated object b in step 1b includes at least the first video streaming media service platform, the second video streaming media service platform, and the third neighborhood front-
步骤2b,边缘网关130根据管控策略b对第二取流请求进行校验,以得到第二取流请求的校验结果。Step 2b, the
其中,步骤2b可以参见步骤2a的介绍,此处不再赘述。Wherein, for step 2b, reference may be made to the introduction of step 2a, and details are not repeated here.
在满足管控策略b的要求的情况下,边缘网关130为第一视频流媒体服务平台意图获取的目标业务流取流,如边缘网关130从第三邻域前端设备集群132取流,将获取的目标业务流反馈给第一视频流媒体服务平台,以使第一视频流媒体服务平台反馈给第一客户端设备,从而使得第一客户端设备播放该目标业务流。反之,在不满足管控策略b的要求的情况下,边缘网关130拒绝为第一视频流媒体服务平台意图获取的目标业务流取流。Under the condition that the requirements of the management and control policy b are met, the
应理解,此处仅以第一视频流媒体服务平台是本域视频流媒体服务平台100,且第一客户端设备意图获取的目标业务流来自第三邻域前端设备集群132为例,进行介绍。而在图2的曲线f所示例子中,第一视频流媒体服务平台是第一邻域视频流媒体服务平台110,第一客户端设备是第一邻域客户端设备113,且第一客户端设备意图获取的目标业务流来自第三邻域前端设备集群132的情况下,在上述步骤1a和步骤2a中,第一视频流媒体服务平台实现为第一邻域视频流媒体服务平台110,第二视频流媒体服务平台实现为本域视频流媒体服务平台100。由于第三邻域前端设备集群132接入的是边缘网关130,所以,本域视频流媒体服务平台100再向边缘网关130发送第三取流请求。相应的,边缘网关130接收来自本域视频流媒体服务平台100的第三取流请求。其中,第三取流请求用于请求获取目标监控点的目标业务流。第三取流请求指示的目标业务流与多个关联对象c相关联。关联对象c至少包括本域视频流媒体服务平台100、边缘网关130和第三邻域前端设备集群132中的两项或多项。边缘网关130根据管控策略c对第三取流请求进行校验,以得到第三取流请求的校验结果。边缘网关130根据第三取流请求的校验结果确定是否为本域视频流媒体服务平台100意图获取的目标业务流取流,具体可以参见上述步骤2a的介绍,此处不再赘述。It should be understood that, here, only the first video streaming service platform is the local video
示例性的,如图3b所示,第一视频流媒体服务平台通过媒体组件向第一客户端设备返回目标业务流。Exemplarily, as shown in FIG. 3b, the first video streaming media service platform returns the target service stream to the first client device through the media component.
S304、第一视频流媒体服务平台拒绝为第一客户端设备意图获取的目标业务流取流。S304. The first video streaming media service platform refuses to obtain a stream for the target service stream that the first client device intends to obtain.
示例性的,如图3b所示,第一视频流媒体服务平台的媒体组件向第一客户端设备返回错误码。仍以图2中曲线a所示为例,第一客户端设备意图获取的目标业务流来自本域前端设备集群102,第一视频流媒体服务平台拒绝从本域前端设备集群102取流。此种情况下,第一视频流媒体服务平台无法向第一客户端设备提供目标业务流,第一客户端设备不播放该目标业务流。Exemplarily, as shown in FIG. 3b, the media component of the first video streaming media service platform returns an error code to the first client device. Still taking the curve a in FIG. 2 as an example, the target service flow that the first client device intends to acquire comes from the local front-
在一些实施例中,本申请实施例取流控制方法还能够执行剔除操作,如图3c所示。若用户甲和用户乙意图获取的目标业务流均来自同一前端设备,或经由同一服务平台。其中,用户甲的取流路数为x,用户乙的取流路数为y,第一视频流媒体服务平台的VNSC组件允许的取流路数为z,且x+y>z。以图2中曲线a所示的场景为例,用户甲和用户乙意图获取的目标业务流均来自同一前端设备,如本域前端设备集群102。用户甲和用户乙意图获取的目标业务流经由同一服务平台,如本域视频流媒体服务平台100。在用户乙正常取流的过程中,用户甲发起了取流请求。所以,第一视频流媒体服务平台的VNSC组件确定取流达到了设定的阈值上限z,所以,第一视频流媒体服务平台的VNSC组件筛选出权限值最低的会话ID。其中,维度可以理解为,前端设备,且该前端设备是指,提供用户甲和用户乙意图获取的目标业务流的前端设备,如本域前端设备集群102。维度也可以理解为,服务平台,且该服务平台是指,用户甲和用户乙意图获取的目标业务流经由的服务平台,如本域视频流媒体服务平台100。权限值表征关联对象的重要程度,如权限值越高,则该关联对象的重要程度越高。反之,权限值越低,则该关联对象的重要程度越低。例如,以本域前端设备集群102这一维度为例,VNSC组件确定由本域前端设备集群102提供目标业务流的多个用户中每个用户的权限值,选出权限值最低的用户所对应的会话ID。然后,VNSC组件向媒体组件发送剔除消息。其中,剔除消息中携带有上述会话ID,以指示媒体组件剔除该会话ID标识的链路,实现断流。In some embodiments, the flow control method according to the embodiment of the present application can also perform a culling operation, as shown in FIG. 3c . If the target business flows that User A and User B intend to obtain come from the same front-end device or through the same service platform. The number of access paths for user A is x, the number of access paths for user B is y, the number of access paths allowed by the VNSC component of the first video streaming service platform is z, and x+y>z. Taking the scenario shown by the curve a in FIG. 2 as an example, the target service flows that user A and user B intend to acquire both come from the same front-end device, such as the front-
在一些实施例中,如图5a所示,第一视频流媒体服务平台执行S302之前,执行S305:In some embodiments, as shown in FIG. 5a, before the first video streaming media service platform performs S302, it performs S305:
S305、第一视频流媒体服务平台确定第一场景。S305. The first video streaming media service platform determines the first scene.
其中,第一场景与第一取流请求对应。The first scenario corresponds to the first streaming request.
例如,以时间维度为例,第一场景是基于时间信息确定的。具体地,第一视频流媒体服务平台根据时刻a来确定第一场景,如时刻a是否在预设时间段内来确定第一场景。其中,时刻a作为时间信息,时刻a可以是执行S301之后的一个时刻,如执行S305的时刻,也可以是第一取流请求的接收时刻,还可以是第一取流请求指示的时刻,如指示目标业务流的播放时刻,本申请实施例对时刻a的具体实现不作限定。预设时间段可以是节假日,如10月1日00:00至10月8日00:00,或1月1日00:00至1月2日00:00。若时刻a在预设时间段内,则第一场景为假期场景,如国庆假期,元旦假期等。For example, taking the time dimension as an example, the first scene is determined based on time information. Specifically, the first video streaming service platform determines the first scene according to the time a, such as whether the time a is within a preset time period to determine the first scene. Wherein, the time a is used as time information, and the time a may be a time after the execution of S301, such as the time of executing S305, the time of receiving the first stream request, or the time indicated by the first stream request, such as Indicates the playing time of the target service stream, and the specific implementation of time a is not limited in this embodiment of the present application. The preset time period can be a holiday, such as 00:00 on October 1st to 00:00 on October 8th, or 00:00 on January 1st to 00:00 on January 2nd. If the time a is within the preset time period, the first scene is a holiday scene, such as a National Day holiday, a New Year's Day holiday, and the like.
再如,以地理位置维度为例,第一场景是基于位置信息确定的。具体地,第一视频流媒体服务平台根据位置信息来确定第一场景,如位置信息指示的位置是否在预设位置区域内来确定第一场景。其中,位置信息可以是第一客户端设备所在位置的信息,也可以是其他位置的信息,如第一客户端设备所在位置附近的某一位置的信息。预设位置区域可以包括某一城市中图书馆的位置区域,或动物园的位置区域等。若位置信息指示的位置在图书馆的位置区域内,则第一场景为图书馆场景。若位置信息指示的位置在动物园的位置区域内,则第一场景为动物园场景。For another example, taking the geographic location dimension as an example, the first scenario is determined based on location information. Specifically, the first video streaming service platform determines the first scene according to the location information, such as whether the location indicated by the location information is within a preset location area to determine the first scene. The location information may be information about the location where the first client device is located, or may be information about other locations, such as information about a location near the location where the first client device is located. The preset location area may include the location area of a library in a certain city, or the location area of a zoo, and the like. If the location indicated by the location information is within the location area of the library, the first scene is a library scene. If the location indicated by the location information is within the location area of the zoo, the first scene is the zoo scene.
应理解,以上仅以国庆假期场景、元旦假期场景、图书馆场景、动物园场景为例进行介绍,第一场景还可以有其他示例,本申请实施例不再一一赘述。It should be understood that the above only takes a National Day holiday scenario, a New Year's Day holiday scenario, a library scenario, and a zoo scenario as examples for introduction, and the first scenario may also have other examples, which will not be repeated in this embodiment of the present application.
相应的,在第一视频流媒体服务平台执行S305的情况下,S302替换为S302a:Correspondingly, when the first video streaming media service platform executes S305, S302 is replaced with S302a:
S302a、第一视频流媒体服务平台根据第一管控策略对第一取流请求进行校验,以得到第一取流请求的校验结果a。S302a, the first video streaming media service platform verifies the first streaming request according to the first management and control policy, so as to obtain a verification result a of the first streaming request.
其中,第一视频流媒体服务平台根据第一场景确定目标管控策略,此处将目标管控策略也称为第一管控策略。第一管控策略是管控策略a中与第一场景对应的管控策略。第一管控策略用于在第一场景下,管控目标关联对象1中每个关联对象针对目标监控点的取流行为。例如,以第一场景是假期场景为例,第一管控策略指示在国庆假期场景下,用户甲针对回放允许的取流路数为N2,以及第一视频流媒体服务平台针对回放允许的取流路数为N2’。再如,以第一场景是图书馆场景为例,第一管控策略指示在图书馆场景下,用户甲针对回放允许的取流路数为N3,以及第一视频流媒体服务平台针对回放允许的取流路数为N3’。又如,以第一场景是动物园场景为例,第一管控策略指示在图书馆场景下,用户甲针对回放允许的取流路数为N4,以及第一视频流媒体服务平台针对回放允许的取流路数为N4’。The first video streaming service platform determines a target management and control strategy according to the first scenario, and the target management and control strategy is also referred to as a first management and control strategy herein. The first management and control strategy is a management and control strategy corresponding to the first scenario in the management and control strategy a. The first management and control strategy is used to manage and control the fetching behavior of each associated object in the target associated object 1 with respect to the target monitoring point in the first scenario. For example, taking the first scenario as a holiday scenario as an example, the first control policy indicates that in the National Day holiday scenario, the number of streams allowed by User A for playback is N2, and the number of streams allowed by the first video streaming service platform for playback is N2 The number of paths is N2'. For another example, taking the first scene as a library scene as an example, the first control policy indicates that in the library scene, the number of streams allowed by User A for playback is N3, and the number of streams allowed by the first video streaming service platform for playback is N3. Take the number of flow paths as N3'. As another example, taking the first scene as the zoo scene as an example, the first management and control policy indicates that in the library scene, the number of streams allowed by User A for playback is N4, and the number of streams allowed by the first video streaming service platform for playback is N4. The number of flow paths is N4'.
示例性的,第一管控策略的实现形式如表2所示:Exemplarily, the implementation form of the first management and control strategy is shown in Table 2:
表2Table 2
在表2中,一个预案可以对应一项管控策略。每两个预案中的管控策略,可以完全不同,也可以部分相同,本申请实施例对此不作限定。国庆节预案,可以理解为国庆节场景下实施的预案。日常预案,可以理解为除国庆节之外的普通日常场景下实施的预案。以目标业务流回放为例,表2给出了日常预案和国庆节预案。其中,国庆预案的执行时间是2021年10月1日的00:00至2021年10月7日的23:59,最大允许的取流路数为N2,目标业务流的内容可以是与欢度国庆相关的视频流。日常预案的执行时间是2021年10月8日的00:00至2022年9月30日的23:59,最大允许的取流路数为X,目标业务流的内容可以是与广告相关的视频流。示例性的,在第一场景为国庆节场景的情况下,第一管控策略可以实现为表2中的国庆节预案。In Table 2, a plan can correspond to a control strategy. The management and control strategies in each of the two plans may be completely different, or may be partially the same, which is not limited in this embodiment of the present application. The National Day plan can be understood as the plan implemented under the National Day scene. Daily plans can be understood as plans implemented in ordinary daily scenarios except for National Day. Taking the target service stream playback as an example, Table 2 shows the daily plan and the National Day plan. Among them, the implementation time of the National Day plan is from 00:00 on October 1, 2021 to 23:59 on October 7, 2021, the maximum allowed number of access channels is N2, and the content of the target business stream can be related to celebrating the National Day. related video streams. The execution time of the daily plan is from 00:00 on October 8, 2021 to 23:59 on September 30, 2022. The maximum allowed number of streams is X, and the content of the target business stream can be videos related to advertisements. flow. Exemplarily, when the first scenario is a National Day scenario, the first management and control strategy may be implemented as the National Day holiday plan in Table 2.
其中,S302a的具体实现包括如下示例:The specific implementation of S302a includes the following examples:
示例1a,以假期场景为例,针对用户甲,第一取流请求指示用户甲获取n1路预览视频流。此种情况下,第一视频流媒体服务平台采用的第一管控策略至少指示:在假期场景下,用户甲针对目标监控点的预览业务允许的最大取流路数为N2。在原有已请求路数n0的基础上,再新增请求n1路预览视频流后,若n0+n1之和小于或等于N2,则第一取流请求的校验结果a指示满足第一管控策略的要求。反之,若n0+n1之和大于N2,则第一取流请求的校验结果a指示不满足第一管控策略的要求。Example 1a, taking a holiday scenario as an example, for user A, the first stream request instructs user A to obtain n1 preview video streams. In this case, the first management and control strategy adopted by the first video streaming service platform at least indicates that in the holiday scenario, the maximum number of access streams allowed by User A for the preview service of the target monitoring point is N2. On the basis of the original number of requested channels n0, after adding n1 channels of preview video streams, if the sum of n0+n1 is less than or equal to N2, the verification result a of the first streaming request indicates that the first control policy is satisfied requirements. Conversely, if the sum of n0+n1 is greater than N2, the verification result a of the first flow fetch request indicates that the requirements of the first management and control policy are not met.
示例2a,以图书馆场景为例,针对用户甲,第一取流请求指示用户甲获取n1路预览视频流。此种情况下,第一视频流媒体服务平台采用的第一管控策略至少指示:在图书馆场景下,用户甲针对目标监控点的预览业务允许的最大取流路数为N3。在原有已请求路数n0的基础上,再新增请求n1路预览视频流后,若n0+n1之和小于或等于N3,则第一取流请求的校验结果a指示满足第一管控策略的要求。反之,若n0+n1之和大于N3,则第一取流请求的校验结果a指示不满足第一管控策略的要求。Example 2a, taking the library scene as an example, for user A, the first stream request instructs user A to obtain n1 preview video streams. In this case, the first management and control strategy adopted by the first video streaming media service platform at least indicates: in the library scenario, the maximum number of access streams allowed by User A for the preview service of the target monitoring point is N3. On the basis of the original number of requested channels n0, after adding a new request for n1 channels of preview video streams, if the sum of n0+n1 is less than or equal to N3, the verification result a of the first streaming request indicates that the first control policy is satisfied requirements. Conversely, if the sum of n0+n1 is greater than N3, the verification result a of the first flow fetching request indicates that the requirements of the first management and control policy are not met.
示例3a,以动物园场景为例,针对用户甲,第一取流请求指示用户甲获取n1路预览视频流。此种情况下,第一视频流媒体服务平台采用的第一管控策略至少指示:在动物园场景下,用户甲针对目标监控点的预览业务允许的最大取流路数为N4。在原有已请求路数n0的基础上,再新增请求n1路预览视频流后,若n0+n1之和小于或等于N4,则第一取流请求的校验结果a指示满足第一管控策略的要求。反之,若n0+n1之和大于N4,则第一取流请求的校验结果a指示不满足第一管控策略的要求。Example 3a, taking the zoo scene as an example, for user A, the first streaming request instructs user A to obtain n1 preview video streams. In this case, the first management and control strategy adopted by the first video streaming service platform at least indicates that in the zoo scenario, the maximum number of streams allowed by User A for the preview service of the target monitoring point is N4. On the basis of the original number of requested channels n0, after adding a new request for n1 channels of preview video streams, if the sum of n0+n1 is less than or equal to N4, the verification result a of the first stream request indicates that the first control policy is satisfied requirements. Conversely, if the sum of n0+n1 is greater than N4, the verification result a of the first flow fetch request indicates that the requirements of the first management and control policy are not met.
应理解,上述示例1a到示例3a中,n0为正整数。上述示例1a到示例3a仅示出了单个关联对象的处理过程。而第一管控策略用于组合管控关联对象a中每个关联对象的取流行为,所以,S302a包括上述示例的组合,或其他示例的组合,可以参见S302的介绍,此处不再一一赘述。It should be understood that in the above examples 1a to 3a, n0 is a positive integer. The above examples 1a to 3a only show the processing of a single associated object. The first management and control strategy is used to combine and control the retrieval behavior of each associated object in the associated object a. Therefore, S302a includes a combination of the above examples, or a combination of other examples, you can refer to the introduction of S302, which will not be repeated here. .
相应的,在第一视频流媒体服务平台执行S302a的情况下,S303中的目标业务流是满足第一管控策略的视频流。若第一场景是国庆假期场景,则第一客户端设备上播放关于欢度国庆的视频流。若第一场景是元旦假期场景,则第一客户端设备上播放关于欢度元旦的视频流。若第一场景是图书馆场景,则第一客户端设备上播放关于图书介绍的视频流。若第一场景是动物园场景,则第一客户端设备上播放关于动物介绍的视频流。Correspondingly, when the first video streaming media service platform executes S302a, the target service stream in S303 is a video stream that satisfies the first management and control policy. If the first scene is a National Day holiday scene, a video stream about celebrating the National Day is played on the first client device. If the first scene is a New Year's Day holiday scene, the first client device plays a video stream about celebrating New Year's Day. If the first scene is a library scene, the video stream about the book introduction is played on the first client device. If the first scene is a zoo scene, a video stream about the introduction of the animal is played on the first client device.
如此,在不同的场景下,第一视频视频流媒体服务平台能够灵活、快捷地确定与第一场景匹配的管控策略,即上述第一管控策略,以对第一取流请求进行校验,从而向第一客户端设备提供满足相应管控策略的目标业务流,使得第一客户端设备上播放与第一场景相匹配的目标业务流,满足不同场景下的视频切换播放的需求。In this way, in different scenarios, the first video streaming media service platform can flexibly and quickly determine a management and control strategy that matches the first scenario, that is, the above-mentioned first management and control strategy, so as to verify the first streaming request, thereby The first client device is provided with a target service stream that satisfies the corresponding management and control policy, so that the first client device plays the target service stream matching the first scene to meet the needs of video switching and playback in different scenarios.
应理解,S302a中仅以管控策略a中与场景匹配的第一管控策略为例,进行介绍。类似的,管控策略b中也存在与场景匹配的条件,和/或,管控策略c中也存在与场景匹配的条件,具体校验过程可以参见S302a的描述,此处不再一一赘述。It should be understood that, in S302a, only the first management and control strategy matching the scenario in the management and control strategy a is used as an example for introduction. Similarly, the management and control strategy b also has conditions that match the scenario, and/or the management and control strategy c also has conditions that match the scenario. For the specific verification process, please refer to the description of S302a, which will not be repeated here.
在一些实施例中,部分关联对象与监控点的业务权限绑定,以基于监控点的业务权限来管控取流行为,具体步骤如图5b所示,S302替换为S302b:In some embodiments, some associated objects are bound with the business authority of the monitoring point, so as to manage and control the access behavior based on the business authority of the monitoring point. The specific steps are shown in Figure 5b, and S302 is replaced by S302b:
S302b、第一视频流媒体服务平台根据第二管控策略对第一取流请求进行校验,以得到第一取流请求的校验结果b。S302b, the first video streaming media service platform verifies the first streaming request according to the second management and control policy, so as to obtain a verification result b of the first streaming request.
其中,管控策略a包括第二管控策略。第二管控策略指示基于目标监控点的业务权限配置,组合管控关联对象a中每个关联对象针对目标监控点的取流行为。目标监控点的业务权限可以被配置为开启或关闭。Wherein, the management and control strategy a includes a second management and control strategy. The second management and control policy indicates that based on the business authority configuration of the target monitoring point, the combined control and control of the access behavior of each associated object in the associated object a with respect to the target monitoring point. The business permission of the target monitoring point can be configured to be enabled or disabled.
示例性的,预配置的监控点有多个。以N个监控点为例,分别记为监控点1至N。N为正整数。每个监控点上部署有云台,云台上安置有图像采集设备。取流控制系统可以预先配置每个监控点的业务权限。其中,监控点的业务权限,可以理解为,监控点上的图像采集设备所采集的视频流针对上述目标业务的权限。监控点的业务权限开启,可以理解为,监控点上的图像采集设备所采集的视频流允许预览、回放或下载。监控点的业务权限关闭,可以理解为,监控点上的图像采集设备所采集的视频流不允许预览、回放和下载。Exemplarily, there are multiple preconfigured monitoring points. Taking N monitoring points as an example, they are recorded as monitoring points 1 to N respectively. N is a positive integer. A PTZ is deployed on each monitoring point, and an image acquisition device is installed on the PTZ. The flow control system can pre-configure the business authority of each monitoring point. The service authority of the monitoring point can be understood as the authority of the video stream collected by the image acquisition device on the monitoring point for the above-mentioned target service. When the service authority of the monitoring point is enabled, it can be understood that the video stream collected by the image acquisition device on the monitoring point is allowed to be previewed, played back or downloaded. When the service authority of the monitoring point is closed, it can be understood that the video stream collected by the image acquisition device on the monitoring point is not allowed to preview, play back and download.
其中,目标监控点可以是上述监控点1,目标监控点上的图像采集设备可以是上述本域前端设备集群102,以采集第一客户端设备意图获取的目标业务流。示例性的,目标监控点的业务权限配置方式如下:仍以N个监控点为例,针对某一目标关联对象1而言,若该目标关联对象1针对目标业务的业务权限是开启,且上述N个监控点全部未被选中,则默认上述N个监控点针对该目标业务的业务权限均开启。若该目标关联对象1针对目标业务的业务权限是开启,且上述N个监控点中监控点1未被选中,监控点2至监控点N被选中,则默认上述监控点1针对目标业务的业务权限开启。The target monitoring point may be the above-mentioned monitoring point 1, and the image acquisition device on the target monitoring point may be the above-mentioned local front-
应理解,上述示例仅以未被选中的监控点作为目标监控点为例,进行介绍。当然,也可以选中的监控点作为目标监控点。例如,仍以N个监控点为例,针对某一目标关联对象1而言,若该目标关联对象1针对目标业务的业务权限是开启,且上述N个监控点全部被选中,则默认上述N个监控点针对目标业务的业务权限开启。若该目标关联对象1针对目标业务的业务权限是开启,且上述监控点1被选中,监控点2至监控点N未被选中,则默认上述监控点1针对目标业务的业务权限开启。或者,反之,若该目标关联对象1针对目标业务的业务权限是关闭,且上述N个监控点全部被选中,则默认上述N个监控点针对目标业务的业务权限均开启。若该目标关联对象1在目标业务上的业务权限是关闭,且上述N个监控点中监控点1被选中,监控点2至监控点N未被选中,则默认上述监控点1针对目标业务的业务权限开启。It should be understood that the above example is only described by taking the unselected monitoring point as the target monitoring point as an example. Of course, the selected monitoring point can also be used as the target monitoring point. For example, still taking N monitoring points as an example, for a certain target associated object 1, if the service authority of the target associated object 1 for the target service is enabled, and all the above N monitoring points are selected, the above N monitoring points are defaulted. The business authority of each monitoring point for the target business is enabled. If the service authority of the target associated object 1 for the target service is enabled, and the monitoring point 1 is selected, and monitoring points 2 to N are not selected, then the service authority of the monitoring point 1 for the target service is enabled by default. Or, conversely, if the service authority of the target associated object 1 for the target service is disabled, and all the N monitoring points are selected, the service authority of the N monitoring points for the target service is enabled by default. If the service authority of the target associated object 1 on the target service is closed, and the monitoring point 1 is selected among the above N monitoring points, and the monitoring point 2 to monitoring point N are not selected, then the default monitoring point 1 for the target service. Business permissions are enabled.
其中,S302b的具体实现包括如下示例:The specific implementation of S302b includes the following examples:
示例1b,第一取流请求指示用户甲获取n1路上述监控点1的预览业务流。此种情况下,第一视频流媒体服务平台采用的第二管控策略至少指示:在上述监控点1的视频流中,用户甲针对预览允许的最大取流路数为N3。在原有已请求路数n0的基础上,再新增请求n1路预览视频流后,若n0+n1小于或等于N3,则第一取流请求的校验结果b指示满足第二管控策略的要求。反之,若n0+n1大于N3,则第一取流请求的校验结果b指示不满足第二管控策略的要求。Example 1b, the first stream fetch request instructs user A to obtain n1 preview service streams of the monitoring point 1. In this case, the second management and control strategy adopted by the first video streaming service platform at least indicates that in the video stream of monitoring point 1, the maximum number of streams that User A allows for preview is N3. On the basis of the original number of requested channels n0, after adding a new request for n1 channels of preview video streams, if n0+n1 is less than or equal to N3, the verification result b of the first streaming request indicates that the requirements of the second management and control strategy are met. . Conversely, if n0+n1 is greater than N3, the verification result b of the first flow fetching request indicates that the requirements of the second management and control policy are not met.
应理解,上述示例1b中,n0为正整数。第二管控策略还指示其他关联对象针对监控点1的预览业务的最大取流路数,S302b还对其他关联对象指示的最大取流路数进行校验,可以参见S302的介绍,此处不再一一赘述。It should be understood that in the above example 1b, n0 is a positive integer. The second management and control policy also indicates the maximum number of access paths for the preview service of monitoring point 1 by other associated objects, and S302b also checks the maximum number of access streams indicated by other associated objects. Please refer to the introduction of S302, which is not repeated here. Repeat them one by one.
相应的,在第一视频流媒体服务平台执行S302b的情况下,S303中的目标业务流是满足第二管控策略的视频流。仍以目标监控点实现为上述监控点1为例,第一客户端设备上播放关于监控点1的目标业务流。Correspondingly, when the first video streaming media service platform executes S302b, the target service stream in S303 is a video stream that satisfies the second management and control policy. Still taking the implementation of the target monitoring point as the above-mentioned monitoring point 1 as an example, the first client device plays the target service flow related to the monitoring point 1 .
如此,第一视频视频流媒体服务平台能够通过配置目标监控点的业务权限,来管控对目标监控点的目标业务流的取流行为,使得第一客户端设备上播放满足第二管控策略的目标业务流。In this way, the first video video streaming service platform can control the fetching behavior of the target service stream of the target monitoring point by configuring the service authority of the target monitoring point, so that the first client device can play the target that satisfies the second control strategy. business flow.
需要说明的是,上述管控策略a、管控策略b和管控策略c中的取流路数可以是取流控制系统预先配置的,也可以是由用户(或用户组、或客户端设备)配置的。下面,仅以管控策略a为例,对管控策略a的取流路数确定过程进行介绍,如图6a所示,本申请实施例取流控制方法300还包括S306和S307:It should be noted that the number of flow access paths in the above management and control strategy a, management and control strategy b, and management and control strategy c may be pre-configured by the flow control system, or may be configured by a user (or a user group, or a client device) . In the following, only the management and control strategy a is taken as an example to introduce the process of determining the number of flow paths for the management and control strategy a. As shown in FIG. 6a, the
S306、第一客户端设备向第一视频流媒体服务平台发送取流参数a。相应的,第一视频流媒体服务平台接收来自第一客户端设备的取流参数a。S306: The first client device sends the streaming parameter a to the first video streaming service platform. Correspondingly, the first video streaming service platform receives the streaming parameter a from the first client device.
其中,取流参数a是目标关联对象1被配置的取流参数。示例性的,以关联对象X为关联对象Y配置取流参数为例,关联对象Y是上述某一目标关联对象1。关联对象X和关联对象Y是关联对象a中的部分对象。关联对象X与关联对象Y可以是同一关联对象。例如,关联对象X和关联对象Y均实现为用户,如取流参数a指示用户甲为自身配置取流路数的最大值,以方便用户灵活配置自身的取流参数。或者,关联对象X与关联对象Y也可以是不同关联对象。例如,关联对象X和关联对象Y均实现为用户,如取流参数a指示用户甲为用户乙配置取流路数的最大值,以方便用户为其他用户灵活配置取流参数。The stream access parameter a is the configured stream access parameter of the target associated object 1 . Illustratively, it is taken as an example that the associated object X configures the flow fetching parameter for the associated object Y, and the associated object Y is the above-mentioned certain target associated object 1 . Related object X and related object Y are partial objects in related object a. The related object X and the related object Y may be the same related object. For example, both the associated object X and the associated object Y are implemented as users. For example, the access parameter a instructs the user A to configure the maximum number of access paths for himself, so as to facilitate the user to flexibly configure his own access parameters. Alternatively, the related object X and the related object Y may be different related objects. For example, both the associated object X and the associated object Y are implemented as users. For example, the stream access parameter a instructs user A to configure the maximum number of access streams for user B, so as to facilitate the user to flexibly configure stream access parameters for other users.
应理解,取流参数a指示的取流参数适用于每一种类型的业务。例如,仍以取流参数a指示用户甲为自身配置取流路数的最大值为例,该最大值可以是用户甲针对预览取流路数的最大值,也可以是用户甲针对回放取流路数的最大值,还可以是用户甲针对下载取流路数的最大值。以上仅以关联对象X和关联对象Y均实现为用户为例,进行介绍,关联对象X和关联对象Y也可以实现为用户组、或客户端设备,此处不再一一赘述。It should be understood that the streaming parameter indicated by the streaming parameter a is applicable to each type of service. For example, still take the flow parameter a instructing user A to configure the maximum number of streams for himself as an example, the maximum value can be the maximum number of streams taken by user A for preview, or the maximum number of streams taken by user A for playback. The maximum value of the number of channels may also be the maximum value of the number of streams taken by user A for downloading. The above only takes the example that both the associated object X and the associated object Y are implemented as users for introduction. The associated object X and the associated object Y can also be implemented as user groups or client devices, which will not be repeated here.
示例性的,参见图6b,第一客户端设备向第一视频流媒体服务平台的VSCS组件发送配置管控参数。相应的,第一视频流媒体服务平台的VSCS组件接收来自第一客户端设备的配置管控参数。其中,配置管控参数即为上述取流参数a。Exemplarily, referring to FIG. 6b, the first client device sends the configuration management parameter to the VSCS component of the first video streaming media service platform. Correspondingly, the VSCS component of the first video streaming service platform receives the configuration control parameters from the first client device. The configuration control parameter is the above-mentioned flow acquisition parameter a.
S307、第一视频流媒体服务平台根据取流参数a确定管控策略a中的取流路数。S307: The first video streaming media service platform determines the number of streaming channels in the management and control strategy a according to the streaming parameter a.
示例性的,第一视频流媒体服务平台将取流参数a指示的取值,作为管控策略a中的取流路数。或第一视频流媒体服务平台对取流参数a进行一定的处理,如取流参数a是多个的情况下,将多个取流参数a中的最大值、最小值或平均值,作为管控策略a中的取流路数。Exemplarily, the first video streaming media service platform takes the value indicated by the streaming parameter a as the number of streaming channels in the management and control policy a. Or the first video streaming media service platform performs certain processing on the streaming parameter a. For example, when there are multiple streaming parameters a, the maximum value, the minimum value or the average value among the multiple streaming parameters a is used as the control and control value. The number of access paths in strategy a.
示例性的,参见图6b,VSCS组件存储配置管控参数,如存入数据库,然后,VSCS组件进行筛选,如按照一定的规则从多个配置管控参数中进行筛选,以得到候选参数,基于候选参数,确定候选管控策略中的取流路数,再将候选管控策略发送给VNSC组件,以使VNSC组件保存候选管控策略。VNSC组件和VSCS组件按照一定的规则,从候选管控策略中确定实际运行中采用的管控策略,即上述管控策略a,实现配置同步。Exemplarily, referring to FIG. 6b, the VSCS component stores the configuration control parameters, such as storing them in a database, and then the VSCS component performs screening, such as screening from multiple configuration control parameters according to certain rules, to obtain candidate parameters, based on the candidate parameters. , determine the number of access channels in the candidate management and control strategy, and then send the candidate management and control strategy to the VNSC component, so that the VNSC component saves the candidate management and control strategy. The VNSC component and the VSCS component determine, according to certain rules, the management and control strategy adopted in the actual operation from the candidate management and control strategies, that is, the above-mentioned management and control strategy a, to achieve configuration synchronization.
如此,第一视频流媒体服务平台能够基于第一客户端设备提供的取流参数,来确定管控策略a中的取流路数,增加了管控策略配置的灵活性。In this way, the first video streaming media service platform can determine the number of streaming channels in the management and control strategy a based on the streaming parameters provided by the first client device, which increases the flexibility of the configuration of the management and control strategy.
应理解,S306和S307仅以管控策略a为例进行介绍,当然,管控策略b和管控策略c也可以参见上述过程,此处不再一一赘述。It should be understood that S306 and S307 are only introduced by taking the management and control strategy a as an example. Of course, the management and control strategy b and the management and control strategy c may also refer to the above process, which will not be repeated here.
在一些实施例中,若某一(些)监控点突发紧急情况,这些监控点的业务权限被关闭,以防止上述监控点的指定类型的业务流泄露,如图7所示,本申请实施例取流控制方法300还包括S308和S309:In some embodiments, if an emergency occurs at a certain monitoring point(s), the service authority of these monitoring points is closed to prevent the leakage of the specified type of service flow of the above monitoring points. As shown in FIG. 7 , this application implements For example, the
S308、第一视频流媒体服务平台更新管控策略a。S308, the first video streaming media service platform updates the management and control strategy a.
其中,更新后的管控策略a指示拒绝提供目标监控点的指定类型的业务流。指定类型的业务包括至少一种业务,如预览、回放、或下载。示例性的,仍以目标监控点是上述监控点1为例,在指定类型的业务是预览的情况下,监控点1的业务权限从开启更新为关闭,即监控点1的视频流无法被预览。Wherein, the updated management and control policy a indicates that the specified type of service flow of the target monitoring point is refused to be provided. The specified type of service includes at least one service, such as preview, playback, or download. Exemplarily, still taking the above-mentioned monitoring point 1 as an example, when the specified type of service is preview, the service authority of monitoring point 1 is updated from on to off, that is, the video stream of monitoring point 1 cannot be previewed. .
S309、第一视频流媒体服务平台根据更新后的管控策略a,切断针对目标监控点的已提供业务流中的指定类型的业务流。S309: The first video streaming media service platform cuts off the service flow of the specified type in the provided service flow for the target monitoring point according to the updated management and control policy a.
示例性的,第一视频流媒体服务平台不再向第一客户端设备提供监控点1的预览业务流。相应的,第一客户端设备无法预览监控点1的视频流。也就是说,第一视频流媒体服务平台针对监控点设置快捷管控入口,从而快速地收回监控点的业务权限。Exemplarily, the first video streaming service platform no longer provides the first client device with the preview service stream of the monitoring point 1 . Correspondingly, the first client device cannot preview the video stream of the monitoring point 1 . That is to say, the first video streaming media service platform sets a quick control entry for the monitoring point, so as to quickly recover the business authority of the monitoring point.
应理解,第一视频流媒体服务平台也可以针对某一(些)监控点设置关联对象集合,如描述为白名单。一个关联对象集合包括一个或多个关联对象a,关联对象集合中的关联对象a可以是用户、用户组。在该集合内的关联对象能够获取该监控点的指定类型的业务流,其他关联对象无法获取该监控点的指定类型的业务流。或者,反之,该关联对象集合描述为黑名单。在该集合内的关联对象无法获取该监控点的指定类型的业务流,其他关联对象可以获取该监控点的指定类型的业务流。It should be understood that the first video streaming media service platform may also set an associated object set for a certain monitoring point(s), such as a white list described. An associated object set includes one or more associated objects a, and the associated object a in the associated object set may be a user or a user group. The associated objects in the set can obtain the specified type of business flow of the monitoring point, and other associated objects cannot obtain the specified type of business flow of the monitoring point. Or, conversely, the set of associated objects is described as a blacklist. The associated objects in this set cannot obtain the specified type of business flow of the monitoring point, and other associated objects can obtain the specified type of business flow of the monitoring point.
也就是说,第一视频视频流媒体服务平台能够通过配置目标监控点的业务权限,来管控对目标监控点的视频流的取流行为,如目标监控点的业务权限关闭的情况下,第一视频流媒体服务平台不再提供该目标监控点的指定类型的业务流,以防止该目标监控点指定类型的业务流泄露,提高了取流过程管控的灵活性。That is to say, the first video video streaming media service platform can control the fetching behavior of the video stream of the target monitoring point by configuring the business authority of the target monitoring point. For example, when the business authority of the target monitoring point is closed, the first The video streaming media service platform no longer provides the service flow of the specified type of the target monitoring point, so as to prevent the leakage of the service flow of the specified type of the target monitoring point, and improve the flexibility of the management and control of the flow acquisition process.
在一些实施例中,本申请实施例取流控制方法300还能够对云台进行管控。作为一种可能的实现方式,本级云台的管控步骤如图8a所示:In some embodiments, the
S310、第二客户端设备向第一视频流媒体服务平台发送指令X。相应的,第一视频流媒体服务平台接收来自第二客户端设备的指令X。S310. The second client device sends an instruction X to the first video streaming media service platform. Correspondingly, the first video streaming media service platform receives the instruction X from the second client device.
其中,第二客户端设备与第一客户端设备,可以是同一设备,也可以不同设备,本申请实施例对此不作限定。The second client device and the first client device may be the same device or different devices, which are not limited in this embodiment of the present application.
其中,指令X包括第一关联对象对第一监控点的管控信息。第一关联对象是关联对象a中的一个关联对象,如第一关联对象是关联对象a中的用户,或用户组。Wherein, the instruction X includes management and control information of the first monitoring point by the first associated object. The first associated object is an associated object in the associated object a, for example, the first associated object is a user or a user group in the associated object a.
示例性的,指令X包括用户甲对第一监控点的管控信息,或者,指令X包括用户组1对第一监控点的管控信息。Exemplarily, the instruction X includes the management and control information of the first monitoring point by the user A, or the instruction X includes the management and control information of the first monitoring point by the user group 1 .
应理解,管控信息包括以下至少一项:锁定云台的信息,或操作云台的信息。其中,锁定云台是指,某一用户或权限级别高于该用户的其他用户能够操作该云台,或某一用户组或权限级别高于该用户组的其他用户组能够操作该云台。用户的权限级别和用户组的权限级别是预定义的,如按照公司或机构中组织架构来配置权限级别。示例性的,在管控信息实现为锁定云台的信息的情况下,指令X也可以描述为云台锁定指令。It should be understood that the management and control information includes at least one of the following: information about locking the PTZ, or information about operating the PTZ. Among them, locking the PTZ means that a user or other users with higher authority levels can operate the PTZ, or a user group or other user groups with higher authority levels can operate the PTZ. User permission levels and user group permission levels are predefined, such as configuring permission levels according to the organizational structure in a company or institution. Exemplarily, in the case that the control information is implemented as information for locking the pan/tilt, the instruction X may also be described as a pan/tilt locking instruction.
操作云台是指,响应于用户或用户组的指令,来调整云台的工作状态,如云台的转动速度、云台的俯仰角度等。应理解,对于某一云台而言,若该云台未被锁定,则云台可以响应不同用户或用户组的指令,来调整自身的工作状态。反之,若该云台已被某一权限级别(如权限级别A)的用户锁定,则云台可以响应高于该级别A的用户的指令,来调整自身的工作状态。若云台接收到的指令来自于权限级别A的其他用户,或低于权限级别A的用户,则云台不响应接收到的上述指令,云台的工作状态不发生变化。类似的,上述情况也适用于用户组的权限级别。示例性的,在管控信息实现为操作云台的信息的情况下,指令X也可以描述为云台控制指令。Operating the gimbal refers to adjusting the working state of the gimbal, such as the rotation speed of the gimbal and the pitch angle of the gimbal, in response to the instructions of the user or the user group. It should be understood that, for a certain pan/tilt, if the pan/tilt is not locked, the pan/tilt can adjust its working state in response to instructions from different users or user groups. Conversely, if the pan/tilt has been locked by a user with a certain authority level (eg, authority level A), the pan/tilt can adjust its working state in response to an instruction from a user with a higher level A. If the command received by the PTZ is from another user with permission level A, or a user with lower permission level A, the PTZ will not respond to the above-mentioned command received, and the working status of the PTZ will not change. Similarly, the above also applies to the permission level of the user group. Exemplarily, in the case where the management and control information is implemented as information for operating the pan/tilt, the instruction X may also be described as a pan/tilt control instruction.
其中,第一监控点包括支撑图像采集设备。图像采集设备用于采集视频流。示例性的,以图2中的曲线a所示的场景为例,第一视频流媒体服务平台实现为本域视频流媒体服务平台100,第一监控点上的云台可以与本域视频流媒体服务平台100通信连接。相应的,第一监控点上的图像采集设备是本域前端设备集群102。以图2中的曲线c所示的场景为例,第一视频流媒体服务平台实现为本域视频流媒体服务平台100,第二视频流媒体服务平台实现为第二邻域视频流媒体服务平台120,第一监控点上的云台可以与第二邻域视频流媒体服务平台120通信连接。相应的,第一监控点上的图像采集设备是第二邻域前端设备集群122。Wherein, the first monitoring point includes a supporting image acquisition device. Image capture devices are used to capture video streams. Exemplarily, taking the scenario shown by the curve a in FIG. 2 as an example, the first video streaming media service platform is implemented as the local video streaming
示例性的,参见图8b,指令X实现为云台锁定指令。第二客户端设备向第一视频流媒体服务平台的DAC组件发送云台锁定指令。相应的,第一视频流媒体服务平台通过DAC组件接收来自第二客户端设备的云台锁定指令。参见图8c,指令X实现为云台控制指令。第二客户端设备向第一视频流媒体服务平台的DAC组件发送云台控制指令。相应的,第一视频流媒体服务平台通过DAC组件接收来自第二客户端设备的云台控制指令。其中,图8b和图8c仅以本级云台管控为例进行介绍。在本申请实施例中,本级云台,可以理解为,被管控的云台与发送云台锁定指令(或云台锁定指令)的客户端设备接入同一服务平台。Exemplarily, referring to Fig. 8b, the instruction X is implemented as a pan/tilt lock instruction. The second client device sends a PTZ locking instruction to the DAC component of the first video streaming service platform. Correspondingly, the first video streaming service platform receives the PTZ locking instruction from the second client device through the DAC component. Referring to Fig. 8c, the instruction X is implemented as a PTZ control instruction. The second client device sends a PTZ control instruction to the DAC component of the first video streaming service platform. Correspondingly, the first video streaming service platform receives the PTZ control instruction from the second client device through the DAC component. Among them, Fig. 8b and Fig. 8c only take the PTZ management and control of this level as an example for introduction. In the embodiment of the present application, the PTZ at this level can be understood as that the PTZ under control and the client device that sends the PTZ locking instruction (or the PTZ locking instruction) access the same service platform.
参见图8d,指令X实现为云台锁定指令。第二客户端设备向第一视频流媒体服务平台的本级NCG组件发送云台锁定指令。相应的,第一视频流媒体服务平台通过本级NCG组件接收来自第二客户端设备的云台锁定指令。参见图8e,指令X实现为云台控制指令。第二客户端设备向第一视频流媒体服务平台的本级NCG组件发送云台控制指令。相应的,第一视频流媒体服务平台通过本级NCG组件接收来自第二客户端设备的云台控制指令。其中,图8d和图8e仅以跨级云台管控为例进行介绍。在本申请实施例中,跨级云台,可以理解为,被管控的云台与发送云台锁定指令(或云台锁定指令)的客户端设备接入不同的服务平台。Referring to Fig. 8d, the command X is implemented as a gimbal locking command. The second client device sends a PTZ locking instruction to the NCG component at the current level of the first video streaming service platform. Correspondingly, the first video streaming service platform receives the PTZ locking instruction from the second client device through the NCG component at the same level. Referring to Fig. 8e, the instruction X is implemented as a PTZ control instruction. The second client device sends a PTZ control instruction to the NCG component at the current level of the first video streaming service platform. Correspondingly, the first video streaming service platform receives the PTZ control instruction from the second client device through the NCG component at the same level. Among them, FIG. 8d and FIG. 8e only take the cross-level PTZ management and control as an example for introduction. In the embodiment of the present application, the cross-level PTZ can be understood as that the PTZ under management and the client device that sends the PTZ locking instruction (or the PTZ locking instruction) access different service platforms.
S311、第一视频流媒体服务平台对指令X进行校验,以得到指令X的校验结果。S311. The first video streaming media service platform verifies the instruction X to obtain a verification result of the instruction X.
示例性的,第一视频流媒体服务平台确定第一关联对象对第一监控点的访问权限是否开启,以及确定第一监控点是否被其他关联对象锁定。其中,其他关联对象的权限级别高于第一关联对象的权限级别。Exemplarily, the first video streaming service platform determines whether the access authority of the first associated object to the first monitoring point is enabled, and determines whether the first monitoring point is locked by other associated objects. The permission level of other associated objects is higher than the permission level of the first associated object.
参见图8b或图8c,如第一视频流媒体服务平台所在的虚线方框所示,VSCS组件校验是否使能。具体地,VSCS组件确定第一关联对象对第一监控点的访问权限是否开启,若不开启,则VSCS组件的校验结果指示不通过。反之,若开启,则VSCS组件的校验结果指示通过。在VSCS组件的校验结果指示通过的情况下,DAC组件进行权限校验,具体地,DAC组件确定第一监控点是否被其他关联对象锁定,若是,则DAC组件的校验结果指示不通过。反之,若否,则DAC组件的校验结果指示通过。Referring to Fig. 8b or Fig. 8c, as shown in the dotted box where the first video streaming service platform is located, the VSCS component checks whether it is enabled. Specifically, the VSCS component determines whether the access authority of the first associated object to the first monitoring point is enabled, and if it is not enabled, the verification result of the VSCS component indicates that it fails. On the contrary, if it is turned on, the verification result of the VSCS component indicates that it is passed. When the verification result of the VSCS component indicates a pass, the DAC component performs authority verification. Specifically, the DAC component determines whether the first monitoring point is locked by other associated objects, and if so, the verification result of the DAC component indicates that it fails. Conversely, if not, the verification result of the DAC component indicates a pass.
参见图8d或图8e,如第一视频流媒体服务平台所在的虚线方框所示,VSCS组件校验是否使能,以及权限校验。其中,检验是否使能,以及权限校验的介绍可以参见图8b或图8c,此处不再赘述。Referring to Fig. 8d or Fig. 8e, as shown in the dotted box where the first video streaming media service platform is located, the VSCS component checks whether it is enabled, and checks the authority. The description of whether the verification is enabled and the permission verification may refer to FIG. 8b or FIG. 8c, and details are not repeated here.
其中,访问权限开启,可以理解为,第一关联对象拥有对第一监控点的访问权限。访问权限关闭,可以理解为,第一关联对象不具有对第一监控点的访问权限。Wherein, when the access authority is enabled, it can be understood that the first associated object has the access authority to the first monitoring point. When the access authority is closed, it can be understood that the first associated object does not have the access authority to the first monitoring point.
其中,指令X的校验结果包括如下四种情况:Among them, the verification result of instruction X includes the following four cases:
情况a1,第一关联对象对第一监控点的访问权限开启,且第一监控点未被其他关联对象锁定。In case a1, the access authority of the first associated object to the first monitoring point is enabled, and the first monitoring point is not locked by other associated objects.
情况b1,第一关联对象对第一监控点的访问权限开启,但第一监控点已被其他关联对象锁定。In case b1, the access authority of the first associated object to the first monitoring point is enabled, but the first monitoring point has been locked by other associated objects.
情况c1,第一关联对象对第一监控点的访问权限关闭,且第一监控点未被其他关联对象锁定。In case c1, the access authority of the first associated object to the first monitoring point is closed, and the first monitoring point is not locked by other associated objects.
情况d1,第一关联对象对第一监控点的访问权限关闭,但第一监控点已被其他关联对象锁定。In case d1, the access authority of the first associated object to the first monitoring point is closed, but the first monitoring point has been locked by other associated objects.
应理解,第一视频流媒体服务平台可以先确定访问权限是否开启,再确定是否被其他关联对象锁定。或者,第一视频流媒体服务平台可以先确定是否被其他关联对象锁定,再确定访问权限是否开启。或者,第一视频流媒体服务平台可以同时确定是否被其他关联对象锁定,以及访问权限是否开启,本申请实施例对此不作限定。每个关联对象对第一监控点的访问权限可以是取流控制系统预配置的。示例性的,表3示出了各个关联对象在云台上的访问权限。It should be understood that the first video streaming media service platform may first determine whether the access authority is enabled, and then determine whether it is locked by other associated objects. Alternatively, the first video streaming service platform may first determine whether it is locked by other associated objects, and then determine whether the access authority is enabled. Alternatively, the first video streaming media service platform may simultaneously determine whether it is locked by other associated objects and whether the access authority is enabled, which is not limited in this embodiment of the present application. The access authority of each associated object to the first monitoring point may be pre-configured by the flow control system. Exemplarily, Table 3 shows the access rights of each associated object on the PTZ.
表3table 3
在表3中,关联对象有3种,包括联网系统、用户和用户组。目标业务包括云台控制。访问权限有2种,包括开启和关闭。示例性的,以用户所在行为例,某一用户在云台控制业务上的访问权限可以是开启,即该用户能够对云台进行管控。某一用户在预览业务上的业务权限也可以是关闭,即该用户无法对云台进行管控。其他关联对象的访问权限介绍可以参见表3,此处不再一一赘述。In Table 3, there are three types of associated objects, including networked systems, users and user groups. The target business includes PTZ control. There are 2 types of access rights, including on and off. Exemplarily, taking the user's house as an example, the access authority of a certain user on the PTZ control service may be enabled, that is, the user can manage and control the PTZ. The service authority of a user in the preview service can also be disabled, that is, the user cannot control the PTZ. For the introduction of the access rights of other associated objects, please refer to Table 3, which will not be repeated here.
示例性的,作为一种可能的实施例,云台控制与第一管控策略可以在同一预案中配置,如表2所示的预案中,还指示了关联对象对第一监控点的访问权限。Exemplarily, as a possible embodiment, the pan-tilt control and the first management and control strategy may be configured in the same plan. As shown in Table 2, the plan also indicates the access authority of the associated object to the first monitoring point.
若指令X的校验结果实现为上述情况b1、情况c1或情况d1,则第一视频流媒体服务平台执行S312,如图8a中示例1所在的方框所示。若指令X的校验结果实现为上述情况a1,且第一监控点上的云台与第一视频流媒体服务平台通信连接,则第一视频流媒体服务平台执行S313,如图8a中示例1所在的方框所示。若指令X的校验结果实现为上述情况a1,且第一监控点上的云台与第二视频流媒体服务平台通信连接,则第一视频流媒体服务平台执行S314,如图8a中示例2所在的方框所示。其中,S312至S314的介绍如下:If the verification result of the instruction X is realized as the above-mentioned case b1, case c1 or case d1, the first video streaming media service platform executes S312, as shown in the block of Example 1 in FIG. 8a. If the verification result of the instruction X is realized as the above-mentioned situation a1, and the PTZ on the first monitoring point is communicatively connected to the first video streaming media service platform, the first video streaming media service platform executes S313, as shown in Example 1 in Figure 8a shown in the box. If the verification result of the instruction X is realized as the above situation a1, and the PTZ on the first monitoring point is in communication connection with the second video streaming media service platform, then the first video streaming media service platform executes S314, as shown in Example 2 in Figure 8a shown in the box. Among them, the introduction of S312 to S314 is as follows:
S312、第一视频流媒体服务平台向第二客户端设备发送拒绝信息。相应的,第二客户端设备接收来自第一视频流媒体服务平台的拒绝信息。S312. The first video streaming media service platform sends rejection information to the second client device. Correspondingly, the second client device receives the rejection information from the first video streaming service platform.
其中,拒绝信息指示对第一监控点的管控无效,如图8b和图8c所示的错误码。The rejection information indicates that the control of the first monitoring point is invalid, such as the error codes shown in FIG. 8b and FIG. 8c.
此种情况下,第一监控点上云台的工作状态不发生变化。In this case, the working state of the gimbal on the first monitoring point does not change.
在一些实施例中,云台与监控点存在对应关系,若某一(些)监控点突发紧急情况,这些监控点的云台访问权限被关闭,以防止上述监控点的云台被恶意用户操作,所以,第一视频流媒体服务平台针对监控点设置快捷管控入口,从而快速收回云台管控权限。如此,第一视频视频流媒体服务平台能够通过配置第一监控点的访问权限,来管控第一监控点,如某一监控点有突发紧急情况时,部分关联对象或全部关联对象对该监控点上第一监控点的访问权限设置为关闭,以避免不必要的关联对象或恶意的关联对象操控该监控点上的第一监控点。和/或,在第一监控点被权限级别更高的关联对象锁定的情况下,第一视频流媒体服务平台不再基于指令X来控制第一监控点,以便于权限级别更高的关联对象来操控第一监控点。In some embodiments, there is a corresponding relationship between the PTZ and the monitoring points. If an emergency occurs at a certain monitoring point(s), the PTZ access rights of these monitoring points are closed to prevent the PTZ of the monitoring point from being used by malicious users. Therefore, the first video streaming service platform sets up a quick control entry for the monitoring point, so as to quickly recover the PTZ control authority. In this way, the first video video streaming media service platform can manage and control the first monitoring point by configuring the access authority of the first monitoring point. If there is an emergency at a certain monitoring point, some or all of the related objects will monitor the monitoring point. The access authority of the first monitoring point on the point is set to be off, so as to prevent unnecessary associated objects or malicious associated objects from manipulating the first monitoring point on the monitoring point. And/or, in the case where the first monitoring point is locked by an associated object with a higher authority level, the first video streaming service platform no longer controls the first monitoring point based on the instruction X, so as to facilitate the associated object with a higher authority level. to control the first monitoring point.
S313、第一视频流媒体服务平台响应于指令X,控制第一监控点。S313: The first video streaming media service platform controls the first monitoring point in response to the instruction X.
示例性的,参见图8b,如第一视频流媒体服务平台所在的虚线方框所示,DAC组件向第一监控点的云台1发送锁定云台的信息,以锁定云台1。Exemplarily, referring to FIG. 8b , as shown by the dotted box where the first video streaming service platform is located, the DAC component sends the information of locking the PTZ to the PTZ 1 of the first monitoring point, so as to lock the PTZ 1 .
参见图8c,如第一视频流媒体服务平台所在的虚线方框所示,DAC组件向第一监控点的云台1发送操作指令,以操作第一监控点的云台1,如操作指令指示云台1的转动速度、转动时长等信息,以调整云台1的工作状态。Referring to Fig. 8c, as shown in the dotted box where the first video streaming service platform is located, the DAC component sends an operation instruction to the PTZ 1 of the first monitoring point to operate the PTZ 1 of the first monitoring point, as indicated by the operation instruction Information such as the rotation speed and rotation duration of the gimbal 1 to adjust the working state of the gimbal 1 .
如此,即可对本级云台进行管控。In this way, the PTZ at this level can be managed and controlled.
S314、第一视频流媒体服务平台向第二视频流媒体服务平台发送指令Y。相应的,第二视频流媒体服务平台接收来自第一视频流媒体服务平台的指令Y。S314: The first video streaming media service platform sends the instruction Y to the second video streaming media service platform. Correspondingly, the second video streaming media service platform receives the instruction Y from the first video streaming media service platform.
其中,指令Y包括第一视频流媒体服务平台对第一监控点的管控信息。第一监控点和管控信息可以参见指令X的介绍,此处不再赘述。Wherein, the instruction Y includes the management and control information of the first monitoring point by the first video streaming service platform. For the first monitoring point and the management and control information, reference may be made to the introduction of the instruction X, which will not be repeated here.
示例性的,参见图8d或图8e,如第一视频流媒体服务平台所在的虚线方框所示,VSCS组件的校验结果指示通过的情况下,VSCS组件通过本级级联组件和中间级级联组件向第二视频流媒体服务平台的VSCS组件发送指令Y。Exemplarily, referring to FIG. 8d or FIG. 8e, as shown in the dashed box where the first video streaming service platform is located, when the verification result of the VSCS component indicates that it is passed, the VSCS component passes through the cascading component of this level and the intermediate level. The cascade component sends instruction Y to the VSCS component of the second video streaming service platform.
S315、第二视频流媒体服务平台对指令Y进行校验,以得到指令Y的校验结果。S315 , the second video streaming media service platform verifies the instruction Y to obtain the verification result of the instruction Y.
示例性的,第二视频流媒体服务平台确定第一视频流媒体服务平台对第一监控点的访问权限是否开启,以及确定第一监控点是否被其他关联对象锁定。Exemplarily, the second video streaming media service platform determines whether the access authority of the first video streaming media service platform to the first monitoring point is enabled, and determines whether the first monitoring point is locked by other associated objects.
参见图8d或图8e,如第二视频流媒体服务平台所在的虚线方框所示,VSCS组件校验是否使能,以及权限校验。其中,检验是否使能,以及权限校验的介绍可以参见图8b或图8c,此处不再赘述。Referring to FIG. 8d or FIG. 8e , as shown in the dotted box where the second video streaming media service platform is located, the VSCS component checks whether it is enabled, and the authority checks. The description of whether the verification is enabled and the permission verification may refer to FIG. 8b or FIG. 8c, and details are not repeated here.
其中,指令Y的校验结果包括如下四种情况:Among them, the verification result of instruction Y includes the following four cases:
情况a2,第一视频流媒体服务平台对第一监控点的访问权限开启,且第一监控点未被其他关联对象锁定。In case a2, the access authority of the first video streaming media service platform to the first monitoring point is enabled, and the first monitoring point is not locked by other associated objects.
情况b2,第一视频流媒体服务平台对第一监控点的访问权限开启,但第一监控点已被其他关联对象锁定。In case b2, the access authority of the first video streaming media service platform to the first monitoring point is enabled, but the first monitoring point has been locked by other associated objects.
情况c2,第一视频流媒体服务平台对第一监控点的访问权限关闭,且第一监控点未被其他关联对象锁定。In case c2, the access authority of the first video streaming service platform to the first monitoring point is closed, and the first monitoring point is not locked by other associated objects.
情况d2,第一视频流媒体服务平台对第一监控点的访问权限关闭,但第一监控点已被其他关联对象锁定。In case d2, the access authority of the first video streaming media service platform to the first monitoring point is closed, but the first monitoring point has been locked by other associated objects.
应理解,第二视频流媒体服务平台可以先确定访问权限是否开启,再确定是否被其他关联对象锁定。或者,第二视频流媒体服务平台可以先确定是否被其他关联对象锁定,再确定访问权限是否开启。或者,第二视频流媒体服务平台可以同时确定是否被其他关联对象锁定,以及访问权限是否开启,本申请实施例对此不作限定。It should be understood that the second video streaming service platform may first determine whether the access authority is enabled, and then determine whether it is locked by other associated objects. Alternatively, the second video streaming service platform may first determine whether it is locked by other associated objects, and then determine whether the access authority is enabled. Alternatively, the second video streaming media service platform may simultaneously determine whether it is locked by other associated objects and whether the access authority is enabled, which is not limited in this embodiment of the present application.
若指令Y的校验结果实现为上述情况b2、情况c2或情况d2,则第二视频流媒体服务平台执行S316。若指令Y的校验结果实现为上述情况a2,且第一监控点的云台与第二视频流媒体服务平台通信连接,则第二视频流媒体服务平台执行S317。其中,S316和S317的介绍如下:If the verification result of the instruction Y is realized as the above-mentioned case b2, case c2 or case d2, the second video streaming media service platform executes S316. If the verification result of the instruction Y is realized as the above situation a2, and the PTZ of the first monitoring point is in communication connection with the second video streaming media service platform, the second video streaming media service platform executes S317. Among them, the introduction of S316 and S317 is as follows:
S316、第二视频流媒体服务平台向第一视频流媒体服务平台发送拒绝信息。相应的,第一视频流媒体服务平台接收来自第二视频流媒体服务平台的拒绝信息。S316. The second video streaming media service platform sends rejection information to the first video streaming media service platform. Correspondingly, the first video streaming media service platform receives rejection information from the second video streaming media service platform.
其中,拒绝信息指示对第一监控点的管控无效,如图8d和图8e所示的错误码。The rejection information indicates that the control of the first monitoring point is invalid, such as the error codes shown in FIG. 8d and FIG. 8e.
对于第一视频流媒体服务平台而言,执行S316之后,执行S312,以向第二客户端设备反馈拒绝信息。For the first video streaming media service platform, after S316 is performed, S312 is performed to feed back rejection information to the second client device.
此种情况下,第一监控点的云台工作状态不发生变化。In this case, the working state of the PTZ of the first monitoring point does not change.
S317、第二视频流媒体服务平台响应于指令Y,控制第一监控点。S317: The second video streaming media service platform controls the first monitoring point in response to the instruction Y.
其中,S317的实现过程可以参见S312的介绍,此处不再赘述。The implementation process of S317 may refer to the introduction of S312, which will not be repeated here.
如此,即可对跨级云台进行管控。In this way, the cross-level PTZ can be managed and controlled.
应理解,图8d和图8e中,仅以三级服务平台为例,对跨级云台管控进行介绍,在执行S315之后,若指令Y的校验结果实现为上述情况a2,则第二视频流媒体服务平台向第三视频流媒体服务平台发送指令Z。相应的,第三视频流媒体服务平台接收来自第二视频流媒体服务平台的指令Z。其中,指令Z包括第二视频流媒体服务平台对第一监控点的管控信息。第一监控点和管控信息可以参见指令X的介绍。第三视频流媒体服务平台对指令Z进行校验,然后,基于指令Z的校验结果对第一监控点进行管控。It should be understood that in FIG. 8d and FIG. 8e, only the three-level service platform is taken as an example to introduce the cross-level PTZ management and control. After executing S315, if the verification result of the instruction Y is realized as the above situation a2, then the second video The streaming media service platform sends the instruction Z to the third video streaming media service platform. Correspondingly, the third video streaming media service platform receives the instruction Z from the second video streaming media service platform. Wherein, the instruction Z includes the management and control information of the first monitoring point by the second video streaming service platform. For the first monitoring point and control information, please refer to the introduction of instruction X. The third video streaming service platform verifies the instruction Z, and then controls the first monitoring point based on the verification result of the instruction Z.
在一些实施例中,本申请实施例取流控制方法300还能够在安全方面对取流行为进行管控,具体步骤如图9a所示:In some embodiments, the flow fetching
S318、第一视频流媒体服务平台根据第一信息中的第一策略,在目标业务流中加载水印信息。S318: The first video streaming media service platform loads watermark information in the target service stream according to the first policy in the first information.
其中,第一信息指示第二关联对象被配置的水印策略,以及第二关联对象的优先级。第二关联对象是关联对象a中的至少一个关联对象。The first information indicates the configured watermark policy of the second associated object and the priority of the second associated object. The second associated object is at least one associated object in the associated object a.
水印策略,用于指示目标业务流中加载水印信息的方式。示例性的,加载水印信息的方式,包括以下至少一项:调阅者名称、调阅者ID、监控点名称、IP、实施时间、自定义文本、水印显示方式等。其中,水印显示方式包括字体大小、字体颜色、不透明度以及旋转角度和布局、亮暗程度等。The watermark policy is used to indicate the way of loading watermark information in the target service flow. Exemplarily, the method of loading watermark information includes at least one of the following: caller name, caller ID, monitoring point name, IP, implementation time, custom text, watermark display mode, and the like. Among them, the watermark display mode includes font size, font color, opacity, rotation angle and layout, brightness and darkness, etc.
示例性的,参见表4,表4示出了多种水印策略。For example, see Table 4, which shows various watermarking strategies.
表4Table 4
在表4中,关联对象有5种,包括联网系统、应用、用户、用户组和客户端设备。5种关联对象对应的水印策略在内容上包括:调用方ID,调用方名称,监控点名称,IP地址,实时时间和自定义文本。水印策略在显示配置上均包括字体颜色,字体大小,透明度,旋转角度和布局等。In Table 4, there are five types of associated objects, including networked systems, applications, users, user groups, and client devices. The watermark policies corresponding to the five associated objects include: caller ID, caller name, monitoring point name, IP address, real-time time and custom text. The watermark strategy includes font color, font size, transparency, rotation angle and layout, etc. in the display configuration.
在关联对象a中,每个关联对象或部分关联对象被配置水印策略。不同关联对象被配置的水印策略可以不同。例如,用户甲意图预览的目标业务流中加载有用户甲的信息,如用户甲的名称。用户乙意图预览的目标业务流中加载有用户乙的信息,如用户乙的名称。或者,不同关联对象被配置的水印策略可以相同。例如,用户甲意图预览的视频流,与用户乙意图预览的视频流,均源自同一监控点的前端设备,如均源自本域前端设备集群102。用户甲与用户乙预览的视频流中均加载有同一监控点的信息,如该监控点的名称,或该监控点上的本域前端设备集群102的名称。In the associated object a, each associated object or part of the associated objects is configured with a watermark policy. The watermark policies configured for different associated objects can be different. For example, the target business flow that User A intends to preview is loaded with information of User A, such as User A's name. The target business flow that user B intends to preview is loaded with information of user B, such as the name of user B. Alternatively, the configured watermark policies for different associated objects may be the same. For example, the video stream intended to be previewed by user A and the video stream intended to be previewed by user B both originate from the front-end device at the same monitoring point, for example, both originate from the front-
优先级,用于指示水印信息加载过程中,第二关联对象被配置的水印策略的重要程度。一个关联对象被配置的优先级越高,该关联对象被配置的水印策略的重要程度越高。例如,仍以用户甲和用户乙预览源自本域前端设备集群102的视频流为例,涉及的关联对象包括用户(如上述用户甲和用户乙)和前端设备(如上述本域前端设备集群102)。The priority is used to indicate the importance of the watermark policy configured on the second associated object during the watermark information loading process. The higher the priority of an associated object is configured, the higher the importance of the watermark policy configured for the associated object. For example, still take user A and user B to preview the video stream originating from the front-
用户这一关联对象被配置的水印策略包括:在目标业务流中加载意图预览该视频流的用户信息。此种情况下,以取流请求1为例,取流请求1中携带用户的信息,且该用户是采用第一客户端设备发送取流请求1,且意图预览视频流的用户。第一视频流媒体服务平台需区分哪一用户的取流请求1。例如,若用户甲预览某一视频流,则第一视频流媒体服务平台响应于用户甲的取流请求1,该目标业务流中加载有用户甲的信息,如用户甲的名称。若用户乙预览某一视频流,则第一视频流媒体服务平台响应于用户乙的取流请求1,该目标业务流中加载有用户乙的信息,如用户乙的名称。The watermark policy configured for the associated object of the user includes: loading the user information intended to preview the video stream in the target service stream. In this case, taking streaming request 1 as an example, streaming request 1 carries user information, and the user is a user who uses the first client device to send streaming request 1 and intends to preview the video stream. The first video streaming media service platform needs to distinguish which user has the streaming request 1 . For example, if user A previews a certain video stream, the first video streaming media service platform responds to user A's streaming request 1, and the target service stream is loaded with user A's information, such as user A's name. If user B previews a certain video stream, the first video streaming media service platform responds to user B's streaming request 1, and the target service stream is loaded with user B's information, such as user B's name.
前端设备这一关联对象被配置的水印策略包括:在目标业务流中加载前端设备的信息。此种情况下,以取流请求2为例,取流请求2中携带前端设备的信息,且该前端设备用于提供取流请求2意图获取的目标业务流。第一视频流媒体服务平台无需区分哪一用户的取流请求2,关注前端设备即可。例如,用户甲意图预览的目标业务流,与用户乙意图预览的目标业务流,均源自同一监控点的前端设备,如均源自本域前端设备集群102。用户甲与用户乙预览的目标业务流中均加载有同一监控点的信息,如该监控点的名称,或该监控点上的本域前端设备集群102的名称。The watermark policy configured for the associated object of the front-end device includes: loading the information of the front-end device in the target service flow. In this case, taking the flow request 2 as an example, the flow request 2 carries the information of the front-end device, and the front-end device is used to provide the target service flow that the flow request 2 intends to acquire. The first video streaming media service platform does not need to distinguish which user's streaming request 2, and only needs to pay attention to the front-end device. For example, the target service flow that user A intends to preview and the target service flow that user B intends to preview both originate from front-end devices at the same monitoring point, for example, both originate from the front-
其中,第一策略是满足优先级条件的第二关联对象所被配置的水印策略。示例性的,优先级条件包括:每两个优先级中选择较高的优先级,每三个或更多优先级中选择最高的优先级,每三个或更多优先级中选择次高的优先级。优先级条件也可以有更多示例,此处不再一一赘述。下面,仅以优先级条件实现为每两个优先级中选择较高的优先级为例,进行介绍:仍以上述用户和前端设备这两个关联对象被配置的水印策略为例,若用户的优先级高于前端设备的优先级,则第一策略是用户这一关联对象的水印策略。第一视频流媒体服务平台按照用户这一关联对象的水印策略来加载水印信息,无需按照前端设备这一关联对象的水印策略来加载水印信息。若用户的优先级低于前端设备的优先级,则第一策略是前端设备这一关联对象的水印策略。第一视频流媒体服务平台无需按照用户这一关联对象的水印策略来加载水印信息,而是按照前端设备这一关联对象的水印策略来加载水印信息。The first policy is a watermark policy configured for the second associated object that satisfies the priority condition. Exemplarily, the priority conditions include: selecting a higher priority among every two priorities, selecting a highest priority among every three or more priorities, and selecting a second highest priority among every three or more priorities. priority. There may also be more examples of priority conditions, which will not be repeated here. In the following, only the priority condition is implemented to select the higher priority among the two priorities as an example to introduce: still take the watermark policy configured on the two associated objects of the user and the front-end device as an example, if the user's If the priority is higher than that of the front-end device, the first policy is the watermark policy of the associated object of the user. The first video streaming service platform loads the watermark information according to the watermark policy of the associated object of the user, and does not need to load the watermark information according to the watermark policy of the associated object of the front-end device. If the priority of the user is lower than the priority of the front-end device, the first policy is the watermark policy of the associated object of the front-end device. The first video streaming service platform does not need to load the watermark information according to the watermark policy of the associated object of the user, but loads the watermark information according to the watermark policy of the associated object of the front-end device.
示例性的,参见图9b,以全部关联对象a为例,第一视频流媒体服务平台按照每个关联对象a的优先级,对关联对象a进行排序。首先,针对优先级最高的关联对象a,第一视频流媒体服务平台确定该关联对象a是否配置有水印策略。若是,则该关联对象a被配置的水印策略即为上述第一策略。第一视频流媒体服务平台按照此水印策略来加载水印信息。反之,若该关联对象a未配置水印策略,则第一视频流媒体服务平台按照优先级的排列顺序,确定是否存在下一个关联对象a。若是,则第一视频流媒体服务平台将下一个关联对象a确定为当前的关联对象,再次确定当前的关联对象是否配置有水印策略,若是,则按照优先级次高的关联对象a被配置的水印策略来加载水印,若否,则确定是否存在下一个关联对象。如此循环,直至下一个关联对象不存在,此种情况下,第一视频流媒体服务平台无需在目标业务流中加载水印信息。Exemplarily, referring to FIG. 9b, taking all the associated objects a as an example, the first video streaming media service platform sorts the associated objects a according to the priority of each associated object a. First, for the associated object a with the highest priority, the first video streaming service platform determines whether the associated object a is configured with a watermark policy. If so, the watermarking strategy configured for the associated object a is the above-mentioned first strategy. The first video streaming service platform loads the watermark information according to the watermark policy. On the contrary, if the associated object a is not configured with a watermark policy, the first video streaming media service platform determines whether there is a next associated object a according to the priority order. If so, then the first video streaming media service platform determines the next associated object a as the current associated object, and determines again whether the current associated object is configured with a watermark policy, if so, according to the second highest priority associated object a is configured. watermark strategy to load the watermark, if not, determine if there is the next associated object. This cycle is repeated until the next associated object does not exist. In this case, the first video streaming media service platform does not need to load watermark information in the target service stream.
应理解,在本申请实施例中,满足管控策略a,可以理解为,满足每个目标关联对象1的管控策略。例如,目标关联对象1为一个。相应的,管控策略为一个。满足管控策略a,可以理解为,满足一个管控策略。再如,目标关联对象1为至少两个。相应的,管控策略为至少两个,且与目标关联对象1的数量一致。满足管控策略a,可以理解为,满足至少两个管控策略中的全部。满足管控策略b,以及满足管控策略c的理解,可以此类推,不再赘述。It should be understood that, in the embodiment of the present application, satisfying the management and control strategy a can be understood as satisfying the management and control strategy of each target associated object 1 . For example, target associated object 1 is one. Correspondingly, the control strategy is one. Satisfying the management and control strategy a can be understood as satisfying a management and control strategy. For another example, there are at least two target associated objects 1 . Correspondingly, there are at least two management and control strategies, which are consistent with the number of target associated objects 1 . Satisfying the management and control strategy a can be understood as satisfying all of at least two management and control strategies. The understanding of satisfying management and control strategy b and satisfying management and control strategy c can be deduced by analogy, and will not be repeated here.
上述主要从各个设备之间交互的角度对本申请实施例提供的方案进行了介绍。相应的,本申请实施例还提供了取流控制装置,该装置可以为上述方法实施例中的设备,或者包含上述设备的装置,或者为可用于设备的部件。可以理解的是,该装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of interaction between various devices. Correspondingly, an embodiment of the present application also provides a flow control device, which may be the device in the above method embodiments, or a device including the above device, or a component that can be used in the device. It can be understood that, in order to realize the above-mentioned functions, the apparatus includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
示例性的,图10示出了一种取流控制装置1000的结构示意图。该取流控制装置1000包括处理单元1001、发送单元1002和接收单元1003。Exemplarily, FIG. 10 shows a schematic structural diagram of a flow taking control device 1000 . The flow control device 1000 includes a processing unit 1001 , a sending unit 1002 and a receiving unit 1003 .
一种可能的示例中,以取流控制装置1000为第一视频流媒体服务平台为例,处理单元1001用于支持第一视频流媒体服务平台执行图3a中的S302、S303,和/或本申请实施例中第一视频流媒体服务平台需要执行的其他处理操作。接收单元1003用于支持第一视频流媒体服务平台执行图3a中的S301,和/或本申请实施例中第一视频流媒体服务平台需要执行的其他接收操作。发送单元1002用于支持第一视频流媒体服务平台需要执行的其他发送操作。In a possible example, taking the flow control device 1000 as the first video streaming media service platform as an example, the processing unit 1001 is configured to support the first video streaming media service platform to perform S302, S303 in FIG. 3a, and/or this Other processing operations that need to be performed by the first video streaming media service platform in the application embodiment. The receiving unit 1003 is configured to support the first video streaming media service platform to perform S301 in FIG. 3a, and/or other receiving operations that need to be performed by the first video streaming media service platform in the embodiment of the present application. The sending unit 1002 is configured to support other sending operations that the first video streaming media service platform needs to perform.
再一种可能的示例中,以取流控制装置1000为第一客户端设备为例,处理单元1001用于支持第一客户端设备需要执行的其他处理操作。接收单元1003用于支持第一客户端设备执行图3a中的目标业务流,和/或本申请实施例中第一客户端设备需要执行的其他接收操作。发送单元1002用于支持第一客户端设备执行图3a中的S301,和/或本申请实施例中第一客户端设备需要执行的其他发送操作。In another possible example, taking the flow control apparatus 1000 as the first client device as an example, the processing unit 1001 is configured to support other processing operations that the first client device needs to perform. The receiving unit 1003 is configured to support the first client device to perform the target service flow in FIG. 3a, and/or other receiving operations that the first client device needs to perform in this embodiment of the present application. The sending unit 1002 is configured to support the first client device to perform S301 in FIG. 3a, and/or other sending operations that the first client device needs to perform in this embodiment of the present application.
可选的,该取流控制装置1000还可以包括存储单元1004,用于存储取流控制装置的程序代码和数据,数据可以包括不限于原始数据或者中间数据等。Optionally, the flow control apparatus 1000 may further include a storage unit 1004 for storing program codes and data of the flow control apparatus, and the data may include but not limited to original data or intermediate data.
其中,处理单元1001可以是处理器或控制器,例如可以是CPU,通用处理器,专用集成电路(application specific integrated circuit,ASIC),现场可编程逻辑门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processing unit 1001 may be a processor or a controller, for example, a CPU, a general-purpose processor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other Programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
发送单元1002可以是通信接口、发送器或发送电路等,其中,该通信接口是统称,在具体实现中,该通信接口可以包括多个接口,例如可以包括:第一视频流媒体服务平台与第一客户端设备之间的接口和/或其他接口。The sending unit 1002 may be a communication interface, a transmitter or a sending circuit, etc., where the communication interface is a general term, and in a specific implementation, the communication interface may include multiple interfaces, for example, may include: the first video streaming media service platform and the first video streaming media service platform. An interface between client devices and/or other interfaces.
接收单元1003可以是通信接口、接收器或接收电路等,其中,该通信接口是统称,在具体实现中,该通信接口可以包括多个接口,例如可以包括:第一视频流媒体服务平台与第一客户端设备之间的接口和/或其他接口。The receiving unit 1003 may be a communication interface, a receiver or a receiving circuit, etc., wherein the communication interface is a general term, and in a specific implementation, the communication interface may include multiple interfaces, for example, may include: the first video streaming media service platform and the first video streaming service platform. An interface between client devices and/or other interfaces.
发送单元1002和接收单元1003可以是物理上或者逻辑上实现为同一个单元。The sending unit 1002 and the receiving unit 1003 may be physically or logically implemented as the same unit.
存储单元1004可以是存储器。The storage unit 1004 may be a memory.
当处理单元1001为处理器,发送单元1002和接收单元1003为通信接口,存储单元1004为存储器时,本申请实施例所涉及的取流控制装置可以为图11所示。When the processing unit 1001 is a processor, the sending unit 1002 and the receiving unit 1003 are communication interfaces, and the storage unit 1004 is a memory, the flow control apparatus involved in the embodiment of the present application may be as shown in FIG. 11 .
参阅图11所示,该取流控制装置包括:处理器1101、通信接口1102、存储器1103。可选的,取流控制装置还可以包括总线1104。其中,通信接口1102、处理器1101以及存储器1103可以通过总线1104相互连接;总线1104可以是外设部件互连标准(peripheralcomponent interconnect,PCI)总线或扩展工业标准结构(extended industry standardarchitecture,EISA)总线等。所述总线1104可以分为地址总线、数据总线、控制总线等。为便于表示,图11中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 11 , the flow control device includes: a
可选的,本申请实施例还提供一种携带计算机指令的计算机程序产品,当该计算机指令在计算机上运行时,使得计算机执行上述实施例所介绍的方法。Optionally, the embodiment of the present application further provides a computer program product carrying computer instructions, when the computer instructions are executed on the computer, the computer is made to execute the method described in the foregoing embodiments.
可选的,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储计算机指令,当该计算机指令在计算机上运行时,使得计算机执行上述实施例所介绍的方法。Optionally, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the methods described in the foregoing embodiments.
可选的,本申请实施例还提供一种芯片,包括:处理电路和收发电路,处理电路和收发电路用于实现上述实施例所介绍的方法。其中,处理电路用于执行相应方法中的处理动作,收发电路用于执行相应方法中的接收/发送的动作。Optionally, an embodiment of the present application further provides a chip, including: a processing circuit and a transceiver circuit, where the processing circuit and the transceiver circuit are used to implement the methods introduced in the foregoing embodiments. Wherein, the processing circuit is used for performing the processing actions in the corresponding method, and the transceiver circuit is used for performing the actions of receiving/transmitting in the corresponding method.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(digital video disc,DVD))、或者半导体介质(例如固态硬盘(solid state drive,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media. The available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital video disc (DVD)), or semiconductor media (eg, solid state drive (SSD)) Wait.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个设备上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple devices. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general-purpose hardware, and of course hardware can also be used, but in many cases the former is a better implementation manner . Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence or contributed parts, and the computer software products are stored in a readable storage medium, such as a floppy disk, a hard disk or an optical disk of a computer etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and changes or substitutions within the technical scope disclosed in the present application should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111626987.4ACN114339314A (en) | 2021-12-28 | 2021-12-28 | Flow control method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111626987.4ACN114339314A (en) | 2021-12-28 | 2021-12-28 | Flow control method and device |
| Publication Number | Publication Date |
|---|---|
| CN114339314Atrue CN114339314A (en) | 2022-04-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111626987.4APendingCN114339314A (en) | 2021-12-28 | 2021-12-28 | Flow control method and device |
| Country | Link |
|---|---|
| CN (1) | CN114339314A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115278161A (en)* | 2022-06-22 | 2022-11-01 | 北京国基科技股份有限公司 | Video differentiation symbol display method and device |
| CN116112709A (en)* | 2023-02-13 | 2023-05-12 | 中国建设银行股份有限公司 | Video stream calling method, calling device, electronic equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013032944A1 (en)* | 2011-08-26 | 2013-03-07 | Google Inc. | System and method for presenting a video stream |
| CN110572623A (en)* | 2019-10-09 | 2019-12-13 | 广州交通信息化建设投资营运有限公司 | Vehicle-mounted video monitoring method and device and vehicle-mounted video cloud service system |
| CN112788368A (en)* | 2020-12-23 | 2021-05-11 | 杭州海康威视系统技术有限公司 | Stream taking control method and platform device for providing video streaming media service |
| CN112995579A (en)* | 2019-12-12 | 2021-06-18 | 杭州海康威视系统技术有限公司 | Video stream distribution method and device, management server and video monitoring system |
| CN113453025A (en)* | 2020-03-26 | 2021-09-28 | 杭州海康威视系统技术有限公司 | Data acquisition method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013032944A1 (en)* | 2011-08-26 | 2013-03-07 | Google Inc. | System and method for presenting a video stream |
| CN110572623A (en)* | 2019-10-09 | 2019-12-13 | 广州交通信息化建设投资营运有限公司 | Vehicle-mounted video monitoring method and device and vehicle-mounted video cloud service system |
| CN112995579A (en)* | 2019-12-12 | 2021-06-18 | 杭州海康威视系统技术有限公司 | Video stream distribution method and device, management server and video monitoring system |
| CN113453025A (en)* | 2020-03-26 | 2021-09-28 | 杭州海康威视系统技术有限公司 | Data acquisition method and device |
| CN112788368A (en)* | 2020-12-23 | 2021-05-11 | 杭州海康威视系统技术有限公司 | Stream taking control method and platform device for providing video streaming media service |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115278161A (en)* | 2022-06-22 | 2022-11-01 | 北京国基科技股份有限公司 | Video differentiation symbol display method and device |
| CN116112709A (en)* | 2023-02-13 | 2023-05-12 | 中国建设银行股份有限公司 | Video stream calling method, calling device, electronic equipment and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| US11916730B2 (en) | Service provision to IoT devices | |
| US10440010B2 (en) | System and method to share a resource or a capability of a device | |
| RU2449351C2 (en) | Rule-based caching for packet-based data transfer | |
| US7249370B2 (en) | Communication system and transfer device | |
| US7493368B2 (en) | System and method for effectively providing user information from a user device | |
| US9282101B2 (en) | Multimedia message service method and system | |
| EP3979103B1 (en) | Apparatus, methods, and computer programs | |
| CN111742531B (en) | Profile Information Sharing | |
| EP2466852A1 (en) | Digital content management | |
| TW201329768A (en) | Content security in a social network | |
| CN114339314A (en) | Flow control method and device | |
| CN113875259A (en) | Technology for secure video frame management | |
| US10298541B2 (en) | Communication management system, communication terminal, communication system, and recording medium storing control program | |
| EP2849420B1 (en) | Counterpart terminal information management system, method and carrier means | |
| CA2936055A1 (en) | Access control device, communication system, program, and method for controlling access | |
| EP2822253B1 (en) | Communication management system, communication terminal, communication system, and carrier means | |
| EP2846540B1 (en) | Apparatus, system, and method of managing data, and carrier means | |
| EP2822254B1 (en) | Communication management system, communication terminal, communication system, and recording medium storing control program | |
| EP2849419B1 (en) | Apparatus, system and method of managing data, and carrier means | |
| CN116112703A (en) | Management method, system, equipment and storage medium of broadcast guiding equipment | |
| CN115622723A (en) | Device access control method and device, electronic device and storage medium | |
| US12306971B2 (en) | System for privately sharing verified video | |
| Bruschi et al. | Virtualization of set-top-box devices in next generation sdn-nfv networks: the input project perspective | |
| CN119781719A (en) | Screen projection control method, system, intelligent terminal and storage medium | |
| CN114727068A (en) | Video information acquisition method and device, storage medium and electronic device |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20220412 |