CN108075963A - The transmission method and device of content - Google Patents

The transmission method and device of content Download PDF

Info

Publication number
CN108075963A
CN108075963A CN201611034668.3A CN201611034668A CN108075963A CN 108075963 A CN108075963 A CN 108075963A CN 201611034668 A CN201611034668 A CN 201611034668A CN 108075963 A CN108075963 A CN 108075963A
Authority
CN
China
Prior art keywords
media information
url
server
content
network
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.)
Granted
Application number
CN201611034668.3A
Other languages
Chinese (zh)
Other versions
CN108075963B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611034668.3A priority Critical patent/CN108075963B/en
Publication of CN108075963A publication Critical patent/CN108075963A/en
Application granted granted Critical
Publication of CN108075963B publication Critical patent/CN108075963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4343Extraction or processing of packetized elementary streams [PES]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
    • H04N21/8153Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics comprising still images, e.g. texture, background image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Graphics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses the transmission methods and device of a kind of content.This method includes:When receiving the first request that first terminal is sent by content server, response the first acquisition request first asks requested first object content;Judge the media information indicated by the first URL whether is stored on the second media information server, content server and the second media information server are located in first network, and the first media information server is located in the second network;In the case of media information being stored on the second media information server is judged, the first URL in first object content is replaced with into the 2nd URL, the second object content is obtained, the 2nd URL is used to indicate storage address of the media information on the second media information server;Second object content is sent to first terminal.The present invention solve obtain UGC contents it is time-consuming longer the technical issues of.

Description

The transmission method and device of content
Technical field
The present invention relates to internet arena, in particular to the transmission method and device of a kind of content.
Background technology
In social network sites, having substantial amounts of user UGC contents, (English full name is User Generated Content, is referred to The original content of user) the inner link for quoting third party's media information, for example, for third party's picture, due to third party The problems such as image content presence service is unstable, the limitation of foreign lands permission, picture are deleted by original web, service experience can be influenced, So unloading may be done to foreign lands picture, dump to the figure of social network sites oneself in UGC content uploadings inside social network sites On piece server.
Since the picture unloading that whether succeeded in foreign lands in internal server is unknown, so when user accesses UGC clothes Be engaged in foreign lands picture URL in device when, can allow the cgi (English full name Common Gateway Interface) that specifies of its access Server, also referred to as picture proxy server (i.e. picture proxy), after inquiring about unloading server by picture proxy, make sanction It is fixed, there is the URL (Uniform Resource Locator, i.e. uniform resource locator) that unloading then returns to unloading picture, nothing turns It deposits, continues to return to foreign lands picture URL.
Due to terminal during UGC contents are accessed, it is necessary to UGC servers ask UGC contents, then to picture Proxy inquiries finally ask foreign lands picture, intermediate flow is more, so as to make to picture servers again with the presence or absence of image cache It needs to consume more time during into acquisition UGC contents.
For above-mentioned acquisition UGC contents it is time-consuming longer the problem of, currently no effective solution has been proposed.
The content of the invention
An embodiment of the present invention provides the transmission method and device of a kind of content, at least to solve to obtain the consumption of UGC contents When it is longer the technical issues of.
One side according to embodiments of the present invention, provides a kind of transmission method of content, and this method includes:Passing through When content server receives the first request of first terminal transmission, response the first acquisition request first asks requested first Object content, first object content include being used to indicate the first of the media information being stored on the first media information server URL;Judge the media information indicated by the first URL whether is stored on the second media information server, wherein, content server It is located at the second media information server in first network, the first media information server is located in the second network, first network There is different domain names with the second network;In the case of media information being stored on the second media information server is judged, The first URL in first object content is replaced with into the 2nd URL, obtains the second object content, wherein, the 2nd URL is used to indicate Storage address of the media information on the second media information server;The second object content for including the 2nd URL is sent to First terminal.
Other side according to embodiments of the present invention, additionally provides a kind of transmission method of content, and this method includes:Inspection The operation of the first object content on acquisition request content server is measured, first object content includes being used to indicate storage First URL of the media information on the first media information server;It sends to obtain in first object to content server The first request held;The second transmitted object content of the first request of reception content server response;Wherein, content server is used In the case of the media information being stored on the second media information server indicated by the first URL, by first object content In the first URL replace with the 2nd URL, obtain the second object content, content server and the second media information server are located at In first network, the first media information server is located in the second network, and first network and the second network have different domain names.
One side according to embodiments of the present invention, provides a kind of transmitting device of content, which includes:It obtains single Member, for when receiving the first request that first terminal is sent by content server, the first acquisition request first of response please Requested first object content is sought, first object content includes being used to indicate the matchmaker being stored on the first media information server First URL of body information;Judging unit, for judging whether be stored with indicated by the first URL on the second media information server Media information, wherein, content server and the second media information server are located in first network, the first media information service Device is located in the second network, and first network and the second network have different domain names;Replacement unit, for judging the second matchmaker In the case of being stored with media information on body information server, the first URL in first object content is replaced with into the 2nd URL, The second object content is obtained, wherein, the 2nd URL is used to indicate storage of the media information on the second media information server Location;First transmitting element, the second object content for that will include the 2nd URL are sent to first terminal.
Another aspect according to embodiments of the present invention, additionally provides a kind of transmitting device of content, which includes:Detection Unit, for detecting the operation of the first object content on acquisition request content server, first object content includes It is used to indicate the first URL of the media information being stored on the first media information server;Second transmitting element, for content Server sends to obtain the first request of first object content;Second receiving unit responds for reception content server The second transmitted object content of first request;Wherein, content server is used to be stored on the second media information server In the case of media information indicated by first URL, the first URL in first object content is replaced with into the 2nd URL, obtains Two object contents, content server and the second media information server are located in first network, the first media information server position In the second network, first network and the second network have different domain names.
In embodiments of the present invention, the second media information service in local first network is judged by content server The media information whether being stored on device on the first media information server positioned at the second network indicated by the first URL, Judge in the case of being stored with media information on the second media information server, the first URL in first object content is replaced The 2nd URL is changed to, the second object content will be obtained and be sent to first terminal, first terminal can be directly according in the second object content URL reading media information, can solve obtain UGC contents it is time-consuming longer the technical issues of, and then reduce obtain The technique effect of the time consumed during UGC contents.
Description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description does not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of the transmission method of content according to embodiments of the present invention;
Fig. 2 is a kind of flow chart of the transmission method of optional content according to embodiments of the present invention;
Fig. 3 is a kind of flow chart of the transmission method of optional content according to embodiments of the present invention;
Fig. 4 is a kind of flow chart of the transmission method of optional content according to embodiments of the present invention;
Fig. 5 is a kind of flow chart of the transmission method of optional content according to embodiments of the present invention;
Fig. 6 is a kind of schematic diagram of the transmitting device of optional content according to embodiments of the present invention;
Fig. 7 is a kind of schematic diagram of the transmitting device of optional content according to embodiments of the present invention;And
Fig. 8 is a kind of structure diagram of terminal according to embodiments of the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, without being used to describe specific order or precedence.It should be appreciated that it so uses Data can exchange in the appropriate case, so as to the embodiment of the present invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
First, the part noun or term occurred during the embodiment of the present invention is described is suitable for as follows It explains:
User's original content:English full name is User Generated Content, referred to as UGC, is accompanied by carrying It advocates the personalized Web2.0 concepts for main feature and rises.It is not a certain specific business, but a kind of user Using the new paragon of internet, i.e., become to download based on download and upload is laid equal stress on by original.The hair used with internet Exhibition, the reciprocation of the network user emerge from, and user is both the viewer of Web content and the creator of Web content.
CGI(Common gateway interface):English full name is Common Gateway Interface, referred to as CGI, is in WWW technologies One of most important technology, CGI are interface standard of the external application (cgi script) between Web server, are in CGI The process of information is transferred between program and Web server.
It acts on behalf of (English name Proxy), also referred to as network agent, is a kind of special network service, allow a network end End (generally client) carries out indirect connection by this service and another network terminal (generally server).
Uniform resource locator:English full name is Uniform Resource Locator, referred to as URL, and being pair can be with The position of the resource obtained from internet and a kind of succinct expression of access method are the ground of standard resource on internet Location, for each file on internet there are one unique URL, the information that it is included points out that the position of file and browser should How this handles it.
HTTP request:HTTP full name are Hyper Text Transfer Protocol (hypertext transfer protocol), HTTP Request refers to the request message from client to server end.
TCP (Transmission Control Protocol transmission control protocols):It is a kind of connection-oriented, reliable , transport layer communication protocol based on byte stream, defined by the RFC 793 of IETF.It redirects (Redirect):It is exactly by each A various network requests again fixed direction are gone to other positions (such as by kind method:Webpage redirection, the redirection of domain name, routing The variation of selection is also via a kind of redirection in path to data message).
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for the transmission method of content is provided.
Optionally, in the present embodiment, the above method can be applied to as shown in Figure 1 by server 102 and terminal 104 In the hardware environment formed.As shown in Figure 1, server 102 is attached by network and terminal 104, above-mentioned network includes But it is not limited to:Wide area network, Metropolitan Area Network (MAN) or LAN, terminal 104 are not limited to PC, mobile phone, tablet computer etc..The present invention is implemented The method of example can be performed by server 102, can also be performed, be can also be by server 102 and terminal by terminal 104 104 common execution.Wherein, terminal 104 perform the embodiment of the present invention method can also be by client mounted thereto Lai It performs.
Fig. 2 is a kind of flow chart of the transmission method of optional content according to embodiments of the present invention, as shown in Fig. 2, should Method may comprise steps of:
Step S202, when receiving the first request that first terminal is sent by content server, the first request of response The first requested first object content of request is obtained, first object content, which includes being used to indicate, is stored in the first media information clothes First URL of the media information being engaged on device;
Step S204 judges the media information indicated by the first URL whether is stored on the second media information server, In, content server and the second media information server are located in first network, and the first media information server is located at the second net In network, first network and the second network have different domain names;
Step S206, in the case of being stored with media information on the second media information server is judged, by the first mesh The first URL in mark content replaces with the 2nd URL, obtains the second object content, wherein, the 2nd URL is used to indicate media information Storage address on the second media information server;
The second object content for including the 2nd URL is sent to first terminal by step S208.
By above-mentioned steps S202 to step S208, the second matchmaker in local first network is judged by content server The matchmaker whether being stored on body information server on the first media information server positioned at the second network indicated by the first URL Body information, will be in first object content in the case of being stored with media information on the second media information server is judged First URL replaces with the 2nd URL, will obtain the second object content and is sent to first terminal, first terminal can be directly according to second URL reading media information in object content, can solve obtain UGC contents it is time-consuming longer the technical issues of, Jin Erda To the technique effect of the time consumed when reducing and obtaining UGC contents.
Above-mentioned terminal can be the equipment such as computer equipment, movable equipment, wearable device.
Above-mentioned content server is for storing the server of object content, and the second media information server is for turning Deposit the server of media information, in the first network that content server and the second media information server are located locally, the first matchmaker Body information server is the server for being used to store the media information of foreign lands on the second network (first network non-indigenous).
Above-mentioned first network and the second network can be to belong to different entities object (such as company, tissue, group, political affairs Mansion department etc.) network, and the domain name of these different entity objects be often it is different, therefore, can be by domain name come area Divide different objects.
Above-mentioned object content can be UGC contents, but not limited to this;Media information can be video, short-movie, static state Picture, dynamic picture, audio-frequency information etc..
Above-mentioned method can be run on content server (i.e. the cache server of UGC contents).
In the technical solution provided in step S202, the first request is user's acquisition request first object on first terminal During content, the request of first terminal generation;For example, user is when accessing UGC contents (first object content) on first terminal, the The first request that one terminal is sent to the content server (UGC servers) where UGC contents, first is responded by UGC servers Request returns to UGC contents.
It should be noted that in the related art, the content that UGC servers return includes the foreign lands URL of media information (i.e. the first URL), and in the technical solution of the application can be replaced foreign lands URL by UGC servers, and then reduce the The step of one terminal needs to perform improves the acquisition efficiency of data, is described in detail with reference to step S204 to step S206 and carries out URL The process of replacement.
In the technical solution provided in step S204, judge whether be stored with the first URL on the second media information server Media information on the first indicated media information server can be realized in the following way:Judge to be located in first network Preset data table in whether there is default URL associated with the first URL;Wherein, judging exist in preset data table In the case of default URL, determine to be stored with media information on the second media information server, and using default URL as second URL。
Above-mentioned preset data table can be the tables of data being arranged on content server, in this way, content server can lead to Local tables of data is crossed to inquire about default URL, it, can be true if corresponding default URL can be inquired according to the first URL Unloading has media information on fixed second media information server;Otherwise it can determine there is no unloading on the second media information server Media information.The preset data table can also be arranged on other server, such as media information proxy server.
Optionally, above-mentioned preset data table can be arranged on an individual server (i.e. the 4th server), this Sample, can when whether being stored with default URL associated with the first URL in the preset data table for judging to be located in first network The 4th server in preset instructions to first network is sent, preset instructions are used to indicate the inquiry of the 4th server and are arranged on the 4th Default URL whether is stored in preset data table on server;The query result information returned according to the 4th server judges Whether default URL is stored in preset data table.I.e. if the query result information that the 4th server returns shows to inquire Default URL corresponding with the first URL can then determine that unloading has media information on the second media information server;It otherwise can be with Determine there is no unloading media information on the second media information server.
Optionally, can the unique mark picture (be capable of with the characteristic information of media information in above-mentioned preset data table Feature) it is that keyword carries out unloading, in this way, the same pictures for being located at heterogeneous networks domain, you can according to its characteristic information It identifies as same pictures, in this way, caching is only needed on the second local media information server once rather than repeatedly, The expense of memory space can be saved.
In this embodiment it is possible to judged by content server (i.e. UGC servers) using the tables of data of local cache Media information whether is cached on second media information server (i.e. media information unloading server), and is sent out without first terminal HTTP request is sent to give media information proxy server (such as picture proxy), then from media information proxy server to media information Unloading server initiates TCP requests, and request media information unloading server judges locally whether buffered corresponding media are believed Breath if media information unloading server has cached, returns bag by HTTP302 by media information proxy server and returns to unloading URL (i.e. the 2nd URL) give first terminal.The embodiment provided using the application, in first terminal request target content, The content with unloading URL (i.e. the 2nd URL) is directly returned to, without inquire about media information proxy server and response 302 It redirects, it is possible to reduce the operating procedure of end side, and then improve the response efficiency of content.
In addition, by the way of in the above embodiments of the present application, media information proxy server (picture can be overcome Proxy) service regulation change after, all terminals using old URL rules can not correctly get media information whether unloading Information the problem of.
It should be noted that in the technical solution provided in step S204, it is on the second media information server is judged After media information on no the first media information server being stored with indicated by the first URL, the second media letter is being judged In the case of not being stored with media information on breath server, content server can notify the second media information server storage first The media information being located on the first media information server indicated by URL;And it preserves media information and is taken in the second media information The incidence relation being engaged between the 2nd URL and the first URL on device.In this way, in the content for asking next time, if including One URL, then can be directly from local search to corresponding unloading URL (i.e. the 2nd URL), and does not have to the first media information server Ask media information.
Specifically, when not being stored with media information on judging the second media information server each time, will not store The first URL of media information preserve to list to be synchronized, every the quantity of the first URL in preset duration or list to be synchronized When value reaches preset value, the first URL in list to be synchronized is sent to the second media information server, prompts the second media letter Breath server is cached, and receive the second media information server buffer as a result, then to the 2nd URL in tables of data and the Incidence relation between one URL is updated.
In the technical solution provided in step S206, content server directly replaces the first URL in first object content The 2nd URL is changed to, so as to obtain including the second object content of the 2nd URL.
In the technical solution provided in step S208, content server sends out the second object content for including the 2nd URL First terminal is given, so as to complete the response to the first request.
As a kind of optional embodiment, before the first request is received by content server, user is whole second It is created on end after completing first object content, content server can receive the first object content of second terminal transmission; In one object content there are the first URL in the case of, content server notifies the first URL institutes of the second media information server storage The media information being located on the first media information server indicated;And media information is preserved on the second media information server The 2nd URL and the first URL between incidence relation.
In this way, the media in the outer network domain indicated by the first URL in the content that receives can be believed in real time Breath carries out unloading, and user can directly obtain, without spending foreign lands when accessing the media information from the server in present networks domain First media information server obtains, and can reduce the time delay of acquisition.
The method that above-mentioned transmission method runs for content server side, other side according to embodiments of the present invention, A kind of transmission method of content is additionally provided, this method is run on first terminal, and Fig. 3 is one kind according to embodiments of the present invention The flow chart of the transmission method of optional content, as shown in figure 3, this method may comprise steps of:
Step S302 detects the operation of the first object content on acquisition request content server, first object Content includes being used to indicate the first URL of the media information being stored on the first media information server;
Step S304 sends to obtain the first request of first object content to content server;
Step S306, the second transmitted object content of the first request of reception content server response, content server are used In the case of the media information being stored on the second media information server indicated by the first URL, by first object content In the first URL replace with the 2nd URL, obtain the second object content, content server and the second media information server are located at In first network, the first media information server is located in the second network, and first network and the second network have different domain names.
By above-mentioned steps S302 to step S306, the second matchmaker in local first network is judged by content server The matchmaker whether being stored on body information server on the first media information server positioned at the second network indicated by the first URL Body information, will be in first object content in the case of being stored with media information on the second media information server is judged First URL replaces with the 2nd URL, will obtain the second object content and is sent to first terminal, first terminal can be directly according to second URL reading media information in object content, can solve obtain UGC contents it is time-consuming longer the technical issues of, Jin Erda To the technique effect of the time consumed when reducing and obtaining UGC contents.
Above-mentioned terminal can be the equipment such as computer equipment, movable equipment, wearable device.
Above-mentioned content server is for storing the server of object content, and the second media information server is for turning Deposit the server of media information, in the first network that content server and the second media information server are located locally, the first matchmaker Body information server is the service for being used to store the media information of foreign lands on the second network (first network i.e. non-indigenous) Device.
Above-mentioned object content can be UGC contents, but not limited to this;Media information can be video, short-movie, static state Picture, dynamic picture, audio-frequency information etc..
Above-mentioned method can be run on first terminal (i.e. used terminal during user's access target content).
Optionally, after the second transmitted object content of the first request of reception content server response, first terminal Media information can be asked to the server indicated by the URL in the second object content.
URL in the second above-mentioned object content can be first of the media information on the first media information server URL, or the 2nd URL of the media information on the second media information server, in this way, terminal can be in media information In the case of by unloading, directly go on the second local media information server to obtain, in media information not by the situation of unloading Under, it goes on the first media information server in other places to obtain.
In this embodiment it is possible to judged by content server (i.e. UGC servers) using the tables of data of local cache Media information whether is cached on second media information server (i.e. media information unloading server), and is sent out without first terminal HTTP request is sent to give media information proxy server (such as picture proxy), then from media information proxy server to media information Unloading server initiates TCP requests, and request media information unloading server judges locally whether buffered corresponding media are believed Breath if media information unloading server has cached, returns bag by HTTP302 by media information proxy server and returns to unloading URL (i.e. the 2nd URL) give first terminal.The embodiment provided using the application, in first terminal request target content, The content with unloading URL (i.e. the 2nd URL) is directly returned to, without inquire about media information proxy server and response 302 It redirects, it is possible to reduce the operating procedure of end side, and then improve the response efficiency of content.
In addition, by the way of in the above embodiments of the present application, media information proxy server (picture can be overcome Proxy) service regulation change after, all terminals using old URL rules can not correctly get media information whether unloading Information the problem of.
The present invention also provides a kind of preferred embodiments, and the preferred embodiment is as shown in Figures 4 and 5:
Step S402, user asks to access specific UGC contents, at this point, user terminal sends to ask to UGC servers First request of specific UGC contents.
Step S404, UGC server request adaptation services device (i.e. the 4th server) to the foreign lands URL in UGC contents (i.e. The first URL positioned at external network domain) do adaptation processing.Foreign lands URL is used to indicate in the picture servers for being stored in foreign lands Picture.
Step S406, adaptation services device return to adaptation result and give UGC servers.
Adaptation services device read preserved in local tables of data with foreign lands URL is associated is adapted to URL (i.e. the 2nd URL), If reading failure, the picture servers of UGC server locals is told not carry out unloading to the picture by being adapted to result; If read the picture servers of UGC server locals is successfully told to carry out unloading to the picture and fit by being adapted to result With URL.
Step S408, UGC server return to UGC contents to user terminal, and the foreign lands URL in UGC contents has been adapted to, i.e., Foreign lands URL is replaced to be adapted to URL.
Step S410, user terminal are based on adaptation URL and directly access picture servers (the second matchmaker i.e. in local network domain Body information server).
Step S412, user terminal receive the image data that picture servers return.
In this embodiment, picture adaptation services device, the adaptation services device caching relevant information of picture unloading, adaptation are introduced Server does not serve terminal, and serves the server of network internal, such as UGC servers.In this way, can optimize Before returning to UGC contents by UGC servers, the foreign lands URL inside UGC contents is fitted by picture for the discharge flow of UGC contents It is adapted to server, ensures that it has been new unloading URL to spue to the URL in the UGC data of terminal, so as to which terminal need not Picture proxy is accessed, is redirected without doing 302, can directly access the corresponding picture servers of URL, is accessed so as to reduce The time delay of UGC contents.
In this embodiment, the server that adaptation services device possesses cache and service (i.e. buffer service) for one, caching The unloading information of picture servers.Its operation principle is as shown in Figure 5:
The request of step S502, UGC server is adapted to foreign lands URL.
The step is identical with step S404, and details are not described herein.
Step S504, the adaptation result of adaptation services device return cache.
The step is identical with step S406, and details are not described herein.
Step S506, if the picture of foreign lands URL is uncached, list to be synchronized is recorded in foreign lands URL by adaptation services device.
Adaptation services device read preserved in local tables of data with foreign lands URL is associated is adapted to URL (i.e. the 2nd URL), If reading failure, list to be synchronized is recorded in foreign lands URL.
Step S508 notifies the picture indicated by the foreign lands URL of unloading picture servers synchronization miss to photo services Device.
Adaptation services device is cached using the machine provide URL adaptation services, above-mentioned step S502 for UGC servers in real time It is to complete in real time with step S504, and step S506 to step S514 can periodically be handed in non real-time with unloading picture servers Unloading information is changed, and triggers unloading server and foreign lands is gone to do unloading update.
Step S510, unloading picture servers return to the external URL's as a result, including returning of unloading in list to be synchronized Return corresponding adaptation URL.
Step S512, unloading picture servers go foreign lands picture servers to ask picture corresponding with outside URL.
Step S514, foreign lands picture servers return to picture to unloading picture servers.
In this embodiment, by this caching plus the newer mechanism of clocked flip, picture proxy can be removed without terminal It redirects, ensure that the efficient access of foreign lands picture, while also there is no need to the URL between maintenance terminal again and picture proxy The relevant code alignment problem of rule.Using high performance unloading information cache adaptation services device, solve outer in UGC information After the picture unloading of domain, a problem of additional server is required for redirect is accessed every time, optimizes the access of foreign lands unloading picture Experience.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because According to the present invention, some steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, calculate Machine, server or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, a kind of transmission dress of the content for the transmission method for being used to implement the above is additionally provided It puts.Fig. 6 is a kind of schematic diagram of the transmitting device of optional content according to embodiments of the present invention, as shown in fig. 6, the device can To include:Acquiring unit 62, judging unit 64,66 and first transmitting element 68 of replacement unit.
Acquiring unit 62, for when receiving the first request that first terminal is sent by content server, response the One acquisition request first asks requested first object content, and first object content includes being used to indicate being stored in the first media First URL of the media information on information server;
Judging unit 64, for judging the media indicated by the first URL whether are stored on the second media information server Information, wherein, content server and the second media information server are located in first network, and the first media information server is located at In second network, first network and the second network have different domain names;
Replacement unit 66, will in the case of being stored with media information on the second media information server is judged The first URL in first object content replaces with the 2nd URL, obtains the second object content, wherein, the 2nd URL is used to indicate matchmaker Storage address of the body information on the second media information server;
First transmitting element 68, the second object content for that will include the 2nd URL are sent to first terminal.
It should be noted that the acquiring unit 62 in the embodiment can be used for performing the step in the embodiment of the present application 1 S202, the judging unit 64 in the embodiment can be used for performing the step S204 in the embodiment of the present application 1, in the embodiment Replacement unit 66 can be used for performing the step S206 in the embodiment of the present application 1, and the first transmitting element 68 in the embodiment can For performing the step S208 in the embodiment of the present application 1.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not It is limited to 1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module as a part for device may operate in as It in hardware environment shown in FIG. 1, can be realized by software, hardware realization can also be passed through.
By above-mentioned modular unit, the second media information service in local first network is judged by content server The media information whether being stored on device on the first media information server positioned at the second network indicated by the first URL, Judge in the case of being stored with media information on the second media information server, the first URL in first object content is replaced The 2nd URL is changed to, the second object content will be obtained and be sent to first terminal, first terminal can be directly according in the second object content URL reading media information, can solve obtain UGC contents it is time-consuming longer the technical issues of, and then reduce obtain The technique effect of the time consumed during UGC contents.
Above-mentioned terminal can be the equipment such as computer equipment, movable equipment, wearable device.
Above-mentioned content server is for storing the server of object content, and the second media information server is for turning Deposit the server of media information, in the first network that content server and the second media information server are located locally, the first matchmaker Body information server is the service for being used to store the media information of foreign lands on the second network (first network i.e. non-indigenous) Device.
Above-mentioned object content can be UGC contents, but not limited to this;Media information can be video, short-movie, static state Picture, dynamic picture, audio-frequency information etc..
Above-mentioned device can be arranged on content server (i.e. the cache server of UGC contents).
For above-mentioned acquiring unit 62 when response the first acquisition request first asks requested first object content, first please It is user in acquisition request first object content on first terminal to ask, the request of first terminal generation;For example, user is first When UGC contents (first object content) is accessed in terminal, to the content server where UGC contents, (UGC is serviced first terminal Device) send first request, by UGC servers response first request return UGC contents.
It should be noted that in the related art, the content that UGC servers return includes the foreign lands URL of media information (i.e. the first URL), and in the technical solution of the application can be replaced foreign lands URL by UGC servers, and then reduce the The step of one terminal needs to perform improves the acquisition efficiency of data, is described in detail with reference to step S204 to step S206 and carries out URL The process of replacement.
Above-mentioned judging unit includes:Judgment module, for judge be located at first network in preset data table in whether In the presence of default URL associated with the first URL;Wherein, in the case where judging to have default URL in preset data table, really Media information is stored on fixed second media information server, and using default URL as the 2nd URL.
Above-mentioned preset data table can be the tables of data being arranged on content server, in this way, content server can lead to Local tables of data is crossed to inquire about default URL, it, can be true if corresponding default URL can be inquired according to the first URL Unloading has media information on fixed second media information server;Otherwise it can determine there is no unloading on the second media information server Media information.
Optionally, above-mentioned preset data table can be arranged on an individual server (i.e. the 4th server), this The function of sample judgment module can be realized by following submodule:Sending submodule, for sending preset instructions to the first net The 4th server in network, wherein, preset instructions are used to indicate the inquiry of the 4th server and are arranged on presetting on the 4th server Whether default URL is stored in tables of data;Judging submodule, the query result information for being returned according to the 4th server judge Whether default URL is stored in preset data table.
In this embodiment it is possible to judged by content server (i.e. UGC servers) using the tables of data of local cache Media information whether is cached on second media information server (i.e. media information unloading server), and is sent out without first terminal HTTP request is sent to give media information proxy server (such as picture proxy), then from media information proxy server to media information Unloading server initiates TCP requests, and request media information unloading server judges locally whether buffered corresponding media are believed Breath if media information unloading server has cached, returns bag by HTTP302 by media information proxy server and returns to unloading URL (i.e. the 2nd URL) give first terminal.The embodiment provided using the application, in first terminal request target content, The content with unloading URL (i.e. the 2nd URL) is directly returned to, without inquire about media information proxy server and response 302 It redirects, it is possible to reduce the operating procedure of end side, and then improve the response efficiency of content.
Optionally, which can also include:First notification unit, for being on the second media information server is judged After media information on no the first media information server being stored with indicated by the first URL, the second media letter is being judged In the case of not being stored with media information on breath server, notify indicated by the first URL of the second media information server storage Media information on the first media information server;First storage unit is believed for preserving media information in the second media Cease the incidence relation between the 2nd URL and the first URL on server.
Specifically, when not being stored with media information on judging the second media information server each time, will not store The first URL of media information preserve to list to be synchronized, every the quantity of the first URL in preset duration or list to be synchronized When value reaches preset value, the first URL in list to be synchronized is sent to the second media information server, prompts the second media letter Breath server is cached, and receive the second media information server buffer as a result, then to the 2nd URL in tables of data and the Incidence relation between one URL is updated.
Optionally, which can also include:First receiving unit, for by content server receive first please Before asking, the first object content that second terminal is sent is received;Second notification unit, for there are in first object content In the case of one URL, notify to be located at the first media information server indicated by the first URL of the second media information server storage On media information;Second storage unit, for preserving twoth URL and of the media information on the second media information server Incidence relation between one URL.
In this way, the media in the outer network domain indicated by the first URL in the content that receives can be believed in real time Breath carries out unloading, and user can directly obtain from the server in present networks domain when accessing the media information, and then reduce what is obtained Time delay.
According to embodiments of the present invention, a kind of transmission dress of the content for the transmission method for being used to implement the above is additionally provided It puts.Fig. 7 is a kind of schematic diagram of the transmitting device of optional content according to embodiments of the present invention, as shown in fig. 7, the device can To include:Detection unit 72, the second transmitting element 74 and the second receiving unit 76.
Detection unit 72, for detecting the operation of the first object content on acquisition request content server, the One object content includes the first URL for being used to indicate the media information being stored on the first media information server;
Second transmitting element 74, for sending to obtain the first request of first object content to content server;
Second receiving unit 76, for the second transmitted object content of the first request of reception content server response;Its In, in the case that content server is used for the media information being stored on the second media information server indicated by the first URL, The first URL in first object content is replaced with into the 2nd URL, obtains the second object content, content server and the second media Information server is located in first network, and the first media information server is located in the second network, first network and the second network With different domain names.
It should be noted that the detection unit 72 in the embodiment can be used for performing the step in the embodiment of the present application 1 S302, the second transmitting element 74 in the embodiment can be used for performing the step S304 in the embodiment of the present application 1, the embodiment In the second receiving unit 76 can be used for perform the embodiment of the present application 1 in step S306.
By above-mentioned modular unit, the second media information service in local first network is judged by content server The media information whether being stored on device on the first media information server positioned at the second network indicated by the first URL, Judge in the case of being stored with media information on the second media information server, the first URL in first object content is replaced The 2nd URL is changed to, the second object content will be obtained and be sent to first terminal, first terminal can be directly according in the second object content URL reading media information, can solve obtain UGC contents it is time-consuming longer the technical issues of, and then reduce obtain The technique effect of the time consumed during UGC contents.
Above-mentioned terminal can be the equipment such as computer equipment, movable equipment, wearable device.
Above-mentioned content server is for storing the server of object content, and the second media information server is for turning Deposit the server of media information, in the first network that content server and the second media information server are located locally, the first matchmaker Body information server is the service for being used to store the media information of foreign lands on the second network (first network i.e. non-indigenous) Device.
Above-mentioned object content can be UGC contents, but not limited to this;Media information can be video, short-movie, static state Picture, dynamic picture, audio-frequency information etc..
Above-mentioned device can be arranged in terminal.
Optionally, which can also include:Request unit, for being sent out in the first request of reception content server response After the second object content sent, the server request media information indicated by the URL into the second object content.
In addition, by the way of in the above embodiments of the present application, media information proxy server (picture can be overcome Proxy) service regulation change after, all terminals using old URL rules can not correctly get media information whether unloading Information the problem of.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that corresponding step is realized, but not It is limited to 1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module as a part for device may operate in as In hardware environment shown in FIG. 1, can be realized by software, can also by hardware realization, wherein, hardware environment include network Environment.
Embodiment 3
According to embodiments of the present invention, server or the end of a kind of transmission method for being used to implement the above are additionally provided End.
Fig. 8 is a kind of structure diagram of terminal according to embodiments of the present invention, as shown in figure 8, the terminal can include:One A or multiple (one is only shown in figure) processor 801, memory 803 and transmitting device 805 are (in above-described embodiment Sending device), as shown in figure 8, the terminal can also include input-output equipment 807.
Wherein, memory 803 can be used for storage software program and module, such as the method and apparatus in the embodiment of the present invention Corresponding program instruction/module, processor 801 are stored in software program and module in memory 803 by operation, so as to Application and data processing are performed various functions, that is, realizes above-mentioned method.Memory 803 may include high speed random access memory, It can also include nonvolatile memory, such as one or more magnetic storage device, flash memory or other nonvolatile solid states Memory.In some instances, memory 803 can further comprise compared with the remotely located memory of processor 801, these Remote memory can pass through network connection to terminal.The example of above-mentioned network include but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 805 is used to that data to be received or sent via network, can be also used for processor with Data transmission between memory.Above-mentioned network specific example may include cable network and wireless network.In an example, Transmitting device 805 includes a network adapter (Network Interface Controller, NIC), can pass through cable It is connected to be communicated with internet or LAN with other network equipments with router.In an example, transmission dress 805 are put as radio frequency (Radio Frequency, RF) module, is used to wirelessly be communicated with internet.
Wherein, specifically, memory 803 is used to store application program.
Processor 801 can call the application program that memory 803 stores by transmitting device 805, to perform following steps Suddenly:When receiving the first request that first terminal is sent by content server, response the first acquisition request first request institute The first object content of request, first object content include being used to indicate the media letter being stored on the first media information server First URL of breath;Judge the media information indicated by the first URL whether is stored on the second media information server, wherein, it is interior Holding server and the second media information server is located in first network, the first media information server is located in the second network, First network and the second network have different domain names;Media information is stored on the second media information server is judged In the case of, the first URL in first object content is replaced with into the 2nd URL, obtains the second object content, wherein, the 2nd URL is used In storage address of the instruction media information on the second media information server;The second object content of the 2nd URL will be included It is sent to first terminal.
Processor 801 is additionally operable to perform following step:Detect the first object on acquisition request content server The operation of content, first object content include being used to indicate the first of the media information being stored on the first media information server URL;Send to obtain first object content to content server first is asked;The first request of reception content server response The second transmitted object content;Wherein, content server is used to be stored with the first URL institutes on the second media information server In the case of the media information of instruction, the first URL in first object content is replaced with into the 2nd URL, is obtained in the second target Hold, content server and the second media information server are located in first network, and the first media information server is located at the second net In network, first network and the second network have different domain names.
Using the embodiment of the present invention, the second media information service in local first network is judged by content server The media information whether being stored on device on the first media information server positioned at the second network indicated by the first URL, Judge in the case of being stored with media information on the second media information server, the first URL in first object content is replaced The 2nd URL is changed to, the second object content will be obtained and be sent to first terminal, first terminal can be directly according in the second object content URL reading media information, can solve obtain UGC contents it is time-consuming longer the technical issues of, and then reduce obtain The technique effect of the time consumed during UGC contents.
Optionally, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
It will appreciated by the skilled person that structure shown in Fig. 8 is only to illustrate, terminal can be smart mobile phone (such as Android phone, iOS mobile phones), tablet computer, palm PC and mobile internet device (Mobile Internet Devices, MID), the terminal devices such as PAD.Fig. 8 it does not cause to limit to the structure of above-mentioned electronic device.For example, terminal is also May include than shown in Fig. 8 more either less components (such as network interface, display device) or with shown in Fig. 8 Different configurations.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed by program come command terminal device-dependent hardware, which can be stored in a computer readable storage medium In, storage medium can include:Flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Embodiment 4
The embodiment of the present invention additionally provides a kind of storage medium.Optionally, in the present embodiment, above-mentioned storage medium can For performing the program code of the transmission method of content.
Optionally, in the present embodiment, above-mentioned storage medium can be located at multiple in the network shown in above-described embodiment On at least one network equipment in the network equipment.
Optionally, in the present embodiment, storage medium is arranged to storage for performing the program code of following steps:
S11, when receiving the first request that first terminal is sent by content server, the first acquisition request of response the The one requested first object content of request, first object content include being used to indicate being stored on the first media information server Media information the first URL;
S12 judges the media information indicated by the first URL whether is stored on the second media information server, wherein, it is interior Holding server and the second media information server is located in first network, the first media information server is located in the second network, First network and the second network have different domain names;
S13, in the case of being stored with media information on the second media information server is judged, by first object content In the first URL replace with the 2nd URL, obtain the second object content, wherein, the 2nd URL is used to indicate media information second Storage address on media information server;
The second object content for including the 2nd URL is sent to first terminal by S14.
Optionally, storage medium is also configured to storage for performing the program code of following steps:
S21 detects the operation of the first object content on acquisition request content server, first object content bag Include the first URL for being used to indicate the media information being stored on the first media information server;
S22 sends to obtain the first request of first object content to content server;
S23, the second transmitted object content of the first request of reception content server response, wherein, content server is used In the case of the media information being stored on the second media information server indicated by the first URL, by first object content In the first URL replace with the 2nd URL, obtain the second object content, content server and the second media information server are located at In first network, the first media information server is located in the second network, and first network and the second network have different domain names.
Optionally, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or The various media that can store program code such as CD.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and is independent product Sale or in use, the storage medium that above computer can be read can be stored in.Based on such understanding, skill of the invention The part or all or part of the technical solution that art scheme substantially in other words contributes to the prior art can be with soft The form of part product embodies, which is stored in storage medium, is used including some instructions so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment institute of the present invention State all or part of step of method.
In the above embodiment of the present invention, all emphasize particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, is only one Kind of division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine or It is desirably integrated into another system or some features can be ignored or does not perform.It is another, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (14)

1. a kind of transmission method of content, which is characterized in that including:
When receiving the first request that first terminal is sent by content server, the is responded described in first acquisition request The one requested first object content of request, wherein, the first object content, which includes being used to indicate, is stored in the first media letter Cease the first URL of the media information on server;
Judge the media information indicated by the first URL whether is stored on the second media information server, wherein, institute It states content server and the second media information server is located in first network, the first media information server is located at In second network, the first network and second network have different domain names;
In the case of being stored with the media information on the second media information server is judged, by the first object The first URL in content replaces with the 2nd URL, obtains the second object content, wherein, the 2nd URL is used to indicate institute State storage address of the media information on the second media information server;
Second object content for including the 2nd URL is sent to the first terminal.
2. according to the method described in claim 1, it is characterized in that, judge whether stored on the second media information server Stating the media information indicated by the first URL includes:
Judge to whether there is default URL associated with the first URL in the preset data table being located in the first network;
Wherein, in the case where judging in the preset data table there are the default URL, second media information is determined The media information is stored on server, and using the default URL as the 2nd URL.
3. according to the method described in claim 2, it is characterized in that, judge in the preset data table being located in the first network Whether being stored with default URL associated with the first URL includes:
The 4th server in preset instructions to the first network is sent, wherein, the preset instructions are used to indicate described the The default URL whether is stored in the preset data table that the inquiry of four servers is arranged on the 4th server;
It is described pre- whether the query result information returned according to the 4th server judges to be stored in the preset data table If URL.
4. according to the method described in claim 1, it is characterized in that, whether it is stored on the second media information server is judged After the media information on the first media information server indicated by first URL, the method further includes:
In the case of not being stored with the media information on the second media information server is judged, described second is notified The media being located on the first media information server letter indicated by first URL described in media information server storage Breath;
It preserves between the 2nd URL and the first URL of the media information on the second media information server Incidence relation.
It 5. according to the method described in claim 1, it is characterized in that, please receiving described first by the content server Before asking, the method further includes:
Receive the first object content that second terminal is sent;
In the first object content there are the first URL in the case of, the second media information server is notified to deposit Store up the media information being located on the first media information server indicated by the first URL;
It preserves between the 2nd URL and the first URL of the media information on the second media information server Incidence relation.
6. a kind of transmission method of content, which is characterized in that including:
Detect the operation of the first object content on acquisition request content server, wherein, the first object content The first URL including being used to indicate the media information being stored on the first media information server;
Send to obtain the first object content to the content server first is asked;
Receive the second transmitted object content of the content server response first request;
Wherein, the content server is used to be stored with the institute indicated by the first URL on the second media information server In the case of stating media information, the first URL in the first object content is replaced with into the 2nd URL, obtains described Two object contents, the content server and the second media information server are located in first network, first media Information server is located in the second network, and the first network and second network have different domain names.
7. according to the method described in claim 6, it is characterized in that, receiving the content server response first request After the second transmitted object content, the method further includes:
Server indicated by URL into second object content asks the media information.
8. a kind of transmitting device of content, which is characterized in that including:
Acquiring unit, for when receiving the first request that first terminal is sent by content server, responding described first The first requested first object content of request described in acquisition request, wherein, the first object content includes being used to indicate depositing Store up the first URL of the media information on the first media information server;
Judging unit, for judging the matchmaker indicated by the first URL whether is stored on the second media information server Body information, wherein, the content server and the second media information server are located in first network, first media Information server is located in the second network, and the first network and second network have different domain names;
Replacement unit, in the case of being stored with the media information on the second media information server is judged, The first URL in the first object content is replaced with into the 2nd URL, obtains the second object content, wherein, described second URL is used to indicate storage address of the media information on the second media information server;
First transmitting element, for second object content for including the 2nd URL to be sent to the first terminal.
9. device according to claim 8, which is characterized in that the judging unit includes:
Judgment module, for judging to whether there is and the first URL phases in the preset data table being located in the first network Associated default URL;
Wherein, in the case where judging in the preset data table there are the default URL, second media information is determined The media information is stored on server, and using the default URL as the 2nd URL.
10. device according to claim 9, which is characterized in that the judgment module includes:
Sending submodule, for sending the 4th server in preset instructions to the first network, wherein, the preset instructions It is used to indicate in the preset data table that the 4th server inquiry is arranged on the 4th server and whether is stored with The default URL;
Judging submodule, the query result information for being returned according to the 4th server judge be in the preset data table It is no to be stored with the default URL.
11. device according to claim 8, which is characterized in that described device further includes:
First notification unit, for whether being stored with indicated by the first URL on the second media information server is judged After media information on first media information server, do not stored on the second media information server is judged In the case of stating media information, notify indicated by the first URL described in the second media information server storage be located at it is described The media information on first media information server;
First storage unit, for preserving twoth URL of the media information on the second media information server With the incidence relation between the first URL.
12. device according to claim 8, which is characterized in that described device further includes:
First receiving unit, for before first request is received by the content server, receiving second terminal The first object content sent;
Second notification unit in the case of in the first object content there are the first URL, notifies described second The media being located on the first media information server letter indicated by first URL described in media information server storage Breath;
Second storage unit, for preserving twoth URL of the media information on the second media information server With the incidence relation between the first URL.
13. a kind of transmitting device of content, which is characterized in that including:
Detection unit, for detecting the operation of the first object content on acquisition request content server, wherein, it is described First object content includes being used to indicate the first URL of the media information being stored on the first media information server;
Second transmitting element, for sending to obtain the first request of the first object content to the content server;
Second receiving unit, for receiving the second transmitted object content of the content server response first request;
Wherein, the content server is used to be stored with the institute indicated by the first URL on the second media information server In the case of stating media information, the first URL in the first object content is replaced with into the 2nd URL, obtains described Two object contents, the content server and the second media information server are located in first network, first media Information server is located in the second network, and the first network and second network have different domain names.
14. device according to claim 13, which is characterized in that described device further includes:
Request unit, for receive the second transmitted object content of content server response first request it Afterwards, the server indicated by the URL into second object content asks the media information.
CN201611034668.3A 2016-11-18 2016-11-18 Content transmission method and device Active CN108075963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611034668.3A CN108075963B (en) 2016-11-18 2016-11-18 Content transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611034668.3A CN108075963B (en) 2016-11-18 2016-11-18 Content transmission method and device

Publications (2)

Publication Number Publication Date
CN108075963A true CN108075963A (en) 2018-05-25
CN108075963B CN108075963B (en) 2020-06-02

Family

ID=62161178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611034668.3A Active CN108075963B (en) 2016-11-18 2016-11-18 Content transmission method and device

Country Status (1)

Country Link
CN (1) CN108075963B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112052391A (en) * 2020-09-08 2020-12-08 中国工商银行股份有限公司 Data pushing method, device and system
CN114205652A (en) * 2020-09-18 2022-03-18 腾讯科技(深圳)有限公司 Media information processing method and device and computer equipment
CN115150314A (en) * 2021-03-31 2022-10-04 腾讯科技(深圳)有限公司 Cross-network-domain data packet transmission method and device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102067619A (en) * 2009-04-16 2011-05-18 松下电器产业株式会社 Content recommending device, content recommending system, content recommending method, program, and integrated circuit
CN102170479A (en) * 2011-05-21 2011-08-31 成都市华为赛门铁克科技有限公司 Updating method of Web buffer and updating device of Web buffer
CN102780711A (en) * 2011-05-09 2012-11-14 腾讯科技(深圳)有限公司 Method, device and system for accessing application data of SNS (Social Network Site)
CN103139279A (en) * 2011-12-05 2013-06-05 阿里巴巴集团控股有限公司 File access method and system
CN104065635A (en) * 2013-07-02 2014-09-24 腾讯科技(深圳)有限公司 Web page accessing method and client
WO2015103419A1 (en) * 2013-12-31 2015-07-09 Hubub Inc. Integrated media, publication and interactive discussion engine driven by user-specified topic
CN105893425A (en) * 2015-12-04 2016-08-24 乐视致新电子科技(天津)有限公司 Page display method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102067619A (en) * 2009-04-16 2011-05-18 松下电器产业株式会社 Content recommending device, content recommending system, content recommending method, program, and integrated circuit
CN102780711A (en) * 2011-05-09 2012-11-14 腾讯科技(深圳)有限公司 Method, device and system for accessing application data of SNS (Social Network Site)
CN102170479A (en) * 2011-05-21 2011-08-31 成都市华为赛门铁克科技有限公司 Updating method of Web buffer and updating device of Web buffer
CN103139279A (en) * 2011-12-05 2013-06-05 阿里巴巴集团控股有限公司 File access method and system
CN104065635A (en) * 2013-07-02 2014-09-24 腾讯科技(深圳)有限公司 Web page accessing method and client
WO2015103419A1 (en) * 2013-12-31 2015-07-09 Hubub Inc. Integrated media, publication and interactive discussion engine driven by user-specified topic
CN105893425A (en) * 2015-12-04 2016-08-24 乐视致新电子科技(天津)有限公司 Page display method and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112052391A (en) * 2020-09-08 2020-12-08 中国工商银行股份有限公司 Data pushing method, device and system
CN112052391B (en) * 2020-09-08 2023-11-17 中国工商银行股份有限公司 Data pushing method, device and system
CN114205652A (en) * 2020-09-18 2022-03-18 腾讯科技(深圳)有限公司 Media information processing method and device and computer equipment
CN114205652B (en) * 2020-09-18 2024-05-31 腾讯科技(深圳)有限公司 Media information processing method and device and computer equipment
CN115150314A (en) * 2021-03-31 2022-10-04 腾讯科技(深圳)有限公司 Cross-network-domain data packet transmission method and device, storage medium and electronic equipment
CN115150314B (en) * 2021-03-31 2023-08-25 腾讯科技(深圳)有限公司 Method and device for transmitting data packets across network domains, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108075963B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN111049854B (en) Service request transmission method and device
CN102340554B (en) Optimal application server selection method and device for domain name system (DNS)
CN108270882A (en) The analysis method and device of domain name, storage medium, electronic device
CN110417842A (en) Fault handling method and device for gateway server
CN107181779A (en) Processing method, the device and system of access request
KR20030065406A (en) Information providing method, server, program, and storage medium
CN104202360A (en) Webpage access method, device and router
CN104065761A (en) Application server selecting method and network connection method
CN110460652A (en) A kind of resource acquiring method and edge calculations dispatch server
CN101459571B (en) Method, system and apparatus for website mirroring
CN108156210A (en) The acquisition methods and device of target resource
CN106462611A (en) Web access performance enhancement
CN102984223B (en) A kind of message method, the network equipment and system
CN104519139B (en) Caching method, caching edges server, caching Core server and caching system System
JP2004523180A (en) Beacon network
CN112565406B (en) Gray release method, gray release system and electronic equipment
CN109302437A (en) A kind of method and apparatus redirecting website
CN108075963A (en) The transmission method and device of content
CN107070988A (en) Message processing method and device
US10785601B2 (en) System and method for transmitting dynamic content to mobile devices
CN100377522C (en) OMA download realizing method in content distributing network
JP2004207778A (en) Server system using local address
US7076242B2 (en) Mobile station and communication system
CN107135091A (en) A kind of application quality index mapping method, server and client side
CN106559404A (en) A kind of client for accessing data, proxy server and system

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