Method, device and medium for accessing restricted application protocol server

By introducing CoAP API support and MPEG extended syntax into the media access function, the problem of difficulty in transmitting 3D modeling syntax media objects under restricted networks in the existing technology is solved, and efficient video streaming transmission and rendering in IoT devices is achieved. Meets the need for immersive media content.

CN115552872BActive Publication Date: 2024-10-22TENCENT AMERICA LLC
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202180034464.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-10-12
Filing Date
2021-10-14
Publication Date
2024-10-22
Estimated Expiration
2041-10-14

AI Technical Summary

Technical Problem

Existing media scene description systems are difficult to effectively support the transmission and rendering of immersive media content for media objects with 3D modeling syntax in restricted network environments. Especially in IoT devices, the traditional HTTP protocol is difficult to achieve efficient video Streaming transmission, and CoAP as a lightweight alternative protocol has limitations in deployment on low-power devices.

Method used

By introducing CoAP API support in the Media Access Function (MAF), making it compatible with CoAP and HTTP protocols, enabling access to the CoAP server, using MPEG extended syntax to extend the glTF format to support video and audio media types, and deploying CoAP clients in MAF client or HTTP-CoAP proxy to implement cross-protocol network proxy and support media resource requests and responses from IoT devices.

Benefits of technology

It enables efficient transmission and rendering of 3D modeling syntax media objects in restricted network environments, improves video streaming capabilities in IoT devices, ensures lightweight protocol stack deployment on low-power devices, and supports immersion The transmission and rendering of media content meets the media scene description needs of IoT devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115552872B_ABST
    Figure CN115552872B_ABST
Patent Text Reader

Abstract

Aspects of the present disclosure provide methods and devices for accessing a restricted application protocol (CoAP) server in a media scene description system. A media access function (MAF) of a processing circuit system implementing a media scene description system can use an application programming interface (API) to send a CoAP request to a CoAP server to request media resources. MAF can be configured as a CoAP client or a hypertext transfer protocol (HTTP)-CoAP proxy. A CoAP response can be received from a CoAP server by MAF using the API. In an example, the CoAP response includes the requested media resources. In an embodiment, MAF is compatible with both CoAP requests according to the CoAP communication protocol and proxy requests according to the HTTP communication protocol.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Incorporation by reference

[0002] This application claims the benefit of priority to U.S. Patent Application No. 17 / 499,561, filed on October 12, 2021, "METHOD AND APPARATUS OF COAP SUPPORT FOR IOT STREAMING DEVICES IN A MEDIA SCENEDESCRIPTION SYSTEM," which claims the benefit of priority to U.S. Provisional Application No. 63 / 177,783, filed on April 21, 2021, "METHOD AND APPARATUS OF COAP SUPPORT FOR IOT STREAMING DEVICES IN SCENE DESCRIPTION." The entire disclosure of the prior application is incorporated herein by reference in its entirety. Technical Field

[0003] The present disclosure describes implementations generally related to a system design that supports media objects using 3D modeling syntax, implements a media syntax that supports various media codecs, containers, and formats, manages media storage and delivery methods through predefined programming interfaces, and provides media buffer control and rendering capabilities. The present disclosure more particularly relates to a method, computer device, apparatus, and non-transitory computer-readable medium for accessing a restricted application protocol server. Background Art

[0004] The background description provided herein is for the purpose of generally presenting the context of the present disclosure. To the extent the work is described in this background section, the work of the presently named inventors and aspects of the description that may not otherwise be qualified as prior art at the time of filing are neither explicitly nor implicitly admitted to be prior art against the present disclosure.

[0005] Constrained Application Protocol (CoAP) is an Internet application protocol for constrained devices. CoAP enables constrained devices, called "nodes," to communicate with the wider Internet using a similar protocol. CoAP is designed for use between devices on the same constrained network (e.g., a low-power, lossy network), between devices on the Internet and general nodes, and between devices on different constrained networks connected by the Internet. Summary of the invention

[0006] According to an embodiment, a method for accessing a constrained application protocol (CoAP) server in a media scene description system is provided, characterized in that the method comprises: a media access function (MAF) of a processing circuit system implementing the media scene description system uses an application programming interface (API) to send a CoAP request to the CoAP server to request media resources, the MAF being configured as a CoAP client or a hypertext transfer protocol (HTTP)-CoAP proxy, wherein the MAF is compatible with both the CoAP request according to the CoAP communication protocol and the proxy request according to the HTTP communication protocol; and the MAF uses the API to receive a CoAP response from the CoAP server, the CoAP response including the requested media resources.

[0007] According to an embodiment, a computer device is provided, characterized in that the computer device includes: one or more computer-readable non-transitory storage media, which are configured to store computer program codes; and one or more computer processors, which are configured to access the computer program codes and execute the above-mentioned method of accessing a restricted application protocol server in a media scene description system according to the instructions of the computer program codes.

[0008] According to an embodiment, a device for accessing a constrained application protocol (CoAP) server in a media scene description system is provided, comprising a processing circuit system configured to execute the above method for accessing a constrained application protocol server in a media scene description system.

[0009] According to an embodiment, a non-transitory computer-readable medium storing instructions is provided, and when the instructions are executed by a processor, the processor executes the above-mentioned method of accessing a restricted application protocol server in a media scene description system.

[0010] The method, computer device, apparatus, and non-transitory computer-readable medium of the present disclosure for accessing a restricted application protocol server propose to add CoAP API support in MAF for IoT streaming devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Additional features, properties, and various advantages of the disclosed subject matter will become more apparent from the following detailed description and accompanying drawings, in which:

[0012] Figure 1 is a schematic diagram of a graphics language transmission format (glTF) scene description object according to an embodiment of the present disclosure.

[0013] Figure 2is an example of a glTF JavaScript Object Notation (JSON) format representation according to an embodiment of the present disclosure.

[0014] FIG. 3A to FIG. 3B An example of Moving Picture Experts Group (MPEG) glTF extension and timed media JSON representation according to an embodiment of the present disclosure is shown.

[0015] Figure 4 An example of a media scene description system reference architecture according to an embodiment of the present disclosure is shown.

[0016] Figure 5 is a schematic diagram of a Common Constrained Application Protocol (CoAP) deployment model according to an embodiment of the present disclosure.

[0017] Figure 6 An example of a media scene description system reference architecture according to another embodiment of the present disclosure is shown.

[0018] Figure 7 An example of a media scene description system reference architecture according to yet another embodiment of the present disclosure is shown.

[0019] Figure 8 A flow chart outlining a process according to one embodiment of the present disclosure is shown.

[0020] Fig. 9 A flow chart outlining a process according to another embodiment of the present disclosure is shown.

[0021] Fig.10 A flow chart outlining a process according to yet another embodiment of the present disclosure is shown.

[0022] Fig.11 is a schematic diagram of a computer system according to an embodiment. DETAILED DESCRIPTION

[0023] Figure 1is a schematic diagram of a graphics language transmission format (glTF) scene description object according to an embodiment of the present disclosure. glTF is a standard file format for three-dimensional (3D) scenes and models. glTF can support 3D model geometry, appearance, scene layer hierarchy, and animation. glTF is an application programming interface (API) neutral runtime asset 3D modeling transmission format. In some embodiments, glTF can provide a more efficient, scalable, and interoperable format for the transmission and loading of 3D content compared to traditional 3D modeling tools. glTF can be a streamlined and interoperable format for transmitting 3D assets while minimizing file size and runtime processing of applications.

[0024] glTF files can use one of two file extensions including .gltf (i.e., JSON / ASCII) and .glb (i.e., binary). .gltf files can be self-contained or can reference external binary and texture resources.

[0025] A glTF scene can be a combination of multiple glTF assets. A glTF asset can be a JSON file that contains a complete scene description. Figure 1 , a complete scene description may include scene objects (101), nodes (102), cameras (103), meshes (104), lights (105), animations (106), accessors (107), materials (108), skins (109), buffer views (110), techniques (111), textures (112), buffers (113), programs (114), images (115), samplers (116), and shaders (117). A complete scene description may also include supporting external data.

[0026] glTF can support external data sources that can be referenced in any of the above-mentioned scene objects. In various examples, binary files can be used for animations (106) or other buffer-based data (113). Image files can be used for object textures (112).

[0027] Figure 2An example of a glTF JavaScript Object Notation (JSON) format representation according to an embodiment of the present disclosure is shown. JSON is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects, including attribute-value pairs and arrays (or other serializable values). JSON is a general-purpose data format with multiple functions in data exchange, including communication between web applications and servers.

[0028] As described above, glTF scenes can be organized in JSON format. A glTF asset can include zero or more scenes (203), such as a collection of visual objects to be rendered. A scene can be defined as an array of scenes. Figure 2 A single scene (206) (e.g., scene 0) with a single node (201) (e.g., node 0 (205)) is shown. Various parameters can be associated with each node object. Name (name) (202) can specify the name of the node object. Scene Name (sceneName) (204) can specify the name of a single scene (scene) (206).

[0029] glTF scene assets can be consumed by rendering engines for rendering 3D or immersive scenes to users. In some examples, glTF syntax only supports 3D objects including static animations or computer-generated animations. In some examples, glTF syntax does not support media types such as video or audio, and video and / or audio media types are not rendered. Some glTF cannot use a geographic coordinate system to describe the scene, which may be desirable in some media rendering scenarios.

[0030] Therefore, glTF needs to be extended to support media types including: 2D flat video, immersive media content such as virtual reality (VR), augmented reality (AR) and / or extended reality (XR), and spatial audio. XR can refer to a virtual and real environment and human-computer interaction generated by computer technology and wearables, where "X" can represent a variable for any suitable current or future spatial computing technology. In the example, XR includes representations such as AR, mixed reality (MR), virtual reality (VR), and areas sandwiched between them. Therefore, in some examples, glTF needs to be extended to support video and / or audio syntax and systems for media transmission and rendering.

[0031] In an embodiment, the Moving Picture Experts Group (MPEG) defines certain extensions on top of the glTF specification for supporting immersive media content. Figure 1 , these extensions may include MPEG_media(130), MPEG_scene_dynamic(131), MPEG_animation_timing(132), MPEG_texture_video(133), MPEG_audio_spatial(134), MPEG_accessor_timed(135), MPEG_buffer_circular(136), etc.

[0032] In an example, if MPEG_media(130) is used as the root identifier and if specified, MPEG_media(130) may be supported. Figure 3A , the syntax supporting MPEG media can be declared as a top-level JSON syntax. In the example, the syntax from 301 to 304 (where supported) can be presented exactly as shown. The syntax from 301 to 304 can include extensionsRequired (301), MPEG_media (302), extensionsUsed (303) and MPEG_media (304).

[0033] The JSON patch protocol may be used to express scene updates, and MPEG_scene_dynamic(131) may be used to support the JSON patch protocol.

[0034] The MPEG texture video extension, identified by MPEG_texture_video(133), may provide the possibility to link glTF texture objects to MPEG media and corresponding tracks listed by the MPEG_media object. The MPEG texture video extension may provide a reference to MPEG_accessor_timed(135), where decoded timed textures may be made available. The MPEG_audio_spatial(134) extension supports multiple audio types.

[0035] To support timed data access, the buffer element can be extended to provide circular buffer functionality. This extension is named MPEG_buffer_circular(136) and can be included as part of a glTF "buffer" object.

[0036] The above-mentioned MPEG extensions can enable the use of glTF to create immersive experiences. glTF assets with MPEG extensions can be loaded into a rendering engine for visualization.

[0037] Figure 3B Some examples of MPEG gITF extensions are shown. In the examples, media types such as Multipurpose Internet Mail Extension (MIME) or MIME types are used. More specifically, the MIME type is indicated by application / dash+xml (305) and the Uniform Resource Identifier (URI) is indicated by manifest-1.mpd (306). Tracks (307) can be specified by (308). Another example is shown by (309) and (314). Figure 3B Also shown are a name (310), autoplay status (autoplay) (311), loop status (loop) (312), and alternatives (313).

[0038] Figure 4 Schematic diagram of a media scene description system reference architecture (also referred to as a reference media scene description architecture) (400) according to an embodiment of the present disclosure. The reference media scene description architecture (400) shows an example of how MPEG extensions can be used to support various media types such as audio, video, etc. Media content (or media data) can be retrieved from an external source (e.g., a cloud or media cloud (401)) using a media retrieval engine (also referred to as a media access function (MAF)) (402). The media content can be processed, for example, by a video decoder (403), an audio decoder (404), or a data compressor (405). The processed media content can be rendered by a rendering engine (409). Media data can be transmitted from the MAF (402) to the rendering engine (409) in the form of a buffer (e.g., a video buffer (406), an audio buffer (407), other buffers (408), etc.). In some examples, the media content is stored in a local storage device (410).

[0039] Reference Figure 4, the purpose of designing MPEG scene description extension is to decouple the rendering engine (409) from MAF (402). The rendering engine (409) and MAF (402) can communicate through a predefined programming interface, and therefore the rendering engine (409) can request the media data required for rendering the scene. MAF (402) can retrieve the requested media data and make the media data available in a format that can be processed (e.g., immediately processed) by the rendering engine (409). For example, the requested media asset (or media data) is compressed and is in a network, and MAF (402) can retrieve the requested media asset. The requested media asset can be further decoded. The decoded media data can be passed to the rendering engine (409) for rendering. As described above, the media data can be passed from MAF (402) to the rendering engine (409) in the form of a buffer (e.g., a video buffer (406), an audio buffer (407), other buffers (408), etc.). The request for media data can be passed from the presentation engine (409) to the MAF (402) through the media retrieval API. In order to flexibly use video decoding resources, a video decoding engine or a video decoder (403) can be used. When using the video decoding engine (403), the presentation engine (409) can provide information about input formats and output formats to the video decoder (403) through the application configuration API.

[0040] Compared to the Hypertext Transfer Protocol (HTTP), the Constrained Application Protocol (CoAP) (also known as the CoAP communication protocol) described in, for example, IETF RFC7252 is a lightweight web transfer protocol. HTTP may also be referred to as the HTTP communication protocol. CoAP can be used for Internet of Things (IoT) devices that may have power, storage, and / or computing power limitations. In various embodiments, CoAP is a dedicated web transfer protocol for use with constrained nodes and constrained (e.g., low-power, lossy) networks in the Internet of Things (IoT). Nodes may have 8-bit microcontrollers with a small amount of ROM and RAM, and constrained networks such as IPv6 over Low-Power Wireless Personal Area Networks (6LoWPANs) on low-power wireless personal area networks may have relatively high packet error rates and throughputs of 10s kbit / s. CoAP can be designed for machine-to-machine (M2M) applications such as smart energy and building automation.

[0041] CoAP may have similar functionality to HTTP, such as using a request / response mechanism and a client / server model, and supporting RESTful APIs. A representational state transfer (REST) ​​API (also known as a RESTful API) is an API that complies with the constraints of the REST architectural style and allows interaction with RESTful web services.

[0042] CoAP can use the User Datagram Protocol (UDP) as the underlying transport protocol. CoAP can provide a request / response interaction model between application endpoints, can support built-in discovery of services and resources, and can include key concepts of the Web such as URIs and Internet media types. CoAP can be designed to easily interface with HTTP for integration with the Web while meeting special requirements such as multicast support, very low overhead, and simplicity for constrained environments.

[0043] In an embodiment, CoAP has a lightweight protocol stack compared to traditional HTTP-based streaming solutions. CoAP can be easily deployed in low-power devices such as ultra-low-power video streaming devices. CoAP can also support streaming protocols such as Dynamic Adaptive Streaming over HTTP (DASH) (also known as MPEG-DASH) and data formats such as text, HTML, XML, JSON, etc. MPEG-DASH is an adaptive bitrate streaming technology that enables high-quality streaming of media content transmitted from conventional HTTP web servers over the Internet.

[0044] glTF has been designed with IoT sensor data in mind, and glTF can have extensive interactions with IoT sensor data, such as enabling the Web Graphics Library (WebGL) for rendering geospatial datasets of IoT sensors on a map. WebGL is a JavaScript API for rendering interactive 2D and 3D graphics within any compatible web browser without the use of plugins.

[0045] As described above, when performing video streaming using ultra-low power devices, a mature HTTP implementation may not be possible in the ultra-low power devices. CoAP may be designed as an alternative web transport protocol for IoT devices.

[0046] Support for CoAP in MPEG-SD can be enabled in a MAF (e.g., MAF (402)). By adding API support, media data such as video data can be extracted from an IoT device (e.g., a CoAP client) to a cloud and / or local storage device (e.g., a CoAP server) for rendering.

[0047] For example, glTF, designed by the Khronos organization, can achieve the separation of 3D data description text and binary data. "URI" can specify the location of binary data for media rendering, and can support custom paths such as those specified in the glTF 2.0 specification. For example, the implementation notes indicate that the client can optionally support additional URI components, such as HTTP: / / or file: / / schemes, authorities / hostnames, absolute paths, and query or fragment parameters. Assets containing additional URI components may be less portable. For CoAP, the corresponding URI is coap: / / . CoAP has been implemented in many open source flavors.

[0048] CoAP may be designed to function like a lightweight HTTP with GET / POST / PUT / DELETE methods, for example, as specified in Table 1 below (adapted from IETF RFC7252).

[0049] Table 1: CoAP method codes

[0050] code name References 0.01 GET [RFC7252] 0.02 POST [RFC7252] 0.03 PUT [RFC7252] 0.04 DELETE [RFC7252]

[0051] The GET method can retrieve a representation of the information currently corresponding to the resource identified by the request URI. The POST method can request that the representation attached to the request be processed. The actual function performed by the POST method can be determined by the source server and depends on the target resource, for example, a new resource can be created or the target resource can be updated. The PUT method can request that the resource identified by the request URI be updated or created with the attached representation. The representation format can be specified by the media type and content encoding given in the content format option (if provided). The DELETE method can request the deletion of the resource identified by the request URI.

[0052] For example, exemplary response codes may be defined as in IETF RFC 7252. Response codes may include a response code category "Success 2.xx", a response code category "Client Error 4.xx", and a response code category "Server Error5.xx", where "xx" represents two digits. In the example, "xx" is in the range of 00 to 31. The response code category "Success 2.xx" may indicate that the client request was successfully received, understood, and accepted. The response code category "Client Error 4.xx" may indicate a situation where the client appears to have made an error. The response code category "Server Error 5.xx" may indicate a situation where the server knows that the server has made an error or cannot execute the request. Table 2 shows an example of a CoAP response code according to an embodiment of the present disclosure.

[0053] Table 2 Examples of CoAP response codes

[0054] code describe References 2.01 create [RFC7252] 2.02 delete [RFC7252] 2.03 efficient [RFC7252] 2.04 change [RFC7252] 2.05 content [RFC7252] 4.00 Bad Request [RFC7252] 4.01 Unauthorized [RFC7252] 4.02 Bad options [RFC7252] 4.03 prohibit [RFC7252] 4.04 not found [RFC7252] 4.05 Method not allowed [RFC7252] 4.06 Unacceptable [RFC7252] 4.12 Prerequisites failed [RFC7252] 4.13 Request entity too large [RFC7252] 4.15 Unsupported content format [RFC7252] 5.00 Internal Server Error [RFC7252] 5.01 Not implemented [RFC7252] 5.02 Bad Gateway [RFC7252] 5.03 Service Unavailable [RFC7252] 5.04 Gateway timeout [RFC7252] 5.05 No proxy support [RFC7252]

[0055] CoAP support in both CoAP servers and CoAP clients can support request / response methods. CoAP request and response semantics can be carried in CoAP messages, which include method codes or response codes, respectively. Optional (or default) request and response information (such as URI and payload media type) can be carried as CoAP options. Tokens can be used to match responses to requests independently of the underlying message. Requests can be carried in Confirmable (CON) or non-confirmable (NON) messages, and if available immediately, the response to the request carried in the confirmable message can be carried in the resulting Acknowledgement (ACK) message. If the server cannot respond immediately to the request carried in the confirmable message, the server can respond with an empty acknowledgment message so that the client can stop retransmitting the request. When the response is ready, the server can send the response in a new confirmable message. If the request is sent in an unconfirmable message, the response is sent using a new unconfirmable message, although the server can send a confirmable message.

[0056] Compared with HTTP, CoAP can use the URI pattern: coap: / / host:port / path / to / resource to represent unsafe resources.

[0057] Compared with Hypertext Transfer Protocol Secure (HTTPS) with Transport Layer Security (TLS), CoAP can use the URI pattern: coaps: / / host:port / path / to / resource to represent secure resources.

[0058] The content formats supported by CoAP, such as audio and / or video, may be specified in "application / media type". Table 3 shows an exemplary list of supported media type values ​​(adapted from IETF RFC7252) according to an embodiment of the present disclosure. For video and / or audio content, specific media types may be defined, for example, in IETF RFC 2046. For example, if CoAP is used to transmit video binary data, the content format is specified as "application / video" in RFC 2046.

[0059] Table 3 CoAP content format

[0060] Media Type coding ID References Text / Plain Text - 0 [RFC2046][RFC3676] Character set = utf-8 [RFC5147] Application / Link Format - 40 [RFC6690] application / xml - 41 [RFC3023] application / octet-stream - 42 [RFC2045][RFC2046] Application / exi - 47 [REC-exi-20140211] application / json - 50 [RFC7159]

[0061] Figure 5 An example of a CoAP deployment scenario (500) (e.g., a general CoAP deployment scenario) according to an embodiment of the present disclosure is shown. CoAP and HTTP can be designed as web transport protocols with different use cases as described above. A cross-protocol network proxy (e.g., an HTTP-CoAP proxy or an HC proxy) (511) can be implemented to perform the conversion from HTTP to CoAP. Thus, an HTTP client (HTTP-C) (512) is enabled to access resources on a CoAP server (CoAP server, CoAP-S) (513) through a cross-protocol network proxy (511). Therefore, HTTP requests are mapped into CoAP requests, and CoAP responses are mapped back to HTTP responses.

[0062] Reference Figure 5 , CoAP-S (513) is in a restricted network (501). The restricted network (501) may include multiple CoAP servers, such as CoAP-S (513) to CoAP-S (515). In an embodiment, the HC proxy (511) is located at the boundary of the restricted network (501) domain. In an example, the HC proxy (511) only allows very specific types of traffic to pass, such as authorized inbound HTTP requests (e.g., HTTP requests (521)) and associated outbound CoAP responses (e.g., HTTP responses (524)). In an example, other types of traffic are separated within corresponding network segments.

[0063] As described above, the HTTP-CoAP proxy (511) may act as a middleware between HTTP-C (512) and CoAP-S (513). For example, as specified in IETF RFC 8075, the HTTP-CoAP proxy (511) may convert the request of HTTP-C (512) and forward the request to CoAP-S (513). In addition, CoAP-S (513) may communicate directly with CoAP-C (514).

[0064] HTTP-C (512) that needs to obtain resources on CoAP-S (513) can access HC proxy (511). HC proxy (511) can process HTTP request (521) from HTTP-C (512) by mapping HTTP request (521) into equivalent CoAP request (522), and then the equivalent CoAP request (522) is forwarded to CoAP-S (513). CoAP response (523) from CoAP-S (513) is then mapped into appropriate HTTP response (524), and then the appropriate HTTP response (524) is sent back to the originating HTTP-C (512).

[0065] In various examples, to support IoT devices streaming video content in a CoAP deployment scenario (500), the MAF (402) has the ability to support the CoAP protocol and proxy HTTP requests and / or responses to and from CoAP-S (513).

[0066] According to aspects of the present disclosure, to support CoAP in scenario description, one or more APIs may be used to enable a MAF (eg, MAF (402)) to support the CoAP protocol and / or to act as an HTTP to CoAP proxy (eg, HC Proxy (511)).

[0067] According to an embodiment of the present disclosure, one or more APIs may be used to enable a MAF (e.g., MAF (402)) to support the CoAP protocol. Referring to Table 4, an API (also referred to as a MAF API) may be applied to a situation where a MAF (e.g., MAF (402)) acts as a CoAP client (CoAP client, CoAP-C) that obtains media data (e.g., timed media, media resources, etc.) from a CoAP server (CoAP server, CoAP-S) (also referred to as a CoAP media server). The API in Table 4 is also referred to as a CoAP API or a CoAP client API.

[0068] Table 4 - Description of CoAP Client (CoAP-C) API

[0069] method Brief Description fetch() MAF sends a media resource request to the CoAP server Receive() MAF receives the requested media resource from the CoAP server

[0070] Figure 6 An exemplary media scene description system reference architecture (or reference media scene description architecture) (600) according to an embodiment of the present disclosure is shown. The reference media scene description architecture or media scene description system (600) may include CoAP-S (601), MAF (602) as CoAP-C (602), video decoder (603), audio decoder (604), data compressor (605), video buffer (606), audio buffer (607), other buffers (608), presentation engine (609), local storage device (610), etc.

[0071] The various components of the reference media scene description architecture (600) including the video decoder (603), the audio decoder (604), the data compressor (605), the video buffer (606), the audio buffer (607), the other buffers (608), the rendering engine (609) and the local storage device (610) can be respectively connected to Figure 4 The video decoder (403), audio decoder (404), data compressor (405), video buffer (406), audio buffer (407), other buffers (408), presentation engine (409) and local storage device (410) in the reference media scene description architecture (400) shown are the same or similar, and therefore a detailed description is omitted for the sake of brevity.

[0072] Reference Figure 6, the MAF (602) or a media retrieval engine can act as a CoAP-C to obtain media data (e.g., timed media) from the CoAP-S (601). The CoAP-S (601) can be a cloud server. API methods (e.g., fetch()) can be used for the MAF (602) to send a media resource request (or request) (621) to the CoAP-S (601). API methods (e.g., Receive()) can be used for the MAF (602) to receive the requested media resource (or resources) (624) from the CoAP-S (601). The requested media resource (or resources) (624) can be timed media from the CoAP-S (601). Subsequently, the resource (624) (e.g., media content) can be processed, for example, by a video decoder (603), an audio decoder (604), or a data compressor (605). The processed resource (624) can be rendered by a rendering engine (609). The processed resources (624) (e.g., media data) may be delivered from the MAF (602) to the presentation engine (609) in the form of buffers (e.g., video buffers (606), audio buffers (607), other buffers (608), etc.) The resources (624) may be stored in the local storage (610).

[0073] MAF or CoAP-C (602) can retrieve the requested media data and make the media data available in a timely manner in a format that can be processed (e.g., immediately processed) by the presentation engine (609). The request for media data can be passed from the presentation engine (609) to the MAF or CoAP-C (602) through the media retrieval API. In order to flexibly use video decoding resources, a video decoding engine or video decoder (603) can be used. When using the video decoding engine (603), the presentation engine (609) can provide information about input formats and output formats to the video decoder (603) through the application configuration API.

[0074] Figure 6 It is shown that: using the CoAP-C API method (e.g., fetch()), the MAF (602) acting as CoAP-C can send a media resource request (621) to the CoAP-S (601) (e.g., a cloud server). Using the CoAP-C API method (e.g., Receive()), the MAF (602) acting as CoAP-C can receive the requested media resources from the CoAP-S (601).

[0075] According to an embodiment of the present disclosure, one or more APIs may be used to enable a MAF (e.g., MAF (402)) to act as an HC proxy. Referring to Table 5, an API (also referred to as a MAF API or HTTP-CoAP proxy API) may be applied to a situation where a MAF (e.g., MAF (402)) acts as an HC proxy.

[0076] Table 5 Description of HTTP-CoAP proxy API

[0077]

[0078] Figure 7 An exemplary media scene description system reference architecture (or reference media scene description architecture) (700) according to an embodiment of the present disclosure is shown. The reference media scene description architecture or media scene description system (700) may include CoAP-S (701), MAF (702), video decoder (703), audio decoder (704), data compressor (705), video buffer (706), audio buffer (707), other buffers (708), presentation engine (709), local storage device (710), etc.

[0079] The various components of the reference media scene description architecture (700) including the video decoder (703), the audio decoder (704), the data compressor (705), the video buffer (706), the audio buffer (707), the other buffers (708), the rendering engine (709) and the local storage device (710) can be respectively connected to Figure 4 The video decoder (403), audio decoder (404), data compressor (405), video buffer (406), audio buffer (407), other buffers (408), presentation engine (409) and local storage device (410) in the reference media scene description architecture (400) shown are the same or similar, and therefore a detailed description is omitted for the sake of brevity.

[0080] Reference Figure 7 , the MAF (702) or the media retrieval engine may act as an HC proxy (e.g., HC proxy (731)), and thus may map the HTTP request (721) from the HTTP-C (732) into a CoAP request (723), and may forward the CoAP request (723) to the CoAP-S (701) (e.g., a cloud server). The API (e.g., hc() in Table 5) may be used by the MAF (702) to map the HTTP request (721) into a CoAP request (723) and forward the HTTP request (721) (as a CoAP request (723)) to the CoAP-S (701).

[0081] In the example, MAF (702) (e.g., HC proxy (731)) maps the CoAP response (724) from CoAP-S (701) into an HTTP response (722), and then sends the HTTP response (722) back to HTTP-C (732). In the example, the HTTP response (722) (e.g., media data) can be processed by, for example, a video decoder (703), an audio decoder (704), or a data compressor (705), and can also be rendered by a rendering engine (709).

[0082] Figure 7 It is shown that: using the HC proxy API (e.g., hc()), the MAF (702) acting as an HC proxy can map HTTP requests into CoAP and forward the HTTP requests to CoAP-S (701). Figure 7 In the example shown, the MAF (702) may function as both a HC proxy (731) and HTTP-C (732).

[0083] Figure 8 A flow chart outlining a process (800) according to an embodiment of the present disclosure is shown. The process (800) may be used in the case where the MAF acts as a CoAP client that obtains timed media from a CoAP server. In various embodiments, the process (800) is performed by a processing circuit system. In some embodiments, the process (800) is implemented as software instructions, so when the processing circuit system executes the software instructions, the processing circuit system performs the process (800). The process starts at (S801) and proceeds to (S810).

[0084] At (S810), as shown in FIG. Figure 6 As described, a CoAP client API may be used by a MAF (e.g., (602)) in a media scene description system to send a media resource request to a CoAP server (e.g., (601)) using CoAP to request a media resource. The MAF (e.g., (602)) may be configured as a CoAP client. The MAF may be configured for multiple Internet protocols, such as HTTP and CoAP.

[0085] At (S820), the requested media resource may be received by the MAF (eg, (602)) from the CoAP server (eg, (601)) using the CoAP client API.

[0086] The process (800) may be adjusted as appropriate. Steps in the process (800) may be modified and / or omitted. Additional steps may be added. Any suitable implementation order may be used. In an example, the received media resource may be processed by one of (i) a video decoder (e.g., (603)), (ii) an audio decoder (e.g., (604)), or (iii) a data compressor (e.g., (605)). The processed media resource may be rendered by a rendering engine (e.g., (609)).

[0087] Fig. 9 A flow chart outlining a process (900) according to an embodiment of the present disclosure is shown. The process (900) may be used in the case where the MAF acts as a CoAP client that obtains timed media from a CoAP server. In various embodiments, the process (900) is performed by a processing circuit system. In some embodiments, the process (900) is implemented as software instructions, so when the processing circuit system executes the software instructions, the processing circuit system performs the process (900). The process starts at (S901) and proceeds to (S910).

[0088] At (S910), as shown in FIG. Figure 7 As described, an HTTP-CoAP proxy application programming interface (API) can be used in MAF in the media scene description system to map HTTP requests from HTTP clients into CoAP requests. MAF can be configured as an HTTP-CoAP proxy. MAF can be configured for multiple Internet protocols, such as HTTP and CoAP.

[0089] At (S920), a CoAP request may be sent to a CoAP server.

[0090] At (S930), the CoAP response from the CoAP server may be mapped into an HTTP response by the MAF using the HTTP-CoAP proxy API.

[0091] At (S940), an HTTP response may be sent to the HTTP client. The process (900) proceeds to (S999) and ends.

[0092] The process (900) may be adjusted as appropriate. Steps in the process (900) may be modified and / or omitted. Additional steps may be added. Any suitable implementation order may be used. In an example, the HTTP response may be processed by one of (i) a video decoder (e.g., (703)), (ii) an audio decoder (e.g., (704)), or (iii) a data compressor (e.g., (705)). The processed HTTP response may be rendered by a rendering engine (e.g., (709)).

[0093] Fig.10 A flow chart outlining a process (1000) according to an embodiment of the present disclosure is shown. Process (1000) can be used to access one or more CoAP servers in a media scene description system (e.g., (600) or (700)). Process (1000) can be used in a case where the MAF acts as a CoAP client that obtains timed media from a CoAP server or the MAF acts as an HTTP-CoAP proxy. In various embodiments, process (1000) is performed by a processing circuit system. In some embodiments, process (1000) is implemented as software instructions, so when the processing circuit system executes the software instructions, the processing circuit system performs process (1000). Processing starts at (S1001) and proceeds to (S1010).

[0094] At (S1010), a CoAP request may be sent to a CoAP server using an API, for example, by a MAF in a processing circuit system implementing a media scene description system to request a media resource. The MAF may be configured as a CoAP client or an HTTP-CoAP proxy. In an example, the CoAP request is referred to as a media resource request, such as a request (621) or a CoAP request (723).

[0095] In an embodiment, MAF is configured as an HTTP-CoAP proxy. Figure 7 As described in, the API is HTTP-CoAP proxy API. The CoAP server may be CoAP-S (701).

[0096] In an embodiment, the MAF is configured as a CoAP client. Figure 6 As described in, the API is a CoAP client API. The CoAP server may be CoAP-S (601).

[0097] MAF may be configured for multiple Internet protocols, such as HTTP and CoAP. In an embodiment, MAF is compatible with both CoAP requests according to the CoAP communication protocol and proxy requests according to the HTTP communication protocol.

[0098] At (S1020), a CoAP response from a CoAP server may be received by the MAF using an API. In an example, the CoAP response includes the requested media resource.

[0099] Process (1000) may be adjusted as appropriate. Steps in process (1000) may be modified and / or omitted. Additional steps may be added. Any suitable implementation order may be used. In an example, the received media resource may be processed by one of (i) a video decoder (e.g., (603) or (703)), (ii) an audio decoder (e.g., (604) or (704)), or (iii) a data compressor (e.g., (605) or (705)). The processed media resource may be rendered by a rendering engine (e.g., (609) or (709)).

[0100] In an embodiment, the MAF is configured as an HTTP-CoAP proxy. Figure 7 , MAF can use HTTP-CoAP proxy API to map HTTP request from HTTP client into CoAP request. In the example, HTTP request is proxy request. In addition, MAF can use HTTP-CoAP proxy API to map CoAP response from CoAP server into HTTP response. HTTP response can be sent to HTTP client.

[0101] The embodiments of the present disclosure may be used alone or in combination in any order. In addition, each method (or implementation) in the method (or implementation) may be implemented by a processing circuit system (e.g., one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored in a non-transitory computer-readable medium.

[0102] Reference Figures 6 to 10 The described methods may be combined in any suitable order. For example, Figure 8 One or more steps of may be included in the process (900). Fig. 9 One or more steps of may be included in the process (800). In the example, Figures 6 to 10 The MAF described in the disclosure may also be configured to communicate with a server (e.g., a cloud server (401)) using HTTP. Therefore, the MAF in the present disclosure may be configured to communicate with a device using HTTP. In addition, in the case where a device (e.g., an IoT device) cannot be configured to use HTTP due to certain limitations (e.g., power, storage, and / or computing capacity limitations), the MAP may be configured to communicate with the device (e.g., an IoT device) using CoAP using an appropriate API (e.g., a CoAP client API, an HTTP-CoAP proxy API, etc.). Figures 6 to 10 As shown, CoAP-C and HTTP CoAP proxies can be deployed in MAF, and thus with appropriate APIs, MAF can act as a CoAP-C, HTTP CoAP proxy, etc.

[0103] The above techniques can be implemented as computer software using computer-readable instructions and physically stored in one or more computer-readable media. For example, Fig.11 A computer system (1100) suitable for implementing certain embodiments of the disclosed subject matter is shown.

[0104] Computer software may be encoded using any suitable machine code or computer language, which may be subjected to mechanisms such as assembly, compilation, linking, etc. to create code comprising instructions that may be executed directly by one or more computer central processing units (CPU), graphics processing units (GPU), etc., or through interpretation, microcode execution, etc.

[0105] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablet computers, servers, smart phones, gaming devices, Internet of Things devices, etc.

[0106] Fig.11 The components for the computer system (1100) shown in the example are exemplary in nature and are not intended to suggest any limitation on the scope of use or functionality of computer software implementing embodiments of the present disclosure. Neither should the configuration of components be interpreted as having any dependency or requirement relating to any one or combination of components shown in the exemplary embodiment of the computer system (1100).

[0107] The computer system (1100) may include certain human-machine interface input devices. Such human-machine interface input devices may respond to input by one or more human users through, for example, tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, tapping), visual input (e.g., gestures), olfactory input (not shown). The human-machine interface device may also be used to capture certain media that are not necessarily directly related to human conscious input, such as audio (e.g., voice, music, ambient sound), images (e.g., scanned images, photographic images obtained from a still image camera), and videos (e.g., two-dimensional video, three-dimensional video including stereoscopic video).

[0108] The input human-machine interface device may include one or more of the following (only one of each is depicted): keyboard (1101), mouse (1102), touchpad (1103), touch screen (1110), data gloves (not shown), joystick (1105), microphone (1106), scanner (1107), camera (1108).

[0109] The computer system (1100) may also include certain human-computer interface output devices. Such human-computer interface output devices may stimulate one or more senses of a human user through, for example, tactile output, sound, light, and smell / taste. Such human-computer interface output devices may include: tactile output devices (e.g., tactile feedback through a touch screen (1110), a data glove (not shown), or a joystick (1105), but there may also be tactile feedback devices that are not used as input devices); audio output devices (e.g., speakers (1109), headphones (not depicted)); visual output devices (e.g., screens (1110), including CRT screens, LCD screens, plasma screens, OLED screens, each with or without touch screen input capabilities, each with or without tactile feedback capabilities - some of which may be able to output two-dimensional visual output or more than three-dimensional output through methods such as stereoscopic image output; virtual reality glasses (not depicted); holographic displays and cigarette cans (not depicted)); and printers (not depicted).

[0110] The computer system (1100) may also include human-accessible storage devices and their associated media, such as optical media including CD / DVD ROM / RW (1120) with CD / DVD etc. media (1121), thumb drives (1122), removable hard drives or solid-state drives (1123), traditional magnetic media such as magnetic tapes and floppy disks (not depicted), dedicated ROM / ASIC / PLD based devices such as security dongles (not depicted), and the like.

[0111] Those skilled in the art should also understand that the term "computer-readable media" used in connection with the presently disclosed subject matter does not include transmission media, carrier waves, or other transient signals.

[0112] The computer system (1100) may also include an interface (1154) to one or more communication networks (1155). The network may be, for example, wireless, wired, optical. The network may also be local, wide, metropolitan, vehicular and industrial, real-time, delay-tolerant, etc. Examples of networks include: local area networks, such as Ethernet, wireless LAN; cellular networks, including GSM, 3G, 4G, 5G, LTE, etc.; TV wired or wireless wide area digital networks, including cable TV, satellite TV, and terrestrial broadcast TV; vehicular and industrial networks, including CAN bus, etc. Some networks typically require an external network interface adapter attached to some common data port or peripheral bus (1149) (e.g., a USB port of the computer system (1100)); other networks are typically integrated into the core of the computer system (1100) by attaching to a system bus as described below (e.g., an Ethernet interface in a PC computer system or a cellular network interface in a smartphone computer system). The computer system (1100) can use any of these networks to communicate with other entities. Such communications may be one-way receive-only (e.g., broadcast television), one-way send-only (e.g., CANbus to certain CANbus devices), or two-way (e.g., to other computer systems using a local area digital network or a wide area digital network). Certain protocols and protocol stacks may be used on each of these networks and network interfaces as described above.

[0113] The previously mentioned human-machine interface device, human-accessible storage device, and network interface may be attached to the core ( 1140 ) of the computer system ( 1100 ).

[0114] The core (1140) may include one or more central processing units (CPUs) (1141), graphics processing units (GPUs) (1142), dedicated programmable processing units in the form of field programmable gate areas (FPGAs) (1143), hardware accelerators for specific tasks (1144), graphics adapters (1150), etc. These devices, along with read-only memory (ROM) (1145), random access memory (1146), internal mass storage devices (e.g., internal non-user accessible hard drives, SSDs, etc.) (1147) may be connected via a system bus (1148). In some computer systems, the system bus (1148) may be accessed in the form of one or more physical plugs to enable expansion by additional CPUs, GPUs, etc. Peripheral devices may be attached to the core's system bus (1148) directly or via a peripheral bus (1149). In an example, the screen (1110) may be connected to a graphics adapter (1150). The architecture of the peripheral bus includes PCI, USB, and the like.

[0115] The CPU (1141), GPU (1142), FPGA (1143) and accelerator (1144) can execute certain instructions, which in combination can constitute the computer code mentioned above. The computer code can be stored in ROM (1145) or RAM (1146). Transient data can also be stored in RAM (1146), while permanent data can be stored in, for example, an internal mass storage device (1147). Fast storage and retrieval of any of the storage devices can be achieved by using a cache memory, which can be closely associated with one or more CPUs (1141), GPUs (1142), mass storage devices (1147), ROMs (1145), RAMs (1146), etc.

[0116] The computer readable medium may have computer codes for performing various computer-implemented operations. The media and computer codes may be those specially designed and constructed for the purposes of the present disclosure, or they may be of a type well known and available to those skilled in the art of computer software.

[0117] As an example and not limitation, a computer system (1100) having an architecture, in particular a core (1140), can provide functionality as a result of a processor (including a CPU, GPU, FPGA, accelerator, etc.) executing software embodied in one or more tangible computer-readable media. Such a computer-readable medium can be a medium associated with a user-accessible mass storage device as described above, as well as certain storage devices of the core (1140) having non-transitory properties, such as a core internal mass storage device (1147) or ROM (1145). Software implementing various embodiments of the present disclosure can be stored in such a device and executed by the core (1140). Depending on specific needs, the computer-readable medium may include one or more memory devices or chips. The software can enable the core (1140) and in particular the processor therein (including a CPU, GPU, FPGA, etc.) to perform specific processing or specific parts of specific processing described herein, including defining data structures stored in RAM (1146) and modifying such data structures according to processing defined by the software. Additionally or alternatively, a computer system may provide functionality due to logic hardwired or otherwise embodied in circuitry (e.g., accelerator (1144)) that may operate in place of or in conjunction with software to perform a particular process or a particular portion of a particular process described herein. Where appropriate, references to software may include logic, and vice versa, references to logic may also include software. Where appropriate, references to computer-readable media may include circuitry (e.g., an integrated circuit (IC)) storing software for execution, circuitry embodying logic for execution, or both. The present disclosure includes any suitable combination of hardware and software.

[0118] Although the present disclosure has described several exemplary embodiments, there are changes, permutations, and various substitute equivalents that fall within the scope of the present disclosure. It will therefore be appreciated that those skilled in the art will be able to conceive of many systems and methods that, although not explicitly shown or described herein, embody the principles of the present disclosure and are therefore within the spirit and scope of the present disclosure.

Claims

1. A method for accessing a Constrained Application Protocol (CoAP) server in a media scene description system, characterized in that: The method comprises: Sending a CoAP request to the CoAP server to request a media resource using an application programming interface (API) by a media access function (MAF) of a processing circuit system implementing the media scene description system, the MAF being configured as a CoAP client or a hypertext transfer protocol (HTTP)-CoAP proxy, wherein the MAF is compatible with both the CoAP request according to the CoAP communication protocol and the proxy request according to the HTTP communication protocol; and A CoAP response is received by the MAF from the CoAP server using the API, where the CoAP response includes the requested media resource.

2. The method according to claim 1, characterized in that The method further comprises: Processing the received media resource by one of: (i) a video decoder, (ii) an audio decoder, or (iii) a data compressor; and The processed media resources are rendered by the rendering engine.

3. The method according to any one of claims 1 to 2, characterized in that The MAF is configured as the HTTP-CoAP proxy, and The API is an HTTP-CoAP proxy API.

4. The method according to claim 3, characterized in that The method further comprises: The MAF uses the HTTP-CoAP proxy API to map an HTTP request from an HTTP client into the CoAP request, wherein the HTTP request is the proxy request.

5. The method according to claim 4, characterized in that The method further comprises: Mapping, by the MAF, the CoAP response from the CoAP server into an HTTP response using the HTTP-CoAP proxy API; and The HTTP response is sent to the HTTP client.

6. The method according to any one of claims 1 to 2, characterized in that The MAF is configured as the CoAP client, and The API is a CoAP client API.

7. The method according to any one of claims 1 to 2, characterized in that The MAF is also configured to use HTTP.

8. A computer device, characterized in that: The computer device comprises: one or more computer-readable non-transitory storage media configured to store computer program code; and One or more computer processors configured to access the computer program code and execute the method according to any one of claims 1 to 7 as instructed by the computer program code.

9. A device for accessing a Constrained Application Protocol (CoAP) server in a media scene description system, characterized in that: The device comprises: A processing circuit system configured to: sending a CoAP request to the CoAP server to request a media resource using an application programming interface (API) in a media access function (MAF) of the processing circuit system, the MAF being configured as a CoAP client or a hypertext transfer protocol (HTTP)-CoAP proxy, wherein the MAF is compatible with both the CoAP request according to the CoAP communication protocol and the proxy request according to the HTTP communication protocol; and A CoAP response is received by the MAF from the CoAP server using the API, where the CoAP response includes the requested media resource.

10. The device according to claim 9, characterized in that The processing circuit system is configured to: The received media resources are processed, and the processed media resources are rendered by the presentation engine.

11. The device according to any one of claims 9 to 10, characterized in that The MAF is configured as the HTTP-CoAP proxy, and The API is an HTTP-CoAP proxy API.

12. The device according to claim 11, characterized in that The processing circuit system is configured to: The MAF uses the HTTP-CoAP proxy API to map an HTTP request from an HTTP client into the CoAP request, wherein the HTTP request is the proxy request.

13. The device according to claim 12, characterized in that The processing circuit system is configured to: Mapping, by the MAF, the CoAP response from the CoAP server into an HTTP response using the HTTP-CoAP proxy API; and The HTTP response is sent to the HTTP client.

14. The device according to any one of claims 9 to 10, characterized in that The MAF is configured as the CoAP client, and The API is a CoAP client API.

15. The device according to any one of claims 9 to 10, characterized in that The MAF is also configured to use HTTP.

16. A non-transitory computer readable medium storing instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and apparatus of COAP support for IoT streaming devices in a media scene description system

    US20220345512A1

  • Method and apparatus for anonymous access and control of a service node

    CN106605421A

  • OPC UA message transmission method based on CoAP for resource-constrained industrial field equipment

    CN109687995A

  • Timed lighting control

    US20150208489A1

  • Facilitating secure communication between a client device and an application server

    US20180198670A1