CN116828231B - Video transmission optimization method, system, electronic equipment and medium - Google Patents
Video transmission optimization method, system, electronic equipment and medium Download PDFInfo
- Publication number
- CN116828231B CN116828231B CN202310971202.XA CN202310971202A CN116828231B CN 116828231 B CN116828231 B CN 116828231B CN 202310971202 A CN202310971202 A CN 202310971202A CN 116828231 B CN116828231 B CN 116828231B
- Authority
- CN
- China
- Prior art keywords
- video
- management terminal
- layers
- layer identification
- current
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 101
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000005457 optimization Methods 0.000 title claims abstract description 34
- 238000012544 monitoring process Methods 0.000 claims abstract description 46
- 238000012545 processing Methods 0.000 claims abstract description 22
- 238000004891 communication Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 10
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 5
- 230000000694 effects Effects 0.000 abstract description 3
- 238000013461 design Methods 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000007418 data mining Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234327—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by decomposing into layers, e.g. base layer and one or more enhancement layers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2385—Channel allocation; Bandwidth allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/84—Generation or processing of descriptive data, e.g. content descriptors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention belongs to the technical field of video data processing, and aims to provide a video transmission optimization method, a video transmission optimization system, electronic equipment and a video transmission optimization medium. Layering video data in a layering coding processing mode to obtain a plurality of video layers, and obtaining a video layer identification set of each management terminal according to video quality requirement levels set by each management terminal and video quality information corresponding to the plurality of video layers; then, according to the video layer identification set of each management terminal, obtaining the basic transmission bandwidth corresponding to each management terminal; and finally, the transmission bandwidth of each management terminal is allocated as the corresponding basic transmission bandwidth so as to respectively transmit the video layers corresponding to the video layer identification sets of each management terminal to each management terminal, thereby realizing the effect of monitoring video transmission according to the video quality requirements of each management terminal, meeting the personalized requirements of different management terminals, being beneficial to reducing the total bandwidth of monitoring video transmission and having popularization and application values.
Description
Technical Field
The invention belongs to the technical field of video data processing, and particularly relates to a video transmission optimization method, a video transmission optimization system, electronic equipment and a video transmission optimization medium.
Background
At present, in the process of managing an industrial park, a business center, a tourist attraction and the like, remote monitoring is generally realized by a mode of collecting on-site videos in real time through a monitoring terminal camera, and a plurality of management terminals for remote monitoring may exist according to management requirements. In the prior art, when remote monitoring is performed, the same video transmission mode is generally adopted to transmit the monitoring video to different management terminals. However, in using the prior art, the inventors found that there are at least the following problems in the prior art:
The data volume of the monitoring video is large, the network bandwidth and the processing requirements for the monitoring video and the like of different management terminals are generally different, if the management terminals only need to view the monitoring video remotely and irregularly, some management terminals need to further perform data mining on the monitoring video and have higher quality requirements for the monitoring video, and at the moment, if the monitoring video is transmitted to different management terminals by adopting the same transmission mode, the problem that the personalized requirements of different users cannot be met exists.
Disclosure of Invention
The invention aims to solve the technical problems at least to a certain extent, and provides a video transmission optimization method, a video transmission optimization system, electronic equipment and a video transmission optimization medium.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
In a first aspect, the present invention provides a video transmission optimization method, which is executed based on a server, wherein a receiving end of the server is in communication connection with a preset monitoring terminal, and output ends of the server are respectively in communication connection with a plurality of preset management terminals, and the method includes:
acquiring monitoring video data from the monitoring terminal;
performing layered coding processing on the monitoring video data to obtain a plurality of video layers;
Respectively judging whether each management terminal is provided with a video quality requirement level, if so, acquiring the video quality requirement level of each management terminal, and acquiring a video layer identification set of each management terminal according to the video quality requirement level of each management terminal and video quality information corresponding to a plurality of video layers;
According to the video layer identification set of each management terminal, obtaining a basic transmission bandwidth corresponding to each management terminal;
And allocating the transmission bandwidth of each management terminal to be the corresponding basic transmission bandwidth thereof so as to respectively transmit the video layer corresponding to the video layer identification set of each management terminal to each management terminal.
The invention can reduce the video data transmission bandwidth and simultaneously can meet the monitoring video quality requirement of each monitoring terminal; specifically, in the implementation process, the method and the device adopt a layering coding processing mode to layering video data to obtain a plurality of video layers, and obtain a video layer identification set of each management terminal according to video quality requirement levels set by each management terminal and video quality information corresponding to the plurality of video layers; then, according to the video layer identification set of each management terminal, obtaining the basic transmission bandwidth corresponding to each management terminal; and finally, the transmission bandwidth of each management terminal is allocated as the corresponding basic transmission bandwidth so as to respectively transmit the video layers corresponding to the video layer identification sets of each management terminal to each management terminal, thereby realizing the effect of monitoring video transmission according to the video quality requirements of each management terminal, meeting the personalized requirements of different management terminals, being beneficial to reducing the total bandwidth of monitoring video transmission and having popularization and application values.
In one possible design, the performing a layered coding process on the surveillance video data to obtain a plurality of video layers includes:
carrying out importance grading on the monitoring video data to obtain multi-level video data;
compressing each level of video data by adopting a variable bit rate coding method to obtain a plurality of video layers; the video layers comprise a basic layer and a plurality of expansion layers, and the importance of the basic layer is higher than that of the expansion layers;
correspondingly, the video layer identification set of each management terminal at least comprises the identification information of the basic layer.
In one possible design, when judging whether each management terminal is set with a video quality requirement level or not, if any management terminal is not set with a video quality requirement level, setting the current management terminal as a minimum video requirement level, and then entering the next step;
obtaining a video layer identification set of the current management terminal according to the minimum video requirement level; the video layer identification set of the current management terminal only comprises identification information of a basic layer;
according to the video layer identification set of the current management terminal, setting the bandwidth capacity of the basic layer as the basic transmission bandwidth corresponding to the current management terminal;
and allocating the transmission bandwidth of the current management terminal as the corresponding basic transmission bandwidth thereof so as to transmit the basic layer to the current management terminal.
In one possible design, according to the video quality requirement level of any management terminal and the video quality information corresponding to the plurality of video layers, obtaining a video layer identification set of the current management terminal includes:
Obtaining video quality requirement information of the current management terminal according to the video quality requirement level of the current management terminal;
Obtaining all video layers with importance ranking of top i in the plurality of video layers according to video quality requirement information of a current management terminal and video quality information corresponding to the plurality of video layers; wherein, S i≥D>Si-1, S i is video quality information corresponding to all video layers with importance degree ranking as top i, S i-1 is video quality information corresponding to all video layers with importance degree ranking as top i-1, and D is video quality requirement information of current management terminal;
acquiring identification information of all video layers with importance ranking of top i;
And combining the identification information of all video layers with the importance degree ranked as the top i to obtain a video layer identification set of the management terminal.
In one possible design, the video layer identifier set of any management terminal includes identifier information of all video layers in a designated video layer set corresponding to the current management terminal, and the quality level of video data obtained after decoding the designated video layer set is greater than or equal to the video quality requirement level of the management terminal.
In one possible design, according to the video layer identifier set of any management terminal, obtaining the basic transmission bandwidth corresponding to the current management terminal includes:
obtaining the bandwidth capacity of all corresponding video layers in the current video layer identification set according to the video layer identification set of the current management terminal;
Obtaining a basic transmission bandwidth corresponding to the current management terminal according to the bandwidth capacity of all corresponding video layers in the current video layer identification set; the basic transmission bandwidth corresponding to the current management terminal is the sum of the bandwidth capacities of all corresponding video layers in the current video layer identification set.
In one possible design, the transmitting the video layer corresponding to the video layer identifier set of any management terminal to the current management terminal includes:
packaging the video layers corresponding to the video layer identification set of the current management terminal to obtain a packaged video layer set;
And transmitting the packed video layer set to a current management terminal.
In a second aspect, the present invention provides a video transmission optimization system for implementing the video transmission optimization method according to any one of the above-mentioned aspects; the video transmission optimization system includes:
The video acquisition module is used for acquiring monitoring video data from the monitoring terminal;
The layered coding module is in communication connection with the video acquisition module and is used for performing layered coding processing on the monitoring video data to obtain a plurality of video layers;
The basic transmission bandwidth acquisition module is in communication connection with the layered coding module and is used for respectively judging whether each management terminal is provided with a video quality requirement level, if so, acquiring the video quality requirement level of each management terminal, and acquiring a video layer identification set of each management terminal according to the video quality requirement level of each management terminal and video quality information corresponding to a plurality of video layers; the method is also used for obtaining the basic transmission bandwidth corresponding to each management terminal according to the video layer identification set of each management terminal;
The video transmission module is in communication connection with the basic transmission bandwidth acquisition module and is used for distributing the transmission bandwidth of each management terminal to the corresponding basic transmission bandwidth so as to respectively transmit the video layers corresponding to the video layer identification sets of each management terminal to each management terminal.
In a third aspect, the present invention provides an electronic device, comprising:
a memory for storing computer program instructions; and
A processor for executing the computer program instructions to perform the operations of the video transmission optimization method as set forth in any one of the preceding claims.
In a fourth aspect, the present invention provides a computer readable storage medium storing computer program instructions that are configured to perform the operations of the video transmission optimization method as claimed in any one of the preceding claims when run.
Drawings
FIG. 1 is a flow chart of a video transmission optimization method in an embodiment;
FIG. 2 is a block diagram of a video transmission optimization system in an embodiment;
Fig. 3 is a block diagram of an electronic device in an embodiment.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be briefly described below with reference to the accompanying drawings and the description of the embodiments or the prior art, and it is obvious that the following description of the structure of the drawings is only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art. It should be noted that the description of these examples is for aiding in understanding the present invention, but is not intended to limit the present invention.
Example 1:
The embodiment shown in fig. 1 discloses a video transmission optimization method, which is performed based on a server, and the server may be, but not limited to, a computer device or a virtual machine with a certain computing resource, for example, a personal computer, a smart phone, a personal digital assistant, or an electronic device such as a wearable device, or a virtual machine. In this embodiment, the receiving end of the server is in communication connection with a preset monitoring terminal, and the output end of the server is respectively in communication connection with a plurality of preset management terminals, and the method may, but is not limited to, include the following steps:
S1, acquiring monitoring video data from the monitoring terminal.
S2, carrying out layered coding processing on the monitoring video data to obtain a plurality of video layers.
In this embodiment, performing hierarchical encoding processing on the surveillance video data to obtain a plurality of video layers includes:
s201, carrying out importance grading on the monitoring video data to obtain multi-level video data;
s202, compressing each level of video data by adopting a variable bit rate coding method to obtain a plurality of video layers; the video layers comprise a basic layer and a plurality of expansion layers, and the importance of the basic layer is higher than that of the expansion layers; it should be noted that, in this embodiment, the variable bit rate encoding method is used to compress each level of video data, and this method can improve the accuracy of video signal encoding due to the non-stationary characteristic of the video signal.
Correspondingly, in this embodiment, each video layer identifier set of each management terminal includes at least identifier information of the base layer.
It should be noted that, in this embodiment, the base layer includes the base data in the surveillance video data, so the importance of the base layer is the highest, and the base layer can be decoded independently, and the extension layer must be decoded by combining with other extension layers having importance higher than that of the base layer itself and the base layer.
S3, judging whether each management terminal is provided with a video quality requirement level or not respectively, if so, acquiring the video quality requirement level of each management terminal, and acquiring a video layer identification set of each management terminal according to the video quality requirement level of each management terminal and video quality information corresponding to a plurality of video layers; the video layer identification set of any management terminal comprises identification information of all video layers in a designated video layer set corresponding to the current management terminal, and the quality grade of video data obtained after decoding the designated video layer set is greater than or equal to the video quality requirement grade of the management terminal.
In this embodiment, according to the video quality requirement level of any management terminal and the video quality information corresponding to a plurality of video layers, a video layer identifier set of a current management terminal is obtained, including:
Obtaining video quality requirement information of the current management terminal according to the video quality requirement level of the current management terminal;
Obtaining all video layers with importance ranking of top i in the plurality of video layers according to video quality requirement information of a current management terminal and video quality information corresponding to the plurality of video layers; wherein, S i≥D>Si-1, S i is video quality information corresponding to all video layers with importance degree ranking as top i, S i-1 is video quality information corresponding to all video layers with importance degree ranking as top i-1, and D is video quality requirement information of current management terminal;
acquiring identification information of all video layers with importance ranking of top i;
And combining the identification information of all video layers with the importance degree ranked as the top i to obtain a video layer identification set of the management terminal.
It should be noted that, in this embodiment, when judging whether each management terminal has a video quality requirement level, if any management terminal has no video quality requirement level, the current management terminal is set to a minimum video requirement level, that is, a default video requirement level, and then the next step is performed;
obtaining a video layer identification set of the current management terminal according to the minimum video requirement level; the video layer identification set of the current management terminal only comprises identification information of a basic layer;
according to the video layer identification set of the current management terminal, setting the bandwidth capacity of the basic layer as the basic transmission bandwidth corresponding to the current management terminal;
and allocating the transmission bandwidth of the current management terminal as the corresponding basic transmission bandwidth thereof so as to transmit the basic layer to the current management terminal.
When the management terminal does not set the video requirement level, the management terminal defaults to the minimum video requirement level, confirms the basic transmission bandwidth based on the minimum video requirement level, and allocates the transmission bandwidth to transmit the basic layer to the management terminal. The setting can be beneficial to reducing the bandwidth occupancy rate of the server, and is convenient for the server to realize the processing and transmission of other data, thereby being beneficial to improving the performance of the server.
S4, obtaining the basic transmission bandwidth corresponding to each management terminal according to the video layer identification set of each management terminal.
In this embodiment, according to a video layer identifier set of any management terminal, obtaining a basic transmission bandwidth corresponding to a current management terminal includes:
S401, obtaining bandwidth capacity of all corresponding video layers in a current video layer identification set according to the video layer identification set of the current management terminal;
s402, obtaining a basic transmission bandwidth corresponding to the current management terminal according to the bandwidth capacity of all corresponding video layers in the current video layer identification set; the basic transmission bandwidth corresponding to the current management terminal is the sum of the bandwidth capacities of all corresponding video layers in the current video layer identification set.
S5, distributing the transmission bandwidth of each management terminal to be the corresponding basic transmission bandwidth so as to respectively transmit the video layers corresponding to the video layer identification sets of each management terminal to each management terminal.
In this embodiment, transmitting video layers corresponding to the video layer identifier set of any management terminal to the current management terminal respectively includes:
packaging the video layers corresponding to the video layer identification set of the current management terminal to obtain a packaged video layer set;
And transmitting the packed video layer set to a current management terminal. It should be noted that, after receiving the packaged video layer set, the current management terminal may restore the video layer set through RTP unpacking operation, then decode the video layer set to obtain a decoded video layer set, and finally render the decoded video layer set to obtain a rendered video layer set and visually display the rendered video layer set.
The embodiment can reduce the video data transmission bandwidth and meet the monitoring video quality requirement of each monitoring terminal; specifically, in the implementation process, the embodiment performs layering on video data in a layering coding processing manner to obtain a plurality of video layers, and obtains a video layer identification set of each management terminal according to a video quality requirement level set by each management terminal and video quality information corresponding to the plurality of video layers; then, according to the video layer identification set of each management terminal, obtaining the basic transmission bandwidth corresponding to each management terminal; and finally, the transmission bandwidth of each management terminal is allocated as the corresponding basic transmission bandwidth so as to respectively transmit the video layers corresponding to the video layer identification sets of each management terminal to each management terminal, thereby realizing the effect of monitoring video transmission according to the video quality requirements of each management terminal, meeting the personalized requirements of different management terminals, being beneficial to reducing the total bandwidth of monitoring video transmission and having popularization and application values.
Example 2:
The embodiment discloses a video transmission optimization system, which is used for realizing the video transmission optimization method in the embodiment 1; as shown in fig. 2, the video transmission optimization system includes:
The video acquisition module is used for acquiring monitoring video data from the monitoring terminal;
The layered coding module is in communication connection with the video acquisition module and is used for performing layered coding processing on the monitoring video data to obtain a plurality of video layers;
The basic transmission bandwidth acquisition module is in communication connection with the layered coding module and is used for respectively judging whether each management terminal is provided with a video quality requirement level, if so, acquiring the video quality requirement level of each management terminal, and acquiring a video layer identification set of each management terminal according to the video quality requirement level of each management terminal and video quality information corresponding to a plurality of video layers; the method is also used for obtaining the basic transmission bandwidth corresponding to each management terminal according to the video layer identification set of each management terminal;
The video transmission module is in communication connection with the basic transmission bandwidth acquisition module and is used for distributing the transmission bandwidth of each management terminal to the corresponding basic transmission bandwidth so as to respectively transmit the video layers corresponding to the video layer identification sets of each management terminal to each management terminal.
Example 3:
On the basis of embodiment 1 or 2, this embodiment discloses an electronic device, which may be a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like. An electronic device may be referred to as being used for a terminal, a portable terminal, a desktop terminal, etc., as shown in fig. 3, the electronic device includes:
a memory for storing computer program instructions; and
A processor configured to execute the computer program instructions to perform the operations of the video transmission optimization method according to any one of embodiment 1.
In particular, processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 301 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field-Programmable gate array), PLA (Programmable Logic Array ). Processor 301 may also include a main processor, which is a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 301 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the video transmission optimization method provided in embodiment 1 of the present application.
In some embodiments, the terminal may further optionally include: a communication interface 303, and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. The respective peripheral devices may be connected to the communication interface 303 through a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power supply 306.
The communication interface 303 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 301, the memory 302, and the communication interface 303 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 304 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 304 communicates with a communication network and other communication devices via electromagnetic signals.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof.
The power supply 306 is used to power the various components in the electronic device.
Example 4:
On the basis of any one of embodiments 1 to 3, this embodiment discloses a computer-readable storage medium for storing computer-readable computer program instructions configured to perform the operations of the video transmission optimization method described in embodiment 1 when run.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by the computing devices, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solution of the present invention, and not limiting thereof; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some of the technical features thereof can be replaced by equivalents. Such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (6)
1. The video transmission optimization method is characterized by comprising the following steps of: based on server execution, the receiving end of the server is in communication connection with a preset monitoring terminal, the output end of the server is respectively in communication connection with a plurality of preset management terminals, and the method comprises the following steps:
acquiring monitoring video data from the monitoring terminal;
performing layered coding processing on the monitoring video data to obtain a plurality of video layers;
Respectively judging whether each management terminal is provided with a video quality requirement level, if so, acquiring the video quality requirement level of each management terminal, and acquiring a video layer identification set of each management terminal according to the video quality requirement level of each management terminal and video quality information corresponding to a plurality of video layers;
According to the video layer identification set of each management terminal, obtaining a basic transmission bandwidth corresponding to each management terminal;
The transmission bandwidth of each management terminal is distributed to be the corresponding basic transmission bandwidth, so that the video layers corresponding to the video layer identification sets of each management terminal are respectively transmitted to each management terminal;
Performing hierarchical coding processing on the monitoring video data to obtain a plurality of video layers, wherein the hierarchical coding processing comprises the following steps:
carrying out importance grading on the monitoring video data to obtain multi-level video data;
compressing each level of video data by adopting a variable bit rate coding method to obtain a plurality of video layers; the video layers comprise a basic layer and a plurality of expansion layers, and the importance of the basic layer is higher than that of the expansion layers;
correspondingly, the video layer identification sets of all the management terminals at least comprise identification information of the basic layer;
when judging whether each management terminal is set with a video quality requirement level or not, if any management terminal is not set with the video quality requirement level, setting the current management terminal as a minimum video requirement level, and then entering the next step;
obtaining a video layer identification set of the current management terminal according to the minimum video requirement level; the video layer identification set of the current management terminal only comprises identification information of a basic layer;
according to the video layer identification set of the current management terminal, setting the bandwidth capacity of the basic layer as the basic transmission bandwidth corresponding to the current management terminal;
allocating the transmission bandwidth of the current management terminal as the corresponding basic transmission bandwidth thereof so as to transmit the basic layer to the current management terminal;
the video layer identification set of any management terminal comprises identification information of all video layers in a designated video layer set corresponding to the current management terminal, and the quality grade of video data obtained after decoding the designated video layer set is greater than or equal to the video quality requirement grade of the management terminal;
According to the video layer identification set of any management terminal, obtaining the basic transmission bandwidth corresponding to the current management terminal, including:
obtaining the bandwidth capacity of all corresponding video layers in the current video layer identification set according to the video layer identification set of the current management terminal;
Obtaining a basic transmission bandwidth corresponding to the current management terminal according to the bandwidth capacity of all corresponding video layers in the current video layer identification set; the basic transmission bandwidth corresponding to the current management terminal is the sum of the bandwidth capacities of all corresponding video layers in the current video layer identification set.
2. The video transmission optimization method according to claim 1, wherein: obtaining a video layer identification set of a current management terminal according to video quality requirement levels of any management terminal and video quality information corresponding to a plurality of video layers, wherein the video layer identification set comprises the following steps:
Obtaining video quality requirement information of the current management terminal according to the video quality requirement level of the current management terminal;
Obtaining all video layers with importance ranking of top i in the plurality of video layers according to video quality requirement information of a current management terminal and video quality information corresponding to the plurality of video layers; wherein, S i≥D>Si-1, S i is video quality information corresponding to all video layers with importance degree ranking as top i, S i-1 is video quality information corresponding to all video layers with importance degree ranking as top i-1, and D is video quality requirement information of current management terminal;
acquiring identification information of all video layers with importance ranking of top i;
And combining the identification information of all video layers with the importance degree ranked as the top i to obtain a video layer identification set of the management terminal.
3. The video transmission optimization method according to claim 1, wherein: transmitting the video layer corresponding to the video layer identification set of any management terminal to the current management terminal respectively, wherein the method comprises the following steps:
packaging the video layers corresponding to the video layer identification set of the current management terminal to obtain a packaged video layer set;
And transmitting the packed video layer set to a current management terminal.
4. A video transmission optimization system, characterized by: for implementing the video transmission optimization method according to any one of claims 1 to 3; the video transmission optimization system includes:
The video acquisition module is used for acquiring monitoring video data from the monitoring terminal;
The layered coding module is in communication connection with the video acquisition module and is used for performing layered coding processing on the monitoring video data to obtain a plurality of video layers;
The basic transmission bandwidth acquisition module is in communication connection with the layered coding module and is used for respectively judging whether each management terminal is provided with a video quality requirement level, if so, acquiring the video quality requirement level of each management terminal, and acquiring a video layer identification set of each management terminal according to the video quality requirement level of each management terminal and video quality information corresponding to a plurality of video layers; the method is also used for obtaining the basic transmission bandwidth corresponding to each management terminal according to the video layer identification set of each management terminal;
The video transmission module is in communication connection with the basic transmission bandwidth acquisition module and is used for distributing the transmission bandwidth of each management terminal to the corresponding basic transmission bandwidth so as to respectively transmit the video layers corresponding to the video layer identification sets of each management terminal to each management terminal.
5. An electronic device, characterized in that: comprising the following steps:
a memory for storing computer program instructions; and
A processor for executing the computer program instructions to perform the operations of the video transmission optimization method of any one of claims 1 to 3.
6. A computer readable storage medium storing computer program instructions readable by a computer, characterized by: the computer program instructions are configured to perform the operations of the video transmission optimization method of any one of claims 1 to 3 when run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310971202.XA CN116828231B (en) | 2023-08-02 | 2023-08-02 | Video transmission optimization method, system, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310971202.XA CN116828231B (en) | 2023-08-02 | 2023-08-02 | Video transmission optimization method, system, electronic equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116828231A CN116828231A (en) | 2023-09-29 |
CN116828231B true CN116828231B (en) | 2024-05-24 |
Family
ID=88118594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310971202.XA Active CN116828231B (en) | 2023-08-02 | 2023-08-02 | Video transmission optimization method, system, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116828231B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101340321A (en) * | 2008-08-28 | 2009-01-07 | 北京中星微电子有限公司 | Solution of adaptive bandwidth in real-time monitoring system |
KR20090041063A (en) * | 2007-10-23 | 2009-04-28 | 한국전자통신연구원 | Multiple quality image contents service system and upgrade method thereof |
CN109600617A (en) * | 2018-12-19 | 2019-04-09 | 北京东土科技股份有限公司 | Coding, retransmission method, device, equipment and the storage medium of video data |
CN109618188A (en) * | 2018-12-19 | 2019-04-12 | 北京东土科技股份有限公司 | Coding, retransmission method, device, equipment and the storage medium of video data |
CN109819272A (en) * | 2018-12-26 | 2019-05-28 | 平安科技(深圳)有限公司 | Video transmission method, device, computer readable storage medium and electronic equipment |
CN115225913A (en) * | 2021-04-20 | 2022-10-21 | 中兴通讯股份有限公司 | Code stream processing method and device, terminal equipment and storage medium |
-
2023
- 2023-08-02 CN CN202310971202.XA patent/CN116828231B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090041063A (en) * | 2007-10-23 | 2009-04-28 | 한국전자통신연구원 | Multiple quality image contents service system and upgrade method thereof |
CN101340321A (en) * | 2008-08-28 | 2009-01-07 | 北京中星微电子有限公司 | Solution of adaptive bandwidth in real-time monitoring system |
CN109600617A (en) * | 2018-12-19 | 2019-04-09 | 北京东土科技股份有限公司 | Coding, retransmission method, device, equipment and the storage medium of video data |
CN109618188A (en) * | 2018-12-19 | 2019-04-12 | 北京东土科技股份有限公司 | Coding, retransmission method, device, equipment and the storage medium of video data |
CN109819272A (en) * | 2018-12-26 | 2019-05-28 | 平安科技(深圳)有限公司 | Video transmission method, device, computer readable storage medium and electronic equipment |
CN115225913A (en) * | 2021-04-20 | 2022-10-21 | 中兴通讯股份有限公司 | Code stream processing method and device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116828231A (en) | 2023-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108540965B (en) | Internet of things communication method and device based on LoRa technology and storage medium | |
KR101634134B1 (en) | System, method, and computer program product for decompression of block compressed images | |
CN108462760A (en) | Electronic device, cluster access domain name automatic generation method and storage medium | |
CN103959198A (en) | Reducing power for 3d workloads | |
US9251731B2 (en) | Multi-sampling anti-aliasing compression by use of unreachable bit combinations | |
CN105700821B (en) | Semiconductor device and compression/decompression method thereof | |
CN113849312A (en) | Data processing task allocation method and device, electronic equipment and storage medium | |
CN108965333A (en) | A kind of data compression, decompression method, system and electronic equipment | |
CN103959197A (en) | Reducing power for 3D workloads | |
CN105635133A (en) | Multimedia content transmission method and terminal | |
CN111176836A (en) | Cloud rendering resource scheduling method and device | |
US20190107929A1 (en) | Method and device for loading content of page, and electronic device | |
CN114742000B (en) | SoC chip verification system, method and device based on FPGA cluster | |
CN105960637B (en) | Block-based indexing techniques | |
CN113839998B (en) | Image data transmission method, apparatus, device, storage medium, and program product | |
CN114205359A (en) | Video rendering coordination method, device and equipment | |
CN116828231B (en) | Video transmission optimization method, system, electronic equipment and medium | |
CN116541174A (en) | Storage device capacity processing method, device, equipment and storage medium | |
CN101290563A (en) | Computer management system and method | |
CN104391564A (en) | Power consumption control method and device | |
CN109451313A (en) | A kind of method for video coding, system and electronic equipment and storage medium | |
CN113220555B (en) | Method, apparatus, device, medium, and article for processing data | |
CN111488123B (en) | Storage space management method and device, storage medium and mobile terminal | |
CN114979471B (en) | Interface display method, device, electronic equipment and computer readable storage medium | |
CN111447258B (en) | Method, device and equipment for scheduling offline tasks 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 |