CN114697710B - Material preview method, device, system, equipment and medium based on server - Google Patents

Material preview method, device, system, equipment and medium based on server Download PDF

Info

Publication number
CN114697710B
CN114697710B CN202210425762.0A CN202210425762A CN114697710B CN 114697710 B CN114697710 B CN 114697710B CN 202210425762 A CN202210425762 A CN 202210425762A CN 114697710 B CN114697710 B CN 114697710B
Authority
CN
China
Prior art keywords
server
code stream
low
original
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210425762.0A
Other languages
Chinese (zh)
Other versions
CN114697710A (en
Inventor
何志民
宁一铮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Colorlight Cloud Technology Co Ltd
Original Assignee
Colorlight Cloud 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 Colorlight Cloud Technology Co Ltd filed Critical Colorlight Cloud Technology Co Ltd
Priority to CN202210425762.0A priority Critical patent/CN114697710B/en
Publication of CN114697710A publication Critical patent/CN114697710A/en
Application granted granted Critical
Publication of CN114697710B publication Critical patent/CN114697710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • 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
    • 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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

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

Abstract

The invention relates to the technical field of server material previewing, and discloses a material previewing method, device, system, equipment and medium based on a server. The method is applied to a material playing system consisting of a master server and at least one slave server, wherein the master server and the slave servers are in communication connection, and the method comprises the following steps: when at least one slave server receives a material preview instruction sent by the master server, a first original material is played at a remote playing end corresponding to the slave server receiving the material preview instruction; the method comprises the steps that a local playing end corresponding to a main server synchronously plays low-code stream materials and second raw materials corresponding to first raw materials, so that synchronous material previewing of the low-code stream materials and the second raw materials is realized in the main server; the first source material and the second source material are derived from the same material or different materials. The invention can reduce the load capacity of the main server, improve the operation performance of the main server and reduce the hardware cost of the main server.

Description

Material preview method, device, system, equipment and medium based on server
Technical Field
The invention relates to the technical field of server material previewing, and particularly discloses a material previewing method, device, system, equipment and medium based on a server.
Background
At present, in a material playing system connected with a screen through a server, a part of application scenes can use a plurality of servers, such as using a master server to play materials and controlling other slave servers to play materials, wherein the master server is mainly used for issuing control instructions, consulting the display conditions of the screens connected with other slave servers through a back display, and the slave servers are used for controlling the display pictures of the screens connected with the slave servers; in the above system, if the materials of each slave server need to be previewed through the master server, the materials being played by each slave server are returned to the master server through the network, but in general cases, the slave server is used for playing materials with high resolution, the master server is used for controlling, only materials with smaller resolution can be processed, and assuming that one slave server returns 8k original materials, 6 slave servers exist currently, and at this time, the master server decodes and encodes 6 8k materials, so that the load capacity of the master server can be obviously increased; however, if the operation performance of the main server is to be improved, it takes more cost to upgrade the hardware of the main server. Therefore, those skilled in the art need to find a material preview solution for reducing the load of the server to solve the above-mentioned problems.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a system, a device, and a medium for previewing materials based on a server, which can reduce the load capacity of a main server, improve the operation performance of the main server, and reduce the hardware cost of the main server.
A material preview method based on a server is applied to a material playing system consisting of a master server and at least one slave server, wherein the master server and the slave servers are in communication connection, and the method comprises the following steps:
when at least one slave server receives a material preview instruction sent by the master server, a first original material is played at a remote playing end corresponding to the slave server receiving the material preview instruction;
the local playing end corresponding to the main server synchronously plays the low-code stream material and the second original material corresponding to the first original material so as to realize synchronous material preview of the low-code stream material and the second original material in the main server; the first raw material and the second raw material are derived from the same material or different materials.
A server-based material preview device applied to a material playing system composed of a master server and at least one slave server, wherein the master server and the slave servers are in communication connection, the device comprising:
The first playing module is used for playing a first original material at a remote playing end corresponding to the slave server receiving the material preview instruction when at least one slave server receives the material preview instruction sent by the master server;
the second playing module is used for synchronously playing the low-code stream material and the second original material corresponding to the first original material by the local playing end corresponding to the main server so as to realize synchronous material preview of the low-code stream material and the second original material at the main server; the first raw material and the second raw material are derived from the same material or different materials.
The material playing system comprises a master server, at least one slave server, a transmitting device, a receiving device, an LED display screen and a computer display screen:
the master server and at least one slave server are respectively connected with the computer display screen in a communication way through video lines; the master server and at least one slave server are respectively in communication connection with the sending equipment through video lines, and the sending equipment is in communication connection with the receiving equipment through network cables so as to realize communication connection with the LED display screen, wherein the receiving equipment is arranged in the LED display screen;
The master server is in communication connection with at least one slave server through a network cable and is synchronized with at least one slave server through a synchronization line.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing a server-based material preview method as described above when executing the computer program.
A computer readable storage medium storing a computer program which when executed by a processor implements a server-based material preview method as described above.
According to the material previewing method, device, system, equipment and medium based on the server, when at least one slave server receives the material previewing instruction sent by the master server, a first original material is played at a remote playing end corresponding to the slave server receiving the material previewing instruction; the local playing end corresponding to the main server synchronously plays the low-code stream material and the second original material corresponding to the first original material so as to realize synchronous material preview of the low-code stream material and the second original material in the main server; therefore, when the material is played, the low-code stream material of the first original material corresponding to the secondary server and the second original material corresponding to the primary server are synchronously played mainly through the local playing end of the primary server, so that synchronous material preview (comprising video materials corresponding to the primary server and the secondary server) can be realized at the local playing end of the primary server, and the load and pressure of the primary server can be reduced (the performance of the primary server is reduced); in addition, when the operation performance of the main server is greatly improved, the hardware performance of the main server does not need to be upgraded at a great cost, and any computer equipment is used for realizing the control function.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic view of an application environment of a method for previewing server-based material according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for previewing server-based material according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a material previewing device based on a server according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a computer device in accordance with an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The material preview method based on the server provided by the invention can be applied to an application environment as shown in figure 1, wherein a local playing end is in communication connection with a main server and a secondary server; the remote playing end is in communication connection with the secondary server, and the local playing end and the remote playing end can be understood as video software arranged in the server.
In an embodiment, as shown in fig. 2, a method for previewing a material based on a server is provided, and the method is applied to a material playing system composed of a master server and at least one slave server in fig. 1, wherein the master server and the slave server are in communication connection, and the method includes the following steps S10-S20:
s10, when at least one slave server receives a material preview instruction sent by the master server, a first original material is played at a remote playing end corresponding to the slave server receiving the material preview instruction;
understandably, the first raw material is a video material corresponding to a remote playing end of the secondary server, and the low-code stream material corresponding to the first raw material is a video material corresponding to a local playing end of the primary server; the material preview instruction is an instruction (low-code stream material preview mode) sent from a local playing end in a main server, and the low-code stream material and the second raw material corresponding to the first raw material can be displayed on a display interface corresponding to the local playing end through the instruction, wherein in the display interface, the materials can be displayed through a display window, the size of the display window can be adaptively set according to the resolution of the video material, and the number of the display windows can be adaptively set according to the number of the video materials; in this embodiment, when the secondary server receives the material preview instruction, the remote playing end may play the first raw material, and the local playing end may play the low-code stream material corresponding to the first raw material in the manner of step S20.
S20, the local playing end corresponding to the main server synchronously plays the low-code stream material and the second original material corresponding to the first original material so as to realize synchronous material preview of the low-code stream material and the second original material at the main server; the first raw material and the second raw material are derived from the same material or different materials.
Understandably, the second source material may be a video material composed of the first source material corresponding to each secondary server, a video material composed of the first source material corresponding to the secondary server (the video materials corresponding to all secondary servers are identical), or a video material completely different from the secondary server; the method comprises the steps that a communication connection relation exists between a main server and a secondary server, a local playing end of the main server bears the function of controlling all the secondary servers and the main server, namely when a video material playing instruction is issued to all the servers in the local playing end of the main server, corresponding video materials (including an LED display screen and a computer screen) are required to be played by display screens (including display screens corresponding to the main server) connected with the secondary server, second raw materials are played by display screens corresponding to the main server, and first raw materials are played by display screens corresponding to all the secondary servers; in the local playing end of the main server, when a material preview instruction is issued to all the servers (in addition, according to specific conditions, a preset number of secondary servers can be selected from the secondary servers playing video materials to issue the material preview instruction according to specific requirements), a display screen connected with the main server and the secondary servers (all the display screens corresponding to the main server are required to play the first original material, the display screens corresponding to the secondary servers play the low-code stream material corresponding to the first original material;
In this embodiment, when the local playing end in the main server previews the material, the second original material corresponding to the main server has already completed screen (LED screen), that is, the second original material has already been decoded and encoded in the local playing end, so that the material previewed by the local playing end in the main server is the second original material, the performance of the main server is not required to be reduced by decoding and encoding, and the decoding and encoding of the first original material corresponding to each secondary server is implemented by each secondary server, so that the material previewed by the local playing end in the main server is the low-code stream material corresponding to the first original material, and the low-code stream material needs to be decoded and encoded;
in another embodiment, the local play end of the main server may also preview any one of the low-code stream material and the second original material.
In the embodiments of steps S10 to S20, when playing the material, after the high-resolution first raw material corresponding to the plurality of secondary servers is mainly converted into the low-code stream material, the low-code stream material and the second raw material corresponding to the primary server are synchronously played through the local playing end of the primary server, so that the synchronous material preview (including the video material corresponding to the primary server and the secondary server) can be realized at the local playing end of the primary server, and the load and pressure of the primary server can be reduced (the performance of the primary server is reduced).
Further, the local playing end corresponding to the main server synchronously plays the low-code stream material and the second raw material corresponding to the first raw material, which comprises:
the main server acquires the low-code stream material corresponding to the transcoded first original material, decodes and encodes the low-code stream material, and plays the encoded low-code stream material at the local play end;
and simultaneously, after the main server confirms that the second original material is decoded and encoded, the second original material is played at the local playing end.
As can be appreciated, in the process of implementing the above-mentioned material preview by the main server, the material needs to be decoded and encoded (the decoding is a local decoding manner, that is, the main server only decodes the low-code stream material of the first raw material corresponding to each secondary server, and the low-code stream material must be displayed in the local playing end of the main server), but because the main server has implemented the decoding and encoding of the second raw material in the process of playing the material, the embodiment can implement playing of the second raw material after confirming that the second raw material completes decoding and encoding; in particular, the manner of decoding and encoding is consistent with the above, and not described in detail herein, the decoding process may be generally divided into channel transmission-entropy decoding-inverse quantization-inverse transformation-prediction, and the encoding process may be generally divided into prediction-transformation-quantization-entropy encoding; in this embodiment, the slave server does not need to transmit the first raw material back to the master server through a network or the like, and occupies the performances of the master server and the secondary server.
In another embodiment, the obtaining, by the main server, the low-code stream material corresponding to the transcoded first raw material includes: the main server judges whether the video played by the local playing end is a low-code stream material or not; if the video is a low-code stream material, the main server acquires the low-code stream material corresponding to the first original material after transcoding; and if the video is not the low-code stream material, the local playing end plays a preset software pattern.
Further, before the main server obtains the low-code stream material corresponding to the transcoded first original material, the method further includes:
and generating the low-code stream material according to the first original material, binding the low-code stream material with the first original material, and determining that the low-code stream material is imported into the local playing end.
Understandably, a material binding window is arranged at the local playing end, and whether the generation mode of the low-code stream material is transcoding from a third-party transcoding platform or autonomous transcoding from video software, the low-code stream material and the first original material can be bound through the material binding window; specifically, after the first raw material is added to the far-end playing end, a first raw material array named by a first array is generated, after the low-code stream material is added to the material binding window, a low-code stream material array consistent with the naming of the first array is generated so as to finish the binding of the first raw material of the low-code stream material, if the first raw material array named by the first array can be a [ 0 ], the low-code stream material array named by the first array can be a [ 1 ], and the array of the second raw material can be b [ 0 ]; after the binding is achieved, the embodiment finishes importing the low-code stream material into the local playing end.
In another embodiment, the generating the low-code stream material according to the first raw material, binding the low-code stream material with the first raw material, and determining that the low-code stream material is imported into the local play end includes: the first original material is imported into a local playing end of the main server; after the successful importing is determined, the low-code stream material is generated according to the first original material, and the low-code stream material is imported into the local playing end after being bound with the first original material, so that the low-code stream material is imported into the local playing end; in this embodiment, the local playing end of the main server has a limitation on the maximum video playing and processing capability, and when a high-code stream first source material, such as 8K, is successfully imported into the local playing end, it is determined that a low-code stream material, such as 2K, can be successfully imported into the local playing end.
Further, the generating the low-code stream material according to the first raw material, binding the low-code stream material with the first raw material, and determining that the low-code stream material is imported into the local playing end further includes:
Acquiring a first time length of the low-code stream material;
acquiring a second time length of the first raw material;
when the difference value between the first time length and the second time length exceeds the preset time length, prompting that the low-code stream material is not the low-code stream material corresponding to the first original material after transcoding;
and when the difference value between the first time length and the second time length is not more than the preset time length, generating the low-code stream material according to the first original material, binding the low-code stream material with the first original material, and then determining that the low-code stream material is imported into the local playing end.
Understandably, the first time length and the second time length refer to time lengths corresponding to playing time of the material, and after transcoding is performed by the third transcoding platform and the local playing end, the first time length and the second time length are generally equal or have small phase difference; in the embodiment, whether the low-code stream material added to the material binding window corresponds to the first original material is confirmed by comparing the difference value of the time lengths, when the correspondence is confirmed, the low-code stream material is substituted into the local playing end, the process of previewing the low-code stream material is realized, when the correspondence is confirmed, the fact that the low-code stream material does not have a corresponding relation with the first original material is prompted in a highlighting mode, and the situation that the local playing end in the main server previews wrong material contents is avoided.
Further, after the step S20, the method for previewing server-based material further includes:
when the first original material and the second original material are different materials, determining whether a local playing end corresponding to the master server starts a back display function or not and whether at least one remote playing end corresponding to the slave server starts the back display function or not; the back display function means that a terminal connected with the master server displays the first original material and the slave server displays the second original material, and a local playing end of the master server and a remote playing end of the slave server display low-code stream materials;
when the main server and the auxiliary servers are determined to start the back display function, at least one auxiliary server plays the low-code stream material corresponding to the first original material at a corresponding remote play end;
and synchronously playing the low-code stream material corresponding to the first original material and the second original material at the corresponding local playing end by the main server.
Understandably, the back display function is a relationship between three devices, such as an LED display screen, a server, and a terminal (a computer screen connected to the server), where in the three relationships, the LED display screen displays raw materials, the terminal displays low-code materials, and a playing end in the server is used for controlling playing materials; the method comprises the steps that a primary server and a secondary server are placed, a first original material is displayed on an LED display screen connected with the secondary server, a low-code stream material of the first original material is played on a far-end playing end corresponding to the secondary server, a second original material is displayed on an LED display screen connected with the primary server, but a local playing end corresponding to the primary server still plays the second original material and the low-code stream material corresponding to the first original material (the method is required to be described, when the low-code stream material is played on the primary server, a computer screen corresponding to the far-end playing end still plays the first original material); when the main server of the embodiment starts the playback function, the second original material is played at the local playing end, because the second original material has finished decoding and encoding, the performance of the main server is not occupied any more, and in order to ensure the display effect, the local playing end plays or plays the second original material with high code stream (high resolution);
In another embodiment, the main server may not be connected to a terminal, but the second source material may be played in a local play end of the main server.
In another embodiment, before the determining that the first raw material and the second raw material are different materials, the method further includes: the secondary server judges whether a video (a first raw material) is played at the terminal; if the video is not played at the terminal, the remote playing end does not play the video; if the video is played at the terminal, the secondary server judges whether the video played by the remote playing end is a low-code stream material or not; if the video is a low-code stream material, the remote end of the secondary server plays the low-code stream material by a play end; and if the video is not the low-code stream material, the remote playing end plays the preset software pattern.
In another embodiment, before the determining that the master server and the slave server both turn on the echo function, the method further includes: when the main server and the auxiliary servers are determined to not start the playback function or the main server is determined to start the playback function, at least one auxiliary server plays the first original material at a corresponding remote play end when at least one auxiliary server does not start the playback function; the main server synchronously plays the low-code stream material corresponding to the first original material and the second original material at the corresponding local play end;
In another embodiment, before the determining that the master server and the slave server both turn on the echo function, the method further includes: when determining that the main server does not start the playback function, at least one slave server starts the playback function, and at least one slave server plays low-code stream materials corresponding to the first raw materials at a corresponding remote play end; and synchronously playing the low-code stream material corresponding to the first original material and the second original material at the corresponding local playing end by the main server.
Further, before the determining that the first raw material and the second raw material are different materials, the server-based material preview method further includes:
when the first original material and the second original material are the same material, determining whether a local playing end corresponding to the master server starts a back display function or not and whether at least one remote playing end corresponding to the slave server starts the back display function or not;
when the main server is determined to not start the playback function and at least one remote playing end corresponding to the auxiliary server starts the playback function, at least one auxiliary server plays low-code stream materials corresponding to the first raw materials at the corresponding remote playing end;
And the main server synchronously plays the first original material and the second original material at the corresponding local playing end.
When the main server of the embodiment does not start the playback function, the local playback end of the main server plays the second raw material because decoding and encoding are completed in the process of playing the video material on the screen, so that the local playback end still plays the second raw material, and the local playback end of the main server previews the first raw material corresponding to the secondary server because the first raw material and the second raw material are the same material, and completes decoding and encoding the first raw material, so that even if the main server does not start the playback function, the local playback end still plays the second raw material.
In another embodiment, before the determining that the playback function is not started by the master server and the playback function is started by the remote playing end corresponding to at least one slave server, the method further includes: when the fact that the playback function is not started by the remote playing end corresponding to the master server and the slave servers is determined, or when the fact that the playback function is started by the master server and the playback function is not started by the remote playing end corresponding to at least one slave server is determined, at least one slave server plays the first raw material at the corresponding remote playing end; the main server synchronously plays the first original material and the second original material at the corresponding local playing end;
In another embodiment, before the determining that the playback function is not started by the master server and the playback function is started by the remote playing end corresponding to at least one slave server, the method further includes: when the main server is determined to start the playback function and at least one remote playing end corresponding to the auxiliary server is determined to start the playback function, at least one auxiliary server plays low-code stream materials corresponding to the first raw materials at the corresponding remote playing end; and the main server synchronously plays the first original material and the second original material at the corresponding local playing end.
In summary, the above-mentioned method for previewing materials based on a server is provided, when playing materials, the low-code stream materials of the first raw materials corresponding to the secondary server and the second raw materials corresponding to the primary server are synchronously played mainly through the local playing end of the primary server, so that the synchronous material previewing (including the video materials corresponding to the primary server and the secondary server) can be realized at the local playing end of the primary server, and the load and pressure of the primary server can be reduced (the performance of the primary server is reduced); in addition, when the operation performance of the main server is greatly improved, the hardware performance of the main server does not need to be upgraded at a great cost, and any computer equipment is used for realizing the control function.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
In an embodiment, the present invention further provides a server-based material previewing device, where the server-based material previewing device corresponds to one of the above embodiments of a server-based material previewing method. As shown in fig. 3, the server-based material previewing apparatus includes a first playing module 11 and a second playing module 12. The functional modules are described in detail as follows:
the first playing module 11 is configured to, when at least one of the slave servers receives a material preview instruction sent by the master server, play a first original material at a remote playing end corresponding to the slave server that receives the material preview instruction;
the second playing module 12 is configured to synchronously play the low-code stream material and the second raw material corresponding to the first raw material by using a local playing end corresponding to the main server, so as to implement synchronous material preview of the low-code stream material and the second raw material in the main server; the first raw material and the second raw material are derived from the same material or different materials.
Further, the second playing module includes:
the first playing sub-module is used for acquiring the low-code stream material corresponding to the transcoded first original material by the main server, decoding and encoding the low-code stream material, and playing the encoded low-code stream material at the local playing end;
and the second playing sub-module is used for playing the second original material at the local playing end after the main server confirms that the decoding and encoding of the second original material are finished.
Further, the material preview device based on the server further comprises:
and the binding module is used for generating the low-code stream material according to the first original material, binding the low-code stream material with the first original material, and determining that the low-code stream material is imported into the local playing end.
Further, the material preview device based on the server further comprises:
the first acquisition module is used for acquiring a first time length of the low-code stream material;
the second acquisition module is used for acquiring a second time length of the first raw material;
the prompting module is used for prompting that the low-code stream material is not the low-code stream material corresponding to the first original material after transcoding when the difference value between the first time length and the second time length exceeds the preset time length;
And the binding module is used for generating the low-code stream material according to the first original material when the difference value between the first time length and the second time length is not more than the preset time length, binding the low-code stream material with the first original material, and determining that the low-code stream material is imported into the local playing end.
Further, the material preview device based on the server further comprises:
the first determining module is used for determining whether a local playing end corresponding to the master server starts a playback function or not and whether at least one remote playing end corresponding to the slave server starts the playback function or not when the first original material and the second original material are different materials; the back display function means that a terminal connected with the master server displays the first original material and the slave server displays the second original material, and a local playing end of the master server and a remote playing end of the slave server display low-code stream materials;
the third playing module is used for playing the low-code stream material corresponding to the first original material at the corresponding remote playing end by at least one slave server when the fact that the master server and the slave server both start the back display function is determined;
And the fourth playing module is used for synchronously playing the low-code stream material corresponding to the first original material and the second original material at the corresponding local playing end by the main server.
Further, the material preview device based on the server further comprises:
the second determining module is used for determining whether the local playing end corresponding to the master server starts a back display function or not and whether at least one remote playing end corresponding to the slave server starts the back display function or not when the first original material and the second original material are the same material;
a fifth playing module, configured to, when it is determined that the playback function is not started by the master server and the playback function is started by at least one remote playing end corresponding to the slave server, play, by at least one slave server, a low-code stream material corresponding to the first source material at the corresponding remote playing end;
and the sixth playing module is used for synchronously playing the first raw material and the second raw material at the corresponding local playing end by the main server.
For a specific limitation of a server-based material preview apparatus, reference may be made to the limitation of a server-based material preview method hereinabove, and the description thereof will not be repeated here. The modules in the above-described server-based material previewing apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, there is provided a material playing system including a master server, at least one slave server, a transmitting device, a receiving device, an LED display screen, a computer display screen (terminal):
the master server and at least one slave server are respectively connected with the computer display screen in a communication way through video lines; the master server and at least one slave server are respectively in communication connection with the sending equipment through video lines, and the sending equipment is in communication connection with the receiving equipment through network cables so as to realize communication connection with the LED display screen, wherein the receiving equipment is arranged in the LED display screen; the video lines include, but are not limited to, HDMI, DVI, and VGA lines, and the network lines include, but are not limited to, gigabit network lines and hundred meganetwork lines;
the master server is in communication connection with at least one slave server through a network cable and is synchronized with at least one slave server through a synchronization line; the main server and the secondary server in the embodiment are both provided with synchronous cards, and communication connection between the main server and the secondary server and the two synchronous cards can be carried out through a synchronous line;
the material playing system implements the steps of a server-based material preview method in the above embodiment, for example, steps S10 to S20 shown in fig. 2. Alternatively, the functions of the modules/units of the server-based material preview apparatus in the above embodiment, for example, the functions of the modules 11 to 12 shown in fig. 3 are implemented. In order to avoid repetition, a description thereof is omitted.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, memory, interface, and database 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 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data involved in a server-based material preview method. The interface of the computer device is used for connection communication with an external terminal. The computer program when executed by a processor implements a server-based material preview method.
In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement steps of a method for previewing server-based material in the foregoing embodiment, such as steps S10 to S20 shown in fig. 2. Alternatively, the processor may implement the functions of the modules/units of the server-based material previewing apparatus according to the above embodiment, such as the functions of the modules 11 to 12 shown in fig. 3, when executing the computer program. In order to avoid repetition, a description thereof is omitted.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the steps of a server-based material preview method in the above embodiment, for example, steps S10 to S20 shown in fig. 2. Alternatively, the computer program when executed by the processor implements the functions of the modules/units of the server-based material preview apparatus in the above embodiment, for example, the functions of the modules 11 to 12 shown in fig. 3. In order to avoid repetition, a description thereof is omitted.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile 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), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (10)

1. A method for previewing material based on a server, which is applied to a material playing system composed of a master server and at least one slave server, wherein the master server and the slave servers are in communication connection, the method comprising:
When at least one slave server receives a material preview instruction sent by the master server, a first original material is played at a remote playing end corresponding to the slave server receiving the material preview instruction;
the local playing end corresponding to the main server synchronously plays the low-code stream material and the second original material corresponding to the first original material so as to realize synchronous material preview of the low-code stream material and the second original material in the main server; the first raw material and the second raw material are derived from the same material or different materials.
2. The method for previewing the material based on the server according to claim 1, wherein the local playing end corresponding to the main server synchronously plays the low-code stream material corresponding to the first material and the second material, including:
the main server acquires the low-code stream material corresponding to the transcoded first original material, decodes and encodes the low-code stream material, and plays the encoded low-code stream material at the local play end;
and simultaneously, after the main server confirms that the second original material is decoded and encoded, the second original material is played at the local playing end.
3. The method for previewing server-based material according to claim 2, wherein before the main server obtains the low-code stream material corresponding to the transcoded first original material, the method further comprises:
and generating the low-code stream material according to the first original material, binding the low-code stream material with the first original material, and determining that the low-code stream material is imported into the local playing end.
4. The method for previewing the server-based material according to claim 3, wherein the generating the low-code stream material according to the first raw material, binding the low-code stream material with the first raw material, and then determining that the low-code stream material is imported into the local play end includes:
acquiring a first time length of the low-code stream material;
acquiring a second time length of the first raw material;
when the difference value between the first time length and the second time length exceeds the preset time length, prompting that the low-code stream material is not the low-code stream material corresponding to the first original material after transcoding;
and when the difference value between the first time length and the second time length is not more than the preset time length, generating the low-code stream material according to the first original material, binding the low-code stream material with the first original material, and then determining that the low-code stream material is imported into the local playing end.
5. The server-based material preview method of claim 1, wherein the method further comprises:
when the first original material and the second original material are different materials, determining whether a local playing end corresponding to the master server starts a back display function or not and whether at least one remote playing end corresponding to the slave server starts the back display function or not; the back display function means that a terminal connected with the master server displays the first original material and the slave server displays the second original material, and a local playing end of the master server and a remote playing end of the slave server display low-code stream materials;
when the main server and the auxiliary servers are determined to start the back display function, at least one auxiliary server plays the low-code stream material corresponding to the first original material at a corresponding remote play end;
and synchronously playing the low-code stream material corresponding to the first original material and the second original material at the corresponding local playing end by the main server.
6. The server-based material preview method of claim 5, wherein before said determining that said first source material and said second source material are different materials, further comprising:
When the first original material and the second original material are the same material, determining whether a local playing end corresponding to the master server starts a back display function or not and whether at least one remote playing end corresponding to the slave server starts the back display function or not;
when the main server is determined to not start the playback function and at least one remote playing end corresponding to the auxiliary server starts the playback function, at least one auxiliary server plays low-code stream materials corresponding to the first raw materials at the corresponding remote playing end;
and the main server synchronously plays the first original material and the second original material at the corresponding local playing end.
7. A server-based material preview apparatus applied to a material playing system composed of a master server and at least one slave server, wherein the master server and the slave servers are communicatively connected, the apparatus comprising:
the first playing module is used for playing a first original material at a remote playing end corresponding to the slave server receiving the material preview instruction when at least one slave server receives the material preview instruction sent by the master server;
The second playing module is used for synchronously playing the low-code stream material and the second original material corresponding to the first original material by the local playing end corresponding to the main server so as to realize synchronous material preview of the low-code stream material and the second original material at the main server; the first raw material and the second raw material are derived from the same material or different materials.
8. A material playing system, wherein the material playing system implements a method for previewing a server-based material according to any one of claims 1 to 6, and the method comprises a master server, at least one slave server, a transmitting device, a receiving device, an LED display screen, and a computer display screen:
the master server and at least one slave server are respectively connected with the computer display screen in a communication way through video lines; the master server and at least one slave server are respectively in communication connection with the sending equipment through video lines, and the sending equipment is in communication connection with the receiving equipment through network cables so as to realize communication connection with the LED display screen, wherein the receiving equipment is arranged in the LED display screen;
the master server is in communication connection with at least one slave server through a network cable and is synchronized with at least one slave server through a synchronization line.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements a server-based material preview method as claimed in any one of claims 1 to 6 when the computer program is executed by the processor.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements a server-based material preview method according to any one of claims 1 to 6.
CN202210425762.0A 2022-04-22 2022-04-22 Material preview method, device, system, equipment and medium based on server Active CN114697710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210425762.0A CN114697710B (en) 2022-04-22 2022-04-22 Material preview method, device, system, equipment and medium based on server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210425762.0A CN114697710B (en) 2022-04-22 2022-04-22 Material preview method, device, system, equipment and medium based on server

Publications (2)

Publication Number Publication Date
CN114697710A CN114697710A (en) 2022-07-01
CN114697710B true CN114697710B (en) 2023-08-18

Family

ID=82144263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210425762.0A Active CN114697710B (en) 2022-04-22 2022-04-22 Material preview method, device, system, equipment and medium based on server

Country Status (1)

Country Link
CN (1) CN114697710B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572292A (en) * 2010-12-16 2012-07-11 新奥特(北京)视频技术有限公司 Script-holding auditing system and method
CN102724230A (en) * 2011-03-30 2012-10-10 新奥特(北京)视频技术有限公司 File uploading method in remote broadcast control system
CN102752538A (en) * 2011-11-30 2012-10-24 新奥特(北京)视频技术有限公司 Method for generating agent code stream materials
CN106210451A (en) * 2016-08-02 2016-12-07 成都索贝数码科技股份有限公司 A kind of method and system of multi-track video editing based on html5
WO2020034082A1 (en) * 2018-08-14 2020-02-20 海能达通信股份有限公司 Slicing-based rtp stream transmission method, device, terminal and server
WO2020133373A1 (en) * 2018-12-26 2020-07-02 北京微播视界科技有限公司 Video processing method, apparatus, and electronic device, and computer readable storage medium
CN113411647A (en) * 2021-04-20 2021-09-17 北京国际云转播科技有限公司 Cloud director method, system, server and computer readable storage medium
WO2021258821A1 (en) * 2020-06-23 2021-12-30 Oppo广东移动通信有限公司 Video editing method and device, terminal, and storage medium
CN114222156A (en) * 2021-12-14 2022-03-22 中国建设银行股份有限公司 Video editing method, video editing device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989853B (en) * 2018-08-24 2020-04-21 阿里巴巴集团控股有限公司 Multimedia material processing method and device and multimedia playing equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572292A (en) * 2010-12-16 2012-07-11 新奥特(北京)视频技术有限公司 Script-holding auditing system and method
CN102724230A (en) * 2011-03-30 2012-10-10 新奥特(北京)视频技术有限公司 File uploading method in remote broadcast control system
CN102752538A (en) * 2011-11-30 2012-10-24 新奥特(北京)视频技术有限公司 Method for generating agent code stream materials
CN106210451A (en) * 2016-08-02 2016-12-07 成都索贝数码科技股份有限公司 A kind of method and system of multi-track video editing based on html5
WO2020034082A1 (en) * 2018-08-14 2020-02-20 海能达通信股份有限公司 Slicing-based rtp stream transmission method, device, terminal and server
WO2020133373A1 (en) * 2018-12-26 2020-07-02 北京微播视界科技有限公司 Video processing method, apparatus, and electronic device, and computer readable storage medium
WO2021258821A1 (en) * 2020-06-23 2021-12-30 Oppo广东移动通信有限公司 Video editing method and device, terminal, and storage medium
CN113411647A (en) * 2021-04-20 2021-09-17 北京国际云转播科技有限公司 Cloud director method, system, server and computer readable storage medium
CN114222156A (en) * 2021-12-14 2022-03-22 中国建设银行股份有限公司 Video editing method, video editing device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114697710A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
EP3562163B1 (en) Audio-video synthesis method and system
CN112087633B (en) Video decoding method, device and storage medium
US10389908B2 (en) Image processing device, image processing method, and program with reduction and enlargement scaling of image data
JP2016536710A (en) Desktop cloud-based media control method and device
CN105144727A (en) Codec techniques for fast switching
CN105404455A (en) Method and apparatus for performing screen capture on mobile terminal by utilizing terminal
US11949853B2 (en) Data decoding method and apparatus, and data coding method and apparatus
WO2018233539A1 (en) Video processing method, computer storage medium, and device
CN112947905B (en) Picture loading method and device
CN112948151A (en) Program interface image transmission method, substrate management controller and remote control equipment
CN112104894B (en) Ultra-high-definition video editing method based on breadth transformation
CN114697710B (en) Material preview method, device, system, equipment and medium based on server
CN112328195B (en) Screen projection control method, system, electronic equipment and medium
US20080288519A1 (en) Format Negotiation for Media Remoting Scenarios
CN116450149B (en) Hardware decoding method, device and storage medium
CN110445881B (en) Data transmission method, device and system
CN112714341B (en) Information acquisition method, cloud set top box system, entity set top box and storage medium
WO2019141150A1 (en) Cross-platform content control method and device, terminal, server, and storage medium
CN116260722A (en) Network equipment configuration synchronization method and synchronization system
CN115119042A (en) Transmission system and transmission method
US11005908B1 (en) Supporting high efficiency video coding with HTTP live streaming
JP2014146936A (en) Electronic apparatus, difference data output apparatus, control method of electronic apparatus, control method of difference data output apparatus, control program of electronic apparatus, and control program of difference data output apparatus
US10499089B2 (en) System for providing cloud-based user interfaces and method therefor
CN111475166A (en) Method, device and equipment for configuring memory parameters
CN113055714B (en) Video information processing method, device, equipment 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
GR01 Patent grant
GR01 Patent grant