CN110891184A - Multimedia stream service method and system - Google Patents

Multimedia stream service method and system Download PDF

Info

Publication number
CN110891184A
CN110891184A CN201811046023.0A CN201811046023A CN110891184A CN 110891184 A CN110891184 A CN 110891184A CN 201811046023 A CN201811046023 A CN 201811046023A CN 110891184 A CN110891184 A CN 110891184A
Authority
CN
China
Prior art keywords
multimedia
terminal
address
streaming service
http dns
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.)
Pending
Application number
CN201811046023.0A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811046023.0A priority Critical patent/CN110891184A/en
Publication of CN110891184A publication Critical patent/CN110891184A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04N21/6437Real-time Transport Protocol [RTP]
    • 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
    • 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)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a multimedia stream service method and a multimedia stream service system. Wherein, the method comprises the following steps: the multimedia streaming service system receives a request message sent by at least one terminal through an http dns interface of at least one multimedia service device; responding to the request message, the multimedia stream service system allocates a corresponding IP address to the at least one terminal. The method and the device solve the technical problem that the development cost and the maintenance cost on the client are higher due to the fact that the http digital network system (HttpDNS) interface is integrally arranged on the client in the existing multimedia streaming service method.

Description

Multimedia stream service method and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a multimedia streaming service method and system.
Background
In the current live broadcast scenario, for example, in the link of optimizing streaming and playing, the http dns service has become indispensable, but the current live broadcast scenario all needs to integrate the http dns interface on the client (for example, the APP end and the Web end) so as to access the http dns server, which results in a large modification and development cost for the client.
Moreover, if the live broadcast platform is large and needs to access multiple commercial Content Delivery Networks (CDN), modification and development are required on the client for multiple times, and each modification and development process needs development version support, so that the release cost is high, and therefore, the integration of the http DNS interface on the client can increase the extra overhead of the client, especially the APP end, and also increase the burden of a low-configuration mobile phone user.
Aiming at the problem that the development cost and the maintenance cost on the client are higher due to the fact that the http dns interface is integrally arranged on the client in the existing multimedia streaming service method, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the application provides a multimedia streaming service method and a multimedia streaming service system, which are used for at least solving the technical problem that the development cost and the maintenance cost on a client are higher due to the fact that an http dns interface is integrated on the client in the existing multimedia streaming service method.
According to an aspect of an embodiment of the present application, there is provided a multimedia streaming service system including: a source station; at least one edge node, said edge node communicatively coupled to said source station; at least one multimedia service device, said multimedia service device comprising an http dns interface, said multimedia service device for managing the playing of multimedia streams and requested access by http dns; at least one http dns service device for providing domain name resolution service.
According to another aspect of the embodiments of the present application, there is also provided a multimedia streaming service method, including: the multimedia streaming service system receives a request message sent by at least one terminal through an http dns interface of at least one multimedia service device; responding to the request message, the multimedia stream service system allocates a corresponding IP address to the at least one terminal.
According to another aspect of the embodiments of the present application, there is also provided a computer system, including: a processor; and a memory, connected to the processor, for providing instructions to the processor for processing the following processing steps: receiving a request message sent by at least one terminal through an http dns interface of at least one multimedia service device; and responding to the request message to allocate a corresponding IP address for the at least one terminal.
In the embodiment of the application, a multimedia streaming service system receives a request message sent by at least one terminal through an http dns interface of at least one multimedia service device in a manner of locally integrating the http dns interface in the multimedia service device; responding to the request message, the multimedia stream service system allocates a corresponding IP address to the at least one terminal.
It is easy to note that, since the multimedia service device is locally integrated with the http dns interface, the multimedia streaming service system, after receiving a media asset service request from a terminal through the http dns interface of at least one multimedia service device, allocates a corresponding IP address to the at least one terminal in response to the media asset service request, so as to implement media streaming between the terminal and the CDN source station.
Therefore, the purposes of reducing the development cost and the maintenance cost of the client are achieved, the client overhead is reduced, the technical effect of providing a simpler and more efficient HTTP DNS service for a user is achieved, and the technical problem that the development cost and the maintenance cost on the client are higher due to the fact that the http DNS interface is integrally arranged on the client in the existing multimedia stream service method is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a hardware structure of a computer terminal (or mobile device) for implementing a multimedia streaming service method according to an embodiment of the present application;
fig. 2 is a flowchart of a multimedia streaming service method according to an embodiment of the present application;
fig. 3a is a schematic view of an alternative multimedia streaming service method according to an embodiment of the present application;
fig. 3b is a schematic view of another alternative multimedia streaming service method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a multimedia streaming service system according to an embodiment of the present application;
fig. 5 is a schematic diagram of a multimedia streaming service apparatus according to an embodiment of the present application; and
fig. 6 is a block diagram of a computer terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, some terms or terms appearing in the description of the embodiments of the present application are applicable to the following explanations:
http dns service: the traffic scheduling solution based on the Http protocol and the domain name resolution replaces the existing DNS protocol based on UDP, the domain name resolution request is directly sent to the Http DNS server, and the problems of abnormal LocalDNS resolution and inaccurate traffic scheduling can be solved due to the bypassing of the LocalDNS of an operator.
And the media asset server refers to a media asset management server of a live broadcast platform and can uniformly manage the broadcast of live broadcast, a stream pushing address and the http dns request access.
The push flow may refer to a process of transmitting the content packaged in the acquisition stage to the server.
The pull stream may refer to a process in which a server has live content, establishes a connection with the server according to a protocol type (RTMP, RTP, RTSP, HTTP, or the like), receives data, and pulls the content.
A content delivery network CDN source station, for example, a live CDN source station, may be configured to receive and store a media stream sent by a media stream sending end, and a media stream receiving end may further pull the media stream from the CDN source station.
The CDN edge node may be, but is not limited to, a live CDN edge node, and may facilitate the terminal to access the CDN source station nearby, shorten a time delay for accessing the media stream, and improve efficiency of media stream transmission between the terminal and the CDN source station.
Example 1
There is also provided, in accordance with an embodiment of the present application, an embodiment of a method for multimedia streaming services, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than here.
The method provided by the embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Fig. 1 shows a block diagram of a hardware structure of a computer terminal (or mobile device) for implementing a multimedia streaming service method. As shown in fig. 1, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission module 106 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the multimedia streaming service method in the embodiment of the present application, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, so as to implement the multimedia streaming service method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
In the foregoing operating environment, the present application provides a multimedia streaming service method as shown in fig. 2, fig. 2 is a flowchart of a multimedia streaming service method according to an embodiment of the present application, and as shown in fig. 2, the method includes the following method steps:
step S202, the multimedia stream service system receives a request message sent by at least one terminal through an http DNS interface of at least one multimedia service device;
step S204, responding to the request message, the multimedia streaming service system allocates a corresponding IP address to the at least one terminal.
Optionally, the terminal may be a computer terminal, a mobile terminal (mobile phone, PAD), and the like, and is classified by a user principal, and the terminal may include at least one of the following: a media stream transmitting end (e.g., a main end), a media stream receiving end (e.g., a play end).
The multimedia service device can be a multimedia service terminal, such as a multimedia server and a media resource server; the request message may be a request for a media asset service, and for example, the terminal is a media stream transmitting end, the request message may be transmitted when the media stream transmitting end operates and starts to log in a media asset service application; taking the terminal as a media stream receiving end as an example, the request message may be sent when the media stream receiving end starts running the media asset service application.
In an optional embodiment, taking the media stream sending end as an anchor end as an example, when an anchor worker logs in the anchor end, that is, when the anchor end runs and starts to log in the media asset service application, the request message is sent to request to access the http dns interface, instead of sending the request message when streaming is needed. Taking the above media stream receiving end as the playing end as an example, when the audience enters the playing end to watch the multimedia data, that is, when the playing end starts running the media asset service application, no matter the audience is in the login state or the guest state, the request message is sent to request to access the http dns interface, but the request message is sent when the streaming is not needed.
Specifically, the http dns interface is an interface of a content delivery network CDN (e.g., a commercial CDN), and by locally integrating the http dns interface in the multimedia service device, the http dns interface can be integrated more efficiently and more simply at both the media stream sending end and the media stream receiving end, and can play a role of http dns service.
In a live broadcast scene, the multimedia service device can provide an access interface for the terminal through the locally integrated http dns interface, and access, update and acquisition of http dns of the service end are realized in live video broadcast, so that development cost and maintenance cost of the client can be reduced, and overhead on the client is reduced.
As an optional embodiment, the request information carries IP address information of the terminal, and in this embodiment, taking the IP address carried in the media asset service request as a Clientip:110.11.11.11 as an example, after receiving the request information, the multimedia streaming service system may provide a domain name resolution service to the terminal according to the request information and the IP address information of the terminal carried in the request information, and allocate a corresponding IP address to the terminal.
In the above-described alternative embodiment, the domain name resolution service may be provided by at least one http dns service device (e.g., a content delivery network CDN server).
In the embodiment of the application, a multimedia streaming service system receives a request message sent by at least one terminal through an http dns interface of at least one multimedia service device in a manner of locally integrating the http dns interface in the multimedia service device; responding to the request message, the multimedia stream service system allocates a corresponding IP address to the at least one terminal.
It is easy to note that, since the multimedia service device is locally integrated with the http dns interface, the multimedia streaming service system, after receiving a media asset service request from a terminal through the http dns interface of at least one multimedia service device, allocates a corresponding IP address to the at least one terminal in response to the media asset service request, so as to implement media streaming between the terminal and the CDN source station.
Therefore, the purposes of reducing the development cost and the maintenance cost of the client are achieved, the client overhead is reduced, the technical effect of providing more convenient and efficient http dns service for a user is achieved, and the technical problem that the development cost and the maintenance cost of the client are high due to the fact that the http dns interface is integrally arranged on the client in the existing multimedia stream service method is solved.
In an optional embodiment, after the multimedia streaming service system allocates the corresponding IP address to the at least one terminal, the method further includes:
step S302, the multimedia service apparatus refreshes the http dns interface according to a set period to obtain an updated IP address.
In an alternative embodiment, the set period may range from 0.5 to 2 minutes. For example, if the preset update frequency may be 1 minute each time, the multimedia service device automatically refreshes the http dns interface every 1 minute interval to obtain updated IP address information.
Based on the above optional embodiment, when the media stream sending end needs to push the stream, or when the media stream receiving end needs to pull the stream, the multimedia service device issues the updated IP address information to the terminal, so as to facilitate the media stream transmission between the terminal and the CDN source station.
In an optional embodiment, after the multimedia streaming service system allocates the corresponding IP address to the at least one terminal, the method further includes:
the multimedia stream service system receives, through at least one edge node, a multimedia stream pushed by a first terminal of the at least one terminal through the updated IP address.
Specifically, the first terminal is a media stream transmitting end (e.g., an anchor end), where the media stream transmitting end is configured to generate and transmit multimedia data.
In an optional embodiment, when the media stream sending end needs to push the stream, the multimedia service device issues updated IP address information to the media stream sending end, and then the media stream sending end can push the multimedia stream to at least one edge node through the updated IP address based on the updated IP address information, so as to implement the stream pushing from the media stream sending end to the CDN source station.
Optionally, the edge node may be a CDN edge node, for example, a live CDN edge node, and the setting of at least one edge node may facilitate the terminal to access the CDN source station nearby, thereby shortening a time delay for the terminal to access the media stream, and improving efficiency of media stream transmission between the terminal and the CDN source station.
In an optional embodiment, after the multimedia streaming service system allocates the corresponding IP address to the at least one terminal, the method further includes:
the multimedia stream service system provides a multimedia stream to a second terminal of the at least one terminal through at least one edge node, so that the second terminal pulls the multimedia stream from the at least one edge node through the updated IP address.
Specifically, the second terminal is a media stream receiving end (e.g., a playing end, a viewer end), and the media stream receiving end is configured to receive multimedia data provided by the multimedia streaming service system.
In another optional embodiment, when the media stream receiving end needs to pull the stream, the multimedia service apparatus issues updated IP address information to the media stream receiving end, and the media stream receiving end may pull the multimedia stream from the at least one edge node through the updated IP address based on the updated IP address information. The media stream receiving end can pull the current live multimedia stream from the CDN source station due to the connection between the edge node and the CDN source station.
Fig. 3a and fig. 3b are schematic views of a scenario of an alternative multimedia streaming service method according to an embodiment of the present application, and the following explains the alternative multimedia streaming service method provided by the embodiment of the present application through the application scenarios shown in fig. 3a and fig. 3 b:
in this embodiment of the present application, there may be one or more terminals in this embodiment, and in an alternative embodiment, as shown in fig. 3a, the terminal may include but is not limited to: a media stream transmitting terminal A, a media stream transmitting terminal B and a media stream transmitting terminal C; first, when one or more media stream senders run and start to log in the application for media asset service, step S30a is executed to determine whether the application is a new log-in, and if yes in step S30a, the multimedia service device sends request information to the multimedia service device, and the multimedia service device sends the request information to the multimedia stream service system through a local http dns device (http dns interface), and receives an IP address corresponding to at least one terminal allocated by the multimedia stream service system (step S3 a is not shown).
If the determination result in the step S30a is no, step S32a is executed to continuously determine whether the IP address needs to be updated, if the determination result in the step S32a is yes, step S34a is executed to determine whether the set period has been reached, and if the determination result in the step S34a is yes, the multimedia service apparatus updates the locally stored IP address so that the latest IP address is returned to the terminal by the multimedia service apparatus.
In another alternative embodiment, as shown in fig. 3b, the terminal may include but is not limited to: a media stream receiving end A, a media stream receiving end B and a media stream receiving end C; first, when one or more media stream receiving terminals start running the media asset service application, step S30b is executed to determine whether the application is a new login, and if the determination result in step S30b is yes, the request information is sent to the multimedia service device, and the multimedia service device sends the request information to the multimedia stream service system through a local http dns device (http dns interface), and receives the IP address corresponding to the allocation of at least one terminal returned by the multimedia stream service system (step S3 b is not shown).
If the determination result in the step S30b is no, step S32b is executed to continuously determine whether the IP address needs to be updated, if the determination result in the step S32b is yes, step S34b is executed to determine whether the set period has been reached, and if the determination result in the step S34b is yes, the multimedia service apparatus updates the locally stored IP address so that the latest IP address is returned to the terminal by the multimedia service apparatus.
In addition, as shown in fig. 3a and fig. 3b, the media stream receiving end and the CDN source station, and the media stream sending end and the CDN source station may be connected through a CDN edge node, where the CDN edge node may be but is not limited to a live CDN edge node, and may be convenient for the terminal to access the CDN source station nearby, so as to shorten a time delay for the terminal to access the media stream, and improve efficiency of media stream transmission between the terminal and the CDN source station.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
Example 2
According to an embodiment of the present application, there is further provided an embodiment of a multimedia streaming service system, and fig. 4 is a schematic diagram of a multimedia streaming service system according to an embodiment of the present application, as shown in fig. 4, the system 400 includes: a source station 402, at least one edge node 404, at least one multimedia service device 406, at least one http dns service device 408, wherein:
a source station 402; at least one edge node 404, said edge node communicatively coupled to said source station; at least one multimedia service device 406, said multimedia service device comprising an http dns interface, said multimedia service device for managing the playing of multimedia streams and requested access by http dns; at least one http dns service device 408 for providing domain name resolution services.
Optionally, the source station may be a CDN source station, and the edge node may be a CDN edge node, for example, a live CDN edge node, and by setting at least one edge node, the terminal may access the CDN source station nearby, so that a time delay of the terminal accessing the media stream is shortened, and efficiency of media stream transmission between the terminal and the CDN source station is improved.
Optionally, the terminal may be a computer terminal, a mobile terminal (mobile phone, PAD), and the like, and is classified by a user principal, and the terminal may include at least one of the following: a media stream transmitting end (e.g., a main broadcasting end), a media stream receiving end (e.g., a broadcasting end); the multimedia service device can be a multimedia service terminal, such as a multimedia server and a media resource server.
Specifically, the http dns interface is an interface of a content delivery network CDN (e.g., a commercial CDN), and by locally integrating the http dns interface in the multimedia service device, the http dns interface can be integrated more efficiently and more simply at both the media stream sending end and the media stream receiving end, and can play a role of http dns service.
In a live broadcast scene, the multimedia service device can provide an access interface for the terminal through the locally integrated http dns interface, and access, update and acquisition of http dns of the service end are realized in live video broadcast, so that development cost and maintenance cost of the client can be reduced, and overhead on the client is reduced.
In the embodiment of the present application, the source station 402 is a local integrated http dns interface in the multimedia service apparatus; at least one edge node 404, said edge node communicatively coupled to said source station; at least one multimedia service device 406, said multimedia service device comprising an http dns interface, said multimedia service device for managing the playing of multimedia streams and requested access by http dns; at least one http dns service device 408 for providing domain name resolution services.
It is easy to note that, since the multimedia service device is locally integrated with the http dns interface, the multimedia streaming service system, after receiving a media asset service request from a terminal through the http dns interface of at least one multimedia service device, allocates a corresponding IP address to the at least one terminal in response to the media asset service request, so as to implement media streaming between the terminal and the CDN source station.
Therefore, the purposes of reducing the development cost and the maintenance cost of the client are achieved, the client overhead is reduced, the technical effect of providing more convenient and efficient http dns service for a user is achieved, and the technical problem that the development cost and the maintenance cost of the client are high due to the fact that the http dns interface is integrally arranged on the client in the existing multimedia stream service method is solved.
In an alternative embodiment, in response to an operation by a user of the first terminal, the first terminal sends a request to the multimedia service apparatus, and the http dns interface requests the http dns service apparatus based on the request and obtains a corresponding first IP address.
Specifically, the first terminal is a media stream transmitting end (e.g., an anchor end), where the media stream transmitting end is configured to generate and transmit multimedia data; taking the first terminal as the anchor terminal, the operation of the user may be an operation of an anchor worker logging in the anchor terminal. The request can be a media asset service request, and the request carries IP address information of the terminal; the http dns service apparatus may be a content distribution network server.
In the above optional embodiment, the HTTP dns interface on the multimedia service device may access the HTTP dns service device through a hypertext transfer protocol HTTP, and then the HTTP service device provides a domain name resolution service to the terminal according to the request and the IP address information carried in the request, and obtains the first IP address of the CDN origin station through resolution, so that the terminal and the CDN origin station perform media stream transmission.
In an alternative embodiment, in response to an operation by a user of the second terminal, the second terminal sends a request to the multimedia service apparatus, and the http dns interface requests the http dns service apparatus and obtains the corresponding second IP address based on the request.
Specifically, the second terminal is a media stream receiving end (e.g., a playing end, a viewer end), and the media stream receiving end is configured to receive multimedia data provided by the multimedia streaming service system. Taking the second terminal as a play end as an example, the operation of the user may be an operation that the viewer enters the play end to watch the multimedia data.
In an optional embodiment, the multimedia service device refreshes the http dns interface according to a set period to obtain an updated IP address.
In an alternative embodiment, the set period may range from 0.5 to 2 minutes. For example, if the preset update frequency may be 1 minute each time, the multimedia service device automatically refreshes the http dns interface every 1 minute interval to obtain updated IP address information.
Based on the above optional embodiment, when the media stream sending end needs to push the stream, or when the media stream receiving end needs to pull the stream, the multimedia service device issues the updated IP address information to the terminal, so as to facilitate the media stream transmission between the terminal and the CDN source station.
In an optional embodiment, the user of the first terminal pushes the multimedia stream to the edge node based on the updated first IP address.
In an optional embodiment, when the media stream sending end needs to push a stream, the multimedia service device issues an updated first IP address to the media stream sending end, and then the media stream sending end may push a multimedia stream to at least one edge node through the updated first IP address based on the updated first IP address, so as to implement the stream pushing of the media stream sending end to the CDN source station.
In an optional embodiment, the user of the second terminal performs the pulling of the multimedia stream from the edge node based on the updated second IP address.
In another optional embodiment, when the media stream receiving end needs to pull the stream, the multimedia service apparatus issues an updated second IP address to the media stream receiving end, and the media stream receiving end may pull the multimedia stream from the at least one edge node through the updated second IP address based on the updated second IP address information. The media stream receiving end can pull the current live multimedia stream from the CDN source station due to the connection between the edge node and the CDN source station.
It should be noted that, reference may be made to the relevant description in embodiment 1 for alternative or preferred embodiments of this embodiment, and details are not described here again.
Example 3
According to an embodiment of the present application, there is also provided an embodiment of a multimedia streaming service apparatus, and fig. 5 is a schematic diagram of a multimedia streaming service apparatus according to an embodiment of the present application, as shown in fig. 5, the apparatus 500 includes: a receiving module 502 and an assigning module 504, wherein:
a receiving module 502, configured to receive a request message sent by at least one terminal through an http dns interface of at least one multimedia service device; an allocating module 504, configured to allocate a corresponding IP address to the at least one terminal in response to the request message.
In the embodiment of the application, a multimedia streaming service system receives a request message sent by at least one terminal through an http dns interface of at least one multimedia service device in a manner of locally integrating the http dns interface in the multimedia service device; responding to the request message, the multimedia stream service system allocates a corresponding IP address to the at least one terminal.
It is easy to note that, since the multimedia service device is locally integrated with the http dns interface, the multimedia streaming service system, after receiving a media asset service request from a terminal through the http dns interface of at least one multimedia service device, allocates a corresponding IP address to the at least one terminal in response to the media asset service request, so as to implement media streaming between the terminal and the CDN source station.
Therefore, the purposes of reducing the development cost and the maintenance cost of the client are achieved, the client overhead is reduced, the technical effect of providing more convenient and efficient http dns service for a user is achieved, and the technical problem that the development cost and the maintenance cost of the client are high due to the fact that the http dns interface is integrally arranged on the client in the existing multimedia stream service method is solved.
It should be noted here that the receiving module 502 and the allocating module 504 correspond to steps S202 to S204 in embodiment 1, and the two modules are the same as the corresponding steps in the implementation example and application scenarios, but are not limited to the disclosure in embodiment 1. It should be noted that the above modules may be operated in the computer terminal 10 provided in embodiment 1 as a part of the apparatus.
It should be noted that, reference may be made to the relevant description in embodiment 1 for alternative or preferred embodiments of this embodiment, and details are not described here again.
Example 4
There is also provided, in accordance with an embodiment of the present application, an embodiment of a computer system, including: a processor; and a memory, connected to the processor, for providing instructions to the processor for processing the following processing steps: receiving a request message sent by at least one terminal through an http dns interface of at least one multimedia service device; and responding to the request message to allocate a corresponding IP address for the at least one terminal.
In the embodiment of the application, a local http dns interface is integrated in a multimedia service device, and a request message sent by at least one terminal is received through the http dns interface of at least one multimedia service device; and responding to the request message to allocate a corresponding IP address for the at least one terminal.
It is easy to note that, since the multimedia service device is locally integrated with the http dns interface, the multimedia streaming service system, after receiving a media asset service request from a terminal through the http dns interface of at least one multimedia service device, allocates a corresponding IP address to the at least one terminal in response to the media asset service request, so as to implement media streaming between the terminal and the CDN source station.
Therefore, the purposes of reducing the development cost and the maintenance cost of the client are achieved, the client overhead is reduced, the technical effect of providing more convenient and efficient http dns service for a user is achieved, and the technical problem that the development cost and the maintenance cost of the client are high due to the fact that the http dns interface is integrally arranged on the client in the existing multimedia stream service method is solved.
It should be noted that, reference may be made to the relevant description in embodiment 1 for alternative or preferred embodiments of this embodiment, and details are not described here again.
Example 5
The embodiment of the application also provides an embodiment of a computer terminal, and the computer terminal can be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced with a terminal device such as a mobile terminal.
Optionally, in this embodiment, the computer terminal may be located in at least one network device of a plurality of network devices of a computer network.
In this embodiment, the computer terminal may execute the program code of the following steps in the multimedia streaming service method: the multimedia streaming service system receives a request message sent by at least one terminal through an http dns interface of at least one multimedia service device; responding to the request message, the multimedia stream service system allocates a corresponding IP address to the at least one terminal.
Optionally, fig. 6 is a block diagram of a computer terminal according to an embodiment of the present application, and as shown in fig. 6, the computer terminal 600 may include: one or more processors 602 (only one of which is shown), memory 604, and a peripherals interface 606.
The memory may be configured to store software programs and modules, such as program instructions/modules corresponding to the multimedia streaming service method and apparatus in the embodiments of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, so as to implement the multimedia streaming service method. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory located remotely from the processor, which may be connected to the computer terminal 600 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor can call the information and application program stored in the memory through the transmission device to execute the following steps: the multimedia streaming service system receives a request message sent by at least one terminal through an http dns interface of at least one multimedia service device; responding to the request message, the multimedia stream service system allocates a corresponding IP address to the at least one terminal.
Optionally, the processor may further execute the program code of the following steps: and the multimedia service device refreshes the http dns interface according to a set period to acquire an updated IP address.
Optionally, the processor may further execute the program code of the following steps: the multimedia stream service system receives, through at least one edge node, a multimedia stream pushed by a first terminal of the at least one terminal through the updated IP address.
Optionally, the processor may further execute the program code of the following steps: the multimedia stream service system provides a multimedia stream to a second terminal of the at least one terminal through at least one edge node, so that the second terminal pulls the multimedia stream from the at least one edge node through the updated IP address.
By adopting the embodiment of the application, the scheme of the multimedia streaming service is provided, and a multimedia streaming service system receives a request message sent by at least one terminal through an http dns interface of at least one multimedia service device; responding to the request message, the multimedia stream service system allocates a corresponding IP address to the at least one terminal.
Therefore, the purposes of reducing the development cost and the maintenance cost of the client are achieved, the client overhead is reduced, the technical effect of providing more convenient and efficient http dns service for a user is achieved, and the technical problem that the development cost and the maintenance cost of the client are high due to the fact that the http dns interface is integrally arranged on the client in the existing multimedia streaming service method is solved.
It can be understood by those skilled in the art that the structure shown in fig. 6 is only an illustration, and the computer terminal may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 6 is a diagram illustrating a structure of the electronic device. For example, the computer terminal 600 may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Example 6
Optionally, in this embodiment, the storage medium may be configured to store a program code executed by the multimedia streaming service method provided in embodiment 1.
Optionally, in this embodiment, the storage medium may be located in any one of computer terminals in a computer terminal group in a computer network, or in any one of mobile terminals in a mobile terminal group.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the multimedia streaming service system receives a request message sent by at least one terminal through an http dns interface of at least one multimedia service device; responding to the request message, the multimedia stream service system allocates a corresponding IP address to the at least one terminal.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: and the multimedia service device refreshes the http dns interface according to a set period to acquire an updated IP address.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the multimedia stream service system receives, through at least one edge node, a multimedia stream pushed by a first terminal of the at least one terminal through the updated IP address.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the multimedia stream service system provides a multimedia stream to a second terminal of the at least one terminal through at least one edge node, so that the second terminal pulls the multimedia stream from the at least one edge node through the updated IP address.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (13)

1. A multimedia streaming service system, comprising:
a source station;
at least one edge node, the edge node communicatively coupled with the source station;
at least one multimedia service device comprising an http dns interface for managing playback of a multimedia stream and requested access by http dns;
at least one http dns service device for providing domain name resolution service.
2. The multimedia streaming service system according to claim 1, wherein,
in response to an operation by a user of a first terminal, the first terminal sends a request to the multimedia service device, and the http dns interface requests the http dns service device and obtains a corresponding first IP address based on the request.
3. The multimedia streaming service system according to claim 1, wherein,
in response to an operation by a user of a second terminal, the second terminal sends a request to the multimedia service device, and the http dns interface requests the http dns service device and obtains a corresponding second IP address based on the request.
4. The multimedia streaming service system according to any one of claims 2 or 3, wherein the multimedia service device refreshes the http dns interface at a set period to acquire an updated IP address.
5. The multimedia streaming service system of claim 4, wherein the user of the first terminal pushes the multimedia stream to the edge node based on obtaining the updated first IP address.
6. The multimedia streaming service system of claim 4, wherein the user of the second terminal performs the pulling of the multimedia stream from the edge node based on obtaining the updated second IP address.
7. The multimedia streaming service system according to claim 4, wherein the set period ranges from 0.5 to 2 minutes.
8. A multimedia streaming service method, comprising:
the multimedia streaming service system receives a request message sent by at least one terminal through an http dns interface of at least one multimedia service device;
responding to the request message, the multimedia streaming service system allocates a corresponding IP address to the at least one terminal.
9. The multimedia streaming service method of claim 8, wherein after the multimedia streaming service system allocates the corresponding IP address to the at least one terminal, further comprising:
and the multimedia service device refreshes the http DNS interface according to a set period to acquire an updated IP address.
10. The multimedia streaming service method of claim 9, wherein after the multimedia streaming service system allocates the corresponding IP address to the at least one terminal, further comprising:
and the multimedia stream service system receives the multimedia stream pushed by the first terminal of the at least one terminal through the updated IP address through at least one edge node.
11. The multimedia streaming service method of claim 9, wherein after the multimedia streaming service system allocates the corresponding IP address to the at least one terminal, further comprising:
the multimedia streaming service system provides a multimedia stream to a second terminal of the at least one terminal through at least one edge node, so that the second terminal pulls the multimedia stream from the at least one edge node through the updated IP address.
12. The multimedia streaming service method according to claim 9, wherein the set period ranges from 0.5 to 2 minutes.
13. A computer system, comprising:
a processor; and
a memory coupled to the processor for providing instructions to the processor for processing the following processing steps:
receiving a request message sent by at least one terminal through an http dns interface of at least one multimedia service device;
and responding to the request message to allocate the corresponding IP address for the at least one terminal.
CN201811046023.0A 2018-09-07 2018-09-07 Multimedia stream service method and system Pending CN110891184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811046023.0A CN110891184A (en) 2018-09-07 2018-09-07 Multimedia stream service method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811046023.0A CN110891184A (en) 2018-09-07 2018-09-07 Multimedia stream service method and system

Publications (1)

Publication Number Publication Date
CN110891184A true CN110891184A (en) 2020-03-17

Family

ID=69744748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811046023.0A Pending CN110891184A (en) 2018-09-07 2018-09-07 Multimedia stream service method and system

Country Status (1)

Country Link
CN (1) CN110891184A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143243A (en) * 2010-10-28 2011-08-03 华为终端有限公司 Dynamic routing processing method and dynamic routing processing device and home gateway thereof
CN102801823A (en) * 2012-08-23 2012-11-28 神州数码网络(北京)有限公司 DNS (domain name server) relay method and device
WO2015088410A1 (en) * 2013-12-12 2015-06-18 Telefonaktiebolaget L M Ericsson (Publ) A method and network node for caching web content
CN106453328A (en) * 2016-10-18 2017-02-22 乐视控股(北京)有限公司 Publishing method for live broadcast video file, publishing client and edge streaming media server
CN107528862A (en) * 2017-10-23 2017-12-29 北京京东金融科技控股有限公司 The method and device of domain name mapping
CN108040085A (en) * 2017-11-20 2018-05-15 广州华多网络科技有限公司 Method for network access, device and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143243A (en) * 2010-10-28 2011-08-03 华为终端有限公司 Dynamic routing processing method and dynamic routing processing device and home gateway thereof
CN102801823A (en) * 2012-08-23 2012-11-28 神州数码网络(北京)有限公司 DNS (domain name server) relay method and device
WO2015088410A1 (en) * 2013-12-12 2015-06-18 Telefonaktiebolaget L M Ericsson (Publ) A method and network node for caching web content
CN106453328A (en) * 2016-10-18 2017-02-22 乐视控股(北京)有限公司 Publishing method for live broadcast video file, publishing client and edge streaming media server
CN107528862A (en) * 2017-10-23 2017-12-29 北京京东金融科技控股有限公司 The method and device of domain name mapping
CN108040085A (en) * 2017-11-20 2018-05-15 广州华多网络科技有限公司 Method for network access, device and server

Similar Documents

Publication Publication Date Title
CN109831511B (en) Method and equipment for scheduling content delivery network CDN edge nodes
JP6941679B2 (en) Network slice selection method, user equipment, and network equipment
CN105451087B (en) Method for pushing, terminal, historic data server and the system of barrage information
CN108933948B (en) Video playing progress synchronization method and device
EP2712216B1 (en) Method, relevant device and system for pushing and receiving service information
US20230336495A1 (en) Management, by an intermediate device, of the quality of transmission of a data stream to a mobile terminal
WO2017107542A1 (en) Video program obtaining method, device and system
CN107087038A (en) A kind of method of data syn-chronization, synchronizer, device and storage medium
CN110880980B (en) Content distribution network service providing method and processing system
CN105743958A (en) Terminal-to-terminal communication method and device
CN105592318A (en) System, device and method for realizing HLS channel replaying service
CN103024491B (en) The video broadcasting method of mobile terminal and system
CN103024025A (en) Method and system of managing and sharing application information of intelligent device
KR20160004377A (en) Ott video quality monitoring method, apparatus, and system
CN110677714A (en) Video data downloading method and device, electronic equipment and storage medium
CN112637297B (en) Block chain-based data distributed storage and data acquisition method and device
US9204179B2 (en) Location-based service group discovery for switched digital video
CN110839006A (en) Network scheduling method and device and electronic equipment
CN110430290B (en) Resource address updating method, computer device and storage medium
CN110891184A (en) Multimedia stream service method and system
CN107241619B (en) Media asset content synchronization method and device
JP6957079B2 (en) Methods and devices for presenting information
US20200092609A1 (en) Personalized Multicast Content
CN114143616A (en) Target video processing method and system, storage medium and electronic device
CN110602792B (en) Terminal access method, frequency band allocation method, device and server

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40025592

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200317