Media resource release method, device, storage medium and media gateway
By using containers to store the identification of media resources in the media gateway, the rapid push and release of media resources are achieved, the problem of short-term business recovery after network recovery is solved, and the efficiency and user experience of media streaming are optimized.
Patent Information
- Application Number
- CN202211507089.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2042-11-29
AI Technical Summary
When the existing media gateway is restored for a short time or when the user reopens, it needs to reopen the ports that push media streams and close the media stream, resulting in the failure of business recovery.
The first container and the second container store the identity of the media resource in the media gateway, and the push and release of the media resource are managed through the identification. When an access instruction is received, copy the identification and push the media resource; when a closing instruction is received, remove the identification and close the push port; when no access instruction is received within the preset time period, release the media resource and close the acquisition port.
It realizes the rapid recovery of media streaming services in an environment with large network jitter, and optimizes the transmission efficiency and user experience of media streams.
Smart Images

Figure CN116033018B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of media stream transmission, and in particular to a method, device, storage medium and media gateway for releasing media resources. Background Art
[0002] With the development of the Internet, accessing and transmitting media resources is becoming more and more popular. When users access and transmit media resources, streaming media technology can ensure the stability and continuity of media streams, and media gateways can convert and process media streams to improve user experience. One type of media gateway is a device used for audio and video media stream transmission. This hardware device is equipped with dual gateways as standard. Its main function is to extract audio and video media streams from the network card connected to the local area network and push the media streams to users through the network card connected to the external network.
[0003] During the process of media stream forwarding, if the network is blocked and unstable or the user end is mistakenly closed, the end of the media gateway pushing the media stream will be closed. However, in order to avoid media stream leakage, the end of the media gateway pulling the media stream also needs to be closed at the same time. If the network is restored in a short time or the user reopens it, the ports for pushing the media stream and closing the media stream need to be reopened, so business recovery cannot be completed quickly. Summary of the invention
[0004] The purpose of the present application is to solve at least one of the above-mentioned technical defects, especially the defect in the existing technology that if the network is restored in a short time or the user reopens it, it is necessary to reopen the ports for pushing media streams and closing media streams, thereby failing to quickly complete business recovery.
[0005] In a first aspect, the present application provides a method for releasing media resources, which is applied to a media gateway, and the method includes:
[0006] When receiving an access instruction for accessing a target media resource, if the first container of the media gateway has an identifier of the target media resource, copying the identifier to the second container of the media gateway;
[0007] Pushing the target media resource through the first network card port of the media gateway based on the identifier in the second container;
[0008] When receiving a closing instruction for closing the target media resource, removing the identifier from the second container, closing the first network card port, and keeping the second network card port of the media gateway open, wherein the second network card port is used to obtain media resources;
[0009] If no access instruction for accessing the target media resource is received within a preset time period, the identifier is removed from the first container, the target media resource is released, and the second network card port is closed.
[0010] In one embodiment, the method further comprises:
[0011] When receiving an access instruction for accessing the target media resource, if the identifier of the target media resource does not exist in the first container, sending a signaling for requesting the target media resource to the media source through the second network card port to trigger the media source to send the target media resource to the media gateway;
[0012] An identifier of the target media resource is determined, and the identifier is copied to the first container and the second container.
[0013] In one embodiment, the step of determining the identifier of the target media resource includes:
[0014] Obtain the name and type of the target media resource;
[0015] An identifier of the target media resource is determined according to the name and the type.
[0016] In one embodiment, when a closing instruction for closing the target media resource is received, after the step of removing the identifier from the second container, the method further includes:
[0017] Within the preset time period, it is determined whether an access instruction for accessing the target media resource is received according to a preset frequency.
[0018] In one of the embodiments, when receiving an access instruction for accessing a target media resource, if the first container of the media gateway has an identifier of the target media resource, before the step of copying the identifier to the second container of the media gateway, the method further includes:
[0019] Receive user login information;
[0020] Matching the user's login information with the user's account information;
[0021] If the match is successful, a prompt indicating successful login is issued, and the user obtains permission to access the media resources;
[0022] If the match fails, a prompt indicating login failure is issued, and the user does not obtain permission to access the media resource.
[0023] In a second aspect, the present application provides a media resource release device, which is applied to a media gateway, and the device includes:
[0024] A first identification copying module is used for, when receiving an access instruction for accessing a target media resource, if the identification of the target media resource exists in the first container of the media gateway, copying the identification to the second container of the media gateway;
[0025] A target media resource pushing module, configured to push the target media resource through the first network card port of the media gateway based on the identifier in the second container;
[0026] an identification removal module, configured to, when receiving a closing instruction for closing the target media resource, remove the identification from the second container, close the first network card port, and keep the second network card port of the media gateway open, wherein the second network card port is used to obtain media resources;
[0027] The target media resource releasing module is used to remove the identifier from the first container, release the target media resource and close the second network card port if no access instruction for accessing the target media resource is received within a preset time period.
[0028] In one embodiment, the device further comprises:
[0029] a signaling sending module, configured to, when receiving an access instruction for accessing the target media resource, send a signaling for requesting the target media resource to the media source through the second network card port if the identifier of the target media resource does not exist in the first container, so as to trigger the media source to send the target media resource to the media gateway;
[0030] The second identifier copying module is used to determine the identifier of the target media resource and copy the identifier to the first container and the second container.
[0031] In one embodiment, the second identification copy module includes:
[0032] An information acquisition unit, used to acquire the name and type of the target media resource;
[0033] An identifier determining unit is used to determine the identifier of the target media resource according to the name and the type.
[0034] In a third aspect, the present application provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the media resource release method described in any of the above embodiments.
[0035] In a fourth aspect, the present application provides a media gateway, comprising: one or more processors, and a memory;
[0036] The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the media resource releasing method described in any of the above embodiments are executed.
[0037] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0038] The present application provides a method, device, storage medium and media gateway for releasing media resources. The method includes: when an access instruction for accessing a target media resource is received, if the first container of the media gateway has an identifier of the target media resource, the identifier is copied to the second container of the media gateway; based on the identifier in the second container, the target media resource is pushed through the first network card port of the media gateway; when a closing instruction for closing the target media resource is received, the identifier is removed from the second container, the first network card port is closed, and the second network card port of the media gateway is kept open, wherein the second network card port is used to obtain media resources; if the access instruction for accessing the target media resource is not received within a preset time period, the identifier is removed from the first container, the target media resource is released, and the second network card port is closed. By setting the identifiers of the first container and the second container to store media resources in the media gateway, it is convenient to manage media resources; by pushing media resources according to the identifiers of media resources, it is possible to quickly call media resources; when a user closes a media resource, a preset time period is used as a buffer to delay the release of the media resource. When the user accesses again, the media resource can be directly reused, thereby achieving rapid recovery of the service and optimizing the transmission of media streams in an environment with large network jitter. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0040] Figure 1 A flowchart of a method for releasing media resources provided in an embodiment of the present application;
[0041] Figure 2 A flowchart of a media resource release step provided in an embodiment of the present application;
[0042] Figure 3A schematic diagram of the structure of a media resource release device provided in an embodiment of the present application;
[0043] Figure 4 A schematic diagram of the internal structure of a media gateway provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] In one embodiment, the present application provides a method for releasing media resources. The following embodiments are described by taking the method applied to a media gateway as an example. It can be understood that the media gateway executing the method for releasing media resources can be a single media gateway or a media gateway cluster composed of multiple media gateways, and the present application does not impose any specific restrictions on this. Figure 1 As shown, the method specifically comprises the following steps:
[0046] S101: When receiving an access instruction for accessing a target media resource, if the first container of the media gateway has an identifier of the target media resource, copying the identifier to the second container of the media gateway;
[0047] In this step, when an access instruction for accessing a target media resource is received, it is determined whether an identifier of the target media resource exists in the first container of the media gateway, and if so, the identifier is copied to the second container of the media gateway;
[0048] The first container and the second container are a data structure, such as a map data structure, located in the media gateway, and used to store relevant information of media resources. The relevant information includes but is not limited to an identifier of the media resource, which is used to manage the media resource and can call and release the media resource according to the identifier.
[0049] Furthermore, the data structures of the first container and the second container are completely the same, the first container is used to store media resources waiting to be released, and the second container is used to store currently active media resources. If the identifier of the target resource exists in the first container, it indicates that the target resource has been stored in the media gateway and the target media resource can be directly reused.
[0050] S102: Pushing the target media resource through the first network card port of the media gateway based on the identifier in the second container;
[0051] In this step, according to the identifier stored in the second container, the target media resource is pushed through the first network card port of the media gateway, wherein the first network card port of the media gateway is connected to an external network for pushing media resources.
[0052] It can be understood that if the identifier exists in both the first container and the second container, it indicates that the target resource is in a normal transmission state.
[0053] S103: when receiving a closing instruction for closing the target media resource, removing the identifier from the second container, closing the first network card port, and keeping the second network card port of the media gateway open, wherein the second network card port is used to obtain media resources;
[0054] In this step, if the network is blocked instantaneously or the user mistakenly closes the user terminal, the media gateway will receive a closing instruction for closing the target media resource. After receiving the closing instruction, the identifier is removed from the second container, and the first network card port is closed, and the media resource is no longer pushed, while the second network card port of the media gateway is kept open. The second network card port of the media gateway is connected to the local area network and is used to obtain media resources from the media source.
[0055] It can be understood that if the identifier exists in the first container but does not exist in the second container, it indicates that the target resource is in a delayed closing state.
[0056] S104: If no access instruction for accessing the target media resource is received within a preset time period, the identifier is removed from the first container, the target media resource is released, and the second network card port is closed.
[0057] In this step, it is determined whether an access instruction for accessing the target media resource is received within a preset time period. If not, the identifier in the first container is removed, the target media resource is released, and the second network card port is closed to avoid leakage of media resources.
[0058] The preset time period can be flexibly set according to the actual application scenario. Removing the identifier is to delete the identifier in the first container, and releasing the target media resource is to delete the target media resource in the media gateway to release the memory space originally occupied by the target media resource.
[0059] It can be understood that if the identifier does not exist in either the first container or the second container, it indicates that the target resource is in a state of being released.
[0060] The present application provides a method, device, storage medium and media gateway for releasing media resources. The method includes: when an access instruction for accessing a target media resource is received, if the first container of the media gateway has an identifier of the target media resource, the identifier is copied to the second container of the media gateway; based on the identifier in the second container, the target media resource is pushed through the first network card port of the media gateway; when a closing instruction for closing the target media resource is received, the identifier is removed from the second container, the first network card port is closed, and the second network card port of the media gateway is kept open, wherein the second network card port is used to obtain media resources; if the access instruction for accessing the target media resource is not received within a preset time period, the identifier is removed from the first container, the target media resource is released, and the second network card port is closed. By setting the identifiers of the first container and the second container to store media resources in the media gateway, it is convenient to manage media resources; by pushing media resources according to the identifiers of media resources, it is possible to quickly call media resources; when a user closes a media resource, a preset time period is used as a buffer to delay the release of the media resource. When the user accesses again, the media resource can be directly reused, thereby achieving rapid recovery of the service and optimizing the transmission of media streams in an environment with large network jitter.
[0061] In one embodiment, the method further comprises:
[0062] When receiving an access instruction for accessing the target media resource, if the identifier of the target media resource does not exist in the first container, sending a signaling for requesting the target media resource to the media source through the second network card port to trigger the media source to send the target media resource to the media gateway;
[0063] An identifier of the target media resource is determined, and the identifier is copied to the first container and the second container.
[0064] Specifically, when the media gateway receives an access instruction for accessing the target media resource, if the identifier of the target media resource does not exist in the first container, the media gateway can send a signaling for requesting the target media resource to the media source through the second network card port. When the media source receives the signaling, it sends the target media resource to the media gateway according to the signaling. The media gateway determines the target media resource and copies the identifier to the first container and the second container.
[0065] It can be understood that by judging whether the identifier of the target media resource exists in the first container, it is possible to quickly determine whether the target media resource exists in the media gateway, thereby facilitating the management of various media resources in the media gateway. After determining the identifier of the target media resource, the identifier is copied to the first container and the second container, thereby ensuring that the target media resource can be transmitted normally.
[0066] In one embodiment, the step of determining the identifier of the target media resource includes:
[0067] Obtain the name and type of the target media resource;
[0068] An identifier of the target media resource is determined according to the name and the type.
[0069] Specifically, after acquiring the target media resource, the media gateway may determine the identifier of the target media resource according to the name and type of the target media resource.
[0070] Furthermore, each media resource in the media source has a corresponding name, and the name can be displayed in the user terminal, and each media resource has a corresponding type, including but not limited to main stream, sub-stream and 4K, etc. According to the name and type corresponding to the target media resource, an identifier corresponding to the target media type can be generated.
[0071] It can be understood that determining the identifier according to the name and type of the target media resource can ensure the uniqueness of the identifier of the target media resource, thereby improving the accuracy of calling the target media resource.
[0072] In one embodiment, when a closing instruction for closing the target media resource is received, after the step of removing the identifier from the second container, the method further includes:
[0073] Within the preset time period, it is determined whether an access instruction for accessing the target media resource is received according to a preset frequency.
[0074] Specifically, within the preset time period, it is determined according to the preset frequency whether the media gateway has received an access instruction for accessing the target media. For example, it may be determined once every ten seconds within one minute whether an access instruction for accessing the target media resource has been received.
[0075] The preset time period is used to delay the release of the target resource, and the preset frequency can be determined according to an actual application scenario.
[0076] It is understandable that, by determining whether an access instruction for accessing the target media resource is received within the preset time period according to a preset frequency, it is possible to more quickly determine whether to push the target media resource, thereby improving the response speed of the media gateway.
[0077] In one embodiment, when receiving an access instruction for accessing a target media resource, if the first container of the media gateway has an identifier of the target media resource, before the step of copying the identifier to the second container of the media gateway, the method further includes:
[0078] Receive user login information;
[0079] Matching the user's login information with the user's account information;
[0080] If the match is successful, a prompt indicating successful login is issued, and the user obtains permission to access the media resources;
[0081] If the match fails, a prompt indicating login failure is issued, and the user does not obtain permission to access the media resource.
[0082] Specifically, before receiving the access instruction, it is necessary to first receive the user's login information, and match the user's login information and account information. If the match is successful, the user information authentication is passed, a prompt of successful login is issued, and the user obtains the authority to access the media resources, and can access the media resources by sending signaling to the media gateway; if the match fails, the user information authentication is not passed, a prompt of failed login is issued, and the user does not obtain the authority to access the media resources.
[0083] It is understandable that before receiving the access instruction, the user information is verified to ensure the security and reliability of the media resource access.
[0084] In one example, if Figure 2 As shown, the media resource release method provided by this application may include the following steps:
[0085] S201: access target media resources;
[0086] S202: Determine whether there is an identifier of the target resource in the first container;
[0087] S203: If yes, copy the identifier in the first container to the second container;
[0088] S204: Push the target media resource through the first network card port according to the identifier in the second container; then execute S208;
[0089] S205: If not, obtaining the target media resource from the media source through the second network card port;
[0090] S206: Determine the identifier of the target media resource;
[0091] S207: copy the identifier to the first container and the second container; then execute S204;
[0092] S208: closing the target media resource;
[0093] S209: remove the identifier in the second container, close the first network card port, and keep the second network card port open;
[0094] S210: Determine whether to access the target media resource within a preset time period; if yes, execute S201;
[0095] S211: If not, remove the identifier in the first container, release the target media resource, and close the second network card port.
[0096] The following is a description of a media resource releasing device provided in an embodiment of the present application. The media resource releasing device described below and the media resource releasing method described above can refer to each other.
[0097] In one embodiment, the present application provides a media resource release device, which is applied to a media gateway. Figure 3 As shown, the device specifically includes a first identification copying module 301, a target media resource pushing module 302, an identification removing module 303 and a target media resource releasing module 304, wherein:
[0098] A first identification copying module 301 is used for, when receiving an access instruction for accessing a target media resource, if the identification of the target media resource exists in the first container of the media gateway, copying the identification to the second container of the media gateway;
[0099] A target media resource pushing module 302, configured to push the target media resource through the first network card port of the media gateway based on the identifier in the second container;
[0100] an identification removal module 303, configured to remove the identification from the second container and close the first network card port when receiving a closing instruction for closing the target media resource, and keep the second network card port of the media gateway open, wherein the second network card port is used to obtain media resources;
[0101] The target media resource releasing module 304 is configured to remove the identifier from the first container, release the target media resource, and close the second network card port if no access instruction for accessing the target media resource is received within a preset time period.
[0102] In one embodiment, the device further includes a signaling sending module and a second identification copying module, wherein:
[0103] a signaling sending module, configured to, when receiving an access instruction for accessing the target media resource, send a signaling for requesting the target media resource to the media source through the second network card port if the identifier of the target media resource does not exist in the first container, so as to trigger the media source to send the target media resource to the media gateway;
[0104] The second identifier copying module is used to determine the identifier of the target media resource and copy the identifier to the first container and the second container.
[0105] In one embodiment, the second identification copying module includes an information acquisition unit and an identification determination unit, wherein:
[0106] An information acquisition unit, used to acquire the name and type of the target media resource;
[0107] An identifier determining unit is used to determine the identifier of the target media resource according to the name and the type.
[0108] In one embodiment, the device further includes an access instruction determination module, wherein:
[0109] The access instruction determination module is used to determine whether an access instruction for accessing the target media resource is received within the preset time period according to a preset frequency.
[0110] In one embodiment, the device further includes a login information receiving module, an information matching module, a login success prompt module, and a login failure prompt module, wherein:
[0111] A login information receiving module, used to receive the user's login information;
[0112] An information matching module, used to match the user's login information with the user's account information;
[0113] A login success prompt module is used to issue a login success prompt if the match is successful, and the user obtains the permission to access the media resources;
[0114] The login failure prompt module is used to issue a login failure prompt if the match fails, and the user does not have the permission to access the media resource.
[0115] In one embodiment, the present application further provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the media resource release method as described in any one of the above embodiments.
[0116] In one embodiment, the present application also provides a media gateway, in which computer-readable instructions are stored. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the media resource release method described in any one of the above embodiments.
[0117] Indicatively, Figure 4 As shown, Figure 4 A schematic diagram of the internal structure of a media gateway provided in an embodiment of the present application. Figure 4 The media gateway 400 includes a processing component 402, which further includes one or more processors, and a memory resource represented by a memory 401, for storing instructions that can be executed by the processing component 402, such as an application. The application stored in the memory 401 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 402 is configured to execute instructions to execute the media resource release method of any of the above embodiments.
[0118] The media gateway 400 may also include a power supply component 403 configured to perform power management of the media gateway 400, a wired or wireless network interface 404 configured to connect the media gateway 400 to the network, and an input / output (I / O) interface 405. The media gateway 400 may operate based on an operating system stored in the memory 401, such as Windows Server™, Mac OS X™, Unix™, Linux™, Free BSD™, or the like.
[0119] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the media gateway to which the solution of the present application is applied. The specific media gateway may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0120] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0121] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.
[0122] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for releasing media resources, characterized in that: Applied to a media gateway, the method comprises: When receiving an access instruction for accessing a target media resource, if the first container of the media gateway has an identifier of the target media resource, copying the identifier to the second container of the media gateway; Pushing the target media resource through the first network card port of the media gateway based on the identifier in the second container; When receiving a closing instruction for closing the target media resource, removing the identifier from the second container, closing the first network card port, and keeping the second network card port of the media gateway open, wherein the second network card port is used to obtain media resources; If no access instruction for accessing the target media resource is received within a preset time period, the identifier is removed from the first container, the target media resource is released, and the second network card port is closed.
2. The media resource release method according to claim 1, characterized in that: Also includes: When receiving an access instruction for accessing the target media resource, if the identifier of the target media resource does not exist in the first container, sending a signaling for requesting the target media resource to the media source through the second network card port to trigger the media source to send the target media resource to the media gateway; An identifier of the target media resource is determined, and the identifier is copied to the first container and the second container.
3. The media resource release method according to claim 2, characterized in that: The step of determining the identifier of the target media resource includes: Obtain the name and type of the target media resource; An identifier of the target media resource is determined according to the name and the type.
4. The method for releasing media resources according to any one of claims 1 to 3, characterized in that: When a closing instruction for closing the target media resource is received, after the steps of removing the identifier from the second container, closing the first network card port, and keeping the second network card port of the media gateway open, the method further includes: Within the preset time period, it is determined whether an access instruction for accessing the target media resource is received according to a preset frequency.
5. The method for releasing media resources according to any one of claims 1 to 3, characterized in that: When receiving an access instruction for accessing a target media resource, if the first container of the media gateway has an identifier of the target media resource, before the step of copying the identifier to the second container of the media gateway, the method further includes: Receive user login information; Matching the user's login information with the user's account information; If the match is successful, a prompt indicating successful login is issued, and the user obtains permission to access the media resources; If the match fails, a prompt indicating login failure is issued, and the user does not obtain permission to access the media resource.
6. A media resource release device, characterized in that: Applied to a media gateway, the device comprises: A first identification copying module is used for, when receiving an access instruction for accessing a target media resource, if the identification of the target media resource exists in the first container of the media gateway, copying the identification to the second container of the media gateway; A target media resource pushing module, configured to push the target media resource through the first network card port of the media gateway based on the identifier in the second container; an identification removal module, configured to, when receiving a closing instruction for closing the target media resource, remove the identification from the second container, close the first network card port, and keep the second network card port of the media gateway open, wherein the second network card port is used to obtain media resources; The target media resource releasing module is used to remove the identifier from the first container, release the target media resource and close the second network card port if no access instruction for accessing the target media resource is received within a preset time period.
7. The media resource release device according to claim 6, characterized in that: Also includes: a signaling sending module, configured to, when receiving an access instruction for accessing the target media resource, send a signaling for requesting the target media resource to the media source through the second network card port if the identifier of the target media resource does not exist in the first container, so as to trigger the media source to send the target media resource to the media gateway; The second identifier copying module is used to determine the identifier of the target media resource and copy the identifier to the first container and the second container.
8. The media resource release device according to claim 7, characterized in that: The second identification copying module includes: An information acquisition unit, used to acquire the name and type of the target media resource; An identifier determining unit is used to determine the identifier of the target media resource according to the name and the type.
9. A storage medium, characterized in that: The storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the media resource releasing method as described in any one of claims 1 to 5.
10. A media gateway, characterized in that: include: one or more processors, and memory; The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the media resource releasing method according to any one of claims 1 to 5 are performed.
Citation Information
Patent Citations
Distributed network television live broadcast method, device, video gateway and system
CN105187847A
Method for implementing playback switching
CN1863324A