CN109218762B - Multimedia resource playback method, device, computer equipment and storage medium - Google Patents

Multimedia resource playback method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109218762B
CN109218762B CN201811038739.6A CN201811038739A CN109218762B CN 109218762 B CN109218762 B CN 109218762B CN 201811038739 A CN201811038739 A CN 201811038739A CN 109218762 B CN109218762 B CN 109218762B
Authority
CN
China
Prior art keywords
multimedia resource
terminal device
request
resource
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811038739.6A
Other languages
Chinese (zh)
Other versions
CN109218762A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811038739.6A priority Critical patent/CN109218762B/en
Publication of CN109218762A publication Critical patent/CN109218762A/en
Application granted granted Critical
Publication of CN109218762B publication Critical patent/CN109218762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • 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/643Communication protocols

Landscapes

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

Abstract

The invention discloses multimedia resource playback method, device, computer equipment and storage mediums, and wherein method includes: that terminal device obtains multimedia resource playing request from the user;Terminal device checks current network conditions;If Network status is weak netted condition, terminal device is to QUIC Proxy request multimedia resource, and multimedia resource receiving the return of QUIC proxy server, obtaining from CDN server;Terminal device plays multimedia resource.Using scheme of the present invention, the Playout delay of multimedia resource can reduce.

Description

Multimedia resource playback method, device, computer equipment and storage medium
[technical field]
The present invention relates to network technology, in particular to multimedia resource playback method, device, computer equipment and storage is situated between Matter.
[background technique]
Under weak net environment, when user, which issues music to terminal device, to be requested, it may appear that broadcast time-delay is high to ask Topic.
In the prior art, it will usually which music is stored in content distributing network (CDN, Content Delivery Network) accelerated on server.CDN is the content distributing network constructed on network, by the clothes for being deployed in various regions Business device, by the load balancing, content distribution, scheduling etc. of central platform, content needed for obtaining user nearby reduces network and gathers around Plug improves user's access response speed and hit rate etc..
But if weak host is as caused by the reasons such as " last one kilometer " or router be busy, not using CDN server Can be improved significantly.
[summary of the invention]
In view of this, the present invention provides multimedia resource playback method, device, computer equipment and storage mediums.
Specific technical solution is as follows:
A kind of multimedia resource playback method, comprising:
Terminal device obtains multimedia resource playing request from the user;
The terminal device checks current network conditions;
If the Network status is weak netted condition, the terminal device is to multimedia described in QUIC Proxy request Resource, and receive the multimedia resource that the QUIC proxy server returns, obtaining from CDN server;
The terminal device plays the multimedia resource.
A kind of multimedia resource playback method, comprising:
QUIC proxy server obtains the first multimedia resource request from terminal device, first multimedia resource Request is that the terminal device gets multimedia resource playing request from the user and determines that current network conditions are weak The QUIC proxy server is sent to after netted condition;
The QUIC proxy server requests the multimedia resource to CDN server, and obtains the CDN server and return The multimedia resource returned;
The multimedia resource is sent to the terminal device by the QUIC proxy server, so as to the terminal device The multimedia resource is played out.
A kind of multimedia resource playback method, comprising:
CDN server obtains the second multimedia resource request from QUIC proxy server, the second multimedia money Source request be the QUIC proxy server receive be sent to after the request of the first multimedia resource from terminal device it is described CDN server, the first multimedia resource request gets multimedia resource from the user for the terminal device and broadcasts It puts and requests and determine current network conditions to be sent to the QUIC proxy server after weak netted condition;
Requested multimedia resource is returned to the QUIC proxy server by the CDN server, so as to described The multimedia resource is returned to the terminal device and played out by QUIC proxy server.
A kind of terminal device, comprising: the first request unit, first resource acquiring unit and resource broadcast unit;
The first request unit, for obtaining multimedia resource playing request from the user;
The first resource acquiring unit, for checking current network conditions, if the Network status is weak netted condition, To multimedia resource described in QUIC Proxy request, and receive it is that the QUIC proxy server returns, from CDN server The multimedia resource obtained;
The resource broadcast unit, for playing the multimedia resource.
A kind of QUIC proxy server, comprising: the second request unit, Secondary resource acquiring unit and first resource Transmission unit;
The second request unit, for obtaining the first multimedia resource request from terminal device, described the The request of one multimedia resource is that the terminal device gets multimedia resource playing request from the user and determines current Network status be weak netted condition after be sent to the QUIC proxy server;
The Secondary resource acquiring unit for requesting the multimedia resource to CDN server, and obtains the CDN The multimedia resource that server returns;
The first resource transmission unit, for the multimedia resource to be sent to the terminal device, so as to described Terminal device plays out the multimedia resource.
A kind of CDN server, comprising: third request unit and Secondary resource transmission unit;
The third request unit, for obtaining the second multimedia resource request from QUIC proxy server, The second multimedia resource request is that the QUIC proxy server receives the first multimedia resource from terminal device The CDN server is sent to after request, the first multimedia resource request is that the terminal device gets to use by oneself The multimedia resource playing request at family simultaneously determines current network conditions to be sent to the QUIC agency service after weak netted condition Device;
The Secondary resource transmission unit, for requested multimedia resource to be returned to the QUIC agency service Device plays out so that the multimedia resource is returned to the terminal device by the QUIC proxy server.
A kind of computer equipment, including memory, processor and be stored on the memory and can be in the processor The computer program of upper operation, the processor realize method as described above when executing described program.
A kind of computer readable storage medium is stored thereon with computer program, real when described program is executed by processor Now method as described above.
Can be seen that based on above-mentioned introduction using scheme of the present invention, terminal device get it is from the user more After media resource plays request, current network conditions can be first checked for, however, it is determined that it is weak netted condition, it can be to QUIC proxy server Multimedia resource needed for request, and multimedia resource receiving the return of QUIC proxy server, being obtained from CDN server, It plays out, since CDN server generally supports the http agreement based on TCP, and QUIC is the agreement based on UDP, resists weak net Ability is much higher than TCP, therefore largely overcomes the problems of the prior art, to reduce the broadcasting of multimedia resource Time delay.
[Detailed description of the invention]
Fig. 1 is the flow chart of multimedia resource playback method first embodiment of the present invention.
Fig. 2 is the flow chart of multimedia resource playback method second embodiment of the present invention.
Fig. 3 is the flow chart of multimedia resource playback method 3rd embodiment of the present invention.
Interaction side of the Fig. 4 between user of the present invention, terminal device, QUIC proxy server and CDN server Formula schematic diagram.
Fig. 5 is the composed structure schematic diagram of terminal device embodiment of the present invention.
Fig. 6 is the composed structure schematic diagram of QUIC proxy server embodiment of the present invention.
Fig. 7 is the composed structure schematic diagram of CDN server embodiment of the present invention.
Fig. 8 shows the block diagram for being suitable for the exemplary computer system/server 12 for being used to realize embodiment of the present invention.
[specific embodiment]
In order to be clearer and more clear technical solution of the present invention, hereinafter, referring to the drawings and the embodiments, to institute of the present invention The scheme of stating is further described.
Obviously, described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on the present invention In embodiment, those skilled in the art's all other embodiment obtained without creative efforts, all Belong to the scope of protection of the invention.
Fig. 1 is the flow chart of multimedia resource playback method first embodiment of the present invention.As shown in Figure 1, include with Lower specific implementation.
In 101, terminal device obtains multimedia resource playing request from the user.
In 102, terminal device checks current network conditions.
In 103, if Network status is weak netted condition, terminal device is provided to QUIC Proxy request multimedia Source, and multimedia resource receiving the return of QUIC proxy server, being obtained from CDN server.
In 104, terminal device plays the multimedia resource got.
When user needs to play a certain multimedia resource, multimedia resource playing request can be issued to terminal device.Institute Stating multimedia resource can be any form of multimedia resources such as music or video.
After terminal device gets multimedia resource playing request from the user, current network conditions can be first checked for, To determine whether for weak netted condition.
For example, in the statistics available nearest scheduled duration of terminal device network request average response speed, if average response is fast Degree is lower than predetermined threshold, then can determine that current network conditions are weak netted condition.
If current network conditions are weak netted condition, terminal device can be provided to multimedia needed for QUIC Proxy request Source, and multimedia resource receiving the return of QUIC proxy server, being obtained from CDN server.
QUIC is the abbreviation of Quick UDP Internet Connection, i.e. express user datagram protocol internet Connection is that one kind that Google formulates is based on the low time delay of User Datagram Protocol (UDP, User Datagram Protocol) The Internet transmission layer protocol.It is well known that transmission control protocol (TCP, Transmission Control Protocol)/mutually Networking protocol (IP, Internet Protocol) protocol suite is the basis of internet, wherein transport layer protocol include TCP and UDP, compared with TCP, UDP more light weight, but much less is also wanted in error checking, it means that UDP is often more efficient.QUIC The various demands that current transport layer and application layer face are well solved, including the more connections of processing, safety and low Delay etc..QUIC has been merged to be passed including TCP, Transport Layer Security (TLS, Transport Layer Security), hypertext The characteristic of defeated agreement (HTTP, HyperText Transfer Protocol)/agreements such as 2, but transmitted based on UDP.
QUIC proxy server and CDN server can dispose beyond the clouds.Between QUIC proxy server and CDN server It is interacted based on TCP, is interacted between QUIC proxy server and terminal device based on UDP.
Terminal device determines that current network conditions are weak netted condition, to QUIC Proxy request multimedia resource, QUIC proxy server can be further to multimedia resource needed for CDN server request, and will acquire from the more of CDN server Media resource returns to terminal device and plays out.
Terminal device determines that current network conditions are non-weak netted condition, and required more matchmakers can be directly obtained from CDN server Body resource directly requests multimedia resource to CDN server, and obtain the multimedia resource of CDN server return, is broadcast It puts.
Terminal device can also first determine the lattice of the multimedia resource got before playing the multimedia resource got Whether formula meets the requirements, if so, can directly play out, if it is not, can carry out after multimedia resource to be converted to predetermined format It plays.
For some operating systems such as Android (Android) operating system, only load is supported to be based under default situations The multimedia resource of TCP, then then needing first to carry out agreement for the multimedia resource got by QUIC proxy server The processing such as conversion, to meet call format.
It is above that mainly scheme of the present invention is illustrated from terminal device side, it acts on behalf of take from QUIC individually below Business device side and CDN server side are illustrated scheme of the present invention.
Fig. 2 is the flow chart of multimedia resource playback method second embodiment of the present invention.As shown in Fig. 2, include with Lower specific implementation.
In 201, QUIC proxy server obtains the first multimedia resource request from terminal device, the first multimedia Resource request is that terminal device gets multimedia resource playing request from the user and determines that current network conditions are weak QUIC proxy server is sent to after netted condition.
In 202, QUIC proxy server requests multimedia resource to CDN server, and obtains CDN server return Multimedia resource.
In 203, the multimedia resource that QUIC proxy server will acquire is sent to terminal device, so as to terminal device Multimedia resource is played out.
QUIC proxy server can be disposed beyond the clouds.
Terminal device gets multimedia resource playing request from the user and determines that current network conditions are weak net After situation, the request of the first multimedia resource can be sent to QUIC proxy server, correspondingly, QUIC proxy server can be from CDN The multimedia resource of server acquisition request, and return to terminal device and play out.
Fig. 3 is the flow chart of multimedia resource playback method 3rd embodiment of the present invention.As shown in figure 3, include with Lower specific implementation.
In 301, CDN server obtains the second multimedia resource request from QUIC proxy server, more than second matchmaker Body resource request is to be sent to CDN clothes after QUIC proxy server receives the request of the first multimedia resource from terminal device Business device, the request of the first multimedia resource is that terminal device gets multimedia resource playing request from the user and determines Current network conditions be weak netted condition after be sent to QUIC proxy server.
In 302, requested multimedia resource is returned to QUIC proxy server by CDN server, so as to QUIC generation Multimedia resource is returned to terminal device and played out by reason server.
In addition, CDN server can also obtain the request of the third multimedia resource from terminal device, and by more matchmakers of request Body resource returns to terminal device and plays out, and the request of third multimedia resource is that terminal device gets more matchmakers from the user Body resource playing request simultaneously determines current network conditions to be sent to CDN server after non-weak netted condition.
After terminal device gets multimedia resource playing request from the user, current network conditions can be first checked for, To determine whether for weak netted condition.
If current network conditions are weak netted condition, terminal device can be requested by QUIC proxy server to CDN server Multimedia resource, and the multimedia resource that CDN server is returned by QUIC proxy server is obtained, it plays out.
If current network conditions are non-weak netted condition, terminal device directly can obtain multimedia resource from CDN server, i.e., Multimedia resource directly is requested to CDN server, and obtains the multimedia resource of CDN server return, is played out.
In summary it introduces, Fig. 4 is user of the present invention, terminal device, QUIC proxy server and CDN server Between interactive mode schematic diagram.As shown in figure 4, including implementation in detail below.
In 401, user issues multimedia resource playing request to terminal device.
In 402, terminal device checks current network conditions, if weak netted condition, then executes 403~406, otherwise, holds Row 407~408.
In 403, terminal device is to QUIC Proxy request multimedia resource.
In 404, QUIC proxy server requests multimedia resource to CDN server.
In 405, multimedia resource is returned to QUIC proxy server by CDN server.
In 406, multimedia resource is returned to terminal device by QUIC proxy server.
In 407, terminal device requests multimedia resource to CDN server.
In 408, multimedia resource is returned to terminal device by CDN server.
In 409, terminal device plays the multimedia resource got.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
In short, under weak netted condition, using QUIC proxy server, being set according to terminal using scheme of the present invention Standby request obtains required multimedia resource from CDN server, and returns to terminal device and play out, due to resisting for QUIC Weak net ability is much higher than TCP, therefore largely overcomes the problems of the prior art, to reduce multimedia resource Playout delay.
The introduction about embodiment of the method above, below by way of Installation practice, to scheme of the present invention carry out into One step explanation.
Fig. 5 is the composed structure schematic diagram of terminal device embodiment of the present invention.As shown in Figure 5, comprising: the first request Acquiring unit 501, first resource acquiring unit 502 and resource broadcast unit 503.
First request unit 501, for obtaining multimedia resource playing request from the user.
First resource acquiring unit 502, for checking current network conditions, if Network status is weak netted condition, to QUIC Proxy request multimedia resource, and more matchmakers receiving the return of QUIC proxy server, being obtained from CDN server Body resource.
Resource broadcast unit 503, for playing the multimedia resource got.
Wherein, in the statistics available nearest scheduled duration of first resource acquiring unit 502 network request average response speed, if Average response speed is lower than predetermined threshold, then can determine that current network conditions are weak netted condition.
First resource acquiring unit 502 can also directly be obtained from CDN server more when Network status is non-weak netted condition Media resource.
In addition, resource broadcast unit 503 can also first determine multimedia resource before playing the multimedia resource got Format whether meet the requirements, if it is not, being played out after then multimedia resource being converted to predetermined format.
Fig. 6 is the composed structure schematic diagram of QUIC proxy server embodiment of the present invention.As shown in Figure 6, comprising: the Two request units 601, Secondary resource acquiring unit 602 and first resource transmission unit 603.
Second request unit 601, for obtaining the first multimedia resource request from terminal device, more than first matchmaker Body resource request is that terminal device gets multimedia resource playing request from the user and determines that current network conditions are QUIC proxy server is sent to after weak netted condition.
Secondary resource acquiring unit 602 for requesting multimedia resource to CDN server, and obtains CDN server return Multimedia resource.
First resource transmission unit 603, for multimedia resource to be sent to terminal device, so that terminal device is to more matchmakers Body resource plays out.
Fig. 7 is the composed structure schematic diagram of CDN server embodiment of the present invention.As shown in fig. 7, comprises: third is asked Ask acquiring unit 701 and Secondary resource transmission unit 702.
Third request unit 701, for obtaining the second multimedia resource request from QUIC proxy server, the The request of two multimedia resources is to send after QUIC proxy server receives the request of the first multimedia resource from terminal device To CDN server, the request of the first multimedia resource is that terminal device gets multimedia resource playing request from the user And current network conditions are determined to be sent to QUIC proxy server after weak netted condition.
Secondary resource transmission unit 702, for requested multimedia resource to be returned to QUIC proxy server, so as to Multimedia resource is returned to terminal device and played out by QUIC proxy server.
Third request unit 701 can also obtain the request of the third multimedia resource from terminal device, the more matchmakers of third Body resource request is that terminal device gets multimedia resource playing request from the user and determines that current network conditions are It is sent to CDN server after non-weak netted condition, correspondingly, Secondary resource transmission unit 702 can return to multimedia resource Terminal device plays out.
The specific workflow of above-mentioned each Installation practice please refers to the related description in preceding method embodiment, no longer superfluous It states.
Fig. 8 shows the block diagram for being suitable for the exemplary computer system/server 12 for being used to realize embodiment of the present invention. The computer system/server 12 that Fig. 8 is shown is only an example, should not function and use scope to the embodiment of the present invention Bring any restrictions.
As shown in figure 8, computer system/server 12 is showed in the form of universal computing device.Computer system/service The component of device 12 can include but is not limited to: one or more processor (processing unit) 16, memory 28, connect not homology The bus 18 of system component (including memory 28 and processor 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer system/server 12 typically comprises a variety of computer system readable media.These media, which can be, appoints What usable medium that can be accessed by computer system/server 12, including volatile and non-volatile media, it is moveable and Immovable medium.
Memory 28 may include the computer system readable media of form of volatile memory, such as random access memory Device (RAM) 30 and/or cache memory 32.Computer system/server 12 may further include it is other it is removable/no Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing Immovable, non-volatile magnetic media (Fig. 8 do not show, commonly referred to as " hard disk drive ").It, can although being not shown in Fig. 8 To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-volatile to moving Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each drive Dynamic device can be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform the present invention The function of each embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28 In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould Block 42 usually executes function and/or method in embodiment described in the invention.
Computer system/server 12 can also be (such as keyboard, sensing equipment, aobvious with one or more external equipments 14 Show device 24 etc.) communication, it is logical that the equipment interacted with the computer system/server 12 can be also enabled a user to one or more Letter, and/or with the computer system/server 12 any is set with what one or more of the other calculating equipment was communicated Standby (such as network interface card, modem etc.) communicates.This communication can be carried out by input/output (I/O) interface 22.And And computer system/server 12 can also pass through network adapter 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown in figure 8, network adapter 20 passes through bus 18 communicate with other modules of computer system/server 12.It should be understood that although not shown in the drawings, computer can be combined Systems/servers 12 use other hardware and/or software module, including but not limited to: microcode, device driver, at redundancy Manage unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
The program that processor 16 is stored in memory 28 by operation, at various function application and data Reason, such as realize the method in Fig. 1, Fig. 2 or embodiment illustrated in fig. 3.
The present invention discloses a kind of computer readable storage mediums, are stored thereon with computer program, the program quilt The method as shown in Figure 1, Figure 2 or in embodiment illustrated in fig. 3 will be realized when processor executes.
It can be using any combination of one or more computer-readable media.Computer-readable medium can be calculating Machine readable signal medium or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example (non exhaustive list) of machine readable storage medium storing program for executing includes: electrical connection with one or more conducting wires, just Taking formula computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this document, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.In Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
In several embodiments provided by the present invention, it should be understood that disclosed device and method etc. can pass through Other modes are realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of logical function partition, there may be another division manner in actual implementation.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various It can store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (16)

1. a kind of multimedia resource playback method characterized by comprising
Terminal device obtains multimedia resource playing request from the user;
The terminal device checks current network conditions;
If the Network status is weak netted condition, the terminal device connects QUIC to express user datagram protocol internet Multimedia resource described in Proxy request, and receive it is that the QUIC proxy server returns, from content distributing network CDN The multimedia resource that server obtains;
The terminal device plays the multimedia resource.
2. the method according to claim 1, wherein
The terminal device checks that current network conditions include:
The terminal device counts the average response speed of network request in nearest scheduled duration;
If the average response speed is lower than predetermined threshold, it is determined that current network conditions are weak netted condition.
3. the method according to claim 1, wherein
This method further comprises: if the Network status is non-weak netted condition, the terminal device is from the CDN server Obtain the multimedia resource.
4. the method according to claim 1, wherein
This method further comprises: if the format of the multimedia resource is undesirable, the terminal device will be described more Media resource plays out after being converted to predetermined format.
5. a kind of multimedia resource playback method characterized by comprising
Express user datagram protocol internet connects QUIC proxy server and obtains the first multimedia money from terminal device Source request, the first multimedia resource request are that the terminal device gets multimedia resource playing request from the user And current network conditions are determined to be sent to the QUIC proxy server after weak netted condition;
The QUIC proxy server requests the multimedia resource to content distributing network CDN server, and obtains the CDN The multimedia resource that server returns;
The multimedia resource is sent to the terminal device by the QUIC proxy server, so that the terminal device is to institute Multimedia resource is stated to play out.
6. a kind of multimedia resource playback method characterized by comprising
Content distribution network CDN service device is obtained from express user datagram protocol internet connection QUIC proxy server The request of second multimedia resource, second multimedia resource request are that the QUIC proxy server receives to carry out self terminal and set The CDN server is sent to after standby the first multimedia resource request, the first multimedia resource request is the end End equipment gets multimedia resource playing request from the user and determines current network conditions to send after weak netted condition To the QUIC proxy server;
Requested multimedia resource is returned to the QUIC proxy server by the CDN server, so as to the QUIC generation The multimedia resource is returned to the terminal device and played out by reason server.
7. according to the method described in claim 6, it is characterized in that,
This method further comprises: the CDN server obtains the third multimedia resource request from the terminal device, will The multimedia resource returns to the terminal device and plays out;The third multimedia resource request is the terminal device It gets multimedia resource playing request from the user and determines current network conditions to be sent to institute after non-weak netted condition State CDN server.
8. a kind of terminal device characterized by comprising the first request unit, first resource acquiring unit and resource Broadcast unit;
The first request unit, for obtaining multimedia resource playing request from the user;
The first resource acquiring unit, for checking current network conditions, if the Network status is weak netted condition, to fast Multimedia resource described in fast User Datagram Protocol internet connection QUIC Proxy request, and receive the QUIC agency The multimedia resource that server returns, being obtained from content distribution network CDN service device;
The resource broadcast unit, for playing the multimedia resource.
9. terminal device according to claim 8, which is characterized in that
The first resource acquiring unit counts the average response speed of network request in nearest scheduled duration, if the average sound Answer speed lower than predetermined threshold, it is determined that current network conditions are weak netted condition.
10. terminal device according to claim 8, which is characterized in that
The first resource acquiring unit is further used for, if the Network status is non-weak netted condition, from the CDN service Device obtains the multimedia resource.
11. terminal device according to claim 8, which is characterized in that
The resource broadcast unit is further used for, if the format of the multimedia resource is undesirable, by more matchmakers Body resource plays out after being converted to predetermined format.
12. a kind of express user datagram protocol internet connects QUIC proxy server characterized by comprising second asks Ask acquiring unit, Secondary resource acquiring unit and first resource transmission unit;
The second request unit, for obtaining the first multimedia resource request from terminal device, more than described first Media resource request is that the terminal device gets multimedia resource playing request from the user and determines current network Situation be weak netted condition after be sent to the QUIC proxy server;
The Secondary resource acquiring unit for requesting the multimedia resource to content distributing network CDN server, and obtains The multimedia resource that the CDN server returns;
The first resource transmission unit, for the multimedia resource to be sent to the terminal device, so as to the terminal Equipment plays out the multimedia resource.
13. a kind of content distribution network CDN service device characterized by comprising third request unit and Secondary resource Transmission unit;
The third request unit connects QUIC agency service from express user datagram protocol internet for obtaining Second multimedia resource of device is requested, and the second multimedia resource request is that the QUIC proxy server is received from eventually The CDN server is sent to after the first multimedia resource request of end equipment, the first multimedia resource request is institute Terminal device is stated to get multimedia resource playing request from the user and determine current network conditions for after weak netted condition It is sent to the QUIC proxy server;
The Secondary resource transmission unit, for requested multimedia resource to be returned to the QUIC proxy server, with Toilet, which states QUIC proxy server the multimedia resource is returned to the terminal device, to be played out.
14. CDN server according to claim 13, which is characterized in that
The third request unit is further used for, and obtains the third multimedia resource request from the terminal device, The third multimedia resource request is that the terminal device gets multimedia resource playing request from the user and determination Out current network conditions be non-weak netted condition after be sent to the CDN server;
The Secondary resource transmission unit is further used for, and the multimedia resource is returned to the terminal device and is broadcast It puts.
15. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor is realized when executing described program as any in claim 1~7 Method described in.
16. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed Such as method according to any one of claims 1 to 7 is realized when device executes.
CN201811038739.6A 2018-09-06 2018-09-06 Multimedia resource playback method, device, computer equipment and storage medium Active CN109218762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811038739.6A CN109218762B (en) 2018-09-06 2018-09-06 Multimedia resource playback method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811038739.6A CN109218762B (en) 2018-09-06 2018-09-06 Multimedia resource playback method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109218762A CN109218762A (en) 2019-01-15
CN109218762B true CN109218762B (en) 2019-11-26

Family

ID=64987009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811038739.6A Active CN109218762B (en) 2018-09-06 2018-09-06 Multimedia resource playback method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109218762B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3879769B1 (en) * 2019-02-02 2023-08-30 Huawei Technologies Co., Ltd. Method and apparatus for transmitting data
CN109996097B (en) * 2019-03-12 2022-01-04 广州虎牙信息科技有限公司 Screen projection method, system and storage device
CN111756674B (en) * 2019-03-28 2021-07-27 上海哔哩哔哩科技有限公司 Network communication method, system, device and computer readable storage medium
CN111314462A (en) * 2020-02-14 2020-06-19 京东数字科技控股有限公司 Resource processing method, device and storage medium
CN111885093B (en) * 2020-09-27 2021-03-26 腾讯科技(深圳)有限公司 Event request transmission method and device, storage medium and electronic equipment
CN112492042B (en) * 2020-12-08 2021-08-13 清华大学 Application program cross-platform system of optical microcavity sensing device
CN115277560B (en) * 2022-09-28 2023-01-17 鹏城实验室 Heterogeneous network fusion transmission method and system based on MPTCP and MPQUIC
CN117319243A (en) * 2023-08-11 2023-12-29 深圳市时代华盛网络科技有限公司 Method and system for improving success rate of interface request

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127619A (en) * 2007-09-29 2008-02-20 华中科技大学 A P2P living broadcast method based on super node
CN101242432A (en) * 2008-02-28 2008-08-13 蓝汛网络科技(北京)有限公司 An Internet content distribution method, system and device
CN103092581A (en) * 2011-10-28 2013-05-08 阿里巴巴集团控股有限公司 Method and device for setting up Web front-end local development environment
CN106537856A (en) * 2014-04-03 2017-03-22 奥比特多媒体控股公司 Data flow control method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10132916B2 (en) * 2015-05-27 2018-11-20 Intelligent Locations, LLC Power saving intelligent locator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127619A (en) * 2007-09-29 2008-02-20 华中科技大学 A P2P living broadcast method based on super node
CN101242432A (en) * 2008-02-28 2008-08-13 蓝汛网络科技(北京)有限公司 An Internet content distribution method, system and device
CN103092581A (en) * 2011-10-28 2013-05-08 阿里巴巴集团控股有限公司 Method and device for setting up Web front-end local development environment
CN106537856A (en) * 2014-04-03 2017-03-22 奥比特多媒体控股公司 Data flow control method and system

Also Published As

Publication number Publication date
CN109218762A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN109218762B (en) Multimedia resource playback method, device, computer equipment and storage medium
CN110113407A (en) Small routine state synchronization method, equipment and computer storage medium
CN101938502B (en) Server cluster system and load balancing method
CN109951488B (en) Method, device, equipment and storage medium for realizing service of content distribution network
US9421464B2 (en) System and method for providing performance in a personal gaming cloud
CN111586164B (en) Sharing, succession and information processing method of remote cloud desktop and electronic equipment
US20230118176A1 (en) Data transmission method and apparatus, computer-readable storage medium, electronic device, and computer program product
US6941474B2 (en) Firewall subscription service system and method
CN114172905B (en) Cluster network networking method, device, computer equipment and storage medium
CN110365796A (en) Service request processing method, device
US20170026490A1 (en) Method, Management Server, and Computer-Readable Storage Medium for Supporting Provision of Service Desired by Client Terminal by Adaptively Modifying Network Topology Depending on Properties of Service
CN108337301A (en) Network request processing method, device, server and the storage medium of application program
CN109522198A (en) Processing method, device, electronic equipment and the readable storage medium storing program for executing of application program
CN110661673B (en) Heartbeat detection method and device
CN109684114A (en) Message distributing method, device, terminal and medium based on iOS system
CN114466226B (en) Bandwidth duration duty cycle determination method, device, equipment and computer readable medium
CN103095836B (en) The method of adjustment of internet, applications service quality and device, system
CN109669790A (en) Data sharing method, device, shared platform and storage medium based on cloud platform
CN112217910B (en) Video service access method, device, network equipment and storage medium
CN108829646A (en) Data storage and analytic method, device, system and storage medium
CN104639325A (en) Cloud game system and cloud game method based on unified certification
CN108829370A (en) Sound resource playback method, device, computer equipment and storage medium
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
US20230112190A1 (en) Methods, Systems and Computer Program Products for Dynamic Provisioning of Processing Functionality for Cloud Based Software Application Execution
CN109862069B (en) Message processing method and 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