CN109005433A - A kind of video cloud service platform architecture and implementation method - Google Patents

A kind of video cloud service platform architecture and implementation method Download PDF

Info

Publication number
CN109005433A
CN109005433A CN201811024237.8A CN201811024237A CN109005433A CN 109005433 A CN109005433 A CN 109005433A CN 201811024237 A CN201811024237 A CN 201811024237A CN 109005433 A CN109005433 A CN 109005433A
Authority
CN
China
Prior art keywords
service
title
node
cloud
management
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
Application number
CN201811024237.8A
Other languages
Chinese (zh)
Other versions
CN109005433B (en
Inventor
张海涛
马华东
徐政钧
唐炳昌
李海飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201811024237.8A priority Critical patent/CN109005433B/en
Publication of CN109005433A publication Critical patent/CN109005433A/en
Application granted granted Critical
Publication of CN109005433B publication Critical patent/CN109005433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5051Service on demand, e.g. definition and deployment of services in real time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5054Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4431OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4437Implementing a Virtual Machine [VM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • Library & Information Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of video cloud service platform and implementation methods, wherein, method is applied to video cloud service platform architecture, the framework includes: cloud service platform manager, container cloud, cloud service management database and mirror image warehouse, this method comprises: cloud service platform manager receives the first request of the creation first service example that Video Applications system is sent, and the first request is forwarded to management node;Management node in container cloud calls the working node in container cloud, and the corresponding relationship for obtaining the title of called working node and first service example is sent to called working node;Then, then to cloud service platform manager send the corresponding service mirror image of title of application first service example;Cloud service platform manager pulls service mirror image from mirror image warehouse and is sent to called working node, and working node creates first service example using service mirror image.Service Instance is created using containerization technique, improves the performance of Video service.

Description

A kind of video cloud service platform architecture and implementation method
Technical field
The present invention relates to field of computer technology, more particularly to a kind of video cloud service platform architecture and implementation method.
Background technique
With the development of smart city and video technique, the effect that video data plays is increasing, handles video data Video service cloud platform also obtained quick development.
The framework of existing video cloud service platform is as shown in Figure 1, mainly include management node, resource manager and work Node.Its workflow specifically includes that
(1) Video Applications system issues service-creation request, intelligent video manager and all VIVU (Virtual IntelligentVideo Unit, Virtual Intelligent video processing unit) it is communicated, obtain its calculated performance, Deployment Algorithm kind The information such as class and resource service condition select optimal VIVU using filter and dispatching algorithm, assign the task to it;
(2) if current VIVU is full load, the intelligent video manager then money new from trend resource manager application Source, resource manager are distributed resource from resource pool and are generated new VIVU in the form of virtual machine, then intelligent video manager Re-start scheduling;
(3) user obtains Video service by service access gateway, and service access gateway will be chosen most according to dispatching algorithm Excellent chartered video service distribution is to user;
(4) when VIVU completes video processing duties or user cancels video processing duties, if there is more free time VIVU, The VIVU of intelligent video manager meeting auto-destruct free time simultaneously discharges resource, and then resource manager recycles the resource.
However, inventor has found in the implementation of the present invention, at least there are the following problems for the prior art: with virtual machine It will lead to additional resource overhead for the source scheduling mode of granularity;And since virtual machine is heavyweight unit, needed in creation Spend more time;And the resource fragmentation that can not be utilized is easy to produce when creation virtual machine.Therefore, existing video cloud clothes Platform resource utilization rate of being engaged in is lower.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of video cloud service platform architecture and implementation method, to improve video The resource utilization of cloud service platform.Specific technical solution is as follows:
In a first aspect, providing a kind of video cloud service platform implementation method, the method is flat applied to video cloud service Rack structure, the framework include: cloud service platform manager, container cloud, cloud service management database and mirror image warehouse, the appearance Device cloud includes: management node and multiple working nodes, and the working node is configured with container engine, which comprises
The cloud service platform manager receives the first request of the creation first service example that Video Applications system is sent, It wherein, include the first user information, the title and resource requirement of the first service example in first request;
If being stored with first user information and the first service example in cloud service management database Title, the cloud service platform manager manage database to management node forwarding first request, the cloud service In be stored with the title of user information and Service Instance;
The management node calls working node according to the resource requirement and preset scheduling rule;The management section Point binds the working node called and the title of the first service example, obtains called working node and institute The corresponding relationship of the title of first service example is stated, and sends the corresponding relationship to the working node called;
The working node called sends to the cloud service platform manager and applies after receiving the corresponding relationship The corresponding service mirror image of the title of the first service example;
The title that the cloud service platform manager pulls the first service example from the mirror image warehouse is corresponding Service mirror image;The service mirror image pulled is sent to called working node by the cloud service platform manager, is called Working node container engine using receive service mirror image creation CIVU example, using the CIVU example created as institute State first service example.
Optionally, the framework further include: service access gateway;
The service mirror image pulled is sent to called working node in the cloud service platform manager, is called Working node container engine using receive service mirror image creation CIVU example after, the method also includes:
The working node called sends service registration request to the service access gateway, includes in the registration request The corresponding relationship of the title of the working node and the first service example that are called;The service access gateway storage is called Working node and the first service example title corresponding relationship;The method also includes:
Second request of the access second service example that the service access gateway reception second user is sent, described second It include the title of second user information and the second service example in request;The service access gateway inquires the cloud service It manages and whether there is the second user information in database;If it does, service access gateway inquiry second clothes The corresponding working node of the title of pragmatic example;The service access gateway is calculated according to the working node and load balancing inquired Method selects optimal working node;The service access gateway is requested to selected working node forwarding described second, institute The working node of choosing determines the corresponding CIVU example of the title of the second service example, identified CIVU example operation clothes Business, obtains service result;
The service result is back to selected working node by identified CIVU example, and selected working node is by institute It states service result and is back to the service access gateway, the service result is back to described second by the service access gateway User.
Optionally, the method also includes:
The cloud service platform manager receives the third for the inquiry third Service Instance that the Video Applications system is sent Request, wherein the third request includes the title of third user information and the third Service Instance;If the cloud service It is stored with the third user information in management database, and is stored with the title of the third Service Instance, the cloud clothes Business Platform Manager forwards the third request to the management node;
The management node inquires the third according to the title of the third Service Instance from cluster state database The status information of Service Instance, obtains query result, wherein the corresponding shape of storage service example in the cluster state database State information;The query result is back to the cloud service platform manager by the management node;
The query result is back to the Video Applications system by the cloud service platform manager.
Optionally, the method also includes:
The cloud service platform manager receives the 4th of the 4th Service Instance of deletion that the Video Applications system is sent Request, wherein the 4th request includes the title of fourth user information and the 4th Service Instance;
If being stored with the fourth user information and the 4th Service Instance in cloud service management database Title, the cloud service platform manager are requested to management node forwarding the described 4th;
The management node according to the title of the 4th Service Instance, determined from the cluster state database described in The corresponding working node of title of 4th Service Instance, and by the shape of the 4th Service Instance described in the cluster state database State information is deleted;
The management node is requested to identified working node forwarding the described 4th;
Identified working node deletes the corresponding CIVU example of title of the 4th Service Instance, obtains deleting knot Fruit;
The deletion result is back to the management node by identified working node;
The deletion result information is back to the cloud service platform manager by the management node;
The deletion result is back to the Video Applications system by the cloud service platform manager.
Optionally, the method also includes:
The cloud service platform manager receives the 5th of the 5th Service Instance of monitoring that the Video Applications system is sent Request, wherein the 5th request includes the title of the 5th user information and the 5th Service Instance;
The cloud service platform manager is inquired in the cloud service management database to be believed with the presence or absence of the 5th user The title of breath and the 5th Service Instance;If in the cloud service management database, there are the 5th user information and institutes The title of the 5th Service Instance is stated, the cloud service platform manager is requested to management node forwarding the described 5th;
The title that the management node inquires the 5th Service Instance from the cluster state database is corresponding The status information of CIVU example, obtains monitored results;
The monitored results are back to the cloud service platform manager by the management node;
The monitored results are back to the Video Applications system by the cloud service platform manager.
Second aspect, provides a kind of video cloud service platform architecture, the framework include: cloud service platform manager, Container cloud, cloud service management database and mirror image warehouse, the container cloud include: management node and multiple working nodes, described Management node includes: task scheduling modules, Container Management API and management control module, and the working node draws configured with container It holds up, the working node includes service agent module and node administration module, in which:
The cloud service platform manager is used for, and receives the first of the creation first service example that Video Applications system is sent Request, wherein include the first user information, the title and resource requirement of the first service example in first request;
The cloud service platform manager is also used to, and is used if being stored with described first in cloud service management database The title of family information and the first service example, the cloud service platform manager forward described first to the management node Request, the cloud service manage the title that user information and Service Instance are stored in database;
Task scheduling modules in the management node are used for, and according to the resource requirement and preset scheduling rule, are adjusted Use working node;
Task scheduling modules in the management node are also used to, and the working node called and the first service is real The title of example is bound, and the corresponding relationship of the title of called working node and the first service example is obtained;
Node administration module in the working node called is used for, and is receiving the Container Management in the management node After the corresponding relationship that API is sent, the title for applying for the first service example is sent to the cloud service platform manager Corresponding service mirror image;
The cloud service platform manager is also used to, and the title of the first service example is pulled from the mirror image warehouse Corresponding service mirror image;
The cloud service platform manager is also used to, and the service mirror image pulled is sent in called working node Management module;
The container engine of the working node called is used for, and CIVU example is created using the service mirror image received, by institute The CIVU example of creation is as the first service example.
Optionally, the framework further include: service access gateway, the gateway include user log-in block, safety Authentication module, load balancing module and service discovery module;
The service mirror image pulled is sent to the pipe in called working node in the cloud service platform manager Module is managed to be called after the container engine of the working node called is using the service mirror image creation CIVU example received Working node in node administration module be also used to, service discovery module into the service access gateway sends service note Volume is requested, the corresponding relationship of the title comprising called working node and the first service example in the registration request;
Service discovery module in the service access gateway is used for, and stores called working node and first clothes The corresponding relationship of the title of pragmatic example;
User log-in block in the service access gateway is used for, and it is real to receive the access second service that second user is sent The second of example is requested, and includes the title of second user information and the second service example in second request;
User log-in block in the service access gateway is also used to, inquire in cloud service management database whether There are the second user information;If it does, user log-in block inquiry second clothes in the service access gateway The corresponding working node of the title of pragmatic example;
Load balancing module in the service access gateway is used for, and is calculated according to the working node and load balancing inquired Method selects optimal working node;
User log-in block in the service access gateway is used for, and is asked to selected working node forwarding described second It asks;
Selected working node is used for, and determines the corresponding CIVU example of the title of the second service example, identified CIVU example operation service, obtains service result;
Identified CIVU example is used for, and the service result is back to selected working node;Selected work section Point is also used to, and the service result is back to the service access gateway;The security authentication module of the service access gateway For the service result to be back to the second user.
Optionally, the cloud service platform manager is also used to, and receives the inquiry third that the Video Applications system is sent The third of Service Instance is requested, wherein the third request includes the title of third user information and the third Service Instance;
If being stored with the third user information in the cloud service management database, and it is stored with the third clothes The title of pragmatic example, the cloud service platform manager are also used to, described in the Container Management API forwarding into the management node Third request;
Container Management API in the management node, for the title according to the third Service Instance, from cluster state The status information that the third Service Instance is inquired in database, obtains query result, wherein in the cluster state database The corresponding status information of storage service example;
Container Management API in the management node is also used to, and the query result is back to the cloud service platform Manager;
The cloud service platform manager is also used to, and the query result is back to the Video Applications system.
Optionally, the cloud service platform manager is also used to, and receives the deletion the 4th that the Video Applications system is sent 4th request of Service Instance, wherein the 4th request includes the title of fourth user information and the 4th Service Instance;
If being stored with the fourth user information and the 4th Service Instance in cloud service management database Title, the cloud service platform manager are also used to, and the Container Management API forwarding the described 4th into the management node is asked It asks;
Container Management API in the management node is also used to, according to the title of the 4th Service Instance, from the collection Determine the corresponding working node of title of the 4th Service Instance in group's slip condition database, and by the cluster state database Described in the status information of the 4th Service Instance deleted;
Container Management API in the management node is also used to, to identified working node forwarding the 4th request;
Node administration module in identified working node is used for, and the title for deleting the 4th Service Instance is corresponding CIVU example obtains deleting result;
Node administration module in identified working node is also used to, and the deletion result is back to the management and is saved Point;
The node administration module of the management node is also used to, and the deletion result information is back to the cloud service and is put down Platform manager;
The cloud service platform manager is also used to, and the deletion result is back to the Video Applications system.
Optionally, the cloud service platform manager is also used to, and receives the monitoring the 5th that the Video Applications system is sent 5th request of Service Instance, wherein the 5th request includes the title of the 5th user information and the 5th Service Instance;
The cloud service platform manager is also used to, and is inquired in the cloud service management database with the presence or absence of the described 5th The title of user information and the 5th Service Instance;If there is the 5th user information and the 5th Service Instance Title, the cloud service platform manager are also used to, and the Container Management API forwarding the described 5th into the management node is asked It asks;
Container Management API in the management node is used for, and the 5th clothes are inquired from the cluster state database The status information of the corresponding CIVU example of the title of pragmatic example, obtains monitored results;
Container Management API in the management node is also used to, and the monitored results are back to the cloud service platform Manager;
The cloud service platform manager is also used to, and the monitored results are back to the Video Applications system.
The embodiment of the invention provides a kind of video cloud service platform implementation method, the method is applied to video cloud service Platform architecture, the framework include: cloud service platform manager, container cloud, cloud service management database and mirror image warehouse, container Cloud includes: management node and multiple working nodes, and working node is configured with container engine, which comprises cloud service platform Manager receives the first request of the creation first service example that Video Applications system is sent, wherein includes the in the first request One user information, the title and resource requirement of first service example;If being stored with the first user in cloud service management database The title of information and first service example, cloud service platform manager manage number to the first request of management node forwarding, cloud service According to the title for being stored with user information and Service Instance in library;Management node is adjusted according to resource requirement and preset scheduling rule Use working node;Management node binds the working node called and the title of first service example, obtains being called Working node and first service example title corresponding relationship, and send corresponding relationship to the working node that is called;Institute The working node of calling sends the title of application first service example to cloud service platform manager after receiving corresponding relationship Corresponding service mirror image;Cloud service platform manager pulls the corresponding service mirror of title of first service example from mirror image warehouse Picture;The service mirror image pulled is sent to called working node by cloud service platform manager, the working node called Container engine using the service mirror image creation CIVU example received, the CIVU example created is real as first service Example.
Technical solution provided in an embodiment of the present invention constructs video cloud service platform using the container technique of lightweight (being referred to as video micro services cloud platform), and conventional video service platform is realized into cloud, it is virtual relative to being currently based on The Video service cloud platform that machine is realized, improves the performance and resource utilization of Video service.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of schematic diagram of video cloud service platform architecture in the prior art provided in an embodiment of the present invention;
Fig. 2 is a kind of video cloud service platform implementation method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of access Service Instance provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of query service example provided in an embodiment of the present invention;
Fig. 5 is the flow diagram provided in an embodiment of the present invention for deleting Service Instance;
Fig. 6 is the flow diagram of monitoring service example provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of video cloud service platform architecture provided in an embodiment of the present invention;
Fig. 8 is a kind of interaction schematic diagram for creating Service Instance provided in an embodiment of the present invention;
Fig. 9 is a kind of interaction schematic diagram for accessing Service Instance provided in an embodiment of the present invention;
Figure 10 is a kind of interaction schematic diagram of query service example provided in an embodiment of the present invention;
Figure 11 is a kind of interaction schematic diagram for deleting Service Instance provided in an embodiment of the present invention;
Figure 12 is a kind of interaction schematic diagram of monitoring service example provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
As shown in Fig. 2, the embodiment of the invention provides a kind of video cloud service platform implementation method, the method is applied to Video cloud service platform architecture, the framework include: cloud service platform manager, container cloud, cloud service management database and mirror As warehouse, container cloud includes: management node and multiple working nodes, and working node is configured with container engine, the method includes Following steps:
S101: the first of the creation first service example that cloud service platform manager reception Video Applications system is sent is asked It asks, wherein include the first user information, the title and resource requirement of first service example in the first request.
In embodiments of the present invention, user (can indicate creation first service example in order to facilitate description with the first user User) can by Video Applications system to cloud service platform manager send creation first service example first request. Wherein, first request information may include the first user IP address information, for login authentication verification code information, first Resource requirement needed for the title and creation first service example of Service Instance.The title of first service example may include Streaming media server (title for indicating streaming media service) or video synopsis (indicate video concentration service Title) etc..After cloud service platform manager receives the first request, safety certification can be carried out to Video Applications system, so Step S102 is executed afterwards.
S102: if being stored with the title of the first user information and first service example, cloud in cloud service management database Service platform manager is requested to management node forwarding first, and it is pragmatic to be stored with user information kimonos in cloud service management database The title of example.
In embodiments of the present invention, it is previously stored in cloud service management database with each of creation Service Instance permission The title of user information and each Service Instance created.Cloud service platform manager receives the of creation first service example After one request, if cloud service management database is deployed in cloud service platform manager, cloud service manager can be from cloud Then the title that stored user information and Service Instance are inquired in service management database judges that the first request is corresponding Whether the title of the first user information and first service example has stored;If the name of the first user information and first service example Title has stored, then cloud service platform manager is requested to management node forwarding first.Alternatively, if cloud service manages database portion Administration is on other equipment (server such as set in addition), equipment hair of the cloud service manager to deployment cloud service management database Inquiry request is sent, with the title of searching user's information and Service Instance;Then the equipment query of deployment cloud service management database The title of stored each user information and Service Instance, and query result is returned into cloud service platform manager;Cloud clothes Business Platform Manager judges whether the title of corresponding first user information of the first request and first service example has stored;If The title of first user information and first service example has stored, then cloud service platform manager is asked to management node forwarding first It asks.
S103: management node calls working node according to resource requirement and preset scheduling rule.
In embodiments of the present invention, management node can be according to the resource requirement and preset scheduling for including in the first request Rule calls suitable working node.Wherein, resource requirement can refer to the resource size that creation first service example needs; Preset scheduling rule is the load setting based on balanced each working node, and for choosing the work section for creating Service Instance The rule of point.
S104: management node binds the working node called and the title of first service example, obtains being adjusted The corresponding relationship of the title of working node and first service example, and corresponding relationship is sent to the working node called.
In embodiments of the present invention, management node ties up the working node called and the title of first service example It is fixed, the binding information of the corresponding relationship of the available title comprising called working node and first service example.Management Node can be realized to send to the working node called and be somebody's turn to do by way of sending binding information to the working node called Corresponding relationship.
S105: the working node called is after the corresponding relationship for receiving management node transmission, to cloud service platform pipe Manage the corresponding service mirror image of title that device sends application first service example.
S106: cloud service platform manager pulls the corresponding service mirror of title of first service example from mirror image warehouse Picture.
In embodiments of the present invention, the title of each Service Instance in mirror image warehouse and service mirror image can be it is one-to-one into Row storage, cloud service platform manager can pull the corresponding service mirror of title of first service example from mirror image warehouse Picture.Alternatively, cloud service platform manager can send the request that pull service mirror image to mirror image warehouse, wherein the request includes The title of first service example, then the corresponding service mirror image of title of first service example is inquired in mirror image warehouse, and will inquiry To service mirror image be sent to cloud service platform manager.
S107: the service mirror image pulled is sent to called working node by cloud service platform manager, is called Working node container engine using the service mirror image creation CIVU example received, using the CIVU example created as the One Service Instance.
In embodiments of the present invention, working node is configured with container engine, the container engine benefit of the working node called CIVU (Containerized Intelligent Video Unit, containerization intelligence can be created with the service mirror image received Energy video processing unit) example, that is, create the corresponding first service example of the first request.
Technical solution provided in an embodiment of the present invention constructs video cloud service platform using the container technique of lightweight (being referred to as video micro services cloud platform), and conventional video service platform is realized into cloud, it is virtual relative to being currently based on The Video service cloud platform that machine is realized, improves the performance and resource utilization of Video service.
Specifically, video cloud service platform architecture provided in an embodiment of the present invention further includes service access gateway;Above-mentioned After step S107, the working node called sends service registration request to service access gateway, wraps in service registration request The corresponding relationship of title containing the working node and the first service example that are called;The storage of service access gateway is called The corresponding relationship of the title of working node and first service example.Specifically, can be corresponding with Service Instance by working node Relationship is stored in local or cloud service management database.A kind of video cloud service platform realization side provided in an embodiment of the present invention In method, user can access Service Instance by following steps, as shown in Figure 3:
S201: service access gateway receives the second request of the access second service example that second user is sent, and second asks It include the title of second user information and second service example in asking.
After service access gateway receives the second request, safety certification can be carried out to the equipment that user uses, then Execute S202.
S202: service access gateway, which is inquired in cloud service management database, whether there is second user information;If it does, The corresponding working node of title of service access gateway inquiry second service example.
In embodiments of the present invention, service access gateway can be inquired in cloud service management database and be used with the presence or absence of second Family information;Alternatively, service access gateway sends inquiry request to cloud service management database, then cloud service management database is looked into Asking second user information whether there is, and query result is returned to service access gateway.Query result can use service list Form indicate.
S203: service access gateway selects optimal work according to the working node and load-balancing algorithm that inquire Node.
If the second service example created has multiple, and it is distributed on multiple working nodes, service access gateway can To send and choose optimal operating point in the multiple working nodes inquired according to load-balancing algorithm.For example, service access gateway Idle working node or the lesser working node of load can be chosen.If the second service example created inquired Have multiple, but be only distributed on a working node, or the second service example created inquired only one, corresponding one A working node, then optimal working node is exactly this working node.
S204: service access gateway determines the to the second request of selected working node forwarding, selected working node The corresponding CIVU example of the title of two Service Instances, identified CIVU example operation service obtain service result.
S205: service result is back to selected working node by identified CIVU example, and selected working node will Service result is back to service access gateway, and service result is back to second user by service access gateway.
Specifically, in a kind of video cloud service platform implementation method provided in an embodiment of the present invention, user can by with Lower step query service example, as shown in Figure 4:
S301: the third that cloud service platform manager receives the inquiry third Service Instance that Video Applications system is sent is asked It asks, wherein third request includes the title of third user information and third Service Instance.
S302: if being stored with third user information in cloud service management database, and it is stored with third Service Instance Title, cloud service platform manager to management node forwarding third request.
In embodiments of the present invention, if cloud service management database is deployed in cloud service platform manager, cloud service Platform Manager can manage in database whether to inquire the title of third user information and third Service Instance from cloud service In the presence of;Alternatively, if cloud service management database is deployed on other equipment (server such as set in addition), cloud service platform Manager sends inquiry request to the equipment of deployment cloud service management database, and then cloud service management data base querying third is used Whether family information and the title of third Service Instance are existing, and query result is sent to cloud service platform manager.If It is stored with the title of third user information and third Service Instance in cloud service management database, cloud service platform manager is to pipe Manage node forwarding third request.
S303: it is real to inquire third service according to the title of third Service Instance from cluster state database for management node The status information of example, obtains query result, wherein the corresponding status information of storage service example in cluster state database.
In embodiments of the present invention, the status information of Service Instance include the operating condition of Service Instance, Service Instance with The corresponding relationship of working node and the resource of Service Instance use the information such as data.
S304: query result is back to cloud service platform manager by management node.
S305: query result is back to Video Applications system by cloud service platform manager.
Specifically, following step can be passed through in a kind of video cloud service platform implementation method provided in an embodiment of the present invention It is rapid to delete Service Instance, as shown in Figure 5:
S401: the 4th of the 4th Service Instance of deletion that cloud service platform manager reception Video Applications system is sent asks It asks, wherein the 4th request includes the title of fourth user information and the 4th Service Instance.
S402: if being stored with the title of fourth user information and the 4th Service Instance, cloud in cloud service management database Service platform manager is requested to management node forwarding the described 4th.
S403: management node determines that the 4th service is real according to the title of the 4th Service Instance from cluster state database The corresponding working node of title of example, and the status information of the 4th Service Instance in cluster state database is deleted.
S404: management node is requested to identified working node forwarding the 4th.
S405: identified working node deletes the corresponding CIVU example of title of the 4th Service Instance, obtains deleting knot Fruit.
S406: the deletion result is back to management node by identified working node.
S407: management node is back to cloud service platform manager for result information is deleted.
S408: cloud service platform manager is back to Video Applications system for result is deleted.
Specifically, user can be by following steps monitoring service example, as shown in Figure 6:
S501: the 5th of the 5th Service Instance of monitoring that cloud service platform manager reception Video Applications system is sent asks It asks, wherein the 5th request includes the title of the 5th user information and the 5th Service Instance.
In embodiments of the present invention, cloud service platform manager can first answer video after receiving the 5th request Safety certification is carried out with system, then executes step S502.S502: cloud service platform manager inquires cloud service and manages database In whether there is the 5th user information and the 5th Service Instance title;If it does, cloud service platform manager is saved to management The 5th request of point forwarding.
In embodiments of the present invention, if cloud service management database is deployed in cloud service platform manager, cloud service Platform Manager can manage the title that stored each user information and Service Instance are inquired in database from cloud service, so Judge in these stored information afterwards whether include the 5th user information and the 5th Service Instance title.Alternatively, if Cloud service management database be deployed on other equipment (server such as set in addition), cloud service platform manager to deployment cloud The equipment of service management database sends query messages, and cloud service manages the stored each user information kimonos of data base querying The title of pragmatic example, and the result of inquiry is sent to cloud service platform manager, it then disposes cloud service platform manager and sentences In these stored information of breaking whether include the 5th user information and the 5th Service Instance title.
S503: management node inquires the corresponding CIVU example of title of the 5th Service Instance from cluster state database Status information obtains monitored results.
S504: monitored results are back to cloud service platform manager by management node.
S505: monitored results are back to Video Applications system by cloud service platform manager.
Based on technical concept identical with above-mentioned video cloud service platform implementation method, the embodiment of the invention also provides one Kind video cloud service platform architecture, the framework include: cloud service platform manager, container cloud, cloud service management database and mirror As warehouse, container cloud includes: management node and multiple working nodes, and management node includes: task scheduling modules, Container Management API and management control module, working node are configured with container engine, and working node includes service agent module and node administration mould Block, in which:
Cloud service platform manager is used for, and receive the creation first service example that Video Applications system is sent first is asked It asks, wherein include the first user information, the title and resource requirement of first service example in the first request;
Cloud service platform manager is also used to, if being stored with the first user information and first in cloud service management database The title of Service Instance, cloud service platform manager manage in database to management node forwarding first request, cloud service It is stored with the title of user information and Service Instance;
Task scheduling modules in management node are used for, and according to resource requirement and preset scheduling rule, call work section Point;
Task scheduling modules in management node are also used to, by the title of the working node called and first service example It is bound, obtains the corresponding relationship of the title of called working node and first service example;
Node administration module in the working node called is used for, and is receiving the Container Management API in management node After the corresponding relationship sent, the corresponding service mirror of title of application first service example is sent to cloud service platform manager Picture;
Cloud service platform manager is also used to, and the corresponding service mirror of title of first service example is pulled from mirror image warehouse Picture;
Cloud service platform manager is also used to, and the service mirror image pulled is sent to the management of called working node Module;
The container engine of the working node called is used for, and CIVU example is created using the service mirror image received, by institute The CIVU example of creation is as first service example.
Specifically, a kind of video cloud service platform architecture that the embodiment of the present invention provides function further includes service access gateway, Gateway includes user log-in block, security authentication module, load balancing module and service discovery module;
Node administration module in the working node called is also used to, the service discovery module into service access gateway Service registration request is sent, includes called working node pass corresponding with the title of first service example in registration request System;
Service discovery module in service access gateway is used for, and stores called working node and first service example The corresponding relationship of title;
User log-in block in service access gateway is used for, and receives the access second service example that second user is sent Second requests, and includes the title of second user information and second service example in the second request;
User log-in block in service access gateway is also used to, and whether there is second in inquiry cloud service management database User information;If it does, the corresponding work of title of the user log-in block inquiry second service example in service access gateway Make node;
Load balancing module in service access gateway is used for, according to the working node and load-balancing algorithm inquired, Select optimal working node;
User log-in block in service access gateway is used for, to the second request of selected working node forwarding;
Selected working node is used for, and determines the corresponding CIVU example of the title of second service example, identified CIVU Example operation service, obtains service result;
Identified CIVU example is used for, and service result is back to selected working node;Selected working node is also For service result to be back to service access gateway;The security authentication module of service access gateway is used for, and service result is returned It is back to second user.
As shown in fig. 7, being a kind of schematic diagram of video cloud service platform architecture provided in an embodiment of the present invention, the framework packet Include cloud service platform manager, container cloud, cloud service management database, mirror image warehouse, management node, working node, service visit It asks gateway, Video Applications system etc., compares with the video cloud service platform of the prior art, video provided in an embodiment of the present invention Cloud service platform is properly termed as video micro services cloud platform.
Wherein, Video Applications system is the entrance of external offer Video service, and user can pass through Video Applications system application Video service (such as streaming media service, video concentration service etc.) is created, service request can be transmitted to cloud by Video Applications system Service platform manager, and service (i.e. creation Service Instance) is further created by cloud platform service managerZ-HU.
Service access gateway provides the entrance of an access service for user, and service access gateway is mainly stepped on including user Four parts such as record, safety certification, load balancing, service discovery.User log-in block is in query structure database User information compares and completes user's login.Security authentication module carries out safety check, prevents illegal use when with logging in The access at family.When Service Instance creates or updates, can be registered to service discovery component.User's (or client) can pass through Service discovery component obtains IP (Internet Protocol, Internet protocol) and the port of response service.User can be by negative Balanced component is carried, Video service is accessed.Load balancing component obtains IP and the port of corresponding service by service discovery component Then list selects suitable Service Instance to provide service for user using load-balancing algorithm.
Cloud service platform manager provides a set of Restful (representational mainly for Video Applications platform State transfer, declarative state transfer indicate a kind of software architecture style, design style) the platform management API of style (Application Programming Interface, application programming interface).Facilitate Video Applications service creation, The monitoring of resource status, the management of serve log and management of platform user etc..Cloud service platform manager mainly includes peace The main modulars such as full certification, user management, mirror image management, service management, log management.Cloud service platform manager mainly provides It is used to the administrator of cluster.
It is a structured database that cloud service, which manages database, the structuring letter being responsible in storage video cloud service platform Breath, such as user information, Video Applications information, user and relationship of service etc..
Container cloud includes management node and working node.Management node includes task schedule, management control, Container Management Three components such as API.Working node includes two components such as service broker, node administration.Container Management API is each in container cloud Interaction and the central hub communicated between a component, it provides all kinds of resource objects, and (computing resource, memory source, service are real Example etc.) increasing, the Restful interface such as delete, change, looking into.Management control assembly is the management control center of entire cluster, and it is flat to be responsible for cloud The management such as node, example copy, resource quota in platform.Task schedule component is the task schedule center in cloud platform, it connects Service Instance to be scheduled is received, selects a suitable node operation for it.The core function of service brokering component is will be to certain The access of a service is forwarded in multiple examples of rear end.Node administration component can collect the resource and example shape of this node State, periodically to cloud service platform Administration API report node state.Node manager inquires the fortune of cluster by Container Management API Row state synchronizes local example.Cluster state database is responsible for the operating status of storage cluster, the shape including each node State, the state etc. of each Service Instance.Entire cloud platform bottom is the computing cluster being made of high-performance server, each service It is equipped with container engine on device, provides Video service as upper layer in the form of CIVU.
Mirror image warehouse is the mirrored storage center of Video Applications, provides the downloading and upload function of mirror image.When a video When task schedule is to working node, which will pull corresponding mirror image from mirror image warehouse by cloud service platform manager, Then corresponding Service Instance is created.Meanwhile after new Video Applications are made into mirror image, it can also be uploaded to mirror image storehouse Library provides service for cluster.
Specifically, cloud service platform manager is also used to, the inquiry third Service Instance that Video Applications system is sent is received Third request, wherein third request include third user information and third Service Instance title;
If being stored with third user information in cloud service management database, and it is stored with the name of third Service Instance Claim, cloud service platform manager is also used to, the Container Management API forwarding third request into management node;
Container Management API in management node, for the title according to third Service Instance, from cluster state database The status information for inquiring third Service Instance, obtains query result, wherein storage service example is corresponding in cluster state database Status information;
Container Management API in management node is also used to, and query result is back to cloud service platform manager;
Cloud service platform manager is also used to, and query result is back to Video Applications system.
Specifically, cloud service platform manager is also used to, the 4th Service Instance of deletion that Video Applications system is sent is received The 4th request, wherein the 4th request include fourth user information and the 4th Service Instance title;
If being stored with the title of fourth user information and the 4th Service Instance in cloud service management database, cloud service is flat Platform manager is also used to, the 4th request of Container Management API forwarding into management node;
Container Management API in management node is also used to, according to the title of the 4th Service Instance, from cluster state database The corresponding working node of title of middle the 4th Service Instance of determination, and by the state of the 4th Service Instance in cluster state database Information is deleted;
Container Management API in management node is also used to, to the 4th request of identified working node forwarding;
Node administration module in identified working node is used for, and deletes the corresponding CIVU of title of the 4th Service Instance Example obtains deleting result;
Node administration module in identified working node is also used to, and will be deleted result and is back to management node;
The node administration module of management node is also used to, and will be deleted result information and is back to cloud service platform manager;
Cloud service platform manager is also used to, and will be deleted result and is back to Video Applications system.
Specifically, cloud service platform manager is also used to, the 5th Service Instance of monitoring that Video Applications system is sent is received The 5th request, wherein the 5th request include the 5th user information and the 5th Service Instance title;
Cloud service platform manager is also used to, with the presence or absence of the 5th user information and the in inquiry cloud service management database The title of five Service Instances;If title exists, cloud service platform manager is also used to, the Container Management into management node The 5th request of API forwarding;
Container Management API in management node is used for, and the title of the 5th Service Instance is inquired from cluster state database The status information of corresponding CIVU example, obtains monitored results;
Container Management API in management node is also used to, and monitored results are back to cloud service platform manager;
Cloud service platform manager is also used to, and monitored results are back to Video Applications system.
Each module that each component part and each component part that video cloud service platform architecture in conjunction with Fig. 7 includes include, The embodiment of the invention provides a kind of flow charts for creating Service Instance, as shown in figure 8, the process includes:
1. the first request that Video Applications system sends creation first service example to cloud service platform manager, wherein It include the first user information, the title and resource requirement of first service example in first request;
2. the Administration API in cloud service platform manager receives the first request, and carries out safety certification;
3. cloud service platform manager manages database query user information and information on services to cloud service;
4. cloud service, which manages database, returns to cloud service platform manager for query result, if including in query result The title of first request corresponding first user information and first service example, then it is rapid to execute step 5;
5. cloud service platform manager is requested to Container Management API forwarding first;
6. the request that Container Management API sends inquiry working node to task scheduling modules;
7. task scheduling modules call working node according to resource requirement and preset scheduling rule in the first request, The working node called and the title of the first service example are bound, included called working node with Then binding information is returned to Container Management API by the binding information of the corresponding relationship of the title of first service example;
8. cluster state cdr database is written in binding information by Container Management API;
9. write operation result is fed back to Container Management API by cluster state database;
10. Container Management API working node interior joint management module sends the Service Instance comprising above-mentioned corresponding relationship and opens Dynamic information;
11. node administration module services mirror image by cloud service platform manager, to the application of mirror image warehouse;
12. mirror image warehouse pulls the corresponding service mirror image of title of first service example, and the service mirror image is returned to Node administration module;
13. the container engine in node administration module creates CIVU example using the service mirror image received;
After 14. node administration component creates Service Instance success, the service discovery module application into service access gateway The request of service registration;
15. the service discovery module in service access gateway receives request and registration service, and registering result information is returned Back to node administration module;
16. after node administration module receives the feedback information from service access gateway, returning and servicing to Container Management API Example creates result information;
17. the Service Instance that Container Management API receiving node management module is sent creates result information, and will create result Information is sent to cloud service platform manager;
18. cloud service platform manager receives creation result information, and creation result information is sent to Video Applications system System.
As shown in figure 9, the process that user accesses Service Instance includes:
1. user log-in block of the user into service access gateway sends the second request of second service example, second is asked It include the title of second user information and second service example in asking;
2. the user log-in block of service access gateway manages database request searching user's information to cloud service;
3. cloud service manages database and receives searching user's information after request, and query result is returned to service access net The user log-in block in the Central Shanxi Plain;
4. if the safety certification comprising the second user information in the second request in query result, in service access gateway Module carries out Security Authentication Service to second user;
5. load balancing module forwarding second of the security authentication module in service access gateway into service access gateway Request;
6. the service register module application in service access gateway checks second after load balancing component receives the second request The corresponding current registered service list of the title of Service Instance, service list include that the title of second service example is corresponding Available work node;
7. the corresponding service list of title of service discovery module polls second service example, and return to load balancing mould Block;
8. after load balancing module receives service list, optimal working node is selected according to load-balancing algorithm;
9. service agent module of the load balancing module into the working node selected sends access request;
10. service agent module sends service request to corresponding CIVU example;
11. the CIVU example operation service of bottom, and service result is returned into service agent module;
12. service agent module receives the service result from CIVU example and is transmitted to load balancing module;
13. load balancing module receives service result, and is transmitted to user log-in block in service access gateway;
14. the user log-in block in service access gateway receives the service result from load balancing component, and returns To user.
As shown in Figure 10, the process of user query Service Instance includes:
1. the third request that Video Applications system sends inquiry third Service Instance to cloud service platform manager, wherein Third request includes the title of third user information and third Service Instance;
2. the Administration API in cloud service platform manager receives third request, and carries out safety certification;
3. cloud service platform manager manages database query user information and information on services to cloud service;
4. cloud service, which manages database, returns to cloud service platform manager for the user information inquired and information on services;
5. if include the title of third user information and third Service Instance, cloud service platform manager in query result Container Management API forwarding third request into container cloud;
6. Container Management API receives third request, and inquires the shape of third Service Instance to cluster state database application State information;
7. cluster state data base querying is to the status information of third Service Instance, after obtaining query result, result is returned Back to Container Management API;
8. query result is transmitted to cloud service platform manager by Container Management API;
9. query result is transmitted to Video Applications system by cloud service platform manager.
As shown in figure 11, the process of user's deletion Service Instance includes:
1. Video Applications system sends the 4th request for deleting the 4th Service Instance to cloud service platform manager, wherein 4th request includes the title of fourth user information and the 4th Service Instance;
2. cloud service platform manager receives the 4th request, and carries out safety certification;
3. cloud service platform manager manages database query user information and information on services to cloud service;
4. cloud service, which manages database, returns to cloud service platform manager for the user information inquired and information on services;
5. if be stored with the title of fourth user information and the 4th Service Instance, cloud service in cloud service management database Container Management API forwarding fourth request of the Platform Manager into container cloud;
6. the corresponding work section of title that Container Management API inquires the 4th Service Instance to cluster state database application Point, and the status information of the 4th Service Instance in cluster state database is deleted;
7. identified working node is returned to Container Management API by cluster state database, and will delete cluster state The status information of 4th Service Instance in database;
After 8. Container Management API receives the deletion result information from cluster state database, to identified work The node administration module of node sends the 4th request;
9. node administration module receives the 4th request, and deletes the related CIVU example of this node, obtain deleting result;
10. node administration module returns to Container Management API for result is deleted;
11. Container Management API is transmitted to cloud service platform manager for result is deleted;
12. cloud service platform manager is transmitted to Video Applications system for result is deleted.
As shown in figure 12, the process of user monitoring Service Instance includes:
1. the 5th request that Video Applications system sends the 5th Service Instance of monitoring to cloud service platform manager, wherein 5th request includes the title of the 5th user information and the 5th Service Instance;
2. cloud service platform manager receives the 5th request, and carries out safety certification;
3. cloud service platform manager manages database query user information and information on services to cloud service;
4. cloud service, which manages database, returns to cloud service platform manager for the user information inquired and information on services;
If 5. the user information inquired and service information include the 5th user information and the 5th Service Instance title, Container Management API of the cloud service platform manager into container cloud sends the 5th request;
6. Container Management API receives the 5th request, and inquires the name of the 5th Service Instance to cluster state database application Claim the status information of corresponding CIVU example;
7., will after the status information of the corresponding CIVU example of the title of cluster state data base querying to the 5th Service Instance Query result (i.e. monitored results) returns to Container Management API;
8. query result is transmitted to cloud service platform manager by Container Management API;
9. query result is transmitted to Video Applications system by cloud service platform manager;
10. repeating the request that 5-9 process issues stopping service monitoring until receiving Video Applications system;
11. cloud service platform manager stops service monitoring, and monitored results are returned to Video Applications system.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.The foregoing is merely this The preferred embodiment of invention, is not intended to limit the scope of the present invention.All within the spirits and principles of the present invention Any modification, equivalent replacement, improvement and so on are included within the scope of protection of the present invention.

Claims (10)

1. a kind of video cloud service platform implementation method, which is characterized in that the method is applied to video cloud service platform architecture, The framework includes: cloud service platform manager, container cloud, cloud service management database and mirror image warehouse, the container cloud packet Include: management node and multiple working nodes, the working node are configured with container engine, which comprises
The cloud service platform manager receives the first request of the creation first service example that Video Applications system is sent, In, it include the first user information, the title and resource requirement of the first service example in first request;
If being stored with the title of first user information and the first service example in the cloud service management database, To management node forwarding first request, the cloud service manages to be stored the cloud service platform manager in database There is the title of user information and Service Instance;
The management node calls working node according to the resource requirement and preset scheduling rule;
The management node binds the working node called and the title of the first service example, obtains being called Working node and the first service example title corresponding relationship, and send the correspondence to the working node that is called Relationship;
The working node called is sent described in application after receiving the corresponding relationship to the cloud service platform manager The corresponding service mirror image of the title of first service example;
The cloud service platform manager pulls the corresponding service of title of the first service example from the mirror image warehouse Mirror image;
The service mirror image pulled is sent to called working node by the cloud service platform manager, the work called The container engine of node is using the service mirror image creation CIVU example received, using the CIVU example created as described first Service Instance.
2. the method according to claim 1, wherein the framework further include: service access gateway;
The service mirror image pulled is sent to called working node in the cloud service platform manager, the work called After the container engine for making node utilizes the service mirror image creation CIVU example received, the method also includes:
The working node called sends service registration request to the service access gateway, includes to be adjusted in the registration request The corresponding relationship of the title of working node and the first service example;
The service access gateway stores the corresponding relationship of the title of called working node and the first service example;
The method also includes:
The service access gateway receives the second request of the access second service example that second user is sent, second request In include second user information and the second service example title;
The service access gateway, which is inquired in the cloud service management database, whether there is the second user information;If deposited The service access gateway inquires the corresponding working node of title of the second service example;
The service access gateway selects optimal working node according to the working node and load-balancing algorithm that inquire;
The service access gateway is requested to selected working node forwarding described second, described in selected working node determination The corresponding CIVU example of the title of second service example, identified CIVU example operation service obtain service result;
The service result is back to selected working node by identified CIVU example, and selected working node is by the clothes Business result is back to the service access gateway, and the service result is back to described second and used by the service access gateway Family.
3. the method according to claim 1, wherein the method also includes:
The cloud service platform manager receives the third request for the inquiry third Service Instance that the Video Applications system is sent, Wherein, the third request includes the title of third user information and the third Service Instance;
If being stored with the third user information in the cloud service management database, and it is real to be stored with the third service The title of example, the cloud service platform manager forward the third request to the management node;
The management node inquires the third service according to the title of the third Service Instance from cluster state database The status information of example, obtains query result, wherein the corresponding state letter of storage service example in the cluster state database Breath;
The query result is back to the cloud service platform manager by the management node;
The query result is back to the Video Applications system by the cloud service platform manager.
4. method according to claim 1 or 3, which is characterized in that the method also includes:
The cloud service platform manager receives the 4th request of the 4th Service Instance of deletion that the Video Applications system is sent, Wherein, the 4th request includes the title of fourth user information and the 4th Service Instance;
If being stored with the title of the fourth user information and the 4th Service Instance in the cloud service management database, The cloud service platform manager is requested to management node forwarding the described 4th;
The management node determines the described 4th according to the title of the 4th Service Instance from the cluster state database The corresponding working node of the title of Service Instance, and the state of the 4th Service Instance described in the cluster state database is believed Breath is deleted;
The management node is requested to identified working node forwarding the described 4th;
Identified working node deletes the corresponding CIVU example of title of the 4th Service Instance, obtains deleting result;
The deletion result is back to the management node by identified working node;
The deletion result information is back to the cloud service platform manager by the management node;
The deletion result is back to the Video Applications system by the cloud service platform manager.
5. the method according to claim 1, wherein the method also includes:
The cloud service platform manager receives the 5th request of the 5th Service Instance of monitoring that the Video Applications system is sent, Wherein, the 5th request includes the title of the 5th user information and the 5th Service Instance;
The cloud service platform manager inquire in the cloud service management database with the presence or absence of the 5th user information and The title of 5th Service Instance;If there are the 5th user informations and described the in cloud service management database The title of five Service Instances, the cloud service platform manager are requested to management node forwarding the described 5th;
The corresponding CIVU of title that the management node inquires the 5th Service Instance from the cluster state database is real The status information of example, obtains monitored results;
The monitored results are back to the cloud service platform manager by the management node;
The monitored results are back to the Video Applications system by the cloud service platform manager.
6. a kind of video cloud service platform architecture, which is characterized in that the framework include: cloud service platform manager, container cloud, Cloud service manages database and mirror image warehouse, the container cloud include: management node and multiple working nodes, the management node It include: task scheduling modules, Container Management API and management control module, the working node is configured with container engine, the work Making node includes service agent module and node administration module, in which:
The cloud service platform manager is used for, and receive the creation first service example that Video Applications system is sent first is asked It asks, wherein include the first user information, the title and resource requirement of the first service example in first request;
The cloud service platform manager is also used to, if being stored with the first user letter in cloud service management database The title of breath and the first service example, the cloud service platform manager are asked to management node forwarding described first It asks, the title of user information and Service Instance is stored in the cloud service management database;
Task scheduling modules in the management node are used for, and according to the resource requirement and preset scheduling rule, call work Make node;
Task scheduling modules in the management node are also used to, by the working node called and the first service example Title is bound, and the corresponding relationship of the title of called working node and the first service example is obtained;
Node administration module in the working node called is used for, and is receiving the Container Management API in the management node After the corresponding relationship sent, is sent to the cloud service platform manager and apply for that the title of the first service example is corresponding Service mirror image;
The cloud service platform manager is also used to, and the title that the first service example is pulled from the mirror image warehouse is corresponding Service mirror image;
The cloud service platform manager is also used to, the pipe service mirror image pulled being sent in called working node Manage module;
The container engine of the working node called is used for, and is created CIVU example using the service mirror image received, will be created CIVU example as the first service example.
7. framework according to claim 6, which is characterized in that the framework further include: service access gateway, the service Gateway includes user log-in block, security authentication module, load balancing module and service discovery module;
The service mirror image pulled is sent to the management mould in called working node in the cloud service platform manager Block, after the container engine of the working node called is using the service mirror image creation CIVU example received, the work called The node administration module made in node is also used to, and the service discovery module into the service access gateway sends service registration and asks It asks, the corresponding relationship of the title comprising called working node and the first service example in the registration request;
Service discovery module in the service access gateway is used for, and stores called working node and the first service is real The corresponding relationship of the title of example;
User log-in block in the service access gateway is used for, and receives the access second service example that second user is sent Second requests, and includes the title of second user information and the second service example in second request;
User log-in block in the service access gateway is also used to, and inquiring in the cloud service management database whether there is The second user information;If it does, the user log-in block in the service access gateway inquires the second service reality The corresponding working node of title of example;
Load balancing module in the service access gateway is used for, according to the working node and load-balancing algorithm inquired, Select optimal working node;
User log-in block in the service access gateway is used for, to selected working node forwarding second request;
Selected working node is used for, and determines the corresponding CIVU example of the title of the second service example, identified CIVU Example operation service, obtains service result;
Identified CIVU example is used for, and the service result is back to selected working node;Selected working node is also For the service result to be back to the service access gateway;The security authentication module of the service access gateway is used for, The service result is back to the second user.
8. framework according to claim 6, it is characterised in that:
The cloud service platform manager is also used to, and receives the of the inquiry third Service Instance that the Video Applications system is sent Three requests, wherein the third request includes the title of third user information and the third Service Instance;
If being stored with the third user information in the cloud service management database, and it is real to be stored with the third service The title of example, the cloud service platform manager are also used to, and the Container Management API into the management node forwards the third Request;
Container Management API in the management node, for the title according to the third Service Instance, from cluster state data The status information that the third Service Instance is inquired in library, obtains query result, wherein stores in the cluster state database The corresponding status information of Service Instance;
Container Management API in the management node is also used to, and the query result is back to the cloud service platform management Device;
The cloud service platform manager is also used to, and the query result is back to the Video Applications system.
9. the framework according to claim 6 or 8, it is characterised in that:
The cloud service platform manager is also used to, and receives the of the 4th Service Instance of deletion that the Video Applications system is sent Four requests, wherein the 4th request includes the title of fourth user information and the 4th Service Instance;
If being stored with the title of the fourth user information and the 4th Service Instance in the cloud service management database, The cloud service platform manager is also used to, the 4th request of the Container Management API forwarding into the management node;
Container Management API in the management node is also used to, according to the title of the 4th Service Instance, from the cluster shape Determine the corresponding working node of title of the 4th Service Instance in state database, and by institute in the cluster state database The status information for stating the 4th Service Instance is deleted;
Container Management API in the management node is also used to, to identified working node forwarding the 4th request;
Node administration module in identified working node is used for, and deletes the corresponding CIVU of title of the 4th Service Instance Example obtains deleting result;
Node administration module in identified working node is also used to, and the deletion result is back to the management node;
The node administration module of the management node is also used to, and the deletion result information is back to the cloud service platform pipe Manage device;
The cloud service platform manager is also used to, and the deletion result is back to the Video Applications system.
10. framework according to claim 6, it is characterised in that:
The cloud service platform manager is also used to, and receives the of the 5th Service Instance of monitoring that the Video Applications system is sent Five requests, wherein the 5th request includes the title of the 5th user information and the 5th Service Instance;
The cloud service platform manager is also used to, and is inquired in the cloud service management database with the presence or absence of the 5th user The title of information and the 5th Service Instance;If there is the name of the 5th user information and the 5th Service Instance Claim, the cloud service platform manager is also used to, the 5th request of the Container Management API forwarding into the management node;
Container Management API in the management node is used for, and it is real that the 5th service is inquired from the cluster state database The status information of the corresponding CIVU example of title of example, obtains monitored results;
Container Management API in the management node is also used to, and the monitored results are back to the cloud service platform management Device;
The cloud service platform manager is also used to, and the monitored results are back to the Video Applications system.
CN201811024237.8A 2018-09-04 2018-09-04 A kind of video cloud service platform architecture and implementation method Active CN109005433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811024237.8A CN109005433B (en) 2018-09-04 2018-09-04 A kind of video cloud service platform architecture and implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811024237.8A CN109005433B (en) 2018-09-04 2018-09-04 A kind of video cloud service platform architecture and implementation method

Publications (2)

Publication Number Publication Date
CN109005433A true CN109005433A (en) 2018-12-14
CN109005433B CN109005433B (en) 2019-05-21

Family

ID=64591478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811024237.8A Active CN109005433B (en) 2018-09-04 2018-09-04 A kind of video cloud service platform architecture and implementation method

Country Status (1)

Country Link
CN (1) CN109005433B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365942A (en) * 2019-07-18 2019-10-22 北京工业大数据创新中心有限公司 A kind of real-time video intelligent analysis method and system
CN111083213A (en) * 2019-12-09 2020-04-28 苏宁云计算有限公司 Communication method and system
CN111967741A (en) * 2020-08-04 2020-11-20 中国人民解放军国防科技大学 EC 2-based cloud fluidization command architecture design method for unmanned combat system
CN112764825A (en) * 2020-12-30 2021-05-07 望海康信(北京)科技股份公司 Service integration system, corresponding device and storage medium
CN114327846A (en) * 2020-09-30 2022-04-12 腾讯科技(深圳)有限公司 Cluster capacity expansion method and device, electronic equipment and computer readable storage medium
CN115996240A (en) * 2022-12-16 2023-04-21 兴唐通信科技有限公司 Distributed video cloud state information synchronization device and method based on message queue

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050273507A1 (en) * 2004-06-08 2005-12-08 Yong Yan Method and system for managing heterogeneous resources across a distributed computer network
CN104618693A (en) * 2015-02-09 2015-05-13 北京邮电大学 Cloud computing based online processing task management method and system for monitoring video
CN105245373A (en) * 2015-10-12 2016-01-13 天津市普迅电力信息技术有限公司 Construction and operation method of container cloud platform system
CN105282624A (en) * 2014-06-23 2016-01-27 中兴通讯股份有限公司 Desktop cloud video play processing method and device
CN105704458A (en) * 2016-03-22 2016-06-22 北京邮电大学 Container-technology-based video monitoring cloud service platform realization method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050273507A1 (en) * 2004-06-08 2005-12-08 Yong Yan Method and system for managing heterogeneous resources across a distributed computer network
CN105282624A (en) * 2014-06-23 2016-01-27 中兴通讯股份有限公司 Desktop cloud video play processing method and device
CN104618693A (en) * 2015-02-09 2015-05-13 北京邮电大学 Cloud computing based online processing task management method and system for monitoring video
CN105245373A (en) * 2015-10-12 2016-01-13 天津市普迅电力信息技术有限公司 Construction and operation method of container cloud platform system
CN105704458A (en) * 2016-03-22 2016-06-22 北京邮电大学 Container-technology-based video monitoring cloud service platform realization method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365942A (en) * 2019-07-18 2019-10-22 北京工业大数据创新中心有限公司 A kind of real-time video intelligent analysis method and system
CN111083213A (en) * 2019-12-09 2020-04-28 苏宁云计算有限公司 Communication method and system
CN111967741A (en) * 2020-08-04 2020-11-20 中国人民解放军国防科技大学 EC 2-based cloud fluidization command architecture design method for unmanned combat system
CN114327846A (en) * 2020-09-30 2022-04-12 腾讯科技(深圳)有限公司 Cluster capacity expansion method and device, electronic equipment and computer readable storage medium
CN112764825A (en) * 2020-12-30 2021-05-07 望海康信(北京)科技股份公司 Service integration system, corresponding device and storage medium
CN112764825B (en) * 2020-12-30 2023-12-29 望海康信(北京)科技股份公司 Service integration system, corresponding device and storage medium
CN115996240A (en) * 2022-12-16 2023-04-21 兴唐通信科技有限公司 Distributed video cloud state information synchronization device and method based on message queue

Also Published As

Publication number Publication date
CN109005433B (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN109005433B (en) A kind of video cloud service platform architecture and implementation method
CN105897946B (en) A kind of acquisition methods and system of access address
US9317223B2 (en) Method and apparatus for automated migration of data among storage centers
JP4088549B2 (en) Methods in telecommunications networks
US8931034B2 (en) System, method, and policy engine for granting temporary access to electronic content
US20020069272A1 (en) System and method for managing server configurations
CN109936571A (en) A kind of mass data sharing method, opening and shares platform and electronic equipment
JP5898240B2 (en) Method and system for providing a session in a heterogeneous environment
US20110314520A1 (en) Online service access controls using scale out directory features
CN103986741A (en) Cloud data system, cloud data center, and resource management method of the cloud data center
WO2005048136A2 (en) Using grid-based computing to search a network
CN109189856A (en) Distributed data base service management, device, server and storage medium
CA2372647A1 (en) System and method for administrating a wireless communication network
CN101771723A (en) Data synchronization method
CN106648903A (en) Method and system for calling distributed file system
KR20130114575A (en) Leader arbitration for provisioning services
CN112566154A (en) Network entity and method for identifier allocation and/or identifier mapping for network services
CN116743585B (en) Multi-tenant API gateway service exposure system and method based on cloud protogenesis
CN106899621A (en) One kind scheduling system and method
JPWO2012026082A1 (en) Condition matching system, condition matching link device, and condition matching processing method
CN110011984A (en) A kind of distributed cluster system and method based on REST and RPC
US20110235788A1 (en) Method and system for efficient use of address resources within an automated communications system
CN108234542A (en) A kind of airborne file network implementation method
US6615245B1 (en) System and method for enabling a hierarchal collaboration of devices across a communication channel
JP5903015B2 (en) Information collection system

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