CN108924582B - Video recording method, computer readable storage medium and recording and playing system - Google Patents

Video recording method, computer readable storage medium and recording and playing system Download PDF

Info

Publication number
CN108924582B
CN108924582B CN201811019751.2A CN201811019751A CN108924582B CN 108924582 B CN108924582 B CN 108924582B CN 201811019751 A CN201811019751 A CN 201811019751A CN 108924582 B CN108924582 B CN 108924582B
Authority
CN
China
Prior art keywords
video
recording
information
server
display screen
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
CN201811019751.2A
Other languages
Chinese (zh)
Other versions
CN108924582A (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.)
Shenzhen Tendzone Intelligent Technology Co ltd
Original Assignee
Shenzhen Tendzone Intelligent 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 Shenzhen Tendzone Intelligent Technology Co ltd filed Critical Shenzhen Tendzone Intelligent Technology Co ltd
Priority to CN201811019751.2A priority Critical patent/CN108924582B/en
Publication of CN108924582A publication Critical patent/CN108924582A/en
Application granted granted Critical
Publication of CN108924582B publication Critical patent/CN108924582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23103Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion using load balancing strategies, e.g. by placing or distributing content on different disks, different memories or different servers
    • 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
    • H04N21/26208Content 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 the scheduling operation being performed under constraints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video recording method, a computer readable storage medium and a recording and broadcasting system, wherein the video recording method comprises the following steps: receiving video operation information sent by application operation scheduling equipment, wherein the video operation information comprises operation actions, operation time and operation video information; acquiring a corresponding target video stream from a preset data source according to the operation video information; and analyzing the operation actions in sequence according to the operation time, forming a node information file according to an analysis result, and storing the node information file and the corresponding target video stream of each operation action in a corresponding video recording file package. The invention records the operation of the video in the video recording process, can truly and perfectly restore the recording process, can perfectly restore the original definition and ensures the playback effect.

Description

Video recording method, computer readable storage medium and recording and playing system
Technical Field
The present invention relates to the field of video recording and playing technologies, and in particular, to a video recording method, a computer-readable storage medium, and a recording and playing system.
Background
At present, recording and broadcasting of a spliced screen matrix on the market are mainly realized through two modes, wherein the first mode is to butt joint external recording and broadcasting equipment, the external recording and broadcasting equipment of the type covers a hard disk video recorder in the security industry, a conventional recording and broadcasting server in the recording and broadcasting industry and the like, video and audio data information is butt-jointed and transmitted to the external recording and broadcasting equipment through the matrix so as to record and store video and audio in a relatively independent one-way mode, and the second mode is to realize self-contained recording and broadcasting service.
Disclosure of Invention
The invention mainly aims to provide a video recording method, a computer readable storage medium and a recording and playing system, and aims to solve the problem that the prior art cannot restore a real recording scene.
In order to achieve the above object, the video recording method provided by the present invention comprises:
receiving video operation information sent by application operation scheduling equipment, wherein the video operation information comprises operation actions, operation time and operation video information;
acquiring a corresponding target video stream from a preset data source according to the operation video information;
and analyzing the operation actions in sequence according to the operation time, forming a node information file according to an analysis result, and storing the node information file and the corresponding target video stream of each operation action in a corresponding video recording file package.
Preferably, before the step of obtaining the corresponding target video stream from the preset data source according to the operation video information, the method further includes:
judging whether the last operation video information is the same as the current operation video information;
and if not, acquiring a corresponding target video stream from a preset data source according to the current operation video information.
Preferably, the video recording and playing method further includes:
receiving an externally triggered playback request;
and sending the plurality of node information files corresponding to the playback request to a display screen according to the playback request, so that the display screen reads the node information files according to the recording sequence, and loads and decodes the corresponding target video stream according to the node information files.
In addition, the present invention further provides a computer-readable storage medium, in which a video recording control program is stored, and when the video recording control program is executed by a processor, the steps of the video recording method are implemented.
In addition, the invention also provides a recording and broadcasting system, which comprises a data source, application scheduling equipment and a recording and broadcasting server,
the operation scheduling device is used for sending video operation information to the recording and playing server according to an operation triggered by a user, wherein the video operation information comprises operation actions, operation time and operation video information;
the recording and broadcasting server is used for receiving video operation information sent by the application operation scheduling equipment and acquiring a corresponding target video stream from the data source according to the operation video information; analyzing the operation actions in sequence according to the operation time, forming node information files according to analysis results, and encapsulating the node information files of each operation action and corresponding target video streams to form corresponding video recording file packets
Preferably, the recording and playing server is further configured to determine whether the last operation video information is the same as the current operation video information;
and if not, acquiring a corresponding target video stream from a preset data source according to the current operation video information.
Preferably, the recording and broadcasting system further comprises a load scheduling server, the number of the recording and broadcasting servers is multiple,
the operation scheduling device is used for sending video operation information to the recording and broadcasting server through the load scheduling server according to the operation triggered by the user;
and the load scheduling server is used for acquiring the load weights of a plurality of recording and broadcasting servers and distributing the multi-channel video operation information to at least one recording and broadcasting server according to the load weights.
Preferably, the load scheduling server is further configured to receive a plurality of same-path video operation information, and send the plurality of same-path video operation information to the same recording and playing server.
Preferably, the load scheduling server is further configured to simultaneously distribute the same channel of video operation information to two recording and playing servers.
Preferably, the recording and playing system further comprises a memory, the memory comprising a plurality of disk array devices, the memory being used for storing the video recording file package.
Preferably, the recording and playing system further comprises a display screen, and the application operates the scheduling device and is further configured to send a playback instruction to the display according to an operation triggered by a user;
the display is used for receiving the playback instruction, sending a playback request to the recording and playing server according to the playback instruction, reading the node information file according to a recording sequence, and loading and decoding the corresponding target video stream according to the node information file;
and the recording and broadcasting server is used for receiving the acquisition request sent by the display and sending the corresponding multiple node information files to the display according to the acquisition request.
The method comprises the steps of receiving video operation information sent by application operation scheduling equipment, wherein the video operation information comprises operation actions, operation time and operation video information, acquiring corresponding target video streams from a preset data source according to the operation video information, analyzing the operation actions in sequence according to the operation time, and storing each operation action and the corresponding target video stream in a corresponding video recording file packet according to an analysis result. According to the technical scheme, the playing process of each path of video can be recorded, the operation action information of each operation node is stored into a single node information file by recording the operation time, the operation action and the operation video information, and the video recording file packet of one path of video comprises the node information files and the target video stream corresponding to the plurality of operation nodes. The invention records the operation of the video in the video recording process, and can truly and perfectly restore the recording process. And each operation node is correspondingly provided with a node information file, and even if the node information file of one operation node is damaged, the playback of the video recording process of other operation nodes is not influenced. Meanwhile, the technical scheme can perfectly restore the original definition in the recording process and ensure the playback effect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic diagram of a hardware module structure of a video recording apparatus according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a video recording method according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a video recording method according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a video recording method according to a third embodiment of the present invention;
fig. 5 is a system diagram of a recording and playing system according to a first embodiment of the present invention;
fig. 6 is a system diagram of a recording and playing system according to a second embodiment of the present invention;
fig. 7 is a system diagram of a recording and playing system according to a third embodiment of the present invention;
fig. 8 is a system diagram of a recording and playing system according to a fourth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
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.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In addition, the technical solutions in the embodiments of the present invention may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should not be considered to exist, and is not within the protection scope of the present invention.
The main idea of the embodiment scheme of the invention is as follows: receiving video operation information sent by an application operation scheduling device, wherein the video operation information comprises operation actions, operation time and operation video information, and the operation actions comprise operations of recording, screen uploading, screen downloading, zooming, moving, displaying, ending and the like. And acquiring a corresponding target video stream from a preset data source according to the operation video information, sequentially analyzing the operation action according to the operation time, and forming a node information file according to an analysis result, wherein the node information file records the target video stream information of a corresponding operation node, the ID information of a display window of the target video stream on the display screen, the window size information, the display screen size information and the like. And then, storing the node information file of each operation action and the corresponding target video stream in a corresponding video recording file packet, wherein one operation action correspondingly forms a node information file, each path of video recording file comprises the display condition of at least one target video stream in the path of video on an original display screen, and a plurality of operation actions of one path of video form an integral recording file of the path of video. The node information corresponding to each operation video information and the target video stream are packaged to form a video file of one path of video, and the target video stream information used in recording is reserved, so that the resolution and definition of the path of video in recording and playing are reserved. And moreover, the target video stream and each node information file are saved, and each operation during recording is restored according to each node information file, so that the purpose of really restoring the recorded scene can be achieved.
The video recording method related by the embodiment of the invention is mainly applied to video recording equipment, and the video recording equipment can be equipment with a processing function of a PERSONAL COMPUTER (PC), a portable COMPUTER and a mobile terminal.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a video recording apparatus according to an embodiment of the present invention. In this embodiment of the present invention, the video recording device may include a processor 1001 (e.g., a CENTRAL PROCESSING UNIT (CPU)), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a DISPLAY screen (DISPLAY), an input unit such as a KEYBOARD (KEYBOARD); network interface 1004 may optionally include a standard wired interface, a WIRELESS interface (e.g., a WI-FI interface, WI-FI interface); the MEMORY 1005 may be a RANDOM ACCESS MEMORY (RAM) or a NON-VOLATILE MEMORY (NON-VOLATILE MEMORY), such as a disk MEMORY, and optionally, the MEMORY 1005 may be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 1 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005 of fig. 1, which is one type of computer-readable storage medium, may include an operating system, a network communication module, and a video recording program. In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; and the processor 1001 may call a video recording program stored in the memory 1005.
Based on the hardware structure of the video recording device, the embodiments of the video recording method are provided.
The invention provides a video recording method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a video recording method according to a first embodiment of the present invention. In this embodiment, the image display method includes the steps of:
step S10, receiving video operation information sent by the application operation scheduling device 110, where the video operation information includes operation actions, operation time, and operation video information;
the user performs an operation on the currently played video on the interactive interface of the application operation scheduling device 110. It can be understood that the application operation scheduling interface is provided with a soft play area having a mapping relation with the display screen 160, and the display screen 160 can respond to the display change of the soft play area in real time when the video in the soft play area is operated. The application operation scheduling device 110 can generate video operation information corresponding to various operations performed by the user on the display video in the soft play area.
The video operation information includes operation actions, operation time and operation video information, where the operation actions refer to operations performed by a user on data displayed on the current display screen 160, and include actions of screen up, screen down, zooming, moving, recording, and ending, the screen up refers to starting playing a new video stream on the screen, the screen down refers to ending playing a video already displayed on the screen, the zooming refers to reducing or enlarging the size of a video already displayed on the screen, the moving refers to changing the position of a video displayed on the screen, recording starts to record the video being displayed, and recording ends, that is, recording ends to record the video being displayed. The operation time is the time when the video operation information is generated or the time when the user triggers the generation of the video operation information. The operation video information refers to an object currently operated by a user, such as a video stream needing to be displayed on a screen or a video stream needing to be zoomed.
It should be noted that the operation video information mainly stores the video display information on the display screen 160 after the display screen 160 responds to the current operation node of the user, including the number of video streams displayed on the display screen 160 after the current operation node, and the corresponding data source of each video stream.
In this embodiment, the display screen 160 is preferably a tiled matrix screen, i.e., the display screen 160 is composed of a plurality of sub-display screens 160 that are independently displayed. The video operation information sent by the application operation scheduling device 110 is video operation information for one operation node, and when one video is displayed on the display screen 160, the application operation scheduling device 110 sends a plurality of pieces of video operation information of one video, that is, recording of a single video is realized. When multiple videos are displayed on the display screen 160, the application operation scheduling device 110 sends a plurality of video operation information of each video, i.e. recording of multiple videos is achieved.
Step S20, obtaining a corresponding target video stream from the preset data source 130 according to the operation video information;
the operation video information comprises operation actions, operation time and operation video information. And operating the video information, namely, operating the operation object of the current operation node of the user. The preset data source 130 stores a plurality of video streams, and a plurality of pieces of video stream information may be displayed on the interactive interface of the application operation scheduling device 110, and a user may play the target video stream by dragging the target video stream to the soft play area, and when the target video stream is zoomed, moved, and the like in the soft play area, video operation information of each operation node may be generated. When a user triggers an operation on a certain target video stream, the application operation scheduling device 110 generates video operation information from the operation triggered by the user and sends the video operation information to the recording and playing server 120, and the recording and playing server 120 receives the video operation information and acquires the target video stream from a preset database according to the operation video information contained in the video operation information. The operational video information includes the ID address of the data source 130. The data source 130 may be an encoder or a third party video providing platform.
And step S30, analyzing the operation actions in sequence according to the operation time, forming node information files according to the analysis result, and storing the node information files and the corresponding target video streams of each operation action in corresponding video recording file packages.
Upon retrieving the target video stream from the preset data source 130, the processor 1001 can save the target video stream in the memory 1005. The processor 1001 obtains information of an operation action and information of operation time from the video operation information, parses the information of the operation action, and forms a node information file according to a result of the parsing, where the node information file includes target video stream information of a current operation node, a display window position and a display window size of the target video stream, and size and resolution information of the display screen 160, and the formed node information file is stored in the memory 1005. And then encapsulating the node information file of each operation action and the corresponding target video stream to form a corresponding video recording file packet.
The forming process of the video recording file package can be understood as that when video operation information of a current operation node is received, a corresponding target video stream is obtained from a data source and stored, a node information file is formed and stored according to operation action analysis of the current operation node, and finally the obtained target video stream and a plurality of node information files are stored in the video recording file package corresponding to the route change video, namely at least one target video stream and a plurality of node information files are stored in the formed video recording file package. The node information file is stored in a JSON file format. A plurality of target video streams are stored in a storage container in a unified manner.
It should be noted that each operation action correspondingly forms a node information file, when a user triggers multiple pieces of video operation information in a video, multiple node information files are correspondingly generated, and when a video is played, the multiple node information files are read according to the sequence of operation time, and a corresponding target video stream is played according to the node information file decoding. In order to realize sequential reading of a plurality of node information files, each node information file may be time-stamped, and when an operation node is reached, the corresponding node information file is read.
According to the technical scheme of the embodiment, when the video is recorded, a time axis from the beginning of recording to the end of recording is taken as a main line, and then corresponding operations at each time point with operation change are recorded, wherein the main recording operations comprise video and audio screen up and down, video movement, zooming and other operations. Video resources are recorded and stored in a resource mode (namely one path of stream is one file) so as to ensure the absolute reality and the original definition reduction of the video; during playback, the recording and playing service synchronously plays back according to the recorded time axis, the operation process of the whole original scene is completely and really reproduced, meanwhile, one path of video corresponds to one video recording file package, a plurality of target video streams and a plurality of node information files are stored in the video recording file package, each operation node corresponds to one node information file, even if the node information file of one operation node is damaged, reading of the node information files of other operation nodes cannot be influenced, and the safety of the recorded files is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a video recording method according to a second embodiment of the present invention. Based on fig. 2, step S20 in this embodiment further includes, before:
step S11, determining whether the previous operation video information is the same as the current operation video information;
if the previous operation video information is not the same as the current operation video information, step S20 is executed to obtain a corresponding target video stream from the preset data source 130 according to the current operation video information. If the last operation video information is the same as the current operation video information, step S30 is executed.
In the process of recording one path of video, there are various operation actions in the video operation information triggered by the user, such as screen up, screen down, zooming, and moving. When the operation is performed as the top screen or the bottom screen, at this time, a new target video stream needs to be put on the display screen 160 for display, and at this time, since the recording and playing server 120 never obtains the new target video stream from the data source 130, the recording and playing server 120 needs to obtain the new target video stream from the corresponding data source 130 according to the operation video information. When the operation action is zooming or moving, only the size and the position of the video being displayed need to be changed at this time, and a new video stream does not need to be introduced, that is, the recording and playing server 120 has already obtained the target video stream being displayed from the corresponding data source 130, at this time, the recording and playing server 120 does not need to obtain the target video stream from the data source 130 according to the operation video information. By the technical scheme, the recording synchronization is guaranteed, and the recording delay is slowed down. After obtaining the video operation information of the current operation node, the processor 1001 compares the operation video information of the current operation node with the video operation information of the previous operation node, and determines whether the previous operation video information is the same as the current operation video information. If the previous operation video information is not the same as the current operation video information, the target video information of the current node is obtained from the corresponding data source 130, that is, step S20 is executed. If the previous operation video information is the same as the current operation video information, the corresponding target video stream is acquired from the corresponding memory 1005, and then step S30 is executed.
Referring to fig. 4, fig. 4 is a flowchart illustrating a video recording method according to a third embodiment of the present invention. Based on fig. 1, step S20 in this embodiment further includes, before:
step S40, receiving an externally triggered playback request;
step S50, according to the playback request, sending a plurality of node information files corresponding to the playback request to the display screen 160, so that the display screen 160 reads the node information files according to the recording order, and loads and decodes the corresponding target video stream according to the node information files.
After the recording of the video is realized through the method, when an externally triggered playback request is received, the plurality of node information files corresponding to the playback request are sent to the display screen 160 according to the playback request, so that the display screen 160 reads the node information files according to the recording sequence, and loads and decodes the corresponding target video stream according to the node information files. After receiving the plurality of node information files sent by the recording and playing server 120, the display screen 160 first reads each node information file to obtain the position of each operation node on the whole recording time axis, then loads a target video stream according to each node information file, and plays the decoded target video stream according to each node information. At this time, the recording and playing server 120 serves as a data source 130 for providing the video stream to be played to the display screen. Typically, the playback request includes the requested device information (display screen 160 or other third party display device), the video content (including which video files were requested), and the like. A requesting device, such as display screen 160, receives a plurality of node information files belonging to the same way. When the display screen 160 receives the multiple video files, the multiple video files are synchronously played correspondingly, and the multiple video files are played independently without mutual influence.
In addition, the embodiment of the invention also provides a computer readable storage medium. The computer readable storage medium stores a control program for video recording, wherein the control program for video recording, when executed by the processor, implements the steps of the video recording method of any of the above embodiments.
The method for implementing the video recording control program when executed may refer to various embodiments of the video recording method of the present invention, and details thereof are not repeated herein.
In addition, the invention also provides a recording and broadcasting system 100.
Referring to fig. 5, fig. 5 is a system structure diagram of a recording and playing system 100 according to a first embodiment of the present invention.
In this embodiment, the recording and broadcasting system 100 includes a data source 130, an application scheduling operation device, and a recording and broadcasting server 120, and data communication is implemented between the data source 130, the application scheduling operation device, and the recording and broadcasting server 120 through a LAN or a WLAN. The number of data sources 130 is preferably plural, and plural data sources 130 hold plural video streams. The operation scheduling device is configured to send video operation information according to the operation box recording and playing server 120 triggered by the user, where the video operation information includes operation actions, operation time, and operation video information. The recording and playing server 120 is configured to receive video operation information sent by the application operation scheduling device 110, and obtain a corresponding target video stream from the data source 130 according to the operation video information; and analyzing the operation actions in sequence according to the operation time, forming a node information file according to an analysis result, and storing the node information file and the corresponding target video stream of each operation action in a corresponding video recording file package.
The application operation scheduling device 110 is provided with an interactive interface for user interaction, the interactive interface includes a soft play area and a data information area, the soft play area and the display screen 160 have a synchronous mapping relationship, that is, the content displayed on the soft play area can be synchronously displayed on the display screen 160, and the display screen 160 can respond to the display change of the soft play area in real time when operating the video in the soft play area. The application operation scheduling device 110 can generate video operation information corresponding to various operations performed by the user on the display video in the soft play area.
The video operation information includes operation actions, operation time and operation video information, where the operation actions refer to operations performed by a user on data displayed on the current display screen 160, and include actions of screen up, screen down, zooming, moving, recording, and ending, the screen up refers to starting playing a new video stream on the screen, the screen down refers to ending playing a video already displayed on the screen, the zooming refers to reducing or enlarging the size of a video already displayed on the screen, the moving refers to changing the position of a video displayed on the screen, recording starts to record the video being displayed, and recording ends, that is, recording ends to record the video being displayed. The operation time is the time when the video operation information is generated or the time when the user triggers the generation of the video operation information. The operation video information refers to an object currently operated by a user, such as a video stream needing to be displayed on a screen or a video stream needing to be zoomed.
In this embodiment, the display screen 160 is preferably a tiled matrix screen, i.e., the display screen 160 is composed of a plurality of sub-display screens 160 that are independently displayed. The video operation information sent by the application operation scheduling device 110 is video operation information for one operation node, and when one video is displayed on the display screen 160, the application operation scheduling device 110 sends a plurality of pieces of video operation information of one video, that is, recording of a single video is realized. When multiple videos are displayed on the display screen 160, the application operation scheduling device 110 sends a plurality of video operation information of each video, i.e. recording of multiple videos is achieved.
After receiving the video operation information sent by the application operation scheduling device 110, the recording and playing server 120 acquires the target video stream from the data source 130 according to the video operation information, and stores the target video stream in the memory 1005. The processor 1001 obtains information of an operation action and information of operation time from the video operation information, parses the information of the operation action, and forms a node information file according to a result of the parsing, where the node information file includes target video stream information of a current operation node, a display window position and a display window size of the target video stream, and size and resolution information of the display screen 160, and the formed node information file is stored in the memory 1005. And then saving the node information file of each operation action and the corresponding target video stream in a corresponding video recording file packet. The forming process of the video recording file package can be understood as that when video operation information of a current operation node is received, a corresponding target video stream is obtained from a data source and stored, a node information file is formed and stored according to operation action analysis of the current operation node, and finally the obtained target video stream and a plurality of node information files are stored in the video recording file package corresponding to the route change video, namely at least one target video stream and a plurality of node information files are stored in the formed video recording file package. The node information file is stored in a JSON file format. A plurality of target video streams are stored in a storage container in a unified manner.
According to the technical scheme of the embodiment, when the video is recorded, a time axis from the beginning of recording to the end of recording is taken as a main line, and then corresponding operations at each time point with operation change are recorded, wherein the main recording operations comprise video and audio screen up and down, video movement, zooming and other operations. Video resources are recorded and stored in a resource mode (namely one path of stream is one file) so as to ensure the absolute reality and the original definition reduction of the video; during playback, the recording and playing service synchronously plays back the recorded videos according to the time axis, the operation process of the whole original scene is completely and really reproduced, meanwhile, one path of video corresponds to one video recording file package, the video recording file package is stored into a plurality of target video streams and a plurality of node information files, each operation node corresponds to one node information file, even if the node information file of one operation node is damaged, reading of the node information files of other operation nodes cannot be influenced, and the safety of the recorded files is improved.
Further, in order to reduce network congestion and avoid unnecessary procedures performed by the recording and playing server 120, the recording and playing server 120 is further configured to determine whether the previous operation video information is the same as the current operation video information, and if not, obtain a corresponding target video stream from the preset data garden according to the current operation video information. If the two video streams are the same, the target video stream does not need to be acquired.
Referring to fig. 6, fig. 6 is a system structure diagram of a recording and playing system 100 according to a second embodiment of the present invention.
In this embodiment, based on the first embodiment, the recording and playing system 100 further includes a load scheduling server 140, and the number of the recording and playing servers 120 is plural. And an operation scheduling device, configured to send video operation information to the recording and playing server 120 through the load scheduling server 140 according to an operation triggered by a user. And the load scheduling server 140 is configured to obtain load weights of the plurality of recording and playing servers 120, and distribute the multiple channels of video operation information to at least one recording and playing service according to the load weights.
When multiple videos need to be recorded simultaneously, since one recording and broadcasting server 120 cannot meet the recording requirement, multiple recording and broadcasting servers 120 are required to record simultaneously. At this time, the load scheduling server 140 can obtain the load weight of each recording and broadcasting server 120 in real time, and record tasks for each recording and broadcasting server 120 according to the load weight of each recording and broadcasting server 120.
For example, the maximum recording capacity of each recording and broadcasting server 120 is to record 4 videos at the same time, and there are 4 recording and broadcasting servers 120 in total, where the load weight of the first recording and broadcasting server 120 is 50% (the remaining recording capacity is 2), the load weight of the second recording and broadcasting server 120 is 25% (the remaining recording capacity is 1), and the load weights of the third recording and broadcasting server 120 and the fourth recording and broadcasting server 120 are 100% (the remaining recording capacity is 4, at this time, the load scheduling server 140 receives the video operation information of the 4 videos sent by the application operation scheduling device 110. the load scheduling server 140 may be distributed in a manner that the received video operation information of the 2 videos among them is sent to the first recording and broadcasting server 120, the video operation information of the 1 video among them is sent to the second recording and broadcasting server 120, the video operation information of the 1 video among them is sent to the third recording and broadcasting server 120, the load scheduling server 140 may also directly send the video operation information of the received 4 videos to the third recording and playing server 120 or the fourth recording and playing server 120.
Preferably, the load scheduling server 140 first sends the received video operation information to the recording and broadcasting server 120 located at the front, and considers distributing several video channels per recording and broadcasting server 120 according to the load weight of each recording and broadcasting server 120. It should be noted that the load scheduling server 140 may also be used as a recording server 120 to record videos.
In addition, the load scheduling server 140 can also monitor the health status of the recording and broadcasting server 120 in real time, when the recording and broadcasting server 120 cannot be used, the unhealthy recording and broadcasting server 120 is kicked out and stored in the routing table of the load scheduling server, the routing table records the communication health status between the load scheduling server 140 and the communication ports of the respective recording and broadcasting servers 120, and when the recording and broadcasting server 120 is offline, the offline recording and broadcasting server 120 is removed from the routing table.
Further, the load scheduling server 140 is further configured to receive a plurality of co-channel video operation information, and send the plurality of co-channel video operation information to the same recording and playing server 120. In order to ensure that each operation for the same-path video is stored in the same recording file to ensure the continuity and integrity of the video during playback, the parent load scheduling server 140 sends the video operation information of the same-path video to the same recording server when receiving the multiple pieces of video operation information of the same-path video.
Further, in order to avoid video recording failure caused by video damage of each operation node or failure of the recording and playing server 120, the load scheduling server 140 is further configured to simultaneously distribute the same path of video operation information to the two recording and playing servers 120. Preferably, one of the two recording and playing servers 120 is used as a backup server to generate a file for backing up the video file, and the backup file generated by the backup server is correlated with the video recording file packet generated by the non-backup server, and when the video recording file packet is damaged, the backup video file is called in time for playing.
Referring to fig. 7, fig. 7 is a system structural diagram of a recording and playing system 100 according to a third embodiment of the present invention.
Since the recording and broadcasting server 120 has a limited storage capacity, which may easily cause a situation of large-scale and high-quality data volume concurrency, and cannot carry the storage, in this embodiment, the recording and broadcasting server 120 further includes a shared storage 150 providing a shared storage space and content consistency for the recording and broadcasting server 120, where the shared storage 150 includes a plurality of disk array devices, and the shared storage 150 is used for storing the video recording file package.
Referring to fig. 8, fig. 8 is a system structure diagram of a recording and playing system 100 according to a fourth embodiment of the present invention.
In this embodiment, the recording and playing system 100 further includes a display screen 160, the application operation scheduling device 110 is further configured to send a playback instruction to the display according to an operation triggered by a user, the display is configured to receive the playback instruction, send a playback request to the recording and playing server 120 according to the playback instruction, read the node information file according to a recording sequence, load and decode the corresponding target video stream according to the node information file, and the recording and playing server 120 is further configured to receive the acquisition request sent by the display, and send the corresponding plurality of node information files to the display according to the acquisition request.
The application operation scheduling device 110 sends a playback instruction to the display screen 160 according to a playback operation triggered by a user, the display screen 160 sends a playback request to the recording and playing server 120 according to the playback instruction, and sends a plurality of node information files corresponding to the playback instruction to the display screen 160, and the display screen 160 loads a target video stream according to the node information files and decodes and plays the corresponding target video stream. For example, the display screen 160 determines that the video stream a needs to be loaded at the operation node through the node information file, obtains the display position of the decoded video stream a on the display screen according to the node information file, and decodes and plays the video corresponding to the video stream a.
In addition, during the recording process, the application operation scheduling device 110 is further configured to send the video operation information to the display screen 160, and the display screen 160 obtains the target video stream according to the video operation information and displays the target video stream. That is, the display screen 160 displays the video being recorded by the recording and playing server 120 synchronously during the recording process of the recording and playing server 120. The display screen of the display screen 160 recorded by the above embodiment cannot affect the display of the display screen 160 and the operation on the display screen, and the effect of what you see is what you get can be achieved during playback.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A video recording method, characterized in that the video recording method comprises the following steps: receiving video operation information sent by application operation scheduling equipment, wherein the video operation information comprises operation actions, operation time and operation video information, and the operation actions refer to operations of a user on display data of a current display screen; acquiring a corresponding target video stream from a preset data source according to the operation video information; and analyzing the operation actions in sequence according to the operation time, forming a node information file according to an analysis result, and storing the node information file and the corresponding target video stream of each operation action in a corresponding video recording file package.
2. The video recording method according to claim 1, wherein before the step of obtaining the corresponding target video stream from the preset data source according to the operation video information, the method further comprises: judging whether the last operation video information is the same as the current operation video information; and if the last operation video information is different from the current operation video information, acquiring a corresponding target video stream from a preset data source according to the current operation video information.
3. The video recording method according to claim 1 or 2, wherein the video recording method further comprises: receiving an externally triggered playback request; and sending the plurality of node information files corresponding to the playback request to a display screen according to the playback request, so that the display screen reads the node information files according to the recording sequence, and loads and decodes the corresponding target video stream according to the node information files.
4. A computer-readable storage medium, having a control program for video recording stored thereon, wherein the control program for video recording, when executed by a processor, implements the steps of the video recording method according to any one of claims 1 to 3.
5. The recording and broadcasting system is characterized by comprising a data source, application operation scheduling equipment and a recording and broadcasting server, wherein the application operation scheduling equipment is used for sending video operation information to the recording and broadcasting server according to operation triggered by a user, the video operation information comprises operation actions, operation time and operation video information, and the operation actions refer to operation of the user on data displayed on a current display screen; the recording and broadcasting server is used for receiving video operation information sent by the application operation scheduling equipment and acquiring a corresponding target video stream from the data source according to the operation video information; and sequentially analyzing the operation actions according to the operation time, forming a node information file according to an analysis result, and storing the node information file and the corresponding target video stream of each operation action in a corresponding video recording file package.
6. The recording and playing system of claim 5, wherein the recording and playing server is further configured to determine whether a last operation video information is the same as a current operation video information; and if not, acquiring a corresponding target video stream from a preset data source according to the current operation video information.
7. The recording and broadcasting system of claim 5, further comprising a plurality of load scheduling servers, wherein the application operation scheduling device is configured to send video operation information to the recording and broadcasting server through the load scheduling server according to an operation triggered by a user; and the load scheduling server is used for acquiring the load weights of a plurality of recording and broadcasting servers and distributing the multi-channel video operation information to at least one recording and broadcasting server according to the load weights.
8. The recording and playing system of claim 7, wherein the load scheduling server is further configured to receive a plurality of co-channel video operation information and send the plurality of co-channel video operation information to the same recording and playing server.
9. The recording and playing system of claim 8, wherein said load scheduling server is further configured to distribute the same path of said video operation information to both recording and playing servers simultaneously.
10. The recording and playing system according to any one of claims 5 to 9, wherein the recording and playing system further comprises a display screen, and the application operates the scheduling device and is further configured to send a playback instruction to the display screen according to an operation triggered by a user; the display screen is used for receiving the playback instruction, sending a playback request to the recording and playing server according to the playback instruction, reading the node information file according to a recording sequence, and loading and decoding the corresponding target video stream according to the node information file; and the recording and broadcasting server is used for receiving the acquisition request sent by the display screen and sending the corresponding multiple node information files to the display screen according to the acquisition request.
CN201811019751.2A 2018-09-03 2018-09-03 Video recording method, computer readable storage medium and recording and playing system Active CN108924582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811019751.2A CN108924582B (en) 2018-09-03 2018-09-03 Video recording method, computer readable storage medium and recording and playing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811019751.2A CN108924582B (en) 2018-09-03 2018-09-03 Video recording method, computer readable storage medium and recording and playing system

Publications (2)

Publication Number Publication Date
CN108924582A CN108924582A (en) 2018-11-30
CN108924582B true CN108924582B (en) 2021-07-06

Family

ID=64406654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811019751.2A Active CN108924582B (en) 2018-09-03 2018-09-03 Video recording method, computer readable storage medium and recording and playing system

Country Status (1)

Country Link
CN (1) CN108924582B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714632B (en) * 2018-12-11 2021-08-10 泰康保险集团股份有限公司 Technology sharing method, device, equipment and storage medium
CN110418092B (en) * 2019-06-17 2021-09-17 腾讯科技(深圳)有限公司 Video recording management system, method, control management node and recording node
CN112099723B (en) * 2020-09-23 2022-08-16 努比亚技术有限公司 Association control method, device and computer readable storage medium
CN114979744B (en) * 2021-02-25 2024-03-19 腾讯科技(深圳)有限公司 Interface processing method, device, server and storage medium
CN113032074A (en) * 2021-03-29 2021-06-25 竞技世界(北京)网络技术有限公司 Display playback method, device and equipment
CN112804554A (en) * 2021-04-06 2021-05-14 北京百家视联科技有限公司 Live broadcast playback method, live broadcast playback system, electronic equipment and storage medium
CN112929583B (en) * 2021-05-10 2021-07-23 北京小鸟科技股份有限公司 Method and system for synchronously recording and replaying original signal source based on large-screen window
CN113691585B (en) * 2021-07-16 2024-02-02 曙光网络科技有限公司 System for recording and playback of data
CN114189730B (en) * 2021-11-04 2023-12-19 北京淳中科技股份有限公司 Video recording method, video playback method and device
CN114302086B (en) * 2021-12-24 2023-04-21 威创集团股份有限公司 Method, device and system for recording and playing back full-screen ultrahigh-resolution picture of display wall

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408983A (en) * 2014-12-15 2015-03-11 广州市奥威亚电子科技有限公司 Recording and broadcasting equipment-based intelligent teaching information processing device and method
CN104601863A (en) * 2013-09-12 2015-05-06 深圳锐取信息技术股份有限公司 IP matrix system for recording and playing
CN105872568A (en) * 2015-11-19 2016-08-17 乐视云计算有限公司 Method and device for transmitting video data based on cloud live broadcast platform
CN107734350A (en) * 2017-09-25 2018-02-23 上海幻电信息科技有限公司 Live broadcast system and live broadcasting method
CN107835262A (en) * 2017-12-19 2018-03-23 四川九洲电器集团有限责任公司 A kind of streaming media server dynamical load distribution method
WO2018098912A1 (en) * 2016-11-29 2018-06-07 华为技术有限公司 Recording and playing method for screen video, and screen recording terminal and playing terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581353B (en) * 2013-10-24 2018-08-24 深圳习习网络科技有限公司 A kind of recording/the playback method and recording/playing device of video
US20150213838A1 (en) * 2014-01-30 2015-07-30 Imperx, Inc. Network based video event recording system
CN105743223B (en) * 2016-04-12 2018-05-22 国网江苏省电力公司电力科学研究院 Secondary device prefabricated cabin video visiting method based on GOOSE linkages
US20180098031A1 (en) * 2016-10-04 2018-04-05 Virtual Legal Proceedings, Inc. Video conferencing computer systems

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601863A (en) * 2013-09-12 2015-05-06 深圳锐取信息技术股份有限公司 IP matrix system for recording and playing
CN104408983A (en) * 2014-12-15 2015-03-11 广州市奥威亚电子科技有限公司 Recording and broadcasting equipment-based intelligent teaching information processing device and method
CN105872568A (en) * 2015-11-19 2016-08-17 乐视云计算有限公司 Method and device for transmitting video data based on cloud live broadcast platform
WO2018098912A1 (en) * 2016-11-29 2018-06-07 华为技术有限公司 Recording and playing method for screen video, and screen recording terminal and playing terminal
CN107734350A (en) * 2017-09-25 2018-02-23 上海幻电信息科技有限公司 Live broadcast system and live broadcasting method
CN107835262A (en) * 2017-12-19 2018-03-23 四川九洲电器集团有限责任公司 A kind of streaming media server dynamical load distribution method

Also Published As

Publication number Publication date
CN108924582A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108924582B (en) Video recording method, computer readable storage medium and recording and playing system
CN108989885B (en) Video file transcoding system, segmentation method, transcoding method and device
CN109168021B (en) Plug flow method and device
US10453493B2 (en) Method and apparatus for recording and replaying video of terminal
JP5204492B2 (en) Method and apparatus for configuring software resources for playing network programs
CN109168076B (en) Online course recording method, device, server and medium
JP2019531662A (en) Method, device and computer program for improving rendering display during streaming of timed media data
CN110784750B (en) Video playing method and device and computer equipment
TWI540890B (en) Method and apparatus for processing motion video
CN108933948A (en) A kind of video playing progress synchronous method and device
US9288248B2 (en) Media system with local or remote rendering
JP6860485B2 (en) Information processing equipment, information processing methods, and programs
US20140040737A1 (en) Collaborative media editing system
US20170105034A1 (en) Communication apparatus, communication method, and program
CN107071550B (en) Video data sharing method and device
CN105898370A (en) Multi-camera video player, playing system and playing method
US8768924B2 (en) Conflict resolution in a media editing system
US20240179372A1 (en) Method and System for Monitoring Playing of Screen Device, and Storage Medium
US11995371B2 (en) Dividing method, distribution method, medium, server, system
US10277652B2 (en) Transmission apparatus, transmission method, and program
CN105191303A (en) Method for processing video, terminal and server
JP6632550B2 (en) Method and corresponding device for identifying objects across time periods
CN111918074A (en) Live video fault early warning method and related equipment
US20230217047A1 (en) Method, system, and computer-readable recording medium for implementing fast-switching mode between channels in multi-live transmission environment
CN108882004B (en) Video recording 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
CP02 Change in the address of a patent holder

Address after: 518000 R & D building 1601, block a, building 7, Vanke Cloud City Phase I, Xingke 1st Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province (16 / F, block a, building 1, international innovation Valley)

Patentee after: SHENZHEN TENDZONE INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 518000 202-B, 2 floor, block C, office building, Hua Han Innovation Park, 16 Langshan Road, Nanshan District, Shenzhen, Guangdong.

Patentee before: SHENZHEN TENDZONE INTELLIGENT TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder