CN116193066A - Scheduling method and device for media forwarding service - Google Patents

Scheduling method and device for media forwarding service Download PDF

Info

Publication number
CN116193066A
CN116193066A CN202111473682.4A CN202111473682A CN116193066A CN 116193066 A CN116193066 A CN 116193066A CN 202111473682 A CN202111473682 A CN 202111473682A CN 116193066 A CN116193066 A CN 116193066A
Authority
CN
China
Prior art keywords
information
service
media forwarding
forwarding node
scheduling
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.)
Pending
Application number
CN202111473682.4A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111473682.4A priority Critical patent/CN116193066A/en
Publication of CN116193066A publication Critical patent/CN116193066A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • 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
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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
    • 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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists

Abstract

The embodiment of the application discloses a scheduling method of media forwarding service, which is used for reducing the deployment cost of the media forwarding service. The method comprises the following steps: acquiring service requirement information of the terminal equipment, wherein the service requirement information comprises first position information of the terminal equipment and quantity information of the terminal equipment. And determining first scheduling information of the media forwarding node according to the service demand information, wherein the media forwarding node is used for providing media forwarding service for the terminal equipment, the first scheduling information comprises capacity of the media forwarding node or deployment area, the capacity comprises the number of the terminal equipment which the media forwarding node supports to be accessed, and the deployment area comprises the deployment position of the media forwarding node.

Description

Scheduling method and device for media forwarding service
Technical Field
The embodiment of the application relates to the field of cloud services, in particular to a method and a device for scheduling media forwarding services.
Background
In the cloud service business of video monitoring, a user views live video on video monitoring equipment in real time through a video monitoring client, or views video stored on the video monitoring equipment through the video monitoring client. Video on video monitoring equipment needs to be relayed through a media forwarding node, so that video monitoring cloud service manufacturers need to deploy the media forwarding node near a video monitoring client and the video monitoring equipment.
The video monitoring device will select a media forwarding service node nearby and access the node, while the video monitoring client also accesses the media forwarding node. At present, in a deployment strategy of a media forwarding service node, a large number of media forwarding nodes need to be purchased in a mode of deploying the media forwarding node on the basis of positions of a video monitoring client and video monitoring equipment, so that deployment cost of the media forwarding service node is high.
Disclosure of Invention
The application provides a scheduling method and device for media forwarding service, which are used for reducing the deployment cost of media forwarding nodes.
The first aspect of the present application provides a method for scheduling a media forwarding service, where the method is performed by a scheduling controller, or may be performed by a component of the scheduling controller, for example, a processor, a chip, or a chip system of the scheduling controller, or may be implemented by a logic module or software that can implement all or part of a device function. Taking a scheduling controller as an example, the scheduling method of the media forwarding service comprises the following steps: the scheduling controller acquires service demand information of the terminal equipment, wherein the service demand information comprises first position information of the terminal equipment and quantity information of the terminal equipment, and the quantity information comprises terminal equipment quantity information counted by the scheduling controller or quantity information predicted by the scheduling controller. The scheduling controller determines first scheduling information of the media forwarding node according to the service demand information, wherein the media forwarding node is used for providing media forwarding service for the terminal equipment, the first scheduling information comprises capacity or deployment area of the media forwarding node, the capacity comprises the number of the terminal equipment which the media forwarding node supports to access, and the deployment area comprises the deployment position of the media forwarding node.
The scheduling controller in the embodiment of the invention can carry out the deployment decision of the media forwarding nodes based on the position information and the quantity information of the terminal equipment, for example, the scheduling controller deploys the media forwarding nodes with large access capacity in the area with dense access quantity of the terminal equipment and deploys the media forwarding nodes with smaller capacity in the area with smaller access quantity of the terminal equipment. Therefore, the deployment area and capacity of the media forwarding node are determined based on the service demand information of the terminal equipment, so that the deployment cost of the media forwarding node is reduced.
In a possible implementation manner, the first scheduling information further includes a type of the media forwarding node, where the type includes own media forwarding service and third party media forwarding service, and in the process that the scheduling controller determines the first scheduling information of the media forwarding node according to the service requirement information, the scheduling controller determines the first scheduling information according to the service requirement information and a service range of the media forwarding node, where the service range of media forwarding is used to indicate an area where the media forwarding node supports access of the terminal device.
In the embodiment of the application, the scheduling controller determines the type of the media forwarding node to be deployed based on the service demand information of the terminal equipment, and simultaneously, the scheduling controller performs deployment decision of the media forwarding node based on the service range which can be provided by the media forwarding node besides performing deployment decision based on the service demand information of the terminal equipment, so that the deployment cost of the media forwarding node is further reduced.
In a possible implementation manner, in the process that the scheduling controller determines the first scheduling information of the media forwarding node according to the service requirement information, the scheduling controller determines the first scheduling information according to the service requirement information and the operation cost of the media forwarding node.
In the embodiment of the application, the scheduling controller carries out deployment decision on the basis of the service demand information of the terminal equipment and the service range of the media forwarding node, and also carries out deployment decision on the media forwarding node on the basis of the operation cost of the media forwarding node, so that the deployment cost of the media forwarding node is further reduced.
In a possible implementation manner, when the service requirement information of the terminal device changes, the first scheduling information is updated according to the changed service requirement information.
When the service demand information of the terminal equipment changes, the scheduling server updates the first scheduling information according to the changed service demand information, namely, the scheduling server can dynamically adjust the deployment decision of the media forwarding node based on the real-time service demand of the terminal equipment, so that the instantaneity of the deployment decision is improved.
In a possible implementation manner, the scheduling controller receives a service request sent by the terminal device, the service request carries second location information of the terminal device, determines second scheduling information of the terminal device according to the second location information, the second scheduling information includes an access address of a media forwarding node to which the terminal device is to be accessed, and sends the second scheduling information to the terminal device.
After the deployment of the media forwarding service is determined, the scheduling server can also determine the media forwarding node accessed by the terminal equipment according to the service request sent by the terminal equipment, so that the service quality of the terminal equipment accessed to the media forwarding node is improved, and the access cost of the terminal equipment accessed to the media forwarding node is reduced.
In a possible implementation manner, the second scheduling information further includes a type of a media forwarding node to which the terminal device is to access, and the scheduling controller determines the second scheduling information of the terminal device according to the second location information, the service level agreement SLA, the network quality of service Qos information, or a remaining capacity of the media forwarding node.
In the embodiment of the invention, the scheduling controller can determine the media forwarding node to be accessed by the terminal equipment based on the information such as the service level agreement SLA or the network quality of service Qos information of the terminal equipment besides determining the media forwarding node to be accessed by the terminal according to the position information of the terminal equipment, thereby improving the accuracy of scheduling decision of the scheduling controller.
In a possible implementation manner, before determining the second scheduling information of the terminal device, the scheduling controller receives network Qos information sent by the terminal device, so that the scheduling controller can determine the second scheduling information of the terminal device based on the network Qos information, where the network Qos information includes Qos information periodically collected by the terminal device or predicted network Qos information, and the network Qos information includes delay, packet loss rate, or jitter.
In the embodiment of the application, the scheduling controller receives the Qos information acquired by the terminal equipment before determining the second scheduling information of the terminal equipment, so that the feasibility of the scheme is improved.
In one possible implementation manner, the number information of the terminal devices may be obtained through prediction by a machine learning algorithm, and meanwhile, the network Qos information and the remaining capacity of the media forwarding node may also be obtained through prediction by the machine learning algorithm.
The scheduling controller in the embodiment of the application not only can carry out scheduling decision based on the information counted by the historical data, but also can carry out scheduling decision based on the information predicted by the machine learning algorithm, and the accuracy of the scheduling decision is improved by various information sources for carrying out the scheduling decision in the embodiment of the application.
A second aspect of the present application provides a scheduling apparatus for a media forwarding service, where the apparatus includes a transceiver module and a determining module. The receiving and transmitting module is used for acquiring service requirement information of the terminal equipment, wherein the service requirement information comprises first position information of the terminal equipment and quantity information of the terminal equipment. The determining module is used for determining first scheduling information of the media forwarding node according to the service demand information, the media forwarding node is used for providing media forwarding service for the terminal equipment, the first scheduling information comprises capacity or deployment area of the media forwarding node, the capacity comprises the number of the terminal equipment which the media forwarding node supports to be accessed, and the deployment area comprises the deployment position of the media forwarding node.
In a possible implementation manner, the first scheduling information further includes a type of the media forwarding node, where the type includes an own media forwarding service and a third party media forwarding service, and the determining module is specifically configured to determine the first scheduling information according to the service requirement information and a service range of the media forwarding node, where the service range of media forwarding is used to indicate an area where the media forwarding node supports access of the terminal device.
In a possible implementation manner, the determining module is specifically configured to determine the first scheduling information according to the service requirement information and an operation cost of the media forwarding node.
In a possible implementation manner, the determining module is further configured to update the first scheduling information according to the changed service requirement information when the service requirement information of the terminal device changes.
In a possible implementation manner, the transceiver module is further configured to receive a service request sent by the terminal device, where the service request carries second location information of the terminal device. The determining module is further configured to determine second scheduling information of the terminal device according to the second location information, where the second scheduling information includes an access address of a media forwarding node to which the terminal device is to be accessed, and send the second scheduling information to the terminal device.
In a possible implementation manner, the second scheduling information further includes a type of a media forwarding node to which the terminal device is to access, and the determining module is specifically configured to determine the second scheduling information of the terminal device according to the second location information, the service level agreement SLA, the network quality of service Qos information, or a remaining capacity of the media forwarding node.
In a possible implementation manner, the transceiver module is further configured to receive network Qos information sent by the terminal device, where the network Qos information includes Qos information periodically collected by the terminal device or predicted network Qos information.
A third aspect of the present application provides a computer device comprising a processor coupled to a memory for storing instructions which, when executed by the processor, cause the computer device to perform the method of the first aspect described above or any one of the possible implementations of the first aspect.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon instructions which, when executed, cause a computer to perform the method of the first aspect or any one of the possible implementations of the first aspect.
A fifth aspect of the present application provides a computer program product comprising instructions which, when executed, cause a computer to carry out the method of the first aspect described above or any one of the possible implementations of the first aspect.
It may be appreciated that the above-mentioned beneficial effects achieved by any of the foregoing scheduling apparatus, computer device, computer readable medium or computer program product for media forwarding service may refer to beneficial effects in the corresponding method, and will not be described herein.
Drawings
Fig. 1a is a schematic system architecture diagram of a media forwarding service system according to an embodiment of the present application;
fig. 1b is a schematic system architecture diagram of another media forwarding service system according to an embodiment of the present application;
fig. 2 is a flow chart of a media forwarding service scheduling method according to an embodiment of the present application;
fig. 3 is a flow chart of another method for scheduling media forwarding services according to an embodiment of the present application;
fig. 4 is a flowchart of another method for scheduling media forwarding services according to an embodiment of the present application;
fig. 5 is a flowchart of another method for scheduling media forwarding services according to an embodiment of the present application;
fig. 6 is a flowchart of another method for scheduling media forwarding services according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a media forwarding service scheduling device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another media forwarding service scheduling device according to an embodiment of the present application.
Detailed Description
The application provides a scheduling method and device for media forwarding service, which are used for reducing the deployment cost of media forwarding nodes.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
Some of the terms in this application are explained first to facilitate understanding by those skilled in the art.
A software development kit (software development kit, SDK) is a collection of development tools used by software engineers to create application software for a particular software package, software framework, hardware platform, operating system, etc.
Infrastructure as a service (infrastructure as a service, iaas) refers to a service mode in which IT infrastructure is provided externally as a service over a network and is charged for actual usage or occupancy of resources by users.
The software as a service (software as a service, saas) refers to that a Saas platform provider uniformly deploys application software on a server of the Saas platform provider, a client can order required application software services to a manufacturer through the internet according to actual working demands, pay the manufacturer for the ordered services according to the quantity and time of the ordered services, and obtain the services provided by the Saas platform through the internet.
Referring to fig. 1a, fig. 1a is a schematic system architecture diagram of a media forwarding service according to an embodiment of the present application. As shown in fig. 1a, the media forwarding service system 10 comprises a scheduling controller 101, a media forwarding node 102 and a terminal device 103. The scheduling controller 101 is cloud service center side equipment, the media forwarding node 102 is cloud service edge side equipment, and the terminal equipment 103 is terminal side equipment. When the media forwarding service system 10 is applied to the video monitoring service, the terminal device 103 includes a video monitoring device 1031 and a video monitoring client 1032, and the media forwarding service system in the embodiment of the present application is described below by taking the video monitoring service as an example.
In the system architecture shown in fig. 1a, a scheduling controller 101 is used for making deployment decisions for media forwarding nodes 102 and for providing access scheduling for media forwarding services for terminal devices 103. The media forwarding node 102 is configured to provide media forwarding services for the terminal device 103. The terminal device 103 is configured to access the media forwarding node 102 according to the scheduling information decided by the scheduling control 101.
In a video monitoring service scenario, a video monitoring client 1031 initiates a request for viewing a monitoring video to a scheduling controller 101, and the scheduling controller 101 determines a media forwarding node 102 to which the video monitoring client 1031 is to be connected according to information such as an access location, a service level agreement SLA, and network quality of the video monitoring client 1031, and notifies the video monitoring client 1031 to connect to the media forwarding node 102.
Referring to fig. 1b, fig. 1b is a system architecture diagram of another media forwarding service according to an embodiment of the present application. In the system architecture shown in fig. 1b, the media forwarding service system 10 is divided into three layers, including a central cloud side, an edge cloud side and an end side, wherein the scheduling controller 101 of the central cloud side includes a media service management subsystem 1011, a media information management subsystem 1012, a media service scheduling subsystem 1013, an Iaas service cloud management 1014, a Saas service cloud management 1015, a media service Qos acquisition subsystem 1016, a terminal access location information subsystem 1017, a video monitoring service management subsystem 1018 and a terminal access subsystem 1019.
The function of the media service management subsystem 1011 includes deciding the deployment of the media forwarding node based on the access position of the terminal device, the device prediction amount, or the forwarding service operation cost, so as to dynamically deploy the media forwarding node along with the change of the accessed terminal device amount.
The media service information management subsystem 1012 is used to store media forwarding service information from either the own media forwarding node or from a third party media forwarding node, including location information, capacity, price, or network Qos information.
The functions of the media service scheduling subsystem 1013 include deciding scheduling information of the terminal device accessing the media forwarding node based on information such as an access location of the terminal device, an access device amount, a service level agreement SLA, a forwarding service operation cost, a single device access cost, a network quality Qos, and the like.
The Iaas services cloud management system 1014 is used for the media services management subsystem 1011 to dynamically increase or decrease the deployment of the own media forwarding nodes based on deployment decisions, which Iaas services cloud management system 1014 may be provided by the cloud service provider of the terminal device.
The Saas service cloud management system 1015 dynamically increases or decreases the deployment of third party media forwarding nodes based on deployment decisions at the media service management subsystem 1011.
The media service Qos acquisition subsystem 1016 is configured to store media forwarding service Qos information reported by a terminal device, where the Qos information includes information such as delay, packet loss rate, or jitter.
The terminal access location information subsystem 1017 is configured to store access location information of the terminal device, where the access location information includes an IP address, and the access location information is used by the media service management subsystem to make a deployment decision of the media forwarding node.
The video monitoring service management subsystem 1018 is configured to respond to a video monitoring service request initiated by the video monitoring client, and apply for a corresponding media forwarding service resource according to the video monitoring service processing request.
The terminal access subsystem 1019 mainly provides an access function of the terminal device, and is used as an interaction gateway for the internal cloud service and the terminal device, and is responsible for message distribution or forwarding.
In the example shown in fig. 1b, the edge cloud side media forwarding node 102 comprises an own media forwarding node 1021, a third party media forwarding node 1022, and a container or virtual machine 1023.
Wherein the self-owned media forwarding node 1021 and the third party media forwarding node 1022 mainly provide forwarding and transcoding functions of video media data between different terminal devices. The container or virtual machine 1023 primarily provides a running computing environment for deploying the self-contained media forwarding node 1021.
In the example shown in fig. 1b, the terminal device 103 on the end side includes an own forwarding service SDK1031, a third party forwarding service SDK1032, a media forwarding service SDK dynamic scheduling framework 1033, a media service Qos acquisition SDK1034, a location information acquisition SDK1035, and a video monitoring service management SDK1036.
The own forwarding service SDK1031 and the third party forwarding service SDK1032 of the terminal device 103 are mainly used for implementing a function of receiving and transmitting media data by the terminal device, the own forwarding service SDK1031 is used for media forwarding interaction between the terminal device and the own media forwarding node 1021, and the third party forwarding service SDK1032 is used for media forwarding interaction between the terminal device and the third party media forwarding node 1022.
The media forwarding service SDK dynamic scheduling framework 1033 schedules functions of the own forwarding service SDK1031 and the third party forwarding service SDK1032, which may be pre-integrated or downloaded from the cloud, mainly based on the service indication sent by the video monitoring service management SDK1036.
The media service Qos acquisition SDK1034 is mainly used for acquiring Qos information of a media forwarding service, so that the media service scheduling subsystem 1013 on the central cloud side schedules a media forwarding node to be accessed by the terminal device.
The location information collecting SDK1035 is used for collecting location information of the terminal device, and the location information may be an IP address or region information obtained based on IP address mapping.
The video monitoring service management SDK1036 is configured to initiate a video monitoring service request, apply for a corresponding media forwarding service resource, and then submit the media forwarding service resource to the media forwarding service SDK dynamic scheduling framework 1033 for media forwarding service scheduling.
Referring to fig. 2, fig. 2 is a flowchart of a media forwarding service scheduling method according to an embodiment of the present application. The method is performed by the dispatch controller 101 of fig. 1, or may be performed by a component of the dispatch controller, such as a processor, chip, or system-on-chip of the dispatch controller, or may be implemented by a logic module or software that is capable of implementing all or part of the functions of the device. Taking a scheduling controller as an example, one flow of the media forwarding service scheduling method includes:
201. and acquiring service requirement information of the terminal equipment, wherein the service requirement information comprises first position information and quantity information of the terminal equipment.
The scheduling controller acquires service requirement information of the terminal equipment, wherein the service requirement information comprises first position information and quantity information of the terminal equipment. Specifically, the media service management subsystem of the scheduling controller acquires the first position information of the terminal device from the terminal access position information subsystem, and the media service management subsystem can acquire the first position information at regular time or acquire the first position information based on the trigger instruction, which is not limited in detail.
After the media service management subsystem of the scheduling controller obtains the first position information of the terminal equipment, the quantity information of the terminal equipment is counted according to the first position information by area. The number of terminal devices information may also be a predicted number of devices based on historical access location information of the terminal devices. Specifically, the scheduling controller may predict the number of devices of the terminal device using a machine learning method.
Referring to fig. 3, fig. 3 is a flow chart of acquiring service requirement information of a terminal device according to an embodiment of the present application. In the example shown in fig. 3, after the terminal device accesses the terminal access subsystem of the scheduling controller, the location information acquisition SDK of the terminal device sends a location information reporting request to the terminal access subsystem, where the location information reporting request carries the IP address of the terminal device. After receiving the position information reporting request, the terminal access subsystem forwards the position information reporting request to the terminal access position information subsystem, and the terminal access position information subsystem acquires and stores the IP address of the terminal equipment from the position information reporting request so that the scheduling controller can make a subsequent scheduling decision of the media forwarding service.
202. And determining first scheduling information of the media forwarding node according to the service demand information, wherein the first scheduling information comprises the capacity and the deployment area of the media forwarding node.
The scheduling controller determines first scheduling information of the media forwarding node according to the service demand information, wherein the media forwarding node is used for providing media forwarding service for the terminal equipment, the first scheduling information comprises capacity of the media forwarding node and deployment areas, the capacity comprises the number of the terminal equipment which the media forwarding node supports to be accessed, and the deployment areas comprise deployment positions of the media forwarding node. The first scheduling information also includes a type of media forwarding node, the type including an own media forwarding node and a third party media forwarding node.
In some alternative embodiments, the scheduling controller may determine the first scheduling information of the media forwarding node according to the service requirement information and a service range of the media forwarding node, where the service range of the media forwarding node is used to indicate an area where the media forwarding node supports access of the terminal device. The scheduling controller may further determine the first scheduling information of the media forwarding node according to the service requirement information and an operation cost of the media forwarding node or a service level agreement SLA of the terminal device.
Referring to fig. 4, fig. 4 is a schematic flow chart of determining first scheduling information by a scheduling controller according to service requirement information according to an embodiment of the present application. In the example shown in fig. 4, the media service management subsystem of the scheduling controller decides the deployment area, type and capacity of the media forwarding node according to the location information, the number information of the terminal devices, the operation cost of the media forwarding node, the service range or the service protocol level of the terminal devices. Specifically, before the deployment information is decided, the media service management subsystem of the scheduling controller is pre-configured with information such as the service forwarding operation cost of the Iaas service provider SP, the Iaas resource access location range, the service forwarding operation cost of the Saas service provider, the service forwarding access location range and the like. In step 2a, the scheduling controller obtains the location information of the terminal device, counts the number information of the terminal device according to the location information by area, and determines the deployment area, type and capacity of the media forwarding node by combining the location information of the terminal device, the operation cost of the media forwarding service and the access location range of the media forwarding service.
In the example shown in fig. 4, the scheduling controller decides the deployment area and type of the media forwarding node. For example, in option 1, the scheduling controller decides that the type of media forwarding node deployed in the first zone is an own media forwarding node. And 2, deciding the type of the media forwarding node deployed in the second area as a third-party media forwarding node by the scheduling server.
In the example shown in fig. 4, the scheduling controller decides the deployment capacity of the media forwarding node. For example, in case 1, the scheduling controller decides to add an own media forwarding node deploying the corresponding capacity in the first area. In case 2, the decision is made to reduce the deployment of the own media forwarding node of the corresponding capacity in the first area. Specifically, in step 2b, when the own media forwarding node with the corresponding capacity is deployed in an increased or decreased manner, the application for obtaining the own forwarding service Iaas resource is required.
In the example shown in fig. 4, after the media service management subsystem of the scheduling controller decides the deployment area, type, and capacity of the media forwarding node, the media service management subsystem updates the registration information of the media service information subsystem based on the decision result. For example, in step 2e, the media service management subsystem updates and stores information such as type, provider, capacity and price of the media forwarding node in the corresponding area in the media service information subsystem. In some alternative embodiments, when the service requirement information of the terminal device changes, the scheduling controller updates the first scheduling information according to the changed service requirement information. According to the embodiment of the invention, the scheduling server can dynamically adjust the deployment decision of the media forwarding node based on the real-time service requirement of the terminal equipment, so that the real-time performance of the deployment decision is improved.
The scheduling controller in the embodiment of the invention can carry out the deployment decision of the media forwarding node based on the position information, the quantity information and other information of the terminal equipment, thereby reducing the deployment cost of the media forwarding node.
203. And the terminal equipment sends a service request to the scheduling controller, wherein the service request carries the second position information.
The terminal device sends a service request to the scheduling controller, wherein the service request carries second position information of the terminal device. The service request is for requesting media forwarding service resources from the scheduling controller.
Referring to fig. 5, fig. 5 is a schematic diagram of a scheduling flow of a terminal device according to an embodiment of the present application. In the example shown in fig. 5, in step 3a, the video monitoring service management SDK of the terminal device initiates a video monitoring viewing request to the scheduling controller, in step 3b, the terminal access subsystem of the scheduling controller forwards the video monitoring viewing request to the video monitoring service management subsystem, and in step 3c, the video monitoring service management subsystem applies for a media forwarding service resource to the media service scheduling subsystem.
204. And determining second scheduling information of the terminal equipment according to the second position information, wherein the second scheduling information comprises an access address of a media forwarding node to which the terminal is to be accessed.
The scheduling control determines second scheduling information of the terminal equipment according to the second position information, wherein the second scheduling information comprises an access address of a media forwarding node to which the terminal equipment is to be accessed. The second scheduling information further includes a type of media forwarding node to which the terminal device is to access.
Specifically, the scheduling controller obtains media service information according to the second location information, where the media service information includes provider information, operation cost, network quality of service Qos information and remaining capacity of the second location and media forwarding nodes adjacent to the second location. The scheduling server determines second scheduling information of the terminal equipment in combination with the media service information, the service level agreement SLA or the equipment capability of the terminal equipment. The device capabilities of the terminal include supported video bandwidth, media acceleration hardware information, or the ability to support access to third party media forwarding nodes.
In the example shown in fig. 5, after the media service scheduling subsystem of the scheduling controller receives the application for the media forwarding service resource as in step 3c, the media service scheduling subsystem acquires media service information from the media service information subsystem based on the access location information of the terminal device as in step 3 d. And determining second scheduling information of the terminal equipment according to the media service information, the service level agreement SLA combined with the terminal equipment, the single equipment access price or the equipment capacity. The second scheduling information includes whether the type of the media forwarding node to be accessed by the terminal device is an own media forwarding node or a third party media forwarding node, and an access address of the media forwarding node to be accessed by the terminal device. For example, in step 3e, the media service scheduling subsystem schedules the terminal device to access the own media forwarding service node, and in step 3e', the media service scheduling subsystem schedules the terminal device to access the third party media forwarding service node. In step 3f, the media service scheduling subsystem returns second scheduling information to the video monitoring service management subsystem, and in step 3g, the scheduling controller video monitoring service management subsystem sends an access notification of the media forwarding service node to the terminal access subsystem of the scheduling controller, the access notification includes the second scheduling information, and the terminal access subsystem sends the media forwarding service notification to the terminal device.
In this embodiment of the present application, before the scheduling controller determines the second scheduling information of the terminal device according to the second location information, the scheduling controller receives network Qos information sent by the terminal device, where the network Qos information includes Qos information collected by the terminal device or predicted Qos information, and the network Qos information includes delay, packet loss rate, or jitter.
Referring to fig. 6, fig. 6 is a flow chart of media service Qos information feedback according to an embodiment of the present application. In the example shown in fig. 6, in step 4a, the media service Qos acquiring SDK of the terminal device acquires Qos information of the media forwarding node, and the specific media service Qos acquiring SDK may acquire Qos information of the media forwarding node at regular time or based on a trigger instruction. And the media service Qos acquisition SDK of the terminal equipment sends Qos information to a terminal access subsystem of the scheduling controller. In step 4b, the terminal access subsystem forwards Qos information to the media service Qos acquisition subsystem. In step 4c, the media service Qos subsystem updates Qos information of the corresponding media forwarding node, and sends the updated Qos information to the media service information subsystem.
205. And sending the second scheduling information to the terminal equipment.
The scheduling controller sends second scheduling information to the terminal equipment, and the terminal equipment accesses the corresponding media forwarding node based on the second scheduling information. Specifically, after the media service scheduling subsystem of the scheduling controller determines the second scheduling information, the second scheduling information is sent to the video monitoring service management SDK of the terminal device through the video monitoring service management subsystem and the terminal access subsystem. After the video monitoring service management SDK of the terminal equipment receives the second scheduling information, the media forwarding service SDK dynamic scheduling framework of the terminal equipment schedules the self forwarding service SDK to access the self media forwarding node based on the second scheduling information, or the media forwarding service SDK dynamic scheduling framework schedules the third party forwarding service SDK to access the third party media forwarding node based on the second scheduling information.
In the example shown in fig. 5, in step 3h, the terminal device receives the second scheduling information sent by the scheduling controller. In step 3i, the media forwarding service SDK dynamic scheduling framework of the terminal device invokes the own forwarding service SDK or the third party forwarding service SDK based on the access notification of the media forwarding service, and if the terminal device does not have a corresponding SDK locally, the media forwarding service SDK dynamic scheduling framework dynamically loads the corresponding SDK. The self forwarding service SDK is used for accessing the terminal equipment to the self media forwarding node, and the third party forwarding service SDK is used for accessing the terminal equipment to the third party media node. For example, in step 3j, the media forwarding SDK dynamic scheduling framework invokes the own forwarding service SDK, and in step 3k, the terminal device accesses the own media forwarding service node. In step 3j ', the media forwarding SDK dynamic scheduling framework invokes the third party forwarding service SDK, and in step 3k', the terminal device accesses the third party media forwarding service node.
The scheduling server in the embodiment of the invention can also determine the media forwarding node accessed by the terminal equipment according to the service request sent by the terminal equipment, thereby improving and reducing the access cost of the terminal equipment for accessing the media forwarding node.
The scheduling method for providing the media forwarding service according to the embodiment of the present application is described above, and the scheduling device provided by the embodiment of the present application is described below with reference to the accompanying drawings.
Referring to fig. 7, fig. 7 is a schematic diagram of a scheduling apparatus for a media forwarding service according to an embodiment of the present application. The task processing device is configured to implement the steps corresponding to the scheduling controller in the foregoing embodiments, and as shown in fig. 7, the scheduling device 700 includes a transceiver module 701 and a determining module 702.
The transceiver module 701 is configured to obtain service requirement information of a terminal device, where the service requirement information includes first location information of the terminal device and number information of the terminal device. The determining module 702 is configured to determine first scheduling information of a media forwarding node according to service requirement information, where the media forwarding node is configured to provide a media forwarding service for a terminal device, the first scheduling information includes a capacity of the media forwarding node or a deployment area, the capacity includes a number of terminal devices that the media forwarding node supports access, and the deployment area includes a deployment location of the media forwarding node.
In a possible implementation manner, the first scheduling information further includes a type of the media forwarding node, where the type includes an own media forwarding service and a third party media forwarding service, and the determining module 702 is specifically configured to determine the first scheduling information according to the service requirement information and a service range of the media forwarding node, where the service range of the media forwarding node is used to indicate an area where the media forwarding node supports access of the terminal device.
In a possible implementation manner, the determining module 702 is specifically configured to determine the first scheduling information according to the service requirement information and an operation cost of the media forwarding node.
In a possible implementation manner, the determining module 702 is further configured to update the first scheduling information according to the changed service requirement information when the service requirement information of the terminal device changes.
In a possible implementation manner, the transceiver module 701 is further configured to receive a service request sent by the terminal device, where the service request carries second location information of the terminal device. The determining module 702 is further configured to determine second scheduling information of the terminal device according to the second location information, where the second scheduling information includes an access address of a media forwarding node to which the terminal device is to be accessed, and send the second scheduling information to the terminal device.
In a possible implementation manner, the second scheduling information further includes a type of a media forwarding node to which the terminal device is to access, and the determining module is specifically configured to determine the second scheduling information of the terminal device according to the second location information, the service level agreement SLA, the network quality of service Qos information, or a remaining capacity of the media forwarding node.
In a possible implementation manner, the transceiver module 701 is further configured to receive network Qos information sent by the terminal device, where the network Qos information includes Qos information periodically collected by the terminal device or predicted network Qos information.
It should be understood that the division of the units in the above apparatus is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated when actually implemented. And the units in the device can be all realized in the form of software calls through the processing element; or can be realized in hardware; it is also possible that part of the units are implemented in the form of software, which is called by the processing element, and part of the units are implemented in the form of hardware. For example, each unit may be a processing element that is set up separately, may be implemented as integrated in a certain chip of the apparatus, or may be stored in a memory in the form of a program, and the functions of the unit may be called and executed by a certain processing element of the apparatus. Furthermore, all or part of these units may be integrated together or may be implemented independently. The processing element described herein may in turn be a processor, which may be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in a processor element or in the form of software called by a processing element.
In one example, the unit in any of the above apparatuses may be one or more integrated circuits configured to implement the above methods, for example: one or more specific integrated circuits (application specific integrated circuit, ASIC), or one or more microprocessors (digital singnal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA), or a combination of at least two of these integrated circuit forms. For another example, when the units in the apparatus may be implemented in the form of a scheduler of processing elements, the processing elements may be general-purpose processors, such as a central processing unit (central processing unit, CPU) or other processor that may invoke the program. For another example, the units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Referring to fig. 8, fig. 8 is a schematic diagram of a computer device according to an embodiment of the present application, which is configured to implement the operation of the scheduling controller in the above embodiment. As shown in fig. 8, the computer device 800 includes: a processor 810 and an interface 830, the processor 810 being coupled to the interface 830. Interface 830 is used to enable communication with other devices. Interface 830 may be a transceiver or an input-output interface. The interface 830 may be, for example, an interface circuit. Optionally, the dispatch controller also includes a memory 820 for storing instructions executed by processor 810 or for storing input data required by processor 810 to execute instructions or for storing data generated after processor 810 executes instructions.
The method performed by the scheduling controller in the above embodiment may be implemented by the processor 810 calling a program stored in a memory (which may be the memory 820 in the scheduling controller or an external memory). That is, the schedule controller may include a processor 810, and the processor 810 executes the method performed by the schedule controller in the above method embodiment by calling a program in a memory. The processor here may be an integrated circuit with signal processing capabilities, such as a CPU. The dispatch controller may be implemented by one or more integrated circuits configured to implement the above methods. For example: one or more ASICs, or one or more microprocessor DSPs, or one or more FPGAs, etc., or a combination of at least two of these integrated circuit forms. Alternatively, the above implementations may be combined.
In particular, the functions/implementations of the transceiver module 701 or the determination module 702 in fig. 7 may be implemented by the processor 810 in the dispatch controller 800 shown in fig. 8 invoking computer executable instructions stored in the memory 820.
In another embodiment of the present application, there is further provided a computer readable storage medium, where computer executable instructions are stored, when executed by a processor of a device, the device performs a method performed by the scheduling controller or the terminal device in the above method embodiment.
In another embodiment of the present application, there is also provided a computer program product comprising computer-executable instructions stored in a computer-readable storage medium. When the processor of the device executes the computer-executable instructions, the device performs the method performed by the scheduling controller or the terminal device in the method embodiment described above.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one determination module, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (17)

1. A method for scheduling a media forwarding service, comprising:
acquiring service demand information of terminal equipment, wherein the service demand information comprises first position information of the terminal equipment and quantity information of the terminal equipment;
and determining first scheduling information of a media forwarding node according to the service demand information, wherein the media forwarding node is used for providing media forwarding service for the terminal equipment, the first scheduling information comprises capacity or deployment area of the media forwarding node, the capacity comprises the number of terminal equipment which the media forwarding node supports to access, and the deployment area comprises the deployment position of the media forwarding node.
2. The method of claim 1, wherein the first scheduling information further comprises a type of the media forwarding node, the type comprising an owned media forwarding service and a third party media forwarding service, wherein determining the first scheduling information for the media forwarding node based on the traffic demand information comprises:
and determining the first scheduling information according to the service demand information and the service range of the media forwarding node, wherein the service range of the media forwarding node is used for indicating an area where the media forwarding node supports the access of the terminal equipment.
3. The method according to claim 1 or 2, wherein said determining first scheduling information of a media forwarding node according to said traffic demand information comprises:
and determining the first scheduling information according to the service demand information and the operation cost of the media forwarding node.
4. A method according to any one of claims 1 to 3, further comprising:
and when the service demand information of the terminal equipment changes, updating the first scheduling information according to the changed service demand information.
5. The method according to any one of claims 1 to 4, further comprising:
receiving a service request sent by the terminal equipment, wherein the service request carries second position information of the terminal equipment;
determining second scheduling information of the terminal equipment according to the second position information, wherein the second scheduling information comprises an access address of a media forwarding node to be accessed by the terminal equipment;
and sending the second scheduling information to the terminal equipment.
6. The method of claim 5, wherein the second scheduling information further includes a type of media forwarding node to which the terminal device is to access, and wherein determining the second scheduling information of the media forwarding node based on the second location information includes:
And determining second scheduling information of the terminal equipment according to the second position information, the service level agreement SLA, the network service quality Qos information or the residual capacity of the media forwarding node.
7. The method according to claim 5 or 6, characterized in that the method further comprises:
and receiving the network Qos information sent by the terminal equipment, wherein the network Qos information comprises Qos information or predicted network Qos information acquired by the terminal equipment.
8. A scheduling apparatus for a media forwarding service, comprising:
the receiving and transmitting module is used for acquiring service requirement information of the terminal equipment, wherein the service requirement information comprises first position information of the terminal equipment and quantity information of the terminal equipment;
the determining module is configured to determine first scheduling information of a media forwarding node according to the service requirement information, where the media forwarding node is configured to provide a media forwarding service for the terminal device, the first scheduling information includes a capacity of the media forwarding node or a deployment area, the capacity includes a number of terminal devices that the media forwarding node supports access, and the deployment area includes a deployment location of the media forwarding node.
9. The apparatus of claim 8, wherein the first scheduling information further comprises a type of the media forwarding node, the type comprising an owned media forwarding service and a third party media forwarding service, the determining module being specifically configured to:
and determining the first scheduling information according to the service demand information and the service range of the media forwarding node, wherein the service range of the media forwarding node is used for indicating an area where the media forwarding node supports the access of the terminal equipment.
10. The apparatus according to claim 8 or 9, wherein the determining module is specifically configured to:
and determining the first scheduling information according to the service demand information and the operation cost of the media forwarding node.
11. The apparatus of any one of claims 8 to 10, wherein the determining module is further configured to:
and when the service demand information of the terminal equipment changes, updating the first scheduling information according to the changed service demand information.
12. The apparatus of any one of claims 8 to 11, wherein the transceiver module is further configured to:
receiving a service request sent by the terminal equipment, wherein the service request carries second position information of the terminal equipment;
The determining module is further configured to determine second scheduling information of the terminal device according to the second location information, where the second scheduling information includes an access address of a media forwarding node to which the terminal device is to be accessed;
and sending the second scheduling information to the terminal equipment.
13. The apparatus according to claim 12, wherein the second scheduling information further comprises a type of media forwarding node to which the terminal device is to access, and the determining module is specifically configured to:
and determining second scheduling information of the terminal equipment according to the second position information, the service level agreement SLA, the network service quality Qos information or the residual capacity of the media forwarding node.
14. The apparatus of claim 12 or 13, wherein the transceiver module is further configured to:
and receiving the network Qos information sent by the terminal equipment, wherein the network Qos information comprises Qos information or predicted network Qos information acquired by the terminal equipment.
15. A computer device comprising a processor coupled with a memory for storing instructions that, when executed by the processor, cause the computer device to perform the method of any of claims 1 to 7.
16. A computer readable storage medium having instructions stored thereon, which when executed, cause a computer to perform the method of any of claims 1 to 7.
17. A computer program product comprising instructions which, when executed, cause a computer to carry out the method of any one of claims 1 to 7.
CN202111473682.4A 2021-11-29 2021-11-29 Scheduling method and device for media forwarding service Pending CN116193066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111473682.4A CN116193066A (en) 2021-11-29 2021-11-29 Scheduling method and device for media forwarding service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111473682.4A CN116193066A (en) 2021-11-29 2021-11-29 Scheduling method and device for media forwarding service

Publications (1)

Publication Number Publication Date
CN116193066A true CN116193066A (en) 2023-05-30

Family

ID=86451088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111473682.4A Pending CN116193066A (en) 2021-11-29 2021-11-29 Scheduling method and device for media forwarding service

Country Status (1)

Country Link
CN (1) CN116193066A (en)

Similar Documents

Publication Publication Date Title
KR102034532B1 (en) System and method for provision and distribution of spectral resources
JP6559806B2 (en) System and method for virtual infrastructure management between operator networks
US11039321B2 (en) Methods and systems for network slicing
CN108028780B (en) Method and apparatus for data analysis management
US11051183B2 (en) Service provision steps using slices and associated definitions
EP3637733B1 (en) Load balancing engine, client, distributed computing system, and load balancing method
US11095526B2 (en) System and method for accelerated provision of network services
CN112789832B (en) Dynamic slice priority handling
CN112313906A (en) Data analysis management, configuration specification and process, provisioning, and service-based architecture
CN108574728A (en) The flow path of mobile edge calculations changes testing mechanism
US10939308B2 (en) Deploying network functions in a communication network based on geo-social network data
KR101884404B1 (en) Fog Computing Operation System having a Centralized Control Architecture Server and Method for controlling the same
US20230353453A1 (en) Template based edge cloud core deployment
CN115499859B (en) NWDAF-based method for managing and deciding computing resources
EP3534578A1 (en) Resource adjustment method, device and system
KR20170014804A (en) Virtual machine provisioning system and method for cloud service
CN116193066A (en) Scheduling method and device for media forwarding service
CN112732440A (en) Resource allocation method and device, cloud platform server and edge node equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication