CN115834931A - Media resource sharing method and system - Google Patents
Media resource sharing method and system Download PDFInfo
- Publication number
- CN115834931A CN115834931A CN202211203832.4A CN202211203832A CN115834931A CN 115834931 A CN115834931 A CN 115834931A CN 202211203832 A CN202211203832 A CN 202211203832A CN 115834931 A CN115834931 A CN 115834931A
- Authority
- CN
- China
- Prior art keywords
- media
- channel
- resource
- resource sharing
- resource request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000009471 action Effects 0.000 claims description 3
- 239000002699 waste material Substances 0.000 abstract description 4
- 230000007547 defect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a media resource sharing method and a system, wherein the method is used for realizing resource sharing among different media channels and comprises the following steps: acquiring a resource request, wherein the resource request comprises media identification marks, calling channel address information according to the resource request, each media identification mark corresponds to a media channel, and the channel address information comprises the media identification mark of each media channel and a corresponding interface service address; and judging whether the channel address information has the media identification mark in the resource request, if so, extracting a corresponding interface service address, otherwise, generating failure feedback, and realizing media resource switching based on the interface service address. Compared with the prior art, the method and the device have the advantages of convenience, avoidance of network storage resource waste, strong expansibility and the like.
Description
Technical Field
The present invention relates to a resource sharing method, and more particularly, to a media resource sharing method and system.
Background
With the development of network technologies such as 4G and 5G, network televisions have come into play. At present, the network television generally provides media resources to users in a subscription mode, and the media resources are single. Therefore, sharing of media resources is an important research topic in the art. Under the scene of needing to share media resources across channels (platforms), the current relatively universal method for sharing media resources is to import media resources from a source channel (platform) to each target channel (platform) through some means for localization processing. The method has the defects that the same media resource is stored in a source channel (platform) and each target channel (platform) simultaneously, and the network storage resource is greatly wasted. When media resources need to be controlled, a source channel (platform) and each target channel (platform) need to be communicated through an interface, and the security risk is high. On the other hand, because the definition specifications of each channel (platform) on the media resources are different, the target channel (platform) needs to establish a media resource mapping relation with each source channel (platform) to accurately identify and retrieve, and the investment and development cost is high.
Disclosure of Invention
The present invention aims to overcome the defects of the prior art and provide a media resource sharing method and system which is convenient, avoids the waste of network storage resources and has strong expansibility.
The purpose of the invention can be realized by the following technical scheme:
a media resource sharing method is used for realizing resource sharing among different media channels, and comprises the following steps:
acquiring a resource request, wherein the resource request comprises media identification marks, calling channel address information according to the resource request, each media identification mark corresponds to a media channel, and the channel address information comprises the media identification mark of each media channel and a corresponding interface service address;
and judging whether the channel address information has the media identification mark in the resource request, if so, extracting a corresponding interface service address, otherwise, generating failure feedback, and realizing media resource switching based on the interface service address.
Further, the method further comprises:
and the resource request also comprises user information, whether the resource request passes the authentication is judged according to the user information, if so, the action of calling the channel address information is executed, and if not, failure feedback is generated.
Further, the media identification includes channel information, category information, and/or index information.
Further, the medium identification mark is formed by combining multi-bit numbers of hierarchical segments.
Further, the medium identification mark is formed by combining multiple decimal digits of the grading segment.
Further, the channel address information is updated according to the registered media channel.
The present invention also provides a computer readable storage medium comprising one or more programs for execution by one or more processors of an electronic device, the one or more programs including instructions for performing the media resource sharing method as described above.
The invention also provides a media resource sharing system, which is used for realizing resource sharing among different media channels and comprises the following steps:
the user identification module is used for registering and managing users;
the media identification module is used for registering and managing the media channels, and distributing a unique media identification mark for each media channel after the media channels are successfully registered;
the system comprises a specification management module, a resource request acquisition module and a resource switching module, wherein the specification management module is used for realizing media resource sharing, acquiring the resource request, calling channel address information according to the resource request, each media identification mark corresponds to a media channel, the channel address information comprises the media identification mark of each media channel and a corresponding interface service address, judging whether the media identification mark in the resource request exists in the channel address information, if so, extracting the corresponding interface service address, otherwise, generating failure feedback, and realizing media resource switching based on the interface service address.
Further, the media identification includes channel information, category information, and/or index information.
Further, the medium identification mark is formed by combining multi-digit decimal numbers of graded segments.
Compared with the prior art, the invention has the following beneficial effects:
(1) The media resources are requested by adopting the interface service address of the switching channel (platform), thereby not only realizing the sharing of the media resources, but also avoiding the waste of network storage resources;
(2) The automatic synchronization of the media resource state on each channel (platform) can be realized only by performing management and control operation on the source channel (platform) where the media resource is located;
(3) The channels (platforms) can rapidly identify and retrieve the media resources across the channels (platforms) through the media identification marks, and the mapping relation of the media resources with each channel (platform) does not need to be established independently.
(4) The invention can conveniently realize the access of a new channel (platform) and the expansion of the new media resource category, and has stronger adaptability and expansibility.
Drawings
Fig. 1 is a schematic diagram of the principle of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. The present embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are given, but the scope of the present invention is not limited to the following embodiments.
Example 1
The embodiment provides a media resource sharing method, which is used for realizing resource sharing among different media channels and comprises the following steps:
s1, acquiring a resource request, wherein the resource request comprises media identification marks, channel address information is called according to the resource request, each media identification mark corresponds to a media channel (channel or platform), the channel address information comprises the media identification marks of each media channel and corresponding interface service addresses, the media identification marks can represent channel information, category information and/or index information and the like, and the interface service addresses have interface service addresses;
s2, judging whether the channel address information has the media identification mark in the resource request, if so, extracting the corresponding interface service address, otherwise, generating failure feedback, and realizing media resource switching based on the interface service address.
The method firstly registers channels (platforms), the channels (platforms) provide interface service addresses which accord with the uniform interface specification, and then the switching request is carried out to share media resources by the interface service addresses of different channels (platforms).
The method requests the media resources by switching the channel (platform) interface service address, thereby not only realizing the sharing of the media resources, but also avoiding the waste of network storage resources.
In order to improve the security and reliability of resource sharing, the method further includes: and the resource request also comprises user information, whether the resource request passes the authentication is judged according to the user information, if so, the action of calling the channel address information is executed, and if not, failure feedback is generated.
In order to facilitate retrieval and resource sharing, the medium identification design is formed by combining a plurality of digits of hierarchical segmentation. Specifically, the media identification tag is composed of a combination of hierarchically segmented multi-digit decimal numbers.
In the method, the channel address information is updated according to the registered media channel, so that the access of a new channel (platform) and the expansion of the category of new media resources can be conveniently realized, and the method has stronger adaptability.
The above functions, if implemented in the form of software functional units and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Example 2
This embodiment provides a media resource sharing system, configured to implement resource sharing between different media channels, as shown in fig. 1, including:
the user identification module is used for registering and managing users, and the users can be cross-channel (platform) users;
the media identification module is used for registering and managing the media channels, and distributing a unique media identification mark for each media channel after the media channels are successfully registered;
the standard management module is used for realizing media resource sharing, acquiring a resource request, wherein the resource request comprises media identification marks, calling channel address information according to the resource request, each media identification mark corresponds to a media channel, the channel address information comprises the media identification mark of each media channel and a corresponding interface service address, judging whether the media identification marks in the resource request exist in the channel address information, if so, extracting the corresponding interface service addresses, if not, generating failure feedback, and realizing media resource switching based on the interface service addresses.
The rest is the same as example 1.
The foregoing detailed description of the preferred embodiments of the invention has been presented. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions available to those skilled in the art through logic analysis, reasoning and limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection defined by the claims.
Claims (10)
1. A media resource sharing method is used for realizing resource sharing among different media channels, and comprises the following steps:
acquiring a resource request, wherein the resource request comprises media identification marks, calling channel address information according to the resource request, each media identification mark corresponds to one media channel, and the channel address information comprises the media identification mark of each media channel and a corresponding interface service address;
and judging whether the channel address information has the media identification mark in the resource request, if so, extracting a corresponding interface service address, otherwise, generating failure feedback, and realizing media resource switching based on the interface service address.
2. The media resource sharing method according to claim 1, further comprising:
and the resource request also comprises user information, whether the resource request passes the authentication is judged according to the user information, if so, the action of calling the channel address information is executed, and if not, failure feedback is generated.
3. The media resource sharing method according to claim 1, wherein the media identification comprises channel information, category information and/or index information.
4. The media resource sharing method according to claim 1, wherein the media identification is combined from a multi-bit number of hierarchical segments.
5. The media resource sharing method of claim 7, wherein the media identification is combined from hierarchically segmented multi-digit decimal numbers.
6. The media resource sharing method of claim 1, wherein the channel address information is updated according to a registered media channel.
7. A computer-readable storage medium comprising one or more programs for execution by one or more processors of an electronic device, the one or more programs including instructions for performing the media resource sharing method of any of claims 1-5.
8. A media resource sharing system, configured to implement resource sharing between different media channels, comprising:
the user identification module is used for registering and managing users;
the media identification module is used for registering and managing the media channels, and distributing a unique media identification mark for each media channel after the media channels are successfully registered;
the system comprises a specification management module, a resource request acquisition module and a resource switching module, wherein the specification management module is used for realizing media resource sharing, acquiring the resource request, calling channel address information according to the resource request, each media identification mark corresponds to a media channel, the channel address information comprises the media identification mark of each media channel and a corresponding interface service address, judging whether the media identification mark in the resource request exists in the channel address information, if so, extracting the corresponding interface service address, otherwise, generating failure feedback, and realizing media resource switching based on the interface service address.
9. The media resource sharing method according to claim 8, wherein the media identification comprises channel information, category information and/or index information.
10. The media resource sharing method of claim 8, wherein the media identification is combined from hierarchically segmented multi-digit decimal numbers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211203832.4A CN115834931A (en) | 2022-09-29 | 2022-09-29 | Media resource sharing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211203832.4A CN115834931A (en) | 2022-09-29 | 2022-09-29 | Media resource sharing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115834931A true CN115834931A (en) | 2023-03-21 |
Family
ID=85524242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211203832.4A Pending CN115834931A (en) | 2022-09-29 | 2022-09-29 | Media resource sharing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115834931A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1819520A (en) * | 2006-03-21 | 2006-08-16 | 南京风速网络系统有限公司 | Method and system for on-line playing multi-media content by inputting programm name |
CN101350841A (en) * | 2007-07-17 | 2009-01-21 | 华为技术有限公司 | Method for establishing medium resource access relation as well as communication system and relevant equipment |
CN107534598A (en) * | 2015-12-31 | 2018-01-02 | 华为技术有限公司 | A kind of method, equipment and the system of media services agency |
-
2022
- 2022-09-29 CN CN202211203832.4A patent/CN115834931A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1819520A (en) * | 2006-03-21 | 2006-08-16 | 南京风速网络系统有限公司 | Method and system for on-line playing multi-media content by inputting programm name |
CN101350841A (en) * | 2007-07-17 | 2009-01-21 | 华为技术有限公司 | Method for establishing medium resource access relation as well as communication system and relevant equipment |
CN107534598A (en) * | 2015-12-31 | 2018-01-02 | 华为技术有限公司 | A kind of method, equipment and the system of media services agency |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109684307B (en) | Data storage method, device, equipment and storage medium | |
CN109710190B (en) | Data storage method, device, equipment and storage medium | |
CN107277086B (en) | Service processing system, service processing method and service updating method | |
CN108475215B (en) | System and method for providing dynamic relocation of tenants in a multi-tenant database environment | |
CN108475216B (en) | System and method for efficient reuse of connections in a multi-tenant database environment | |
CN109542894B (en) | User data centralized storage method, device, medium and computer equipment | |
CN109857577B (en) | Access control method, device, medium, and electronic apparatus | |
CN111797351A (en) | Page data management method and device, electronic equipment and medium | |
CN111881209A (en) | Data synchronization method and device for heterogeneous database, electronic equipment and medium | |
CN109039803A (en) | A kind of method, system and the computer equipment of processing readjustment notification message | |
CN112307052B (en) | Data management method, service system, terminal and storage medium | |
CN112989313A (en) | Identification registration method and device, electronic equipment and storage medium | |
CN114003929A (en) | Data processing method, device, server and storage medium | |
CN112508693B (en) | Resource distribution channel distribution method and device based on user tags and electronic equipment | |
CN106803836B (en) | Multi-center file forwarding processing method and device | |
CN113094415B (en) | Data extraction method, data extraction device, computer readable medium and electronic equipment | |
CN115834931A (en) | Media resource sharing method and system | |
CN115526586A (en) | Business process processing method based on intelligent operation | |
CN112817799B (en) | Method and device for accessing multiple data sources based on Spring framework | |
CN109460230B (en) | Method and system for multiplexing transmission value and service logic between pages | |
WO2021121175A1 (en) | Sim card allocation method and apparatus, and server and computer-readable storage medium | |
CN111125383A (en) | Event model-based media asset tag storage and retrieval method | |
CN116827939A (en) | Cluster resource management allocation method, device and storage medium based on big data | |
CN114201279A (en) | Timed task management method, device, system, electronic equipment and storage medium | |
CN117744115A (en) | Service processing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |