CN107534598B - Media service agent method, equipment and system - Google Patents

Media service agent method, equipment and system Download PDF

Info

Publication number
CN107534598B
CN107534598B CN201580078776.8A CN201580078776A CN107534598B CN 107534598 B CN107534598 B CN 107534598B CN 201580078776 A CN201580078776 A CN 201580078776A CN 107534598 B CN107534598 B CN 107534598B
Authority
CN
China
Prior art keywords
media
proxy
media server
resource
server
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.)
Active
Application number
CN201580078776.8A
Other languages
Chinese (zh)
Other versions
CN107534598A (en
Inventor
杨学伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107534598A publication Critical patent/CN107534598A/en
Application granted granted Critical
Publication of CN107534598B publication Critical patent/CN107534598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Abstract

The invention discloses a media service agent method, which is applied to a media resource sharing system, wherein the media resource sharing system comprises a media server and a media terminal device, the media server comprises a non-agent media server and an agent media server pre-designated by a user, each media server stores media resources, and the agent media server stores the corresponding relation between the description information of the media resources and the storage addresses of the media resources, and the method comprises the following steps: the proxy media server receives a media resource acquisition request sent by the media terminal equipment, the media resource acquisition request carries description information of a requested media resource, and a storage address of the requested media resource is determined according to the resource description information and the corresponding relation of the requested media resource, wherein the storage address is used for the media terminal equipment to acquire the requested media resource. The media service agent method provided by the embodiment of the invention can improve the acquisition efficiency of media resources.

Description

Media service agent method, equipment and system
Technical Field
The invention relates to the technical field of multimedia, in particular to a method, equipment and a system for media service agent.
Background
Along with the large-scale popularization of smart phones and smart television devices, the demand of home network entertainment is becoming stronger, and consumers need to conveniently realize media sharing and playing in a home network.
Based on such a demand, a Digital Living Network Alliance (DLNA) was established in 6 months in 2003, and the purpose of realizing device intercommunication and media interaction inside a family is achieved.
DLNA is a specification that everyone can comply with, and as long as the consumer electronics device and the gateway comply with the protocol, media file sharing can be implemented on the home network.
In home media sharing, media resources are stored in a media server, and media terminal equipment can acquire the media resources from the media server, so that the media resources are shared.
In the prior art, when a media terminal device acquires a media resource from a media server, the media terminal device needs to establish connection with the media server, and then searches whether the media resource to be acquired exists in a media resource list of the media server, if not, the media terminal device is disconnected from the current media server and then establishes connection with another media server, and such operations are repeated continuously until the media resource to be acquired by a user is finally acquired. Such a media resource acquisition method is cumbersome to operate, and results in low media resource acquisition efficiency.
Disclosure of Invention
The embodiment of the invention provides a media service agent method, which can reduce the operation complexity of media resource acquisition and improve the acquisition efficiency of media resources. The embodiment of the invention also provides corresponding equipment and a corresponding system.
The first aspect of the present invention provides a method for media service proxy, which is applied to a media resource sharing system, where the media resource sharing system includes a media server and a media terminal device, and the media server includes a non-proxy media server and a proxy media server pre-specified by a user, where there may be one or more non-proxy media servers, and the media server and the media terminal device also have no strict boundary, for example: when a mobile phone or a personal computer needs to acquire media resources, the mobile phone or the personal computer can be used as a media terminal device, when media resources stored by the mobile phone or the personal computer are provided for other media terminal devices, the proxy media server can also be used as a media server, the proxy media server is respectively in communication connection with the media terminal device and the non-proxy media server, each media server stores the media resources, and the proxy media server stores the corresponding relation between the description information of the media resources and the storage addresses of the media resources, wherein the method comprises the following steps:
the proxy media server receives a media resource acquisition request sent by the media terminal equipment, wherein the media resource acquisition request carries description information of media resources requested by the media terminal equipment;
and the proxy media server determines the storage address of the requested media resource according to the description information of the media resource requested by the media terminal equipment and the corresponding relation, wherein the storage address is used for the media terminal equipment to acquire the requested media resource.
Compared with the prior art that the media terminal equipment may need to establish connection with different media servers for multiple times to search the desired media resources, which results in low media resource acquisition efficiency, the media service agent method provided by the embodiment of the invention has the advantages that the agent media server can determine the storage address of the requested media resources for each media terminal equipment by the agent, so that the media terminal equipment acquires the requested media resources, thereby reducing the complexity of user operation and improving the media resource acquisition efficiency.
With reference to the first aspect, in a first possible implementation manner, after the determining a storage address of the requested media resource, the method further includes:
the proxy media server obtaining the requested media resource from the storage address;
and the proxy media server sends the acquired requested media resource to the media terminal equipment.
In the optional implementation manner, the proxy media server can directly acquire the media resource requested by the media terminal device from the corresponding media server and then send the media resource to the media terminal device, and the media terminal device does not need to go to the corresponding media server for acquisition, thereby improving the efficiency of acquiring the media resource.
With reference to the first aspect, in a second possible implementation manner, after the determining a storage address of the requested media resource, the method further includes:
and the proxy media server sends the storage address to the media terminal equipment so that the media terminal equipment acquires the requested media resource from the storage address.
In the optional implementation manner, the proxy media server may send the storage address of the media resource requested by the media terminal device to the media terminal device, and the media terminal device obtains the requested media resource from the corresponding media server by itself, thereby improving the flexibility of obtaining the media resource by the media terminal device.
With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner, in a third possible implementation manner, the method further includes:
and the proxy media server acquires the corresponding relation through communication connection with the non-proxy media server.
In the optional implementation mode, the proxy media server can automatically acquire the corresponding relation between the description information of the media resources and the storage addresses of the media resources from the non-proxy media server, so that the difficulty of manual configuration of a user is reduced.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner, the method further includes:
the proxy media server periodically detects the corresponding relation stored on the media server;
and when the corresponding relation is detected to be updated, the proxy media server acquires the updated corresponding relation and replaces the stored corresponding relation with the updated corresponding relation.
In the optional implementation mode, the proxy media server can automatically update the corresponding relation, so that the accuracy of acquiring the resources of the media terminal equipment is ensured.
With reference to the first aspect, the first or second possible implementation manner of the first aspect, in a fifth possible implementation manner, the process of the proxy media server establishing a communication connection with each non-proxy media server may include:
the proxy media server broadcasts a discovery message, wherein the discovery message is used for indicating that the proxy media server is started and provides media resource proxy service;
the proxy media server receives a response message of the started non-proxy media server, wherein the response message carries an equipment description file corresponding to the started non-proxy media server;
and when the proxy media server determines that the equipment indicated by the equipment description file is a media server, establishing communication connection with each started non-proxy media server.
With reference to the first aspect, the first or second possible implementation manner of the first aspect, in a sixth possible implementation manner, the process of establishing, by the proxy media server, a communication connection with the non-proxy media server may include:
the proxy media server receives a starting notification message sent by the started non-proxy media server, and the starting notification message carries an equipment description file corresponding to the non-proxy media server;
and when the proxy media server determines that the equipment indicated by the equipment description file is a media server, establishing communication connection with the started non-proxy media server.
A second aspect of the present invention provides a proxy media server configured to implement the functions of the method provided in the first aspect, and implemented by hardware/software, where the hardware/software includes units corresponding to the functions.
A third aspect of the present invention provides a proxy media server, comprising: a transceiver, a processor and a memory, wherein the memory stores a program for the processor to execute the media service agent, and the processor executes the program stored in the memory to implement the steps of the method provided by the first aspect.
A fourth aspect of the present invention provides a media resource sharing system, including: the media server comprises a non-proxy media server and a proxy media server specified by a user in advance, the proxy media server is respectively in communication connection with the media terminal equipment and the non-proxy media server, each media server stores media resources, and the proxy media server stores the corresponding relation between the description information of the media resources and the storage addresses of the media resources;
the proxy media server is the proxy media server according to the second aspect or any optional implementation manner of the second aspect.
A fifth aspect of the present invention provides a computer storage medium storing a program for a media service agent according to the first aspect or any one of the optional implementations of the first aspect.
Compared with the prior art that the media terminal equipment may need to establish connection with different media servers for multiple times to search the desired media resources, which results in low media resource acquisition efficiency, the media resource sharing system provided by the embodiment of the invention has the advantages that the proxy media server can determine the storage address of the requested media resources for each media terminal equipment in a proxy manner, so that the media terminal equipment acquires the requested media resources, the complexity of user operation is reduced, and the media resource acquisition efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an embodiment of a media resource sharing system according to the present invention;
FIG. 2 is a diagram of an embodiment of a method for media service proxying according to an embodiment of the present invention;
FIG. 3 is a diagram of another embodiment of a method for media service proxying in an embodiment of the present invention;
FIG. 4 is a schematic diagram of an embodiment of a communication process between a proxy media server and a non-proxy media server according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another embodiment of a communication process between a proxy media server and a non-proxy media server in the embodiment of the present invention;
fig. 6 is a schematic diagram of an embodiment of a proxy media server according to the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a media service agent method, which can improve the acquisition efficiency of media resources. The embodiment of the invention also provides corresponding equipment and a corresponding system. The following are detailed below.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of a media resource sharing system according to an embodiment of the present invention.
It should be noted that fig. 1 shows two non-proxy media servers, actually, the non-proxy media server may be one or multiple, and no matter there are several non-proxy media servers, the media proxy service process related in the present application is the same.
In addition, the non-proxy media server and the proxy media server in the system for sharing the media resources belong to the media servers, and only if the user selects one media server from the plurality of media servers as the proxy, the system is functionally distinguished, and the system is respectively called as the proxy media server and the non-proxy media server.
Referring to fig. 1, an embodiment of a system for sharing media resources provided by the embodiment of the present invention includes:
a non-proxy media server 1, a non-proxy media server 2, a proxy media server and a plurality of media terminal devices. The proxy media server can be preset by a user, and the proxy media server can be externally connected with a storage device which can assist the proxy media server in storing media resources on the proxy media server. The non-proxy media server 1 may be a digital camera, the non-proxy media server 2 may be a personal computer, the proxy media server may be a high definition player, and the plurality of media terminal devices may include a stereo, a mobile phone, a television, a notebook computer, and the like. When all the devices are in the starting state, the non-proxy media server and the media terminal device are respectively in communication connection with the proxy media server.
The non-proxy media server 1, the non-proxy media server 2 and each media terminal device may communicate with the proxy media server according to a Digital Living Network Alliance (DLNA) protocol.
It should be noted that, in the embodiment of the present invention, the non-proxy media server 1, the non-proxy media server 2, and the proxy media server all belong to media servers, and all media resources may be stored, and the media servers and the media terminal devices are not strictly limited, for example: the mobile phone or the personal computer can be used as a media terminal device when needing to acquire media resources, and can also be used as a media server when providing the media resources stored by the mobile phone or the personal computer to other media terminal devices. In the embodiment of the present invention, only the example shown in fig. 1 is used for explanation, but the present invention should not be construed as limiting the division of the media server and the media terminal device.
The proxy media server in the embodiment of the invention is a high-definition player, the high-definition player is in direct communication connection with the storage device, and the storage device can be understood as a storage plug-in of the high-definition player. The high-definition player can play the video resources stored in the storage device, and the high-definition player can store the description information of the media resources of the storage device. The media terminal device can also acquire the media resources in the storage device through the high-definition player.
In the embodiment of the present invention, before providing the media service proxy, the proxy media server needs to establish communication connections with the non-proxy media server 1, the non-proxy media server 2, and the storage device, and obtain the correspondence between the description information of the media resources stored in the non-proxy media server 1 and the non-proxy media server 2 and the storage addresses of the media resources.
The description information of the media resource may be a name or a number of the media resource, and as long as the information uniquely identifies the corresponding media resource, the description information of the media resource in the embodiment of the present invention may be understood.
The proxy media server may show the correspondence between the description information of the media resource and the storage address storing the corresponding media resource in a table manner, for example: in the scenario embodiment of the present invention, the proxy media server may store a corresponding relationship shown in table 1, for example.
Table 1: corresponding relation table
Description information of media assets Storage address of media resource
Photo album for years Storage address on non-proxy media server 1
Photo album for overseas trip Storage address on non-proxy media server 1
Langya Bongan of TV drama Storage address on non-proxy media server 2
Burning hearts of movie Storage address on non-proxy media server 2
Geography of the country Storage address on proxy media server
Hundred-family altar Storage address on proxy media server
Of course, the list in table 1 is only for illustration, and there are many corresponding relations that are not listed, and table 1 should not be understood as a limitation of the corresponding relation between the description information of the media resource and the storage address where the corresponding media resource is stored.
The proxy media server establishes communication connection with each media server, and after acquiring the corresponding relation between the description information of the media resources in each media server and the storage addresses of the media resources, the proxy media server can start to provide media service proxy for each media terminal device.
In fact, the proxy media server may not obtain the correspondence between the description information of the media resource and the storage address of the media resource from each non-proxy media server, but the user may configure the correspondence between the description information of the media resource and the storage address of the media resource to the proxy server in advance.
Compared with the prior art that the media terminal equipment may need to establish connection with different media servers for multiple times to search the desired media resources, which results in low media resource acquisition efficiency, the media resource sharing system provided by the embodiment of the invention has the advantages that the proxy media server can determine the storage address of the requested media resources for each media terminal equipment in a proxy manner, so that the media terminal equipment acquires the requested media resources, the complexity of user operation is reduced, and the media resource acquisition efficiency is improved.
In the following description with reference to fig. 2, an embodiment of a method for providing a media service proxy for a media terminal device by a proxy media server in the embodiment of the present invention includes:
101. the media terminal equipment sends a media resource acquisition request to a proxy media server, wherein the media resource acquisition request carries description information of the media resource requested by the media terminal equipment.
102. After receiving the media resource acquisition request, the proxy media server determines a storage address of the requested media resource according to the description information of the media resource requested by the media terminal device and the corresponding relationship, wherein the storage address is used for the media terminal device to acquire the requested media resource.
The storage address of the requested media resource may be determined according to the correspondence in table 1, for example: when the requested media asset is a yearly album, it may be determined that the yearly album stores a certain piece of storage space on the non-proxy media server 1 indicated by the storage address.
103. The proxy media server sends a media resource acquisition request to the non-proxy media server.
The proxy media server may request the requested media resource from the non-proxy media server by sending a media resource acquisition request.
For example: the media assets of the year album are requested from the non-proxy media server 1.
104. The non-proxy media server returns the requested media resource to the proxy media server.
105. The proxy media server returns the requested media resource to the media terminal device.
Compared with the prior art that the media terminal equipment may need to establish connection with different media servers for multiple times to search the desired media resources, which results in low media resource acquisition efficiency, the media service agent method provided by the embodiment of the invention can determine the storage address of the requested media resources for each media terminal equipment by the agent, directly acquire the requested media resources and send the acquired media resources to the media terminal equipment, thereby reducing the complexity of media terminal equipment operation and improving the media resource acquisition efficiency.
In the following, referring to fig. 3, another embodiment of the method for providing a media service proxy for a media terminal device by a proxy media server in the embodiment of the present invention includes:
step 101 and step 102 in the embodiment of the present invention can be understood by referring to step 101 and step 102 in the previous embodiment, and are not repeated herein.
113. And the proxy media server sends the storage address to the media terminal equipment.
114. And the media terminal equipment sends a media resource acquisition request to a non-proxy media server which stores the requested media resource according to the storage address.
115. The non-proxy storing the requested media resource returns the requested media resource to the media terminal device.
Compared with the prior art that the media terminal equipment may need to establish connection with different media servers for multiple times to search the desired media resources, which results in low media resource acquisition efficiency, the media service agent method provided by the embodiment of the invention can determine the storage address of the requested media resources for each media terminal equipment by the agent, so that the media terminal equipment acquires the requested media resources according to the storage address, thereby reducing the complexity of the media terminal equipment operation and improving the media resource acquisition efficiency.
In the above, the two embodiments in fig. 2 and fig. 3 respectively describe the process of assisting the media terminal device to acquire the media resource by the proxy media server, and actually, the corresponding relationship between the description information of the media resource in the proxy media server and the storage address of the media resource may also be periodically updated. The updating process may be that the proxy media server periodically detects the correspondence stored on the media server; and when the corresponding relation is detected to be updated, the proxy media server acquires the updated corresponding relation and replaces the stored corresponding relation with the updated corresponding relation.
Certainly, the process of updating the corresponding relationship is not limited to the above-described periodic updating, and may also be that the proxy media server obtains that the corresponding relationship between the description information of the media resource on any media server and the storage address of the media resource is updated, and then the media resource is immediately updated, or the media resource is manually updated by the user.
No matter how the proxy media server realizes media service proxy, the proxy media server needs to establish communication connection with the media terminal device and the non-proxy media server, and the following describes the process of establishing communication connection between the proxy media server and the non-proxy media server and the process of acquiring the corresponding relation by combining two different scenes.
Fig. 4 is a diagram illustrating an embodiment of a communication process between a proxy media server and a non-proxy media server according to the present invention.
Referring to fig. 4, an embodiment of a communication process between the proxy media server and the non-proxy media server in the embodiment of the present invention includes:
201. when the non-proxy media server is started first and the proxy media server is started later, the proxy media server actively searches the non-proxy media server, and the proxy media server broadcasts or multicasts the discovery message.
The discovery message is used for indicating that the proxy media server is started and provides media resource proxy service.
202. And after receiving the discovery message, the non-proxy media server sends a response message.
The response message may announce a Uniform Resource Locator (URL) address of a device description file of the non-proxy media server.
203. The proxy media server determines whether the non-proxy media server is a media server based on the device description file of the non-proxy media server, and if so, performs step 204.
The following information may be looked up in the device description file to determine whether it is a media server:
<deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>。
when a media server, a Connection Manager Service (CMS) and a Content Directory Service (CDS) may be provided. CMS and CDS) may be recorded in the device description file as follows:
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>;
<serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>。
204. and when the proxy media server determines that the equipment indicated by the equipment description file is the media server, establishing communication connection with each started non-proxy media server.
205. The proxy media server obtains the corresponding relationship between the description information of the media resource on the non-proxy media server and the storage address of the media resource from the non-proxy media server through the communication connection established in step 204.
The corresponding relation between the description information of the media resource and the storage address of the media resource can be stored in the form of a media file list, the proxy media server can acquire the corresponding relation from different non-proxy media servers to establish a unified media file list, and also can respectively store the media file list in different media file lists, the unified media file list established by the proxy media server or the media file lists aiming at different non-proxy media servers are stored in an internal database, and after receiving the media resource acquisition request, the proxy media server can search the unified media file list from the internal database or the media file lists aiming at different non-proxy media servers, so as to determine the storage address of the media resource requested by the media terminal equipment.
According to the scheme provided by the embodiment of the invention, the proxy media server establishes communication connection with the non-proxy media server after being started, and acquires the corresponding relation between the description information of the media resources stored on the non-proxy media server and the storage addresses of the media resources, so that the media service proxy can be realized, and the acquisition efficiency of the media resources is improved.
Fig. 5 is a diagram illustrating an embodiment of a communication process between a proxy media server and a non-proxy media server according to the embodiment of the present invention.
Referring to fig. 5, another embodiment of the communication process between the proxy media server and the non-proxy media server according to the embodiment of the present invention includes:
211. the proxy media server is started first, the non-proxy media server is started later, and then the start notification message is broadcasted or multicasted and carries the equipment description file corresponding to the non-proxy media server.
In the embodiments of the present invention, steps 203 to 205 may be understood by referring to steps 203 to 205 in the previous embodiment, and are not repeated herein.
The proxy media server 40 provided by the embodiment of the present invention is configured to implement the functions provided in the method embodiment of the media service proxy described in the above-mentioned fig. 2 or fig. 3, and is implemented by hardware/software, and the hardware/software includes units corresponding to the above-mentioned functions. The functional units of hardware/software may perform the corresponding steps in the method of media service proxying described above in part of fig. 2 or fig. 3.
Wherein, the functional unit may include:
a receiving unit, configured to receive a media resource acquisition request sent by the media terminal device, where the media resource acquisition request carries description information of a media resource requested by the media terminal device;
a determining unit, configured to determine a storage address of the requested media resource according to the description information of the media resource requested by the media terminal device and the corresponding relationship, where the storage address is used for the media terminal device to obtain the requested media resource.
A resource obtaining unit, configured to obtain the requested media resource from the storage address according to the storage address determined by the determining unit;
a first sending unit, configured to send the requested media resource acquired by the resource acquiring unit to the media terminal device.
A second sending unit, configured to send the storage address to the media terminal device, so that the media terminal device obtains the requested media resource from the storage address.
A corresponding relation obtaining unit, configured to obtain the corresponding relation through a communication connection with the non-proxy media server.
A detection unit, configured to periodically detect the correspondence stored on the media server;
and the updating unit is used for acquiring the updated corresponding relation and replacing the stored corresponding relation with the updated corresponding relation when the detection unit detects that the corresponding relation is updated.
Fig. 6 is a schematic structural diagram of the proxy media server 40 according to an embodiment of the present invention. The proxy media server 40 is applied to a media resource sharing system, which includes a media server and a media terminal device, the media server includes a non-proxy media server and a proxy media server pre-designated by a user, the proxy media server is respectively in communication connection with the media terminal device and the non-proxy media server, each media server stores a media resource, the proxy media server stores a corresponding relationship between description information of the media resource and a storage address of the media resource, the proxy media server 40 includes a processor 410, a memory 450 and an input/output transceiver 430, the memory 450 may include a read-only memory and a random access memory, and provides an operation instruction and data to the processor 410. A portion of the memory 450 may also include non-volatile random access memory (NVRAM).
In some embodiments, memory 450 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
in embodiments of the present invention, by calling the operation instructions stored in memory 450 (which may be stored in an operating system),
receiving a media resource acquisition request sent by the media terminal device through a transceiver 430, where the media resource acquisition request carries description information of a media resource requested by the media terminal device;
and determining a storage address of the requested media resource according to the description information of the media resource requested by the media terminal equipment and the corresponding relation, wherein the storage address is used for the media terminal equipment to acquire the requested media resource.
Compared with the prior art that the media terminal equipment may need to establish connection with different media servers for multiple times to search the desired media resources, which results in low media resource acquisition efficiency, the proxy media server provided by the embodiment of the invention can determine the storage address of the requested media resources for each media terminal equipment by proxy, directly acquire the requested media resources and send the acquired media resources to the media terminal equipment, thereby reducing the complexity of the media terminal equipment operation and improving the media resource acquisition efficiency.
The processor 410 controls the operation of the proxy media server 40, and the processor 410 may also be referred to as a Central Processing Unit (CPU). Memory 450 may include both read-only memory and random-access memory, and provides instructions and data to processor 410. A portion of the memory 450 may also include non-volatile random access memory (NVRAM). The various components of the proxy media server 40 in a particular application are coupled together by a bus system 420, where the bus system 420 may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus. For clarity of illustration, however, the various buses are designated in the figure as bus system 420.
The method disclosed in the above embodiments of the present invention may be applied to the processor 410, or implemented by the processor 410. The processor 410 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 410. The processor 410 may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 450, and the processor 410 reads the information in the memory 450, and performs the steps of the above method in combination with the hardware thereof.
Optionally, the processor 410 obtains the requested media resource from the storage address;
the transceiver 430 is further configured to send the acquired requested media resource to the media terminal device.
Optionally, the transceiver 430 is further configured to send the storage address to the media terminal device, so that the media terminal device obtains the requested media resource from the storage address.
The processor 410 is further configured to obtain the correspondence relationship through a communication connection with the non-proxy media server.
Optionally, the processor 410 is further configured to:
periodically detecting the corresponding relation stored on the media server;
and when the corresponding relation is detected to be updated, acquiring the updated corresponding relation, and replacing the stored corresponding relation with the updated corresponding relation.
The above proxy media server 40 can be understood with reference to the descriptions in fig. 1 to fig. 5, and will not be described in detail herein.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
The method, the proxy media server and the system for media service proxy provided by the embodiment of the present invention are described in detail above, and a specific example is applied in the present disclosure to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A method for media service proxy is applied to a media resource sharing system, the media resource sharing system comprises a media server and a media terminal device, the media server comprises a non-proxy media server and a proxy media server pre-designated by a user, the proxy media server is respectively in communication connection with the media terminal device and the non-proxy media server, each media server stores a media resource, and the proxy media server stores the corresponding relation between description information of the media resource in each media server and the storage address of the media resource, the method comprises:
the proxy media server receives a media resource acquisition request sent by the media terminal equipment, wherein the media resource acquisition request carries description information of media resources requested by the media terminal equipment;
and the proxy media server determines the storage address of the requested media resource according to the description information of the media resource requested by the media terminal equipment and the corresponding relation, wherein the storage address is used for the media terminal equipment to acquire the requested media resource.
2. The method of claim 1, wherein after determining the storage address of the requested media resource, the method further comprises:
the proxy media server obtaining the requested media resource from the storage address;
and the proxy media server sends the acquired requested media resource to the media terminal equipment.
3. The method of claim 1, wherein after determining the storage address of the requested media resource, the method further comprises:
and the proxy media server sends the storage address to the media terminal equipment so that the media terminal equipment acquires the requested media resource from the storage address.
4. The method according to any one of claims 1-3, further comprising:
and the proxy media server acquires the corresponding relation through communication connection with the non-proxy media server.
5. The method of claim 4, further comprising:
the proxy media server periodically detects the corresponding relation stored on the media server;
and when the corresponding relation is detected to be updated, the proxy media server acquires the updated corresponding relation and replaces the stored corresponding relation with the updated corresponding relation.
6. A proxy media server, wherein the proxy media server is applied to a media resource sharing system, the media resource sharing system includes a media server and a media terminal device, the media server includes a non-proxy media server and a proxy media server pre-designated by a user, the proxy media server is respectively in communication connection with the media terminal device and the non-proxy media server, each media server stores a media resource, the proxy media server stores a corresponding relationship between description information of the media resource in each media server and a storage address of the media resource, and the proxy media server includes:
a receiving unit, configured to receive a media resource acquisition request sent by the media terminal device, where the media resource acquisition request carries description information of a media resource requested by the media terminal device;
a determining unit, configured to determine a storage address of the requested media resource according to the description information of the media resource requested by the media terminal device and the corresponding relationship, where the storage address is used for the media terminal device to obtain the requested media resource.
7. The proxy media server of claim 6, wherein the proxy media server further comprises:
a resource obtaining unit, configured to obtain the requested media resource from the storage address according to the storage address determined by the determining unit;
a first sending unit, configured to send the requested media resource acquired by the resource acquiring unit to the media terminal device.
8. The proxy media server as claimed in claim 6, wherein the proxy media server further comprises:
a second sending unit, configured to send the storage address to the media terminal device, so that the media terminal device obtains the requested media resource from the storage address.
9. The proxy media server according to any of claims 6-8, wherein the proxy media server further comprises:
a corresponding relation obtaining unit, configured to obtain the corresponding relation through a communication connection with the non-proxy media server.
10. The proxy media server as claimed in claim 9, wherein the proxy media server further comprises:
a detection unit, configured to periodically detect the correspondence stored on the media server;
and the updating unit is used for acquiring the updated corresponding relation and replacing the stored corresponding relation with the updated corresponding relation when the detection unit detects that the corresponding relation is updated.
11. A proxy media server, wherein the proxy media server is applied to a media resource sharing system, the media resource sharing system includes a media server and a media terminal device, the media server includes a non-proxy media server and a proxy media server pre-designated by a user, the proxy media server is respectively in communication connection with the media terminal device and the non-proxy media server, each media server stores a media resource, the proxy media server stores a corresponding relationship between description information of the media resource in each media server and a storage address of the media resource, and the proxy media server includes:
a transceiver, a processor, and a memory, the memory having stored therein a program for the processor to execute a media service agent;
the transceiver is used for receiving a media resource acquisition request sent by the media terminal device, wherein the media resource acquisition request carries description information of media resources requested by the media terminal device;
the processor is configured to determine a storage address of the requested media resource according to the description information of the media resource requested by the media terminal device and the corresponding relationship, where the storage address is used for the media terminal device to obtain the requested media resource.
12. A media resource sharing system, comprising: the media server comprises a non-proxy media server and a proxy media server appointed by a user in advance, the proxy media server is respectively in communication connection with the media terminal equipment and the non-proxy media server, each media server stores media resources, and the proxy media server stores the corresponding relation between the description information of the media resources in each media server and the storage addresses of the media resources;
the proxy media server as claimed in any one of claims 6 to 10.
CN201580078776.8A 2015-12-31 2015-12-31 Media service agent method, equipment and system Active CN107534598B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/100145 WO2017113302A1 (en) 2015-12-31 2015-12-31 Media service proxy method, device and system thereof

Publications (2)

Publication Number Publication Date
CN107534598A CN107534598A (en) 2018-01-02
CN107534598B true CN107534598B (en) 2020-06-16

Family

ID=59224096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580078776.8A Active CN107534598B (en) 2015-12-31 2015-12-31 Media service agent method, equipment and system

Country Status (2)

Country Link
CN (1) CN107534598B (en)
WO (1) WO2017113302A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881959B (en) * 2018-06-12 2021-07-16 百视通网络电视技术发展有限责任公司 Cross-platform media downloading and system debugging method
CN111159103B (en) * 2019-12-30 2023-03-31 广州银行股份有限公司 Enterprise service bus system
CN115834931A (en) * 2022-09-29 2023-03-21 中国广播电视网络集团有限公司 Media resource sharing method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242432A (en) * 2008-02-28 2008-08-13 蓝汛网络科技(北京)有限公司 An Internet content distribution method, system and device
CN102118323A (en) * 2010-01-04 2011-07-06 中兴通讯股份有限公司 Content delivery network server and content downloading method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08508360A (en) * 1993-03-16 1996-09-03 ダース デバイセズ インコーポレイテッド Hybrid metallic and thin film read / write head
US8806038B2 (en) * 2007-06-29 2014-08-12 Intel Corporation Method and system for updating media lists in portable media devices
CN101119475B (en) * 2007-08-21 2010-06-02 中兴通讯股份有限公司 System and method for implementing video on-demand request redirection in IPTV system
EP2537102A4 (en) * 2010-02-15 2017-08-23 Unwired Planet International Limited Scripting/proxy systems, methods and circuit arrangements
EP2786262A4 (en) * 2011-12-01 2014-12-03 Huawei Tech Co Ltd Systems and methods for connection pooling for video streaming in content delivery networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242432A (en) * 2008-02-28 2008-08-13 蓝汛网络科技(北京)有限公司 An Internet content distribution method, system and device
CN102118323A (en) * 2010-01-04 2011-07-06 中兴通讯股份有限公司 Content delivery network server and content downloading method

Also Published As

Publication number Publication date
CN107534598A (en) 2018-01-02
WO2017113302A1 (en) 2017-07-06

Similar Documents

Publication Publication Date Title
CN109639636B (en) Service data forwarding method, service data processing method, service data forwarding device, service data processing device and electronic equipment
CN108933948B (en) Video playing progress synchronization method and device
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
EP3163946B1 (en) Transmission list in wi-fi acces point
KR101531532B1 (en) Method and apparatus for using service of home network device based on remote access
US8903972B2 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN110831092B (en) Method and equipment for PDU session management, node association and UPF discovery
CN111405042B (en) Electronic device discovery method and device, storage medium and electronic device
CN113625589B (en) Equipment control method and device, electronic equipment and storage medium
CN107534598B (en) Media service agent method, equipment and system
WO2018113693A1 (en) Local area network device communication management method and system, and gateway device
CN103856374A (en) Data transmission method, terminal and home interconnected system
KR20160131066A (en) Method and system for establishing a connection between a seeker device and a target device
CN109474646B (en) Communication connection method, device, system and storage medium
WO2021087892A1 (en) Resource subscription method and device, and storage medium
CN109218994B (en) Equivalent equipment Bluetooth communication method and device based on gateway
CN113382065A (en) File downloading method, device, system, equipment and storage medium
CN105991377A (en) Discovery and communication method between universal plug and play (UPnP) devices
WO2022002141A1 (en) Application program interface calling method and device, storage medium, and electronic device
EP3174322A1 (en) Method for deleting notification resource, and common service entity
CN113838463A (en) Information transmission method and device, electronic equipment and storage medium
CN112383617A (en) Method, device, terminal equipment and medium for long connection
CN114153153B (en) Device control method, system, device, electronic device and storage medium
CN113596890B (en) Communication method, system, device and storage medium
CN114900710B (en) Multi-device synchronization method and device, electronic device and storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210426

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Shenzhen Zhixin new information technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211022

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee before: Shenzhen Zhixin new information technology Co.,Ltd.

TR01 Transfer of patent right