[go: up one dir, main page]

CN110572703A - Multimedia data synchronous playing method, system, terminal and storage medium - Google Patents

Multimedia data synchronous playing method, system, terminal and storage medium Download PDF

Info

Publication number
CN110572703A
CN110572703A CN201910951307.2A CN201910951307A CN110572703A CN 110572703 A CN110572703 A CN 110572703A CN 201910951307 A CN201910951307 A CN 201910951307A CN 110572703 A CN110572703 A CN 110572703A
Authority
CN
China
Prior art keywords
multimedia data
request message
client
playing
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.)
Pending
Application number
CN201910951307.2A
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.)
Skyworth Group Intelligent Equipment Co Ltd
Original Assignee
Guangzhou Skyworth Flat Display 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 Guangzhou Skyworth Flat Display Technology Co Ltd filed Critical Guangzhou Skyworth Flat Display Technology Co Ltd
Priority to CN201910951307.2A priority Critical patent/CN110572703A/en
Publication of CN110572703A publication Critical patent/CN110572703A/en
Pending legal-status Critical Current

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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

the embodiment of the invention discloses a method, a system, a terminal and a storage medium for synchronously playing multimedia data, wherein the method comprises the following steps: receiving at least one request message sent by at least one client, wherein the request message comprises a data identification of the requested multimedia data; sending the at least one request message to a distribution thread corresponding to the data identification in the at least one request message; and synchronously distributing the multimedia data segments corresponding to the data identifications to corresponding clients through the distribution thread so that at least one client synchronously plays the multimedia data segments. The multimedia data synchronous playing method, the system, the terminal and the storage medium provided by the embodiment of the invention can simply realize the synchronous playing of the multimedia data, and save the cost for developing a special player.

Description

Multimedia data synchronous playing method, system, terminal and storage medium
Technical Field
The present invention relates to multimedia technologies, and in particular, to a method, a system, a terminal, and a storage medium for synchronously playing multimedia data.
background
With the development of internet technology, live webcasting has been widely integrated into various aspects of people's life and work as a new social contact mode, and audience terminals can acquire and play multimedia data uploaded by live webcasting terminals through servers. In some special scenes (e.g., scenes with high interactivity), multiple viewer terminals need to play the same multimedia volume data synchronously, which has a high requirement on the synchronization of multimedia data playing.
in the prior art, a plurality of terminals can realize synchronous playing of the same multimedia data by installing and operating a special player. The disadvantages of the prior art include at least that the process of implementing synchronous playing by a dedicated player is complex, and the need of the dedicated player consumes a long development period, resulting in high development cost.
Disclosure of Invention
in view of this, embodiments of the present invention provide a method, a system, a terminal and a storage medium for synchronously playing multimedia data, so as to simply implement synchronous playing of multimedia data and save the cost of developing a dedicated player.
In a first aspect, an embodiment of the present invention provides a multimedia data synchronous playing method, applied to a server, including:
receiving at least one request message sent by at least one client, wherein the request message comprises a data identification of the requested multimedia data;
Sending the at least one request message to a distribution thread corresponding to the data identification in the at least one request message;
And synchronously distributing the multimedia data segments corresponding to the data identifications to corresponding clients through the distribution thread so that at least one client synchronously plays the multimedia data segments.
In a second aspect, an embodiment of the present invention provides a multimedia data synchronous playing method, which is applied to a client, and includes:
sending a request message to a server, wherein the request message comprises a data identifier of the requested multimedia data;
and receiving and playing the multimedia data segment distributed by the server, wherein the multimedia data segment is sent to the distribution thread corresponding to the data identifier by the server and synchronously distributed through the distribution thread.
in a third aspect, an embodiment of the present invention provides a multimedia data synchronous playing system, including:
at least one client side, which is used for sending a request message to a server side, wherein the request message comprises a data identification of the requested multimedia data;
The server is used for receiving at least one request message sent by at least one client; sending the at least one request message to a distribution thread corresponding to the data identification in the at least one request message; synchronously distributing the multimedia data segments corresponding to the data identifications to corresponding clients through the distribution threads;
The at least one client is also used for receiving and playing the multimedia data segments distributed by the server.
In a fourth aspect, an embodiment of the present invention provides a terminal, including:
One or more processors;
a memory for storing one or more programs;
When the one or more programs are executed by the one or more processors, the one or more processors implement the method for synchronously playing multimedia data according to any embodiment of the present invention.
in a fifth aspect, an embodiment of the present invention provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a multimedia data synchronous playing method according to any embodiment of the present invention.
In the method, the system, the terminal and the storage medium for synchronously playing the multimedia data provided by the embodiment of the invention, at least one client sends a request message to a server, wherein the request message comprises a data identifier of the requested multimedia data; the server side sends the received at least one request message to corresponding distribution threads according to the data identification of the request message; synchronously distributing the multimedia data segments corresponding to the data identifications to corresponding clients through the distribution threads; and at least one client plays the requested data segment of the multimedia data after receiving the data segment. The server sends the request message requesting the same multimedia data to the same distribution thread, and sends the same multimedia data segment to each client requesting the multimedia data at the same time through the distribution thread, thereby simply realizing the synchronous playing of the multimedia data of each client, and saving the cost of developing a special player.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for synchronously playing multimedia data according to an embodiment of the present invention;
fig. 2 is a flowchart of a multimedia data synchronous playing method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a multimedia data synchronous playing system according to a third embodiment of the present invention;
Fig. 4 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention.
Detailed Description
in order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described through embodiments with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention. In the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution.
example one
Fig. 1 is a flowchart of a multimedia data synchronous playing method according to an embodiment of the present invention, which is applicable to a situation of synchronous playing of multimedia data, and is particularly applicable to a situation of synchronous playing of multimedia data by terminals in a same local area network when hardware configuration and software configuration of the terminals are the same. The method may be implemented by a server, and may be specifically implemented by software and/or hardware in the server.
Referring to fig. 1, the multimedia data synchronous playing method, applied to a server, includes the following steps:
S110, at least one request message sent by at least one client is received, wherein the request message comprises the data identification of the requested multimedia data.
the client may be, for example, a multimedia display terminal such as a smart phone, a tablet computer, a television, or any display screen in a multi-screen splicing advertisement playing system. The server side can receive at least one request message sent by at least one client side. The request message may be, for example, a Uniform Resource Locator (URL), and correspondingly, the data identifier may be interface information in the URL, and the server may be configured with a plurality of interfaces to obtain multimedia data corresponding to different data identifiers from different interfaces. Illustratively, when the request information is http://192.168.1.1/udp/eth3/227.0.0.1:1234, the data identifier may be eth3/227.0.0.1:1234, and it may be understood that the server side pulls the source multimedia data corresponding to 227.0.0.1:1234 by calling the network interface corresponding to eth 3. When the data identifiers in the request messages are the same, the multimedia data requested by the client sending the request messages can be considered to be the same.
And S120, sending the at least one request message to a distribution thread corresponding to the data identification in the at least one request message.
The server side can open up a plurality of distribution threads, the distribution threads and the data identifications have corresponding relations, and one distribution thread can be considered to process multimedia data corresponding to the same data identification. The server side can analyze at least one request message, acquire the data identifier in each request message, and send the request message to the corresponding distribution thread through the data identifier, so that the requests for acquiring the same multimedia data can be synchronously responded.
S130, synchronously distributing the multimedia data segments corresponding to the data identifications to corresponding clients through a distribution thread so that at least one client synchronously plays the multimedia data segments.
the distribution threads respectively acquire the multimedia data corresponding to the data identifiers and can convert the multimedia data in different formats into multimedia data fragments (such as MPEG-TS fragments) which can be transmitted through a hypertext Transfer Protocol (HTTP), so that the client can receive and play the multimedia data fragments based on the native components without installing a special player, and the development cost of the special player is reduced.
when the number of the clients is greater than or equal to 2, each client preferably has the same hardware configuration and software configuration in the same local area network. The data transmission speeds in the same local area network are approximately the same, so that the receiving time of the multimedia data fragments which are received by each client and sent by the server at the same moment is also the same; and the hardware configuration and the software configuration of each client are the same, so that the time interval from the receiving of the multimedia data segment to the playing of the multimedia data segment is also the same for each client. Therefore, each terminal can synchronously play each multimedia data segment, namely, the synchronous play of the multimedia data is realized.
optionally, the step of synchronously distributing the multimedia data segment corresponding to the data identifier to the corresponding client through the distribution thread includes:
acquiring source multimedia data corresponding to the data identification through a distribution thread; converting the source multimedia data into multimedia data with a preset format; cutting multimedia data in a preset format into at least one multimedia data segment; and synchronously distributing at least one multimedia data segment to the corresponding client.
optionally, the preset format is an H264 format, and the multimedia data segment is a TS segment.
the source multimedia data can be stored in the local storage space of the server side, and can be the storage space of other terminals which are communicated with the server side, and the server can access and acquire the source multimedia data in the storage space of other terminals through corresponding interfaces. The format of the source multimedia data may be different from the preset format, and at this time, the source multimedia data needs to be converted into the multimedia data in the preset format, and the specific conversion process may be, for example, decoding the source multimedia data and then re-encoding the decoded source multimedia data into the multimedia data in the preset format, and the process may be specifically implemented by a Media encoder module at the server end. The multimedia data in the preset format can be sliced into at least one multimedia data Segment by a Stream Segment module of the server, and a play-controlled m3u8 file can be generated, and before the at least one multimedia data Segment is synchronously distributed to the corresponding client, the play-controlled m3u8 file can be synchronously distributed to the corresponding client, so that the client sequentially obtains the corresponding multimedia data segments in the m3u8 file from the server.
The same multimedia data segment is distributed to the corresponding client at the same time through the distribution thread, so that the receiving time of each client requesting the multimedia data segment can be ensured to be the same to a certain extent, and a foundation is laid for realizing synchronous playing of each client.
in the multimedia data synchronous playing method provided by this embodiment, the server side sends the received at least one request message to the corresponding distribution threads respectively according to the data identifier of the request message; and synchronously distributing the multimedia data segments corresponding to the data identifications to corresponding clients through the distribution thread so that at least one client synchronously plays the multimedia data segments. The server sends the request message requesting the same multimedia data to the same distribution thread, and sends the same multimedia data segment to each client requesting the multimedia data at the same time through the distribution thread, thereby simply realizing the synchronous playing of the multimedia data of each client, and saving the cost of developing a special player.
example two
Fig. 2 is a flowchart of a multimedia data synchronous playing method according to a second embodiment of the present invention, which is applicable to a situation of synchronous playing of multimedia data, and is particularly applicable to a situation of synchronous playing of multimedia data by terminals in a same lan when hardware configuration and software configuration of the terminals are the same. The method can be implemented by a client, and can be implemented by software and/or hardware in the client.
Referring to fig. 2, the multimedia data synchronous playing method, applied to a client, includes the following steps:
S210, sending a request message to a server, wherein the request message comprises a data identifier of the requested multimedia data;
And S220, receiving and playing the multimedia data segment distributed by the server, wherein the multimedia data segment is sent to the distribution thread corresponding to the data identifier by the server and synchronously distributed through the distribution thread.
optionally, receiving and playing the multimedia data segment distributed by the server, including:
And when the number of the multimedia data fragments distributed by the receiving server side reaches the preset number, starting to play the received multimedia data fragments.
Wherein the preset number may be 2 or 3, for example. Illustratively, on the android operating system, the multimedia data segment typically starts to play after receiving 2 TS segments. When the number of the clients is greater than or equal to 2, each client preferably has the same hardware configuration and software configuration in the same local area network. The server side synchronously sends the multimedia data segments to at least one client side, and as the network environment and the software and hardware configuration of the client side are completely the same, all the multimedia data segments can simultaneously reach the receiving buffer area of the client side, and all the client sides start playing when receiving the preset number of the multimedia data segments, thereby realizing that all the terminals synchronously play the same multimedia data resource.
in addition, when there is a difference between the network environment and the software and hardware configuration of each client, optionally, after receiving and playing the multimedia data segment distributed by the server, the method further includes:
resending the request message to the server end at intervals of a first time interval; when receiving a multimedia data segment redistributed by a server, creating a new playing interface, wherein the new playing interface is covered by the current playing interface; loading the multimedia data segments redistributed by the server side in a new playing interface and playing; and closing the current playing interface.
when the network environment and the software and hardware configuration of each client are different, the receiving time of the multimedia data segment sent by the server at the same time by each client is different, and the time interval from the receiving of the multimedia data segment to the playing of the multimedia data segment by each client is different, so that the asynchronous phenomenon of time delay is easy to occur in the process of playing the same multimedia data by each client. In order to eliminate the accumulated time delay among the clients, the clients can resend the request message to the server every first time interval so as to receive and play the multimedia data segment distributed by the server at the current moment, thereby realizing that the clients revise the current playing content so as to eliminate the phenomenon of asynchronous playing caused by the time delay.
when the client performs play switching between the currently played multimedia data segment and the multimedia data segment requested again, a new play interface can be created under the current play interface for loading the multimedia data segment requested again, and the current play interface can be closed after the multimedia data segment requested again starts to be played in the newly created play interface, so that the condition of black screen or flickering caused when the same play interface is used for switching the two multimedia data segments is avoided, and the user experience is improved.
Optionally, the first time interval is dynamically adjusted according to the playing parameter of the client.
The playing parameters may be, for example, parameters of the client hardware, software, and network environment, such as network speed, running memory remaining, CPU resource occupancy rate, or CPU running speed, which are monitored in real time by the client during the playing of the multimedia data segment. Each client may dynamically adjust the first time interval according to its own play parameter, for example, when it is determined that the current play environment is friendly through the play parameter, the first time interval may be set to a larger value, for example, 3 to 5 minutes; when the current playing environment condition is determined to be poor by the playing parameter, the first time interval setting value may be small, and may be 30 seconds or 1 minute, for example. The values of the first time interval are all examples, and the values may be specifically adjusted for different playing environments of the client. By dynamically adjusting the first time interval, the client resources can be saved and the waste of the client resources can be avoided on the premise of ensuring that the clients synchronously play the multimedia data.
in the multimedia data synchronous playing method provided by this embodiment, a client sends a request message to a server, where the request message includes a data identifier of requested multimedia data, so that the server sends at least one received request message to corresponding distribution threads according to the data identifier of the request message, and synchronously distributes multimedia data segments corresponding to the data identifier through the distribution threads; and the client receives and plays the multimedia data segments synchronously distributed by the server. The plurality of clients send request messages to the server, receive and play the multimedia data segments synchronously sent by the server, thereby simply realizing the synchronous play of the multimedia data of each client and saving the cost of developing a special player. In addition, the multimedia data synchronous playing system provided in this embodiment is the same inventive concept as the multimedia data synchronous playing method provided in the above embodiment, and the technical details that are not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a multimedia data synchronous playing system according to a third embodiment of the present invention, which is applicable to synchronous playing of multimedia data, and is particularly applicable to a situation where each terminal performs synchronous playing of multimedia data when hardware configuration and software configuration of each terminal in the same lan are the same.
Referring to fig. 3, the multimedia data synchronous playing system in this embodiment includes:
At least one client 310, configured to send a request message to a server, where the request message includes a data identifier of the requested multimedia data;
The server 320 is configured to receive at least one request message sent by at least one client; sending at least one request message to a distribution thread corresponding to the data identification in the at least one request message; synchronously distributing the multimedia data segments corresponding to the data identifications to corresponding clients through the distribution threads;
And the at least one client 310 is further configured to receive and play the multimedia data segment distributed by the server.
optionally, the server is specifically configured to: acquiring source multimedia data corresponding to the data identification through a distribution thread; converting the source multimedia data into multimedia data with a preset format; cutting multimedia data in a preset format into at least one multimedia data segment; and synchronously distributing at least one multimedia data segment to the corresponding client.
optionally, the preset format is an H264 format, and the multimedia data segment is a TS segment.
optionally, the client is specifically configured to: and when the number of the multimedia data fragments distributed by the receiving server side reaches the preset number, starting to play the received multimedia data fragments.
Optionally, the client is further configured to: after receiving and playing the multimedia data segment distributed by the server side, resending the request message to the server side at intervals of a first time interval; when receiving a multimedia data segment redistributed by a server, creating a new playing interface, wherein the new playing interface is covered by the current playing interface; loading the multimedia data segments redistributed by the server side in a new playing interface and playing; and closing the current playing interface.
optionally, the first time interval is dynamically adjusted according to the playing parameter of the client.
The multimedia data synchronous playing system provided by the embodiment belongs to the same inventive concept as the multimedia data synchronous playing method provided by the above embodiment, and the technical details which are not described in detail in the embodiment can be referred to the above embodiment, and the embodiment has the same beneficial effects as the above embodiment.
example four
The present embodiment provides a terminal, which is applicable to synchronous playing of multimedia data, and is particularly applicable to a situation where each terminal performs synchronous playing of multimedia data when hardware configuration and software configuration of each terminal in the same lan are the same. Fig. 4 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention.
Referring to fig. 4, the terminal includes:
one or more processors 410;
A memory 420 for storing one or more programs;
When the one or more programs are executed by the one or more processors 410, the one or more processors 410 implement the method for synchronously playing multimedia data as set forth in the above embodiments.
In FIG. 4, a processor 410 is illustrated as an example; the processor 410 and the memory 420 may be connected by a bus or other means, such as by a bus in FIG. 4.
The memory 420 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the multimedia data synchronous playing method in the embodiment of the present invention. The processor 410 executes various functional applications and data processing of the terminal by executing software programs, instructions and modules stored in the memory 420, that is, implements the above-described multimedia data synchronous playing method.
the memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 420 may further include memory located remotely from the processor 410, which may be connected to the terminal over 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 terminal proposed by the present embodiment and the method for synchronously playing multimedia data proposed by the foregoing embodiment belong to the same inventive concept, and the technical details that are not described in detail in the present embodiment can be referred to the foregoing embodiment, and the present embodiment and the foregoing embodiment have the same beneficial effects.
EXAMPLE five
The present embodiment provides a storage medium, on which a computer program is stored, which when executed by a processor implements the multimedia data synchronous playing method as set forth in the above embodiments.
The storage medium proposed by the present embodiment and the method for synchronously playing multimedia data proposed by the foregoing embodiment belong to the same inventive concept, and technical details that are not described in detail in the present embodiment can be referred to the foregoing embodiment, and the present embodiment has the same beneficial effects as the foregoing embodiment.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. a multimedia data synchronous playing method is characterized in that the method is applied to a server side and comprises the following steps:
receiving at least one request message sent by at least one client, wherein the request message comprises a data identification of the requested multimedia data;
sending the at least one request message to a distribution thread corresponding to the data identification in the at least one request message;
and synchronously distributing the multimedia data segments corresponding to the data identifications to corresponding clients through the distribution thread so that at least one client synchronously plays the multimedia data segments.
2. The method of claim 1, wherein the synchronously distributing, by the distribution thread, the multimedia data segments corresponding to the data identifications to the corresponding clients comprises:
Obtaining source multimedia data corresponding to the data identification through the distribution thread;
Converting the source multimedia data into multimedia data with a preset format;
Cutting the multimedia data in the preset format into at least one multimedia data segment;
And synchronously distributing the at least one multimedia data segment to the corresponding client.
3. The method of claim 2, wherein the predetermined format is an H264 format, and the multimedia data segment is a TS segment.
4. A multimedia data synchronous playing method is applied to a client and comprises the following steps:
Sending a request message to a server, wherein the request message comprises a data identifier of the requested multimedia data;
and receiving and playing the multimedia data segment distributed by the server, wherein the multimedia data segment is sent to the distribution thread corresponding to the data identifier by the server and synchronously distributed through the distribution thread.
5. The method according to claim 4, wherein the receiving and playing the multimedia data segment distributed by the server side comprises:
And when the number of the received multimedia data fragments distributed by the server side reaches a preset number, starting to play the received multimedia data fragments.
6. the method according to claim 4, further comprising, after said receiving and playing the multimedia data segment distributed by the server side:
Resending the request message to the server side at intervals of a first time interval;
When receiving a multimedia data segment redistributed by a server, creating a new playing interface, wherein the new playing interface is covered by the current playing interface;
loading the multimedia data segment redistributed by the server side in the new playing interface and playing;
And closing the current playing interface.
7. The method of claim 6, wherein the first time interval is dynamically adjusted according to a playing parameter of the client.
8. A system for synchronized playback of multimedia data, comprising:
At least one client side, which is used for sending a request message to a server side, wherein the request message comprises a data identification of the requested multimedia data;
The server is used for receiving at least one request message sent by at least one client; sending the at least one request message to a distribution thread corresponding to the data identification in the at least one request message; synchronously distributing the multimedia data segments corresponding to the data identifications to corresponding clients through the distribution threads;
the at least one client is also used for receiving and playing the multimedia data segments distributed by the server.
9. A terminal, characterized in that the terminal comprises:
one or more processors;
A memory for storing one or more programs;
When executed by the one or more processors, cause the one or more processors to implement the method of synchronized playback of multimedia data as recited in any of claims 1-3 or 4-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method for synchronized playback of multimedia data according to any one of claims 1-3 or 4-7.
CN201910951307.2A 2019-10-08 2019-10-08 Multimedia data synchronous playing method, system, terminal and storage medium Pending CN110572703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910951307.2A CN110572703A (en) 2019-10-08 2019-10-08 Multimedia data synchronous playing method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910951307.2A CN110572703A (en) 2019-10-08 2019-10-08 Multimedia data synchronous playing method, system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN110572703A true CN110572703A (en) 2019-12-13

Family

ID=68784197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910951307.2A Pending CN110572703A (en) 2019-10-08 2019-10-08 Multimedia data synchronous playing method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110572703A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968704A (en) * 2019-12-24 2020-04-07 浪潮云信息技术有限公司 Multimedia processing method of RADS Gateway

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2190207A1 (en) * 1994-10-21 2010-05-26 AT&T Corporation Method of video buffer verification
CN102647621A (en) * 2012-04-28 2012-08-22 武汉兴图新科电子股份有限公司 A video synchronous playback device and method
CN106412629A (en) * 2016-10-08 2017-02-15 广东欧珀移动通信有限公司 Media data transmission processing method, device and system
CN108513159A (en) * 2017-02-27 2018-09-07 中兴通讯股份有限公司 Multiple terminals synchronous broadcast controlling method, main equipment, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2190207A1 (en) * 1994-10-21 2010-05-26 AT&T Corporation Method of video buffer verification
CN102647621A (en) * 2012-04-28 2012-08-22 武汉兴图新科电子股份有限公司 A video synchronous playback device and method
CN106412629A (en) * 2016-10-08 2017-02-15 广东欧珀移动通信有限公司 Media data transmission processing method, device and system
CN108513159A (en) * 2017-02-27 2018-09-07 中兴通讯股份有限公司 Multiple terminals synchronous broadcast controlling method, main equipment, apparatus and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968704A (en) * 2019-12-24 2020-04-07 浪潮云信息技术有限公司 Multimedia processing method of RADS Gateway
CN110968704B (en) * 2019-12-24 2023-04-07 浪潮云信息技术股份公司 Multimedia processing method of RADS Gateway

Similar Documents

Publication Publication Date Title
CN112437122B (en) Communication method, communication device, computer readable medium and electronic equipment
US11063999B2 (en) Distributed fragment timestamp synchronization
US9609371B2 (en) Online video playing method and video playing server
US9674252B2 (en) System and method for efficient delivery of repetitive multimedia content
EP2364017A1 (en) Method, system and user device for obtaining key frame in streaming media service
US11863841B2 (en) Video playing control method and system
CN107819833B (en) A kind of access live streaming connects the method and device of wheat
CN106303674B (en) Data transmission method, device and intelligent television system
CN108810657B (en) A method and system for setting video cover
CN113891175B (en) Live broadcast push flow method, device and system
CN112616065A (en) Screen image initiating method and device, computer equipment, readable storage medium and screen image presenting system
CN101267531A (en) An interactive network TV system and its realization method
CN113727199A (en) HLS slice rapid playing starting method
CN107547517B (en) Audio and video program recording method, network equipment and computer device
CN107920072B (en) Multimedia sharing method and system based on data characteristics
CN115002497B (en) Live broadcast source-returning scheduling method and system and source-returning server
WO2023061060A1 (en) Audio and video code stream scheduling method, system, medium and electronic apparatus
CN107493486A (en) Method, system and the terminal device that a kind of video playback terminates
CN105791987A (en) Media data playing method and terminal
CN115065832A (en) WebRtc-based live broadcast method and related equipment
CN110572703A (en) Multimedia data synchronous playing method, system, terminal and storage medium
CN110166834B (en) Data playing method, device and storage medium
CN114900707B (en) Live broadcast method and system
CN108632681B (en) Method, server and terminal for playing media stream
WO2024066362A1 (en) Data transmission method and apparatus, computer readable medium, and electronic 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
TA01 Transfer of patent application right

Effective date of registration: 20200820

Address after: Room 821, No. 333, jiufo Jianshe Road, Zhongxin Guangzhou Knowledge City, Huangpu District, Guangzhou City, Guangdong Province

Applicant after: Skyworth Group Intelligent Technology Co.,Ltd.

Address before: 510730 No. 99 Kaida Road, Science City, Guangzhou Economic and Technological Development Zone, Guangdong Province

Applicant before: GUANGZHOU SKYWORTH FLAT DISPLAY TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20191213

RJ01 Rejection of invention patent application after publication