US20200296431A1 - Method and apparatus for envelope descriptor in moving picture experts group network based media processing - Google Patents
Method and apparatus for envelope descriptor in moving picture experts group network based media processing Download PDFInfo
- Publication number
- US20200296431A1 US20200296431A1 US16/813,099 US202016813099A US2020296431A1 US 20200296431 A1 US20200296431 A1 US 20200296431A1 US 202016813099 A US202016813099 A US 202016813099A US 2020296431 A1 US2020296431 A1 US 2020296431A1
- Authority
- US
- United States
- Prior art keywords
- tasks
- repeated
- message
- sender
- exist
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 80
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000008569 process Effects 0.000 claims description 24
- 238000010926 purge Methods 0.000 claims description 9
- 230000006870 function Effects 0.000 description 34
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 239000008186 active pharmaceutical agent Substances 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000007596 consolidation process Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/235—Processing of additional data, e.g. scrambling of additional data or processing content descriptors
- H04N21/2353—Processing of additional data, e.g. scrambling of additional data or processing content descriptors specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64784—Data processing by the network
Definitions
- NBMP Network Based Media Processing
- NBMP design does not include a common way of packaging messages passed through the APIs. Accordingly, processing messages may not go through the APIs effectively.
- processing messages may not go through the APIs effectively.
- a workflow manger and the tasks may communicate through task APIs by dispatching/inquiring a group of descriptors.
- dispatches/inquiries during a media session might be in the order of thousands or millions.
- Multiple messages or inquiries might occur that convey the same information. An order of these messages, their source and intended receipts among other information may be important for efficiently and effectively processing the messages.
- a method of processing media content in Moving Picture Experts Group (MPEG) Network Based Media Processing (NBMP) is performed by at least one processor, and includes obtaining multiple tasks for processing the media content, each of the multiple tasks having an envelope descriptor indicating, for a respective one among the multiple tasks, a message identifier (ID), a message priority and a sender ID of a sender.
- MPEG Moving Picture Experts Group
- NBMP Network Based Media Processing
- the method further includes determining whether repeated tasks exist among the obtained multiple tasks, based on the message ID and the sender ID of each of the obtained multiple tasks, based on the repeated tasks being determined to exist, processing the media content, using one among the repeated tasks that has a highest priority among the message priority of each of the repeated tasks, and based on the repeated tasks being determined to not exist, processing the media content, using the obtained multiple tasks.
- an apparatus for processing media content in Moving Picture Experts Group (MPEG) Network Based Media Processing (NBMP) includes at least one memory configured to store program code, and at least one processor configured to read the program code and operate as instructed by the program code.
- the program code includes obtaining code configured to cause the at least one processor to obtain multiple tasks for processing the media content, each of the multiple tasks having an envelope descriptor indicating, for a respective one among the multiple tasks, a message identifier (ID), a message priority and a sender ID of a sender, and determining code configured to cause the at least one processor to determine whether repeated tasks exist among the obtained multiple tasks, based on the message ID and the sender ID of each of the obtained multiple tasks.
- ID message identifier
- sender ID sender ID
- the program code further includes processing code configured to cause the at least one processor to, based on the repeated tasks being determined to exist, process the media content, using one among the repeated tasks that has a highest priority among the message priority of each of the repeated tasks, and based on the repeated tasks being determined to not exist, process the media content, using the obtained multiple tasks.
- a non-transitory computer-readable medium stores instructions that, when executed by at least one processor of an apparatus for processing media content in Moving Picture Experts Group (MPEG) Network Based Media Processing (NBMP), cause the at least one processor to obtain multiple tasks for processing the media content, each of the multiple tasks having an envelope descriptor indicating, for a respective one among the multiple tasks, a message identifier (ID), a message priority and a sender ID of a sender.
- MPEG Moving Picture Experts Group
- NBMP Network Based Media Processing
- the instructions further cause the at least one processor to determine whether repeated tasks exist among the obtained multiple tasks, based on the message ID and the sender ID of each of the obtained multiple tasks, based on the repeated tasks being determined to exist, process the media content, using one among the repeated tasks that has a highest priority among the message priority of each of the repeated tasks, and based on the repeated tasks being determined to not exist, process the media content, using the obtained multiple tasks.
- FIG. 1 is a diagram of an environment in which methods, apparatuses and systems described herein may be implemented, according to embodiments.
- FIG. 2 is a block diagram of example components of one or more devices of FIG. 1 .
- FIG. 3 is a block diagram of an NBMP system, according to embodiments.
- FIG. 4 is a flowchart of a method of processing media content in MPEG NBMP, according to embodiments.
- FIG. 5 is a block diagram of an apparatus for processing media content in MPEG NBMP, according to embodiments.
- Embodiments described herein provide an envelope descriptor in the MPEG NBMP standard.
- the envelope descriptor is added to all requests that are communicated through an NBMP task API.
- Such an envelope descriptor increases media processing efficiency, increases speed and lower cost of deployment of media services, and allows large scale deployment of media services by leveraging public, private or hybrid cloud services.
- FIG. 1 is a diagram of an environment 100 in which methods, apparatuses and systems described herein may be implemented, according to embodiments.
- the environment 100 may include a user device 110 , a platform 120 , and a network 130 .
- Devices of the environment 100 may interconnect via wired connections, wireless connections, or a combination of wired and wireless connections.
- the user device 110 includes one or more devices capable of receiving, generating, storing, processing, and/or providing information associated with platform 120 .
- the user device 110 may include a computing device (e.g., a desktop computer, a laptop computer, a tablet computer, a handheld computer, a smart speaker, a server, etc.), a mobile phone (e.g., a smart phone, a radiotelephone, etc.), a wearable device (e.g., a pair of smart glasses or a smart watch), or a similar device.
- the user device 110 may receive information from and/or transmit information to the platform 120 .
- the platform 120 includes one or more devices as described elsewhere herein.
- the platform 120 may include a cloud server or a group of cloud servers.
- the platform 120 may be designed to be modular such that software components may be swapped in or out depending on a particular need. As such, the platform 120 may be easily and/or quickly reconfigured for different uses.
- the platform 120 may be hosted in a cloud computing environment 122 .
- the platform 120 may not be cloud-based (i.e., may be implemented outside of a cloud computing environment) or may be partially cloud-based.
- the cloud computing environment 122 includes an environment that hosts the platform 120 .
- the cloud computing environment 122 may provide computation, software, data access, storage, etc. services that do not require end-user (e.g., the user device 110 ) knowledge of a physical location and configuration of system(s) and/or device(s) that hosts the platform 120 .
- the cloud computing environment 122 may include a group of computing resources 124 (referred to collectively as “computing resources 124 ” and individually as “computing resource 124 ”).
- the computing resource 124 includes one or more personal computers, workstation computers, server devices, or other types of computation and/or communication devices. In some implementations, the computing resource 124 may host the platform 120 .
- the cloud resources may include compute instances executing in the computing resource 124 , storage devices provided in the computing resource 124 , data transfer devices provided by the computing resource 124 , etc.
- the computing resource 124 may communicate with other computing resources 124 via wired connections, wireless connections, or a combination of wired and wireless connections.
- the computing resource 124 includes a group of cloud resources, such as one or more applications (“APPs”) 124 - 1 , one or more virtual machines (“VMs”) 124 - 2 , virtualized storage (“VSs”) 124 - 3 , one or more hypervisors (“HYPs”) 124 - 4 , or the like.
- APPs applications
- VMs virtual machines
- VSs virtualized storage
- HOPs hypervisors
- the application 124 - 1 includes one or more software applications that may be provided to or accessed by the user device 110 and/or the platform 120 .
- the application 124 - 1 may eliminate a need to install and execute the software applications on the user device 110 .
- the application 124 - 1 may include software associated with the platform 120 and/or any other software capable of being provided via the cloud computing environment 122 .
- one application 124 - 1 may send/receive information to/from one or more other applications 124 - 1 , via the virtual machine 124 - 2 .
- the virtual machine 124 - 2 includes a software implementation of a machine (e.g., a computer) that executes programs like a physical machine.
- the virtual machine 124 - 2 may be either a system virtual machine or a process virtual machine, depending upon use and degree of correspondence to any real machine by the virtual machine 124 - 2 .
- a system virtual machine may provide a complete system platform that supports execution of a complete operating system (“OS”).
- a process virtual machine may execute a single program, and may support a single process.
- the virtual machine 124 - 2 may execute on behalf of a user (e.g., the user device 110 ), and may manage infrastructure of the cloud computing environment 122 , such as data management, synchronization, or long-duration data transfers.
- the virtualized storage 124 - 3 includes one or more storage systems and/or one or more devices that use virtualization techniques within the storage systems or devices of the computing resource 124 .
- types of virtualizations may include block virtualization and file virtualization.
- Block virtualization may refer to abstraction (or separation) of logical storage from physical storage so that the storage system may be accessed without regard to physical storage or heterogeneous structure. The separation may permit administrators of the storage system flexibility in how the administrators manage storage for end users.
- File virtualization may eliminate dependencies between data accessed at a file level and a location where files are physically stored. This may enable optimization of storage use, server consolidation, and/or performance of non-disruptive file migrations.
- the hypervisor 124 - 4 may provide hardware virtualization techniques that allow multiple operating systems (e.g., “guest operating systems”) to execute concurrently on a host computer, such as the computing resource 124 .
- the hypervisor 124 - 4 may present a virtual operating platform to the guest operating systems, and may manage the execution of the guest operating systems. Multiple instances of a variety of operating systems may share virtualized hardware resources.
- the network 130 includes one or more wired and/or wireless networks.
- the network 130 may include a cellular network (e.g., a fifth generation (5G) network, a long-term evolution (LTE) network, a third generation (3G) network, a code division multiple access (CDMA) network, etc.), a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., the Public Switched Telephone Network (PSTN)), a private network, an ad hoc network, an intranet, the Internet, a fiber optic-based network, or the like, and/or a combination of these or other types of networks.
- 5G fifth generation
- LTE long-term evolution
- 3G third generation
- CDMA code division multiple access
- PLMN public land mobile network
- LAN local area network
- WAN wide area network
- MAN metropolitan area network
- PSTN Public Switched Telephone Network
- private network
- the number and arrangement of devices and networks shown in FIG. 1 are provided as an example. In practice, there may be additional devices and/or networks, fewer devices and/or networks, different devices and/or networks, or differently arranged devices and/or networks than those shown in FIG. 1 . Furthermore, two or more devices shown in FIG. 1 may be implemented within a single device, or a single device shown in FIG. 1 may be implemented as multiple, distributed devices. Additionally, or alternatively, a set of devices (e.g., one or more devices) of the environment 100 may perform one or more functions described as being performed by another set of devices of the environment 100 .
- FIG. 2 is a block diagram of example components of one or more devices of FIG. 1 .
- the device 200 may correspond to the user device 110 and/or the platform 120 .
- device 200 may include a bus 210 , a processor 220 , a memory 230 , a storage component 240 , an input component 250 , an output component 260 , and a communication interface 270 .
- the bus 210 includes a component that permits communication among the components of the device 200 .
- the processor 220 is implemented in hardware, firmware, or a combination of hardware and software.
- the processor 220 is a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), or another type of processing component.
- the processor 220 includes one or more processors capable of being programmed to perform a function.
- the memory 230 includes a random access memory (RAM), a read only memory (ROM), and/or another type of dynamic or static storage device (e.g., a flash memory, a magnetic memory, and/or an optical memory) that stores information and/or instructions for use by the processor 220 .
- RAM random access memory
- ROM read only memory
- static storage device e.g., a flash memory, a magnetic memory, and/or an optical memory
- the storage component 240 stores information and/or software related to the operation and use of the device 200 .
- the storage component 240 may include a hard disk (e.g., a magnetic disk, an optical disk, a magneto-optic disk, and/or a solid state disk), a compact disc (CD), a digital versatile disc (DVD), a floppy disk, a cartridge, a magnetic tape, and/or another type of non-transitory computer-readable medium, along with a corresponding drive.
- the input component 250 includes a component that permits the device 200 to receive information, such as via user input (e.g., a touch screen display, a keyboard, a keypad, a mouse, a button, a switch, and/or a microphone). Additionally, or alternatively, the input component 250 may include a sensor for sensing information (e.g., a global positioning system (GPS) component, an accelerometer, a gyroscope, and/or an actuator).
- the output component 260 includes a component that provides output information from the device 200 (e.g., a display, a speaker, and/or one or more light-emitting diodes (LEDs)).
- LEDs light-emitting diodes
- the communication interface 270 includes a transceiver-like component (e.g., a transceiver and/or a separate receiver and transmitter) that enables the device 200 to communicate with other devices, such as via a wired connection, a wireless connection, or a combination of wired and wireless connections.
- the communication interface 270 may permit the device 200 to receive information from another device and/or provide information to another device.
- the communication interface 270 may include an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a Wi-Fi interface, a cellular network interface, or the like.
- the device 200 may perform one or more processes described herein. The device 200 may perform these processes in response to the processor 220 executing software instructions stored by a non-transitory computer-readable medium, such as the memory 230 and/or the storage component 240 .
- a computer-readable medium is defined herein as a non-transitory memory device.
- a memory device includes memory space within a single physical storage device or memory space spread across multiple physical storage devices.
- Software instructions may be read into the memory 230 and/or the storage component 240 from another computer-readable medium or from another device via the communication interface 270 .
- software instructions stored in the memory 230 and/or the storage component 240 may cause the processor 220 to perform one or more processes described herein.
- hardwired circuitry may be used in place of or in combination with software instructions to perform one or more processes described herein.
- implementations described herein are not limited to any specific combination of hardware circuitry and software.
- the device 200 may include additional components, fewer components, different components, or differently arranged components than those shown in FIG. 2 . Additionally, or alternatively, a set of components (e.g., one or more components) of the device 200 may perform one or more functions described as being performed by another set of components of the device 200 .
- FIG. 3 is a block diagram of an NBMP system 300 , according to embodiments.
- the NBMP system 300 includes an NBMP source 310 , an NBMP workflow manager 320 , a function repository 330 , a network controller 340 , one or more media processing entities 350 , a media source 360 , and a media sink 370 .
- the NBMP source 310 may receive instructions from a third party entity 380 , may communicate with the NBMP workflow manager 320 via an NBMP workflow API, and may communicate with the function repository 330 via a function discovery API. For example, the NBMP source 310 may send a workflow description document to the NBMP workflow manager 320 , and may read a function description of functions that are stored in a memory of the function repository 330 .
- the functions may include media processing functions such as, for example, functions of media decoding, feature point extraction, camera parameter extraction, projection method, seam information extraction, blending, post-processing, and encoding.
- the NBMP source 310 may include at least one processor and a memory that stores code configured to cause the at least processor to perform functions of the NBMP source 310 .
- the NBMP source 310 may request the NBMP workflow manager 320 to create workflow including tasks 351 and 352 to be performed by the one or more media processing entities 350 , by sending the workflow description document to the NBMP workflow manager 320 .
- the workflow description document may include descriptors, each of which may include parameters.
- the NBMP source 310 may select one or more of the functions stored in the function repository 330 , and send, to the NBMP workflow manager 320 , the workflow description document including the descriptors for describing details such as input and output data, the selected one or more of the functions, and requirements for a workflow.
- the workflow description document may further include a set of task descriptions and a connection map of inputs and outputs of the tasks 351 and 352 to be performed by the one or more of the media processing entities 350 .
- the NBMP workflow manager 320 may create the workflow by instantiating the tasks 351 and 352 based on function names and connecting the tasks 351 and 352 in accordance with the connection map.
- the NBMP source 310 may request the NBMP workflow manager 320 to create a workflow by using a set of keywords.
- the NBMP source 310 may send, to the NBMP workflow manager 320 , the workflow description document including the set of the keywords that the NBMP workflow manager 320 may use to find appropriate one or more of the functions stored in the function repository 330 .
- the NBMP workflow manager 320 may create the workflow by searching for the appropriate one or more of the functions, using the keywords that may be specified in a Processing Descriptor of the workflow description document, and by using other descriptors in the workflow description document to provision and connect the tasks 351 and 352 .
- the NBMP workflow manager 320 may communicate with the function repository 330 via a function discovery API, and may communicate with one or more of the media processing entities 350 , through the network controller 340 , via an NBMP task API, an NBMP link API, and a function discovery API.
- the NBMP workflow manager 320 may include at least one processor and a memory that stores code configured to cause the at least processor to perform functions of the NBMP workflow manager 320 .
- the NBMP workflow manager 320 may use the NBMP task API to setup, configure, manage, and monitor one or more of the tasks 351 and 352 of the workflow that is performable by the one or more media processing entities 350 .
- the NBMP workflow manager 320 may use the NBMP task API to update and destroy the tasks 351 and 352 .
- the NBMP workflow manager 320 may send messages, such as requests, to one or more of the media processing entities 350 , wherein each message may have descriptors, each of which may include parameters.
- the tasks 351 and 352 may each include one or more media processing functions 354 and one or more configurations 353 for the one or more media processing functions 354 .
- the NBMP workflow manager 320 may select the tasks based on descriptions of the tasks in the workflow description document, to search the function repository 330 , via the function discovery API, to find appropriate one or more of the functions to run as the tasks 351 and 352 for the current workflow. For example, the NBMP workflow manager 320 may select the tasks based on keywords that are provided in the workflow description document.
- the NBMP workflow manager 320 may configure the selected tasks in the workflow by using the NBMP task API. For example, the NBMP workflow manager 320 may extract configuration data from information that is received from the NBMP source, and configure the tasks 351 and 352 based on the extracted configuration data.
- the one or more media processing entities 350 may be configured to receive media content from the media source 360 , process the received media content in accordance with the workflow that includes the tasks 351 and 352 and is created by the NBMP workflow manager 320 , and output the processed media content to the media sink 370 .
- the one or more media processing entities 350 may each include at least one processor and a memory that stores code configured to cause the at least processor to perform functions of the one or more media processing entities 350 .
- the network controller 340 may include at least one processor and a memory that stores code configured to cause the at least processor to perform functions of the network controller 340 .
- the media source 360 may include memory that stores media and may be integrated with or separate from the NBMP source 310 .
- the NBMP workflow manager 320 may notify the NBMP source 310 and/or the media source 360 when a workflow is prepared, and the media source 360 may transmit media content to the one or more of the media processing entities 350 based on a notification that the workflow is prepared.
- the media sink 370 may include at least one processor and at least one display that is configured to display media content that is processed by the one or more media processing entities 350 .
- the third party entity 380 may include at least one processor and a memory that stores code configured to cause the at least processor to perform functions of the third party entity 380 .
- messages from the NBMP source 310 e.g. a workflow description document for requesting creation of a workflow
- messages from the NBMP workflow manager 320 may include descriptors, each of which including parameters.
- communication between any of components of the NBMP system 300 using an API may include descriptors, each of which including parameters.
- Embodiments described herein provide an envelope descriptor that is added to the NBMP task API shown in FIG. 3 .
- Any communication through the NBMP task API carries one envelope descriptor including information that is described in Table 1:
- Sender ID Mandatory Unique sender's ID. String This ID shall be unique among all entities (a workflow manager and tasks) in a scope of a session. Recipients Mandatory List of unique String ID recipients' IDs. These IDs shall be unique among all entities (a workflow manager and tasks) in a scope of a session.
- a message version indicates a version of a message and can be used for future extensions.
- a message ID is used to identify one instance of a message. This is useful if the same message is sent multiple times. Recipients may only process one and ignore others.
- Session ID is used to identify a session.
- the session is defined by a workflow description document, as it depends on a lifetime and a scope of an application.
- the session ID along with a Message ID define a unique ID of a message cross all sessions that are set up by a user.
- a message priority indicates a priority of a message for a sender. This is a number, and a lower number means a higher priority.
- a publish time indicate a wall clock time of composing a message. This can be used for ordering messages from the same sender or multiple senders in terms of processing the messages.
- An expiration time indicate a wall clock time at which a message will be expired, and processing the message after the expiration time is not required.
- a sender ID is a unique ID of a sender of a message, as there is one sender per one workflow.
- a recipients ID is a list of unique IDs for recipients of a message.
- the envelope descriptor may be used for any API and/or any descriptor of the NBMP system 300 shown in FIG. 3 .
- a user For each session, a user initially sets up parameters of an envelope descriptor. For instance, the user may assign a session ID, set up sender/recipient IDs for each task, and define a priority range for each task.
- the workflow description document includes information that is described in Table 2:
- the NBMP workflow manager 320 may use the following parameters of an envelope descriptor during each task configuration as described in Table 3:
- the NBMP workflow manager 320 may use the session ID defined in the workflow description document in the envelope descriptor.
- the NBMP workflow manager 320 may use the same value of the sender ID for all tasks being created.
- every API request includes one and only one envelope descriptor.
- the NBMP workflow manager 320 may use a sender ID and tasks IDs in these requests that are established during an initial setup.
- Each task shall use a mandatory parameter and values set that is received during an initial setup for request through an API.
- the NBMP workflow manager 320 may more easily find repeated messages in a workflow and purge them except for one that is kept for processing. Further, the NBMP workflow manager 320 may more easily prioritize the messages, using a message priority parameter of the envelope descriptor. Lastly, components of the NBMP system 300 may more easily log and trace messages, workflows, tasks and functions, using the envelope descriptor.
- FIG. 4 is a flowchart of a method 400 of processing media content in MPEG NBMP, according to embodiments.
- one or more process blocks of FIG. 4 may be performed by the platform 120 implementing the NBMP system 300 .
- one or more process blocks of FIG. 4 may be performed by another device or a group of devices separate from or including the platform 120 implementing the NBMP system 300 , such as the user device 110 .
- the method 400 includes obtaining multiple tasks for processing the media content, each of the multiple tasks having an envelope descriptor indicating, for a respective one among the multiple tasks, a message identifier (ID), a message priority and a sender ID of a sender.
- ID message identifier
- sender ID a message priority
- the method 400 includes determining whether repeated tasks exist among the obtained multiple tasks, based on the message ID and the sender ID of each of the obtained multiple tasks.
- the method 400 includes, based on the repeated tasks being determined to exist, processing the media content, using one among the repeated tasks that has a highest priority among the message priority of each of the repeated tasks.
- the method 400 includes, based on the repeated tasks being determined to not exist, processing the media content, using the obtained multiple tasks.
- the determining whether the repeated tasks exist among the obtained multiple tasks may include determining whether the message ID of a first one among the repeated tasks is identical to the message ID of a second one among the repeated tasks, and based on the message ID of the first one among the repeated tasks being determined to be identical to the message ID of the second one among the repeated tasks, determining that the repeated tasks exist among the obtained multiple tasks.
- the determining whether the repeated tasks exist among the obtained multiple tasks may include determining whether the sender ID of a first one among the repeated tasks is identical to the sender ID of a second one among the repeated tasks, and based on the sender ID of the first one among the repeated tasks being determined to be identical to the sender ID of the second one among the repeated tasks, determining that the repeated tasks exist among the obtained multiple tasks.
- the method may further include, based on the repeated tasks being determined to exist, purging a remaining one among the repeated tasks from the obtained multiple tasks so that the media content is not processed using the purged remaining one among the repeated tasks.
- the processing the media content, using the obtained multiple tasks may include, based on the repeated tasks being determined to not exist, processing the media content, using the obtained multiple tasks in an order based on the message priority of each of the obtained multiple tasks.
- the method may further include logging the obtained multiple tasks, using the envelope descriptor of each of the obtained multiple tasks.
- the method may be performed by the media processing entity 350 , and the multiple tasks may be obtained from the NBIVIP workflow manager 320 .
- FIG. 4 shows example blocks of the method 400
- the method 400 may include additional blocks, fewer blocks, different blocks, or differently arranged blocks than those depicted in FIG. 4 . Additionally, or alternatively, two or more of the blocks of the method 400 may be performed in parallel.
- FIG. 5 is a diagram of an apparatus 500 for processing media content in MPEG NBMP, according to embodiments. As shown in FIG. 5 , the apparatus 500 includes obtaining code 510 , determining code 520 , processing code 530 , purging code 540 and logging code 550 .
- the obtaining code 510 is configured to cause the at least one processor to obtain multiple tasks for processing the media content, each of the multiple tasks having an envelope descriptor indicating, for a respective one among the multiple tasks, a message identifier (ID), a message priority and a sender ID of a sender.
- ID message identifier
- sender ID a sender ID of a sender.
- the determining code 520 is configured to cause the at least one processor to determine whether repeated tasks exist among the obtained multiple tasks, based on the message ID and the sender ID of each of the obtained multiple tasks.
- the processing code 530 is configured to cause the at least one processor to, based on the repeated tasks being determined to exist, process the media content, using one among the repeated tasks that has a highest priority among the message priority of each of the repeated tasks, and based on the repeated tasks being determined to not exist, process the media content, using the obtained multiple tasks.
- the determining code 520 may be further configured to cause the at least one processor to determine whether the message ID of a first one among the repeated tasks is identical to the message ID of a second one among the repeated tasks, and based on the message ID of the first one among the repeated tasks being determined to be identical to the message ID of the second one among the repeated tasks, determine that the repeated tasks exist among the obtained multiple tasks.
- the determining code 520 may be further configured to cause the at least one processor to determine whether the sender ID of a first one among the repeated tasks is identical to the sender ID of a second one among the repeated tasks, and based on the sender ID of the first one among the repeated tasks being determined to be identical to the sender ID of the second one among the repeated tasks, determine that the repeated tasks exist among the obtained multiple tasks.
- the purging code 540 may be configured to cause the at least one processor to, based on the repeated tasks being determined to exist, purge a remaining one among the repeated tasks from the obtained multiple tasks so that the media content is not processed using the purged remaining one among the repeated tasks.
- the processing code 530 may be further configured to cause the at least one processor to, based on the repeated tasks being determined to not exist, process the media content, using the obtained multiple tasks in an order based on the message priority of each of the obtained multiple tasks.
- the logging code 550 may be configured to cause the at least one processor to log the obtained multiple tasks, using the envelope descriptor of each of the obtained multiple tasks.
- the apparatus may be the media processing entity 350 , and the multiple tasks are obtained from the NBMP workflow manager 320 .
- the term component is intended to be broadly construed as hardware, firmware, or a combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Library & Information Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
- This application claims priority from U.S. Provisional Patent Application No. 62/819,451, filed on Mar. 15, 2019, in the U.S. Patent and Trademark Office, the disclosure of which is incorporated herein by reference in its entirety.
- The Moving Picture Experts Group (MPEG) Network Based Media Processing (NBMP) project has developed a concept of processing media on cloud. However, current NBMP design does not provide an application program interface (API) abstraction for network management. Current NBMP design only provides APIs for cloud resources such as a hardware platform.
- Further, current NBMP design does not include a common way of packaging messages passed through the APIs. Accordingly, processing messages may not go through the APIs effectively. For example, in a deployment of a workflow, several tasks may be run over multiple media processing entities. A workflow manger and the tasks may communicate through task APIs by dispatching/inquiring a group of descriptors. In large deployments, especially in high-scale ones, a number of dispatches/inquiries during a media session might be in the order of thousands or millions. Multiple messages or inquiries might occur that convey the same information. An order of these messages, their source and intended receipts among other information may be important for efficiently and effectively processing the messages.
- According to embodiments, a method of processing media content in Moving Picture Experts Group (MPEG) Network Based Media Processing (NBMP) is performed by at least one processor, and includes obtaining multiple tasks for processing the media content, each of the multiple tasks having an envelope descriptor indicating, for a respective one among the multiple tasks, a message identifier (ID), a message priority and a sender ID of a sender. The method further includes determining whether repeated tasks exist among the obtained multiple tasks, based on the message ID and the sender ID of each of the obtained multiple tasks, based on the repeated tasks being determined to exist, processing the media content, using one among the repeated tasks that has a highest priority among the message priority of each of the repeated tasks, and based on the repeated tasks being determined to not exist, processing the media content, using the obtained multiple tasks.
- According to embodiments, an apparatus for processing media content in Moving Picture Experts Group (MPEG) Network Based Media Processing (NBMP) includes at least one memory configured to store program code, and at least one processor configured to read the program code and operate as instructed by the program code. The program code includes obtaining code configured to cause the at least one processor to obtain multiple tasks for processing the media content, each of the multiple tasks having an envelope descriptor indicating, for a respective one among the multiple tasks, a message identifier (ID), a message priority and a sender ID of a sender, and determining code configured to cause the at least one processor to determine whether repeated tasks exist among the obtained multiple tasks, based on the message ID and the sender ID of each of the obtained multiple tasks. The program code further includes processing code configured to cause the at least one processor to, based on the repeated tasks being determined to exist, process the media content, using one among the repeated tasks that has a highest priority among the message priority of each of the repeated tasks, and based on the repeated tasks being determined to not exist, process the media content, using the obtained multiple tasks.
- According to embodiments, a non-transitory computer-readable medium stores instructions that, when executed by at least one processor of an apparatus for processing media content in Moving Picture Experts Group (MPEG) Network Based Media Processing (NBMP), cause the at least one processor to obtain multiple tasks for processing the media content, each of the multiple tasks having an envelope descriptor indicating, for a respective one among the multiple tasks, a message identifier (ID), a message priority and a sender ID of a sender. The instructions further cause the at least one processor to determine whether repeated tasks exist among the obtained multiple tasks, based on the message ID and the sender ID of each of the obtained multiple tasks, based on the repeated tasks being determined to exist, process the media content, using one among the repeated tasks that has a highest priority among the message priority of each of the repeated tasks, and based on the repeated tasks being determined to not exist, process the media content, using the obtained multiple tasks.
-
FIG. 1 is a diagram of an environment in which methods, apparatuses and systems described herein may be implemented, according to embodiments. -
FIG. 2 is a block diagram of example components of one or more devices ofFIG. 1 . -
FIG. 3 is a block diagram of an NBMP system, according to embodiments. -
FIG. 4 is a flowchart of a method of processing media content in MPEG NBMP, according to embodiments. -
FIG. 5 is a block diagram of an apparatus for processing media content in MPEG NBMP, according to embodiments. - Embodiments described herein provide an envelope descriptor in the MPEG NBMP standard. The envelope descriptor is added to all requests that are communicated through an NBMP task API. Such an envelope descriptor increases media processing efficiency, increases speed and lower cost of deployment of media services, and allows large scale deployment of media services by leveraging public, private or hybrid cloud services.
-
FIG. 1 is a diagram of anenvironment 100 in which methods, apparatuses and systems described herein may be implemented, according to embodiments. As shown inFIG. 1 , theenvironment 100 may include a user device 110, aplatform 120, and anetwork 130. Devices of theenvironment 100 may interconnect via wired connections, wireless connections, or a combination of wired and wireless connections. - The user device 110 includes one or more devices capable of receiving, generating, storing, processing, and/or providing information associated with
platform 120. For example, the user device 110 may include a computing device (e.g., a desktop computer, a laptop computer, a tablet computer, a handheld computer, a smart speaker, a server, etc.), a mobile phone (e.g., a smart phone, a radiotelephone, etc.), a wearable device (e.g., a pair of smart glasses or a smart watch), or a similar device. In some implementations, the user device 110 may receive information from and/or transmit information to theplatform 120. - The
platform 120 includes one or more devices as described elsewhere herein. In some implementations, theplatform 120 may include a cloud server or a group of cloud servers. In some implementations, theplatform 120 may be designed to be modular such that software components may be swapped in or out depending on a particular need. As such, theplatform 120 may be easily and/or quickly reconfigured for different uses. - In some implementations, as shown, the
platform 120 may be hosted in acloud computing environment 122. Notably, while implementations described herein describe theplatform 120 as being hosted in thecloud computing environment 122, in some implementations, theplatform 120 may not be cloud-based (i.e., may be implemented outside of a cloud computing environment) or may be partially cloud-based. - The
cloud computing environment 122 includes an environment that hosts theplatform 120. Thecloud computing environment 122 may provide computation, software, data access, storage, etc. services that do not require end-user (e.g., the user device 110) knowledge of a physical location and configuration of system(s) and/or device(s) that hosts theplatform 120. As shown, thecloud computing environment 122 may include a group of computing resources 124 (referred to collectively as “computing resources 124” and individually as “computing resource 124”). - The
computing resource 124 includes one or more personal computers, workstation computers, server devices, or other types of computation and/or communication devices. In some implementations, thecomputing resource 124 may host theplatform 120. The cloud resources may include compute instances executing in thecomputing resource 124, storage devices provided in thecomputing resource 124, data transfer devices provided by thecomputing resource 124, etc. In some implementations, thecomputing resource 124 may communicate withother computing resources 124 via wired connections, wireless connections, or a combination of wired and wireless connections. - As further shown in
FIG. 1 , thecomputing resource 124 includes a group of cloud resources, such as one or more applications (“APPs”) 124-1, one or more virtual machines (“VMs”) 124-2, virtualized storage (“VSs”) 124-3, one or more hypervisors (“HYPs”) 124-4, or the like. - The application 124-1 includes one or more software applications that may be provided to or accessed by the user device 110 and/or the
platform 120. The application 124-1 may eliminate a need to install and execute the software applications on the user device 110. For example, the application 124-1 may include software associated with theplatform 120 and/or any other software capable of being provided via thecloud computing environment 122. In some implementations, one application 124-1 may send/receive information to/from one or more other applications 124-1, via the virtual machine 124-2. - The virtual machine 124-2 includes a software implementation of a machine (e.g., a computer) that executes programs like a physical machine. The virtual machine 124-2 may be either a system virtual machine or a process virtual machine, depending upon use and degree of correspondence to any real machine by the virtual machine 124-2. A system virtual machine may provide a complete system platform that supports execution of a complete operating system (“OS”). A process virtual machine may execute a single program, and may support a single process. In some implementations, the virtual machine 124-2 may execute on behalf of a user (e.g., the user device 110), and may manage infrastructure of the
cloud computing environment 122, such as data management, synchronization, or long-duration data transfers. - The virtualized storage 124-3 includes one or more storage systems and/or one or more devices that use virtualization techniques within the storage systems or devices of the
computing resource 124. In some implementations, within the context of a storage system, types of virtualizations may include block virtualization and file virtualization. Block virtualization may refer to abstraction (or separation) of logical storage from physical storage so that the storage system may be accessed without regard to physical storage or heterogeneous structure. The separation may permit administrators of the storage system flexibility in how the administrators manage storage for end users. File virtualization may eliminate dependencies between data accessed at a file level and a location where files are physically stored. This may enable optimization of storage use, server consolidation, and/or performance of non-disruptive file migrations. - The hypervisor 124-4 may provide hardware virtualization techniques that allow multiple operating systems (e.g., “guest operating systems”) to execute concurrently on a host computer, such as the
computing resource 124. The hypervisor 124-4 may present a virtual operating platform to the guest operating systems, and may manage the execution of the guest operating systems. Multiple instances of a variety of operating systems may share virtualized hardware resources. - The
network 130 includes one or more wired and/or wireless networks. For example, thenetwork 130 may include a cellular network (e.g., a fifth generation (5G) network, a long-term evolution (LTE) network, a third generation (3G) network, a code division multiple access (CDMA) network, etc.), a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., the Public Switched Telephone Network (PSTN)), a private network, an ad hoc network, an intranet, the Internet, a fiber optic-based network, or the like, and/or a combination of these or other types of networks. - The number and arrangement of devices and networks shown in
FIG. 1 are provided as an example. In practice, there may be additional devices and/or networks, fewer devices and/or networks, different devices and/or networks, or differently arranged devices and/or networks than those shown inFIG. 1 . Furthermore, two or more devices shown inFIG. 1 may be implemented within a single device, or a single device shown inFIG. 1 may be implemented as multiple, distributed devices. Additionally, or alternatively, a set of devices (e.g., one or more devices) of theenvironment 100 may perform one or more functions described as being performed by another set of devices of theenvironment 100. -
FIG. 2 is a block diagram of example components of one or more devices ofFIG. 1 . Thedevice 200 may correspond to the user device 110 and/or theplatform 120. As shown inFIG. 2 ,device 200 may include a bus 210, aprocessor 220, amemory 230, astorage component 240, aninput component 250, anoutput component 260, and acommunication interface 270. - The bus 210 includes a component that permits communication among the components of the
device 200. Theprocessor 220 is implemented in hardware, firmware, or a combination of hardware and software. Theprocessor 220 is a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), or another type of processing component. In some implementations, theprocessor 220 includes one or more processors capable of being programmed to perform a function. Thememory 230 includes a random access memory (RAM), a read only memory (ROM), and/or another type of dynamic or static storage device (e.g., a flash memory, a magnetic memory, and/or an optical memory) that stores information and/or instructions for use by theprocessor 220. - The
storage component 240 stores information and/or software related to the operation and use of thedevice 200. For example, thestorage component 240 may include a hard disk (e.g., a magnetic disk, an optical disk, a magneto-optic disk, and/or a solid state disk), a compact disc (CD), a digital versatile disc (DVD), a floppy disk, a cartridge, a magnetic tape, and/or another type of non-transitory computer-readable medium, along with a corresponding drive. - The
input component 250 includes a component that permits thedevice 200 to receive information, such as via user input (e.g., a touch screen display, a keyboard, a keypad, a mouse, a button, a switch, and/or a microphone). Additionally, or alternatively, theinput component 250 may include a sensor for sensing information (e.g., a global positioning system (GPS) component, an accelerometer, a gyroscope, and/or an actuator). Theoutput component 260 includes a component that provides output information from the device 200 (e.g., a display, a speaker, and/or one or more light-emitting diodes (LEDs)). - The
communication interface 270 includes a transceiver-like component (e.g., a transceiver and/or a separate receiver and transmitter) that enables thedevice 200 to communicate with other devices, such as via a wired connection, a wireless connection, or a combination of wired and wireless connections. Thecommunication interface 270 may permit thedevice 200 to receive information from another device and/or provide information to another device. For example, thecommunication interface 270 may include an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a Wi-Fi interface, a cellular network interface, or the like. - The
device 200 may perform one or more processes described herein. Thedevice 200 may perform these processes in response to theprocessor 220 executing software instructions stored by a non-transitory computer-readable medium, such as thememory 230 and/or thestorage component 240. A computer-readable medium is defined herein as a non-transitory memory device. A memory device includes memory space within a single physical storage device or memory space spread across multiple physical storage devices. - Software instructions may be read into the
memory 230 and/or thestorage component 240 from another computer-readable medium or from another device via thecommunication interface 270. When executed, software instructions stored in thememory 230 and/or thestorage component 240 may cause theprocessor 220 to perform one or more processes described herein. Additionally, or alternatively, hardwired circuitry may be used in place of or in combination with software instructions to perform one or more processes described herein. Thus, implementations described herein are not limited to any specific combination of hardware circuitry and software. - The number and arrangement of components shown in
FIG. 2 are provided as an example. In practice, thedevice 200 may include additional components, fewer components, different components, or differently arranged components than those shown inFIG. 2 . Additionally, or alternatively, a set of components (e.g., one or more components) of thedevice 200 may perform one or more functions described as being performed by another set of components of thedevice 200. -
FIG. 3 is a block diagram of anNBMP system 300, according to embodiments. - Referring to
FIG. 3 , theNBMP system 300 includes anNBMP source 310, anNBMP workflow manager 320, afunction repository 330, anetwork controller 340, one or moremedia processing entities 350, amedia source 360, and amedia sink 370. - The
NBMP source 310 may receive instructions from athird party entity 380, may communicate with theNBMP workflow manager 320 via an NBMP workflow API, and may communicate with thefunction repository 330 via a function discovery API. For example, theNBMP source 310 may send a workflow description document to theNBMP workflow manager 320, and may read a function description of functions that are stored in a memory of thefunction repository 330. The functions may include media processing functions such as, for example, functions of media decoding, feature point extraction, camera parameter extraction, projection method, seam information extraction, blending, post-processing, and encoding. TheNBMP source 310 may include at least one processor and a memory that stores code configured to cause the at least processor to perform functions of theNBMP source 310. - The
NBMP source 310 may request theNBMP workflow manager 320 to createworkflow including tasks media processing entities 350, by sending the workflow description document to theNBMP workflow manager 320. The workflow description document may include descriptors, each of which may include parameters. - For example, the
NBMP source 310 may select one or more of the functions stored in thefunction repository 330, and send, to theNBMP workflow manager 320, the workflow description document including the descriptors for describing details such as input and output data, the selected one or more of the functions, and requirements for a workflow. The workflow description document may further include a set of task descriptions and a connection map of inputs and outputs of thetasks media processing entities 350. When theNBMP workflow manager 320 receives such information from theNBMP source 310, theNBMP workflow manager 320 may create the workflow by instantiating thetasks tasks - Alternatively or additionally, the
NBMP source 310 may request theNBMP workflow manager 320 to create a workflow by using a set of keywords. For example, theNBMP source 310 may send, to theNBMP workflow manager 320, the workflow description document including the set of the keywords that theNBMP workflow manager 320 may use to find appropriate one or more of the functions stored in thefunction repository 330. When theNBMP workflow manager 320 receives such information from theNBMP source 310, theNBMP workflow manager 320 may create the workflow by searching for the appropriate one or more of the functions, using the keywords that may be specified in a Processing Descriptor of the workflow description document, and by using other descriptors in the workflow description document to provision and connect thetasks - The
NBMP workflow manager 320 may communicate with thefunction repository 330 via a function discovery API, and may communicate with one or more of themedia processing entities 350, through thenetwork controller 340, via an NBMP task API, an NBMP link API, and a function discovery API. TheNBMP workflow manager 320 may include at least one processor and a memory that stores code configured to cause the at least processor to perform functions of theNBMP workflow manager 320. - The
NBMP workflow manager 320 may use the NBMP task API to setup, configure, manage, and monitor one or more of thetasks media processing entities 350. In embodiments, theNBMP workflow manager 320 may use the NBMP task API to update and destroy thetasks tasks NBMP workflow manager 320 may send messages, such as requests, to one or more of themedia processing entities 350, wherein each message may have descriptors, each of which may include parameters. Thetasks more configurations 353 for the one or more media processing functions 354. - In embodiments, after receiving the workflow description document from the
NBMP source 310 that does not include a list of tasks (e.g., includes a list of keywords instead of a list of tasks), theNBMP workflow manager 320 may select the tasks based on descriptions of the tasks in the workflow description document, to search thefunction repository 330, via the function discovery API, to find appropriate one or more of the functions to run as thetasks NBMP workflow manager 320 may select the tasks based on keywords that are provided in the workflow description document. After the appropriate one or more of the functions are identified using the keywords or the set of task descriptions that is provided by theNBMP source 310, theNBMP workflow manager 320 may configure the selected tasks in the workflow by using the NBMP task API. For example, theNBMP workflow manager 320 may extract configuration data from information that is received from the NBMP source, and configure thetasks - The one or more
media processing entities 350 may be configured to receive media content from themedia source 360, process the received media content in accordance with the workflow that includes thetasks NBMP workflow manager 320, and output the processed media content to themedia sink 370. The one or moremedia processing entities 350 may each include at least one processor and a memory that stores code configured to cause the at least processor to perform functions of the one or moremedia processing entities 350. - The
network controller 340 may include at least one processor and a memory that stores code configured to cause the at least processor to perform functions of thenetwork controller 340. - The
media source 360 may include memory that stores media and may be integrated with or separate from theNBMP source 310. In embodiments, theNBMP workflow manager 320 may notify theNBMP source 310 and/or themedia source 360 when a workflow is prepared, and themedia source 360 may transmit media content to the one or more of themedia processing entities 350 based on a notification that the workflow is prepared. - The media sink 370 may include at least one processor and at least one display that is configured to display media content that is processed by the one or more
media processing entities 350. - The
third party entity 380 may include at least one processor and a memory that stores code configured to cause the at least processor to perform functions of thethird party entity 380. - As discussed above, messages from the NBMP source 310 (e.g. a workflow description document for requesting creation of a workflow) to the
NBMP workflow manager 320, and messages (e.g. for causing the workflow to be performed) from theNBMP workflow manager 320 to the one or moremedia processing entities 350 may include descriptors, each of which including parameters. In embodiments, communication between any of components of theNBMP system 300 using an API may include descriptors, each of which including parameters. - Embodiments described herein provide an envelope descriptor that is added to the NBMP task API shown in
FIG. 3 . Any communication through the NBMP task API carries one envelope descriptor including information that is described in Table 1: -
TABLE 1 Envelope Descriptor Parameter Mandatory or Data Name Optional Description Type Message Mandatory Envelope version Number Version Message Mandatory Unique ID for a String Identifier message (instance). (ID) Messages with identical message IDs are equivalent and only one may be processed. Session ID Mandatory Unique ID for a String session. The session is defined by a user and a scope of uniqueness shall be determined by that definition. Message Optional Number indicating a Unsigned Priority priority of a message. Integer A lower number means a higher priority. Publish Time Mandatory Publication time of Network a message in a wall Time clock. Protocol (NTP) Format Expiration Optional An expiration time of NTP Time a message in a wall Format clock. Sender ID Mandatory Unique sender's ID. String This ID shall be unique among all entities (a workflow manager and tasks) in a scope of a session. Recipients Mandatory List of unique String ID recipients' IDs. These IDs shall be unique among all entities (a workflow manager and tasks) in a scope of a session. - In Table 1, a message version indicates a version of a message and can be used for future extensions.
- A message ID is used to identify one instance of a message. This is useful if the same message is sent multiple times. Recipients may only process one and ignore others.
- Session ID is used to identify a session. The session is defined by a workflow description document, as it depends on a lifetime and a scope of an application. The session ID along with a Message ID define a unique ID of a message cross all sessions that are set up by a user.
- A message priority indicates a priority of a message for a sender. This is a number, and a lower number means a higher priority.
- A publish time indicate a wall clock time of composing a message. This can be used for ordering messages from the same sender or multiple senders in terms of processing the messages.
- An expiration time indicate a wall clock time at which a message will be expired, and processing the message after the expiration time is not required.
- A sender ID is a unique ID of a sender of a message, as there is one sender per one workflow.
- A recipients ID is a list of unique IDs for recipients of a message.
- In embodiments, the envelope descriptor may be used for any API and/or any descriptor of the
NBMP system 300 shown inFIG. 3 . - If additional messages are in a task, only message IDs, message priorities and sender IDS of the additional messages may be kept for use in respective envelope descriptors and by the
NBMP workflow manager 320, to reduce redundancies and sizes of the envelope descriptors. - For each session, a user initially sets up parameters of an envelope descriptor. For instance, the user may assign a session ID, set up sender/recipient IDs for each task, and define a priority range for each task.
- The workflow description document includes information that is described in Table 2:
-
TABLE 2 Envelope Descriptor Parameter included in Workflow Description Document Parameter Mandatory or Data Name Optional Description Type Session ID Mandatory Session ID that String shall be used. - The
NBMP workflow manager 320 may use the following parameters of an envelope descriptor during each task configuration as described in Table 3: -
TABLE 3 Envelope Descriptor Parameters used in Task Configuration Parameter Mandatory or Data Name Optional Description Type Message Mandatory Highest envelope Number Version version that is accepted by a workflow manager. Message ID Optional Message ID prefix that String is assigned to a task. Every message from this task shall have this value as its prefix. A default value is no prefix. Session ID Mandatory Session ID that shall String be used. Message Optional Highest priority (lowest Unsigned Priority integer number) that may Integer be used. A default value is 0. Sender ID Mandatory Workflow manager's ID. String Recipients Mandatory ID that is assigned to a String ID task and shall be used in all messages. - The
NBMP workflow manager 320 may use the session ID defined in the workflow description document in the envelope descriptor. - The
NBMP workflow manager 320 may use the same value of the sender ID for all tasks being created. - The above values cannot be changed during task updates.
- In a use case of an envelope descriptor during a session, every API request includes one and only one envelope descriptor. The
NBMP workflow manager 320 may use a sender ID and tasks IDs in these requests that are established during an initial setup. - Each task shall use a mandatory parameter and values set that is received during an initial setup for request through an API.
- By using the envelope descriptor according to embodiments, the
NBMP workflow manager 320 may more easily find repeated messages in a workflow and purge them except for one that is kept for processing. Further, theNBMP workflow manager 320 may more easily prioritize the messages, using a message priority parameter of the envelope descriptor. Lastly, components of theNBMP system 300 may more easily log and trace messages, workflows, tasks and functions, using the envelope descriptor. -
FIG. 4 is a flowchart of amethod 400 of processing media content in MPEG NBMP, according to embodiments. In some implementations, one or more process blocks ofFIG. 4 may be performed by theplatform 120 implementing theNBMP system 300. In some implementations, one or more process blocks ofFIG. 4 may be performed by another device or a group of devices separate from or including theplatform 120 implementing theNBMP system 300, such as the user device 110. - As shown in
FIG. 4 , inoperation 410, themethod 400 includes obtaining multiple tasks for processing the media content, each of the multiple tasks having an envelope descriptor indicating, for a respective one among the multiple tasks, a message identifier (ID), a message priority and a sender ID of a sender. - In
operation 420, themethod 400 includes determining whether repeated tasks exist among the obtained multiple tasks, based on the message ID and the sender ID of each of the obtained multiple tasks. - In
operation 430, themethod 400 includes, based on the repeated tasks being determined to exist, processing the media content, using one among the repeated tasks that has a highest priority among the message priority of each of the repeated tasks. - In
operation 440, themethod 400 includes, based on the repeated tasks being determined to not exist, processing the media content, using the obtained multiple tasks. - The determining whether the repeated tasks exist among the obtained multiple tasks may include determining whether the message ID of a first one among the repeated tasks is identical to the message ID of a second one among the repeated tasks, and based on the message ID of the first one among the repeated tasks being determined to be identical to the message ID of the second one among the repeated tasks, determining that the repeated tasks exist among the obtained multiple tasks.
- The determining whether the repeated tasks exist among the obtained multiple tasks may include determining whether the sender ID of a first one among the repeated tasks is identical to the sender ID of a second one among the repeated tasks, and based on the sender ID of the first one among the repeated tasks being determined to be identical to the sender ID of the second one among the repeated tasks, determining that the repeated tasks exist among the obtained multiple tasks.
- The method may further include, based on the repeated tasks being determined to exist, purging a remaining one among the repeated tasks from the obtained multiple tasks so that the media content is not processed using the purged remaining one among the repeated tasks.
- The processing the media content, using the obtained multiple tasks, may include, based on the repeated tasks being determined to not exist, processing the media content, using the obtained multiple tasks in an order based on the message priority of each of the obtained multiple tasks.
- The method may further include logging the obtained multiple tasks, using the envelope descriptor of each of the obtained multiple tasks.
- The method may be performed by the
media processing entity 350, and the multiple tasks may be obtained from theNBIVIP workflow manager 320. - Although
FIG. 4 shows example blocks of themethod 400, in some implementations, themethod 400 may include additional blocks, fewer blocks, different blocks, or differently arranged blocks than those depicted inFIG. 4 . Additionally, or alternatively, two or more of the blocks of themethod 400 may be performed in parallel. -
FIG. 5 is a diagram of anapparatus 500 for processing media content in MPEG NBMP, according to embodiments. As shown inFIG. 5 , theapparatus 500 includes obtainingcode 510, determiningcode 520,processing code 530, purgingcode 540 andlogging code 550. - The obtaining
code 510 is configured to cause the at least one processor to obtain multiple tasks for processing the media content, each of the multiple tasks having an envelope descriptor indicating, for a respective one among the multiple tasks, a message identifier (ID), a message priority and a sender ID of a sender. - The determining
code 520 is configured to cause the at least one processor to determine whether repeated tasks exist among the obtained multiple tasks, based on the message ID and the sender ID of each of the obtained multiple tasks. - The
processing code 530 is configured to cause the at least one processor to, based on the repeated tasks being determined to exist, process the media content, using one among the repeated tasks that has a highest priority among the message priority of each of the repeated tasks, and based on the repeated tasks being determined to not exist, process the media content, using the obtained multiple tasks. - The determining
code 520 may be further configured to cause the at least one processor to determine whether the message ID of a first one among the repeated tasks is identical to the message ID of a second one among the repeated tasks, and based on the message ID of the first one among the repeated tasks being determined to be identical to the message ID of the second one among the repeated tasks, determine that the repeated tasks exist among the obtained multiple tasks. - The determining
code 520 may be further configured to cause the at least one processor to determine whether the sender ID of a first one among the repeated tasks is identical to the sender ID of a second one among the repeated tasks, and based on the sender ID of the first one among the repeated tasks being determined to be identical to the sender ID of the second one among the repeated tasks, determine that the repeated tasks exist among the obtained multiple tasks. - The purging
code 540 may be configured to cause the at least one processor to, based on the repeated tasks being determined to exist, purge a remaining one among the repeated tasks from the obtained multiple tasks so that the media content is not processed using the purged remaining one among the repeated tasks. - The
processing code 530 may be further configured to cause the at least one processor to, based on the repeated tasks being determined to not exist, process the media content, using the obtained multiple tasks in an order based on the message priority of each of the obtained multiple tasks. - The
logging code 550 may be configured to cause the at least one processor to log the obtained multiple tasks, using the envelope descriptor of each of the obtained multiple tasks. - The apparatus may be the
media processing entity 350, and the multiple tasks are obtained from theNBMP workflow manager 320. - The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the implementations to the precise form disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice of the implementations.
- As used herein, the term component is intended to be broadly construed as hardware, firmware, or a combination of hardware and software.
- It will be apparent that systems and/or methods, described herein, may be implemented in different forms of hardware, firmware, or a combination of hardware and software. The actual specialized control hardware or software code used to implement these systems and/or methods is not limiting of the implementations. Thus, the operation and behavior of the systems and/or methods were described herein without reference to specific software code—it being understood that software and hardware may be designed to implement the systems and/or methods based on the description herein.
- Even though combinations of features are recited in the claims and/or disclosed in the specification, these combinations are not intended to limit the disclosure of possible implementations. In fact, many of these features may be combined in ways not specifically recited in the claims and/or disclosed in the specification. Although each dependent claim listed below may directly depend on only one claim, the disclosure of possible implementations includes each dependent claim in combination with every other claim in the claim set.
- No element, act, or instruction used herein should be construed as critical or essential unless explicitly described as such. Also, as used herein, the articles “a” and “an” are intended to include one or more items, and may be used interchangeably with “one or more.” Furthermore, as used herein, the term “set” is intended to include one or more items (e.g., related items, unrelated items, a combination of related and unrelated items, etc.), and may be used interchangeably with “one or more.” Where only one item is intended, the term “one” or similar language is used. Also, as used herein, the terms “has,” “have,” “having,” or the like are intended to be open-ended terms. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise.
Claims (20)
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/813,099 US11012721B2 (en) | 2019-03-15 | 2020-03-09 | Method and apparatus for envelope descriptor in moving picture experts group network based media processing |
CN202310078901.1A CN116074552A (en) | 2019-03-15 | 2020-03-12 | Media processing method, apparatus, computer device and computer readable medium |
CN202080018741.6A CN113545024B (en) | 2019-03-15 | 2020-03-12 | Method and apparatus for envelope descriptors in MPEG network-based media processing |
KR1020217014047A KR102456556B1 (en) | 2019-03-15 | 2020-03-12 | Method and apparatus for envelope descriptor in moving image expert group network-based media processing |
JP2021532206A JP7089120B2 (en) | 2019-03-15 | 2020-03-12 | How to process media content, equipment, and computer programs |
PCT/US2020/022260 WO2020190612A1 (en) | 2019-03-15 | 2020-03-12 | Method and apparatus for envelope descriptor in moving picture experts group network based media processing |
EP20773553.1A EP3939235A4 (en) | 2019-03-15 | 2020-03-12 | Method and apparatus for envelope descriptor in moving picture experts group network based media processing |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201962819451P | 2019-03-15 | 2019-03-15 | |
US16/813,099 US11012721B2 (en) | 2019-03-15 | 2020-03-09 | Method and apparatus for envelope descriptor in moving picture experts group network based media processing |
Publications (2)
Publication Number | Publication Date |
---|---|
US20200296431A1 true US20200296431A1 (en) | 2020-09-17 |
US11012721B2 US11012721B2 (en) | 2021-05-18 |
Family
ID=72422554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/813,099 Active US11012721B2 (en) | 2019-03-15 | 2020-03-09 | Method and apparatus for envelope descriptor in moving picture experts group network based media processing |
Country Status (6)
Country | Link |
---|---|
US (1) | US11012721B2 (en) |
EP (1) | EP3939235A4 (en) |
JP (1) | JP7089120B2 (en) |
KR (1) | KR102456556B1 (en) |
CN (2) | CN113545024B (en) |
WO (1) | WO2020190612A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200412837A1 (en) * | 2019-06-26 | 2020-12-31 | Tencent America LLC | Efficient and extensive function groups with multi-instance function support for cloud based processing |
WO2022207962A1 (en) * | 2021-03-29 | 2022-10-06 | Nokia Technologies Oy | A method, an apparatus and a computer program product for processing media data |
US11496532B2 (en) * | 2020-04-10 | 2022-11-08 | Samsung Electronics Co., Ltd. | Offering media services through network edge |
US11765236B2 (en) | 2019-06-26 | 2023-09-19 | Tencent America LLC | Efficient and extensive function groups with multi-instance function support for cloud based processing |
WO2023204965A1 (en) * | 2022-04-19 | 2023-10-26 | Tencent America LLC | Tailored scheduling of nbmp media workflows based on the platform capabilities |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11593150B2 (en) | 2020-10-05 | 2023-02-28 | Tencent America LLC | Method and apparatus for cloud service |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6678698B2 (en) | 2000-02-15 | 2004-01-13 | Intralinks, Inc. | Computerized method and system for communicating and managing information used in task-oriented projects |
US20050005025A1 (en) | 2003-07-04 | 2005-01-06 | Michael Harville | Method for managing a streaming media service |
US20050094729A1 (en) | 2003-08-08 | 2005-05-05 | Visionflow, Inc. | Software and hardware partitioning for multi-standard video compression and decompression |
US7793299B2 (en) * | 2005-08-30 | 2010-09-07 | International Business Machines Corporation | System and method for scheduling tasks for execution |
US8520979B2 (en) | 2008-08-19 | 2013-08-27 | Digimarc Corporation | Methods and systems for content processing |
US9081742B2 (en) * | 2009-04-27 | 2015-07-14 | Intel Corporation | Network communications processor architecture |
US11277598B2 (en) * | 2009-07-14 | 2022-03-15 | Cable Television Laboratories, Inc. | Systems and methods for network-based media processing |
US8549536B2 (en) | 2009-11-30 | 2013-10-01 | Autonomy, Inc. | Performing a workflow having a set of dependancy-related predefined activities on a plurality of task servers |
US9647899B2 (en) | 2012-12-13 | 2017-05-09 | Level 3 Communications, Llc | Framework supporting content delivery with content delivery services |
WO2014172597A1 (en) * | 2013-04-19 | 2014-10-23 | Cubic Corporation | Reservation scheduler for real-time operating systems in wireless sensor networks |
JP6492707B2 (en) | 2015-02-04 | 2019-04-03 | 富士通株式会社 | Packet detection program, packet detection apparatus, and packet detection method |
US10223400B2 (en) * | 2015-12-17 | 2019-03-05 | Facebook, Inc. | Techniques to configure media packages |
US10917477B2 (en) * | 2016-05-25 | 2021-02-09 | Samsung Electronics Co., Ltd. | Method and apparatus for MMT integration in CDN |
-
2020
- 2020-03-09 US US16/813,099 patent/US11012721B2/en active Active
- 2020-03-12 KR KR1020217014047A patent/KR102456556B1/en active IP Right Grant
- 2020-03-12 CN CN202080018741.6A patent/CN113545024B/en active Active
- 2020-03-12 WO PCT/US2020/022260 patent/WO2020190612A1/en active Application Filing
- 2020-03-12 EP EP20773553.1A patent/EP3939235A4/en active Pending
- 2020-03-12 CN CN202310078901.1A patent/CN116074552A/en active Pending
- 2020-03-12 JP JP2021532206A patent/JP7089120B2/en active Active
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200412837A1 (en) * | 2019-06-26 | 2020-12-31 | Tencent America LLC | Efficient and extensive function groups with multi-instance function support for cloud based processing |
US11546431B2 (en) * | 2019-06-26 | 2023-01-03 | Tencent America LLC | Efficient and extensive function groups with multi-instance function support for cloud based processing |
US11765236B2 (en) | 2019-06-26 | 2023-09-19 | Tencent America LLC | Efficient and extensive function groups with multi-instance function support for cloud based processing |
US11496532B2 (en) * | 2020-04-10 | 2022-11-08 | Samsung Electronics Co., Ltd. | Offering media services through network edge |
WO2022207962A1 (en) * | 2021-03-29 | 2022-10-06 | Nokia Technologies Oy | A method, an apparatus and a computer program product for processing media data |
WO2023204965A1 (en) * | 2022-04-19 | 2023-10-26 | Tencent America LLC | Tailored scheduling of nbmp media workflows based on the platform capabilities |
Also Published As
Publication number | Publication date |
---|---|
CN116074552A (en) | 2023-05-05 |
KR20210072076A (en) | 2021-06-16 |
JP7089120B2 (en) | 2022-06-21 |
US11012721B2 (en) | 2021-05-18 |
WO2020190612A1 (en) | 2020-09-24 |
CN113545024B (en) | 2023-01-06 |
EP3939235A4 (en) | 2022-12-07 |
KR102456556B1 (en) | 2022-10-21 |
EP3939235A1 (en) | 2022-01-19 |
JP2022511549A (en) | 2022-01-31 |
CN113545024A (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11012721B2 (en) | Method and apparatus for envelope descriptor in moving picture experts group network based media processing | |
US11297121B2 (en) | Split rendering using network based media processing workflow | |
US11356534B2 (en) | Function repository selection mode and signaling for cloud based processing | |
US11496414B2 (en) | Interoperable cloud based media processing using dynamic network interface | |
US11544108B2 (en) | Method and apparatus for functional improvements to moving picture experts group network based media processing | |
US11782751B2 (en) | Method and apparatus for improvements to moving picture experts group network based media processing | |
US20230035558A1 (en) | Extensible schemes and scheme signaling for cloud based processing | |
US11675796B2 (en) | Method and apparatus for metadata of function and function group search in moving picture experts group network based media processing | |
CN111831834A (en) | Method and apparatus for processing media content in network-based media processing (NBMP) | |
US11838390B2 (en) | Function repository selection mode and signaling for cloud based processing | |
US11539776B2 (en) | Method for signaling protocol characteristics for cloud workflow inputs and outputs | |
US20220337530A1 (en) | Method for switching workflow or updating workflow with continuity and no interruption in dataflow | |
US20230008616A1 (en) | Method and system for monitoring, reporting and notification of cloud platform system variables and events |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: TENCENT AMERICA LLC, CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SODAGAR, IRAJ;REEL/FRAME:052056/0578 Effective date: 20191226 |
|
FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT RECEIVED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |