CN114629880A - Streaming media video source management method and device and card-inserting type video splicing processing equipment - Google Patents
Streaming media video source management method and device and card-inserting type video splicing processing equipment Download PDFInfo
- Publication number
- CN114629880A CN114629880A CN202011432192.5A CN202011432192A CN114629880A CN 114629880 A CN114629880 A CN 114629880A CN 202011432192 A CN202011432192 A CN 202011432192A CN 114629880 A CN114629880 A CN 114629880A
- Authority
- CN
- China
- Prior art keywords
- streaming media
- video source
- instruction
- target
- media video
- 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.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 27
- 238000007726 management method Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 32
- 230000004044 response Effects 0.000 claims abstract description 24
- 238000010586 diagram Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a streaming media video source management method, a streaming media video source management device and a card-inserting type video splicing processing device. The method for example comprises: establishing links with a plurality of streaming media servers in response to receiving a streaming media video source creation instruction; responding to a received playing instruction, and acquiring a streaming media video source of a target streaming media server in the plurality of streaming media servers; and analyzing the streaming media video source to generate a video source to be played for output. According to the method for managing the streaming media video source, the links are firstly established with the streaming media servers, and then the streaming media video source of the target streaming media server in the streaming media servers is obtained according to the requirement, so that the flexibility and the processing efficiency are greatly improved, and meanwhile, the user experience is greatly improved.
Description
Technical Field
The invention relates to the technical field of video display control, in particular to a streaming media video source management method, a streaming media video source management device and a card-inserting type video splicing processing device.
Background
With the application of LED display screens becoming more and more widespread, in some application scenarios such as command centers, it is generally necessary to display streaming media video sources of multiple network cameras on the LED display screens of the command centers through a video display controller, for example, a video stitching processing device. In the prior art, when a streaming media video source needs to be played, a link is usually established with a target streaming media server, such as a network camera, corresponding to the streaming media video source to be played through a video splicing processing device and the streaming media video source is obtained, but because the video splicing processing device has limited capability of processing a plurality of streaming media video sources at the same time, when a user needs to play a new streaming media video source, one of the plurality of streaming media video sources being played needs to be deleted, so that the flexibility is low, the processing efficiency is greatly reduced, and the user experience is greatly influenced.
Disclosure of Invention
Therefore, to overcome the defects and shortcomings in the prior art, embodiments of the present invention provide a method for managing a streaming media video source, a device for managing a streaming media video source, and a device for splicing and processing a video in a card.
On one hand, a method for managing a streaming media video source provided by an embodiment of the present invention includes: establishing links with a plurality of streaming media servers in response to receiving a streaming media video source creation instruction; responding to a received playing instruction, and acquiring a streaming media video source of a target streaming media server in the plurality of streaming media servers; and analyzing the streaming media video source to generate a video source to be played for output.
The method for managing the streaming media video source provided by the embodiment establishes links with the plurality of streaming media servers by responding to the received streaming media video source establishing instruction, then obtains the streaming media video source of the target streaming media server in the plurality of streaming media servers by responding to the received playing instruction, and analyzes the streaming media video source to generate the video source to be played for output.
In one embodiment of the present invention, the streaming media video source creation instruction includes streaming media server parameter information; the establishing links with multiple streaming media servers in response to receiving a streaming media video source creation instruction specifically includes: responding to a received streaming media video source creating instruction, and acquiring parameter information of a streaming media server in the streaming media video source creating instruction; and establishing a link with a streaming media server corresponding to the streaming media server parameter information in the plurality of streaming media servers according to the streaming media server parameter information.
In an embodiment of the present invention, the acquiring a streaming media video source of a target streaming media server in the multiple streaming media servers in response to receiving a play instruction specifically includes: responding to a received playing instruction, and generating a video source acquisition instruction according to the playing instruction; sending the video source acquisition instruction to a target streaming media server in the streaming media servers, wherein the video source acquisition instruction is used for controlling the target camera to output a streaming media video source; and receiving the streaming media video source output by the target streaming media server.
On the other hand, a method for managing a streaming media video source provided by the embodiment of the present invention includes: responding to the operation of creating a video source by a user, and generating a streaming media video source creating instruction; sending the streaming media video source creating instruction to a video source input card, wherein the streaming media video source creating instruction is used for controlling the video source input card to establish links with a plurality of streaming media servers; responding to an operation of a user for playing a target streaming media video source, and sending a playing instruction to the video source input card, wherein the playing instruction is used for controlling the video source input card to acquire the streaming media video source of a target streaming media server in the streaming media servers and analyzing the streaming media video source to generate a video source to be played for output.
The method for managing a streaming media video source provided in this embodiment generates a streaming media video source creating instruction in response to an operation of creating a video source by a user, and sends the streaming media video source creating instruction to a video source input card to control the video source input card to establish a link with multiple streaming media servers, and then sends a playing instruction to the video source input card to control the video source input card to acquire a streaming media video source of a target streaming media server among the multiple streaming media servers and analyze the streaming media video source to generate a video source to be played for output in response to an operation of playing a target streaming media video source by the user, so that by establishing a link with the multiple streaming media servers first and then acquiring the streaming media video source of the target streaming media server among the multiple streaming media servers as required, flexibility and processing efficiency are greatly improved, meanwhile, the user experience degree is greatly improved.
In one embodiment of the invention, the streaming media video source creation instruction comprises one or more streaming media server parameter information.
In an embodiment of the present invention, after the sending the streaming media video source creation instruction to the video source input card, the method further includes: receiving streaming media video source data information returned by the video source input card; responding to the operation of selecting the splicing layout by the user, and generating a splicing layout model; and displaying target streaming media video source data information in the streaming media video source data information in a target window in the splicing layout model to generate a splicing video source model.
In an embodiment of the present invention, the generating a mosaic layout model in response to an operation of selecting a mosaic layout by a user specifically includes: responding to the operation of selecting splicing layout by a user, and acquiring a layout mode, a model width and a model initial coordinate; obtaining a window starting coordinate, a window width and a window height of each window according to the layout mode, the model width and the model starting coordinate; generating the mosaic layout model based on the window start coordinates, the window width, and the window height of each window.
In another aspect, an embodiment of the present invention provides a streaming media video source management apparatus, including: the creating instruction generating module is used for responding to the operation of creating the video source by the user and generating a streaming media video source creating instruction; the creating instruction sending module is used for sending the streaming media video source creating instruction to a video source input card, and the streaming media video source creating instruction is used for controlling the video source input card to establish links with a plurality of streaming media servers; and the playing instruction sending module is used for responding to the operation of a user for playing a target streaming media video source, sending a playing instruction to the video source input card, wherein the playing instruction is used for controlling the video source input card to acquire the streaming media video source of a target streaming media server in the streaming media servers and analyzing the streaming media video source to generate a video source to be played for output.
The device for managing the streaming media video source of the embodiment is provided with a creating instruction generating module, a creating instruction sending module and a playing instruction sending module, so that a streaming media video source creating instruction can be generated by responding to the operation of creating a video source by a user, the streaming media video source creating instruction is sent to a video source input card to control the video source input card to establish links with a plurality of streaming media servers, then, in response to the operation of playing a target streaming media video source by the user, a playing instruction is sent to the video source input card to control the video source input card to acquire the streaming media video source of the target streaming media server in the plurality of streaming media servers and analyze the streaming media video source to generate a video source to be played for outputting, in this way, by establishing links with the plurality of streaming media servers first and then acquiring the streaming media of the target streaming media server in the plurality of streaming media servers as required, the flexibility and the processing efficiency are greatly improved, and meanwhile, the user experience is greatly improved.
In one embodiment of the invention, the streaming media video source creation instruction comprises one or more streaming media server parameter information.
In an embodiment of the present invention, after the creating instruction sending module, the method further includes: the information receiving module is used for receiving the streaming media video source data information returned by the video source input card; the layout model generation module is used for responding to the operation of selecting the splicing layout by a user and generating a splicing layout model; and the video source model generating module is used for displaying the target streaming media video source data information in the streaming media video source data information in a target window in the splicing layout model to generate a splicing video source model.
In an embodiment of the present invention, the layout model generating module specifically includes: the first acquisition unit is used for responding to the operation of selecting the splicing layout by a user and acquiring a layout mode, a model width and a model initial coordinate; the second obtaining unit is used for obtaining the window starting coordinate, the window width and the window height of each window according to the layout mode, the model width and the model starting coordinate; and the generating unit is used for generating the splicing layout model based on the window starting coordinate, the window width and the window height of each window.
In another aspect, an embodiment of the present invention provides a card-insertion type splicing processing device, including: the system comprises a main control card, an exchange back plate, a video source input card and a video source output card, wherein the main control card, the video source input card and the video source output card are respectively and electrically connected with the exchange back plate; wherein, the video source input card is used for executing the streaming media video source management method.
One or more of the above technical solutions may have the following advantages or beneficial effects: the method comprises the steps of establishing links with a plurality of streaming media servers in response to a received streaming media video source establishing instruction, then obtaining the streaming media video sources of target streaming media servers in the plurality of streaming media servers in response to a received playing instruction, and analyzing the streaming media video sources to generate the video sources to be played for output.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for managing a streaming media video source according to a first embodiment of the present invention.
Fig. 2 is a schematic flowchart of step S10 in fig. 1.
Fig. 3 is a schematic flowchart of step S20 in fig. 1.
Fig. 4 is a schematic structural diagram of a system to which the streaming media video source management method according to the embodiment of the present invention is applied.
Fig. 5 is a flowchart illustrating a method for managing a streaming media video source according to a second embodiment of the present invention.
Fig. 6 is a partial flowchart of a method for managing a streaming media video source according to a second embodiment of the present invention.
Fig. 7 is a flowchart illustrating step S400 in fig. 6.
Fig. 8 is a schematic diagram of the effect of the mosaic layout model.
Fig. 9 is a block diagram of a streaming media video source management apparatus according to a third embodiment of the invention.
Fig. 10 is a schematic block diagram of a part of a streaming video source management apparatus according to a third embodiment of the present invention.
FIG. 11 is a block diagram of a layout model generation module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
[ first embodiment ] A method for manufacturing a semiconductor device
As shown in fig. 1, a method for managing a streaming media video source according to a first embodiment of the present invention includes the following steps:
s10, responding to the received streaming media video source creating instruction, establishing links with a plurality of streaming media servers;
s20, responding to the received playing instruction, acquiring a streaming media video source of a target streaming media server in the streaming media servers;
s30, analyzing the streaming media video source to generate a video source to be played for output.
Referring to fig. 2, the streaming media video source creation instruction includes streaming media server parameter information; step S10, in response to receiving the streaming media video source creation instruction, establishes links with multiple streaming media servers, and specifically includes:
s11, responding to the received streaming media video source creating instruction, and acquiring the parameter information of the streaming media server in the streaming media video source creating instruction;
and S12, establishing a link with a streaming media server corresponding to the streaming media server parameter information in the plurality of streaming media servers according to the streaming media server parameter information.
Referring to fig. 3, in response to receiving the play instruction, step S20 obtains a streaming media video source of a target streaming media server in the multiple streaming media servers, which specifically includes:
s21, responding to the received playing instruction, and generating a video source acquisition instruction according to the playing instruction;
s22, sending the video source acquisition instruction to a target streaming media server in the streaming media servers, wherein the video source acquisition instruction is used for controlling the target camera to output a streaming media video source;
s23, receiving the streaming media video source output by the target streaming media server.
The method for managing a video source of streaming media according to the first embodiment of the present invention can be applied to a system for managing a video source of streaming media as shown in fig. 4, for example, and for facilitating a clearer understanding of the present embodiment, the method for managing a video source of streaming media according to the present embodiment will be described in detail below with reference to fig. 4.
Referring to fig. 4, the streaming video source management system may include, for example, a WEB client 100, a card-inserted video splicing processing device 200, and a plurality of streaming servers 10. The WEB client 100 and the card-inserted video splicing processing device 200 can be connected via a network, for example, and the card-inserted video splicing processing device 200 and the plurality of streaming servers 10 can be connected via a network, for example. The card-inserted video splicing processing device 200 may be configured to access a streaming media video source and control the streaming media video source to be displayed on an LED display screen, for example, and the card-inserted video splicing processing device 200 may specifically include: the main control card 210, the switch backplane 220, the video source input card 230, and the video source output card 240, where the main control card 210, the video source input card 230, and the video source output card 240 are respectively electrically connected to the switch backplane 220, and the streaming media video source management method provided in the first embodiment of the present invention can be applied to the video source input card 230, for example, of course, the card-inserted video splicing processing device 200 can include a plurality of video source input cards 130 and a plurality of video source output cards 240, and the embodiments of the present invention are not limited thereto. The main control card 210 may have server software installed thereon, for example, and the WEB client 100 may be browser software on a personal computer, for example, and a user may access the server software on the main control card 210 through the browser software to obtain a user operation interface. The streaming media server 10 may be, for example, a network camera, but may also be other types of streaming media servers, and the embodiment of the present invention is not limited thereto.
Specifically, a user may create a video source on the user operation interface of the WEB client 100, and may input, for example, streaming server parameter information that needs to be created through the user operation interface, where the streaming server parameter information may include, for example, a protocol type, a streaming server IP address, an access user name, a password, and other information, and of course, this is merely an example, and may be specifically set according to an actual situation, and the embodiment of the present invention is not limited thereto. After receiving the operation of the user, the WEB client 100 acquires parameter information of a streaming media server input by the user, and then generates a streaming media video source creation instruction according to the parameter information of the streaming media server, where the streaming media video source creation instruction may be, for example, a streaming media transport protocol in JSON format, and sends the streaming media video source creation instruction to the video source input card 230 via the main control card 210 of the card-inserted video splicing processing device 200.
As mentioned above, after receiving the streaming media video source creation instruction, the video source input card 230 obtains the parameter information of the streaming media server in the streaming media video source creation instruction, and then establishes a link with the corresponding streaming media server 10 according to the parameter of the streaming media server. When the link fails due to reasons such as offline or wrong authorized password of the streaming media server 10, re-linking is performed at regular time until the link succeeds; if the link is successful, the data information of the streaming media video source of the streaming media server 10 is acquired, and for example, a heartbeat packet is sent to the streaming media server 10 at regular time, so that the streaming media server 10 is prevented from actively disconnecting the link. The streaming media video source data information may include, for example, information such as resolution, frame rate, and the like of a streaming media video source, which is only an example, and the embodiment of the present invention is not limited thereto. According to the operation of the user, links are established with the streaming media server 10 according to the received streaming media video source creation instruction, and the above steps are repeated to establish links with a plurality of streaming media servers 10, and each video source input card 100 may link 100 streaming media servers 10 at the same time, for example.
After the streaming media video source is created, a user may select a target streaming media server from the plurality of streaming media servers 10 establishing links to play the video source, for example, through a WEB client, generate a play instruction, send the play instruction to the video source input card 230 via the main control card 210, after receiving the play instruction, the video source input card 230 may generate a video source acquisition instruction according to the play instruction, specifically, for example, convert the play instruction into a video source acquisition instruction according to a protocol type of the target streaming media server, and then send the video source acquisition instruction to the target streaming media server to notify the target streaming media server to push out the streaming media video source, the video input card 230 receives the streaming media output by the target streaming media server, and then analyzes the streaming media video source to generate a video source to be played for output, the streaming video source may for example be decoded, i.e. the format of the streaming video source is converted into a playable format. Therefore, when a certain streaming media video source needs to be played, only the streaming media video source needs to be acquired from the linked streaming media server, and when the number of the streaming media video sources being played reaches the processing limit of the video source input card 230 (for example, the video source input card 230 can support to play sixteen video sources at most), only the acquisition of the certain streaming media video source needs to be stopped to acquire the streaming media video source to be played again, and there is no need to disconnect the link of a certain streaming media server 10 and then reestablish a new link of the streaming media server 10.
When a user needs to stop a streaming media video source being played, a WEB client sends a command to the video source input card 230 through the main control card 210, after the video source input card 230 receives a playing stop command, the video source input card sends the playing stop command to a target streaming media server to notify the target streaming media server to stop pushing out the streaming media video source, the video source input card 230 no longer waits for receiving the streaming media video source of the target streaming media server, but the video source input card 230 still sends a heartbeat to the target streaming media server at regular time to ensure that a link is normal; when a user needs to delete a target streaming media server with an established link, the WEB client sends an instruction to the video source input card 230 through the main control card 210, the video source input card 230 sends a termination instruction to the target streaming media server after receiving the instruction to notify the target streaming media server of disconnecting the link, and the video source input card does not maintain the link, i.e., reconnection and heartbeat sending are not performed. Of course, the embodiments of the present invention are only illustrated and can be specifically configured according to actual requirements, and the embodiments of the present invention are not limited thereto.
In summary, the streaming media video source management method provided by this embodiment establishes links with the multiple streaming media servers in response to receiving a streaming media video source creation instruction, then obtains a streaming media video source of a target streaming media server in the multiple streaming media servers in response to receiving a play instruction, and analyzes the streaming media video source to generate a video source to be played for output.
[ second embodiment ] A
Referring to fig. 5, a method for managing a video source of a streaming media according to a second embodiment of the present invention is applied to a system for managing a video source of a streaming media as shown in fig. 4, and the system for managing a video source of a streaming media is the same as the system of the first embodiment, and is not repeated herein. The streaming media video source provided by the second embodiment of the present invention may be specifically applied to, for example, a WEB client 100, and the streaming media video source management method includes the following steps:
s100, responding to the operation of creating a video source by a user, and generating a streaming media video source creating instruction;
s200, sending the streaming media video source creating instruction to a video source input card, wherein the streaming media video source creating instruction is used for controlling the video source input card to establish links with a plurality of streaming media servers;
s600, responding to the operation of a user for playing a target streaming media video source, sending a playing instruction to the video source input card, wherein the playing instruction is used for controlling the video source input card to acquire the streaming media video source of a target streaming media server in the streaming media servers and analyzing the streaming media video source to generate a video source to be played for output.
Specifically, a user may create a video source on the user operation interface of the WEB client 100, and may input, for example, parameter information of a streaming media server that needs to be created through the user operation interface, where the parameter information of the streaming media server may include, for example, information such as a protocol type, an IP address of the streaming media server, an access user name, and a password, and of course, this is merely an example, and may be specifically set according to an actual situation, and the embodiment of the present invention is not limited to this. After receiving the operation of the user, the WEB client 100 acquires parameter information of a streaming media server input by the user, and then generates a streaming media video source creation instruction according to the parameter information of the streaming media server, where the streaming media video source creation instruction may be, for example, a streaming media transport protocol in JSON format, and sends the streaming media video source creation instruction to the video source input card 230 via the main control card 210 of the card-inserted video splicing processing device 200, so as to control the video source input card 230 to establish links with multiple streaming media servers.
After the streaming media video source is created, a user may select a target streaming media server from the multiple streaming media servers 10 establishing links to play the video source through a WEB client, for example, to generate a play instruction, and send the play instruction to the video source input card 230 through the main control card 210, so as to control the video source input card 230 to obtain the streaming media video source of the target streaming media server from the multiple streaming media servers 10, and to analyze the streaming media video source to generate a video source to be played for output. Therefore, when a certain streaming media video source needs to be played, only the streaming media video source needs to be acquired from the linked streaming media server, and when the number of the streaming media video sources being played reaches the processing limit of the video source input card 230 (for example, the video source input card 230 can support to play sixteen video sources at most), only the acquisition of the certain streaming media video source needs to be stopped to acquire the streaming media video source to be played again, and there is no need to disconnect the link of a certain streaming media server 10 and then reestablish a new link of the streaming media server 10.
In a specific implementation manner of this embodiment, the streaming media video source creation instruction includes one or more streaming media server parameter information. Specifically, when a user creates a video source through a WEB client, the video source can be created individually or in batches. When a user creates a single streaming media video source, for example, parameter information of a streaming media server of a single target streaming media server can be input, and a WEB client acquires the parameter information of the streaming media server of the single target streaming media server and then generates a streaming media video source creation instruction; when a user creates more streaming media video sources, batch creation can be selected, for example, when the user inputs an IP address in streaming media server parameter information, an IP address range to which a streaming media server to be created belongs is input, and a WEB client obtains the streaming media server parameter information of each streaming media server according to the IP address range to generate a streaming media video source creation instruction; when a user needs to create streaming media video sources of all streaming media servers in the same lan as the video source input card 230, for example, automatic scanning may be selected, and a WEB client acquires parameter information of the streaming media servers of all streaming media servers in the same lan as the video source input card 230, and then generates a streaming media video source creation instruction.
Referring to fig. 6, after sending a streaming media video source creation instruction to the video source input card in step S200, the method further includes:
s300, receiving streaming media video source data information returned by the video source input card;
s400, responding to the operation that the user selects the splicing layout, and generating a splicing layout model;
and S500, displaying target streaming media video source data information in the streaming media video source data information in a target window in the splicing layout model to generate a splicing video source model.
Referring to fig. 7, in response to the operation of selecting the mosaic layout by the user, step S400 generates a mosaic layout model, which specifically includes:
s410, responding to the operation of selecting the splicing layout by a user, and acquiring a layout mode, a model width and a model initial coordinate;
s420, obtaining a window initial coordinate, a window width and a window height of each window according to the layout mode, the model width and the model initial coordinate;
s430, generating the splicing layout model based on the window starting coordinate, the window width and the window height of each window.
Specifically, after the streaming media video source is created, the video source input card 210 establishes a link with the streaming media server 10, for example, acquires streaming media video source data information of the streaming media server, such as an IP address, a video source resolution, a frame rate, and the like of the streaming media server, then returns the streaming media video source data information to the WEB client, and the WEB client receives the streaming media video source data information, and may for example display the streaming media video source data information, such as an IP address of the streaming media server or other information, in a video source list of the WEB client.
As mentioned above, the user may further select a splicing layout, the splicing layout may include layout manners such as 1 × 1, 2 × 2, 3 × 3, and 4 × 4, and certainly, the user may also customize and input a required splicing layout manner as required, the WEB client may obtain a layout manner, a model width and a model starting coordinate according to the selection of the user, where the splicing layout may include layout manners such as 1 × 1, 2, 3, and 4 × 4, the model width and the model height are widths and heights of the splicing layout model, the model width may be input by the user through the user-definition, or a default value may be set, the model starting coordinate may also be input by the user or a default value, which is not limited in the embodiments of the present invention. For example, if the user selects a layout mode of 2 × 2, the model width and height are 3840 × 2160, and the model start coordinate is (0,0), then the WEB client calculates the window start coordinate, the window width, and the window height of each window according to the layout mode 2 × 2, the model width and height 3840 × 2160, and the model start coordinate (0,0), referring to fig. 8, where fig. 8 is a spliced layout model generated by the WEB client according to the user selection, there are four windows in total, and the window start coordinates and the sizes (i.e., the window width and the window height) of the four windows are sequentially: (0,0), 1920 × 1080, (1920,0), 1920 × 1080, (0,1080), 1920 × 1080, (1920,1080), 1920 × 1080), the WEB client generates the spliced layout model shown in fig. 8 based on the window start coordinate, the window width, and the window height of each window, and specifically, the spliced layout model may be displayed on an edit page in a Grid layout manner, for example, although the embodiment of the present invention is not limited thereto.
And then, the user can drag the target streaming media video source displayed in the video source list to a target window in the splicing layout model according to the requirement to generate a splicing video source model. The user can use the spliced video source model to play the streaming media video, for example, according to the play selection operation of the user, the WEB client generates a play instruction according to the selection of the user, and then sends the play instruction to the video source input card, so that the multiple video sources can be played in the splicing mode, the specific process is the same as the acquisition and play process of the single video source, and further description is omitted here. Therefore, the requirements of various spliced video sources played by users can be met through the splicing mode, and the user experience is further improved.
In summary, the method for managing a video source of a streaming media according to the embodiments of the present invention generates a creating instruction of a video source of a streaming media by responding to an operation of creating a video source by a user, sends the creating instruction of the video source of the streaming media to a video source input card to control the video source input card to establish links with a plurality of streaming media servers, and then sends a playing instruction to the video source input card to control the video source input card to acquire a video source of a target streaming media server of the plurality of streaming media servers and analyze the video source of the streaming media to generate a video source to be played for output in response to an operation of playing a target streaming media video source by the user, so that, by establishing links with the plurality of streaming media servers first and then acquiring the video source of the target streaming media server of the plurality of streaming media servers as needed, the flexibility and the processing efficiency are greatly improved, and meanwhile, the user experience is greatly improved.
[ third embodiment ]
Referring to fig. 9, an embodiment of the present invention provides a streaming video source management apparatus 300, including: a creation instruction generating module 310, a creation instruction sending module 320, and a play instruction sending module 360.
A creating instruction generating module 310, configured to generate a streaming media video source creating instruction in response to an operation of creating a video source by a user;
a creating instruction sending module 320, configured to send the streaming media video source creating instruction to a video source input card, where the streaming media video source creating instruction is used to control the video source input card to establish links with multiple streaming media servers;
a playing instruction sending module 360, configured to send a playing instruction to the video source input card in response to an operation of a user to play a target streaming media video source, where the playing instruction is used to control the video source input card to acquire a streaming media video source of a target streaming media server in the multiple streaming media servers and to analyze the streaming media video source to generate a video source to be played for output.
Referring to fig. 10, after the instruction sending module is created, the method further includes:
the information receiving module 330 is configured to receive streaming media video source data information returned by the video source input card;
a layout model generation module 340, configured to generate a splicing layout model in response to an operation of selecting a splicing layout by a user;
a video source model generating module 350, configured to display target streaming media video source data information in the streaming media video source data information in a target window in the splicing layout model, so as to generate a spliced video source model.
Referring to fig. 11, the layout model generation module 340 specifically includes:
a first obtaining unit 341, configured to obtain a layout manner, a model width and a model start coordinate in response to an operation of selecting a mosaic layout by a user;
a second obtaining unit 342, configured to obtain a window start coordinate, a window width, and a window height of each window according to the layout manner, the model width, and the model start coordinate;
a generating unit 343, configured to generate the stitching layout model based on the window start coordinate, the window width, and the window height of each window.
For the specific working process and technical effects among the modules in the streaming media video source management device 300 in the present embodiment, reference is made to the description of the foregoing second embodiment.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments can be arbitrarily combined and collocated without conflict between technical features and structural contradictions, which do not violate the purpose of the present invention.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for managing a streaming media video source is characterized by comprising the following steps:
establishing links with a plurality of streaming media servers in response to receiving a streaming media video source creation instruction;
responding to a received playing instruction, and acquiring a streaming media video source of a target streaming media server in the plurality of streaming media servers;
and analyzing the streaming media video source to generate a video source to be played for output.
2. The streaming media video source management method according to claim 1, wherein the streaming media video source creation instruction includes streaming media server parameter information; the establishing a link with a plurality of streaming media servers in response to receiving a streaming media video source creation instruction specifically includes:
responding to a received streaming media video source creating instruction, and acquiring parameter information of a streaming media server in the streaming media video source creating instruction;
and establishing a link with a streaming media server corresponding to the streaming media server parameter information in the plurality of streaming media servers according to the streaming media server parameter information.
3. The method for managing a streaming media video source according to claim 1, wherein the acquiring a streaming media video source of a target streaming media server of the plurality of streaming media servers in response to receiving a play instruction specifically comprises:
responding to a received playing instruction, and generating a video source acquisition instruction according to the playing instruction;
sending the video source acquisition instruction to a target streaming media server in the streaming media servers, wherein the video source acquisition instruction is used for controlling the target camera to output a streaming media video source;
and receiving the streaming media video source output by the target streaming media server.
4. A method for managing a streaming media video source is characterized by comprising the following steps:
responding to the operation of creating a video source by a user, and generating a streaming media video source creating instruction;
sending the streaming media video source creating instruction to a video source input card, wherein the streaming media video source creating instruction is used for controlling the video source input card to establish links with a plurality of streaming media servers;
responding to the operation of a user for playing a target streaming media video source, and sending a playing instruction to the video source input card, wherein the playing instruction is used for controlling the video source input card to acquire the streaming media video source of a target streaming media server in the streaming media servers and analyze the streaming media video source to generate a video source to be played for output.
5. The streaming media video source management method of claim 4, wherein the streaming media video source creation instruction comprises one or more streaming media server parameter information.
6. The method as claimed in claim 4, wherein after sending the streaming video source creation command to the video source input card, the method further comprises:
receiving streaming media video source data information returned by the video source input card;
responding to the operation of selecting the splicing layout by the user, and generating a splicing layout model;
and displaying target streaming media video source data information in the streaming media video source data information in a target window in the splicing layout model to generate a splicing video source model.
7. The method for managing a video source of streaming media according to claim 6, wherein the generating a mosaic layout model in response to an operation of a user selecting a mosaic layout specifically comprises:
responding to the operation of selecting splicing layout by a user, and acquiring a layout mode, a model width and a model initial coordinate;
obtaining a window starting coordinate, a window width and a window height of each window according to the layout mode, the model width and the model starting coordinate;
generating the mosaic layout model based on the window start coordinates, the window width, and the window height of each window.
8. A streaming media video source management apparatus, comprising:
the creating instruction generating module is used for responding to the operation of creating the video source by the user and generating a streaming media video source creating instruction;
the creating instruction sending module is used for sending the streaming media video source creating instruction to a video source input card, and the streaming media video source creating instruction is used for controlling the video source input card to establish links with a plurality of streaming media servers;
and the playing instruction sending module is used for responding to the operation of a user for playing a target streaming media video source, sending a playing instruction to the video source input card, wherein the playing instruction is used for controlling the video source input card to acquire the streaming media video source of a target streaming media server in the streaming media servers and analyzing the streaming media video source to generate a video source to be played for output.
9. The streaming media video source management apparatus of claim 8, wherein after the creating instruction sending module, the apparatus further comprises:
the information receiving module is used for receiving the streaming media video source data information returned by the video source input card;
the layout model generation module is used for responding to the operation of selecting the splicing layout by the user and generating a splicing layout model;
and the video source model generating module is used for displaying the target streaming media video source data information in the streaming media video source data information in a target window in the splicing layout model to generate a splicing video source model.
10. A card-inserted video stitching processing apparatus, comprising: the video exchange system comprises a main control card, an exchange back plate, a video source input card and a video source output card, wherein the main control card, the video source input card and the video source output card are respectively and electrically connected with the exchange back plate; wherein the video source input card is used for executing the streaming media video source management method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011432192.5A CN114629880B (en) | 2020-12-10 | 2020-12-10 | Streaming media video source management method and device and plug-in card type video splicing processing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011432192.5A CN114629880B (en) | 2020-12-10 | 2020-12-10 | Streaming media video source management method and device and plug-in card type video splicing processing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114629880A true CN114629880A (en) | 2022-06-14 |
CN114629880B CN114629880B (en) | 2024-05-10 |
Family
ID=81895473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011432192.5A Active CN114629880B (en) | 2020-12-10 | 2020-12-10 | Streaming media video source management method and device and plug-in card type video splicing processing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114629880B (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7353277B1 (en) * | 2000-11-14 | 2008-04-01 | Hewlett-Packard Development Company, L.P. | Dynamic load balancing of video requests |
CN102307309A (en) * | 2011-07-29 | 2012-01-04 | 杭州电子科技大学 | Somatosensory interactive broadcasting guide system and method based on free viewpoints |
CN102868908A (en) * | 2011-07-04 | 2013-01-09 | 哈尔滨融智达网络科技有限公司 | High-efficiency streaming media playing method and device |
CN103139607A (en) * | 2011-11-30 | 2013-06-05 | 中国航天科工集团第二研究院七〇六所 | Real-time network monitoring system and method thereof |
CN104219500A (en) * | 2014-08-27 | 2014-12-17 | 天津市中信互联科技有限公司 | Device and method for monitoring video live broadcast |
WO2016009348A1 (en) * | 2014-07-18 | 2016-01-21 | De Cori Riccardo | Video player for remotely viewing media |
US20160088326A1 (en) * | 2014-09-23 | 2016-03-24 | Watchcorp Holdings LLC | Distributed recording, managing, and accessing of surveillance data within a networked video surveillance system |
US20160212487A1 (en) * | 2015-01-19 | 2016-07-21 | Srinivas Rao | Method and system for creating seamless narrated videos using real time streaming media |
WO2016180251A1 (en) * | 2015-05-12 | 2016-11-17 | 中兴通讯股份有限公司 | Method and device for processing plurality of video source of terminal |
CN106209880A (en) * | 2016-07-21 | 2016-12-07 | 深圳羚羊极速科技有限公司 | A kind of method of multi-line transmission stream medium data |
CN106331838A (en) * | 2016-08-25 | 2017-01-11 | 刘华英 | Multimedia play log management method and device |
CN106792216A (en) * | 2016-12-12 | 2017-05-31 | 深圳市中博睿存科技有限公司 | Streaming Media read method and server in distributed file system |
US20170289214A1 (en) * | 2016-04-04 | 2017-10-05 | Hanwha Techwin Co., Ltd. | Method and apparatus for playing media stream on web browser |
CN108183913A (en) * | 2018-01-04 | 2018-06-19 | 深圳前海安托邦网络科技有限公司 | A kind of LAN video camera carries out the management system and method for network flow-medium live streaming |
CN109600624A (en) * | 2018-12-18 | 2019-04-09 | 浩云科技股份有限公司 | A kind of distributed load equalizing method and device based on Streaming Media |
CN111327584A (en) * | 2019-11-12 | 2020-06-23 | 杭州海康威视***技术有限公司 | Video monitoring method, device, system, equipment and storage medium |
-
2020
- 2020-12-10 CN CN202011432192.5A patent/CN114629880B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7353277B1 (en) * | 2000-11-14 | 2008-04-01 | Hewlett-Packard Development Company, L.P. | Dynamic load balancing of video requests |
CN102868908A (en) * | 2011-07-04 | 2013-01-09 | 哈尔滨融智达网络科技有限公司 | High-efficiency streaming media playing method and device |
CN102307309A (en) * | 2011-07-29 | 2012-01-04 | 杭州电子科技大学 | Somatosensory interactive broadcasting guide system and method based on free viewpoints |
CN103139607A (en) * | 2011-11-30 | 2013-06-05 | 中国航天科工集团第二研究院七〇六所 | Real-time network monitoring system and method thereof |
WO2016009348A1 (en) * | 2014-07-18 | 2016-01-21 | De Cori Riccardo | Video player for remotely viewing media |
CN104219500A (en) * | 2014-08-27 | 2014-12-17 | 天津市中信互联科技有限公司 | Device and method for monitoring video live broadcast |
US20160088326A1 (en) * | 2014-09-23 | 2016-03-24 | Watchcorp Holdings LLC | Distributed recording, managing, and accessing of surveillance data within a networked video surveillance system |
US20160212487A1 (en) * | 2015-01-19 | 2016-07-21 | Srinivas Rao | Method and system for creating seamless narrated videos using real time streaming media |
WO2016180251A1 (en) * | 2015-05-12 | 2016-11-17 | 中兴通讯股份有限公司 | Method and device for processing plurality of video source of terminal |
US20170289214A1 (en) * | 2016-04-04 | 2017-10-05 | Hanwha Techwin Co., Ltd. | Method and apparatus for playing media stream on web browser |
CN106209880A (en) * | 2016-07-21 | 2016-12-07 | 深圳羚羊极速科技有限公司 | A kind of method of multi-line transmission stream medium data |
CN106331838A (en) * | 2016-08-25 | 2017-01-11 | 刘华英 | Multimedia play log management method and device |
CN106792216A (en) * | 2016-12-12 | 2017-05-31 | 深圳市中博睿存科技有限公司 | Streaming Media read method and server in distributed file system |
CN108183913A (en) * | 2018-01-04 | 2018-06-19 | 深圳前海安托邦网络科技有限公司 | A kind of LAN video camera carries out the management system and method for network flow-medium live streaming |
CN109600624A (en) * | 2018-12-18 | 2019-04-09 | 浩云科技股份有限公司 | A kind of distributed load equalizing method and device based on Streaming Media |
CN111327584A (en) * | 2019-11-12 | 2020-06-23 | 杭州海康威视***技术有限公司 | Video monitoring method, device, system, equipment and storage medium |
Non-Patent Citations (6)
Title |
---|
YU BAO等: "Quantitative comparison of lossless video compression for multi-camera stereo and view interpolation applications", 《2015 IEEE 13TH INTERNATIONAL NEW CIRCUITS AND SYSTEMS CONFERENCE (NEWCAS)》, 10 August 2015 (2015-08-10) * |
吕嘉卿;刘立程;何云;刘秋韵;: "基于大学课堂的网络流媒体***的设计", 电子世界, no. 23, 8 December 2016 (2016-12-08) * |
王小燕;: "一种高效点播流媒体服务器的设计与实现", 计算机工程与科学, no. 02 * |
白云飞;卢欣;屈宝存;: "流媒体技术在工业控制中的应用", 常州工学院学报, no. 06, 30 December 2006 (2006-12-30) * |
肖强;申瑞民;陈世明;: "S jtum s流媒体点播协议和点播***设计", 计算机仿真, no. 11, 28 November 2005 (2005-11-28) * |
颜廷芝;袁东风;江铭炎;孙润元;: "基于嵌入式Linux终端的在线流媒体服务***", 计算机应用与软件, no. 02 * |
Also Published As
Publication number | Publication date |
---|---|
CN114629880B (en) | 2024-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109889381B (en) | Automatic configuration management method and device based on fort machine | |
CN108513154A (en) | Intelligent home furnishing control method, smart television based on smart television and storage medium | |
CN107430514A (en) | Use the low latency application of multiserver | |
CN105976420A (en) | Online rendering method and system | |
CN110989952B (en) | Multi-screen-based mouse sharing implementation method, device and system | |
CN105682090A (en) | Device control method and control terminal response method and apparatus | |
CN111400041A (en) | Server configuration file management method and device and computer readable storage medium | |
CN113489805A (en) | Docking method, device, equipment and storage medium of cloud desktop system | |
CN111741353A (en) | Method for device cooperative work, terminal device and readable storage medium | |
CN114816308B (en) | Information partition display method and related equipment | |
CN113535541A (en) | Test method, test device, storage medium and computer equipment | |
CN109032768A (en) | Moving method, device, terminal, server and the storage medium of utility cession | |
CN107665141A (en) | A kind of configuration method for database and its equipment | |
WO2024078406A1 (en) | Data display method and apparatus, electronic device and storage medium | |
CN114629880A (en) | Streaming media video source management method and device and card-inserting type video splicing processing equipment | |
CN112614049A (en) | Image processing method, image processing device, storage medium and terminal | |
CN116567342A (en) | Screen projection method and device | |
JP2017123103A (en) | Terminal device, information processing method, and program | |
US11656834B2 (en) | Information processing device, non-transitory recording medium, and information processing system | |
CN113452948B (en) | Conference terminal control method, device, equipment and storage medium | |
CN109600266A (en) | A kind of device management command dissemination method and management equipment | |
CN112269741B (en) | Application program compatibility testing method and related equipment | |
CN104683449A (en) | Remote desktop control method based on window structure | |
CN114253649B (en) | Image rendering method, device, equipment and readable storage medium | |
CN111752655B (en) | Data processing system and method |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240717 Address after: 01A, 12th Floor, No. 8 Caihefang Road, Haidian District, Beijing, 100000 Patentee after: PIXELHUE TECHNOLOGY Ltd. Country or region after: China Address before: Def101, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710075 Patentee before: XI'AN NOVASTAR TECH Co.,Ltd. Country or region before: China |