CN118413696A - Streaming media management system based on cross-cloud integrated environment - Google Patents
Streaming media management system based on cross-cloud integrated environment Download PDFInfo
- Publication number
- CN118413696A CN118413696A CN202410578654.6A CN202410578654A CN118413696A CN 118413696 A CN118413696 A CN 118413696A CN 202410578654 A CN202410578654 A CN 202410578654A CN 118413696 A CN118413696 A CN 118413696A
- Authority
- CN
- China
- Prior art keywords
- streaming media
- cross
- user
- subunit
- cloud
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 11
- 230000010354 integration Effects 0.000 claims abstract description 9
- 238000012545 processing Methods 0.000 claims description 29
- 238000000605 extraction Methods 0.000 claims description 14
- 238000002372 labelling Methods 0.000 claims description 9
- 238000013145 classification model Methods 0.000 claims description 7
- 238000005457 optimization Methods 0.000 claims description 4
- 238000012795 verification Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 238000012163 sequencing technique Methods 0.000 claims 2
- 238000000034 method Methods 0.000 abstract description 34
- 238000003860 storage Methods 0.000 abstract description 28
- 238000007726 management method Methods 0.000 description 98
- 230000006870 function Effects 0.000 description 26
- 230000008569 process Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 15
- 238000012552 review Methods 0.000 description 15
- 238000004422 calculation algorithm Methods 0.000 description 11
- 238000004458 analytical method Methods 0.000 description 7
- 239000000306 component Substances 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 238000002955 isolation Methods 0.000 description 6
- 238000004806 packaging method and process Methods 0.000 description 6
- 238000013475 authorization Methods 0.000 description 5
- 230000002452 interceptive effect Effects 0.000 description 5
- 230000003111 delayed effect Effects 0.000 description 4
- 238000009826 distribution Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 230000001965 increasing effect Effects 0.000 description 4
- 238000009434 installation Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000007619 statistical method Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000013527 convolutional neural network Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000002708 enhancing effect Effects 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 238000012550 audit Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000003708 edge detection Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000002688 persistence Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000012896 Statistical algorithm Methods 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000872 buffer Substances 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013136 deep learning model Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/232—Content retrieval operation locally within server, e.g. reading video streams from disk arrays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/254—Management at additional data server, e.g. shopping server, rights management server
- H04N21/2541—Rights Management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4627—Rights management associated to the content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8358—Generation of protective data, e.g. certificates involving watermark
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明提供一种基于跨云集成环境的流媒体管理系统,涉及跨云集成环境下流媒体应用软件技术领域。该系统提供跨云、跨系统和跨服务的完善的业务管理能力,系统具备整体可扩展部署及兼容能力,支持系统版本平滑升级与功能业务平稳扩充,提升与现有网站内容管理系统及身份认证系统的融合能力,大幅降低了基于跨云集成环境的流媒体管理系统在跨云集成领域跨系统和服务的应用复杂性。同时,跨云集成部署方式提高了可用性和访问能力,降低了存储成本,尤其在业务扩充时,快速扩容即买即用;并且可以在保证图像传输安全性的前提下,为用户的使用提供便捷性。
The present invention provides a streaming media management system based on a cross-cloud integrated environment, and relates to the technical field of streaming media application software under a cross-cloud integrated environment. The system provides a complete cross-cloud, cross-system and cross-service business management capability, and the system has an overall scalable deployment and compatibility capability, supports smooth upgrades of system versions and stable expansion of functional services, improves the integration capability with existing website content management systems and identity authentication systems, and greatly reduces the application complexity of streaming media management systems based on a cross-cloud integrated environment across systems and services in the cross-cloud integrated field. At the same time, the cross-cloud integrated deployment method improves availability and access capabilities, reduces storage costs, and especially when the business is expanded, rapid expansion is available for purchase and use; and it can provide convenience for users under the premise of ensuring the security of image transmission.
Description
技术领域Technical Field
本发明涉及跨云集成环境下流媒体应用软件技术领域,具体涉及一种基于跨云集成环境的流媒体管理系统。The present invention relates to the technical field of streaming media application software in a cross-cloud integrated environment, and in particular to a streaming media management system based on a cross-cloud integrated environment.
背景技术Background technique
本部分旨在为权利要求书中陈述的本发明的实施方式提供背景或上下文。此处的描述不因为包括在本部分中就承认是现有技术。This section is intended to provide a background or context to embodiments of the invention that are recited in the claims. No description herein is admitted to be prior art by inclusion in this section.
流媒体管理系统是一种用于管理和分发流媒体内容的软件系统。随着互联网信息技术的快速发展,基于互联网环境的流媒体在传播方面逐渐体现出前所未有的优势,与传统图文传播方式相比,人们对视频和音频内容的体验更为直观,需求更为迫切。流媒体管理系统应运而生,以满足用户对高质量、高效率的流媒体服务的需求。Streaming media management system is a software system used to manage and distribute streaming media content. With the rapid development of Internet information technology, streaming media based on the Internet environment has gradually shown unprecedented advantages in communication. Compared with traditional graphic communication methods, people's experience of video and audio content is more intuitive and the demand is more urgent. Streaming media management system came into being to meet users' demand for high-quality and efficient streaming media services.
目前,采用传统网站内容管理系统对视频数据的支持能力非常有限,为用户的使用带来不便,同时,许多科研单位通过第三方平台发布视频时有数据泄露或丢失导致数据安全受威胁的风险,并且传统网站内容管理系统无法实现流媒体内容从生成、管理到发布的全链路特点。At present, the support capabilities of traditional website content management systems for video data are very limited, which brings inconvenience to users. At the same time, many scientific research institutions are at risk of data leakage or loss when publishing videos through third-party platforms, which threatens data security. In addition, traditional website content management systems cannot realize the full-link characteristics of streaming media content from generation, management to release.
发明内容Summary of the invention
为克服相关技术中存在的问题,本发明提供了一种基于跨云集成环境的流媒体管理系统,进而至少在一定程度上解决相关技术中无法在保证数据传输安全性的前提下便捷用户操作的问题,解决了内、外部网络资源访问无法可控化隔离的问题,实现外部网站对内部网络资源的远程访问,实现从流媒体生成端到访问端的全流程链式管理,实现流媒体内容从生成、管理到发布的全链路特点。In order to overcome the problems existing in the related art, the present invention provides a streaming media management system based on a cross-cloud integrated environment, thereby at least to a certain extent solving the problem in the related art that it is impossible to facilitate user operations while ensuring the security of data transmission, and solving the problem that internal and external network resource access cannot be controlled and isolated, thereby realizing remote access of external websites to internal network resources, realizing full-process chain management from the streaming media generation end to the access end, and realizing the full-link characteristics of streaming media content from generation, management to release.
本发明实施例提供了一种基于跨云集成环境的流媒体管理系统,该系统包括:An embodiment of the present invention provides a streaming media management system based on a cross-cloud integrated environment, the system comprising:
系统部署模块、流媒体管理模块及资源控制模块;System deployment module, streaming media management module and resource control module;
系统部署模块用于将应用程序或服务部署到跨云集成环境中,并通过对内、外部网络资源访问进行可控化隔离来实现外部网站对内部网络资源的远程访问;The system deployment module is used to deploy applications or services into a cross-cloud integrated environment and to achieve remote access to internal network resources from external websites by controlling the isolation of internal and external network resource access.
流媒体管理模块用于通过调用部署在跨云集成环境中的应用程序或服务对用户上传的初始流媒体进行自动转码、标签标注及编辑,得到目标流媒体,并根据用户的检索结果将对应的目标流媒体展示到各视频门户;The streaming media management module is used to automatically transcode, label and edit the initial streaming media uploaded by the user by calling the application or service deployed in the cross-cloud integration environment to obtain the target streaming media, and display the corresponding target streaming media to each video portal according to the user's search results;
资源控制模块用于根据流媒体管理模块所调用应用程序或服务的类别进行相应网络资源的分配,并对用户对目标流媒体的访问进行安全防护。The resource control module is used to allocate corresponding network resources according to the category of the application program or service called by the streaming media management module, and to provide security protection for the user's access to the target streaming media.
本发明的实施例提供的技术方案可以包括以下有益效果:The technical solution provided by the embodiments of the present invention may have the following beneficial effects:
本发明示例实施例中的基于跨云集成环境的流媒体管理系统,系统部署模块用于将应用程序或服务部署到跨云集成环境中,并通过对内、外部网络资源访问进行可控化隔离来实现外部网站对内部网络资源的远程访问,流媒体管理模块用于通过调用部署在跨云集成环境中的应用程序或服务对用户上传的初始流媒体进行自动转码、标签标注及编辑,得到目标流媒体,并根据用户的检索结果将对应的目标流媒体展示到各视频门户,资源控制模块用于根据流媒体管理模块所调用应用程序或服务的类别进行相应网络资源的分配,并对用户对目标流媒体的访问进行安全防护。一方面,系统部署模块能够对内、外部网络资源访问进行可控化隔离,使得用户可以跨地区、跨国家地通过外部网站远程访问内部网络资源,但同时其访问权限受到严格的控制,使得在为用户提供访问便捷性的同时,提高内部网络资源的保密性与安全性;另一方面,资源管理模块通过调用部署在集成环境中的应用程序或服务,能够对用户上传的初始流媒体进行自动转码、标签标注及编辑,使得用户无需在上传前检查流媒体格式与系统格式是否一致,且无需用户自行总结初始流媒体的内容并选择相应的标签,简化了用户上传初始流媒体的流程,为用户的使用提供便捷性,实现了流媒体内容从生成、管理到发布的全链路特点;再一方面,资源控制模块可以根据流媒体管理模块所调用应用程序或服务的类别进行相应网络资源的分配。使得各服务可以合理利用系统资源,提高系统的性能和稳定性。同时,资源控制模块还能对用户对目标流媒体的访问进行安全防护,避免个别用户对系统数据进行恶意攻击和非法访问而影响系统数据安全性的问题,提高了系统的数据保密性与安全性。In the example embodiment of the present invention, a streaming media management system based on a cross-cloud integrated environment, a system deployment module is used to deploy applications or services into the cross-cloud integrated environment, and to achieve remote access of external websites to internal network resources by controllable isolation of internal and external network resource access; a streaming media management module is used to automatically transcode, label and edit the initial streaming media uploaded by the user by calling the application or service deployed in the cross-cloud integrated environment to obtain the target streaming media, and to display the corresponding target streaming media to each video portal according to the user's search results; a resource control module is used to allocate corresponding network resources according to the category of the application or service called by the streaming media management module, and to provide security protection for the user's access to the target streaming media. On the one hand, the system deployment module can controllably isolate the access to internal and external network resources, so that users can remotely access internal network resources through external websites across regions and countries, but at the same time, their access rights are strictly controlled, so that while providing users with convenient access, the confidentiality and security of internal network resources are improved; on the other hand, the resource management module can automatically transcode, label and edit the initial streaming media uploaded by the user by calling the application or service deployed in the integrated environment, so that the user does not need to check whether the streaming media format is consistent with the system format before uploading, and the user does not need to summarize the content of the initial streaming media and select the corresponding label, which simplifies the process of users uploading the initial streaming media, provides convenience for users, and realizes the full-link characteristics of streaming media content from generation, management to release; on the other hand, the resource control module can allocate corresponding network resources according to the category of the application or service called by the streaming media management module. This allows each service to reasonably use system resources and improve the performance and stability of the system. At the same time, the resource control module can also provide security protection for users' access to the target streaming media, avoiding the problem of individual users' malicious attacks and illegal access to system data that affects the security of system data, and improving the data confidentiality and security of the system.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本发明的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
图1是本发明根据一示例性实施例示出的一种基于跨云集成环境的流媒体管理系统的场景示例图。Fig. 1 is a scene example diagram of a streaming media management system based on a cross-cloud integrated environment according to an exemplary embodiment of the present invention.
图2是本发明根据一示例性实施例示出的一种基于跨云集成环境的流媒体管理系统的总体架构图。FIG2 is an overall architecture diagram of a streaming media management system based on a cross-cloud integrated environment according to an exemplary embodiment of the present invention.
图3是本发明根据一示例性实施例示出的一种基于跨云集成环境的流媒体管理系统的功能架构图。FIG3 is a functional architecture diagram of a streaming media management system based on a cross-cloud integrated environment according to an exemplary embodiment of the present invention.
图4是本发明根据一示例性实施例示出的一种基于跨云集成环境的流媒体管理系统的模块示例图。FIG4 is a module example diagram of a streaming media management system based on a cross-cloud integrated environment according to an exemplary embodiment of the present invention.
图5是本发明根据一示例性实施例示出的身份认证单元的框图。Fig. 5 is a block diagram of an identity authentication unit according to an exemplary embodiment of the present invention.
图6是本发明根据一示例性实施例示出的自动转码单元的框图。Fig. 6 is a block diagram of an automatic transcoding unit according to an exemplary embodiment of the present invention.
图7是本发明根据一示例性实施例示出的标签标注单元的框图。Fig. 7 is a block diagram of a label marking unit according to an exemplary embodiment of the present invention.
图8是本发明根据一示例性实施例示出的流媒体编辑单元的框图。Fig. 8 is a block diagram of a streaming media editing unit according to an exemplary embodiment of the present invention.
图9是本发明根据一示例性实施例示出的流媒体检索单元的框图。Fig. 9 is a block diagram of a streaming media retrieval unit according to an exemplary embodiment of the present invention.
图10是本发明根据一示例性实施例示出的流媒体展示单元的框图。Fig. 10 is a block diagram of a streaming media presentation unit according to an exemplary embodiment of the present invention.
图11是本发明根据另一示例性实施例示出的一种基于跨云集成环境的流媒体管理系统的流程图。FIG. 11 is a flow chart of a streaming media management system based on a cross-cloud integrated environment according to another exemplary embodiment of the present invention.
图12是本发明根据一示例性实施例示出的一种基于跨云集成环境的流媒体管理系统的序列图。FIG. 12 is a sequence diagram of a streaming media management system based on a cross-cloud integrated environment according to an exemplary embodiment of the present invention.
图13是本发明根据一示例性实施例示出的用来实现本发明实施例的电子设备的结构示意图。FIG. 13 is a schematic diagram of the structure of an electronic device for implementing an embodiment of the present invention according to an exemplary embodiment of the present invention.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本发明将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本发明的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本发明的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本发明的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present invention will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present invention. However, those skilled in the art will appreciate that the technical solutions of the present invention may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present invention.
此外,附图仅为本发明的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
图1示出了可以应用本发明实施例的一种基于跨云集成环境的流媒体管理系统的场景示例图。FIG. 1 shows an example scenario diagram of a streaming media management system based on a cross-cloud integrated environment to which an embodiment of the present invention can be applied.
如图1所示,该场景可以包括服务器100、流媒体生成端200及流媒体访问端300。流媒体生成端200及流媒体访问端300可以是各种具有交互功能的电子设备,该电子设备上可以具有显示屏,该显示屏可以用于向用户展示检索到的流媒体,也可以向用户展示各种用于交互的UI界面。本发明实际实施方式中,流媒体生成端200及流媒体访问端300可以是移动终端、桌面电脑、手持设备、虚拟现实设备等,本示例实施例对此不做特别限定。As shown in FIG1 , the scenario may include a server 100, a streaming media generating terminal 200, and a streaming media access terminal 300. The streaming media generating terminal 200 and the streaming media access terminal 300 may be various electronic devices with interactive functions, and the electronic device may have a display screen, which may be used to display the retrieved streaming media to the user, and may also display various UI interfaces for interaction to the user. In the actual implementation of the present invention, the streaming media generating terminal 200 and the streaming media access terminal 300 may be a mobile terminal, a desktop computer, a handheld device, a virtual reality device, etc., and this exemplary embodiment does not specifically limit this.
应该理解,图1中的服务器100和流媒体生成端200及流媒体访问端300的数目仅仅是示意性的。根据实现需要,可以具有任意数目的服务器100和流媒体生成端200及流媒体访问端300,比如服务器100可以是多个服务器组成的服务器集群等。It should be understood that the number of servers 100, streaming media generating terminals 200, and streaming media access terminals 300 in FIG1 is merely illustrative. According to implementation requirements, there may be any number of servers 100, streaming media generating terminals 200, and streaming media access terminals 300, for example, the server 100 may be a server cluster composed of multiple servers.
在相关技术中,存在以下问题:In the related art, there are the following problems:
目前,采用传统网站内容管理系统对视频数据的支持能力非常有限,第一,既不能支持大文件上传,也不能满足适配各种视频格式转码需求,为用户的使用带来不便;第二,传统信息传播方式需要单独的视频处理编解码器,造成二者在在不同硬件、操作系统中的安装部署及编译环境差异,从而增加了安装部署和扩展的复杂度;第三,非跨云集成环境下的传统内容管理系统存在本地硬件环境下存储成本增加,跨系统和服务协同存在技术瓶颈,存在文稿发布与视频转码的资源消耗和处理时长的不均衡,无法保持协同状态一致,操作不连贯,管理人员除执行常规管理操作外还需要处理业务调用等,在版本升级和功能业务扩充时,增加了复杂性;第四,传统内容管理系统中的视频资源无法智能管理,无法形成自动标签体系。同时,许多科研单位通过第三方平台发布视频时有数据泄露或丢失导致数据安全受威胁的风险。At present, the support capacity of traditional website content management systems for video data is very limited. First, it can neither support large file uploads nor meet the requirements of adapting to various video format transcoding, which brings inconvenience to users. Second, traditional information dissemination methods require separate video processing codecs, resulting in differences in the installation and deployment and compilation environment of the two in different hardware and operating systems, thereby increasing the complexity of installation, deployment and expansion. Third, traditional content management systems in non-cross-cloud integrated environments have increased storage costs in local hardware environments, technical bottlenecks in cross-system and service collaboration, imbalance in resource consumption and processing time between document publishing and video transcoding, inability to maintain consistent collaborative status, incoherent operations, and managers need to handle business calls in addition to performing routine management operations, which increases complexity during version upgrades and functional business expansion. Fourth, video resources in traditional content management systems cannot be managed intelligently, and an automatic tagging system cannot be formed. At the same time, many scientific research units have the risk of data leakage or loss when publishing videos through third-party platforms, resulting in data security threats.
基于上述一个或者多个问题,本发明实施例首先提出了一种基于跨云集成环境的流媒体管理系统,以在保证安全性的前提下为用户的使用提供便捷。该基于跨云集成环境的流媒体管理系统可以用于跨云集成环境中视频、音频等多媒体资源的统一管理及发布。其中,各类视频资源可以包括主要来自媒体新闻、视频会议、重要活动、专家讲座、原创科普和优质课件等视频,基于跨云集成环境的流媒体管理系统可以提供这些视频资源的高效上传、系统自动归集和分类编辑等视频管理,实现对视频的多视频格式上传、分类存储、编辑加工、视频转码、视频切片、智能标签、审核管理、智能检索、统计分析和在线播放与发布。本发明实施例中的基于跨云集成环境的流媒体管理系统可以支持多种媒体格式,面向跨云集成环境网站和各类应用的统一流媒体管理平台,形成流媒体从生产、加工到发布、共享的良好生态圈。Based on one or more of the above problems, the embodiment of the present invention first proposes a streaming media management system based on a cross-cloud integrated environment to provide convenience for users under the premise of ensuring security. The streaming media management system based on a cross-cloud integrated environment can be used for the unified management and release of multimedia resources such as video and audio in a cross-cloud integrated environment. Among them, various types of video resources can include videos mainly from media news, video conferences, important activities, expert lectures, original popular science and high-quality courseware. The streaming media management system based on a cross-cloud integrated environment can provide video management such as efficient uploading, automatic system collection and classification editing of these video resources, and realize multi-video format uploading, classification storage, editing and processing, video transcoding, video slicing, intelligent labeling, audit management, intelligent retrieval, statistical analysis and online playback and release of videos. The streaming media management system based on a cross-cloud integrated environment in the embodiment of the present invention can support multiple media formats, a unified streaming media management platform for cross-cloud integrated environment websites and various applications, and form a good ecosystem for streaming media from production, processing to release and sharing.
实施例1一种基于跨云集成环境的流媒体管理系统Example 1 A streaming media management system based on a cross-cloud integrated environment
参考图2所示,示出了一种基于跨云集成环境的流媒体管理系统201,包括以下模块:Referring to FIG. 2 , a streaming media management system 201 based on a cross-cloud integrated environment is shown, including the following modules:
系统部署模块202用于将应用程序或服务部署到跨云集成环境中,并通过对内、外部网络资源访问进行可控化隔离来实现外部网站对内部网络资源的远程访问;The system deployment module 202 is used to deploy applications or services into a cross-cloud integrated environment, and to achieve remote access of external websites to internal network resources by controlling the isolation of internal and external network resource access;
流媒体管理模块203用于通过调用部署在跨云集成环境中的应用程序或服务对用户上传的初始流媒体进行自动转码、标签标注及编辑,得到目标流媒体,并根据用户的检索结果将对应的目标流媒体展示到各视频门户;The streaming media management module 203 is used to automatically transcode, label and edit the initial streaming media uploaded by the user by calling the application or service deployed in the cross-cloud integration environment to obtain the target streaming media, and display the corresponding target streaming media to each video portal according to the user's search results;
资源控制模块204用于根据流媒体管理模块203所调用应用程序或服务的类别进行相应网络资源的分配,并对用户对目标流媒体的访问进行安全防护。The resource control module 204 is used to allocate corresponding network resources according to the category of the application program or service called by the streaming media management module 203, and to provide security protection for the user's access to the target streaming media.
根据本发明示例实施例中的基于跨云集成环境的流媒体管理系统,一方面,系统部署模块能够对内、外部网络资源访问进行可控化隔离,使得用户可以跨地区、跨国家地通过外部网站远程访问内部网络资源,但同时其访问权限受到严格的控制,使得在为用户提供访问便捷性的同时,提高内部网络资源的保密性与安全性;另一方面,资源管理模块通过调用部署在集成环境中的应用程序或服务,能够对用户上传的初始流媒体进行自动转码、标签标注及编辑,使得用户无需在上传前检查流媒体格式与系统格式是否一致,且无需用户自行总结初始流媒体的内容并选择相应的标签,简化了用户上传初始流媒体的流程,为用户的使用提供便捷性,实现了流媒体内容从生成、管理到发布的全链路特点;再一方面,资源控制模块可以根据流媒体管理模块所调用应用程序或服务的类别进行相应网络资源的分配。使得各服务可以合理利用系统资源,提高系统的性能和稳定性。同时,资源控制模块还能对用户对目标流媒体的访问进行安全防护,避免个别用户对系统数据进行恶意攻击和非法访问而影响系统数据安全性的问题,提高了系统的数据保密性与安全性。According to the streaming media management system based on the cross-cloud integrated environment in the exemplary embodiment of the present invention, on the one hand, the system deployment module can controllably isolate the access to internal and external network resources, so that users can remotely access internal network resources through external websites across regions and countries, but at the same time, their access rights are strictly controlled, so that while providing users with access convenience, the confidentiality and security of internal network resources are improved; on the other hand, the resource management module can automatically transcode, label and edit the initial streaming media uploaded by the user by calling the application or service deployed in the integrated environment, so that the user does not need to check whether the streaming media format is consistent with the system format before uploading, and the user does not need to summarize the content of the initial streaming media and select the corresponding label, which simplifies the process of users uploading the initial streaming media, provides convenience for users, and realizes the full-link characteristics of streaming media content from generation, management to release; on the other hand, the resource control module can allocate corresponding network resources according to the category of the application or service called by the streaming media management module. So that each service can reasonably use system resources and improve the performance and stability of the system. At the same time, the resource control module can also provide security protection for users' access to target streaming media, avoiding the problem of individual users' malicious attacks and illegal access to system data that affects the security of system data, thereby improving the data confidentiality and security of the system.
本发明实施例中提供的基于跨云集成环境的流媒体管理系统,可以在跨云集成环境中实现对视频、音频等多媒体资源的统一管理、发布,可以用于解决在跨云集成环境下的视频编解码、转码及跨云业务联动、跨系统、跨服务的协同技术难题。该系统可以在自主可控操作系统环境下以流媒体自动转码为核心,采用更可靠的欧拉操作系统(openEuler,是一款开源、免费的企业级操作系统),利用分布式协同管理实现消息传输与数据交互,跨系统间使用消息队列(MessageQueue,MQ)解构服务请求依赖,实现服务事务编制间解耦的同时,保持状态一致性。协同多系统模块可以采用内部微服务和消息队列机制实现,跨系统模块之间的任务协同,结合业务模式,有效处理图文发布与视频转码的资源消耗和处理时常的不均衡,避免操作中断,使系统间的服务调用与状态同步通过消息队列协同统一,并形成链式事务调用,在管理端只需要执行常规管理操作即可完成跨系统和服务的复杂业务实现;封装视频处理编解码器,与网站内容系统及用户管理系统进行业务交互,针对传统内容管理系统流媒体资源管理技术瓶颈、跨系统和跨服务协同技术瓶颈,对FFmpeg(用于视频的编解码和格式转换的开源软件)进行可控升级适配,并形成视频资源的自动标签体系,实现视频内容的文本知识图谱标注。The streaming media management system based on the cross-cloud integrated environment provided in the embodiment of the present invention can realize the unified management and release of multimedia resources such as video and audio in the cross-cloud integrated environment, and can be used to solve the technical problems of video encoding and decoding, transcoding, cross-cloud business linkage, cross-system, and cross-service collaboration in the cross-cloud integrated environment. The system can take streaming media automatic transcoding as the core in an autonomous and controllable operating system environment, adopt a more reliable Euler operating system (openEuler, an open source, free enterprise-level operating system), use distributed collaborative management to realize message transmission and data interaction, use message queues (MessageQueue, MQ) across systems to deconstruct service request dependencies, and realize decoupling between service transaction compilations while maintaining state consistency. Collaborative multi-system modules can be implemented using internal microservices and message queue mechanisms. Task collaboration between cross-system modules, combined with business models, can effectively handle resource consumption and uneven processing time for graphic and text publishing and video transcoding, avoid operation interruptions, and synchronize service calls and status between systems through message queues. Chained transaction calls are formed, and only routine management operations need to be performed on the management side to complete complex business implementation across systems and services. Encapsulate video processing codecs, interact with website content systems and user management systems, and target the technical bottlenecks of streaming media resource management in traditional content management systems and cross-system and cross-service collaboration. FFmpeg (open source software for video encoding and decoding and format conversion) can be upgraded and adapted in a controllable manner, and an automatic labeling system for video resources can be formed to achieve text knowledge graph annotation of video content.
下面,对模块202、203及204进行详细说明。Next, modules 202, 203 and 204 are described in detail.
系统部署模块202,用于将应用程序或服务部署到跨云集成环境中,并通过对内、外部网络资源访问进行可控化隔离来实现外部网站对内部网络资源的远程访问。The system deployment module 202 is used to deploy applications or services into a cross-cloud integrated environment, and to achieve remote access of external websites to internal network resources by controlling the isolation of internal and external network resource access.
其中,系统部署模块202包括服务器部署单元401,用于在内部网络部署流媒体管理服务所属的服务器,并在外部网络部署流媒体共享服务所属的服务器;防火墙部署单元402,用于根据访问规则对内部网络及外部网络间的资源访问进行限制。其中,访问规则包括:流媒体管理服务仅在内部网络进行资源访问,流媒体共享服务可对内部网络直播录制数据进行访问。The system deployment module 202 includes a server deployment unit 401, which is used to deploy a server belonging to the streaming media management service in the internal network and a server belonging to the streaming media sharing service in the external network; a firewall deployment unit 402, which is used to restrict resource access between the internal network and the external network according to access rules. The access rules include: the streaming media management service can only access resources in the internal network, and the streaming media sharing service can access the live broadcast and recording data of the internal network.
示例性地,部署在内部网络上的服务器可以执行科研单位、高校等机构管理员对流媒体进行统一的管理操作,如对流媒体进行上传、转码、质量监控等;部署在外部网络上的服务器可以允许用户从任何地方访问流媒体内容,并实现流媒体的分发共享、用户的统一认证及流量控制等。For example, the server deployed on the internal network can execute unified management operations on streaming media by administrators of scientific research institutions, universities and other institutions, such as uploading, transcoding, and quality monitoring of streaming media; the server deployed on the external network can allow users to access streaming media content from anywhere, and realize the distribution and sharing of streaming media, unified authentication of users, and traffic control.
例如,可以使用开源的流媒体服务器软件,如Red5(一种采用Java编程语言开发开源的流媒体服务器)或Wowza(一种专业且高度可定制化的流媒体服务器)流媒体服务器安装在内部网络服务器上,也可以使用网络(Web)应用服务器,如Tomcat(一种免费的开放源代码的Web应用服务器,属于轻量级应用服务器)等安装在内部网络服务器上,通过这些软件或应用提供的管理界面或应用程序编程接口(Application Programming Interface,API),实现对流媒体的各种管理操作。For example, you can use open source streaming media server software, such as Red5 (an open source streaming media server developed using the Java programming language) or Wowza (a professional and highly customizable streaming media server). The streaming media server can be installed on an internal network server. You can also use a network (Web) application server, such as Tomcat (a free, open source Web application server that is a lightweight application server), to install it on an internal network server. Through the management interface or application programming interface (API) provided by these software or applications, you can implement various management operations on streaming media.
示例性地,可以根据用户的IP(Internet Protocol,网际互连协议)地址对用户的访问进行限制,例如,当识别出一个特定的IP地址有恶意攻击的行为,防火墙就会封锁此IP地址的所有访问请求,可以对外部网络访问指定端口的请求进行限制,进而防止非授权访问特定服务,例如,当防火墙设置只允许80端口和443端口的访问请求,那么外部网络对其他端口的访问请求都会被拒绝,也可以对访问的内容进行检查,过滤访问请求中的恶意代码或者敏感信息,如发现访问请求中有违反访问规则的内容,就会拒绝该请求,当然还可以设置在特定的时间段内,允许或拒绝外部网络的访问请求,避免了系统维护或备份时由于外部网络的访问干扰内部网络正常运行而导致维护结束时间推迟的情况,减少了用户等待系统维护的时间。Exemplarily, user access can be restricted based on the user's IP (Internet Protocol) address. For example, when a specific IP address is identified as having malicious attack behavior, the firewall will block all access requests from this IP address. Requests for external network access to specified ports can be restricted to prevent unauthorized access to specific services. For example, when the firewall is set to only allow access requests to ports 80 and 443, access requests from external networks to other ports will be rejected. The content of the access can also be checked to filter malicious code or sensitive information in the access request. If the access request is found to contain content that violates the access rules, the request will be rejected. Of course, it can also be set to allow or reject access requests from the external network within a specific time period, thereby avoiding the situation where the end of system maintenance or backup is delayed due to external network access interfering with the normal operation of the internal network, thereby reducing the time users spend waiting for system maintenance.
在本公开一示例实施例中,基于跨云集成环境的流媒体管理系统基本部署为内外网两个部分,采用逻辑隔离方式在保证文件交换和权限识别功能的同时保证数据存储及传输的安全。In an example embodiment of the present disclosure, a streaming media management system based on a cross-cloud integrated environment is basically deployed as two parts, an internal and external network, and a logical isolation method is used to ensure the security of data storage and transmission while ensuring file exchange and permission identification functions.
具体地,内部网络可以部署视频管理端所属服务器及关联数据,其中,文件存储可以采用本地存储或者映射NAS(Network Attached Storage,网络附属存储)等,本示例实施例对此不做特别限定。Specifically, the internal network may deploy a server and associated data of the video management terminal, wherein the file storage may adopt local storage or mapping NAS (Network Attached Storage), etc., which is not particularly limited in this example embodiment.
外部网络可以部署点播应用服务所属服务器,用于将点播视频文件以流的形式推送给客户端播放,同时兼顾权限识别访问限制。The external network can deploy the server of the on-demand application service to push the on-demand video files to the client for playback in the form of streams, while taking into account the permission identification and access restrictions.
前端路由层可以部署Nginx(又称为engine x,是一种高性能的HTTP(HypertextTransfer Protocol,超文本传输协议)和反向代理Web服务器)或者F5(一种负载均衡方案)或其他等效负载均衡节点,用于请求负载分发。The front-end routing layer can deploy Nginx (also known as engine x, a high-performance HTTP (Hypertext Transfer Protocol) and reverse proxy web server) or F5 (a load balancing solution) or other equivalent load balancing nodes for request load distribution.
防火墙可以部署设置用于内部网络和外部网络的隔离策略:限制视频管理端仅在内网访问,视频点播和权限鉴定服务可以对外开放,直播录制视频文件可以从外部网络存储中单向同步到内部网络中的存储中;同时防火墙也可以设置规则来允许或禁止特定的IP地址、端口或协议进行通信,可以确保只有经过授权的用户可以访问对应的流媒体服务。Firewalls can be deployed to set up isolation policies for internal and external networks: restricting video management access to the intranet only, allowing video on demand and permission authentication services to be open to the outside world, and allowing live recorded video files to be synchronized from external network storage to storage in the internal network in one direction; firewalls can also set rules to allow or prohibit specific IP addresses, ports or protocols from communicating, ensuring that only authorized users can access the corresponding streaming media services.
可选地,流媒体管理系统可以设置有用户登录及管理员登录,对用户分配浏览、上传、查询、编辑流媒体的权限,对管理员分配审核用户共享视频的权限,并可以对用户进行分权限管理,在有效减少管理员工作量的同时使系统用户的管理更加透明精细。Optionally, the streaming media management system can be provided with user login and administrator login, and users can be assigned permissions to browse, upload, query, and edit streaming media, and administrators can be assigned permissions to review users' shared videos. Users can also be managed by authority, which effectively reduces the workload of administrators while making the management of system users more transparent and detailed.
例如,可以使用RBAC(Role-Based Access Control,基于角色的访问控制)模型对用户及管理员设置各自的访问权限,如用户只能浏览个人信息页面及系统主页内容,管理员可以访问并管理所有的用户数据并可以查看及审核用户提交的审核资料。For example, the RBAC (Role-Based Access Control) model can be used to set respective access rights for users and administrators. For example, users can only browse personal information pages and system homepage content, while administrators can access and manage all user data and view and review audit materials submitted by users.
RBAC模型通过将权限分配给一角色,再将角色分配给一用户,来实现对流媒体管理系统资源的访问控制。一般单个用户可以拥有若干角色,每一个角色拥有若干权限。这样,就构造成“用户-角色-权限”的授权模型,在这种模型中,用户与角色之间,角色与权限之间,一般者是多对多的关系。其中,角色是指在流媒体管理系统中具有一组相关权限的抽象概念,代表了用户在特定上下文中的身份或职能,例如管理员、普通用户等;权限是指对流媒体管理系统的资源进行操作的许可,如读取、写入、修改等,权限可以被分配给角色;用户是指流媒体管理系统的实际使用者,每个用户可以被分配一个或多个角色;分配是指将角色与用户关联起来,以赋予用户相应的权限。The RBAC model implements access control to the resources of the streaming media management system by assigning permissions to a role and then assigning the role to a user. Generally, a single user can have several roles, and each role has several permissions. In this way, a "user-role-permission" authorization model is constructed. In this model, there is generally a many-to-many relationship between users and roles, and between roles and permissions. Among them, a role refers to an abstract concept with a set of related permissions in the streaming media management system, representing the identity or function of a user in a specific context, such as an administrator, ordinary user, etc.; permissions refer to the permission to operate the resources of the streaming media management system, such as reading, writing, modifying, etc., and permissions can be assigned to roles; users refer to the actual users of the streaming media management system, and each user can be assigned one or more roles; allocation refers to associating roles with users to grant users corresponding permissions.
一方面,通过对内、外部网络资源访问进行可控化隔离,可以有效防止外部网站对内部网络资源的未经授权的远程访问,并在部署应用程序或服务时,设置访问规则,明确指定哪些资源可以被外部网络访问,这些限制性的访问规则可以有效防止非法访问和未授权的数据泄露,提升系统的安全性;另一方面,将应用程序或服务部署到跨云集成环境中,使得用户可以方便地在不同的云平台上部署和管理应用程序或服务,提供了更大的灵活性和选择性。On the one hand, by controlling and isolating access to internal and external network resources, unauthorized remote access to internal network resources by external websites can be effectively prevented. When deploying applications or services, access rules can be set to clearly specify which resources can be accessed by external networks. These restrictive access rules can effectively prevent illegal access and unauthorized data leakage, thereby improving system security. On the other hand, deploying applications or services into a cross-cloud integrated environment allows users to easily deploy and manage applications or services on different cloud platforms, providing greater flexibility and selectivity.
流媒体管理模块203用于通过调用部署在跨云集成环境中的应用程序或服务对用户上传的初始流媒体进行自动转码、标签标注及编辑,得到目标流媒体,并根据用户的检索结果将对应的目标流媒体展示到各视频门户。The streaming media management module 203 is used to automatically transcode, label and edit the initial streaming media uploaded by the user by calling the application or service deployed in the cross-cloud integration environment to obtain the target streaming media, and display the corresponding target streaming media to each video portal according to the user's search results.
参考图3所示,图3示出了本公开中基于跨云集成环境的流媒体管理系统201的功能示例图,流媒体生成端200可以实现流媒体上传301、流媒体管理302、自动转码303、流媒体审核304、标签标注305、在线编辑306及实时监控307功能,流媒体访问端300可以实现流媒体浏览308、流媒体检索309、流媒体点播310、流媒体直播311及流媒体引用312功能。Referring to Figure 3, Figure 3 shows a functional example diagram of a streaming media management system 201 based on a cross-cloud integrated environment in the present disclosure. The streaming media generation terminal 200 can realize streaming media upload 301, streaming media management 302, automatic transcoding 303, streaming media review 304, labeling 305, online editing 306 and real-time monitoring 307 functions, and the streaming media access terminal 300 can realize streaming media browsing 308, streaming media retrieval 309, streaming media on demand 310, streaming media live broadcast 311 and streaming media reference 312 functions.
其中,流媒体上传301功能可以支持大文件的高效上传,可以实现分片上传或者断点续传,例如,系统支持10G以上大文件上传,视频文件在传输过程中,如遇信号中断、掉线、异常关机等情况,再次上传时无需重新开始,经系统识别后可从中断位置继续上传。同时,在流媒体上传过程中,系统同时会进行流媒体封面的检测,若没有检测到已上传和/或待上传的封面,将自动截取流媒体中的图片生成流媒体封面,若检测到已上传封面,将其作为对应流媒体封面,若同时检测到已上传封面及待上传封面,则使用待上传封面作为流媒体封面并在待上传封面上传后将已上传封面覆盖。Among them, the streaming media upload 301 function can support the efficient upload of large files, and can realize segmented upload or breakpoint resume. For example, the system supports the upload of large files larger than 10G. During the transmission of video files, if the signal is interrupted, disconnected, or the computer is shut down abnormally, there is no need to restart when uploading again. After the system recognizes it, it can continue uploading from the interrupted position. At the same time, during the streaming media upload process, the system will also detect the streaming media cover. If no uploaded and/or to-be-uploaded cover is detected, the image in the streaming media will be automatically captured to generate the streaming media cover. If an uploaded cover is detected, it will be used as the corresponding streaming media cover. If both an uploaded cover and a to-be-uploaded cover are detected at the same time, the to-be-uploaded cover will be used as the streaming media cover and the uploaded cover will be overwritten after the to-be-uploaded cover is uploaded.
流媒体管理302功能可以新增后台用户、修改用户信息、删除用户账号、分配用户权限和查询用户信息等操作。The streaming media management 302 function can add backend users, modify user information, delete user accounts, assign user permissions, and query user information.
流媒体审核304功能可以对上传的流媒体文件进行全面审查,包括但不限于视频和音频质量、格式、时长、尺寸和编码等基本属性。同时,流媒体审核304功能也可以实现对上传的流媒体文件的内容进行审核。具体地,对流媒体文件内容的审核可以包括自动审核和人工审核两部分,自动审核主要通过机器学习算法对上传的流媒体内容进行内容识别,例如检测是否存在敏感词汇、淫秽或暴力内容等,人工审核则是将需要人工介入做进一步判断的内容是否展示并做确认。流媒体审核304功能还可以允许管理员根据需要设置或调整审核规则,例如定义敏感词汇列表、设定不同类别流媒体的审核标准等。The streaming media review 304 function can conduct a comprehensive review of the uploaded streaming media files, including but not limited to basic attributes such as video and audio quality, format, duration, size and encoding. At the same time, the streaming media review 304 function can also realize the review of the content of the uploaded streaming media files. Specifically, the review of the content of streaming media files can include automatic review and manual review. The automatic review mainly uses machine learning algorithms to identify the content of the uploaded streaming media content, such as detecting whether there are sensitive words, obscene or violent content, etc. The manual review is to display and confirm whether the content that requires manual intervention for further judgment is displayed. The streaming media review 304 function can also allow administrators to set or adjust review rules as needed, such as defining a list of sensitive words, setting review standards for different categories of streaming media, etc.
实时监控307功能可以从用户和流媒体两个维度进行统计分析,按用户的维度可以统计某用户的观看数量、对某个视频的观看进度,按流媒体维度可查询观看用户及观看时间。例如可以使用数据表格将所有统计数据整理成易读的数据表格,以展示各用户或各流媒体的各项指标,也可以使用展示比例关系的饼图、展示多个类别之间大小关系的柱状图、展示变量随时间变化趋势的线图等图形化展示方式进行统计分析,也可以将所有的表格、图形进行排版、整合到一个仪表板上进行展示,还可以采用热力图的方式来展示在特定时间段内,不同流媒体的观看热度或不同用户的活跃度。一方面,用户可以随时查询自己的观看记录,无需对过往浏览记录进行回忆并进行二次查询,提高了用户的使用体验。同时帮助管理员实时监控用户的访问情况、统计热度话题并分析趋势走向,根据用户的访问次数等情况可对服务器性能进行调整等。The real-time monitoring 307 function can perform statistical analysis from two dimensions: users and streaming media. According to the user dimension, the number of views of a certain user and the viewing progress of a certain video can be counted. According to the streaming media dimension, the viewing users and viewing time can be queried. For example, data tables can be used to organize all statistical data into easy-to-read data tables to display various indicators of each user or each streaming media. Statistical analysis can also be performed using graphical display methods such as pie charts showing proportional relationships, bar charts showing the size relationship between multiple categories, and line graphs showing the trend of variables changing over time. All tables and graphics can also be typeset and integrated into a dashboard for display. Heat maps can also be used to display the viewing popularity of different streaming media or the activity of different users in a specific time period. On the one hand, users can query their viewing records at any time without having to recall and query past browsing records again, which improves the user experience. At the same time, it helps administrators monitor user access in real time, count hot topics and analyze trends, and adjust server performance according to user access times and other conditions.
同时,实时监控307功能可以对服务器的内存、硬盘、CPU(Central ProcessingUnit,中央处理器)的使用情况进行实时监控。例如,可以监控服务器的性能与流量,也可以判断用户连接数是否达到服务最大负荷及服务器是否已处于高负荷运行状态,以及可以监控网络流量。At the same time, the real-time monitoring 307 function can monitor the usage of the server's memory, hard disk, and CPU (Central Processing Unit) in real time. For example, it can monitor the performance and traffic of the server, determine whether the number of user connections has reached the maximum load of the service and whether the server is already in a high-load operation state, and monitor network traffic.
流媒体浏览308功能可以实现流媒体的播放、暂停、停止、快进、快退以及任意跳转等基本控制功能,也可以在前端播放器上实现流媒体的多码率切换,例如实现视频在标清、高清及超清等清晰度之间自由切换,并支持画中画播放与全屏播放,用户可根据网络情况选择适当的视频画质,以保证视频的播放流畅度,还可以在流媒体内含多路字幕或音轨时使用户进行灵活选择,以及为防止网络延迟影响到视频播放的连续性,可以设置对应的流媒体缓冲区,实现数据的预缓存及动态调整缓存大小等功能,保证了流媒体播放的稳定性,甚至还可以设置互动区域,为用户提供流媒体相关的评价留言、打赏、分享等互动功能,从而增强用户的体验感。The streaming media browsing 308 function can realize basic control functions such as streaming media playback, pause, stop, fast forward, fast rewind and arbitrary jump, and can also realize multi-bitrate switching of streaming media on the front-end player, for example, freely switch the video between standard definition, high definition and ultra-high definition, and support picture-in-picture playback and full-screen playback. Users can choose appropriate video quality according to network conditions to ensure smooth video playback. Users can also make flexible choices when the streaming media contains multiple subtitles or audio tracks. In order to prevent network delays from affecting the continuity of video playback, corresponding streaming media buffers can be set to realize data pre-caching and dynamic adjustment of cache size, etc., to ensure the stability of streaming media playback. Even an interactive area can be set to provide users with streaming media-related evaluation messages, rewards, sharing and other interactive functions, thereby enhancing the user experience.
流媒体点播310功能可以提供供用户选择流媒体的UI(User Interface,用户界面)界面,并对用户的选择处理以返回所选流媒体,也可以依据用户的选择请求生成对应的流媒体播放列表,并根据用户的选择顺序依次播放流媒体内容,同时还可以在用户观看当前选择内容时预先下载下一项流媒体内容,从而实现多个流媒体文件的无缝播放。The streaming media on demand 310 function can provide a UI (User Interface) interface for users to select streaming media, and process the user's selection to return the selected streaming media. It can also generate a corresponding streaming media playlist based on the user's selection request, and play the streaming media content in sequence according to the user's selection order. At the same time, it can also pre-download the next streaming media content when the user is watching the currently selected content, thereby realizing seamless playback of multiple streaming media files.
流媒体直播311功能可以通过接入直播平台或拉流等方式实现在视频门户在线直播,并提供弹幕及评价功能,同时可以实现跨网络、跨国界的直播,且可以将直播内容实时推送给所有订阅者,订阅者只要有网络即可获取直播内容。The streaming live broadcast 311 function can be used to achieve online live broadcast on video portals by connecting to live broadcast platforms or pulling streams, and provides barrage and evaluation functions. It can also achieve cross-network and cross-border live broadcasts, and can push live broadcast content to all subscribers in real time. Subscribers can obtain live broadcast content as long as they have an Internet connection.
流媒体引用312功能可以实现通过文章编辑器调用系统中的共享视频,并作为播放资源插入到文章稿中。例如,可以在文章编辑器中设置一个“插入视频”或相关的选项,当用户点击该选项,系统可以提供一个视频库或者资源管理界面供用户选择需引用的共享视频,同时也可以设置搜索功能供用户快速定位引用视频,当用户选择完毕并点击确认后,视频的相关信息,如视频名称或ID(Identity Document,唯一标识编码)将会关联到该文章稿中,当用户阅读该文章并到达视频位置时,系统可以通过视频ID在共享视频库中查找对应的视频资源,从而在页面上生成一个视频播放器来播放该视频。The streaming media reference 312 function can be used to call the shared video in the system through the article editor and insert it into the article manuscript as a playback resource. For example, an "Insert Video" or related option can be set in the article editor. When the user clicks on this option, the system can provide a video library or resource management interface for the user to select the shared video to be referenced. At the same time, a search function can also be set for the user to quickly locate the referenced video. When the user has completed the selection and clicked to confirm, the relevant information of the video, such as the video name or ID (Identity Document, unique identification code) will be associated with the article manuscript. When the user reads the article and reaches the video location, the system can find the corresponding video resource in the shared video library through the video ID, thereby generating a video player on the page to play the video.
在本公开一示例性实施例中,参考图4所示,流媒体管理模块203包括自动转码单元403、标签标注单元404、流媒体编辑单元405、流媒体检索单元406和流媒体展示单元407。In an exemplary embodiment of the present disclosure, referring to FIG. 4 , the streaming media management module 203 includes an automatic transcoding unit 403 , a tagging unit 404 , a streaming media editing unit 405 , a streaming media retrieval unit 406 and a streaming media display unit 407 .
流媒体是一种通过互联网或局域网进行实时传输和播放的多媒体数据。本公开中的流媒体可以是视频、音频、图片等,本示例实施例对此不做限定。Streaming media is a type of multimedia data that is transmitted and played in real time through the Internet or a local area network. The streaming media in the present disclosure may be video, audio, pictures, etc., which is not limited in this exemplary embodiment.
其中,自动转码单元403用于将用户提交的初始流媒体上传到服务器中并对初始流媒体进行自动转码,得到目标流媒体;标签标注单元404用于对目标流媒体进行识别并采用对应标签进行标注;流媒体编辑单元405用于用户对已上传的目标流媒体进行在线编辑;流媒体检索单元406用于基于用户输入的检索信息进行目标流媒体的匹配,并按照匹配度对目标流媒体进行排序显示;流媒体展示单元407用于对目标流媒体在内部网络内进行展示及通过外部网络进行共享。Among them, the automatic transcoding unit 403 is used to upload the initial streaming media submitted by the user to the server and automatically transcode the initial streaming media to obtain the target streaming media; the label marking unit 404 is used to identify the target streaming media and mark it with corresponding labels; the streaming media editing unit 405 is used for the user to edit the uploaded target streaming media online; the streaming media retrieval unit 406 is used to match the target streaming media based on the retrieval information input by the user, and sort and display the target streaming media according to the matching degree; the streaming media display unit 407 is used to display the target streaming media in the internal network and share it through the external network.
在本公开一示例性实施例中,参考图6所示,自动转码单元403包括流媒体获取子单元601、流媒体识别子单元602、格式比较子单元603、参数获取子单元604及流媒体转码子单元605。In an exemplary embodiment of the present disclosure, referring to FIG. 6 , the automatic transcoding unit 403 includes a streaming media acquisition subunit 601 , a streaming media identification subunit 602 , a format comparison subunit 603 , a parameter acquisition subunit 604 and a streaming media transcoding subunit 605 .
其中,流媒体获取子单元用于获取用户提交的初始流媒体;流媒体识别子单元,用于识别初始流媒体的第一编码格式;格式比较子单元,用于将第一编码格式与预设的第二编码格式进行比较,并返回比较结果;参数获取子单元,用于第一编码格式与第二编码格式不相同时,获取第二编码格式对应的转码参数;流媒体转码子单元,用于根据转码参数将采用第一编码格式的初始流媒体转化为采用第二编码格式的目标流媒体。Among them, the streaming media acquisition subunit is used to obtain the initial streaming media submitted by the user; the streaming media identification subunit is used to identify the first encoding format of the initial streaming media; the format comparison subunit is used to compare the first encoding format with the preset second encoding format and return the comparison result; the parameter acquisition subunit is used to obtain the transcoding parameters corresponding to the second encoding format when the first encoding format is different from the second encoding format; the streaming media transcoding subunit is used to convert the initial streaming media using the first encoding format into the target streaming media using the second encoding format according to the transcoding parameters.
可选地,可以调用FFmpeg程序完成视频文件信息的获取、抽帧和转码任务。转码系统基于FFmpeg的封装JavaCV(多种开源计算机视觉库组成的包装库)工具组件,有效降低了FFmpeg编解码器对系统环境组件的依赖,充分利用JVM(Java Virtual Machine,Java虚拟机)的虚拟化服务一致性,满足了业务端对FFmpeg预期的各类视频编解码剪辑等工具组件需求的同时,也极大的方便了开发和部署效率。Optionally, you can call the FFmpeg program to complete the acquisition, frame extraction and transcoding of video file information. The transcoding system is based on the FFmpeg encapsulated JavaCV (a packaging library composed of multiple open source computer vision libraries) tool component, which effectively reduces the FFmpeg codec's dependence on system environment components, and fully utilizes the virtualization service consistency of the JVM (Java Virtual Machine). While meeting the business end's expected needs for FFmpeg's various video codec editing and other tool components, it also greatly facilitates development and deployment efficiency.
可以理解的,通过视频转码技术,可以使任意文件格式的视频按照不同设备、不同业务网络、不同视频格式的需求进行统一转换,达到视频资源编码质量提升、互联网带宽及存储容量高效利用的目的。并且可以依据应用范围及场景需求不同(例如,节省带宽、终端兼容及显示等场景需求),可以实现对多媒体数据编码方式进行不同参数的转换,如分辨率、码率等。开源程序FFmpeg所包含的多媒体编解码库libavcodec(开源程序Ffmpeg的核心组件之一)作为内核,应用在大多数的视频播放器中,实现视频信息的记录并将其格式转换为需求格式,最终编解码为可跨多平台的媒体流,即对分辨率、视频帧率进行调整,存储视频数据关键帧、视频切片等。通过FFmpeg可以使视频资源被转换为TS流文件(TransportStream,DVD文件格式),并在视频转码完成后,被分割成切片包括m3u8索引文件等参数。It can be understood that through video transcoding technology, videos of any file format can be uniformly converted according to the requirements of different devices, different business networks, and different video formats, so as to achieve the purpose of improving the encoding quality of video resources and efficiently utilizing Internet bandwidth and storage capacity. And according to different application scopes and scenario requirements (for example, saving bandwidth, terminal compatibility, display and other scenario requirements), different parameters of multimedia data encoding methods can be converted, such as resolution, bit rate, etc. The multimedia codec library libavcodec (one of the core components of the open source program Ffmpeg) included in the open source program FFmpeg is used as the kernel and applied in most video players to record video information and convert its format into the required format, and finally encode and decode it into a media stream that can cross multiple platforms, that is, adjust the resolution and video frame rate, and store video data key frames, video slices, etc. Through FFmpeg, video resources can be converted into TS stream files (TransportStream, DVD file format), and after the video transcoding is completed, it is divided into slices including parameters such as m3u8 index files.
可选地,第一编码格式与第二编码格式可以是mp4、swf、mkv、mov、wma、avi、rmvb、m1v、m2v、mod、mp2v、mpeg、3gpp中的任意一种或者多种,本示例实施例对此不做特别限定。Optionally, the first encoding format and the second encoding format may be any one or more of mp4, swf, mkv, mov, wma, avi, rmvb, m1v, m2v, mod, mp2v, mpeg, and 3gpp, and this example embodiment does not specifically limit this.
可以对历史视频库视频文件与主流视频文件编码和封装格式进行统计分析,针对主要视频格式实现兼容性,上传的视频文件可以通过系统统一编解码器和封装单元批量任务处理,实现多种格式和封装的统一编码码率和封装格式规范输出,并基于此编码和封装,做针对性的流媒体服务优化,实现前端视频播放统一流畅输出和多终端的适配。Statistical analysis can be performed on the encoding and packaging formats of historical video library video files and mainstream video files to achieve compatibility for major video formats. The uploaded video files can be processed in batches through the system's unified codec and packaging unit to achieve standardized output of unified encoding bit rates and packaging formats for multiple formats and packaging. Based on this encoding and packaging, targeted streaming media service optimization can be performed to achieve unified and smooth output of front-end video playback and adaptation to multiple terminals.
本申请实施例可以充分利用Java(一种面向对象的编程语言)虚拟机的中间层特性,对不同硬件、操作系统和编译环境的适配兼容,基于JavaSDK封装视频处理编解码器,有效避免了视频处理编解码器在不同硬件、操作系统中的安装部署差异,以及编译环境依赖,有效降低了安装部署和扩展的复杂度;同时面向业务层提供基于Java语言的API调用方式,契合既有业务的原生管理处理开发语言环境和编译方式,有利于业务开发人员专注于业务层面的处理。The embodiments of the present application can make full use of the middle-layer characteristics of the Java (an object-oriented programming language) virtual machine, adapt to and be compatible with different hardware, operating systems, and compilation environments, and encapsulate the video processing codec based on the JavaSDK, thereby effectively avoiding the installation and deployment differences of the video processing codec in different hardware and operating systems, as well as the compilation environment dependency, thereby effectively reducing the complexity of installation, deployment, and expansion; at the same time, it provides a Java-based API calling method for the business layer, which is in line with the native management processing development language environment and compilation method of existing businesses, and is conducive to business developers focusing on business-level processing.
可选地,对于初始流媒体的识别分析,包括对初始流媒体的格式、分辨率、编码、码率等至少一项信息进行分析,本示例实施例对此不做特别限定。Optionally, the identification and analysis of the initial streaming media includes analyzing at least one piece of information such as the format, resolution, encoding, and bit rate of the initial streaming media, which is not particularly limited in this exemplary embodiment.
可选地,可以通过不同的媒体信息工具,如FFmpeg、MediaInfo(一种视频参数检测工具,可以用于对视频的编码分析查询以及对音频文件的编码及信息的检测)等来查看流媒体的详细信息,本示例实施例对工具的选用不做特别限定。Optionally, the detailed information of the streaming media can be viewed through different media information tools, such as FFmpeg, MediaInfo (a video parameter detection tool that can be used for encoding analysis and query of videos and encoding and information detection of audio files), etc. This example embodiment does not specifically limit the selection of tools.
可选地,在将初始流媒体转化为目标流媒体的过程中,所使用的转码器可以是FFmpeg,也可以是HandBrake(一款免费、开源的跨平台视频转换软件,主要用于将视频文件从一种格式或编码转换为另一种格式或编码)等,可以完成流媒体的转码即可,本示例实施例对此不做特别限定。Optionally, in the process of converting the initial streaming media into the target streaming media, the transcoder used can be FFmpeg, or it can be HandBrake (a free, open source, cross-platform video conversion software, mainly used to convert video files from one format or encoding to another format or encoding), etc., which can complete the transcoding of the streaming media. This example embodiment does not specifically limit this.
可选地,转码参数包括比特率、码率、帧率、画质等至少一项,本示例实施例对不做特别限定。Optionally, the transcoding parameters include at least one of bit rate, code rate, frame rate, image quality, etc., which are not particularly limited in this example embodiment.
例如,可以使用FFprobe(一种多媒体分析工具,可以分析音视频的参数、媒体容器的参数信息等,也可以分析媒体文件中每个包的长度、包的类型、帧的信息等)命令来完成视频文件信息的获取,以返回一个包含对应视频文件的详细信息的JSON(JavaScriptObject Notation, JS对象简谱,一种轻量级的数据交换格式)对象,如时长、比特率、流信息等,也可以对视频进行每秒抽帧,并将这些帧进行保存并同时设置图片格式,例如可以使用Open CV(一种开源发行的跨平台计算机视觉和机器学习软件库)库中的VideoCapture(一种可以对视频帧遍历,并在遍历过程中对每一帧数据进行编辑修改操作的工具)功能进行视频的抽帧。For example, you can use the FFprobe (a multimedia analysis tool that can analyze audio and video parameters, media container parameter information, etc., and can also analyze the length of each packet in the media file, the type of packet, frame information, etc.) command to complete the acquisition of video file information to return a JSON (JavaScript Object Notation, JS object notation, a lightweight data exchange format) object containing detailed information of the corresponding video file, such as duration, bit rate, stream information, etc. You can also extract frames per second from the video, save these frames and set the image format at the same time. For example, you can use the VideoCapture (a tool that can traverse video frames and edit and modify each frame of data during the traversal process) function in the Open CV (an open source cross-platform computer vision and machine learning software library) library to extract video frames.
可选地,可以在自动转码单元403设置一个显示转码状态的界面,该界面可以展示当前的转码进度,以及转码是否成功的转码状态。可选地,转码状态有正在转码、转码成功及转码失败等状态中的至少一项。具体地,只有当前转码状态为“转码成功”时,系统才会响应用户的视频发送请求,当当前转码状态为“转码失败”时,系统可以显示错误提示信息并提供重新转码的选项,当当前转码状态为“正在转码”时根据转码进度所处阶段显示“转码进度50%”、“转码进度80%”等。Optionally, an interface for displaying the transcoding status can be set in the automatic transcoding unit 403, and the interface can display the current transcoding progress and the transcoding status of whether the transcoding is successful. Optionally, the transcoding status includes at least one of the states of transcoding, transcoding success, and transcoding failure. Specifically, only when the current transcoding status is "transcoding success", the system will respond to the user's video sending request. When the current transcoding status is "transcoding failure", the system can display an error prompt message and provide an option to re-transcode. When the current transcoding status is "transcoding", "transcoding progress 50%", "transcoding progress 80%", etc. are displayed according to the stage of the transcoding progress.
在本公开一示例实施例中,参考图7所示,标签标注单元404包括数据采集子单元701、特征提取子单元702、特征匹配子单元703及标签标注子单元704。In an exemplary embodiment of the present disclosure, referring to FIG. 7 , the label marking unit 404 includes a data collection subunit 701 , a feature extraction subunit 702 , a feature matching subunit 703 and a label marking subunit 704 .
其中,数据采集子单元用于从目标流媒体中获取对应的流媒体数据;特征提取子单元用于对流媒体数据进行特征提取,得到对应的特征数据;特征匹配子单元用于将特征数据输入到训练好的分类模型中,得到对应的分类概率数据;标签标注子单元用于对分类概率数据进行排序,按照预设标签数量选择概率最高的标签对目标流媒体进行标注。Among them, the data acquisition subunit is used to obtain the corresponding streaming media data from the target streaming media; the feature extraction subunit is used to extract features from the streaming media data to obtain corresponding feature data; the feature matching subunit is used to input the feature data into the trained classification model to obtain corresponding classification probability data; the labeling subunit is used to sort the classification probability data and select the label with the highest probability according to the preset number of labels to label the target streaming media.
流媒体数据是指目标流媒体对应的逐帧截图数据或音频片段数据。例如可以对逐帧截图数据进行特征提取,然后根据提取到的特征进行分类,进而根据分类数据对目标流媒体的内容进行判断。The streaming media data refers to the frame-by-frame screenshot data or audio clip data corresponding to the target streaming media. For example, the frame-by-frame screenshot data can be subjected to feature extraction, and then classified according to the extracted features, and then the content of the target streaming media can be judged according to the classified data.
可选地,在进行流媒体数据的特征提取前,需要对流媒体数据进行预处理。例如对图像进行灰度化、二值化、归一化、尺寸缩放等,从而减少流媒体数据中冗余信息对分类模型的干扰。Optionally, before extracting the features of streaming media data, the streaming media data needs to be preprocessed, such as graying, binarizing, normalizing, scaling, etc., so as to reduce the interference of redundant information in the streaming media data on the classification model.
可选地,可以将每个截图转换为RGB颜色空间,并计算每个通道的像素分布情况,得到一个颜色直方图,通过比较不同截图的直方图来判断它们的相似性,也可以使用纹理描述符,如局部二值模式,灰度共生矩阵等来捕捉截图中的纹理信息,还可以使用边缘检测算法,如边缘检测算子Canny来提取截图中的边缘信息,可以对逐帧截图数据进行特征提取即可,本示例实施例对此不做特别限定。同样地,当流媒体数据为音频数据时,可以采用梅尔频率倒谱系数(Mel-Frequency Cepstral Coefficients,MFCC)对音频信号进行特征提取,以得到代表流媒体数据关键特性的特征向量。Optionally, each screenshot can be converted into RGB color space, and the pixel distribution of each channel can be calculated to obtain a color histogram. The similarity of different screenshots can be determined by comparing their histograms. Texture descriptors such as local binary patterns, grayscale co-occurrence matrices, etc. can also be used to capture texture information in the screenshots. Edge detection algorithms such as edge detection operator Canny can also be used to extract edge information in the screenshots. Feature extraction can be performed on the screenshot data frame by frame, and this example embodiment does not specifically limit this. Similarly, when the streaming media data is audio data, Mel-Frequency Cepstral Coefficients (MFCC) can be used to extract features from the audio signal to obtain a feature vector representing the key characteristics of the streaming media data.
可选地,分类模型是指用于对流媒体数据对应的特征数据进行推理分析,确定流媒体数据中数据内容类型的神经网络模型,通过分类模型可以快速实现对流媒体数据中内容的分类,提升目标流媒体的标注效率。例如,分类模型可以选择LeNet-5模型(一种经典卷积神经网络模型),也可以选择ResNet模型(一种深度卷积神经网络模型),还可以选择MobileNetV2模型(一种轻量化卷积神经网络模型),本示例实施例对此不做特别限定。Optionally, the classification model refers to a neural network model used to perform reasoning analysis on feature data corresponding to streaming media data and determine the data content type in the streaming media data. The classification model can be used to quickly classify the content in the streaming media data and improve the labeling efficiency of the target streaming media. For example, the classification model can select the LeNet-5 model (a classic convolutional neural network model), the ResNet model (a deep convolutional neural network model), or the MobileNetV2 model (a lightweight convolutional neural network model), which is not particularly limited in this example embodiment.
示例性地,当预设的标签数量为1时,选取分类概率最高的标签作为预测标签,当预设的标签数量为3时,按照分类概率的排序,选择分类概率最高的三个标签作为预测标签。Exemplarily, when the preset number of tags is 1, the tag with the highest classification probability is selected as the predicted tag. When the preset number of tags is 3, the three tags with the highest classification probability are selected as the predicted tags according to the sorting of classification probabilities.
示例性地,内容管理系统的文稿内容可以与流媒体内容自动关联,并根据新闻文稿标题,概要内容,人工标注或自动抽取的关键词,作为视频内容对象的自动标注,并形成视频内容的自动标签体系,通过文本内容关联实现视频内容的解析描述,从而实现视频内容的文本知识图谱标注。Exemplarily, the manuscript content of the content management system can be automatically associated with the streaming media content, and based on the news manuscript title, summary content, manually annotated or automatically extracted keywords, the video content objects can be automatically annotated to form an automatic labeling system for the video content. The video content can be analyzed and described through text content association, thereby realizing the text knowledge graph annotation of the video content.
在本公开一示例实施例中,参考图8所示,流媒体编辑单元405包括画面处理子单元801及个性化子单元802。In an exemplary embodiment of the present disclosure, referring to FIG. 8 , the streaming media editing unit 405 includes a picture processing subunit 801 and a personalization subunit 802 .
其中,画面处理子单元用于对目标流媒体进行在线图像、音频优化处理;个性化子单元用于用户对目标流媒体添加水印和/或标识。The image processing subunit is used to perform online image and audio optimization processing on the target streaming media; the personalization subunit is used for the user to add watermarks and/or logos to the target streaming media.
其中,在线图像、音频优化处理可以包括通过提高图像的亮度、对比度、饱和度等参数来改进图像的质量,通过去除图像中的噪点和干扰,使图像更加清晰,对图像的色彩进行校准,增强图像的边缘和细节,消除背景噪声、增强音频信号的清晰度和音量,对视频图像中的抖动进行稳定处理,降低镜头晃动或者拍摄设备的震动对图像质量的影响等,能够提高图像的质量和音频的清晰度即可,本示例实施例对此不做也别限定。Among them, online image and audio optimization processing can include improving image quality by increasing image brightness, contrast, saturation and other parameters, making the image clearer by removing noise and interference in the image, calibrating the color of the image, enhancing the edges and details of the image, eliminating background noise, enhancing the clarity and volume of the audio signal, stabilizing the jitter in the video image, reducing the impact of lens shake or vibration of the shooting equipment on the image quality, etc., as long as the image quality and audio clarity can be improved, this example embodiment does not make any specific limitations on this.
可选地,水印可以是文字、图像、Logo(Logotype,标志)等形式,可以标识内容的所有者或者传达特定信息即可,本示例实施例对此不做特别限定。同时,用户还可以上传自定义的水印,所上传水印的格式包括但不限于JPG、PNG、GIF、SVG等。Optionally, the watermark can be in the form of text, image, logo (logotype, logo), etc., which can identify the owner of the content or convey specific information. This exemplary embodiment does not specifically limit this. At the same time, the user can also upload a custom watermark, and the format of the uploaded watermark includes but is not limited to JPG, PNG, GIF, SVG, etc.
具体地,用户可以对水印和/或标识进行颜色、尺寸、旋转角度、位置上的在线编辑。Specifically, the user can edit the color, size, rotation angle, and position of the watermark and/or logo online.
可选地,个性化子单元还可以通过图像或视频分析技术,识别出已有的水印或标识,并修改现有水印或标识,从而帮助用户对内容进行有效的控制,用户无需去寻找其它的软件去进行二次编辑,为用户的操作提供了便利。Optionally, the personalization subunit can also identify existing watermarks or logos through image or video analysis technology and modify existing watermarks or logos, thereby helping users to effectively control the content. Users do not need to find other software for secondary editing, which provides convenience for user operations.
在本公开一示例实施例中,参考图9所示,流媒体检索单元406包括关键词提取子单元901、标签匹配子单元902及视频选择子单元903。In an exemplary embodiment of the present disclosure, referring to FIG. 9 , the streaming media retrieval unit 406 includes a keyword extraction subunit 901 , a tag matching subunit 902 , and a video selection subunit 903 .
其中,关键词提取子单元用于对用户输入的检索信息进行关键词提取,得到对应的检索关键词信息;标签匹配子单元用于计算所有检索关键词信息与所有标签间的相似度得分,得到相似度得分大于或等于预设相似度阈值的标签;视频选择子单元用于将相似度得分大于或等于预设相似度阈值的标签对应的流媒体按照标签的相似度得分进行显示。Among them, the keyword extraction subunit is used to extract keywords from the search information input by the user to obtain the corresponding search keyword information; the tag matching subunit is used to calculate the similarity scores between all the search keyword information and all the tags to obtain the tags whose similarity scores are greater than or equal to the preset similarity threshold; the video selection subunit is used to display the streaming media corresponding to the tags whose similarity scores are greater than or equal to the preset similarity threshold according to the tag similarity scores.
示例性地,可以通过去除检索信息中的停留词,并按照一定规则对用户输入的文本进行分割,将长句子切分成一个个独立的词语,进而将分词后的词语进行词性标注,继而根据一定的规则或算法,从经过分词和词性标注后的文本中提取关键词。For example, by removing stop words in the search information and segmenting the text input by the user according to certain rules, long sentences can be divided into independent words, and then the segmented words are tagged with parts of speech. Then, according to certain rules or algorithms, keywords can be extracted from the segmented and part-of-speech tagged text.
可选地,在对用户输入的检索信息进行关键词提取时,可以通过相关的统计算法实现关键词的提取,例如,可以选择基于词频统计的TF-IDF(Term Frequency–InverseDocument Frequency,词频-逆文本频率倒数)算法进行关键词的提取,TF-IDF算法是一种用于信息检索和文本挖掘的加权技术,主要用于评估词项(字词)在一个文档或语料库中的重要程度,如果一个词在一个文档中出现的频率高(TF值大),同时在其他文档中出现的频率低(IDF值大),则这个词具有较好的类别区分能力,适合用于分类;当然,也可以通过训练深度学习模型实现对关键词的提取,例如,可以采用基于文本主题的LDA(LinearDiscriminant Analysis,线性判别分析)算法,基于文本主题的LDA算法是一种非监督机器学习技术,可以用来识别大规模文档集或语料库中的潜在隐藏的主题信息,该方法假设每个词是由背后的一个潜在隐藏的主题中抽取出来;也可以采用基于词向量的Textrank算法(一种抽取式的无监督的文本摘要提取方法)等,基于词向量的Textrank算法是一种用于文本的基于图的排序算法,通过把文本分割成若干组成单元(句子),构建节点连接图,用句子之间的相似度作为边的权重,通过循环迭代计算句子的TextRank值,最后抽取排名高的句子组合成文本摘要;本示例实施例对关键词提取的方式不做特别限定。Optionally, when extracting keywords from the search information input by the user, the keyword extraction can be achieved through relevant statistical algorithms. For example, the TF-IDF (Term Frequency–Inverse Document Frequency) algorithm based on word frequency statistics can be selected to extract keywords. The TF-IDF algorithm is a weighted technology used for information retrieval and text mining. It is mainly used to evaluate the importance of terms (words) in a document or corpus. If a word appears frequently in a document (large TF value) and rarely appears in other documents (large IDF value), then the word has good category discrimination ability and is suitable for classification. Of course, keyword extraction can also be achieved by training a deep learning model. For example, the text topic-based LDA (Linear Discriminant Advanced Feature Searching (LDA) algorithm can be used. Analysis, Linear Discriminant Analysis) algorithm, the text topic-based LDA algorithm is an unsupervised machine learning technology that can be used to identify potential hidden topic information in large-scale document sets or corpora. This method assumes that each word is extracted from a potential hidden topic behind it; the word vector-based Textrank algorithm (an extractive unsupervised text summary extraction method) can also be used. The word vector-based Textrank algorithm is a graph-based sorting algorithm for text. It divides the text into several components (sentences), constructs a node connection graph, uses the similarity between sentences as the weight of the edge, calculates the TextRank value of the sentence through a loop iteration, and finally extracts the high-ranking sentences to form a text summary; this example embodiment does not specifically limit the method of keyword extraction.
可选地,可以采用余弦相似度(Cosin)、杰卡德相似度(Jaccard)、编辑距离、训练好的文本语义相似度模型等来进行相似度得分的计算,本示例实施例对此不做特别限定。Optionally, cosine similarity (Cosin), Jaccard similarity (Jaccard), edit distance, trained text semantic similarity model, etc. may be used to calculate the similarity score, which is not particularly limited in this example embodiment.
在本公开一示例实施例中,参考图10所示,流媒体展示单元407包括流媒体展示子单元1001及流媒体共享子单元1002。In an exemplary embodiment of the present disclosure, referring to FIG. 10 , the streaming media presentation unit 407 includes a streaming media presentation subunit 1001 and a streaming media sharing subunit 1002 .
其中,流媒体展示子单元,用于将目标流媒体嵌入对应的展示网页实现流媒体的展示;流媒体共享子单元,用于将目标流媒体共享到外部网络的公共数据库中,并在各视频门户开设对应的访问窗口来对目标流媒体进行访问及展示。Among them, the streaming media display subunit is used to embed the target streaming media into the corresponding display web page to realize the display of the streaming media; the streaming media sharing subunit is used to share the target streaming media to the public database of the external network, and open a corresponding access window in each video portal to access and display the target streaming media.
具体地,流媒体展示单元可以管理视频的播放,如对流媒体进行播放、暂停、快进、后退等操作,并处理可能出现的任何兼容性问题,还可以控制其他与视频播放相关的参数,如分辨率、缓冲速度等。Specifically, the streaming media display unit can manage the playback of the video, such as playing, pausing, fast forwarding, rewinding, etc., and handle any compatibility issues that may arise. It can also control other parameters related to video playback, such as resolution, buffering speed, etc.
可选地,播放器具有视频多码率切换功能,可实现视频在“标清”、“高清”、“超清”等清晰度之间自由切换,满足不同用户的观看需求,其播放模式支持画中画播放与全屏播放、用户可根据网速情况选择合适的视频画质,以保证视频流畅度,同时支持手机和Pad观看。Optionally, the player has a video multi-bitrate switching function, which can realize free switching of video clarity between "standard definition", "high definition", "ultra-definition" and other definition to meet the viewing needs of different users. Its playback mode supports picture-in-picture playback and full-screen playback. Users can choose the appropriate video quality according to the network speed to ensure video smoothness. It also supports viewing on mobile phones and Pads.
在本公开一示例性实施例中,参考图4所示,资源控制模块204包括自动化部署单元408、资源管理单元409及身份认证单元410。In an exemplary embodiment of the present disclosure, referring to FIG. 4 , the resource control module 204 includes an automatic deployment unit 408 , a resource management unit 409 and an identity authentication unit 410 .
其中,自动化部署单元用于根据预设的部署规则将应用程序或服务快速部署到对应的私有云和/或公有云环境中;资源管理单元用于对所述公有云及私有云中的资源进行分配及调度;身份认证单元用于验证用户的身份信息并实现对多个关联系统的集中验证。Among them, the automated deployment unit is used to quickly deploy applications or services to the corresponding private cloud and/or public cloud environment according to preset deployment rules; the resource management unit is used to allocate and schedule resources in the public cloud and private cloud; the identity authentication unit is used to verify the user's identity information and realize centralized verification of multiple related systems.
具体地,自动化部署单元可以负责管理应用程序或服务的配置信息,包括环境变量、数据库连接、日志管理等。通过将这些配置信息与应用程序代码分离,并进行统一管理,可以实现更加灵活和可维护的部署过程;在部署过程中,自动化部署单元还可以负责准备所需的基础设施和依赖资源。这包括创建虚拟机、安装操作系统、配置网络连接等。Specifically, the automated deployment unit can be responsible for managing the configuration information of applications or services, including environment variables, database connections, log management, etc. By separating these configuration information from the application code and managing them in a unified manner, a more flexible and maintainable deployment process can be achieved; during the deployment process, the automated deployment unit can also be responsible for preparing the required infrastructure and dependent resources. This includes creating virtual machines, installing operating systems, configuring network connections, etc.
具体地,资源管理单元可以根据用户的需求,分配适当的计算、存储的网络资源,可以根据应用程序的规模和负载情况,动态调整资源配置,以实现最佳的性能和成本效益,同时还可以根据用户的优先级和资源利用率等因素,合理地调度和管理云端资源,例如可以根据负载均衡策略,将请求分发到不同的计算节点上,并监控资源的使用情况,以保证整个系统的稳定性和可靠性,也可以根据应用程序的负载情况,自动调整资源的数量和配置,例如,在高负载时,可以自动增加计算节点的数量,以提升系统的处理能力,而在低负载时,可以自动减少计算节点的数量,以节约资源和成本。Specifically, the resource management unit can allocate appropriate computing, storage and network resources according to user needs, and can dynamically adjust resource configuration according to the scale and load of the application to achieve optimal performance and cost-effectiveness. At the same time, it can also reasonably schedule and manage cloud resources according to factors such as user priorities and resource utilization. For example, it can distribute requests to different computing nodes according to load balancing strategies and monitor resource usage to ensure the stability and reliability of the entire system. It can also automatically adjust the number and configuration of resources according to the load of the application. For example, when the load is high, the number of computing nodes can be automatically increased to improve the processing power of the system, and when the load is low, the number of computing nodes can be automatically reduced to save resources and costs.
在本公开一示例实施例中,参考图5所示,身份认证单元410包括请求提交子单元501和身份验证子单元502。In an exemplary embodiment of the present disclosure, referring to FIG. 5 , the identity authentication unit 410 includes a request submission subunit 501 and an identity authentication subunit 502 .
其中,请求提交子单元用于将获取到的用户的身份信息通过安全传输通道发送给统一身份认证服务器;身份验证子单元用于获取统一身份认证服务器返回的认证令牌并对认证令牌进行验证,若认证令牌有效,响应用户的访问请求。Among them, the request submission subunit is used to send the obtained user identity information to the unified identity authentication server through a secure transmission channel; the identity authentication subunit is used to obtain the authentication token returned by the unified identity authentication server and verify the authentication token. If the authentication token is valid, respond to the user's access request.
通过统一身份认证服务器的服务发现,结合全局漫游加密令牌Token认证和分布式缓存,可以实现服务请求在合规安全的框架下,降低请求频次和依赖;支持多种常见远程认证方式接入服务器端认证,通过统一认证、票据漫游的形式实现控制端完成总体认证和授权调度,服务端轻量化配置授权认证。Through the service discovery of the unified identity authentication server, combined with global roaming encrypted token authentication and distributed cache, service requests can be implemented within a compliant and secure framework while reducing request frequency and dependency. It supports multiple common remote authentication methods to access server-side authentication, and through unified authentication and ticket roaming, the control end completes overall authentication and authorization scheduling, and the server-side lightweight configuration authorization authentication.
例如,系统平台身份认证机制可以采用服务器端Session(一种登录认证模块)认证符合跨应用Token授权认证方式,在满足身份认证安全性和服务可控性的前提下,满足跨应用漫游形式获取身份认证需求。当用户登录统一认证系统时,应用系统无需用户发送指令便可对已登录的用户身份进行自动验证,即当用户向流媒体管理系统发起访问请求时,流媒体管理系统验证用户的身份认证令牌,并返回用户自己的身份证明,用户进而通过SSL(Secure Socket Layer,安全套接层)传输通道将自己的身份认证令牌发给应用程序,应用程序将收到的用户令牌及自身的服务标识一并发给统一身份认证系统,同时发起核对用户身份指令,统一身份认证系统收到指令后,继而将用户身份认证令牌进行解密,与数据库核对后将结果反馈给应用程序,应用程序收到反馈结果后,从而可以根据用户权限决定是否允许用户进行访问。For example, the system platform identity authentication mechanism can adopt the server-side Session (a login authentication module) authentication in accordance with the cross-application Token authorization authentication method, and meet the cross-application roaming form of identity authentication requirements under the premise of meeting the identity authentication security and service controllability. When a user logs in to the unified authentication system, the application system can automatically verify the identity of the logged-in user without the user sending instructions, that is, when the user initiates an access request to the streaming media management system, the streaming media management system verifies the user's identity authentication token and returns the user's own identity certificate. The user then sends his or her identity authentication token to the application through the SSL (Secure Socket Layer) transmission channel. The application sends the received user token and its own service identifier to the unified identity authentication system and initiates a user identity verification instruction at the same time. After receiving the instruction, the unified identity authentication system then decrypts the user's identity authentication token, verifies it with the database, and feeds back the result to the application. After receiving the feedback result, the application can decide whether to allow the user to access according to the user's authority.
一方面,通过验证用户提供的身份信息,例如用户名和密码,确认用户的身份,可以防止未经授权的访问,确保系统的安全性;另一方面,通过实现单点登录功能,即用户只需进行一次身份认证,就可以访问多个关联系统。这样可以简化用户的登录过程,提高用户体验;再一方面,根据用户的身份和角色信息,对用户进行授权管理,可以定义不同用户对系统资源的访问权限,并监控用户的行为,以保证系统的安全性和合规性。On the one hand, by verifying the identity information provided by the user, such as user name and password, and confirming the user's identity, unauthorized access can be prevented and the security of the system can be ensured; on the other hand, by implementing the single sign-on function, that is, the user only needs to perform identity authentication once to access multiple related systems. This can simplify the user's login process and improve the user experience; on the other hand, according to the user's identity and role information, the user's authorization management can be carried out, the access rights of different users to system resources can be defined, and the user's behavior can be monitored to ensure the security and compliance of the system.
在本公开一示例性实施例中,参考图11所示,示出了本公开基于跨云集成环境的流媒体管理系统的流程图,包括以下步骤S1101至步骤S1102:In an exemplary embodiment of the present disclosure, referring to FIG. 11 , a flow chart of a streaming media management system based on a cross-cloud integrated environment of the present disclosure is shown, including the following steps S1101 to S1102:
步骤S1101. 获取用户上传的初始流媒体;Step S1101. Obtaining the initial streaming media uploaded by the user;
步骤S1102. 将第一编码格式与预设的第二编码格式进行比较,并返回比较结果,若第一编码格式与第二编码格式不同,执行S1103,若相同,执行S1104;Step S1102. Compare the first encoding format with the preset second encoding format and return the comparison result. If the first encoding format is different from the second encoding format, execute S1103; if they are the same, execute S1104;
步骤S1103. 设置与第二编码格式对应的转码参数,并根据转码参数生成对应第二编码格式的目标流媒体;Step S1103. Set transcoding parameters corresponding to the second encoding format, and generate target streaming media corresponding to the second encoding format according to the transcoding parameters;
步骤S1104. 对目标流媒体的内容进行特征提取,并输入到分类模型中,从而获取到相应的标签并进行标注;Step S1104. Extract features from the target streaming media content and input them into the classification model, thereby obtaining corresponding labels and marking them;
步骤S1105. 用户可以对生成的目标流媒体进行在线编辑,例如标记logo等;Step S1105. The user can edit the generated target streaming media online, such as marking a logo, etc.;
步骤S1106. 将目标流媒体根据标签存储到对应的数据库中;Step S1106. The target streaming media is stored in the corresponding database according to the tag;
步骤S1107. 对用户的检索信息进行关键词提取,并根据关键词与标签进行相似度匹配;Step S1107. Extract keywords from the user's search information and perform similarity matching based on keywords and tags;
步骤S1108. 将匹配的流媒体进行展示及共享到外部网站的视频门户中以供用户访问。Step S1108: Display and share the matched streaming media to a video portal of an external website for user access.
在本公开一示例实施例中,参考图12所示,图12示出了一用于未登录用户进行流媒体上传及发布的示例:In an exemplary embodiment of the present disclosure, referring to FIG. 12 , FIG. 12 shows an example for a non-logged-in user to upload and publish streaming media:
步骤S1201. 用户在流媒体访问端输入管理页面地址,将访问请求发送至服务器;Step S1201. The user enters the management page address in the streaming media access terminal and sends the access request to the server;
步骤S1202. 服务器接收到访问请求时,显示身份验证界面;Step S1202. When the server receives the access request, it displays the identity authentication interface;
步骤S1203. 用户在身份验证界面输入自己的身份信息,账号、密码等;Step S1203. The user enters his or her identity information, account number, password, etc. in the identity authentication interface;
步骤S1204. 服务器接收到用户的身份信息后将其与数据库中的信息进行比对;Step S1204. After receiving the user's identity information, the server compares it with the information in the database;
步骤S1205. 服务器收到用户身份信息与数据库中数据的比对结果;Step S1205. The server receives the comparison result of the user identity information and the data in the database;
步骤S1206. 在比对成功后,用户界面跳转至流媒体管理页面;Step S1206. After the comparison is successful, the user interface jumps to the streaming media management page;
步骤S1207. 用户在管理页面上传视频,识别初始流媒体的第一编码格式,与第二编码格式进行比对,确定是否需要自动转码;Step S1207. The user uploads the video on the management page, identifies the first encoding format of the initial streaming media, compares it with the second encoding format, and determines whether automatic transcoding is required;
步骤S1208. 服务器对流媒体进行自动转码(第一编码格式与第二编码格式相同则不进行),识别标签并标注;Step S1208. The server automatically transcodes the streaming media (not if the first encoding format is the same as the second encoding format), identifies the tag and marks it;
步骤S1209. 服务器存储目标流媒体;Step S1209. The server stores the target streaming media;
步骤S1210. 服务器收到用户展示及共享请求;Step S1210. The server receives a user display and sharing request;
步骤S1211. 服务器返回流媒体展示及共享页面,从而完成整个视频上传流程,实现对目标流媒体在内部网络内进行展示及通过外部网络进行共享。Step S1211. The server returns the streaming media display and sharing page, thereby completing the entire video upload process, and realizing the display of the target streaming media within the internal network and sharing through the external network.
实施例2一种存储介质Embodiment 2 A storage medium
本发明的示例性实施方式还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述系统的程序产品。在一些可能的实施方式中,本发明的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在电子设备上运行时,程序代码用于使电子设备执行本说明书上述“示例性系统”部分中描述的根据本发明各种示例性实施方式的步骤。该程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在电子设备,例如个人电脑上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The exemplary embodiments of the present invention also provide a computer-readable storage medium on which a program product capable of implementing the above-mentioned system of the present specification is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on an electronic device, the program code is used to cause the electronic device to perform the steps of various exemplary embodiments of the present invention described in the above-mentioned "Exemplary System" section of this specification. The program product can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on an electronic device, such as a personal computer. However, the program product of the present invention is not limited to this. In this document, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件或者上述的任意合适的组合。The program product may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C#、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C#, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
实施例3一种电子设备Embodiment 3 An electronic device
本发明的示例性实施方式还提供了一种能够实现上述系统的电子设备。下面参照图13来描述根据本发明的这种示例性实施方式的电子设备1300。图13显示的电子设备1300仅仅是一个示例,不应对本发明实施方式的功能和使用范围带来任何限制。The exemplary embodiment of the present invention also provides an electronic device capable of implementing the above system. The electronic device 1300 according to this exemplary embodiment of the present invention is described below with reference to FIG. 13. The electronic device 1300 shown in FIG. 13 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
如图13所示,电子设备1300可以以通用计算设备的形式表现。电子设备1300的组件可以包括但不限于:至少一个处理单元1310、至少一个存储单元1320、连接不同系统组件(包括存储单元1320和处理单元1310)的总线1330和显示单元1340。As shown in Fig. 13, the electronic device 1300 may be in the form of a general-purpose computing device. The components of the electronic device 1300 may include, but are not limited to: at least one processing unit 1310, at least one storage unit 1320, a bus 1330 connecting different system components (including the storage unit 1320 and the processing unit 1310), and a display unit 1340.
存储单元1320存储有程序代码,程序代码可以被处理单元1310执行,使得处理单元1310执行本说明书上述“示例性系统”部分中描述的根据本发明各种示例性实施方式的步骤。例如,处理单元1310可以运行图2中的系统。The storage unit 1320 stores program codes, which can be executed by the processing unit 1310, so that the processing unit 1310 performs the steps of various exemplary embodiments of the present invention described in the "Exemplary System" section above. For example, the processing unit 1310 can run the system in Figure 2.
存储单元1320可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)1321和/或高速缓存存储单元1322,还可以进一步包括只读存储单元(ROM)1323。The storage unit 1320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 1321 and/or a cache memory unit 1322 , and may further include a read-only memory unit (ROM) 1323 .
存储单元1320还可以包括具有一组(至少一个)程序模块1325的程序/实用工具1324,这样的程序模块1325包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 1320 may also include a program/utility 1324 having a set (at least one) of program modules 1325, such program modules 1325 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
总线1330可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。Bus 1330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
电子设备1300也可以与一个或多个外部设备1370(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备1300交互的设备通信,和/或与使得该电子设备1300能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口1350进行。并且,电子设备1300还可以通过网络适配器1360与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器1360通过总线1330与电子设备1300的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备1300使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID(Redundant Arrays of Independent Disks,独立冗余磁盘阵列)系统、磁带驱动器以及数据备份存储系统等。The electronic device 1300 may also communicate with one or more external devices 1370 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1300, and/or communicate with any device that enables the electronic device 1300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input/output (I/O) interface 1350. In addition, the electronic device 1300 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and/or public networks, such as the Internet) through a network adapter 1360. As shown, the network adapter 1360 communicates with other modules of the electronic device 1300 through a bus 1330. It should be understood that, although not shown in the figure, other hardware and/or software modules may be used in conjunction with the electronic device 1300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID (Redundant Arrays of Independent Disks, independent redundant disk array) systems, tape drives, and data backup storage systems.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本发明实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本发明示例性实施方式的系统。Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the system according to the exemplary implementation of the present invention.
此外,上述附图仅是根据本发明示例性实施方式的系统所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, the above-mentioned figures are only schematic illustrations of the processes included in the system according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
实施例4 一种跨云业务联动、跨系统、跨服务的协同系统Example 4 A cross-cloud business linkage, cross-system, and cross-service collaborative system
本发明实施例中的跨云集成环境可以包括私有云和公有云,可以利用分布式协同管理实现消息传输与数据交互,实现跨云业务联动、跨系统、跨服务的协同。跨系统间使用消息队列MQ解构服务请求依赖,实现服务事务编制间解耦的同时,保持状态一致性。协同多系统模块采用内部微服务和消息队列机制实现,跨系统模块之间的任务协同,结合业务模式,有效处理文稿发布与视频转码的资源消耗和处理时常的不均衡,避免操作中断,系统间的服务调用与状态同步通过消息队列协同统一,并形成链式事务调用,在管理端只需要执行常规管理操作即可完成跨系统和服务的复杂业务实现。The cross-cloud integration environment in the embodiment of the present invention may include private clouds and public clouds, and distributed collaborative management may be used to implement message transmission and data interaction, and realize cross-cloud business linkage, cross-system, and cross-service collaboration. The message queue MQ is used across systems to deconstruct service request dependencies, achieve decoupling between service transaction compilations, and maintain state consistency. The collaborative multi-system module is implemented using internal microservices and message queue mechanisms. The task collaboration between cross-system modules, combined with the business model, effectively handles the resource consumption and processing time imbalance of document publishing and video transcoding, and avoids operation interruptions. The service calls and state synchronization between systems are coordinated and unified through message queues, and chained transaction calls are formed. Only routine management operations need to be performed on the management side to complete the complex business implementation across systems and services.
本发明实施例为了解决在跨云集成环境下的视频编转码及跨云业务联动、跨系统、跨服务的协同技术难题,设计研发了一套基于跨云集成环境的流媒体管理系统,利用分布式协同管理实现消息传输与数据交互,数据层面通过接口互通,为避免过多跨系统状态推送,采用消息队列技术MQ实现资源状态同步,消息队列MQ可以基于Java开发,具有分布式、性能强、实时性强等特性。In order to solve the technical problems of video encoding and transcoding and cross-cloud business linkage, cross-system and cross-service collaboration in a cross-cloud integrated environment, the embodiment of the present invention has designed and developed a streaming media management system based on a cross-cloud integrated environment, which uses distributed collaborative management to realize message transmission and data interaction. The data layer communicates through interfaces, and in order to avoid excessive cross-system status push, the message queue technology MQ is used to realize resource status synchronization. The message queue MQ can be developed based on Java, and has the characteristics of distribution, strong performance and strong real-time performance.
在基于跨云集成环境的流媒体管理系统中,可以使用RocketMQ(一种低延迟、高并发、高可用、高可靠的分布式消息中间件)作为消息队列中转站,流媒体系统和用户统一身份认证系统分别将消息发送到消息队列中,然后由另一个系统从队列中获取并处理这些消息。这种方法可以保证消息的可靠传输和处理,并且两个系统可以独立工作,只要确保在合适的时间处理相应的消息即可。In a streaming media management system based on a cross-cloud integrated environment, RocketMQ (a distributed messaging middleware with low latency, high concurrency, high availability, and high reliability) can be used as a message queue transfer station. The streaming media system and the user unified identity authentication system send messages to the message queue respectively, and then the other system retrieves and processes these messages from the queue. This method can ensure the reliable transmission and processing of messages, and the two systems can work independently, as long as the corresponding messages are processed at the appropriate time.
本发明实施例中的基于跨云集成环境的流媒体管理系统可以配置为异步处理。基于跨云集成环境的流媒体管理系统和用户统一身份认证系统各自处理各自的任务,并将需要交互的消息存入数据库或使用其他持久化方法进行存储。然后,另一个系统可以定时或按需从数据库或使用其他持久化方法存储的交互信息中获取并处理消息。这种方法适用于非实时性要求不高的场景,但可以大大减少系统的耦合性。The streaming media management system based on the cross-cloud integrated environment in the embodiment of the present invention can be configured for asynchronous processing. The streaming media management system based on the cross-cloud integrated environment and the user unified identity authentication system each handle their own tasks, and store the messages that need to be interacted in the database or use other persistence methods for storage. Then, the other system can obtain and process the messages from the database or the interactive information stored using other persistence methods on a regular basis or on demand. This method is suitable for scenarios with low non-real-time requirements, but can greatly reduce the coupling of the system.
本发明实施例中的基于跨云集成环境的流媒体管理系统可以配置为延时任务队列。通过使用RocketMQ延时任务队列,可以将需要延时处理的消息放入队列中,并设定一个时间戳表示何时执行该任务。当时间戳到达时,队列会触发任务并由相应的系统处理。The streaming media management system based on the cross-cloud integrated environment in the embodiment of the present invention can be configured as a delayed task queue. By using the RocketMQ delayed task queue, messages that need to be delayed can be placed in the queue, and a timestamp can be set to indicate when the task will be executed. When the timestamp arrives, the queue will trigger the task and it will be processed by the corresponding system.
跨系统间可以配置消息队列MQ解构服务请求依赖,实现服务事务编制间解耦的同时,保持状态一致性。协同多系统模块采用内部微服务和消息队列机制实现,跨系统模块之间的任务协同,结合业务模式,有效处理文稿发布与视频转码的资源消耗和处理时常的不均衡,避免操作中断,系统间的服务调用与状态同步通过消息队列协同统一,并形成链式事务调用,在管理端只需要执行常规管理操作即可完成跨系统和服务的复杂业务实现。Message queues MQ can be configured across systems to deconstruct service request dependencies, achieve decoupling between service transaction compilations, and maintain state consistency. Collaborative multi-system modules are implemented using internal microservices and message queue mechanisms. Task collaboration between cross-system modules, combined with business models, effectively handles resource consumption and imbalanced processing times for document publishing and video transcoding, and avoids operational interruptions. Service calls and state synchronization between systems are coordinated and unified through message queues, and chained transaction calls are formed. On the management side, only routine management operations need to be performed to complete complex business implementations across systems and services.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本发明的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
本发明旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围由权利要求指出。The present invention is intended to cover any variation, use or adaptation of the present invention, which follows the general principles of the present invention and includes common knowledge or customary technical means in the art not disclosed by the present invention. The description and examples are to be regarded as exemplary only, and the true scope of the present invention is indicated by the claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410578654.6A CN118413696B (en) | 2024-05-11 | 2024-05-11 | A streaming media management system based on cross-cloud integrated environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410578654.6A CN118413696B (en) | 2024-05-11 | 2024-05-11 | A streaming media management system based on cross-cloud integrated environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118413696A true CN118413696A (en) | 2024-07-30 |
CN118413696B CN118413696B (en) | 2024-12-03 |
Family
ID=92004279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410578654.6A Active CN118413696B (en) | 2024-05-11 | 2024-05-11 | A streaming media management system based on cross-cloud integrated environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118413696B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070162487A1 (en) * | 2005-12-30 | 2007-07-12 | Razorstream, Llc | Multi-format data coding, managing and distributing system and method |
US20130097685A1 (en) * | 2011-10-14 | 2013-04-18 | Sean Kennedy | Method and system for content distribution management |
US20130198770A1 (en) * | 2012-01-27 | 2013-08-01 | Sony Network Entertainment International Llc | System, method, and infrastructure for real-time live streaming content |
US20140280498A1 (en) * | 2013-03-14 | 2014-09-18 | Synacor, Inc. | Media sharing communications system |
CN109218565A (en) * | 2018-10-22 | 2019-01-15 | 江苏省广播电视总台 | A kind of system constructing TV station's amalgamation media cloud platform |
CN209765499U (en) * | 2019-04-25 | 2019-12-10 | 天津广电默博丰科技有限公司 | media fusion technology platform system based on APP |
CN111949822A (en) * | 2020-08-20 | 2020-11-17 | 山东大学 | An intelligent educational video service system based on cloud computing and mobile terminal and its operation method |
-
2024
- 2024-05-11 CN CN202410578654.6A patent/CN118413696B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070162487A1 (en) * | 2005-12-30 | 2007-07-12 | Razorstream, Llc | Multi-format data coding, managing and distributing system and method |
US20130097685A1 (en) * | 2011-10-14 | 2013-04-18 | Sean Kennedy | Method and system for content distribution management |
US20130198770A1 (en) * | 2012-01-27 | 2013-08-01 | Sony Network Entertainment International Llc | System, method, and infrastructure for real-time live streaming content |
US20140280498A1 (en) * | 2013-03-14 | 2014-09-18 | Synacor, Inc. | Media sharing communications system |
CN105144134A (en) * | 2013-03-14 | 2015-12-09 | 辛纳科尔股份有限公司 | Media sharing communications system |
CN109218565A (en) * | 2018-10-22 | 2019-01-15 | 江苏省广播电视总台 | A kind of system constructing TV station's amalgamation media cloud platform |
CN209765499U (en) * | 2019-04-25 | 2019-12-10 | 天津广电默博丰科技有限公司 | media fusion technology platform system based on APP |
CN111949822A (en) * | 2020-08-20 | 2020-11-17 | 山东大学 | An intelligent educational video service system based on cloud computing and mobile terminal and its operation method |
Non-Patent Citations (2)
Title |
---|
OMAR ALI: "Improved_media_management_through_cloud_computing_technology", IEEE, 15 September 2016 (2016-09-15) * |
孙洋: "流媒体管理关键技术应用分析与展望———以中国农业科学院网站群为例", 农业展望, 31 December 2012 (2012-12-31), pages 88 - 90 * |
Also Published As
Publication number | Publication date |
---|---|
CN118413696B (en) | 2024-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11089358B2 (en) | Method of unscrambling television content on a bandwidth | |
US11120293B1 (en) | Automated indexing of media content | |
US8510644B2 (en) | Optimization of web page content including video | |
US8265457B2 (en) | Proxy editing and rendering for various delivery outlets | |
US8615159B2 (en) | Methods and systems for cataloging text in a recorded session | |
CN109791557B (en) | Computer-implemented method for managing asset storage and storage system | |
CN104396263A (en) | Methods and systems for real-time transmuxing of streaming media content | |
JP6920475B2 (en) | Modify digital video content | |
CN106878315A (en) | Variable Rate Media Delivery System | |
US10516911B1 (en) | Crowd-sourced media generation | |
WO2021159770A1 (en) | Video playback method, device, apparatus, and storage medium | |
US20190098066A1 (en) | Dynamic archiving of streaming content | |
CN108683946B (en) | Method for realizing online video education based on face recognition and cache mechanism | |
KR20180111981A (en) | Edit real-time content with limited interaction | |
CN103152363B (en) | For the method and system that the self adaptation of state snapshot produces | |
US20170041375A1 (en) | Generating content fragments for content distribution | |
CN118413696B (en) | A streaming media management system based on cross-cloud integrated environment | |
US12184915B2 (en) | Method for personalized broadcasting | |
US10673919B1 (en) | Concurrent input monitor and ingest | |
US12052447B1 (en) | Dynamically moving transcoding of content between servers | |
CN119182872A (en) | Video storage method, device, electronic device, storage medium and program product | |
Babu et al. | Real Time Implementation on Media Presentation Description for MPEG-DASH | |
Hersly | Smarter Workflows for Multi-platform Delivery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |