CN109963171A - Transmitting of Multi-media Information method, transmission device and storage medium - Google Patents

Transmitting of Multi-media Information method, transmission device and storage medium Download PDF

Info

Publication number
CN109963171A
CN109963171A CN201711342139.4A CN201711342139A CN109963171A CN 109963171 A CN109963171 A CN 109963171A CN 201711342139 A CN201711342139 A CN 201711342139A CN 109963171 A CN109963171 A CN 109963171A
Authority
CN
China
Prior art keywords
request
multimedia
server
information
identifier information
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
CN201711342139.4A
Other languages
Chinese (zh)
Other versions
CN109963171B (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 CN201711342139.4A priority Critical patent/CN109963171B/en
Publication of CN109963171A publication Critical patent/CN109963171A/en
Application granted granted Critical
Publication of CN109963171B publication Critical patent/CN109963171B/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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6402Address allocation for clients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of Transmitting of Multi-media Information method, transmission device and storage mediums.It include: the first request for receiving user terminal and sending applied to the Transmitting of Multi-media Information method in proxy server, wherein, the address part of first request carries the first identifier information of the proxy server, and first request also carries predetermined information;Second identifier information is obtained according to the predetermined information, wherein the second identifier information is directed toward multimedia server;The first identifier information in first request is replaced using the second identifier information and forms the second request;The multimedia server is written in the first multimedia messages for being provided the user terminal based on second request, alternatively, reading the second multimedia messages from the multimedia server based on second request and second multimedia messages being sent to the user terminal.

Description

Transmitting of Multi-media Information method, transmission device and storage medium
Technical field
The present invention relates to Internet technical field more particularly to a kind of Transmitting of Multi-media Information method, transmission device and deposit Storage media.
Background technique
Exempt to flow service be: remove a kind of business of the data traffic of generation during user watches video or listens to audio etc. from Service.Exempt to flow the user serviced and using the non-user for exempting from stream service to distinguish to introduce proxy server and distinguish to use.
In the prior art, proxy server receives the more matchmakers of access that client is sent in the user terminal that user holds After the request of body information, according to the port binding of itself and the server for providing multimedia messages, asked by being sent to port Multimedia messages needed for obtaining user are sought, and the multimedia messages that will acquire are sent to user terminal.
In a first aspect, if the server of different multimedia information needs to bind different ports from proxy server, it is clear that The port number of the proxy server of consumption is limited, and the multimedia server of proxy server binding is few, the end of this binding consumption Mouth is more, and maintenance cost is high.
Second aspect, if multiple multimedia servers use same services agreement, it may be necessary to same with proxy server A port connection, then at this time in the case where a proxy server same kind port one, some multimedia servers are not It obtains and does not modify its internal application program, cause the configuration of proxy server port difficult, the application modification of multimedia server The problems such as big.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of Transmitting of Multi-media Information method, transmission device and storages to be situated between Matter at least partly solves the above problems.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
In a first aspect, the embodiment of the present invention provides a kind of Transmitting of Multi-media Information method, it is applied in proxy server, packet It includes:
Receive the first request that user terminal is sent, wherein the address part of first request carries the agency The first identifier information of server, and first request also carries predetermined information;
Second identifier information is obtained according to the predetermined information, wherein the second identifier information is directed toward multimedia service Device;
It replaces the first identifier information in first request using the second identifier information and forms second and ask It asks;
The multimedia service is written in the first multimedia messages for being provided the user terminal based on second request Device, alternatively, from the multimedia server reading the second multimedia messages based on second request and by more than second matchmaker Body information is sent to the user terminal.
Second aspect, the embodiment of the present invention provide a kind of Transmitting of Multi-media Information method, are applied in user terminal, packet It includes:
Obtain the predetermined information for the multimedia server that operational order is directed toward;
Address part is generated to carry the first identifier information of proxy server and carry the predetermined information simultaneously First request;Wherein, the predetermined information, for determining the multimedia of the user terminal access for the proxy server The second identifier information of server;
Send first request;
It requests to send the first multimedia messages to the proxy server based on described first;Or, receiving agency's clothes Business device is sent to the second multimedia messages of the user terminal based on first request;Wherein, the first multimedia letter Breath is the information that the user terminal is written to the multimedia server, and second multimedia messages are multimedia clothes The multimedia messages that business device provides.
The third aspect, the embodiment of the present invention provide a kind of Transmitting of Multi-media Information method, are applied in multimedia system, packet It includes:
User terminal sends the first request, wherein the address part of first request carries the of proxy server One identification information, and first request also carries predetermined information;
The proxy server receives first request;
The proxy server obtains second identifier information according to the predetermined information;
The proxy server is replaced the first identifier in first request using the second identifier information and is believed The second request is ceased and formed, second request is sent;
Multimedia server receives the first multimedia messages based on the second request write-in, alternatively, based on described the Two requests send second multimedia messages to the user terminal by the proxy server.
Fourth aspect, the embodiment of the present invention provide a kind of transmission device, and the transmission device is proxy server, comprising:
First receiving unit, for receiving the first request of user terminal transmission, wherein the Address Part of first request Divide the first identifier information for carrying the proxy server, and first request also carries predetermined information;
First acquisition unit, for obtaining second identifier information according to the predetermined information, wherein the second identifier letter Breath is directed toward multimedia server;
Replacement unit, for replacing the first identifier information in first request using the second identifier information And form the second request;
First transmission unit, the first multimedia messages for being provided the user terminal based on second request are write Enter the multimedia server, alternatively, reading the second multimedia messages from the multimedia server based on second request And second multimedia messages are sent to the user terminal.
5th aspect, the embodiment of the present invention provide a kind of transmission device, and the transmission device is user terminal, comprising:
Second acquisition unit, the predetermined information of the multimedia server for obtaining operational order direction;
Generation unit carries the first identifier information of proxy server and carries simultaneously for generating address part State the first request of predetermined information;Wherein, the predetermined information, for determining the user terminal for the proxy server The second identifier information of the multimedia server of access;
Second transmission unit, for sending first request;It requests to send out to the proxy server based on described first Send the first multimedia messages;The of the user terminal is sent to based on first request or, receiving the proxy server Two multimedia messages;Wherein, first multimedia messages are the letter that the user terminal is written to the multimedia server Breath, second multimedia messages are the multimedia messages that the multimedia server provides
6th aspect, the embodiment of the present invention provide a kind of transmission device, comprising: transceiver, memory, processor and storage The computer program executed on the memory and by the processor;
The processor is connect with the transceiver and the memory respectively, for by executing the computer program Realize the Transmitting of Multi-media Information method that aforementioned one or more technical solutions provide.
7th aspect, the embodiment of the present invention provide a kind of computer storage medium, and the computer storage medium is stored with Computer program;After the computer program is performed, the multimedia that aforementioned one or more technical solutions provide can be realized Information transferring method.
The embodiment of the present invention provides Transmitting of Multi-media Information method, transmission device and storage medium, and proxy server receives The first request in not only carry oneself first identifier information, also carry predetermined information, proxy server is pre- according to this The second identifier information for the multimedia server that user terminal wants access to can be obtained by determining information, and second identifier information is replaced First identifier information in first request, to form the second request, which can be so that proxy server can be visited Ask the multimedia server that user terminal wants access to, so that it may which the first multimedia messages for providing user terminal are written to Destination multimedia server, or the second multimedia messages stored in destination multimedia server are read out and are sent to use Family terminal.Obviously, at this point, the request is to be routed automatically to more matchmakers since the second request directly carries second identifier information Body server, proxy server does not need to remove access multimedia server by the port bound in advance again, therefore a port, The access that can be used for multiple multimedia servers, there is no port number not enough or conflict the problem of.To solve Port collision in the prior art or the inadequate technical problem of port number.At the same time, predetermined letter is carried in the first request Breath, rather than the corresponding port address of multimedia server program is needed, it is only to carry predetermined letter relative to this modification of program The modification of program of breath is smaller, has the characteristics that stronger with the compatibility of the prior art and realizes easier.
Detailed description of the invention
Fig. 1 is the flow diagram of the first Transmitting of Multi-media Information method provided in an embodiment of the present invention;
Fig. 2 is the acquisition schematic diagram of the first second identifier information provided in an embodiment of the present invention;
Fig. 3 is the acquisition schematic diagram of second of second identifier information provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of second of Transmitting of Multi-media Information method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of the third Transmitting of Multi-media Information method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of multimedia system provided in an embodiment of the present invention;
Fig. 7 is the flow diagram of the 4th kind of Transmitting of Multi-media Information method provided in an embodiment of the present invention;
Fig. 8 is the flow diagram of the 5th kind of Transmitting of Multi-media Information method provided in an embodiment of the present invention;
Fig. 9 is the flow diagram of the 6th kind of Transmitting of Multi-media Information method provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of proxy server provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of user terminal provided in an embodiment of the present invention;
Figure 12 is a kind of structural schematic diagram of transmission device provided in an embodiment of the present invention.
Specific embodiment
Technical solution of the present invention is further described in detail with reference to the accompanying drawings and specific embodiments of the specification.
As shown in Figure 1, being applied in proxy server the present embodiment provides a kind of Transmitting of Multi-media Information method, comprising:
Step S110: the first request that user terminal is sent is received, wherein the address part of first request carries The first identifier information of the proxy server, and first request also carries predetermined information;
Step S120: second identifier information is obtained according to the predetermined information, wherein the second identifier information is directed toward more Media server;
Step S130: the first identifier information and shape in first request are replaced using the second identifier information At the second request;
Step S140: the first multimedia messages write-in for being provided the user terminal based on second request is described more Media server, alternatively, reading the second multimedia messages from the multimedia server based on second request and will be described Second multimedia messages are sent to the user terminal.
Multimedia messages provided in this embodiment can be various types of multimedia messages, for example, video and/or audio. The server is proxy server, and proxy server can be that the transfer being connected among user terminal and multimedia server is set It is standby.The user terminal can be request multimedia messages and the terminal device for exporting multimedia messages.The multimedia server It can be to be stored with multimedia messages, the server of multimedia messages can be provided.
For example, by taking video as an example, different video providers, may issuing by video (APP) so that in mobile phone Or the user terminals such as tablet computer are equipped with the APP, user can watch various videos by operating the APP.And multimedia Server can be the video server, can be stored with the various videos of user's access.And the proxy server is positioned at described Between user terminal and multimedia server, what client server directly accessed is proxy server, and multimedia server will Multimedia messages are directly handed down to proxy server, and proxy server can obtain user's end as relay device from multimedia messages The multimedia messages to be accessed are held, and are handed down to user terminal obtaining multimedia messages.
In some embodiments, if user terminal needs to access multimedia server, the use by proxy server Family terminal also needs to submit various purview certification information to proxy server, and in this case, the proxy server is receiving the After one request, it will do it user terminal and carry out purview certification, only after purview certification passes through, proxy server just can be from Multimedia server goes to pull multimedia messages, or establishes connection with multimedia server, the multimedia that user terminal is provided Multimedia server is sent in information.
In the present embodiment, first request can include: obtain asking for multimedia messages from the multimedia server It asks, also may include the server for sending information to the multimedia server.
It in the present embodiment, is not direct specific using being bound with multimedia server after getting the first request Interface initiates to request, but can first obtain the second identifier information of the multimedia server to multimedia server, recycles First identifier information in the first request of second identifier information replacement, forms one second request, which can be access One request of multimedia server.Based on the second request, proxy server and multimedia server establish connection, for example, building Vertical transmission control protocol (TCP) connection, after which establishes, proxy server can be whole using connection transfer user The multimedia messages that end and/or multimedia server provide.
For example, if being that the first request can below are as follows: rtmp//bizid.flowproxy.myqcloud.com, wherein " flowproxy " is the first identifier information, and the second request formed after replacement can are as follows: and rtmp// bizid.livepush.myqcloud.com.Wherein, " livepush " is the second identifier information.
After first identifier information in first request is replaced with second identifier information, the proxy server can benefit Second request is sent out with any one port, which can be routed to due to carrying second identifier information automatically pair The multimedia server answered after corresponding multimedia server receives the request, can be established according to the request and act on behalf of clothes The connection of business device.After establishing the connection, proxy server is just all established with user terminal and multimedia server and is connect, It can be with the multimedia messages between transfer user terminal and multimedia server.In this case, it is clear that the one of proxy server A port can be used for carrying out information exchange with more multimedia servers, just bind one without each multimedia server Port, it is clear that required port is just few.And when identical service agreement that on the other hand if different multimedia server uses, Without the same port of one server of competition, the application of itself offer is modified without multimedia server in this way, thus Have the characteristics that realize easy.
There are many modes for obtaining the second identifier, several optional ways presented below:
Optional way one, the step S120 can include:
Service identification is proposed from first request;
The second identifier information of the multimedia server is inquired according to the service identification.
In the present embodiment, service identification is carried in first request, which can be used as the agency Server local or search index from second identifier information described in scheduled equipment query, therefore in the present embodiment, the generation Reason server extracts the service identification from first request first.In the present embodiment, the service identification can be with Stream parameter as the first request is carried.If the first request can are as follows: rtmp//bizid.flowproxy.myqcloud.com, " bizid " is an example of service identification.
In some embodiments, the proxy server is provided with service identification pass corresponding with second identifier information in advance System can be known that the multimedia server that active user's terminal needs to access according to the service identification carried in the first request Second identifier information.
In further embodiments, as shown in Fig. 2, the service identification and the configuration of the corresponding relationship of the second identifier exist In reservations database, after the proxy server receives the described first request, institute is extracted from first request Service identification is stated, Xiang Suoshu database sends the inquiry request for carrying the service identification, receives the reservations database base In the second identifier information that the service identification returns, so that the proxy server obtains the second identifier letter Breath.
Optional way two: the address part in first request carries the first identifier information, and described first The argument section of request carries the second identifier information;Wherein, the address part is used to indicate reception described first and asks The destination node asked;The argument section is used to indicate the relevant parameter for responding first request.Due to the ground of the first request The first identifier information that location part carries, then the first request nature can be routed to the proxy server, but first Argument section in request also carries second identifier information, therefore in the step s 120, the proxy server can be from parameter Extracting section goes out the second identifier information.Then the second identifier information will be extracted from argument section in step s 130 Replace the first identifier information positioned at the address part.In this case, proxy server just do not have to local search or Second identifier information described in remote inquiry, the proxy server and database are without being pre-configured with service identification and second The corresponding relationship of channel is identified, the second identifier information is directly carried by the first request that client is sent, is more simplified The acquisition of the second identifier information.
Various stream parameters relevant to video flowing transmission can be carried in the argument section, for example, the stream parameter can Include: the time parameter for indicating the effective time of the video flowing, carry out exempting from the authentication parameter of stream authentication and carry out stream parameter school The inspection parameter etc. tested.In the present embodiment, the second identifier information is with being carried in the destination Uniform Resource of argument section In location (dx) field, it is split between the different parameters in argument section using decollator, the proxy server can root According to the field identification of parameters corresponding field, to extract the second identifier information in dx field.In some embodiments, The proxy server can obtain the second identifier information by the matching of regular expression.Therefore as indicated at 3, the step S120 can include: the argument section of parsing first request extracts the second identifier information from the argument section; In the step S130 can include: utilize the first identifier information in the first request of second identifier information replacement.
Optionally, the step S130 can include: parsing is requested according to described first that RTMP is sent, determines described the Target stream unified resource in one request positions (tcURL) field;
The tcURL field in first request is replaced using the second identifier information.
First request in the present embodiment may be based on the request of RTMP, and tcURL field is carrying institute in the request The field of first identifier information is stated, in some embodiments, the modes such as regular expression is can use and orients described first and ask Then tcURL field in asking replaces the second identifier information determined in step S120 in the tcURL field Hold.
The tcURL field is the composition of aforementioned addresses part in the present embodiment.In some embodiments, described One request and the second request further include protocol section, and what protocol section usually carried is the communication protocol that the request follows.For example, If the first request can for the first request are as follows:
Tmp//bizid.flowproxy.myqcloud.com, then " rtmp " is the communication protocol abided by.
Optionally, the method also includes:
TCP connection is established with the user terminal;
RTMP is carried out using the TCP connection to shake hands;
The step S110 can include: after the RTMP shakes hands, received the carrying of the user terminal transmission The RTMP for stating first identifier information discloses request or RTMP playing request.
And the first identifier information carries the address part in the RTMP connection request.Proxy server can pass through Three-way handshake is completed and contacting before the proxy server.
Further, the method also includes:
TCP connection is established with the multimedia server;
RTMP is carried out using the TCP connection to shake hands;
To carry, the RTMP of the second identifier information discloses (Publish) request or RMTP is played for second request (Play) it requests.
The proxy server and the user terminal and the multimedia server are all to establish in the present embodiment TCP connection, TCP connection have the characteristics that stability is high.It is transmitted between user terminal and multimedia server in the present embodiment Data can be live data.The live data can upload in real time more matchmakers for the multimedia messages of acquisition device context acquisition The multimedia messages of live streaming are handed down to corresponding live streaming terminal in real time by body server, multimedia server.
It is that user terminal requests are based on RTMP to multimedia server upload the first multimedia letter that the RTMP, which discloses request, The request of breath;The RTMP playing request requests the second multimedia messages to multimedia server based on RTMP for user terminal Request.
In some embodiments, due to that may have very by proxy server access to the user terminal of media server It is multiple, in the present embodiment in order to which the repetition of TCP connection is established, in the embodiment of the present invention, the method also includes:
When receiving the described first request of the first user terminal transmission, it is determined whether based on second user terminal First request, which establishes TCP connection with the multimedia server and completes RTMP, shakes hands;
The S150 can include: if the first request based on the second user is established with the multimedia server It establishes the TCP connection and completes RTMP and shake hands, the transmission of Xiang Suoshu multimedia server carries the second identifier information RTMP discloses request or RTMP playing request.In this case, it is clear that identical TCP connection and RTMP can be established to avoid duplicate That shakes hands repeats.
In some embodiments, the method also includes:
Determine whether the proxy server has been cached with the accessed multimedia messages of first request;
If the proxy server has cached the accessed multimedia messages of first request, by more matchmakers of caching Body information is sent to the user terminal.
For example, user terminal A and user terminal B access the same multimedia messages of multimedia server 1, then this When, if proxy server is first and multimedia server establishes TCP connection, and pull from multimedia server 1 more Media information stores in the buffer, in order to reduce the information exchange between proxy server and multimedia server, reduces and returns To the time delay of user terminal, judge whether to cause to have cached the accessed multimedia messages of the first request in the present embodiment, if It is buffered, then the multimedia messages of caching are directly sent to user terminal, on the one hand reduce proxy server with Information exchange between multimedia server, on the other hand, the time delay of reduction Transmitting of Multi-media Information to user terminal.
Further, the method also includes: record send it is described first request user terminal access information.At this In embodiment, the proxy server will record the first access request and form access information, in this case, subsequently received first When request, the matching of the first request and access information can be passed through, so that it may determine currently locally whether have caching corresponding Multimedia messages are directly handed down to user terminal if having.
The first identifier information can be the domain name or IP address of the proxy server;Similarly, the second identifier Information may be the domain name or IP address of multimedia server.If tmp//bizid.flowproxy.myqcloud.com, First identifier information is the domain name of proxy server.
Therefore optionally, the step S130 may include at least one of:
Using the domain name of the multimedia server, the domain name of proxy server described in first request is replaced;
Using the domain name of the multimedia server, the network protocol of proxy server described in first request is replaced IP address;
Using the IP address of the multimedia server, the domain name of proxy server described in first request is replaced;
Using the IP address of the multimedia server, with replacing the IP of proxy server described in first request Location;
Using the destination Uniform Resource address for being directed toward the multimedia server, replaces and acted on behalf of described in first request The domain name of server;
Using the destination Uniform Resource address, the IP address of proxy server described in first request is replaced.
The destination Uniform Resource address can in the present embodiment are as follows: the multimedia messages or write that user terminal wants access to Enter the uniform resource address of the store path of multimedia server.Therefore the destination Uniform Resource address can be directed toward user's end End needs the multimedia server accessed, and can be directed toward some file or information of multimedia server.
Therefore in embodiments of the present invention, it can use the IP that the proxy server is replaced in the destination Uniform Resource address Address or domain name.
For example, the domain name of proxy server to be substituted for the domain name or IP address of multimedia server, alternatively, agency is taken The IP address of business device replaces with the domain name or IP address of multimedia server.In short, in the present embodiment, the second identifier letter Breath replaces after the IP address or domain name of the proxy server, so that it may which formation can be routed automatically to the multimedia service The domain name of device.
In the step S150 further include:
First multimedia messages of first storage format are converted to the first multimedia of the second storage format of conversion Information;
Based on second request, by the first multimedia messages of first storage format and second storage format It is sent to the multimedia server.
The first multimedia messages that user terminal provides in the present embodiment may be the multimedia letter of single storage format Breath may use the second storage format when such other users terminal obtains multimedia messages from multimedia server.At this It in embodiment, has on the one hand kept away and has exempted from the multimedia messages that other users terminal pulls the second storage format in time, not due to format The problem of cannot being exported caused by matching;On the other hand avoid that interim to carry out output time delay caused by storage format conversion big Problem.
The storage format can be immediately file format in the present embodiment, alternatively, being followed when Transmitting of Multi-media Information Communication protocol.For example, the first storage format can are as follows: compiled based on dynamic code rate adaptive (HTTP LiveStreaming, HLS) The data format of code storage;Second storage format can are as follows: is based on hypertext transfer protocol (Http) dynamic self-adapting Streaming Media The data format of (Dynamic Adaptive Streaming Over Http, DASH) code storage.For example, the storage lattice Formula may also include that stream media format (lashVideo, FLV).Second storage format can be to be multiple, if the second storage format Have N number of, then the first multimedia messages of the first storage format be converted to the first multimedia messages of N number of second storage format, In this case, the same multimedia messages will be with N+1 different storage format storages into multimedia server, if other users Terminal accesses first multimedia messages, then the multimedia server can be directly based upon the storage that user terminal is supported Format selects one and is handed down to corresponding user terminal.
As shown in figure 4, being applied in user terminal the present embodiment provides a kind of Transmitting of Multi-media Information method, comprising:
Step S210: the predetermined information for the multimedia server that operational order is directed toward is obtained;
Step S220: it generates address part and carries the first identifier information of proxy server and carry simultaneously described pre- Determine the first request of information;Wherein, the predetermined information, for determining the user terminal access for the proxy server Multimedia server second identifier information;
Step S230: first request is sent;
Step S240: it requests to send the first multimedia messages to the proxy server based on described first;Or, receiving institute State the second multimedia messages that proxy server is sent to the user terminal based on first request;Wherein, described first Multimedia messages are the information that the user terminal is written to the multimedia server, and second multimedia messages are described The multimedia messages that multimedia server provides.
It is applied to the method in user terminal the present embodiment provides the Transmitting of Multi-media Information method given.In the present embodiment In, the various terminals that the user terminal can upload or play multimedia messages for mobile terminal or fixed terminal etc. are set It is standby.
The predetermined information for being directed toward multimedia server can directly be looked exactly like in step S210, predetermined information here can be use The IP address of multimedia server that family terminal needs to access, domain name have pair with the domain name of multimedia server or IP address The service identification etc. that should be related to.
It will form the first request in the present embodiment, what the address part of the request carried is the first mark of proxy server Know information, and the predetermined information can be used as a field of argument section or carry a field after agreement In.
User terminal sends first request, the proxy server directly carried due to address part in step S230 First identifier information, then first request can be routed to proxy server automatically;And proxy server receive the first request it Afterwards, the second identifier information can be obtained out based on the predetermined information, and replaces first mark using second identifier information Information is known, so that proxy server can carry out information exchange with multimedia server, thus by user terminal uploads Multimedia information storage is to multimedia server, alternatively, obtaining multimedia messages from multimedia server is handed down to the user Terminal.
Optionally, the step S210 can include: obtain service identification corresponding with the second identifier information.The business Mark can be used for proxy server Local or Remote and inquire the second identifier information, to obtain the second identifier letter Breath.What the service identification can be extracted directly from the chained address that operational order acts on.In further embodiments, the use The service identification for the multimedia messages that itself can be provided is stored in the application (APP) of family terminal installation, in this case, according to behaviour Make the chained address of the multimedia messages of instruction effect, so that it may which local search goes out the service identification.
In some embodiments, the operational order can refer to for the operation inputted from the received user of man-machine interactive interface It enables.
In further embodiments, the operational order can be the automatic built-in instruction for playing APP under scene.For example, working as Before be playing some TV play, under normal circumstances, after APP plays a collection, can automatically switch to and play next collection, this Play automatically next collection movement be automatic play instruction one kind.
Optionally, the step S210 can include: obtain the second identifier information of the multimedia server.It is corresponding Ground, the step S230 can include: send address part carry the first identifier information and argument section carry it is described First request of second identifier information.
Directly read the second identifier information.For example, user terminal shows a webpage, shown on the webpage more The chained address of some multimedia messages in media server directly just carries multimedia server in the chained address IP address or domain name, in this case, the acquisition second identifier information can read out the second identifier information to be local.At this Predetermined information described in embodiment can directly be the second identifier information, and in this case, second identifier information is carried The argument section of first request is sent to proxy server, and proxy server, which directly passes through the first request of parsing, to be obtained The second identifier information is got, is realized easy.
In some embodiments, the method also includes: judge the user terminal user information whether meet it is default Condition;
The step S210 can include: when meeting the preset condition, obtain and be directed toward the pre- of the multimedia server Determine information.
For example, the user information can be user identifier, the user identifier can be user's name, user account;According to The user account determines the transmission for currently whether needing to carry out multimedia messages by proxy server, for example, the use Name in an account book or user account indicate that the user is referred to as to exempt to flow user, then it is believed that meeting the preset condition, to need to obtain The predetermined information.
In another example the user information can be user right, if user right indicates that the user is to exempt to flow user, need Execute the step S210.
The method also includes:
When the user information is unsatisfactory for the preset condition, then IP address or the domain of multimedia server are directly based upon Name sends third request, and what the address part of the third request directly carried is the IP address or domain name of multimedia server, The third request can be routed directly to multimedia server, usually in this case, the data flow be flow unavoidably be User account is needed to carry out additional payment.
In some embodiments, the predetermined condition can also be included whether in addition to determining whether that the condition for exempting from stream judges The band preference condition judgement of big bandwidth.If carrying out data biography by proxy server between user terminal and multimedia server Defeated bandwidth is the first bandwidth, and the bandwidth between user terminal and multimedia server is the second bandwidth, and the first bandwidth can be remote Much larger than the second bandwidth.
Certainly, the above is only the citing for meeting predetermined condition, when specific implementation, it is not limited to any one of the above.
In some embodiments, what the user terminal that the argument section of first request can also carry request was supported deposits Format is stored up, the storage format that the proxy server or multimedia server partially carry based on the parameter is stored corresponding Second multimedia messages of format are handed down to user terminal, can not support to broadcast caused by corresponding storage format to avoid user terminal The problems such as misplacing accidentally.
As shown in figure 5, being applied in multimedia system the present embodiment provides a kind Transmitting of Multi-media Information method, packet It includes:
Step S310: user terminal sends the first request, wherein the address part of first request carries the generation The first identifier information of server is managed, and first request also carries predetermined information;
Step S320: the proxy server receives first request;
Step S330: the proxy server obtains second identifier information according to the predetermined information;
Step S340: the proxy server replaces described the in first request using the second identifier information One identification information simultaneously forms the second request, sends second request;
Step S340: multimedia server receives the first multimedia messages based on the second request write-in, alternatively, base Second multimedia messages are sent to the user terminal by the proxy server in second request.
Proxy server is introduced between user terminal and multimedia server in the present embodiment, the proxy server Can by the replacement of second identifier information and first identifier information, in the case where establishing connection with user terminal at one end, with The multimedia server that user terminal wants access to establishes connection, and transmitted between transfer user terminal and multimedia server Various information, for example, the upload of the first multimedia messages and/or the second multimedia messages issue.
Optionally, the method also includes:
Stream process server receives the first multimedia messages that the proxy server uploads;
The stream process server by first multimedia messages of the first storage format be converted to conversion several the First multimedia messages of two storage formats;
The stream process server is based on second request for first storage format and second storage format The first multimedia messages be sent to the multimedia server.
The first multimedia messages of user terminal uploads may be a kind of more than first matchmaker of storage format in the present embodiment Body information, and other users terminal request may be other storage formats multimedia messages, in order to solve this problem, this One first can be deposited using stream process server by the first multimedia information storage between multimedia server in embodiment First multimedia messages of storage format are converted into the first multimedia messages of the second storage format, and by the first storage format and the First multimedia messages of two storage formats are all stored to the first multimedia server.
Special stream process server is introduced in the present embodiment carries out conversion between different storage formats, it is such Words do not have to agency service just to be responsible for the conversion of different storage formats, realize the independent of different server function, reduce The load of proxy server.
Several specific examples are provided below in conjunction with any one above-mentioned embodiment:
Example 1:
As shown in fig. 6, this example provides a kind of multimedia information system, comprising:
First kind client (APP), for providing live video;Client in this example can be broadcast live it is straight Broadcast client.
Plug-flow proxy server (one kind of foregoing agents server) has connection with first kind client foundation, connects Receive the request that first kind client is sent;And convert the request into the request of multimedia messages cloud;It will based on the request after conversion The rtmp plug-flow of first kind client is sent to multimedia messages cloud.Here rtmp plug-flow be transmitted based on rtmp agreement and It is pushed to the video flowing of multimedia messages cloud.
Second class client, plays out for pulling live data from multimedia messages cloud.Here multimedia messages Yun Kewei is stored with the video cloud of video, or, being stored with the audio cloud of audio-frequency information.
It draws streaming server (one kind of foregoing agents server), has a connection with first kind client foundation, receive the The domain name of itself in the request is replaced with the domain name of multimedia messages cloud by the request of two class clients, based on replacement domain name Ox of riding later pulls live video to multimedia messages cloud, and live video is handed down to the second class client.
In the present embodiment, either first kind client or the second class client is accessed by proxy server Multimedia messages cloud, multimedia messages cloud here correspond to multimedia server above-mentioned.Proxy server is receiving directly After broadcasting the request of client, need to replace with the domain name of itself or IP address the IP address or domain name of multimedia messages cloud, So as to which multimedia messages cloud is accessed, the live video storage so as to report first kind client is believed to multimedia Cloud is ceased, and the video of multimedia messages cloud storage is issued to the second class client, is watched for the second class client.In this example In, the proxy server does not need to carry out port binding with multimedia messages cloud, but replaced by the domain name in request, The replacement such as IP address replacement or uniform resource address (URL), generates the request that can be directly routed to multimedia messages cloud, It is inadequate obviously there would not be proxy server port in this way, and different video servers are needed using different ports, video Provider needs to modify the code of itself to realize the problems such as port is distinguished, and has and solves port collision or port is impermeable asks While topic, also have the characteristics that realize easy.
Due to the service of the proxy server of upload multimedia information and transmitting multimedia information in this multimedia system Device is provided separately, and in further embodiments, can be had the function of plug-flow simultaneously by one and be drawn the server of stream function To substitute.
The data flow for uploading or distributing in Fig. 5 is that the data flow based on RTMP can also be in the particular embodiment Based on the data flow of other agreements transmission, which can be video flowing or audio stream.
Example 2:
As shown in fig. 7, this example, which is based on example 1, provides a plug-flow method, comprising:
The live streaming APP of operation in the user terminal replaces plug-flow domain name, replaces the domain of the entitled proxy server in pusher basin Name " flowproxy ", and the domain name of video cloud is carried in stream parameter, the component part as argument section sends RTMP and asks It asks.
Live streaming app and RTMP dynamic Reverse Proxy (one kind of foregoing agents server) establish TCP connection;
APP is broadcast live and sends RTMP handshake information C0, C1 to RTMP dynamic Reverse Proxy;
RTMP dynamic Reverse Proxy sends RTMP to live streaming APP and shakes hands response S0, S1;
Live streaming APP sends RTMP to RTMP dynamic Reverse Proxy and shakes hands response C2;
RTMP dynamic Reverse Proxy sends RTMP to live streaming APP and shakes hands response S2;
APP is broadcast live and sends RTMP connect order to RTMP dynamic Reverse Proxy;
APP is broadcast live and sends open (publish) request to RTMP dynamic Reverse Proxy;
RTMP dynamic Reverse Proxy parses the target component of access from traffic identifier (Identity) parameter Dx field (domain name or IP address of video cloud);
The reversed server of RTMP dynamic and video cloud establish TCP connection;
RTMP dynamic Reverse Proxy sends RTMP handshake information C0, C1 to video cloud;
Video cloud sends RTMP to RTMP dynamic Reverse Proxy and shakes hands response S0, S1;
Video cloud sends RTMP to video cloud to RTMP dynamic Reverse Proxy and shakes hands response C2;
Video cloud sends RTMP and shakes hands response S2;
RTMP dynamic Reverse Proxy sends RTMP connection (connect) order to video cloud;
RTMP dynamic Reverse Proxy sends RTM to video cloud and discloses (publish) order;The RTMP discloses request It is to have used the replaced domain name of domain name, as replaces with the bind command after the domain name of video cloud.
After completing connection and establishing, RTMP dynamic Reverse Proxy continues to twist data forwarding.Data transfer path Are as follows: live streaming APP-> video cloud and video cloud-> live streaming APP realize the biography of video cloud and the RTMP data packet being broadcast live between APP It is defeated.Live streaming APP-> video cloud includes mainly the multimedia messages uploaded, and video cloud-> live streaming APP mainly may include more matchmakers The relevant parameter of body information transmission, for example, the storage address for the multimedia messages that video cloud storage live streaming APP is uploaded, storage road Diameter or URL etc..
Example 3:
As shown in figure 8, this example, which is based on example 1, provides a drawing stream method, comprising:
The live streaming APP domain name mapping broadcast address of operation in the user terminal: bizid.myqcloud.liveplay.com;Do you send http://flowproxy.liveplay.com/? dx=myqcloud's RTMP request, the domain name of such RTMP dynamic Reverse Proxy directly carried due to address part, then the RTMP is asked Seek the RTMP dynamic Reverse Proxy that can be routed.
After RTMP dynamic Reverse Proxy receives RTMP playing request, dx field can be parsed and carry out domain name The domain name of address part, is replaced with the domain name " myqcloud " carried in dx field by replacement, and material is thus formed can automatic road By the RTMP playing request to corresponding multimedia messages cloud.
Content distributing network (Content of the RTMP dynamic Reverse Proxy into multimedia messages cloud Distribution Network, CDN) service area device transmission RTMP playing request;
If the not stored video flowing for having live streaming APP request of CDN server, to CDN server from data center (Data Centre, DC) source request is sent back, to request the video flowing of live streaming APP request;If DC is equally not stored live streaming APP request Video flowing, then DC is requested to the stream process source of sending back to stream process module request video flowing.DC from stream process module pull to It stores after video flowing and is handed down to CDN server;
CDN server issues RTMP dynamic Reverse Proxy after pulling RTMP video flowing, and RTMP dynamic is anti- RTMP video flowing is handed down to live streaming APP to proxy server.
Example 4:
As shown in figure 9, this example provides another video stream transmission method based on the system of example 1, comprising:
APP is broadcast live and parses domain name, sends domain name and carrying that address part carries RTMP dynamic Reverse Proxy There is the RTPM of service identification to request;
RTMP connection is carried out between live streaming APP and RTMP dynamic Reverse Proxy to shake hands;
RTMP is carried out between live streaming APP and RTMP dynamic Reverse Proxy to shake hands response;
RTMP dynamic Reverse Proxy receives the RTMP bind command of live streaming APP.
RTMP dynamic Reverse Proxy receives the RTMP request of live streaming APP, RTMP request can include: carry out video Disclosure (Publish) order of stream push or broadcasting (Play) order for carrying out video render;
RTMP dynamic Reverse Proxy parses the RTMP request, and the tcURL field of address part is replaced with industry Business identifies the domain name of corresponding video cloud;
TCP connection is established between RTMP dynamic Reverse Proxy and video cloud;
RTMP dynamic Reverse Proxy connect with video cloud progress RTMP and shakes hands;
RTMP is carried out between RTMP dynamic Reverse Proxy and video cloud to shake hands response;
The parsing of RTMP dynamic Reverse Proxy carries out the replaced RTMP of domain name and discloses request/RTMP playing request;
The RTMP video stream that RTMP dynamic Reverse Proxy uploads live streaming APP is to video cloud, or will regard The RTMP video stream that frequency cloud issues gives live streaming APP.
Example 5:
This example provides a kind of Transmitting of Multi-media Information method, it may include following steps:
Step 1: the plug-flow domain name of live streaming app is changed to by original bizid.livepush.myqcloud.com Bizid.flowproxy.myqcloud.com (plug-flow proxy server domain name);
Step 2: RTMP dynamic reverse proxy service receives the request of RTMP plug-flow or draws stream request;
Step 3: proxy server and live streaming APP complete TCP and shake hands;
Step 4: RTMP shakes hands, for example, the transmission of s1, s2 carry out RTMP and shakes hands by s0.
Step 5: live streaming app initiates RTMP connection request;
Step 6: agency service receives RTMP connection request;
Step 7: live streaming APP, which initiates RTMP, discloses request or playing request;
Step 8: proxy server parses the destination Uniform Resource address really accessed, parameter format from stream parameter It can be as follows:
" flowrp? dx=UrlEncode (rpUrl) &rpSecret= 9661a47f85a4e7a56bcc0924bd0c6e24&rpTime=56698ba6&rpToken=9661a47f85a4& RpSecret=9661a47f85a4e7a56bcc0924bd0c6e24 ",
Step 9: the RTMP connection of proxy server really accesses the destination Uniform Resource address of multimedia server, it will Destination Uniform Resource address is substituted into the domain name or IP of the proxy server in the request that proxy server and user terminal are sent Address just generates the access request for accessing corresponding multimedia server.
Step 10: proxy server and video cloud are successfully established RTM, after P connection, if it is plug-flow service, exempt from stream service The data of device forwarding live streaming APP push, if it is stream service is drawn, exempt from the data that streaming server forwarding video cloud issues to video cloud To APP.
As shown in Figure 10, the present embodiment provides a kind of proxy servers, comprising:
First receiving unit 110, for receiving the first request of user terminal transmission, wherein first request carries There is the first identifier information of proxy server;
First acquisition unit 120, for obtaining second identifier information according to the predetermined information, wherein second mark Know information and is directed toward multimedia server;
Replacement unit 130, for replacing the first identifier in first request using the second identifier information Information simultaneously forms the second request;
First transmission unit 140, the first multimedia for being provided the user terminal based on second request are believed The multimedia server is written in breath, alternatively, reading the second multimedia from the multimedia server based on second request Second multimedia messages are simultaneously sent to the user terminal by information.
First receiving unit 110 and the first transmission unit 140 may both correspond to communication interface, can be used for and user's end End and multimedia server carry out information exchange.
The first acquisition unit 120 and replacement unit 130 can correspond to processor, and the processor can make requests In parsing and the replacement of identification information etc., to realize the transmission for carrying out multimedia messages using replaced request.
Optionally, the first acquisition unit 120, for proposing service identification from first request;According to the industry Business mark inquires the second identifier information of the multimedia server.
Service identification is carried in the first request, which can inform that proxy server, user terminal are current Think the multimedia server of access, after receiving the first request, first acquisition unit 120 is inquired based on service identification Second identifier information, and the first identifier information of the address part in the first request is replaced using second identifier information, thus Generate second request that can be routed automatically to multimedia server.
Optionally, the address part in first request carries the first identifier information, and first request Argument section carry the second identifier information;The first acquisition unit 120 is specifically used for from first request The argument section of carrying extracts the second identifier information.
In the present embodiment, first request is without carrying service identification, but directly carries in argument section Second identifier information, the proxy server do not have to inquiry second identifier information, but directly from the argument section of the first request Extract the first identifier information in first request of second identifier information replacement, so that it may form access multimedia server Second request.
Optionally, the replacement unit 130, specifically for parsing send according to real-time stream media protocol RTMP described the Target stream unified resource positioning (tcURL) field in first request is determined in one request;Believed using the second identifier The tcURL field in breath replacement first request.
Optionally, the proxy server further include:
TCP connection unit is connect for establishing transmission control protocol TCP with the user terminal;It can correspond to communication to connect Mouthful, it can be used for establishing TCP with user terminal and practice grade;
RTMP processing unit can be used for carrying out RTMP using the TCP connection shaking hands;For example, carrying out three based on RTMP It is secondary to shake hands, so that it is guaranteed that RTMP's is stably connected with.
First receiving unit 110, specifically for after the RTMP shakes hands, receiving the user terminal transmission The RTMP for carrying the first identifier information discloses request or RTMP playing request.
Optionally, the TCP connection unit is also used to establish based on second request with the multimedia server TCP connection;The RTMP processing unit is also used to carry out RTMP using the TCP connection to shake hands;Second request is carrying There is the RTMP of the second identifier information to disclose request or RMTP playing request.
Further, the replacement unit 130 is specifically used for executing at least one of:
Using the domain name of the multimedia server, the domain name of proxy server described in first request is replaced;
Using the domain name of the multimedia server, the network protocol of proxy server described in first request is replaced IP address;
Using the IP address of the multimedia server, the domain name of proxy server described in first request is replaced;
Using the IP address of the multimedia server, with replacing the IP of proxy server described in first request Location;
Using the destination Uniform Resource address for being directed toward the multimedia server, replaces and acted on behalf of described in first request The domain name of server;
Using the destination Uniform Resource address, the IP address of proxy server described in first request is replaced.
Optionally, the proxy server further include:
Stream processing unit, for by first multimedia messages of the first storage format be converted to conversion several second First multimedia messages of storage format;Based on second request, by first storage format and the second storage lattice First multimedia messages of formula are sent to the multimedia server.
As shown in figure 11, the present embodiment also provides a kind of transmission device, and the transmission device is user terminal, comprising:
Second acquisition unit 210, the predetermined information of the multimedia server for obtaining operational order direction;
Generation unit 220 carries the first identifier information of proxy server and carries simultaneously for generating address part There is the first request of the predetermined information;Wherein, the predetermined information, for determining the user for the proxy server The second identifier information of the multimedia server of terminal access;
Second transmission unit 230, for sending first request;It requests based on described first to the proxy server Send the first multimedia messages;The user terminal is sent to based on first request or, receiving the proxy server Second multimedia messages;Wherein, first multimedia messages are that the user terminal is written to the multimedia server Information, second multimedia messages are the multimedia messages that the multimedia server provides.
The second acquisition unit 210, can correspond to processor, the solution for the chained address that can be acted on by operational order Analysis obtains the predetermined information, can also obtain the predetermined information based on local search.
The generation unit 220 equally can correspond to processor, can be generated while address part carries first identifier Information while predetermined position carry the first request of the predetermined information.
Second transmission unit 230, can correspond to communication interface, can be used for transmitting the first request, and transmit and be based on The first multimedia messages and the second multimedia messages of first request transmission.
Optionally, the second acquisition unit 210 is particularly used in and obtains business corresponding with the second identifier information Mark.
Optionally, the second acquisition unit 210, it may also be used for obtain the second identifier of the multimedia server Information;Second transmission unit 230 carries the first identifier information and argument section specifically for sending address part Carry the first request of the second identifier information.
As shown in figure 12, the present embodiment provides a kind of proxy servers, comprising: transceiver 310, memory 320, processor 330 and the computer program that is stored on the memory 320 and is executed by the processor 330;
The processor 330 is connect with the transceiver 310 and the memory 320 respectively, for by described in execution Computer program realizes Transmitting of Multi-media Information method of the aforementioned one or more application in proxy server, alternatively, executing One or more application Transmitting of Multi-media Information method in user terminal, alternatively, executing one or more application in multimedia Transmitting of Multi-media Information method in system.
When the transmission device is the proxy server, can at least execute in Fig. 1, Fig. 2 and method shown in Fig. 3 One or more.
When the transmission device is the user terminal, one or more of method shown in fig. 5 can be at least executed.
When the transmission device is Transmission system, can execute and one or more into method shown in Fig. 9 of Fig. 7 It is a.
The transceiver 310 can correspond to wireline interface or wireless interface, the wireline interface can include: cable interface or Fiber optic cable interface;The wireless interface can be dual-mode antenna etc..
The memory 320 can be various types of memories 320, it may include: random access memory 320, read-only memory 320 or hard disk etc..
The processor 330 can be various types of processors 330, it may include: central processing unit 330, microprocessor 330, digital signal processor 330, application processor 330 or programmable array etc..
The processor 330 can be by bus, for example, IC bus (IIC) and the memory 320 and transmitting-receiving Device 310 connects, and can realize aforementioned one or more by reading and executing the computer program on the memory 320 The Transmitting of Multi-media Information method that a technical solution provides.
The number of the transceiver 310, memory 320 and processor 330 can be one or more.
The present embodiment provides a kind of computer storage medium, the computer storage medium is stored with computer program;Institute It states after computer program is performed, can be realized Transmitting of Multi-media Information of the aforementioned one or more application in proxy server Method, alternatively, one or more application Transmitting of Multi-media Information method in user terminal is executed, alternatively, executing one or more A Transmitting of Multi-media Information method applied in multimedia system
The storage medium in the present embodiment can are as follows: movable storage device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.Optionally, the storage medium can be non-moment storage medium.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (15)

1. a kind of Transmitting of Multi-media Information method, which is characterized in that be applied in proxy server, comprising:
Receive the first request that user terminal is sent, wherein the address part of first request carries the agency service The first identifier information of device, and first request also carries predetermined information;
Second identifier information is obtained according to the predetermined information, wherein the second identifier information is directed toward multimedia server;
The first identifier information in first request is replaced using the second identifier information and forms the second request;
The multimedia server is written in the first multimedia messages for being provided the user terminal based on second request, or Person from the multimedia server reads the second multimedia messages based on second request and by second multimedia messages It is sent to the user terminal.
2. the method according to claim 1, wherein
It is described that second identifier information is obtained according to the predetermined information, comprising:
Service identification is proposed from first request;
The second identifier information of the multimedia server is inquired according to the service identification.
3. the method according to claim 1, wherein
The predetermined information is that the argument section of first request carries the second identifier information;Wherein, the address Part is used to indicate the destination node for receiving first request;The argument section is used to indicate response first request Relevant parameter;
It is described that second identifier information is obtained according to the predetermined information, comprising:
The argument section carried from first request extracts the second identifier information.
4. method according to any one of claims 1 to 3, which is characterized in that
The first identifier information replaced using the second identifier information in first request, comprising:
First request that parsing is sent according to real-time stream media protocol determines that the target stream in first request is unified Resource orientation field;
The target stream unified resource location field in first request is replaced using the second identifier information.
5. according to the method described in claim 4, it is characterized in that,
The method also includes:
Transmission control protocol is established with the user terminal to connect;
Progress real-time stream media protocol is connected using the transmission control protocol to shake hands;
First request for receiving user terminal and sending, comprising:
After the real-time stream media protocol is shaken hands, receive the user terminal transmission carries the first identifier information Real-time stream media protocol request or RTMP playing request are disclosed.
6. according to the method described in claim 4, it is characterized in that,
The method also includes:
Transmission control protocol is established with the multimedia server based on second request to connect;
Progress real-time stream media protocol is connected using the transmission control protocol to shake hands;
Second request discloses request or real time flow medium to carry the real-time stream media protocol of the second identifier information Agreement playing request.
7. method according to any one of claims 1 to 3, which is characterized in that
It is described replace the first identifier information in first request using the second identifier information and formed second ask It asks, including at least one of:
Using the domain name of the multimedia server, the domain name of proxy server described in first request is replaced;
Using the domain name of the multimedia server, with replacing the network protocol of proxy server described in first request Location;
Using the internet protocol address of the multimedia server, the domain of proxy server described in first request is replaced Name;
Using the internet protocol address of the multimedia server, with replacing the IP of proxy server described in first request Location;
Using the destination Uniform Resource address for being directed toward the multimedia server, agency service described in first request is replaced The domain name of device;
Using the destination Uniform Resource address, the internet protocol address of proxy server described in first request is replaced.
8. a kind of Transmitting of Multi-media Information method, which is characterized in that be applied in user terminal, comprising:
Obtain the predetermined information for the multimedia server that operational order is directed toward;
Address part is generated to carry the first identifier information of proxy server and carry the first of the predetermined information simultaneously Request;Wherein, the predetermined information, for determining the multimedia service of the user terminal access for the proxy server The second identifier information of device;
Send first request;
It requests to send the first multimedia messages to the proxy server based on described first;Or, receiving the proxy server The second multimedia messages of the user terminal are sent to based on first request;Wherein, first multimedia messages are The user terminal is written to the information of the multimedia server, and second multimedia messages are the multimedia server The multimedia messages of offer.
9. according to the method described in claim 8, it is characterized in that,
The predetermined information for obtaining the multimedia server that operational order is directed toward, comprising:
Obtain service identification corresponding with the second identifier information;
Alternatively,
The predetermined information for obtaining the multimedia server that operational order is directed toward, comprising: obtain the multimedia server The second identifier information;Accordingly, described to send first request, comprising: to send address part and carry described first Identification information and argument section carry the first request of the second identifier information.
10. a kind of Transmitting of Multi-media Information method, which is characterized in that be applied in multimedia system, comprising:
User terminal sends the first request, wherein the address part of first request carries the first mark of proxy server Know information, and first request also carries predetermined information;
The proxy server receives first request;
The proxy server obtains second identifier information according to the predetermined information;
The proxy server replaces the first identifier information in first request simultaneously using the second identifier information The second request is formed, second request is sent;
Multimedia server receives the first multimedia messages based on the second request write-in, alternatively, asking based on described second It asks and second multimedia messages is sent to the user terminal by the proxy server.
11. according to the method described in claim 10, it is characterized in that, the method also includes:
Stream process server receives the first multimedia messages that the proxy server uploads;
First multimedia messages of first storage format are converted to the second storage format of conversion by the stream process server The first multimedia messages;
The stream process server is based on second request by the of first storage format and second storage format One multimedia messages are sent to the multimedia server.
12. a kind of transmission device, the transmission device is proxy server, comprising:
First receiving unit, for receiving the first request of user terminal transmission, wherein the address part of first request is taken First identifier information with the proxy server, and first request also carries predetermined information;
First acquisition unit, for obtaining second identifier information according to the predetermined information, wherein the second identifier information refers to To multimedia server;
Replacement unit, for replacing the first identifier information and shape in first request using the second identifier information At the second request;
Institute is written in first transmission unit, the first multimedia messages for being provided the user terminal based on second request Multimedia server is stated, alternatively, reading the second multimedia messages from the multimedia server based on second request and inciting somebody to action Second multimedia messages are sent to the user terminal.
13. a kind of transmission device, the transmission device is user terminal, comprising:
Second acquisition unit, the predetermined information of the multimedia server for obtaining operational order direction;
Generation unit, for generate address part carry proxy server first identifier information and simultaneously carry it is described pre- Determine the first request of information;Wherein, the predetermined information, for determining the user terminal access for the proxy server Multimedia server second identifier information;
Second transmission unit, for sending first request;It requests to send the to the proxy server based on described first One multimedia messages;More than the second of the user terminal is sent to based on first request or, receiving the proxy server Media information;Wherein, first multimedia messages are the information that the user terminal is written to the multimedia server, institute Stating the second multimedia messages is the multimedia messages that the multimedia server provides.
14. a kind of transmission device characterized by comprising transceiver, memory, processor and be stored on the memory And the computer program executed by the processor;
The processor is connect with the transceiver and the memory respectively, for being realized by executing the computer program The Transmitting of Multi-media Information method that any one of preceding claims 1 to 11 provide.
15. a kind of computer storage medium, the computer storage medium is stored with computer program;The computer program quilt After execution, the Transmitting of Multi-media Information method that any one of claim 1 to 11 provides can be realized.
CN201711342139.4A 2017-12-14 2017-12-14 Multimedia information transmission method, transmission device and storage medium Active CN109963171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711342139.4A CN109963171B (en) 2017-12-14 2017-12-14 Multimedia information transmission method, transmission device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711342139.4A CN109963171B (en) 2017-12-14 2017-12-14 Multimedia information transmission method, transmission device and storage medium

Publications (2)

Publication Number Publication Date
CN109963171A true CN109963171A (en) 2019-07-02
CN109963171B CN109963171B (en) 2021-01-05

Family

ID=67018363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711342139.4A Active CN109963171B (en) 2017-12-14 2017-12-14 Multimedia information transmission method, transmission device and storage medium

Country Status (1)

Country Link
CN (1) CN109963171B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110492984A (en) * 2019-07-29 2019-11-22 南方电网数字电网研究院有限公司 Data transmission method, device, Data Analysis Services system and computer equipment
CN110809189A (en) * 2019-12-03 2020-02-18 北京字节跳动网络技术有限公司 Video playing method and device, electronic equipment and computer readable medium
CN113037855A (en) * 2021-03-22 2021-06-25 北京爱奇艺科技有限公司 Multimedia access system, method, device, terminal and medium
CN113434712A (en) * 2021-06-29 2021-09-24 青岛海尔科技有限公司 Multimedia processing method, device, computer readable storage medium and electronic device
CN113794909A (en) * 2021-09-01 2021-12-14 北京百度网讯科技有限公司 Video streaming system, method, server, device, and storage medium
CN113891028A (en) * 2020-07-03 2022-01-04 浙江宇视科技有限公司 Visual doorbell communication method, device, equipment and medium
WO2022028151A1 (en) * 2020-08-03 2022-02-10 北京达佳互联信息技术有限公司 Video production method and apparatus, and video sharing method and apparatus
CN114430410A (en) * 2022-01-28 2022-05-03 中国农业银行股份有限公司 System access method, device and equipment based on virtual domain name
CN115134420A (en) * 2021-03-24 2022-09-30 华为技术有限公司 Media playing method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7451193B1 (en) * 1997-07-31 2008-11-11 Cisco Technology, Inc. Method and apparatus for reducing overhead on a proxied connection
EP2169903A1 (en) * 2008-09-30 2010-03-31 France Telecom Apparatus and method for routing allowing the translation of addresses in cascade in a network
CN102186164A (en) * 2011-02-18 2011-09-14 华为技术有限公司 Method and management device for operating device resource
CN102662838A (en) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 Method and system for debugging Flash in browser
CN104125229A (en) * 2014-07-31 2014-10-29 合一网络技术(北京)有限公司 Streaming media playing method and streaming media playing device
CN104378699A (en) * 2013-08-15 2015-02-25 上海斐讯数据通信技术有限公司 Method for achieving communication in PON equipment
CN104902452A (en) * 2015-06-30 2015-09-09 北京奇虎科技有限公司 Mobile terminal and network access method thereof
CN106507181A (en) * 2016-11-30 2017-03-15 北京酷我科技有限公司 A kind of method for being obtained and stored in line video data
CN106776366A (en) * 2016-11-18 2017-05-31 华为技术有限公司 Address access method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7451193B1 (en) * 1997-07-31 2008-11-11 Cisco Technology, Inc. Method and apparatus for reducing overhead on a proxied connection
EP2169903A1 (en) * 2008-09-30 2010-03-31 France Telecom Apparatus and method for routing allowing the translation of addresses in cascade in a network
CN102186164A (en) * 2011-02-18 2011-09-14 华为技术有限公司 Method and management device for operating device resource
CN102662838A (en) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 Method and system for debugging Flash in browser
CN104378699A (en) * 2013-08-15 2015-02-25 上海斐讯数据通信技术有限公司 Method for achieving communication in PON equipment
CN104125229A (en) * 2014-07-31 2014-10-29 合一网络技术(北京)有限公司 Streaming media playing method and streaming media playing device
CN104902452A (en) * 2015-06-30 2015-09-09 北京奇虎科技有限公司 Mobile terminal and network access method thereof
CN106776366A (en) * 2016-11-18 2017-05-31 华为技术有限公司 Address access method and device
CN106507181A (en) * 2016-11-30 2017-03-15 北京酷我科技有限公司 A kind of method for being obtained and stored in line video data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马杰: "代理服务器上的高效流媒体缓存技术", 《中国博士学位论文全文数据库 信息科技辑》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110492984B (en) * 2019-07-29 2020-06-23 南方电网数字电网研究院有限公司 Data transmission method and device, data analysis processing system and computer equipment
CN110492984A (en) * 2019-07-29 2019-11-22 南方电网数字电网研究院有限公司 Data transmission method, device, Data Analysis Services system and computer equipment
CN110809189A (en) * 2019-12-03 2020-02-18 北京字节跳动网络技术有限公司 Video playing method and device, electronic equipment and computer readable medium
CN110809189B (en) * 2019-12-03 2022-01-04 北京字节跳动网络技术有限公司 Video playing method and device, electronic equipment and computer readable medium
CN113891028A (en) * 2020-07-03 2022-01-04 浙江宇视科技有限公司 Visual doorbell communication method, device, equipment and medium
CN113891028B (en) * 2020-07-03 2024-04-05 浙江宇视科技有限公司 Visual doorbell communication method, device, equipment and medium
WO2022028151A1 (en) * 2020-08-03 2022-02-10 北京达佳互联信息技术有限公司 Video production method and apparatus, and video sharing method and apparatus
CN113037855A (en) * 2021-03-22 2021-06-25 北京爱奇艺科技有限公司 Multimedia access system, method, device, terminal and medium
CN115134420A (en) * 2021-03-24 2022-09-30 华为技术有限公司 Media playing method and device and electronic equipment
CN113434712A (en) * 2021-06-29 2021-09-24 青岛海尔科技有限公司 Multimedia processing method, device, computer readable storage medium and electronic device
CN113794909A (en) * 2021-09-01 2021-12-14 北京百度网讯科技有限公司 Video streaming system, method, server, device, and storage medium
CN114430410A (en) * 2022-01-28 2022-05-03 中国农业银行股份有限公司 System access method, device and equipment based on virtual domain name
CN114430410B (en) * 2022-01-28 2024-05-14 中国农业银行股份有限公司 System access method, device and equipment based on virtual domain name

Also Published As

Publication number Publication date
CN109963171B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN109963171A (en) Transmitting of Multi-media Information method, transmission device and storage medium
CN102377823B (en) Method and system for realizing interactive sharing among multiple screens and multiple users by sliding screens
CN101861729B (en) Method and apparatus for discovering internet protocol television service (IPTV) provider and IPTV service by using session initiation protocol
US9204180B2 (en) Method, server and terminal for audio and video on demand
US9609366B2 (en) Digital television terminal, video file playing method and video file playing system
US20040249965A1 (en) Node caching system for streaming media applications
CN101505253B (en) Method and apparatus for providing data to network appliance in auxiliary appliance of network appliance
JP2018517341A (en) System for improved mobile internet speed and security
EP1598741A1 (en) Information processing apparatus and content information processing method
CN108989264A (en) A kind of live broadcasting method, system and relevant device
CN103460667A (en) Network streaming of video data using byte range requests
CN103188260A (en) Method of implementing content-centric network (CCN) using internet protocol (IP)-based network in gateway, and gateway
CN103782572A (en) System and method for providing message and event based video services control plane
KR102460099B1 (en) Reception device, transmission device, and data processing method
KR102496890B1 (en) Information processing device, client device, and data processing method
CN102685123A (en) Cloud-storage-based streaming media publication device, system and method
JPWO2016174960A1 (en) Reception device, transmission device, and data processing method
CN110445723A (en) A kind of network data dispatching method and fringe node
CN109474646A (en) Communication connecting method, device, system and storage medium
CN101262413B (en) Method, system and device for media buffer
US9332421B2 (en) Method and apparatus for random access to multimedia content in wireless communication system
CN105284118B (en) Content supply device, Content supply method, program storage medium, terminal installation and contents providing system
KR102656879B1 (en) Receiving devices, transmitting devices and data processing methods
CN108449613A (en) It is a kind of to merge multiple services CDN system, fusion method and device
CN105187867B (en) A kind of media stream control method and its device

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