[go: up one dir, main page]

CN113824973A - Multi-platform direct-push plug flow method, system, electronic device and storage medium - Google Patents

Multi-platform direct-push plug flow method, system, electronic device and storage medium Download PDF

Info

Publication number
CN113824973A
CN113824973A CN202110893130.2A CN202110893130A CN113824973A CN 113824973 A CN113824973 A CN 113824973A CN 202110893130 A CN202110893130 A CN 202110893130A CN 113824973 A CN113824973 A CN 113824973A
Authority
CN
China
Prior art keywords
video data
audio
threads
stream
queue
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
CN202110893130.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.)
Hangzhou Xingxi Technology Co ltd
Original Assignee
Hangzhou Xingxi 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 Hangzhou Xingxi Technology Co ltd filed Critical Hangzhou Xingxi Technology Co ltd
Priority to CN202110893130.2A priority Critical patent/CN113824973A/en
Publication of CN113824973A publication Critical patent/CN113824973A/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences

Landscapes

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

Abstract

The application relates to a method, a system, an electronic device and a storage medium for pushing stream by multiple platforms, wherein at least two threads are created on a client, and a stream pusher is created for the at least two threads, wherein each thread corresponds to a live broadcast platform; acquiring encoded audio and video data, and adding the audio and video data into a queue to be sent; at least two threads correspondingly push the audio and video data in the queue to be sent to at least two live broadcast platforms through the stream pusher, compared with the prior art, the multi-platform stream pushing needs to be converted and pushed through an intermediate server, additional delay can be brought to the audio and video data transmission through the intermediate server, the privacy of user data cannot be guaranteed, a third-party server is used as an intermediate link, and the problem of stream pushing link interruption can be caused due to the unexpected problem of the intermediate link.

Description

Multi-platform direct-push plug flow method, system, electronic device and storage medium
Technical Field
The present application relates to the field of multimedia technologies, and in particular, to a method, a system, an electronic device, and a storage medium for multi-platform direct-push streaming.
Background
With the development of information technology, the network live broadcast industry is rapidly emerging with its wide prospect, and a great number of live broadcast platforms are generated at the same time. In the related technology, live audio and video data stream pushing modes mainly include single-platform stream pushing and multi-platform stream pushing realized through an intermediate server, wherein the multi-platform stream pushing distributes programs to a plurality of live broadcast platforms at the same time, so that the number of people to watch can be increased, but the multi-platform stream pushing has data transmission delay and brings potential safety hazards to user data or the problem of stream pushing link interruption.
At present, no effective solution is provided for the problems of data transmission delay, potential safety hazard or push flow link interruption of multi-platform push flow in the related technology.
Disclosure of Invention
The embodiment of the application provides a method, a system, an electronic device and a storage medium for multi-platform direct-push stream pushing, so as to at least solve the problems of data transmission delay, potential safety hazard or stream pushing link interruption of multi-platform stream pushing in the related art.
In a first aspect, an embodiment of the present application provides a method for multi-platform direct-push plug flow, where the method includes:
creating at least two threads on a client, and creating a stream pusher for the at least two threads, wherein each thread corresponds to a live broadcast platform;
acquiring encoded audio and video data, and adding the audio and video data into a queue to be sent;
and at least two threads correspondingly push and stream the audio and video data in the queue to be sent to at least two live broadcast platforms through the stream pusher.
In some of these embodiments, after the creating at least two threads on the client, the method further comprises:
creating a sending queue for each thread;
caching the audio and video data in the queue to be sent into a sending queue of each thread;
and at least two threads correspondingly push and stream the audio and video data in the sending queue to at least two live broadcast platforms through the stream pusher.
In some of these embodiments, after creating at least two threads on the client, the method includes:
creating a plug flow device for each thread;
and at least two threads correspondingly push and stream the audio and video data in the queue to be sent to at least two live broadcast platforms through the corresponding stream pushers.
In some of these embodiments, after the creating of the at least two threads on the client, the method includes:
creating a sending queue and a plug-in unit for each thread;
caching the audio and video data in the queue to be sent into a sending queue of each thread;
and at least two threads correspondingly push and stream the audio and video data in the sending queue to at least two live broadcast platforms through the corresponding stream pushers.
In some of these embodiments, after creating at least two threads on the client and creating a streamer for the at least two threads, the method includes:
acquiring at least two coded audio/video data, and correspondingly adding the at least two coded audio/video data into a queue to be sent;
and at least two threads correspondingly push and stream the audio and video data in the queue to be sent to at least two live broadcast platforms through the stream pusher.
In some embodiments, the multimedia processing tool is transplanted to an operating system and serves as a stream driver for sending audio and video data through a streaming media protocol.
In a second aspect, the embodiment of the present application provides a multi-platform direct-push plug flow system, which includes a creation module, an acquisition module, and a plug flow module,
the creating module is used for creating at least two threads on the client and creating a stream pusher for the at least two threads, wherein each thread corresponds to a live broadcast platform;
the acquisition module is used for acquiring the coded audio and video data and adding the audio and video data into a queue to be sent;
and the stream pushing module is used for correspondingly pushing the audio and video data in the queue to be sent to at least two live broadcast platforms by at least two threads through the stream pusher.
In some embodiments, after the at least two threads are created on the client, the creation module is further configured to create a send queue for each thread;
caching the audio and video data in the queue to be sent into a sending queue of each thread;
and at least two threads correspondingly push and stream the audio and video data in the sending queue to at least two live broadcast platforms through the stream pusher.
In a third aspect, an embodiment of the present application provides an electronic apparatus, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executing the computer program, implements the method for multi-platform direct-push streaming according to the first aspect.
In a fourth aspect, the present application provides a storage medium, on which a computer program is stored, where the program, when executed by a processor, implements the method for multi-platform direct-push streaming according to the first aspect.
Compared with the related art, the method for pushing the stream by the multiple platforms provided by the embodiment of the application creates the stream pusher for at least two threads by creating the at least two threads on the client, wherein each thread corresponds to one live broadcast platform; acquiring encoded audio and video data, and adding the audio and video data into a queue to be sent; the at least two threads correspondingly push the audio and video data in the queue to be sent to the at least two live broadcast platforms through the stream pusher, so that the problems that data transmission is delayed, potential safety hazards exist or a stream pushing link is interrupted due to the fact that multi-platform stream pushing needs to be converted and pushed through an intermediate server are 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 flow chart of a method of multi-platform push-through streaming according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a method of multi-platform direct push-flow according to an embodiment of the present application;
FIG. 3 is a schematic diagram of another method of multi-platform direct push-flow according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a third method of multi-platform direct push-flow according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a fourth method for multi-platform direct push-flow according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a fifth method of multi-platform direct push-flow according to an embodiment of the present application;
fig. 7 is a block diagram of a multi-platform direct-push streaming system according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference herein to "a plurality" means greater than or equal to two. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The present embodiment provides a method for multi-platform direct-push plug flow, and fig. 1 is a flowchart of the method for multi-platform direct-push plug flow according to the embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step S101, at least two threads are created on a client, and a stream pusher is created for the at least two threads, wherein each thread corresponds to a live broadcast platform; the thread is the smallest unit that the operating system can perform operation scheduling. Threads are included in a process and are the actual unit of operation in the process. One thread refers to a single-sequence control flow in a process, a plurality of threads can be concurrently executed in one process, each thread executes different tasks in parallel, and the stream pusher can push the packaged audio and video data to a live broadcast platform.
Illustratively, the threads in the android system have the characteristics of "guaranteed independent running" and "main memory and other resources in shared processes", and are suitable for being used as a running carrier for distributing and sending data to each live platform on the client.
Step S102, acquiring coded audio and video data, and adding the audio and video data into a queue to be sent; in this embodiment, the audio/video data in the queue to be sent is used as data sources of at least two threads.
And step S103, correspondingly pushing the audio and video data in the queue to be sent to at least two live broadcast platforms by at least two threads through the current pusher. In this embodiment, the audio and video data in the queue to be sent is directly pushed to the live broadcast platform through the stream pusher, so that multi-platform synchronization can be realized as much as possible, but if the network fluctuates, the waiting time for sending the data is reduced, packet loss is reduced as early as possible, and the live broadcast platform is prevented from being blocked.
Exemplarily, fig. 2 is a schematic diagram of a multi-platform direct-push streaming method according to an embodiment of the present application, and as shown in fig. 2, encoded audio and video data is added to a queue to be sent, a thread a, a thread B, and a thread C continuously take out the audio and video data from the queue to be sent, and then the audio and video data of each thread is respectively pushed to a live platform a, a live platform B, and a live platform C by a stream pusher, so that multi-platform direct-push streaming without any other intermediate link at a client is realized.
In the related art, the process of multi-platform plug flow realized by the intermediate server is as follows: audio and video data → client → intermediate server → live platform a/live platform B/live platform C, and the process of multi-platform direct push streaming realized by the technical scheme of the application is as follows: audio and video data → client → live platform a/live platform B/live platform C.
Compared with the prior art that multi-platform plug flow needs to be converted and pushed through an intermediate server, additional delay is brought to the transmission of audio and video data through the intermediate server, potential safety hazards are brought to user data, the privacy of the user data cannot be guaranteed, and a third-party server is used as an intermediate link, and a plug flow link is possibly interrupted due to the unpredictable problem of the intermediate link, in the technical scheme of the application, at least two threads are established on a client through the steps S101 to S103, a plug flow device is established for the at least two threads, each thread corresponds to one live broadcast platform, the coded audio and video data are added into a queue to be sent, the audio and video data in the queue to be sent are correspondingly pushed to the at least two live broadcast platforms through the plug flow device by the at least two threads, and the multi-platform plug flow realized through the intermediate server is solved, the data transmission is delayed, and potential safety hazard or the problem of interruption of a plug flow link exists.
In some embodiments, fig. 3 is a schematic diagram of another multi-platform direct push streaming method according to an embodiment of the present application, and as shown in fig. 3, after three threads are created on a client, a sending queue is created for each thread, audio and video data in the queue to be sent are cached in the sending queue of each thread, and the three threads push the audio and video data in the sending queue to a corresponding live platform through a stream pusher.
Specifically, if the waiting time for transmitting the audio and video data is reduced by network fluctuation and packet loss is performed as early as possible, the live broadcast data of each live broadcast platform is incomplete, so in this embodiment, in order to ensure the integrity of the live broadcast data of each live broadcast platform and sacrifice certain synchronicity, the audio and video data in the queue to be transmitted are firstly cached in the transmission queue of each thread to ensure the integrity of the audio and video data, and then the audio and video data in the transmission queue are correspondingly pushed to the corresponding live broadcast platform by the stream pusher.
In some embodiments, fig. 4 is a schematic diagram of a third multi-platform direct push streaming method according to an embodiment of the present application, and as shown in fig. 4, after at least two threads are created on a client, a streamer is created for each thread; and correspondingly pushing the audio and video data in the queue to be sent to at least two live broadcast platforms by the at least two threads through the corresponding flow pushers.
Specifically, when a plurality of threads share one stream pusher for stream pushing, the memory occupied by the threads can be reduced, and the system performance can be improved, but some problems and limitations may be brought, for example, the resolutions required by a plurality of live broadcast platforms are different, a plurality of resolutions need to be set for the plurality of live broadcast platforms, or when stream pushing is wrong, which live broadcast platform is in stream pushing mistake needs to be judged, and under the condition that the stream pushing of the plurality of live broadcast platforms is wrong, the reason of the stream pushing mistake of each live broadcast platform needs to be analyzed, so that the realization difficulty is high; therefore, in this embodiment, a stream pusher is created for each thread, and each thread can correspondingly stream the audio and video data in the queue to be sent to at least two live broadcast platforms through the respective stream pusher, and each stream pusher independently sets the resolution of the corresponding live broadcast platform.
In some embodiments, fig. 5 is a schematic diagram of a fourth method for multi-platform direct-push streaming according to an embodiment of the present application, and as shown in fig. 5, after at least two threads are created on a client, a sending queue and a stream pusher are created for each thread, and audio and video data in a queue to be sent is cached in the sending queue of each thread; and the at least two threads correspondingly push and stream the audio and video data in the sending queue to at least two live broadcast platforms through corresponding stream pushers. In the embodiment, each thread is enabled to operate independently by establishing a sending queue and a stream pusher for each thread, so that the completeness of live broadcast data of each live broadcast platform can be ensured, and the difficulty in realizing the whole scheme can be small.
In some embodiments, at least two threads are created on a client, after a stream pusher is created for the at least two threads, at least two encoded audio and video data are acquired, and the at least two audio and video data are correspondingly added into a queue to be sent; and correspondingly pushing the audio and video data in the queue to be sent to at least two live broadcast platforms by at least two threads through the stream pusher.
By way of example, fig. 6 is a schematic diagram of a fifth multi-platform direct-push plug flow method according to an embodiment of the present application, as shown in fig. 6, different audio/video data are added into the corresponding queue to be sent, the thread a, the thread B and the thread C respectively and continuously take out the audio/video data a, the audio/video data B and the audio/video data C from the queue to be sent, then different audio and video data are respectively pushed to the corresponding live broadcast platforms by the current pusher, so that the live broadcast platform A plays the audio and video data A, the live broadcast platform B plays the audio and video data B, the live broadcast platform C plays the audio and video data C, through the embodiment, the problems of multi-platform stream pushing, data transmission delay and potential safety hazard or stream pushing link interruption which are realized through the intermediate server are solved, and different live broadcast platforms can acquire different audio and video data.
Optionally, a sending queue and a stream pusher are created for each thread, and different audio and video data in the queue to be sent are respectively and correspondingly cached in the sending queue of each thread; and the at least two threads correspondingly push and stream the audio and video data in the sending queue to at least two live broadcast platforms through corresponding stream pushers. In the embodiment, each thread is enabled to operate independently by establishing a sending queue and a stream pusher for each thread, so that the completeness of live broadcast data of each live broadcast platform can be ensured, and the difficulty in realizing the whole scheme can be small.
In some embodiments, the multimedia processing tool can be transplanted to an operating system and used as a stream driver for sending audio and video data through a streaming media protocol. Illustratively, ffmpeg or librtmmp can be used for porting to an android system, and the rtmp protocol is used as a stream driver for sending audio and video data.
It should be noted that, in the above embodiments, the audio/video data a, the queue a to be sent, the thread a, and the live broadcast platform a do not correspond to each other uniquely, and may be flexibly matched in practical application, and other labels are the same. The steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and while a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The embodiment also provides a multi-platform direct-push plug-flow system, which is used for implementing the above embodiments and preferred embodiments, and the description of the system already made is omitted. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a block diagram of a multi-platform direct push streaming system according to an embodiment of the present application, where as shown in fig. 7, the system includes a creating module 71, an obtaining module 72, and a streaming module 73, where the creating module 71 is configured to create at least two threads on a client, and create a streamer for the at least two threads, where each thread corresponds to a live platform; the obtaining module 72 is configured to obtain encoded audio/video data, and add the audio/video data to a queue to be sent; the stream pushing module 73 is used for at least two threads to correspondingly push the audio and video data in the queue to be sent to at least two live broadcast platforms through the stream pusher, so that the problems of multi-platform stream pushing, data transmission delay, potential safety hazards or stream pushing link interruption caused by the fact that the multi-platform stream pushing is realized through the intermediate server are solved.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
The present embodiment also provides an electronic device comprising a memory having a computer program stored therein and a processor configured to execute the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
It should be noted that, for specific examples in this embodiment, reference may be made to examples described in the foregoing embodiments and optional implementations, and details of this embodiment are not described herein again.
In addition, in combination with the multi-platform direct-push plug flow method in the foregoing embodiments, the embodiments of the present application may provide a storage medium to implement. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any one of the methods of multi-platform push-through streaming in the above embodiments.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a multi-platform push-through method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be understood by those skilled in the art that various features of the above-described embodiments can be combined in any combination, and for the sake of brevity, all possible combinations of features in the above-described embodiments are not described in detail, but rather, all combinations of features which are not inconsistent with each other should be construed as being within the scope of the present disclosure.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for multi-platform direct-push plug flow, the method comprising:
creating at least two threads on a client, and creating a stream pusher for the at least two threads, wherein each thread corresponds to a live broadcast platform;
acquiring encoded audio and video data, and adding the audio and video data into a queue to be sent;
and at least two threads correspondingly push and stream the audio and video data in the queue to be sent to at least two live broadcast platforms through the stream pusher.
2. The method of claim 1, wherein after creating at least two threads on the client, the method further comprises:
creating a sending queue for each thread;
caching the audio and video data in the queue to be sent into a sending queue of each thread;
and at least two threads correspondingly push and stream the audio and video data in the sending queue to at least two live broadcast platforms through the stream pusher.
3. The method of claim 1, wherein after creating at least two threads on the client, the method comprises:
creating a plug flow device for each thread;
and at least two threads correspondingly push and stream the audio and video data in the queue to be sent to at least two live broadcast platforms through the corresponding stream pushers.
4. The method of claim 1, wherein after creating at least two threads on the client, the method comprises:
creating a sending queue and a plug-in unit for each thread;
caching the audio and video data in the queue to be sent into a sending queue of each thread;
and at least two threads correspondingly push and stream the audio and video data in the sending queue to at least two live broadcast platforms through the corresponding stream pushers.
5. The method of claim 1, wherein after creating at least two threads on the client and creating a streamer for the at least two threads, the method comprises:
acquiring at least two coded audio/video data, and correspondingly adding the at least two coded audio/video data into a queue to be sent;
and at least two threads correspondingly push and stream the audio and video data in the queue to be sent to at least two live broadcast platforms through the stream pusher.
6. The method according to any one of claims 3 to 5, characterized in that the multimedia processing tool is ported to an operating system as a streamer for sending audio-video data via a streaming media protocol.
7. The system for multi-platform direct pushing and flow pushing is characterized by comprising a creating module, an obtaining module and a flow pushing module,
the creating module is used for creating at least two threads on the client and creating a stream pusher for the at least two threads, wherein each thread corresponds to a live broadcast platform;
the acquisition module is used for acquiring the coded audio and video data and adding the audio and video data into a queue to be sent;
and the stream pushing module is used for correspondingly pushing the audio and video data in the queue to be sent to at least two live broadcast platforms by at least two threads through the stream pusher.
8. The system of claim 7, wherein after the at least two threads are created on the client, the creation module is further configured to create a send queue for each thread;
caching the audio and video data in the queue to be sent into a sending queue of each thread;
and at least two threads correspondingly push and stream the audio and video data in the sending queue to at least two live broadcast platforms through the stream pusher.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the method of multi-platform direct-push streaming according to any one of claims 1 to 6.
10. A storage medium having a computer program stored thereon, wherein the computer program is configured to perform the method of multi-platform push-through flow according to any one of claims 1 to 6 when executed.
CN202110893130.2A 2021-08-04 2021-08-04 Multi-platform direct-push plug flow method, system, electronic device and storage medium Pending CN113824973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110893130.2A CN113824973A (en) 2021-08-04 2021-08-04 Multi-platform direct-push plug flow method, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110893130.2A CN113824973A (en) 2021-08-04 2021-08-04 Multi-platform direct-push plug flow method, system, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN113824973A true CN113824973A (en) 2021-12-21

Family

ID=78912935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110893130.2A Pending CN113824973A (en) 2021-08-04 2021-08-04 Multi-platform direct-push plug flow method, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113824973A (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634694A (en) * 2013-11-18 2014-03-12 奥维通信股份有限公司 IP-based streaming media playing method and system
CN105426261A (en) * 2015-11-11 2016-03-23 东莞福泽尔电子科技有限公司 Cross-platform real-time memory communication system method
CN107454384A (en) * 2017-07-27 2017-12-08 网宿科技股份有限公司 A live performance testing method and device
CN107483460A (en) * 2017-08-29 2017-12-15 广州华多网络科技有限公司 A kind of method and system of multi-platform parallel instructor in broadcasting's plug-flow
CN107679822A (en) * 2017-09-04 2018-02-09 金蝶蝶金云计算有限公司 Order status automatic update method, storage medium and computer equipment in ERP system
CN108111870A (en) * 2017-12-28 2018-06-01 苏州麦迪斯顿医疗科技股份有限公司 A kind of method for processing video frequency and device
CN108650520A (en) * 2018-03-30 2018-10-12 北京金山安全软件有限公司 Video live broadcast control method, related equipment and computer storage medium
CN109874027A (en) * 2019-03-11 2019-06-11 宸瑞普惠(广州)科技有限公司 A kind of low delay educational surgery demonstration live broadcasting method and its system
CN110475122A (en) * 2018-05-10 2019-11-19 腾讯科技(深圳)有限公司 Method and device for live video stream broadcasting
CN110798698A (en) * 2019-11-25 2020-02-14 盈动电子竞技(海南自贸区)有限公司 Multi-server stream pushing method and equipment for live broadcast application program
CN111416763A (en) * 2020-02-21 2020-07-14 北京值得买科技股份有限公司 Message pushing method
CN111476002A (en) * 2020-04-07 2020-07-31 北京东方金信科技有限公司 Data file coding format conversion method and system
CN111756811A (en) * 2020-05-29 2020-10-09 苏州浪潮智能科技有限公司 A method, system, device and medium for active push of a distributed system
CN112153410A (en) * 2020-09-30 2020-12-29 郑州信大捷安信息技术股份有限公司 High-concurrency testing method and system for streaming media service
CN112351299A (en) * 2020-11-05 2021-02-09 山东亚华电子股份有限公司 Propaganda and education broadcasting method and device
CN112702576A (en) * 2020-12-24 2021-04-23 浙江赫千电子科技有限公司 Data acquisition plug-flow display method for vehicle-mounted video

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634694A (en) * 2013-11-18 2014-03-12 奥维通信股份有限公司 IP-based streaming media playing method and system
CN105426261A (en) * 2015-11-11 2016-03-23 东莞福泽尔电子科技有限公司 Cross-platform real-time memory communication system method
CN107454384A (en) * 2017-07-27 2017-12-08 网宿科技股份有限公司 A live performance testing method and device
CN107483460A (en) * 2017-08-29 2017-12-15 广州华多网络科技有限公司 A kind of method and system of multi-platform parallel instructor in broadcasting's plug-flow
CN107679822A (en) * 2017-09-04 2018-02-09 金蝶蝶金云计算有限公司 Order status automatic update method, storage medium and computer equipment in ERP system
CN108111870A (en) * 2017-12-28 2018-06-01 苏州麦迪斯顿医疗科技股份有限公司 A kind of method for processing video frequency and device
CN108650520A (en) * 2018-03-30 2018-10-12 北京金山安全软件有限公司 Video live broadcast control method, related equipment and computer storage medium
CN110475122A (en) * 2018-05-10 2019-11-19 腾讯科技(深圳)有限公司 Method and device for live video stream broadcasting
CN109874027A (en) * 2019-03-11 2019-06-11 宸瑞普惠(广州)科技有限公司 A kind of low delay educational surgery demonstration live broadcasting method and its system
CN110798698A (en) * 2019-11-25 2020-02-14 盈动电子竞技(海南自贸区)有限公司 Multi-server stream pushing method and equipment for live broadcast application program
CN111416763A (en) * 2020-02-21 2020-07-14 北京值得买科技股份有限公司 Message pushing method
CN111476002A (en) * 2020-04-07 2020-07-31 北京东方金信科技有限公司 Data file coding format conversion method and system
CN111756811A (en) * 2020-05-29 2020-10-09 苏州浪潮智能科技有限公司 A method, system, device and medium for active push of a distributed system
CN112153410A (en) * 2020-09-30 2020-12-29 郑州信大捷安信息技术股份有限公司 High-concurrency testing method and system for streaming media service
CN112351299A (en) * 2020-11-05 2021-02-09 山东亚华电子股份有限公司 Propaganda and education broadcasting method and device
CN112702576A (en) * 2020-12-24 2021-04-23 浙江赫千电子科技有限公司 Data acquisition plug-flow display method for vehicle-mounted video

Similar Documents

Publication Publication Date Title
CN112512090B (en) Communication processing method and device, computer readable medium and electronic equipment
CN109496419B (en) File processing method, device and system
US10462529B2 (en) Multicast transmission method, apparatus and system for OTT media
US20130124689A1 (en) Content delivery using multiple sources over heterogeneous interfaces
US8719367B2 (en) Data processing apparatus, distributed processing system, data processing method and data processing program
CN103533460A (en) Method, device, terminal and system for sharing television service
CN102202061B (en) Client-server session parallelization
CN105592318B (en) System, equipment and method for realizing HLS channel review service
US20170251050A1 (en) Cloud storage accelerator
CN111931962B (en) Information display method and device and electronic equipment
CN111355983B (en) Service data processing method, device, server and storage medium
US10856297B2 (en) Pre-calculation of sub-event RF channel
CN110955499A (en) Processor core configuration method, device, terminal and storage medium
CN113824973A (en) Multi-platform direct-push plug flow method, system, electronic device and storage medium
CN112565656A (en) Video call method, device, system, electronic equipment and storage medium
US8237721B2 (en) Information handling system and method for using main link data channels
CN104506622B (en) Multi-screen synchronous control method and system
CN114071170A (en) Network live broadcast interaction method and equipment
US20150373424A1 (en) Apparatus and Method for Conveying Information
CN106506561B (en) A kind of flow-medium transmission method and device
CN113595976B (en) Multimedia playing method, cloud server, system and storage medium
CN105263033B (en) A kind of sending method of audio, video data, method of reseptance and device
CN110311936B (en) Communication method and device between clients, electronic equipment and storage medium
US8788546B2 (en) Preloading resources from data carousel of broadcast file system
WO2023024865A1 (en) Broadcast service playback method, device and storage medium

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