WO2016070822A1 - 媒体资源反馈方法及装置 - Google Patents
媒体资源反馈方法及装置 Download PDFInfo
- Publication number
- WO2016070822A1 WO2016070822A1 PCT/CN2015/093855 CN2015093855W WO2016070822A1 WO 2016070822 A1 WO2016070822 A1 WO 2016070822A1 CN 2015093855 W CN2015093855 W CN 2015093855W WO 2016070822 A1 WO2016070822 A1 WO 2016070822A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- media resource
- router
- identification information
- stored
- data identification
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1605—Handling requests for interconnection or transfer for access to memory bus based on arbitration
- G06F13/161—Handling requests for interconnection or transfer for access to memory bus based on arbitration with latency improvement
- G06F13/1626—Handling requests for interconnection or transfer for access to memory bus based on arbitration with latency improvement by reordering requests
- G06F13/1631—Handling requests for interconnection or transfer for access to memory bus based on arbitration with latency improvement by reordering requests through address comparison
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
Definitions
- the present disclosure relates to the field of network communication technologies, and in particular, to a media resource feedback method and apparatus.
- the frequency with which users use electronic devices has also increased dramatically.
- the user can use the electronic device held at any time to obtain the media resources of the external network, such as music, video, and the like.
- the electronic device When acquiring the media resource by using the electronic device, the electronic device first sends an access address of the accessed media resource to the router; the router forwards the access address to the corresponding server, and the server feeds back the corresponding media resource to the router according to the access address, and the router uses the media resource.
- the resource is forwarded to the electronic device.
- the public discovered that at least the following defects exist in the related art: when the router repeatedly receives the same access address, the same access address is forwarded to the server of the external network, and the external network The server feeds back the same media resources and increases network traffic.
- the router In order to solve the problem that when the router repeatedly receives the same access address, the router repeatedly forwards the access address to the external network server, causing the external network server to repeatedly feed back the same media resource, thereby increasing the network traffic.
- the disclosure provides a media resource feedback method. And equipment.
- a media resource feedback method including:
- the router receives an access request sent by the terminal for requesting to acquire a specific media resource
- the media resource stored in the router is fed back to the terminal.
- the querying, according to the data identifier information carried in the access request, whether the media resource corresponding to the data identifier information is stored in the router includes:
- the media resource corresponding to the data identification information includes:
- the method before querying whether the media resource corresponding to the data identifier information is stored in the router, the method further includes:
- Querying whether the media resource corresponding to the data identifier information is stored in the router includes: querying, in a storage space corresponding to the type, whether the media corresponding to the data identifier information is stored in the router Resources.
- the method further includes:
- the media resource corresponding to the data identifier information is not stored in the router, forwarding the data identifier information to a server corresponding to the media resource, where the data identifier information is used to trigger the server to The router feeds back a media resource corresponding to the data identification information;
- the storing the media resource according to the data identifier information includes:
- the data identification information of the media resource is used as a name of the media resource, and the media resource is stored;
- the storing the media resource according to the data identifier information including:
- the character string is used as a name of the media resource, and the media resource is stored.
- the storing the media resource includes:
- the media resource is stored in a storage space corresponding to the type.
- a media resource feedback apparatus includes:
- a request receiving module configured to receive, in a router, an access request sent by the terminal for requesting to acquire a specific media resource
- the resource querying module is configured to query, according to the data identification information carried in the access request received by the request receiving module, whether the media resource corresponding to the data identification information is stored in the router;
- a first feedback module configured to: when the resource query module queries, that the media resource corresponding to the data identifier information is stored in the router, feed the media resource that is stored in the router to the terminal.
- the resource query module includes:
- the first query sub-module is configured to query, according to the data identifier information carried in the access request, whether the media resource having the same name as the data identifier information is stored in the router;
- the resource query module includes:
- the first processing sub-module is configured to process the data identification information carried in the access request according to a predetermined processing rule, to obtain a character string uniquely corresponding to the data identification information, where the predetermined processing rule is used to reduce The character of the processed data identification information;
- the second query submodule is configured to query whether the media resource whose name is the same as the string is stored in the router.
- the device further includes:
- a determining module configured to determine a type of the media resource
- the resource query module is further configured to: search for a media resource having the same name as the character string in a storage space corresponding to the type determined by the determining module.
- the device further includes:
- a resource forwarding module configured to: when the resource query module queries that the media resource corresponding to the data identifier information is not stored in the router, forwarding the data identifier information to a server corresponding to the media resource The data identification information is used to trigger the server to feed back the media resource corresponding to the data identification information to the router;
- the second feedback module is configured to receive the media resource fed back by the server, and feed back the media resource received from the server to the terminal;
- the resource storage module is configured to store the media resource according to the data identification information.
- the resource storage module includes:
- a first storage submodule configured to store data identifier information of the media resource as a name of the media resource, and store the media resource;
- the resource storage module includes:
- a second processing submodule configured to process the data identification information according to a predetermined processing rule to obtain a character string uniquely corresponding to the data identification information, where the predetermined processing rule is used to reduce the processed data identification information character of;
- the first storage submodule is further configured to store the media resource by using the character string as a name of the media resource.
- the first storage submodule includes:
- the second storage submodule is configured to store the media resource into a storage space corresponding to the type.
- a media resource feedback apparatus includes:
- a memory for storing processor executable instructions
- processor is configured to:
- the media resource stored in the router is fed back to the terminal.
- Receiving, by the router, an access request for requesting to acquire a specific media resource if the media resource corresponding to the data identification information carried in the access request exists in the router, the media resource is fed back to the terminal;
- Obtaining an access request of the media resource querying whether the media resource corresponding to the data identifier information is stored in the router, and when the media resource corresponding to the data identifier information is stored in the router, the media resource is fed back to the terminal, and the router is solved.
- the router repeatedly forwards the media resource acquisition request to the external network server, causing the external network server to repeatedly feed back the same media resource, thereby increasing the problem of network traffic and achieving the effect of saving network traffic.
- FIG. 1 is a flowchart of a media resource feedback method according to an exemplary embodiment
- FIG. 2 is a flowchart of a media resource feedback method according to another exemplary embodiment
- FIG. 3 is a block diagram of a media resource feedback apparatus according to an exemplary embodiment
- FIG. 4 is a block diagram of a media resource feedback apparatus according to another exemplary embodiment
- FIG. 5 is a block diagram of an apparatus for feeding back media resources, according to an exemplary embodiment.
- FIG. 1 is a flowchart of a method for feeding back a media resource according to an exemplary embodiment.
- the media resource feedback method is applied to a router. As shown in FIG. 1 , the media resource feedback method includes the following steps.
- step 101 the router receives an access request sent by the terminal for requesting acquisition of a specific media resource.
- the media resource can be various resources in the network, such as music resources, video resources, or image resources.
- step 102 according to the data identification information carried in the access request, it is queried whether the media resource corresponding to the data identification information is stored in the router.
- step 103 if the media resource corresponding to the data identification information is stored in the router, the media resource stored in the router is fed back to the terminal.
- the media resource feedback method by receiving, in a router, an access request for requesting to acquire a specific media resource, if the router has a media resource corresponding to the data identifier information carried in the access request.
- the media resource is fed back to the terminal; the router can obtain the access request of the media resource according to the request, and query whether the media resource corresponding to the data identification information is stored in the router, and the media resource corresponding to the data identification information is stored in the router.
- the media resource is fed back to the terminal to solve the problem that when the router repeatedly receives the same media resource acquisition request, the router repeatedly forwards the media resource acquisition request to the external network server, causing the external network server to repeatedly feed back the same media resource, thereby increasing the network.
- the problem of traffic has achieved the effect of saving network traffic.
- FIG. 2 is a flowchart of a method for feeding back a media resource according to another exemplary embodiment.
- the media resource feedback method is applied to a router. As shown in FIG. 2, the media resource feedback method includes the following steps.
- step 201 the router receives an access request sent by the terminal for requesting acquisition of a specific media resource.
- the media resource can be various resources in the network, such as music resources, video resources, or image resources.
- the access request usually carries data identification information, and the data identification information mentioned herein may be an identifier of an access address or a media resource in the server.
- the common data identification information is usually the access address, which is usually the network address of the media resource, which is the Uniform Relocation Locator (English name: Uniform Resoure Locator).
- the access address is usually used to identify the corresponding media resource in the network.
- the storage location in .
- the access request When the access request is sent to the router, it is encapsulated by the terminal through an open system interconnection (English: Open System Interconnection; OSI) seven-layer protocol layer.
- the access request received by the router is usually encapsulated.
- the data identifies an access request for information, which can be understood as a data packet.
- the router After obtaining the data packet encapsulating the data identification information, the router decapsulates the data packet through the OSI seven-layer protocol layer to obtain data identification information in the packet.
- the router may intercept the data packet.
- the Netfilter framework can be used to intercept the data packet.
- Five hook functions are defined in Internet Protocol version 4 (English: Internet Protocol version 4; IPv4). When the data packet flows through these key positions, the corresponding hook function is Will be called.
- the data packet arrives at the first hook function NF_IP_PRE_ROUTING for processing, and the hook function is used to determine whether the data packet needs to be forwarded to the external network server or This router. Because the data packet needs to be analyzed, the hook function NF_IP_PRE_ROUTING can be set to analyze all the data packets sent to the router's upper layer protocol, and the analysis result determines whether the data packet is forwarded. Packets sent to the router's upper layer protocol through the router The OSI protocol in the decapsulation restores the data identification information of the media resource sent by the previous terminal.
- the router after receiving the data packet corresponding to the access request sent by the terminal, the router sends the data packet to the upper layer protocol for decapsulation, and obtains the data identification information therein instead of forwarding the data packet to the default.
- Corresponding external network server Corresponding external network server.
- step 202 according to the data identification information carried in the access request, it is queried whether the media resource corresponding to the data identification information is stored in the router.
- the router since the router can store more media resources, in order to find the media resources, the media resources can be classified and stored according to the type of the media resources.
- the router stores the data identifiers in the query router.
- the method may include: determining a type of the media resource.
- the method may include: searching, in the storage space corresponding to the type, whether the media resource corresponding to the data identifier information is stored in the router.
- the router may classify and manage the stored media resources, and store the same type of media resources in the same directory; correspondingly, when querying the media resources in the router, the router may first determine The type of the media resource, and further, whether the media resource corresponding to the data identifier information is stored in the storage space corresponding to the corresponding media resource type.
- the type of the media resource may be determined according to a suffix of the data identifier information (such as an access address) corresponding to the media resource.
- a suffix of the data identifier information such as an access address
- the access address of the media resource is: http ://www.xxx.com/music/123.mp3
- the suffix mp3 indicates that the request is a music file.
- the router After determining the type of the media resource, the router searches for a media resource having the same name and data identification information in the storage space corresponding to the music type.
- the router when the router searches for the media resource corresponding to the data identifier information in the router according to the data identifier information carried in the request, the router may include: querying, according to the data identifier information carried in the access request, whether the router stores the A media resource with the same name as the data identification information.
- the router may use the data identification information of the media resource instead of the name of the media resource to store the media resource, that is, the data identification information when storing the media resource. These media resources are stored as an index. Therefore, the router can query whether the media resource named as the data identification information is stored in the router.
- the router can use the access address instead of the name of the corresponding media resource to store the media resource, and then the router can query whether the media resource named as the access address is stored in the router.
- the router when the router stores the media resource whose name is the same as the data identifier information, the router can directly query whether the media resource with the same name and the data identifier information is stored in the storage space of the router, or in the router. Whether the storage resource having the same name and data identification information is stored in the storage space corresponding to the media resource category.
- the data identification information is usually the access address, so the access address of the media resource is often very long, when a large number
- the router may process the data identification information of the media resource, that is, the character of the processed media resource has less characters than the data identification information. character of.
- the data identification information of the media resource may be processed by using a predetermined processing rule to obtain a character string whose character is less than the data identification information.
- a character string obtained by character processing of data identification information according to a predetermined processing rule uniquely corresponds to data identification information.
- the predetermined processing rule referred to herein may be a hash algorithm or other similar algorithm that can reduce the data identification information characters.
- the data identification information (such as the access address) of a certain media resource is http://www.xxx.com/music/123.mp3, the number of characters is 32 bits, and the access address of the media resource is hashed.
- the operation result is ADF2JLSD2JL093JSDLAD, the character is 20 bits, and the number of characters of the string obtained after the hash operation is less than the number of characters of the data identification information.
- the media resource corresponding to the data identification information may be stored with the character string as a name.
- the router searches for the media resource corresponding to the data identifier information in the router according to the data identifier information carried in the access request, the router may include the following steps:
- the data identification information carried in the access request is processed according to a predetermined processing rule to obtain a character string uniquely corresponding to the data identification information, where the predetermined processing rule is used to reduce characters of the processed data identification information;
- the media resources stored in the router may be classified and managed, and the same type of media resources are stored in the same directory of the router storage space.
- the query of the media resource in the router may first query the type of the media resource, and then query whether the media resource with the same name and the obtained string is stored in the storage space corresponding to the corresponding media resource type.
- the router when the router stores the same media resource with the same name as the string in the query router, it can directly query whether the media resource with the same name and the string is stored in the storage space of the router, or in the router. Whether the storage resource with the same name as the string is stored in the storage space corresponding to the media resource category.
- Table 1 is a table generated by the router to classify and store media resources.
- the router classifies media resources into music, video, and pictures.
- a name-indexed media resource subordinate to the media resource type is stored under each media resource type directory line. That is, when the media resource is stored, the media resource type is a primary index, and the media resource name is a secondary index for storage.
- step 203 if the media resource corresponding to the data identification information is stored in the router, the media resource stored in the router is fed back to the terminal.
- the router can store the corresponding data identification information in the query router.
- the media resource is directly fed back to the terminal, and the data packet corresponding to the data identification information is discarded, that is, the data packet encapsulated with the data identification information is not forwarded to the server of the external network, thereby improving the response of the router. Speed, while also improving the user experience.
- step 204 if the media resource corresponding to the data identifier information is not stored in the router, the data identifier information is forwarded to the server corresponding to the media resource, and the data identifier information is used to trigger the server to feed back the media resource to the router, and receive the server feedback.
- the media resource feeds back the media resource received from the server to the terminal, and stores the media resource according to the data identification information.
- the router needs to encapsulate the data identifier information of the media resource into a data packet by using the OSI seven-layer protocol layer layer, and encapsulate the media resource.
- the data identification information packet is forwarded to the server corresponding to the data identification information, the server receives the data packet, decapsulates the data packet through the OSI seven-layer protocol layer, obtains the data identification information in the package body, and finds the corresponding media resource under the server. , feedback the media resources to the router.
- the media resources that the router feeds back to the server are stored according to predetermined rules. It should be noted that the data packet encapsulated with the data identification information sent by the router to the server has a function of triggering the server to feed back the media resource to the router.
- the router when the router stores the media resource according to the data identifier information, the router may include: storing the media resource by using the data identifier information of the media resource as the name of the media resource.
- the router may use the data identification information of the media resource instead of the name of the media resource to store the media resource, that is, the data identification information when storing the media resource.
- These media resources are stored as an index. Therefore, when storing the media resource, the router can directly store the data identification information corresponding to the media resource as the name of the media resource.
- the router when the router stores the media resource according to the data identifier information, the router may include:
- the usual data identification information is an access address, so the data identification information of the media resource is often very long.
- the router may process the data identification information of the media resource, that is, the character of the processed media resource has less characters than the data identification information. character of.
- the access address of the media resource may be processed by using a predetermined processing rule to obtain a character string whose character is less than the data identification information.
- a character string obtained by character processing of data identification information according to a predetermined processing rule uniquely corresponds to data identification information.
- the predetermined processing rule described here is the same as that explained in step 202, and details are not described herein again.
- the router when the router stores the media resource obtained from the server, the data identification information of the media resource may be subjected to a predetermined processing operation to obtain a corresponding character string, and the character string is used as the name of the media resource, and the media resource is used. Stored in the router.
- the media resources may be stored by type, and the same type of media resources are stored in the same directory of the router storage space. Therefore, when storing a media resource, the router can include:
- the router may first determine the type of the media resource, and the method for determining the type of the media resource is the same as that in step 202, and is not described here again. Then, the router performs predetermined processing on the access address of the media resource, and obtains a corresponding string by using a string.
- the name of the media resource which stores the media resource in the storage space corresponding to the type.
- the router when storing a media resource, can directly use the data identification information as the name of the media resource to store the media resource; or the data identifier can be processed according to a predetermined processing rule to obtain the processed string, and the string is obtained.
- the name of the media resource the media resource is stored; when the media resource is stored, the media resource may be directly stored, and the type of the media resource may be determined first, and then the media resource is stored in a storage space corresponding to the type.
- a pc machine there are mainly at least three physical entity devices: a pc machine, a router, and a web server on the public network.
- the pc machines here may be one or more, and the web server may also be one or more.
- the pc machine here can also be replaced by a client such as a tablet, a mobile phone or a multimedia player.
- the request will carry the access address of the music file, for example, the access address of the music file is http://www.xxx.com/music/123.mp3, the request is on the pc
- a packet is formed by the OSI 7 layer model layer protocol.
- the music files here can also be replaced by video files, image files, and the like.
- the packet is intercepted when it passes through the kernel of the router, and the router analyzes the packet after intercepting the packet.
- the specific interception technique can use the Netfilter framework. Simply put, after the packet is processed by the first HOOK function NF_IP_PRE_ROUTING in the router, it enters the routing code, which determines whether the packet needs to be forwarded or sent to the local machine.
- the routing code can be customized, and the customized routing code sends all the received data packets to the local machine, so that the local machine analyzes the data packets, and obtains the data identification information therein, and according to the The data identification information finds whether there is a corresponding media resource in the router.
- the URL of the access address carried in the request is "http://www.xxx.com/music/123.mp3".
- the router can judge this according to the suffix of the access address. Is a music file, and then query the hard disk of the router whether there is a file corresponding to http://www.xxx.com/music/123.mp3 (for example, you can use the hash function to access the address http://www.
- Xm.com/music/123.mp3 hash get the hashed string "ADF2JLSD2JL093JSDLAD", query whether there is a file named ADF2JLSD2JL093JSDLAD), if there is this file, the router will return the file to pc, the data packet No longer forwarded to the public network. If there is no such file, the router will forward the data packet to the web server of the public network. The web server will return the music file to the router, and the router caches the music locally.
- the specific storage name is the name of the hash after the access address. Finally, return the file to pc.
- the router for any application on any client, as long as the request is with the music in step 3, if the router has cached the music, it will directly return to the client, and no need to request the public network, so that the router does not even connect
- the network can also ensure that the client listens to music online and becomes a private home music cloud center.
- the media resource feedback method by receiving, in a router, an access request for requesting to acquire a specific media resource, if the router has a media resource corresponding to the data identifier information carried in the access request.
- the media resource is fed back to the terminal; the router can obtain the access request of the media resource according to the request, and query whether the media resource corresponding to the data identification information is stored in the router, and the media resource corresponding to the data identification information is stored in the router.
- the media resource is fed back to the terminal to solve the problem that when the router repeatedly receives the same media resource acquisition request, the router repeatedly forwards the media resource acquisition request to the external network server, causing the external network server to repeatedly feed back the same media resource, thereby increasing the network.
- the problem of traffic has achieved the effect of saving network traffic.
- the media resource feedback method provided by the present disclosure determines whether a media resource having the same name and data identification information is stored in the storage space corresponding to the type, or whether to store the name and the pair data identification information in the storage space corresponding to the type.
- the same media resources are obtained after the processing, so that the search time can be reduced and the search efficiency is improved.
- FIG. 3 is a block diagram of a media resource feedback apparatus according to an exemplary embodiment, the media resource feedback device The device is applied to the router. As shown in FIG. 3, the media resource feedback device includes: a request receiving module 302, a resource query module 304, and a first feedback module 306.
- the request receiving module 302 is configured to receive, in the router, an access request sent by the terminal for requesting to acquire a specific media resource;
- the resource querying module 304 is configured to query, according to the data identification information carried in the access request received by the requesting module 302, whether the media resource corresponding to the data identification information is stored in the router;
- the first feedback module 306 is configured to feed back the stored media resources in the router to the terminal when the resource query module 304 queries the media resource corresponding to the data identifier information in the router.
- the media resource feedback device receives the access request for acquiring the specific media resource sent by the terminal in the router, and the media resource corresponding to the data identification information carried in the access request exists in the router.
- the media resource is fed back to the terminal; the router can obtain the access request of the media resource according to the request, and query whether the media resource corresponding to the data identification information is stored in the router, and the media resource corresponding to the data identification information is stored in the router.
- the media resource is fed back to the terminal to solve the problem that when the router repeatedly receives the same media resource acquisition request, the router repeatedly forwards the media resource acquisition request to the external network server, causing the external network server to repeatedly feed back the same media resource, thereby increasing the network.
- the problem of traffic has achieved the effect of saving network traffic.
- FIG. 4 is a block diagram of a media resource feedback apparatus, which is applied to a router.
- the media resource feedback apparatus includes: a request receiving module 402, a resource, according to another exemplary embodiment.
- the request receiving module 402 is configured to receive an access request sent by the terminal for requesting to acquire a specific media resource
- the resource querying module 404 is configured to query, according to the data identification information carried in the access request received by the requesting module 402, whether the media resource corresponding to the data identification information is stored in the router;
- the first feedback module 406 is configured to feed back the stored media resources in the router to the terminal when the resource query module 404 queries the media resource corresponding to the data identification information stored in the router.
- the resource query module 404 includes: a first query submodule 404a,
- the first query sub-module 404a is configured to query, according to the data identification information carried in the access request, whether the media resource having the same name and data identification information is stored in the router.
- the resource query module 404 includes: a first processing submodule 404b and a second query submodule 404c,
- the first processing sub-module 404b is configured to process the data identification information carried in the access request according to a predetermined processing rule to obtain a character string uniquely corresponding to the data identification information, where the predetermined processing rule is used to reduce the processed data identification information.
- the second query sub-module 404c is configured to query whether a media resource having the same name and character string is stored in the router.
- the media resource feedback device further includes: a determining module 407,
- a determining module 407 configured to determine a type of the media resource
- the resource query module 404 is further configured to, in the storage space corresponding to the type determined by the determining module 407, to find out whether a media resource having the same name as the character string is stored.
- the media resource feedback device further includes: a resource forwarding module 408, a second feedback module 410, and a resource storage module 412.
- the resource forwarding module 408 is configured to: when the resource query module 404 queries that the media resource corresponding to the data identifier information is not stored in the router, forward the data identifier information to the server corresponding to the media resource, where the data identifier information is used to trigger the server. Feeding to the router a media resource corresponding to the data identification information;
- the second feedback module 410 is configured to receive the media resource fed back by the server, and feed back the media resource received from the server to the terminal;
- the resource storage module 412 is configured to store the media resource according to the data identification information.
- the resource storage module 412 includes: a first storage submodule 412a,
- the first storage submodule 412a is configured to store the media resource by using the data identification information of the media resource as the name of the media resource.
- the resource storage module 412 includes: a second processing submodule 412b.
- the second processing sub-module 412b is configured to process the data identification information according to a predetermined processing rule to obtain a character string uniquely corresponding to the data identification information, where the predetermined processing rule is used to reduce characters of the processed data identification information;
- the first storage submodule 412a is further configured to store the media resource by using a character string as the name of the media resource.
- the first storage submodule 412a includes: a determining submodule 412a1 and a second storage submodule 412a2.
- Determining submodule 412a configured to determine a type of media resource
- the second storage sub-module 412a2 is configured to store the media resource into a storage space corresponding to the type.
- the media resource feedback device receives the access request for acquiring the specific media resource sent by the terminal in the router, and the media resource corresponding to the data identification information carried in the access request exists in the router.
- the media resource is fed back to the terminal; the router can obtain the access request of the media resource according to the request, and query whether the media resource corresponding to the data identification information is stored in the router, and the media resource corresponding to the data identification information is stored in the router.
- the media resource is fed back to the terminal to solve the problem that when the router repeatedly receives the same media resource acquisition request, the router repeatedly forwards the media resource acquisition request to the external network server, causing the external network server to repeatedly feed back the same media resource, thereby increasing the network.
- the problem of traffic has achieved the effect of saving network traffic.
- the media resource feedback device provided by the present disclosure, by determining the type of the media resource, searches for a media resource having the same name and data identification information in the storage space corresponding to the type, or searches for whether the name and the pair of data identification information are stored.
- the same media resources are obtained after the processing, so that the search time can be reduced and the search efficiency is improved.
- An exemplary embodiment of the present disclosure provides a media resource feedback apparatus, which can implement a media resource feedback method provided by the present disclosure, where the media resource feedback apparatus includes: a processor, a memory for storing processor executable instructions;
- processor is configured to:
- the media resource stored in the router is fed back to the terminal.
- FIG. 5 is a block diagram of an apparatus for media resource feedback, according to an exemplary embodiment.
- device 500 can be provided as a server.
- apparatus 500 includes a processing component 522 that further includes one or more processors, and memory resources represented by memory 532 for storing instructions executable by processing component 522, such as an application.
- An application stored in memory 532 can include one or more modules each corresponding to a set of instructions.
- processing component 522 is configured to execute instructions to perform the media resource feedback method described above.
- Apparatus 500 can also include a power supply component 526 configured to perform power management of apparatus 500, a wired or wireless network interface 550 configured to connect apparatus 500 to the network, and an input/output (I/O) interface 558.
- Device 500 can operate based on an operating system stored in memory 532, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Multimedia (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
Abstract
Description
Claims (13)
- 一种媒体资源反馈方法,其特征在于,所述方法包括:路由器接收终端发送的用于请求获取特定媒体资源的访问请求;根据所述访问请求中携带的数据标识信息,查询所述路由器中是否存储有与所述数据标识信息对应的媒体资源;若所述路由器中存储有与所述数据标识信息对应的媒体资源,则将所述路由器中已存储的所述媒体资源反馈给所述终端。
- 根据权利要求1所述的方法,其特征在于,所述根据所述访问请求中携带的数据标识信息,查询所述路由器中是否存储有与所述数据标识信息对应的媒体资源,包括:根据所述访问请求中携带的数据标识信息,查询所述路由器中是否存储有名称与所述数据标识信息相同的媒体资源;或者,所述根据所述访问请求中携带的数据标识信息,查询所述路由器中是否存储有与所述数据标识信息对应的媒体资源,包括:根据预定处理规则对所述访问请求中携带的数据标识信息进行处理,得到与所述数据标识信息唯一对应的字符串,其中所述预定处理规则用于减少被处理的数据标识信息的字符;查询所述路由器中是否存储有名称与所述字符串相同的媒体资源。
- 根据权利要求1或2所述的方法,其特征在于,在查询所述路由器中是否存储有与所述数据标识信息对应的媒体资源之前,还包括:确定所述媒体资源的类型;所述查询所述路由器中是否存储有与所述数据标识信息对应的媒体资源包括:在与所述类型对应的存储空间中,查询所述路由器中是否存储有与所述数据标识信息对应的媒体资源。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:若所述路由器中未存储有与所述数据标识信息对应的媒体资源,则将所述数据标识信息转发给与所述媒体资源对应的服务器,所述数据标识信息用于触发所述服务器向所述路由器反馈与所述数据标识信息对应的媒体资源;接收所述服务器反馈的所述媒体资源,并将接收自所述服务器的所述媒体资源反馈给所述终端;根据所述数据标识信息存储所述媒体资源。
- 根据权利要求4所述的方法,其特征在于,所述根据所述数据标识信息存储所述 媒体资源,包括:将所述媒体资源的数据标识信息作为所述媒体资源的名称,存储所述媒体资源;或者,所述根据所述数据标识信息存储所述媒体资源,包括:按照预定处理规则对所述数据标识信息进行处理,得到与所述数据标识信息唯一对应的字符串,其中所述预定处理规则用于减少被处理的数据标识信息的字符;将所述字符串作为所述媒体资源的名称,存储所述媒体资源。
- 根据权利要求4或5所述的方法,其特征在于,所述存储所述媒体资源,包括:确定所述媒体资源的类型;将所述媒体资源存储至与所述类型对应的存储空间中。
- 一种媒体资源反馈装置,其特征在于,所述装置包括:请求接收模块,被配置为在路由器中接收终端发送的用于请求获取特定媒体资源的访问请求;资源查询模块,被配置为根据所述请求接收模块接收到的所述访问请求中携带的数据标识信息,查询所述路由器中是否存储有与所述数据标识信息对应的媒体资源;第一反馈模块,被配置为在所述资源查询模块查询到所述路由器中存储有与所述数据标识信息对应的媒体资源时,将所述路由器中已存储的所述媒体资源反馈给所述终端。
- 根据权利要求7所述的装置,其特征在于,所述资源查询模块,包括:第一查询子模块,被配置为根据所述访问请求中携带的数据标识信息,查询所述路由器中是否存储有名称与所述数据标识信息相同的媒体资源;或者,所述资源查询模块,包括:第一处理子模块,被配置为根据预定处理规则对所述访问请求中携带的数据标识信息进行处理,得到与所述数据标识信息唯一对应的字符串,其中所述预定处理规则用于减少被处理的数据标识信息的字符;第二查询子模块,被配置为查询所述路由器中是否存储有名称与所述字符串相同的媒体资源。
- 根据权利要求7或8所述的装置,其特征在于,所述装置还包括:确定模块,被配置为确定所述媒体资源的类型;所述资源查询模块,还被配置为在与所述确定模块确定的所述类型对应的存储空间中,查找是否存储有名称与所述字符串相同的媒体资源。
- 根据权利要求7中任一项所述的装置,其特征在于,所述装置还包括:资源转发模块,被配置为在所述资源查询模块查询到所述路由器中未存储有与所述数据标识信息对应的媒体资源时,将所述数据标识信息转发给与所述媒体资源对应的服务器,所述数据标识信息用于触发所述服务器向所述路由器反馈与所述数据标识信息对应的媒体资源;第二反馈模块,被配置为接收所述服务器反馈的所述媒体资源,并将接收自所述服务器的所述媒体资源反馈给所述终端;资源存储模块,被配置为根据所述数据标识信息存储所述媒体资源。
- 根据权利要求10所述的装置,其特征在于,所述资源存储模块,包括:第一存储子模块,被配置为将所述媒体资源的数据标识信息作为所述媒体资源的名称,存储所述媒体资源;或者,所述资源存储模块,包括:第二处理子模块,被配置为按照预定处理规则对所述数据标识信息进行处理,得到与所述数据标识信息唯一对应的字符串,其中所述预定处理规则用于减少被处理的数据标识信息的字符;所述第一存储子模块,还被配置为将所述字符串作为所述媒体资源的名称,存储所述媒体资源。
- 根据权利要求10或11所述的装置,其特征在于,所述第一存储子模块,包括:确定子模块,被配置为确定所述媒体资源的类型;第二存储子模块,被配置为将所述媒体资源存储至与所述类型对应的存储空间中。
- 一种媒体资源反馈装置,其特征在于,所述装置包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:在路由器中接收终端发送的用于请求获取特定媒体资源的访问请求;根据所述访问请求中携带的数据标识信息,查询所述路由器中是否存储有与所述数据标识信息对应的媒体资源;若所述路由器中存储有与所述数据标识信息对应的媒体资源,则将所述路由器中已存储的所述媒体资源反馈给所述终端。
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| MX2016002126A MX359894B (es) | 2014-11-06 | 2015-11-05 | Metodo y aparato para proveer recurso de medios. |
| KR1020167000028A KR101779917B1 (ko) | 2014-11-06 | 2015-11-05 | 미디어 리소스 피드백 방법, 장치, 프로그램 및 기록매체 |
| JP2016557184A JP2017500679A (ja) | 2014-11-06 | 2015-11-05 | メディアリソースフィードバック方法、装置、プログラム及び記録媒体 |
| RU2016113841A RU2642833C2 (ru) | 2014-11-06 | 2015-11-05 | Способ и устройство для обеспечения медиаресурса |
| EP15856929.3A EP3217611A4 (en) | 2014-11-06 | 2015-11-05 | Media resource feedback method and device |
| US15/080,836 US20160210366A1 (en) | 2014-11-06 | 2016-03-25 | Method and apparatus for providing media resource |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410641975.2 | 2014-11-06 | ||
| CN201410641975.2A CN104506450A (zh) | 2014-11-06 | 2014-11-06 | 媒体资源反馈方法及装置 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/080,836 Continuation US20160210366A1 (en) | 2014-11-06 | 2016-03-25 | Method and apparatus for providing media resource |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016070822A1 true WO2016070822A1 (zh) | 2016-05-12 |
Family
ID=52948165
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/093855 Ceased WO2016070822A1 (zh) | 2014-11-06 | 2015-11-05 | 媒体资源反馈方法及装置 |
Country Status (8)
| Country | Link |
|---|---|
| US (1) | US20160210366A1 (zh) |
| EP (1) | EP3217611A4 (zh) |
| JP (1) | JP2017500679A (zh) |
| KR (1) | KR101779917B1 (zh) |
| CN (1) | CN104506450A (zh) |
| MX (1) | MX359894B (zh) |
| RU (1) | RU2642833C2 (zh) |
| WO (1) | WO2016070822A1 (zh) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104506450A (zh) * | 2014-11-06 | 2015-04-08 | 小米科技有限责任公司 | 媒体资源反馈方法及装置 |
| CN104822096B (zh) * | 2015-04-23 | 2019-05-21 | 深圳市网合科技股份有限公司 | 一种智能网络电视系统 |
| CN105488095A (zh) * | 2015-09-30 | 2016-04-13 | 小米科技有限责任公司 | 搜索结果访问方法、装置及系统 |
| CN105872648A (zh) * | 2015-12-14 | 2016-08-17 | 乐视云计算有限公司 | 视频数据共享的方法及装置 |
| CN105791312A (zh) * | 2016-04-20 | 2016-07-20 | 上海斐讯数据通信技术有限公司 | 无线网络认证装置和方法 |
| CN108494870B (zh) * | 2018-04-03 | 2022-05-17 | 中国平安人寿保险股份有限公司 | 基于cdn的动态数据加载方法及装置 |
| CN110996372B (zh) * | 2019-11-11 | 2021-05-18 | 广州爱浦路网络技术有限公司 | 消息路由方法、装置、系统及电子设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101860550A (zh) * | 2010-06-25 | 2010-10-13 | 复旦大学 | 一种基于路由器缓存的流媒体系统加速方法 |
| CN103947178A (zh) * | 2011-11-22 | 2014-07-23 | 思科技术公司 | 通过盲缓存实例化进行内容分发 |
| US8849899B1 (en) * | 2011-01-30 | 2014-09-30 | Israel L'Heureux | Accelerated delivery of media content via peer caching |
| CN104506450A (zh) * | 2014-11-06 | 2015-04-08 | 小米科技有限责任公司 | 媒体资源反馈方法及装置 |
Family Cites Families (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1999063711A1 (en) * | 1998-06-02 | 1999-12-09 | Ivanov, Iliya Borisovitch | Method for accessing the resources of the world wide web |
| SE514376C2 (sv) * | 1998-09-24 | 2001-02-19 | Mirror Image Internet Inc | Ett internet-cachningssystem samt ett förfarande och anordning i ett sådant system |
| JP2001256098A (ja) * | 2000-03-09 | 2001-09-21 | Hitachi Ltd | プロキシサーバにおけるキャッシの制御方法 |
| JP2002215448A (ja) * | 2001-01-22 | 2002-08-02 | Casio Comput Co Ltd | ウェブコンテンツのキャッシング方法 |
| KR20030053285A (ko) * | 2001-12-22 | 2003-06-28 | 엘지전자 주식회사 | 웹 캐쉬 대체 구조 및 방법 |
| DE60314748T2 (de) * | 2002-05-02 | 2009-10-08 | Giesecke & Devrient Gmbh | Kommunikationssystem, Mobileinrichtung und Verfahren zur Speicherung von Seiten in einer Mobileinrichtung |
| GB2418999A (en) * | 2004-09-09 | 2006-04-12 | Surfcontrol Plc | Categorizing uniform resource locators |
| US7664879B2 (en) * | 2004-11-23 | 2010-02-16 | Cisco Technology, Inc. | Caching content and state data at a network element |
| US8264521B2 (en) * | 2007-04-30 | 2012-09-11 | Cisco Technology, Inc. | Media detection and packet distribution in a multipoint conference |
| CN101504648A (zh) * | 2008-11-14 | 2009-08-12 | 北京搜狗科技发展有限公司 | 展现网页资源的方法及装置 |
| JP5022412B2 (ja) | 2009-08-03 | 2012-09-12 | 日本電信電話株式会社 | 経路情報管理システム、経路情報管理方法、およびプログラム |
| JP5441167B2 (ja) * | 2010-03-03 | 2014-03-12 | Necアクセステクニカ株式会社 | ルータ装置、転送制御方法および転送制御プログラム |
| CN103838768A (zh) * | 2012-11-26 | 2014-06-04 | 腾讯科技(深圳)有限公司 | 一种信息分类的方法及装置 |
| WO2014166092A1 (zh) * | 2013-04-11 | 2014-10-16 | 华为技术有限公司 | 资源配置方法、交换机及控制器 |
| CN103677673B (zh) * | 2013-12-23 | 2017-12-19 | Tcl集团股份有限公司 | 一种文件分类批量上传的方法及系统 |
-
2014
- 2014-11-06 CN CN201410641975.2A patent/CN104506450A/zh active Pending
-
2015
- 2015-11-05 KR KR1020167000028A patent/KR101779917B1/ko active Active
- 2015-11-05 EP EP15856929.3A patent/EP3217611A4/en not_active Withdrawn
- 2015-11-05 MX MX2016002126A patent/MX359894B/es active IP Right Grant
- 2015-11-05 JP JP2016557184A patent/JP2017500679A/ja active Pending
- 2015-11-05 RU RU2016113841A patent/RU2642833C2/ru active
- 2015-11-05 WO PCT/CN2015/093855 patent/WO2016070822A1/zh not_active Ceased
-
2016
- 2016-03-25 US US15/080,836 patent/US20160210366A1/en not_active Abandoned
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101860550A (zh) * | 2010-06-25 | 2010-10-13 | 复旦大学 | 一种基于路由器缓存的流媒体系统加速方法 |
| US8849899B1 (en) * | 2011-01-30 | 2014-09-30 | Israel L'Heureux | Accelerated delivery of media content via peer caching |
| CN103947178A (zh) * | 2011-11-22 | 2014-07-23 | 思科技术公司 | 通过盲缓存实例化进行内容分发 |
| CN104506450A (zh) * | 2014-11-06 | 2015-04-08 | 小米科技有限责任公司 | 媒体资源反馈方法及装置 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3217611A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| RU2016113841A (ru) | 2017-10-17 |
| RU2642833C2 (ru) | 2018-01-29 |
| MX359894B (es) | 2018-10-15 |
| EP3217611A4 (en) | 2018-06-06 |
| JP2017500679A (ja) | 2017-01-05 |
| EP3217611A1 (en) | 2017-09-13 |
| CN104506450A (zh) | 2015-04-08 |
| KR20160066545A (ko) | 2016-06-10 |
| MX2016002126A (es) | 2016-07-08 |
| KR101779917B1 (ko) | 2017-09-19 |
| US20160210366A1 (en) | 2016-07-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016070822A1 (zh) | 媒体资源反馈方法及装置 | |
| US9258289B2 (en) | Authentication of IP source addresses | |
| CN108200165B (zh) | 请求传输系统、方法、装置及存储介质 | |
| US20160212066A1 (en) | Software-Defined Information Centric Network (ICN) | |
| CN110764688B (zh) | 对数据进行处理的方法和装置 | |
| CN108616490A (zh) | 一种网络访问控制方法、装置及系统 | |
| JP2021500802A (ja) | 第1のパケットアプリケーション分類のためのシステムおよび方法 | |
| CN106797410A (zh) | 域名解析方法和装置 | |
| WO2020228038A1 (zh) | 域名处理方法、装置、电子设备以及存储介质 | |
| CN105978844A (zh) | 一种基于路由器的网络访问控制方法、路由器和系统 | |
| CN111245637B (zh) | 生成基于应用的代理自动配置 | |
| CN108494755A (zh) | 一种传输应用程序编程接口api请求的方法及装置 | |
| CN113825129A (zh) | 一种5g网络环境下工业互联网资产测绘方法 | |
| CN113055420B (zh) | Https业务识别方法、装置及计算设备 | |
| US20160380900A1 (en) | Method and apparatus for managing traffic received from a client device in a communication network | |
| CN102857547B (zh) | 分布式缓存的方法及设备 | |
| WO2014094240A1 (zh) | 一种互联网应用交互方法、装置及系统 | |
| WO2019196225A1 (zh) | 一种反馈资源文件的方法和装置 | |
| CN103957252B (zh) | 云储存系统的日志获取方法及其系统 | |
| CN107612831B (zh) | 一种访问源站的数据报文的传输方法及装置 | |
| US20180332134A1 (en) | Access Record Feedback Method, Device, And System | |
| CN113259243B (zh) | 路由器的自动应用拦截方法、系统、存储介质及计算机设备 | |
| WO2014079319A1 (zh) | 报文的转发方法及其路由设备、识别设备 | |
| CN104125105A (zh) | 对互联网应用场所分类的方法和装置 | |
| CN112787947B (zh) | 网络业务的处理方法、系统和网关设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| ENP | Entry into the national phase |
Ref document number: 2016557184 Country of ref document: JP Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 20167000028 Country of ref document: KR Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: MX/A/2016/002126 Country of ref document: MX |
|
| ENP | Entry into the national phase |
Ref document number: 2016113841 Country of ref document: RU Kind code of ref document: A |
|
| REEP | Request for entry into the european phase |
Ref document number: 2015856929 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2015856929 Country of ref document: EP |
|
| REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112016007958 Country of ref document: BR |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15856929 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 112016007958 Country of ref document: BR Kind code of ref document: A2 Effective date: 20160411 |
