CN115250336A - Video stream processing method and device - Google Patents

Video stream processing method and device Download PDF

Info

Publication number
CN115250336A
CN115250336A CN202110468084.1A CN202110468084A CN115250336A CN 115250336 A CN115250336 A CN 115250336A CN 202110468084 A CN202110468084 A CN 202110468084A CN 115250336 A CN115250336 A CN 115250336A
Authority
CN
China
Prior art keywords
video stream
parameter
video
multicast
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110468084.1A
Other languages
Chinese (zh)
Inventor
金波
胡恺
刘广东
钱俊铭
易武
肖荣军
王天竹
张承辉
孙春玲
鲍一民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu 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 China Mobile Communications Group Co Ltd, China Mobile Group Jiangsu Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110468084.1A priority Critical patent/CN115250336A/en
Publication of CN115250336A publication Critical patent/CN115250336A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching

Landscapes

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

Abstract

The invention provides a video stream processing method and device. The method comprises the following steps: acquiring a terminal identifier and a video playing parameter corresponding to a video stream to be processed; acquiring authorization for playing multicast video streams according to the terminal identification, and switching the to-be-processed video streams into multicast video streams; confirming that the parameter value of the video playing parameter exceeds a corresponding preset parameter threshold value, and switching the multicast video stream into the unicast video stream; wherein the parameter values comprise single parameter values and/or comprehensive parameter values. The video stream processing method and the device provided by the invention can realize self-adaptive video stream processing and switching, reduce the system overhead and further improve the user experience.

Description

Video stream processing method and device
Technical Field
The present invention relates to the field of multimedia information processing technologies, and in particular, to a method and an apparatus for processing a video stream.
Background
With the development of communication computer technology, more and more intelligent terminals supporting videos and more complex networking environments are provided; due to the rise of various live APP, the demands of public media live broadcast, personal live broadcast and internet live broadcast are more and more vigorous. The processing of video streams has become increasingly difficult after the rise of the demand for live and quasi-live. A video service from the front end to the back end often has more than one type of traffic, possibly mixed traffic, and therefore this puts higher demands on the terminals, the network and the system as a whole.
The current video stream generally adopts a unicast or multicast processing mode, the supported judging mode is single, and the video playing requirements of various families, various networking environments and various intelligent terminals cannot be met.
Disclosure of Invention
The invention provides a video stream processing method and a video stream processing device, which are used for solving the technical problem of single video stream processing mode in the prior art and realizing self-adaptive video stream processing and switching.
The invention provides a video stream processing method, which comprises the following steps:
acquiring a terminal identifier and a video playing parameter corresponding to a video stream to be processed;
acquiring authorization for playing multicast video streams according to the terminal identification, and switching the to-be-processed video streams into multicast video streams;
confirming that the parameter value of the video playing parameter exceeds a corresponding preset parameter threshold value, and switching the multicast video stream into the unicast video stream;
wherein the parameter values comprise single parameter values and/or composite parameter values.
In one embodiment, the video playback parameters include: at least one of packet loss rate, blue screen parameter, screen splash parameter, time delay, real-time code rate, network jitter parameter and disorder parameter;
the single parameter value is the value of any one video playing parameter;
the comprehensive parameter value is the sum of the values of the plurality of video playing parameters.
In an embodiment, the determining that a parameter value of the video playing parameter exceeds a corresponding preset parameter threshold value, and switching the multicast video stream to the unicast video stream includes:
confirming that the single parameter value exceeds the corresponding preset parameter threshold value, and switching the multicast video stream into the unicast video stream;
and/or switching the multicast video stream into the unicast video stream after confirming that the comprehensive parameter value exceeds the corresponding preset parameter threshold value.
In one embodiment, the video stream processing method further comprises:
and under the condition that the number of terminals playing the unicast video stream exceeds the preset threshold number, confirming that the parameter value of the terminal does not exceed the preset parameter threshold value, and switching the unicast video stream corresponding to the terminal into the multicast video stream.
In one embodiment, the switching the multicast video stream to the unicast video stream comprises:
and switching the unicast video stream into the multicast video stream under the condition that the parameter value does not exceed the preset parameter threshold value.
In one embodiment, the video stream processing method further comprises:
and under the condition that the authorization for playing the multicast video stream is invalid and/or the comprehensive parameter value is reduced, switching the video stream to be processed into a unicast video stream.
The present invention provides a video stream processing apparatus, comprising:
the acquisition module is used for acquiring a terminal identifier and a video playing parameter corresponding to a video stream to be processed;
the first switching module is used for acquiring the authorization of playing the multicast video stream according to the terminal identifier and switching the video stream to be processed into the multicast video stream;
the second switching module is used for switching the multicast video stream into the unicast video stream after confirming that the video playing parameter exceeds a corresponding preset parameter threshold value;
the video playing parameters comprise a single parameter and a comprehensive parameter.
In one embodiment, the video playback parameters include: at least one of packet loss rate, blue screen parameter, splash screen parameter, network jitter parameter and disorder parameter;
the single parameter value is the value of any one video playing parameter;
the comprehensive parameter value is the sum of the values of the plurality of video playing parameters.
The invention provides an electronic device, comprising a memory and a memory storing a computer program, wherein the processor implements the steps of any one of the video stream processing methods when executing the program.
The present invention provides a processor-readable storage medium having stored thereon a computer program for causing a processor to execute the steps of any of the video stream processing methods described above.
According to the video stream processing method and device provided by the invention, the authorization for playing the multicast video stream is obtained through the terminal identification corresponding to the video stream to be processed, and the default multicast video stream is automatically switched to the unicast video stream under the condition that the video playing parameter corresponding to the video stream to be processed is judged to exceed the corresponding preset parameter threshold value, so that the corresponding processing can be carried out according to the playing condition of the video stream to be processed, the self-adaptive video stream processing and switching can be realized, the system overhead can be reduced, and the user experience can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of a video stream processing method provided by the present invention;
fig. 2 is a schematic structural diagram of a video stream processing apparatus provided in the present invention;
fig. 3 is a schematic physical structure diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. 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.
Fig. 1 is a schematic flow chart of a video stream processing method according to the present invention. Referring to fig. 1, the video stream processing method provided by the present invention includes:
s110, acquiring a terminal identifier and a video playing parameter corresponding to a video stream to be processed;
s120, acquiring authorization for playing the multicast video stream according to the terminal identification, and switching the to-be-processed video stream into the multicast video stream;
s130, confirming that the parameter value of the video playing parameter exceeds a corresponding preset parameter threshold value, and switching the multicast video stream into the unicast video stream;
wherein the parameter values comprise single parameter values and/or composite parameter values.
The execution main body of the video stream processing method provided by the invention can be a video stream processing system. The video stream processing system supports processing and switching of video streams in different networking scenes and different intelligent terminals by taking an area as a unit.
The following describes the technical solution of the present invention in detail by taking a video stream processing system in a home as an example to execute the video stream processing method provided by the present invention.
It should be noted that the video stream processing system using a home as a unit may include an intelligent terminal processing module, an intelligent networking terminal, and an intelligent gateway distribution module.
The existing universal intelligent terminal processing module is located on an intelligent terminal, a wireless or wired mode is generally adopted to access an intelligent networking terminal, the intelligent networking terminal is usually composed of terminals with wired or wireless coverage capabilities such as a router, a power modem and a POE (power over Ethernet) routing switch, the general router, the power modem and the POE routing switch adopt a wired mode, and devices such as an MESH (MESH wireless) router and a wireless repeater adopt a wireless mode to access an intelligent gateway distribution module. And a plurality of intelligent terminals, a plurality of intelligent networking terminals and an intelligent gateway distribution module are usually arranged in a family, along with the increase of the area in the family, the number of various terminals is greatly increased, the networking topology and the environment are also very complex, and the number of equipment is also greatly increased. Meanwhile, the intelligent networking terminal also has different working modes such as bridging, routing and the like, so that the traditional multicast and unicast working modes can not effectively carry out cooperative work, and the optimal realization effect can not be achieved.
Optionally, in step S110, the intelligent terminal processing module of the video stream processing system obtains the terminal identifier and the video playing parameter corresponding to the video stream to be processed. The video stream to be processed can comprise various different unicast and multicast video code streams; the home intelligent terminal processing module is positioned at the point closest to the user side, and can feed back the video playing condition and the terminal load condition of the terminal in real time, so that the home intelligent terminal processing module needs to accurately feed back corresponding data and provide corresponding data reference for the gateway distribution module; the terminal identification comprises related information such as equipment type, model, software and hardware parameters, multicast or unicast supporting condition, region and the like; the video playing parameter is a parameter reflecting the video playing state.
Optionally, in step S120, the intelligent networking terminal of the video stream processing system authorizes playing of the multicast video stream according to the terminal identifier reported by the intelligent terminal processing module. After the authorization authentication is passed, the multicast video stream can be played, and only the unicast video stream can be played without passing the authorization authentication.
And for a common terminal which does not support the processing module of the household intelligent terminal, the common on-demand program source can be watched, but the multicast live broadcast-like experience cannot be obtained. And after the authentication and authorization of the processing module supporting the home intelligent terminal pass, the multicast video stream is played on the live streaming by default.
Optionally, in step S130, the intelligent gateway distribution module confirms that the parameter value of the video playing parameter exceeds the corresponding preset parameter threshold, and the intelligent gateway distribution module notifies the intelligent terminal processing module to switch the multicast video stream to the unicast video stream. Wherein the parameter values comprise single parameter values and/or composite parameter values.
When the flow of the multicast video stream reaches a certain threshold pressure, that is, the parameter value of the video playing parameter exceeds the corresponding preset parameter threshold value, it indicates that the current system generates network jitter, networking environment or abnormal changes of other video playing parameters. At this time, in order to ensure the playing of the video stream, the intelligent terminal processing module can be actively switched to a unicast video stream mode, the influence of network jitter on the video stream is reduced through caching, and meanwhile, the intelligent networking terminal and the intelligent gateway distribution module are informed, so that the multicast replication overhead is reduced.
The intelligent gateway distribution module carries out interactive identification on the intelligent terminal accessed below the intelligent gateway distribution module, informs the intelligent networking terminal of the lower hanging and the intelligent terminal of whether the upper connecting equipment supports multicast or not and informs a corresponding switching identification mechanism, and is convenient for the lower hanging equipment to know the network topology and the supporting condition of the lower hanging equipment; the intelligent gateway distribution module also carries out multicast distribution on the accessed household intelligent networking terminals or the directly connected household intelligent terminal processing modules, and simultaneously interacts with the intelligent terminals and the intelligent networking terminals, and actively judges to carry out household on-demand and multicast code stream switching according to the number, types and running conditions of the household intelligent terminals and the intelligent networking terminals. When the network quality problem is found, the intelligent gateway distribution module can timely inform the intelligent networking terminal and the intelligent terminal processing module under the intelligent gateway distribution module to switch. When the change of the networking environment is found, the intelligent networking module and the intelligent terminal processing module are timely notified to carry out state detection and switching.
According to the video stream processing method provided by the invention, the authorization for playing the multicast video stream is obtained through the terminal identification corresponding to the video stream to be processed, and the default multicast video stream is automatically switched to the unicast video stream under the condition that the video playing parameter corresponding to the video stream to be processed is judged to exceed the corresponding preset parameter threshold value, so that the corresponding processing can be carried out according to the playing condition of the video stream to be processed, the self-adaptive video stream processing and switching can be realized, the system overhead is reduced, and the user experience is improved.
In one embodiment, the video playing parameters include: at least one of packet loss rate, blue screen parameter, screen splash parameter, time delay, real-time code rate, network jitter parameter and disorder parameter;
the single parameter value is the value of any one video playing parameter;
the comprehensive parameter value is the sum of values of a plurality of video playing parameters.
Alternatively, the effect of video playing or network access is not single parameter determinable, and therefore the influence of the single parameter and the comprehensive parameter needs to be comprehensively considered. The video playing parameters may be parameters reflecting video playing states of different dimensions, including: parameters of subdivision scenes such as packet loss rate, blue screen parameters, screen splash parameters, time delay, real-time code rate, network jitter parameters, disorder parameters, small packet loss rate and large packet loss rate can be adjusted in a background and customized by a user according to configuration, cache size, network bandwidth and the like of a terminal. The single parameter value is the value of any one video playing parameter, and the comprehensive parameter value is the sum of the single parameter values of a plurality of different video playing parameters. The parameter value of each video playing parameter has a corresponding preset parameter threshold value.
According to the video stream processing method provided by the invention, the video stream can be adjusted in real time according to the video playing state by setting the preset parameter threshold value for different video playing parameters.
In an embodiment, the determining that a parameter value of the video playing parameter exceeds a corresponding preset parameter threshold value, and switching the multicast video stream to the unicast video stream includes:
confirming that the single parameter value exceeds the corresponding preset parameter threshold value, and switching the multicast video stream into the unicast video stream;
and/or switching the multicast video stream into the unicast video stream after confirming that the comprehensive parameter value exceeds the corresponding preset parameter threshold value.
Optionally, the intelligent gateway distribution module performs parameter evaluation on parameters such as packet loss rate, blue screen/screen splash parameters, and network speed jitter, and notifies the intelligent terminal processing module to perform corresponding switching operation when one or more parameters reach a threshold.
An example of a video playback parameter evaluation process is as follows:
setting a packet loss rate parameter as A, setting the parameter as 0.5 when the packet loss rate is greater than 0.5%, setting the parameter as 1 when the packet loss rate is greater than 1%, linearly changing the packet loss rate between 0 and 1, and setting a preset parameter threshold value as 0.5.
Setting the blue screen/screen-splash parameter as B, when the duration time exceeds 5 seconds, the duration time is 0.5, when the duration time exceeds 10 seconds, the duration time is 1, the blue screen/screen-splash parameter is linearly changed between 0 and 1, and the preset parameter threshold value is 0.5.
Setting a wire speed jitter parameter as C, setting the wire speed jitter parameter as 0.5 when the jitter exceeds 50%, setting the wire speed jitter parameter as 1 when the jitter exceeds 100%, linearly changing the wire speed jitter parameter between 0 and 1, capping when the wire speed jitter parameter reaches 1, and setting a preset parameter threshold value as 0.5.
When the intelligent gateway distribution module confirms that the single parameter value exceeds the preset parameter threshold value, namely a > =0.5 or B > =0.5 or C =0.5, it is known that the network quality is poor, and at this time, the intelligent terminal processing module is notified to switch the multicast video stream into the unicast video stream.
When the intelligent gateway distribution module confirms that the comprehensive parameter value exceeds a preset parameter threshold value, namely A + B + C is greater than 0.5, the network quality is known to be poor, and at the moment, the intelligent terminal processing module is informed to switch the multicast video stream into the unicast video stream.
According to the video stream processing method provided by the invention, the advantages of small multicast video stream time delay and low network load can be exerted to the maximum extent aiming at different video playing parameters by setting the preset parameter threshold values for different video playing parameters and judging, and the advantages of large cache support of the unicast video stream, network jitter, blue screen avoidance and the like can be realized.
In one embodiment, the video stream processing method further includes:
and under the condition that the number of terminals playing the unicast video stream exceeds the preset threshold number, confirming that the parameter value of the terminal does not exceed the preset parameter threshold value, and switching the unicast video stream corresponding to the terminal into the multicast video stream.
Optionally, when the number of terminals under the intelligent networking terminal exceeds a preset threshold number (for example, the number of terminals accounts for 40% of the total number of terminals under the intelligent networking terminal), it is determined that a parameter value of the terminal does not exceed a preset parameter threshold, that is, when the current terminal does not have a network quality problem, the intelligent gateway distribution module notifies the intelligent terminal processing module to switch the unicast video stream to the multicast video stream.
The intelligent networking terminal interacts with the intelligent terminal processing module, reports the home networking topological environment including the conditions of adopting a routing mode or a bridging mode, whether a two-layer switching device or a direct connection device is adopted in the middle, whether multilayer cascade connection exists and the like, and completes multicast authentication and authorization of the intelligent terminal processing module under the intelligent networking terminal when the intelligent networking terminal is in the routing mode. Under the general condition, if a user uses common networking equipment and sets the common networking equipment into a routing mode, the intelligent terminal under the common networking equipment often cannot obtain the multicast authentication authorization of the gateway, the intelligent networking terminal supports the multicast authentication authorization of the household intelligent terminal processing module under the routing mode, reports the relevant information to the intelligent gateway distribution module, supports the flexible configuration of a networking environment for the user, and simultaneously enables the household intelligent terminal processing module under the conditions of multi-level networking and the like to perform normal multicast and on-demand switching so as to obtain the best play experience and reduce the load.
According to the video stream processing method provided by the invention, under the condition that the number of the terminals exceeding the preset threshold is judged to switch the multicast video stream into the unicast, the intelligent terminal switched into the unicast is switched back to the multicast under the condition that the intelligent terminal accords with the preset parameter threshold, so that the scale pause phenomenon can be solved in advance, the switching is avoided after long-time pause, and the unicast flow pressure and the household flow bandwidth are reduced.
In one embodiment, the switching the multicast video stream to the unicast video stream comprises:
and switching the unicast video stream into the multicast video stream under the condition that the parameter value does not exceed the preset parameter threshold value.
Optionally, the intelligent terminal processing module determines that the parameter value does not exceed the preset parameter threshold, that is, the parameter value is restored to be below the preset parameter threshold at this time, and the intelligent gateway distribution module notifies the intelligent terminal processing module to automatically switch the unicast video stream back to the multicast video stream. That is, when the network quality recovers to normal, the intelligent terminal processing module switches back to the multicast video stream mode at a suitable time for playing the video stream (for example, when the video is switched from channel to channel, and the video is paused or switched), and notifies the intelligent networking terminal and the intelligent gateway distribution module.
According to the video stream processing method provided by the invention, the unicast video stream is switched back to the multicast video stream under the condition that the parameter value does not exceed the preset parameter threshold value, namely the network quality is recovered to be normal, so that the play mode of the non-perception transition video stream is realized, and the live broadcast cost is reduced.
In one embodiment, the video stream processing method further includes:
and under the condition that the authorization for playing the multicast video stream is invalid and/or the comprehensive parameter value is reduced, switching the video stream to be processed into a unicast video stream.
Optionally, for a video source supporting unicast playing only or a video source supporting both multicast and unicast originally, when the multicast video stream authorization suddenly fails or the comprehensive parameter value is decreased, the intelligent gateway distribution module may notify the intelligent networking terminal therebelow to switch to the unicast video stream mode, and the intelligent networking terminal may notify the household intelligent terminal processing module therebelow to switch to the unicast video stream mode.
The video stream processing method provided by the invention can effectively cooperate the multicast video stream and the unicast video stream by adjusting the resource of the multicast video stream.
In one embodiment, the video stream processing system may further include a cloud-based intelligent processing platform.
Optionally, the cloud intelligent processing platform may count and automatically analyze the support condition of the down-hanging device. When a problem occurs on the platform side, the switching of the hanging-down equipment is actively informed, and in order to reduce interaction and reduce cost, the corresponding intelligent gateway distribution module or the intelligent networking module is only required to be informed, and the interaction notification can be automatically carried out on the hanging-down equipment. And issuing corresponding comprehensive parameters according to the hardware configuration of each home gateway and the networking terminal, wherein the comprehensive parameters are used as a reference for adjusting multicast and unicast strategies in the home and the family.
The cloud intelligent processing platform receives all the drop information and combines the regional parameters, and can automatically adjust multicast resources, on-demand resources and operations in corresponding regions by dynamically analyzing the playing conditions of partial regions or partial families. Corresponding prompt issuing is automatically carried out on newly entered equipment, and the switching and waiting period is reduced. And issuing corresponding access quantity of the suggested terminals according to the hardware configuration of each home gateway and the networking terminal, and using the access quantity as a reference for adjusting multicast and unicast strategies in the home and the family.
The cloud intelligent processing platform can support multicast and unicast configuration for a specific user, namely can be used as supplement for automatic identification and dynamic adjustment.
Optionally, the intelligent terminal processing module can feed back the terminal video playing condition and the terminal load condition in real time, and provide corresponding data references to the gateway distribution module and the cloud intelligent processing platform;
the intelligent terminal processing module detects the surrounding network environment and feeds back corresponding terminal identification to the gateway distribution module and the cloud intelligent processing platform;
the intelligent terminal processing module evaluates the video playing parameters, and informs the gateway distribution module and the cloud intelligent processing platform to perform corresponding switching operation when one or more parameters reach a preset parameter threshold;
and after the authentication and authorization are passed, the intelligent terminal processing module defaults to carry out multicast request and play on the live broadcast traffic. When the parameter value of the video playing parameter reaches the preset parameter threshold value, the intelligent terminal processing module can be actively switched to a unicast mode, and meanwhile, the intelligent networking terminal, the intelligent gateway distribution module and the cloud intelligent processing platform are informed. When the multicast video stream is recovered to be below the preset parameter threshold, automatically switching back to the multicast video stream;
and monitoring that the uplink port of the intelligent gateway distribution module reaches a preset parameter threshold corresponding to the comprehensive parameter value, and integrally performing unicast switching on the video stream. When the number of the whole terminals under the video stream is excessive and exceeds 1 time of the recommendation value issued by the cloud intelligent processing platform, the intelligent terminals which recommend switching the video stream to the unicast video stream under the video stream are switched back to the multicast under the condition that the video stream meets a single threshold value, so that the unicast flow pressure in a family is reduced, and the downlink flow bandwidth pressure of the whole family is reduced;
the number of the intelligent terminals hung down on a certain intelligent networking terminal in a family is too large and exceeds 1 time of a recommended value issued by the cloud intelligent processing platform, and at the moment, the intelligent terminal which is recommended to switch the intelligent terminal into the unicast video stream is switched back to multicast under the condition that the recommended value accords with a single threshold value, so that the unicast flow pressure in the family is reduced, and the flow bandwidth in the family is reduced.
Optionally, the compatible deployment and conversion adjustment of unicast and multicast support of the intelligent terminal are completed together in a linkage mode from the intelligent terminal at the terminal side, the intelligent networking terminal and the intelligent gateway distribution module to the platform side by taking a family as a unit; and the adaptation modes of unicast and multicast in each family are analyzed and dynamically executed by utilizing the surrounding environment of the network terminal, the network state of the similar terminal, the network use conditions of other similar families and a network conversion deployment strategy, and corresponding debugging can be carried out according to the real-time use condition.
The hierarchical architecture mode of the in-home intelligent terminal, the intelligent networking terminal and the intelligent gateway distribution module can meet the requirements of home networking environments in different scenes. The method mainly comprises the steps that after an intelligent terminal processing module receives a video code stream, a playing state is recorded, meanwhile, a peripheral network environment is detected, a terminal identifier and a video playing parameter are identified, parameter evaluation is carried out on the obtained information, then a terminal network mode selection instruction is issued, and automatic switching is carried out according to the real-time playing state; the intelligent networking terminal carries out multicast distribution according to the playing instruction, and the whole strategy instruction covers other classified same terminals in the family, so that the purpose of coordinated operation in the networking environment of the family unit is realized, and the load in the whole networking environment is reduced in time; meanwhile, an intelligent gateway distribution module is used for interacting with a home terminal and feeding back a blocking phenomenon in time, so that the whole framework of the intelligent gateway distribution module can quickly respond to different network environment changes; and finally, a cloud intelligent processing platform is used for carrying out big data statistics and utilization, similar state strategies are counted and utilized in subsequent networking deployment and strategy execution, and meanwhile, the regional characteristics under the platform can be combined, targeted strategy reference is achieved, and the accuracy of framework execution and customer satisfaction are improved.
Optionally, the platform side uses a home as a unit, covers an integration method of terminal information and the like, and simultaneously supports the authorization, identification and selection switching of home terminal information acquisition and unicast and multicast by using an area as a unit, a home gateway as a unit and a home networking as a unit, so that related playing experience problems in the same area, home and networking equipment can be found in advance, and the switching can be automatically performed to avoid the experience problems. The existing problems are analyzed and solved in advance according to different levels of support and network playing conditions, and the video playing satisfaction of users can be improved.
The video stream processing method provided by the invention completes compatible deployment and conversion adjustment of unicast and multicast support of the intelligent terminal together in a linkage mode from the intelligent terminal, the intelligent networking terminal and the intelligent gateway distribution module to the platform side; analyzing the adaptation modes of unicast and multicast in each area and performing dynamic execution by using a network environment, the network state of the similar terminal, the use condition of other similar networks and a network conversion deployment strategy, and performing corresponding debugging according to the real-time use condition to reduce the system overhead and obtain the optimal playing experience; the multicast/unicast support problem of different areas, different networking scenes and different intelligent terminals under the condition of a plurality of unicast and multicast mixed flow can be solved; the switching between the multicast video stream and the unicast multicast video stream can be flexibly supported according to the related playing conditions in a family, under networking equipment and between different areas.
Fig. 2 is a schematic structural diagram of a video stream processing apparatus provided in the present invention, as shown in fig. 2, the apparatus includes:
an obtaining module 210, configured to obtain a terminal identifier and a video playing parameter corresponding to a video stream to be processed;
a first switching module 220, configured to obtain an authorization to play a multicast video stream according to the terminal identifier, and switch the to-be-processed video stream to a multicast video stream;
a second switching module 230, configured to determine that the video playing parameter exceeds a corresponding preset parameter threshold, and switch the multicast video stream to the unicast video stream;
the video playing parameters comprise a single parameter and a comprehensive parameter.
In one embodiment, the video playback parameters include: at least one of packet loss rate, blue screen parameter, splash screen parameter, network jitter parameter and disorder parameter;
the single parameter value is the value of any one video playing parameter;
the comprehensive parameter value is the sum of values of a plurality of video playing parameters.
In an embodiment, the second switching module 230 is further specifically configured to:
confirming that the single parameter value exceeds the corresponding preset parameter threshold value, and switching the multicast video stream into the unicast video stream;
and/or switching the multicast video stream into the unicast video stream after confirming that the comprehensive parameter value exceeds the corresponding preset parameter threshold value.
In one embodiment, the video stream processing apparatus further includes:
and under the condition that the number of terminals playing the unicast video stream exceeds the preset threshold number, confirming that the parameter value of the terminal does not exceed the preset parameter threshold value, and switching the unicast video stream corresponding to the terminal into the multicast video stream.
In one embodiment, said switching said multicast video stream to said unicast video stream comprises:
and switching the unicast video stream into the multicast video stream under the condition that the parameter value does not exceed the preset parameter threshold value.
In one embodiment, the video stream processing apparatus further comprises:
and under the condition that the authorization for playing the multicast video stream is invalid and/or the comprehensive parameter value is reduced, switching the video stream to be processed into a unicast video stream.
According to the video stream processing device provided by the invention, the authorization for playing the multicast video stream is obtained through the terminal identifier corresponding to the video stream to be processed, and the default multicast video stream is automatically switched to the unicast video stream under the condition that the video playing parameter corresponding to the video stream to be processed is judged to exceed the corresponding preset parameter threshold value, so that the corresponding processing can be carried out according to the playing condition of the video stream to be processed, the self-adaptive video stream processing and switching can be realized, the system overhead is reduced, and the user experience is improved.
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor) 310, a Communication Interface (Communication Interface) 320, a memory (memory) 330 and a Communication bus 340, wherein the processor 310, the Communication Interface 320 and the memory 330 complete the Communication with each other through the Communication bus 340. The processor 310 may invoke computer programs in the memory 330 to perform the steps of the video stream processing method, including, for example:
acquiring a terminal identifier and a video playing parameter corresponding to a video stream to be processed;
acquiring authorization for playing multicast video streams according to the terminal identification, and switching the to-be-processed video streams into multicast video streams;
confirming that the parameter value of the video playing parameter exceeds a corresponding preset parameter threshold value, and switching the multicast video stream into the unicast video stream;
wherein the parameter values comprise single parameter values and/or comprehensive parameter values.
In addition, the logic instructions in the memory 330 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform a video stream processing method provided by the above methods, the method comprising:
acquiring a terminal identifier and a video playing parameter corresponding to a video stream to be processed;
acquiring authorization for playing multicast video streams according to the terminal identification, and switching the to-be-processed video streams into multicast video streams;
confirming that the parameter value of the video playing parameter exceeds a corresponding preset parameter threshold value, and switching the multicast video stream into the unicast video stream;
wherein the parameter values comprise single parameter values and/or comprehensive parameter values.
On the other hand, an embodiment of the present application further provides a processor-readable storage medium, where the processor-readable storage medium stores a computer program, where the computer program is configured to cause the processor to execute the video stream processing method provided in each of the above embodiments, for example, the method includes:
acquiring a terminal identifier and a video playing parameter corresponding to a video stream to be processed;
acquiring authorization for playing multicast video streams according to the terminal identification, and switching the to-be-processed video streams into multicast video streams;
confirming that the parameter value of the video playing parameter exceeds a corresponding preset parameter threshold value, and switching the multicast video stream into the unicast video stream;
wherein the parameter values comprise single parameter values and/or composite parameter values.
The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memories (NAND FLASH), solid State Disks (SSDs)), etc.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on the understanding, the above technical solutions substantially or otherwise contributing to the prior art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for processing a video stream, comprising:
acquiring a terminal identifier and a video playing parameter corresponding to a video stream to be processed;
acquiring authorization for playing multicast video streams according to the terminal identification, and switching the to-be-processed video streams into multicast video streams;
confirming that the parameter value of the video playing parameter exceeds a corresponding preset parameter threshold value, and switching the multicast video stream into a unicast video stream;
wherein the parameter values comprise single parameter values and/or composite parameter values.
2. The video stream processing method according to claim 1,
the video playing parameters comprise: at least one of packet loss rate, blue screen parameter, screen splash parameter, time delay, real-time code rate, network jitter parameter and disorder parameter;
the single parameter value is the value of any one video playing parameter;
the comprehensive parameter value is the sum of the values of the plurality of video playing parameters.
3. The method of claim 1, wherein the determining that the parameter value of the video playing parameter exceeds the corresponding preset parameter threshold value, and switching the multicast video stream to the unicast video stream comprises:
confirming that the single parameter value exceeds the corresponding preset parameter threshold value, and switching the multicast video stream into the unicast video stream;
and/or switching the multicast video stream into the unicast video stream after confirming that the comprehensive parameter value exceeds the corresponding preset parameter threshold value.
4. The video stream processing method according to claim 1, further comprising:
and under the condition that the number of terminals playing the unicast video stream exceeds the preset threshold number, confirming that the parameter value of the terminal does not exceed the preset parameter threshold value, and switching the unicast video stream corresponding to the terminal into the multicast video stream.
5. The video stream processing method of claim 1, wherein switching the multicast video stream to the unicast video stream comprises:
and switching the unicast video stream into the multicast video stream under the condition that the parameter value does not exceed the preset parameter threshold value.
6. The video stream processing method according to claim 1, further comprising:
and under the condition that the authorization for playing the multicast video stream is invalid and/or the comprehensive parameter value is reduced, switching the video stream to be processed into a unicast video stream.
7. A video stream processing apparatus, comprising:
the acquisition module is used for acquiring a terminal identifier and a video playing parameter corresponding to a video stream to be processed;
the first switching module is used for acquiring the authorization of playing the multicast video stream according to the terminal identifier and switching the to-be-processed video stream into the multicast video stream;
the second switching module is used for confirming that the parameter value of the video playing parameter exceeds a corresponding preset parameter threshold value and switching the multicast video stream into a unicast video stream;
wherein the parameter values comprise single parameter values and/or comprehensive parameter values.
8. The video stream processing apparatus according to claim 7,
the video playing parameters comprise: at least one of packet loss rate, blue screen parameter, screen splash parameter, time delay, real-time code rate, network jitter parameter and disorder parameter;
the single parameter value is the value of any one video playing parameter;
the comprehensive parameter value is the sum of values of a plurality of video playing parameters.
9. An electronic device comprising a processor and a memory storing a computer program, wherein the processor implements the video stream processing method steps of any one of claims 1 to 6 when executing the computer program.
10. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing a processor to execute the steps of the video stream processing method according to any one of claims 1 to 6.
CN202110468084.1A 2021-04-28 2021-04-28 Video stream processing method and device Pending CN115250336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110468084.1A CN115250336A (en) 2021-04-28 2021-04-28 Video stream processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110468084.1A CN115250336A (en) 2021-04-28 2021-04-28 Video stream processing method and device

Publications (1)

Publication Number Publication Date
CN115250336A true CN115250336A (en) 2022-10-28

Family

ID=83697352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110468084.1A Pending CN115250336A (en) 2021-04-28 2021-04-28 Video stream processing method and device

Country Status (1)

Country Link
CN (1) CN115250336A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141397A (en) * 2007-10-12 2008-03-12 中兴通讯股份有限公司 Single broadcast to multicast switching method
CN105075214A (en) * 2013-03-29 2015-11-18 英特尔Ip公司 Quality of experience aware multimedia adaptive streaming
CN105763942A (en) * 2016-04-22 2016-07-13 烽火通信科技股份有限公司 Calculating method of IPTV set top box VMOS value
CN109511018A (en) * 2018-12-27 2019-03-22 贵州省广播电视信息网络股份有限公司 A method of it is broadcast live for OTT in complex network environment smooth playing
CN109963203A (en) * 2017-12-25 2019-07-02 中国移动通信集团福建有限公司 Video flowing conversion and adaptive method for switching and device, equipment and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141397A (en) * 2007-10-12 2008-03-12 中兴通讯股份有限公司 Single broadcast to multicast switching method
CN105075214A (en) * 2013-03-29 2015-11-18 英特尔Ip公司 Quality of experience aware multimedia adaptive streaming
CN105763942A (en) * 2016-04-22 2016-07-13 烽火通信科技股份有限公司 Calculating method of IPTV set top box VMOS value
CN109963203A (en) * 2017-12-25 2019-07-02 中国移动通信集团福建有限公司 Video flowing conversion and adaptive method for switching and device, equipment and medium
CN109511018A (en) * 2018-12-27 2019-03-22 贵州省广播电视信息网络股份有限公司 A method of it is broadcast live for OTT in complex network environment smooth playing

Similar Documents

Publication Publication Date Title
US10945103B2 (en) Dynamic network slice-switching and handover system and method
US10819629B2 (en) Method and apparatus for dynamic network routing in a software defined network
US10659619B2 (en) Method and apparatus for managing resources in a software defined network
US10511724B2 (en) Method and apparatus for adaptive charging and performance in a software defined network
US10819606B2 (en) Method and apparatus for selecting processing paths in a converged network
US20220086729A1 (en) Method and apparatus for coordinating wireless resources in a communication network
US9615288B2 (en) System and method for quality of service in a wireless network environment
CN101252496B (en) Multimedia network transmission system, terminal and method
CN109565501A (en) For selecting the technology of content distributing network entity
CA2851394A1 (en) Http adaptive streaming server with automatic rate shaping
CN104967528B (en) A kind of bandwidth adjusting method and system based on SDN controller
US20150012929A1 (en) Network controlled streaming
EP2538617A1 (en) Method and system for implementing interaction between set-top box (stb) and home gateway
CN105828378B (en) A kind of Wireless Fidelity WIFI connection methods and terminal device
US11070445B2 (en) System and method for optimization of an over-the-top (OTT) platform
CN104702994A (en) Media play method, media play device and set top box
CN104902289A (en) Design method and system for RTMP (Real Time Messaging Protocol) streaming media live system warm backup
CN105873157A (en) Automatic network switching method and device, and mobile terminal
CN105100955A (en) Set top box switching network method and device, and set top box provided with device
WO2020135562A1 (en) Multicast method, device, apparatus, and computer storage medium
EP3691261A1 (en) Method and device for locating video service fault, and storage medium
Cánovas et al. Smart resource allocation for improving QoE in IP Multimedia Subsystems
CN115250336A (en) Video stream processing method and device
CN111131840B (en) Method and device for switching network of video service system
CN110891183B (en) Channel sharing method, device and computer readable 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