CN112333556A - Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium - Google Patents

Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium Download PDF

Info

Publication number
CN112333556A
CN112333556A CN202010764951.1A CN202010764951A CN112333556A CN 112333556 A CN112333556 A CN 112333556A CN 202010764951 A CN202010764951 A CN 202010764951A CN 112333556 A CN112333556 A CN 112333556A
Authority
CN
China
Prior art keywords
video
bandwidth
frame rate
transmission bandwidth
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010764951.1A
Other languages
Chinese (zh)
Other versions
CN112333556B (en
Inventor
陈玉洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202010764951.1A priority Critical patent/CN112333556B/en
Publication of CN112333556A publication Critical patent/CN112333556A/en
Application granted granted Critical
Publication of CN112333556B publication Critical patent/CN112333556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a control method of transmission bandwidth of a monitoring video, which comprises the steps of detecting the type of equipment accessing the monitoring video, wherein the type of the equipment at least comprises any one of static equipment and dynamic equipment; if the static equipment is detected to access the monitoring video, acquiring bandwidth allocation weight of the static equipment, and determining a first transmission bandwidth according to the bandwidth allocation weight; if the fact that each dynamic device accesses the monitoring video is detected, detecting the video playing frame rate and the operation state of each dynamic device, and determining a second transmission bandwidth according to the video playing frame rate and the operation state; and transmitting the monitoring video to the static equipment for displaying according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for displaying according to the second transmission bandwidth. In addition, the invention also discloses a terminal device and a computer readable storage medium, which avoid the phenomenon that the access monitoring video is blocked or can not be displayed, ensure that the user can obtain the monitoring picture in time and improve the monitoring protection efficiency.

Description

Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium
Technical Field
The invention belongs to the technical field of intelligent door locks, and particularly relates to a control method of monitoring video transmission bandwidth, terminal equipment and a computer readable storage medium.
Background
The smart home is well developed, and the rapid development of the internet of things technology enables the life of people to be full of science and technology. In the meantime, people often set monitoring equipment in the home environment based on the continuous improvement of safety awareness of people. However, when a user accesses a real-time monitoring video acquired by the monitoring device based on a static terminal device such as a television device and a doorbell, which are fixedly installed in a home environment, and/or based on a mobile terminal device such as a portable smartphone and an iPad (an intelligent product designed and released by apple corporation), a phenomenon that a picture transmission of the monitoring video is blocked or even cannot be displayed often exists based on a limitation of a video transmission bandwidth in the home environment, so that the user cannot know a real-time situation of the home environment, and the monitoring protection efficiency of the monitoring device for the home environment of people is low.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a control method of a monitoring video transmission bandwidth, and aims to solve the technical problems that a user is difficult to know a real-time monitoring picture and the monitoring protection efficiency is low due to the fact that the picture transmission of the existing monitoring video is blocked and even can not be displayed.
In order to achieve the above object, the present invention provides a method for controlling a transmission bandwidth of a surveillance video, comprising the steps of:
detecting a device type for accessing the monitoring video, wherein the device type at least comprises any one of static devices and dynamic devices;
if the static equipment is detected to access the monitoring video, acquiring bandwidth distribution weight of the static equipment, and determining a first transmission bandwidth according to the bandwidth distribution weight;
if the fact that each dynamic device accesses the monitoring video is detected, detecting the video playing frame rate and the operation state of each dynamic device, and determining a second transmission bandwidth according to the video playing frame rate and the operation state;
and transmitting the monitoring video to the static equipment for displaying according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for displaying according to the second transmission bandwidth.
Optionally, the bandwidth allocation weight includes: the method comprises the following steps of obtaining the bandwidth distribution weight of the static equipment if the static equipment is detected to access the monitoring video, wherein the steps comprise:
when an operation instruction of a monitoring application installed on the static equipment is received, determining that the static equipment accesses the monitoring video;
acquiring individual figure values in a monitoring environment corresponding to the monitoring video, and taking the individual figure values as the weight of the number of people;
and if the request state of the running instruction for the monitoring video meets the preset condition in a circulating mode, synchronously increasing the access times of the static equipment for accessing the monitoring video, and taking the access times as the access times weight.
Optionally, the step of determining a first transmission bandwidth according to the bandwidth allocation weight includes:
overlapping the people number weight and the access frequency weight to obtain a weight sum, and acquiring an idle bandwidth in an idle state in a preset wireless network;
and dividing the idle bandwidth by the weight sum to obtain a first transmission bandwidth of the static equipment for accessing the monitoring video.
Optionally, the step of detecting the video playback frame rate and the operation state of each of the dynamic devices includes:
acquiring the equipment information of each dynamic equipment one by one, and extracting the video playing frame rate of each dynamic equipment from each equipment information;
respectively detecting the average value of the acceleration sensor and the screen display content of each dynamic device;
and determining the operation state of each dynamic device according to the acceleration sensor mean value and the screen display content.
Optionally, the operating state comprises: a foreground running access state and a background running access state,
the step of determining the operation state of each dynamic device according to the acceleration sensor mean value and the screen display content includes:
detecting the fluctuation amplitude of the mean value of the acceleration sensor;
if the fluctuation amplitude is larger than or equal to a preset amplitude and the screen display content is a picture in the monitoring video, determining that the operation state of the dynamic equipment is a foreground operation access state;
or if the fluctuation amplitude is smaller than the preset amplitude and the screen display content is not the picture in the monitoring video, determining that the operation state of the dynamic device is a background running access state.
Optionally, before the step of determining the second transmission bandwidth according to the video playing frame rate and the operation state, the method further includes:
and acquiring idle bandwidth in an idle state in a preset wireless network and reducing a preset proportion to obtain target idle bandwidth.
Optionally, the step of determining a second transmission bandwidth according to the video playing frame rate and the operation state includes:
dividing the target idle bandwidth by the number of devices in each dynamic device, of which the operation state is a foreground operation access state, to obtain a standard access bandwidth of each dynamic device;
and determining a second transmission bandwidth corresponding to the monitoring video accessed by each dynamic device according to the standard access bandwidth and the video playing frame rate of each dynamic device.
Optionally, the step of determining, according to the standard access bandwidth and the video playback frame rate of each dynamic device, a second transmission bandwidth corresponding to the surveillance video that each dynamic device accesses includes:
acquiring the bandwidth video frame rate of the standard access bandwidth, and detecting whether the bandwidth video frame rate is greater than the video playing frame rate of each dynamic device one by one;
if so, reducing the bandwidth video frame rate to a preset standard frame rate to obtain an intermediate frame rate, and overlapping the bandwidth video frame rate and the intermediate frame rate to obtain a first frame rate value;
taking the first frame rate value as a second transmission bandwidth corresponding to the dynamic device accessing the monitoring video;
if not, taking the bandwidth video frame rate as a second frame rate value, and taking the second frame rate value as a second transmission bandwidth corresponding to the dynamic device for accessing the monitoring video.
In addition, to achieve the above object, the present invention also provides a terminal device, including: the monitoring video transmission bandwidth control method comprises a memory, a processor and a monitoring video transmission bandwidth control program which is stored on the memory and can run on the processor, wherein the monitoring video transmission bandwidth control program realizes the steps of the monitoring video transmission bandwidth control method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores thereon a control program for monitoring a video transmission bandwidth, and the control program for monitoring a video transmission bandwidth is executed by a processor to implement the steps of the control method for monitoring a video transmission bandwidth as described above.
The embodiment of the invention provides a control method for monitoring video transmission bandwidth, a terminal device and a computer readable storage medium, wherein the device type of accessing a monitoring video is detected, wherein the device type at least comprises any one of a static device and a dynamic device; if the static equipment is detected to access the monitoring video, acquiring bandwidth distribution weight of the static equipment, and determining a first transmission bandwidth according to the bandwidth distribution weight; if the fact that each dynamic device accesses the monitoring video is detected, detecting the video playing frame rate and the operation state of each dynamic device, and determining a second transmission bandwidth according to the video playing frame rate and the operation state; and transmitting the monitoring video to the static equipment for displaying according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for displaying according to the second transmission bandwidth.
According to the invention, when a plurality of devices access the monitoring video, the video transmission bandwidth is dynamically allocated to each access device based on the bandwidth allocation weight of the static access device and the video playing frame rate and the operation state of the dynamic access device, so that the phenomenon that the display is blocked or even can not be displayed when the monitoring video is accessed is avoided, the user can be ensured to know the monitoring picture through the access device in time, and the actual use experience of the user and the efficiency of monitoring and protecting the family environment of the user are improved.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a control method for monitoring video transmission bandwidth according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a detailed process of step S10 in an embodiment of the method for controlling the transmission bandwidth of surveillance video according to the present invention;
FIG. 4 is a flowchart illustrating a detailed process of step S20 in an embodiment of the method for controlling the transmission bandwidth of surveillance video according to the present invention;
FIG. 5 is a flowchart illustrating a detailed process of step S30 in an embodiment of the method for controlling the transmission bandwidth of surveillance video according to the present invention;
fig. 6 is a schematic block diagram of an intelligent door lock system according to an embodiment of the control method for monitoring video transmission bandwidth of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: detecting the type of equipment accessing the monitoring video, wherein the type of equipment at least comprises any one of static equipment and dynamic equipment; if the static equipment is detected to access the monitoring video, acquiring bandwidth distribution weight of the static equipment, and determining a first transmission bandwidth according to the bandwidth distribution weight; if the fact that each dynamic device accesses the monitoring video is detected, detecting the video playing frame rate and the operation state of each dynamic device, and determining a second transmission bandwidth according to the video playing frame rate and the operation state; and transmitting the monitoring video to the static equipment for displaying according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for displaying according to the second transmission bandwidth.
Because the user accesses the real-time monitoring video acquired by the monitoring equipment based on the static terminal equipment such as the television equipment and the doorbell which are fixedly installed in the home environment and/or based on the mobile terminal equipment such as the smart phone and the iPad (an intelligent product designed and released by apple corporation) which are carried along, the phenomenon that the picture transmission of the monitoring video is blocked or even cannot be displayed often exists based on the limitation of the video transmission bandwidth in the home environment, so that the user cannot know the real-time condition of the home environment, and the monitoring protection efficiency of the monitoring equipment for the home environment of people is low.
The invention provides a solution, aiming at solving the technical problems that the picture transmission of the existing monitoring video is blocked and even can not be displayed, so that a user is difficult to know a real-time monitoring picture and the monitoring protection efficiency is low; according to the invention, when a plurality of devices access the monitoring video, the video transmission bandwidth is dynamically allocated to each access device based on the bandwidth allocation weight of the static access device and the video playing frame rate and the operation state of the dynamic access device, so that the phenomenon that the display is blocked or even can not be displayed when the monitoring video is accessed is avoided, the user can be ensured to know the monitoring picture through the access device in time, and the actual use experience of the user and the efficiency of monitoring and protecting the family environment of the user are improved.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention.
The terminal device in the embodiment of the present invention may also be a display terminal device having a display function, such as a PC, a smart phone, a tablet PC, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 3) player, a portable computer, or the like.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include an input unit such as a keypad (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal device configuration shown in fig. 1 is not intended to be limiting of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a control program for monitoring a video transmission bandwidth.
In the terminal device shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a control program for monitoring video transmission bandwidth stored in the memory 1005, and perform the following operations:
detecting a device type for accessing the monitoring video, wherein the device type at least comprises any one of static devices and dynamic devices;
if the static equipment is detected to access the monitoring video, acquiring bandwidth distribution weight of the static equipment, and determining a first transmission bandwidth according to the bandwidth distribution weight;
if the fact that each dynamic device accesses the monitoring video is detected, detecting the video playing frame rate and the operation state of each dynamic device, and determining a second transmission bandwidth according to the video playing frame rate and the operation state;
and transmitting the monitoring video to the static equipment for displaying according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for displaying according to the second transmission bandwidth.
Further, the bandwidth allocation weight comprises: the processor 1001 may be configured to call a control program for monitoring a video transmission bandwidth stored in the memory 1005, and further perform the following operations:
when an operation instruction of a monitoring application installed on the static equipment is received, determining that the static equipment accesses the monitoring video;
acquiring individual figure values in a monitoring environment corresponding to the monitoring video, and taking the individual figure values as the weight of the number of people;
and if the request state of the running instruction for the monitoring video meets the preset condition in a circulating mode, synchronously increasing the access times of the static equipment for accessing the monitoring video, and taking the access times as the access times weight.
Further, the processor 1001 may be configured to call a control program for monitoring video transmission bandwidth stored in the memory 1005, and further perform the following operations:
overlapping the people number weight and the access frequency weight to obtain a weight sum, and acquiring an idle bandwidth in an idle state in a preset wireless network;
and dividing the idle bandwidth by the weight sum to obtain a first transmission bandwidth of the static equipment for accessing the monitoring video.
Further, the processor 1001 may be configured to call a control program for monitoring video transmission bandwidth stored in the memory 1005, and further perform the following operations:
acquiring the equipment information of each dynamic equipment one by one, and extracting the video playing frame rate of each dynamic equipment from each equipment information;
respectively detecting the average value of the acceleration sensor and the screen display content of each dynamic device;
and determining the operation state of each dynamic device according to the acceleration sensor mean value and the screen display content.
Further, the operating states include: the processor 1001 may be configured to invoke a control program for monitoring video transmission bandwidth stored in the memory 1005, and further perform the following operations:
detecting the fluctuation amplitude of the mean value of the acceleration sensor;
if the fluctuation amplitude is larger than or equal to a preset amplitude and the screen display content is a picture in the monitoring video, determining that the operation state of the dynamic equipment is a foreground operation access state;
or if the fluctuation amplitude is smaller than the preset amplitude and the screen display content is not the picture in the monitoring video, determining that the operation state of the dynamic device is a background running access state.
Further, the processor 1001 may be configured to call a control program for monitoring video transmission bandwidth stored in the memory 1005, and before determining the second transmission bandwidth according to the video playback frame rate and the operation status, further perform the following operations:
and acquiring idle bandwidth in an idle state in a preset wireless network and reducing a preset proportion to obtain target idle bandwidth.
Further, the processor 1001 may be configured to call a control program for monitoring video transmission bandwidth stored in the memory 1005, and further perform the following operations:
dividing the target idle bandwidth by the number of devices in each dynamic device, of which the operation state is a foreground operation access state, to obtain a standard access bandwidth of each dynamic device;
and determining a second transmission bandwidth corresponding to the monitoring video accessed by each dynamic device according to the standard access bandwidth and the video playing frame rate of each dynamic device.
Further, the processor 1001 may be configured to call a control program for monitoring video transmission bandwidth stored in the memory 1005, and further perform the following operations:
acquiring the bandwidth video frame rate of the standard access bandwidth, and detecting whether the bandwidth video frame rate is greater than the video playing frame rate of each dynamic device one by one;
if so, reducing the bandwidth video frame rate to a preset standard frame rate to obtain an intermediate frame rate, and overlapping the bandwidth video frame rate and the intermediate frame rate to obtain a first frame rate value;
taking the first frame rate value as a second transmission bandwidth corresponding to the dynamic device accessing the monitoring video;
if not, taking the bandwidth video frame rate as a second frame rate value, and taking the second frame rate value as a second transmission bandwidth corresponding to the dynamic device for accessing the monitoring video.
Based on the above hardware structure, the embodiment of the method of the present invention is provided.
Referring to fig. 2, in a first embodiment of the method for controlling a transmission bandwidth of a surveillance video, the method for controlling the transmission bandwidth of the surveillance video includes:
step S10, detecting the device type of the access monitoring video, wherein the device type at least comprises any one of static device and dynamic device;
the method comprises the steps of detecting whether an access instruction for accessing the monitoring video is received in a wireless network connected with a preset intelligent television system or not based on the preset intelligent television system, and determining whether equipment for accessing the monitoring video currently is static equipment or dynamic equipment according to trigger equipment of the access instruction.
It should be noted that, in this embodiment, the preset smart television system includes a CPU (central processing unit) processing module, a 1-static fixed access video bandwidth module, a 2-dynamic access video bandwidth module, and a 3-bandwidth dynamic adjustment effect module as shown in fig. 6, it should be understood that, based on actual application requirements of different application systems, other systems different from the system having the same hardware module as that shown in this embodiment may also be adopted, and the control method for monitoring video transmission bandwidth of the present invention does not limit the specific type of the system used and the specific hardware module included in the system.
In addition, in this embodiment, an arbitrary monitoring camera system having a video monitoring function is further connected to a wireless network (such as a wireless routing network) connected to the smart television system, the monitoring camera system can be used to collect environment pictures of a user in a home, an office, and the like in real time for monitoring protection, and when receiving an access request for a monitoring video transmitted in the connected wireless network, the monitoring camera system outputs the collected environment pictures in real time based on the access request.
In addition, in this embodiment, the static device is a device that is fixedly installed and connected to a wireless network in which the monitoring camera system is located, and can access the monitoring video collected in real time by the monitoring camera system to perform monitoring protection so as to display the video picture, such as an intelligent doorbell, an intelligent television, and the like; the dynamic device is a mobile device carried by the user and connected with a wireless network where the monitoring camera system is located through an external network, for example, a mobile terminal device such as a smart phone and an iPad. It should be understood that, based on the practical application requirements of different application systems, other static devices or dynamic devices different from those listed in this embodiment may also be adopted, and the control method for monitoring video transmission bandwidth according to the present invention does not limit the types and numbers of the static devices and the dynamic devices.
Step S20, if it is detected that the static equipment accesses the monitoring video, acquiring the bandwidth distribution weight of the static equipment, and determining a first transmission bandwidth according to the bandwidth distribution weight;
the method comprises the steps that the intelligent television system detects whether an access instruction of a monitoring video triggered by a static device is received in a wireless network so as to determine whether the static device accesses the monitoring video currently, if so, the intelligent television system immediately obtains bandwidth allocation weight of the static device aiming at the monitoring video transmission bandwidth, and calculates and determines a first transmission bandwidth of the monitoring video to be transmitted to the static device when the static device requests to access the monitoring video based on a preset algorithm.
Specifically, for example, when it is detected that a user triggers an access instruction for a monitoring video based on a static fixed-mounted intelligent doorbell is transmitted in a connected wireless network, the intelligent television system determines that the intelligent doorbell is currently accessing the monitoring video, so that the intelligent television system immediately detects and obtains a bandwidth allocation weight of the intelligent doorbell for a transmission bandwidth of the monitoring video by calling a 1-static fixed-access video bandwidth module, and then calculates a people number weight and an access time weight in the bandwidth allocation weight through a preset algorithm to determine a first transmission bandwidth for transmitting the monitoring video requested to be accessed by the static device to the static device.
Further, referring to fig. 3, in a possible embodiment, the bandwidth allocation weight of the static device includes: the step S20 of obtaining the bandwidth allocation weight of the static device when the static device is detected to access the surveillance video may further include:
step S201, when receiving an operation instruction of a monitoring application installed on the static equipment, determining that the static equipment accesses the monitoring video;
it should be noted that, in this embodiment, a user may install, in advance, a monitoring application corresponding to a monitoring camera system in a wireless network to which the static device is accessed, and may implement operations such as video access and parameter setting for the monitoring camera system.
Specifically, for example, a user may click a corresponding instruction control to trigger an operation instruction for accessing and viewing a monitoring video for monitoring protection, which is collected by a monitoring camera system in an accessed wireless network, and transmit the operation instruction to the accessed wireless network, based on a monitoring application pre-installed on a static fixed-installation smart doorbell, so that when the smart television system detects that the operation instruction is transmitted in the wireless network, a source device of the operation instruction, namely the smart doorbell, is determined to currently access the monitoring video.
Step S202, obtaining individual figure values in a monitoring environment corresponding to the monitoring video, and taking the individual figure values as the weight of the number of people;
after the fact that the static equipment accesses the monitoring video is determined, the intelligent television system immediately acquires the personal numerical value existing in the monitoring environment of the monitoring camera system for collecting the monitoring video, and then the personal numerical value is used as the number weight in the bandwidth distribution weight of the static equipment.
Specifically, for example, the smart television system creates a monitored environment people number statistical model by calling the 1-static fixed access video bandwidth module, sends a command for retrieving the number of family members to the smart television device accessed in the connected wireless network, the smart television device collects the number of people in the current environment through the camera and feeds the number of people back to the smart television system as a people individual value, and the smart television system takes the received people individual value as the weight of people in the bandwidth allocation weight for determining the size of the static device access monitoring video transmission bandwidth.
Further, in another possible embodiment, in order to ensure that the individual values of the people obtained by the smart television system are accurate and error-free, when sending a command for retrieving the number of family members to the smart television device, the smart television system may also send the same command for retrieving the number of family members to the motion sensing sensor connected to the wireless network, so that the smart television system also obtains the number of people detected and fed back by the motion sensing sensor, and the smart television system subtracts the number of people detected by the motion sensing sensor from the number of people fed back by the smart television device, and determines that the number of people fed back by the smart television device is the weight of the number of people in the bandwidth allocation weight if the result is equal to 0, or determines that the number of people detected by the motion sensing sensor is the weight of the number of people in the bandwidth allocation weight if the result is not equal to 0.
Step S203, if the request state of the running instruction for the monitoring video is circularly detected to meet the preset condition, the access times of the static equipment for accessing the monitoring video are synchronously increased, and the access times are used as the access times weight.
The intelligent television system is accessed into a wireless network according to the cyclic detection of a preset time period, a user judges whether the request state of a monitoring video meets a preset condition or not based on an operation instruction triggered by a monitoring application, if the operation instruction meets the preset condition in a cyclic detection project, the intelligent television system immediately increases the access times of a static device for requesting to access the monitoring video, and then the access times are synchronously used as access times in a bandwidth allocation weight for determining the transmission bandwidth of the static device for accessing the monitoring video.
It should be noted that, in the present embodiment, the preset time period may be specifically 1 minute, and it should be understood that, based on actual application requirements of different application systems, other time periods different from those listed in the present embodiment may also be adopted, and the control method for monitoring video transmission bandwidth of the present invention does not limit specific values of the preset time period. In addition, in this embodiment, the preset condition may specifically be: the user clicks a monitored video picture acquired by one video camera of the corresponding surveillance camera system based on the surveillance application, and the time for staying at the operation interface of the surveillance application is longer than 1 minute, it should be understood that other preset conditions different from those listed in this embodiment may be adopted based on actual application requirements of different application systems, and the control method for monitoring video transmission bandwidth of the present invention does not limit the specific contents of the preset conditions.
Specifically, for example, the smart television system creates a user click monitoring video behavior statistical mode by calling a 1-static fixed access video bandwidth module, the 1-static fixed access video bandwidth module reads the number of detected people in the current environment, detects that the user clicks a monitored video picture acquired by one video camera of the corresponding monitoring camera system based on the monitoring application every 1 minute, and keeps staying on a running interface of the monitoring application, superimposes 1 on the number of times of access of the user for clicking the monitoring application to request access to the monitoring video, and synchronously takes the number of times of access as the weight of the number of times of access in the bandwidth allocation weight for determining the size of the static device access monitoring video transmission bandwidth.
It should be noted that, in this embodiment, in the process of cyclically detecting that a user clicks a video picture based on a monitoring application to request to access a monitoring video, the 1-static fixed access video bandwidth module may detect that the user clicks an application enable button based on a front-end visual interface of the monitoring application to determine whether the user continuously stays on the monitoring application running interface to superimpose access times, or the 1-static fixed access video bandwidth module may further detect that the user inputs an access instruction based on a voice call to determine whether the user continuously stays on the monitoring application running interface to superimpose access times.
Further, referring to fig. 4, in a possible embodiment, the step of "determining the first transmission bandwidth according to the bandwidth allocation weight" in the step S20 may include:
step S204, overlapping the people number weight and the access frequency weight to obtain a weight sum, and acquiring an idle bandwidth in an idle state in a preset wireless network;
it should be noted that, in this embodiment, the preset wireless network is a wireless network to which the current smart television system is accessed, and the wireless network is also accessed with a monitoring camera system and the like that use a camera to collect an environmental picture for monitoring protection, for example, the wireless network may be a wireless routing network in a home or office environment where the user is located, and the user has previously accessed the smart television system and the monitoring camera system in the current wireless routing network. It should be understood that, based on different design requirements of practical applications, other wireless or wired networks different from the wireless routing network listed in this embodiment may also be adopted, and the control method for monitoring video transmission bandwidth according to the present invention does not limit the specific type of the preset wireless network, the accessed application system, the terminal device, and the like.
After acquiring the bandwidth distribution weight, the people number weight and the visit times weight of the static equipment aiming at the transmission bandwidth of the monitoring video, the intelligent television system superposes the people number weight and the visit times weight to obtain a weight sum, and then the intelligent television system synchronously acquires the idle bandwidth in an idle state in the accessed wireless network.
Specifically, for example, the smart television system obtains a weight sum by calling a 1-static fixed access video bandwidth module to superimpose the weight of the number of people and the weight of the number of accesses obtained in advance, and synchronizes idle bandwidth which is in an idle state and is not subjected to data transmission in a wireless routing network accessed by the current smart television system.
Step S205, dividing the idle bandwidth by the sum of the weights to obtain a first transmission bandwidth of the static device accessing the monitoring video.
The intelligent television system divides the obtained idle bandwidth by the sum of the weights obtained by overlapping the people number weight and the access frequency weight according to a pre-configured algorithm, so that the calculation result is used as a first transmission bandwidth for transmitting the requested access monitoring video to the static equipment.
Specifically, for example, the smart television system continues to obtain all idle bandwidths in an idle state without data transmission in the currently accessed wireless routing network by calling the 1-static fixed access video bandwidth module according to an algorithm configured by manual input in advance, dividing the obtained idle bandwidths into a weight sum obtained by superimposing the people number weight and the access frequency weight to obtain a calculation result, and then using the calculation result as a first transmission bandwidth for transmitting the monitoring video requested to be accessed by the static device to the static device by the 1-static fixed access video bandwidth module.
It should be noted that, in this embodiment, after determining the first transmission bandwidth, the smart television system may store the first transmission bandwidth synchronously, so that when the static device requests to access the surveillance video next time, if the smart television system preferentially detects that the idle bandwidth in the idle state in the accessed wireless network is the same as the idle bandwidth when the first transmission bandwidth is obtained through calculation, the smart television system may directly transmit the surveillance video requested to be accessed by the static device to the static device by using the first transmission bandwidth.
Step S30, if it is detected that each of the dynamic devices accesses the surveillance video, detecting a video playback frame rate and an operation state of each of the dynamic devices, and determining a second transmission bandwidth according to the video playback frame rate and the operation state;
it should be noted that, in this embodiment, in addition to the user viewing the environment picture in the monitoring video based on the access instruction to the monitoring video triggered by the fixed-installed static device, the user may also initiate an access request to the monitoring video through a dynamic device carried by the user, for example, a mobile terminal device such as a smart phone and an iPad. When a user initiates an access request for a surveillance video through a dynamic device, the user can directly trigger an access instruction for the surveillance video based on a surveillance application pre-installed on the dynamic device, and transmit the access instruction to a wireless network where a surveillance camera system for acquiring the surveillance video is located based on an external network (such as a mobile network).
The intelligent television system detects whether an access instruction for the monitoring video triggered by the dynamic device is received in the wireless network to determine whether the dynamic device currently accesses the monitoring video, if so (namely, the access instruction is received, the dynamic device is determined to currently access the monitoring video), the smart tv system instantly detects the video playing frame rate of the dynamic device itself and the operation state of the dynamic device at the current moment, then, the intelligent television system determines the number of the dynamic devices which are accessed for the monitoring video at the current moment based on the operation state and the intelligent television system determines the number of the dynamic devices which are accessed for the monitoring video at the current moment based on the idle bandwidth in the idle state in the accessed wireless network, therefore, the intelligent television system can obtain the standard access bandwidth of each dynamic device based on the number of the dynamic devices and the idle bandwidth, and when the dynamic equipment requests to access the monitoring video, transmitting a second transmission bandwidth of the monitoring video to the dynamic equipment.
It should be noted that, in this embodiment, when the monitoring application is installed on the dynamic device in advance, the video playing frame rate of the dynamic device itself may be detected and read, and the video playing frame rate and the dynamic device are stored after the association relationship is established, so that after receiving the access instruction triggered by the dynamic device, the smart television system may directly detect and read the video playing frame rate of the dynamic device that is stored in advance; or, after receiving an access instruction triggered by the dynamic device, the smart television system may determine information such as a model of the dynamic device according to a device identifier encapsulated and carried in the access instruction, and then detect and acquire a video playing frame rate of the dynamic device from a pre-connected data platform.
Specifically, for example, when the smart television system detects that a user triggers an access instruction for a surveillance video based on a dynamically movable smart phone transmitted in a connected wireless network, it determines that the smart phone is currently accessing the surveillance video, so that the smart television system immediately detects and reads a video playing frame rate of the smart phone by calling a 2-dynamic access video bandwidth module, and simultaneously detects an operation state of the user for requesting access to the surveillance video based on the smart phone at the current time, the 2-dynamic access video bandwidth module further determines the number of smart phones (or smart phones and smart ipads) initiating access requests for the surveillance video at the current time based on whether the operation state is in foreground operation, and synchronously calculates a standard access band of each smart phone with the operation state in foreground operation by using an idle bandwidth in the wireless network to which the smart television system is currently accessed And the bandwidth is wide, so that when the monitoring video is requested to be accessed by the smart phone, the second transmission bandwidth of the monitoring video is transmitted to the smart phone based on the bandwidth video frame rate of the standard access bandwidth and the video playing frame rate of each smart phone.
Step S40, transmitting the surveillance video to the static device for display according to the first transmission bandwidth, or transmitting the surveillance video to each of the dynamic devices for display according to the second transmission bandwidth.
When the intelligent television system detects that a user accesses a monitoring video based on the static equipment and determines that the static equipment requests to access the monitoring video, after a first transmission bandwidth of the monitoring video is transmitted to the static equipment, the intelligent television system transmits the monitoring video requested to be accessed by the static equipment to the static equipment for display according to the first transmission bandwidth; or, when the smart television system detects that the user accesses the surveillance video based on the dynamic device and determines that the dynamic device requests to access the surveillance video, after transmitting the second transmission bandwidth of the surveillance video to the dynamic device, the smart television system transmits the surveillance video requested to be accessed by the dynamic device to the dynamic device for display according to the second transmission bandwidth.
Specifically, for example, after the intelligent television system calculates the number weight and the visit times weight in the obtained bandwidth allocation weight of the static device through a preset algorithm, so as to determine a first transmission bandwidth for transmitting the monitoring video requested to be visited by the static device to the static device, the intelligent television system transmits the monitoring video to the static device for display by calling the 3-bandwidth dynamic adjustment effect module according to the determined first transmission bandwidth; or, the smart television system transmits a second transmission bandwidth of the surveillance video to the smart phone when detecting the video playing frame rate of the smart phone which initiates an access request to access the surveillance video based on the read user base dynamic state by calling the 2-dynamic access video bandwidth module and simultaneously detecting the operation state of the smart phone for requesting access to the surveillance video at the current moment, and determining to obtain the surveillance video requested to be accessed by the smart phone, and then the smart television system transmits the surveillance video to the smart phone for display by calling the 3-bandwidth dynamic adjustment effect module according to the determined second transmission bandwidth.
In this embodiment, based on a preset smart television system, it is detected whether an access instruction for accessing a surveillance video is received in a wireless network connected to the smart television system, and whether a device currently accessing the surveillance video by a user is a static device or a dynamic device is determined according to a trigger device of the access instruction; the method comprises the steps that when an intelligent television system detects that an access instruction for a monitoring video triggered by a static device is received in a wireless network to determine that the static device accesses the monitoring video currently, bandwidth allocation weight of the static device for a monitoring video transmission bandwidth is obtained immediately, and when the static device requests to access the monitoring video is determined based on calculation of a preset algorithm, a first transmission bandwidth of the monitoring video is transmitted to the static device; or, the intelligent television system detects that an access instruction for the monitoring video triggered based on the dynamic device is received in the wireless network to determine that the dynamic device currently accesses the monitoring video, immediately detects the video playing frame rate of the dynamic device and the operation state of the dynamic device at the current moment, then determines the number of the dynamic devices accessed aiming at the monitoring video at the current moment and the idle bandwidth of the intelligent television system in the idle state based on the accessed wireless network based on the operation state, so that the intelligent television system can obtain the standard access bandwidth of each dynamic device based on the number of the dynamic devices and the idle bandwidth, and further determines a second transmission bandwidth for transmitting the monitoring video to the dynamic device when the dynamic device requests to access the monitoring video; when detecting that a user accesses the monitoring video based on the static equipment, the intelligent television system transmits the monitoring video requested to be accessed by the static equipment to the static equipment for display according to the determined first transmission bandwidth for transmitting the monitoring video to the static equipment, or when detecting that the user accesses the monitoring video based on the dynamic equipment, the intelligent television system transmits the monitoring video requested to be accessed by the static equipment to the dynamic equipment for display according to the determined second transmission bandwidth for transmitting the monitoring video to the dynamic equipment.
When a plurality of devices access the monitoring video, the video transmission bandwidth is dynamically allocated to each access device based on the bandwidth allocation weight of the static access device and the video playing frame rate and the operating state of the dynamic access device, the phenomenon that the display card is pause or even can not be displayed when the monitoring video is accessed is avoided, the user can know the monitoring picture through the access device in time, and the actual use experience of the user and the efficiency of monitoring and protecting the family environment of the user are improved.
Referring to fig. 5, in the present embodiment, in the step S30, the step of "detecting the video playback frame rate and the operation state of each dynamic device" may include:
step S301, acquiring device information of each dynamic device one by one, and extracting video playing frame rate of each dynamic device from each device information;
when the intelligent television system detects that a plurality of access instructions for the monitoring video triggered by the dynamic equipment are received in the wireless network to determine that the monitoring video is required to be accessed by the dynamic equipment currently, the intelligent television system detects and reads the equipment information of the dynamic equipment one by one, and accordingly the video playing frame rate of the dynamic equipment is extracted from the equipment information.
Specifically, for example, when a monitoring application is installed in advance on a dynamic device such as a smart phone or an iPad, the video playing frame rate of the dynamic device itself is detected and read, and the video playing frame rate and the dynamic device are stored correspondingly after an association relationship is established, so that after the smart television system receives an access instruction that one or more users respectively trigger to request to access the monitoring video based on the respective dynamic devices such as the smart phone or the iPad, the smart television system can directly detect and read the video playing frame rate of the smart phone or the iPad which is stored in advance by calling the 2-dynamic access video bandwidth module.
Step S302, respectively detecting the average value of the acceleration sensor and the screen display content of each dynamic device;
step S303, determining the operation state of each dynamic device according to the acceleration sensor mean value and the screen display content.
After or at the same time of detecting and reading the video playing frame rate of each dynamic device, the intelligent television system respectively detects the acceleration mean value of each dynamic device at the current moment and the screen display content of the front-end screen of each dynamic device, and then the intelligent television system sequentially determines the operating state of each dynamic device at the current moment based on the fluctuation amplitude of the acceleration mean value and whether the screen display content belongs to the picture in the monitored video.
Further, in one embodiment, the operating state of the dynamic device at the current time may include: a foreground running access state and a background running access state, and step S303 may include:
step S3031, detecting the fluctuation range of the mean value of the acceleration sensor;
step S3032, if the fluctuation range is greater than or equal to a preset range and the screen display content is a picture in the surveillance video, determining that the operation state of the dynamic device is a foreground operation access state.
Specifically, for example, the smart television system obtains the average value of the acceleration sensor detected by the acceleration sensor of each dynamic device and correspondingly stores the average value in a unit time of 1 minute by calling the 2-dynamic access video bandwidth module, the 2-dynamic access video bandwidth module further detects the magnitude of the fluctuation range of the acceleration sensor average value, if the detected fluctuation range of any one of the acceleration sensor average values is more than 1 percent and the environment picture in the monitoring video collected by the monitoring camera system is displayed in the front-end screen of the smart phone or the iPad associated with the acceleration sensor average value, the 2-dynamic access video bandwidth module determines that the current operating state of the smart phone or the iPad is the foreground operating access state, and setting a factor of a user operating the dynamic equipment, and cumulatively increasing the number of the dynamic equipment requesting to access the monitoring video for storage.
Step S3032, if the fluctuation amplitude is smaller than the preset amplitude and the screen display content is not a picture in the surveillance video, determining that the operation state of the dynamic device is a background running access state.
Specifically, for example, when the smart television system detects the magnitude of the fluctuation range of the acceleration sensor mean value by calling the 2-dynamic access video bandwidth module, and detects that the lower fluctuation range of any one of the acceleration sensor mean values is less than 1 percent, and an environment picture in the monitoring video collected by the monitoring camera system is not displayed in a front-end screen of the smart phone or the iPad associated with the acceleration sensor mean value, the 2-dynamic access video bandwidth module determines that the current operation state of the smart phone or the iPad is a background operation access state, and sets a factor that a user is not operating the dynamic device and abandons the cumulative increase of the number of the dynamic devices requesting to access the monitoring video.
In this embodiment, when detecting that a wireless network receives multiple access instructions to a surveillance video triggered by dynamic devices, the smart television system detects and reads device information of the dynamic devices one by one when determining that the dynamic devices currently need to access the surveillance video, so as to extract video playing frame rates of the dynamic devices from the device information; after or at the same time of detecting and reading the video playing frame rate of each dynamic device, the intelligent television system respectively detects the acceleration mean value of each dynamic device at the current moment and the screen display content of the front-end screen of each dynamic device, and then the intelligent television system sequentially determines the operating state of each dynamic device at the current moment based on the fluctuation amplitude of the acceleration mean value and whether the screen display content belongs to the picture in the monitored video.
The method and the device realize that the operating state of the terminal equipment in foreground operation or background operation when the request for accessing the monitoring video is initiated is determined by acquiring the video playing frame rate of the dynamic equipment which initiates the request for accessing the monitoring video, and the display picture output from the acceleration sensor mean value of the dynamic equipment and the front-end screen, so that the bandwidth for transmitting the requested monitoring video is dynamically allocated to the dynamic equipment according to the video playing frame rate and the operating state, the phenomenon that the display is blocked or even can not be displayed due to the fact that the bandwidth is occupied by mistake when the monitoring video is accessed is avoided, the fact that a user can timely know the monitoring picture through the access equipment is ensured, and the actual use experience of the user and the efficiency of monitoring and protecting the family environment of the user are improved.
Further, based on the first embodiment of the method for controlling a surveillance video transmission bandwidth of the present invention, a third embodiment of the method for controlling a surveillance video transmission bandwidth of the present invention is provided, in this embodiment, before "determining a second transmission bandwidth according to the video playback frame rate and the operation state" in the step S30, the method for controlling a surveillance video transmission bandwidth of the present invention may further include:
and step A, acquiring idle bandwidth in an idle state in a preset wireless network and reducing a preset proportion to obtain target idle bandwidth.
After the video playing frame rate of the dynamic device and the operation state of the dynamic device at the current moment are obtained, the intelligent television system preferentially subtracts a preset proportion from the idle bandwidth in the idle state in the wireless network accessed at the current moment and the bandwidth of a remote control command for transmitting the monitoring video in a reserved manner, and then takes the remaining idle bandwidth as a target idle bandwidth allocated to each dynamic device to transmit the monitoring video to each dynamic device.
It should be noted that, in this embodiment, the preset ratio may be specifically set to 1 percent of the total idle bandwidth, and it should be understood that, based on different design requirements of practical applications, in other embodiments, of course, the ratio may be reduced to be larger than the preset ratio or smaller than the preset ratio, and the control method for monitoring video transmission bandwidth of the present invention does not limit the specific size of the preset ratio.
Specifically, for example, the smart television system calls a 2-dynamic access video bandwidth module, from a wireless routing network to which the smart television system is currently connected, all idle bandwidths which are not subjected to data transmission and are in an idle state are cut by 1 percent, so as to reserve a bandwidth for transmitting a remote control command initiated by a user on the basis of the dynamic device to a surveillance camera system for acquiring a surveillance video, and then the remaining idle bandwidths after the 1 percent of idle bandwidths are cut are used as target idle bandwidths for subsequently allocating to each dynamic device to transmit the surveillance video to each dynamic device and storing the target idle bandwidths.
Further, in a possible embodiment, in the step S30, the determining the second transmission bandwidth according to the video playing frame rate and the operation status may include:
step S304, dividing the target idle bandwidth by the number of devices in each dynamic device, of which the operation state is a foreground operation access state, to obtain a standard access bandwidth of each dynamic device;
after calculating and obtaining the target idle bandwidth distributed to each dynamic device to transmit the monitoring video to each dynamic device, the intelligent television system further determines the number of devices of which the operation states are in the foreground operation access state in each dynamic device based on the operation states of each dynamic device at the current moment determined by detection, and then calculates and obtains the standard access bandwidth of each dynamic device by dividing the target idle bandwidth by the number of the devices.
Specifically, for example, the smart television system obtains the standard access bandwidth of each dynamic device currently requesting to access the surveillance video by calling the 2-dynamic access video bandwidth module to extract and calculate the saved target idle bandwidth and the number of the dynamic devices currently requesting to access the surveillance video because the current operating state is the foreground operating access state, and then dividing the target idle bandwidth by the number of the dynamic devices.
Step S305, determining a second transmission bandwidth corresponding to the monitoring video accessed by each of the dynamic devices according to the standard access bandwidth and the video playing frame rate of each of the dynamic devices.
The intelligent television system further extracts the bandwidth video frame rate of the standard access bandwidth after calculating the standard access bandwidth of each dynamic device based on the number of devices with target idle bandwidth and operating state as foreground operating access state, and then respectively determines the second transmission bandwidth for transmitting the monitoring video to each dynamic device based on the bandwidth video frame rate and the video playing frame rate of each dynamic device obtained by detection.
Further, in an embodiment, the step 305 may include:
step S3051, acquiring the bandwidth video frame rate of the standard access bandwidth, and detecting whether the bandwidth video frame rate is greater than the video playing frame rate of each dynamic device one by one;
step S3052, reducing the bandwidth video frame rate to a preset standard frame rate to obtain an intermediate frame rate, and overlapping the bandwidth video frame rate and the intermediate frame rate to obtain a first frame rate value;
step S3053, using the first frame rate value as a second transmission bandwidth corresponding to the dynamic device accessing the monitoring video;
it should be noted that, in this embodiment, the preset standard frame rate may specifically be 30 frames per second at 30Hz, and it should be understood that, based on different design requirements and differences between different dynamic devices in practical applications, in other embodiments, the preset standard frame rate may also be other values, and the control method for monitoring video transmission bandwidth of the present invention does not specifically limit the size of the preset standard frame rate.
The intelligent television system obtains a bandwidth video frame rate corresponding to the calculated standard access bandwidth, extracts the video playing frame rate of each dynamic device, sequentially compares and detects the bandwidth video frame rate and the video playing frame rate of each dynamic device, if the intelligent television system detects that the bandwidth video frame rate is greater than the video playing frame rate of a certain dynamic device, the intelligent television system reduces a preset standard frame rate by using the bandwidth video frame rate to obtain an intermediate frame rate, and then superposes the intermediate frame rate and the bandwidth video frame rate to obtain a first frame rate, so that the first frame rate is used as a second transmission bandwidth for transmitting the monitoring video requested to be accessed by the dynamic device to the dynamic device.
Specifically, for example, the smart television system calls the 2-dynamic access video bandwidth module to read the bandwidth video frame rate of the standard access bandwidth of each dynamic device stored in the memory, then detects the size between the bandwidth video frame rate and the video playing frame rate of each dynamic device one by one, if it is detected that the bandwidth video frame rate is greater than the video playing frame rate of the smart phone in each dynamic device, the 2-dynamic access video bandwidth module subtracts 30 frames per second from the standard frame rate of the smart phone playing video to obtain an intermediate frame rate, stores the intermediate frame rate, then the 2-dynamic access video bandwidth module further superimposes the bandwidth video frame rate and the obtained intermediate frame rate to obtain a first frame rate value, and finally, the 2-dynamic access video bandwidth module determines the first frame rate value as the second transmission frame rate for transmitting the monitoring video to the smart phone And the bandwidth is used for the smart television system to transmit the monitoring video to the smart phone for displaying according to the determined second transmission bandwidth by calling the 3-bandwidth dynamic adjustment effect module.
Step S3054, taking the bandwidth video frame rate as a second frame rate value, and taking the second frame rate value as a second transmission bandwidth corresponding to the dynamic device accessing the monitoring video.
If the intelligent television system detects that the bandwidth video frame rate is less than the video playing frame rate of a certain dynamic device, the intelligent television system directly uses the bandwidth video frame rate as a second transmission bandwidth for transmitting the monitoring video requested to be accessed by the dynamic device to the dynamic device.
Specifically, for example, if the smart television system detects that the bandwidth video frame rate is less than the video playing frame rate of the smart phone in each dynamic device by calling the 2-dynamic access video bandwidth module, the 2-dynamic access video bandwidth module directly determines the bandwidth video frame rate as a second transmission bandwidth for transmitting the surveillance video to the smart phone, so that the smart television system transmits the surveillance video to the smart phone for display by calling the 3-bandwidth dynamic adjustment effect module according to the determined second transmission bandwidth.
In this embodiment, after obtaining the video playing frame rate of the dynamic device itself and the operating state of the dynamic device at the current time, the smart television system preferentially subtracts a preset proportion from an idle bandwidth in an idle state in a wireless network accessed at the current time and a bandwidth reserved for transmitting a remote control command for a monitoring video, and then uses the remaining idle bandwidth as a target idle bandwidth allocated to each dynamic device to transmit the monitoring video to each dynamic device; further determining the number of devices of which the operation states are foreground operation access states in each dynamic device based on the operation states of each dynamic device at the current moment determined by detection, and then calculating to obtain the standard access bandwidth of each dynamic device by dividing the target idle bandwidth by the number of the devices; and extracting the bandwidth video frame rate of the standard access bandwidth, and respectively determining a second transmission bandwidth for transmitting the monitoring video to each dynamic device based on the bandwidth video frame rate and the detected video playing frame rate of each dynamic device, so as to transmit the monitoring video requested to be accessed by the dynamic device to the dynamic device for displaying according to the second transmission bandwidth.
The method and the device realize that when a user initiates a viewing access request aiming at the monitoring video by using the mobile dynamic device, based on the frame rate of the video played by the dynamic device and the current operating state of the dynamic device, the transmission bandwidth is dynamically allocated to the device to transmit the monitoring video, thereby avoiding the problem that the dynamic device still occupies the bandwidth for transmitting the monitoring video in the network under the condition that the playing frame rate of the dynamic device is low and/or the foreground does not execute the access process, further causing the insufficient transmission bandwidth of the monitoring video accessed by other access devices, and the video playing is blocked or even can not be played, ensuring that the user can timely learn the monitoring picture through the access device, and improving the practical use experience of the user and the efficiency of monitoring and protecting the family environment of the user.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a control program for monitoring a video transmission bandwidth is stored on the computer-readable storage medium, and when the control program for monitoring a video transmission bandwidth is executed by a processor, the steps of the method for controlling a video transmission bandwidth are implemented as described above.
The specific implementation of the computer-readable storage medium of the present invention may refer to the above embodiments of the method for controlling transmission bandwidth of a surveillance video, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a display terminal device (e.g., a television, a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A control method for monitoring video transmission bandwidth is characterized in that the control method for monitoring video transmission bandwidth comprises the following steps:
detecting a device type for accessing the monitoring video, wherein the device type at least comprises any one of static devices and dynamic devices;
if the static equipment is detected to access the monitoring video, acquiring bandwidth distribution weight of the static equipment, and determining a first transmission bandwidth according to the bandwidth distribution weight;
if the fact that each dynamic device accesses the monitoring video is detected, detecting the video playing frame rate and the operation state of each dynamic device, and determining a second transmission bandwidth according to the video playing frame rate and the operation state;
and transmitting the monitoring video to the static equipment for displaying according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for displaying according to the second transmission bandwidth.
2. The method of controlling a transmission bandwidth of a surveillance video according to claim 1, wherein the assigning of the weight to the bandwidth comprises: the method comprises the following steps of obtaining the bandwidth distribution weight of the static equipment if the static equipment is detected to access the monitoring video, wherein the steps comprise:
when an operation instruction of a monitoring application installed on the static equipment is received, determining that the static equipment accesses the monitoring video;
acquiring individual figure values in a monitoring environment corresponding to the monitoring video, and taking the individual figure values as the weight of the number of people;
and if the request state of the running instruction for the monitoring video meets the preset condition in a circulating mode, synchronously increasing the access times of the static equipment for accessing the monitoring video, and taking the access times as the access times weight.
3. The method of controlling transmission bandwidth of surveillance video according to claim 2, wherein the step of determining the first transmission bandwidth based on the bandwidth allocation weight comprises:
overlapping the people number weight and the access frequency weight to obtain a weight sum, and acquiring an idle bandwidth in an idle state in a preset wireless network;
and dividing the idle bandwidth by the weight sum to obtain a first transmission bandwidth of the static equipment for accessing the monitoring video.
4. The method for controlling transmission bandwidth of surveillance video according to claim 1, wherein the step of detecting the video playback frame rate and the operation status of each of the dynamic devices comprises:
acquiring the equipment information of each dynamic equipment one by one, and extracting the video playing frame rate of each dynamic equipment from each equipment information;
respectively detecting the average value of the acceleration sensor and the screen display content of each dynamic device;
and determining the operation state of each dynamic device according to the acceleration sensor mean value and the screen display content.
5. The method of controlling transmission bandwidth of surveillance video according to claim 4, characterized in that the operational state comprises: a foreground running access state and a background running access state,
the step of determining the operation state of each dynamic device according to the acceleration sensor mean value and the screen display content includes:
detecting the fluctuation amplitude of the mean value of the acceleration sensor;
if the fluctuation amplitude is larger than or equal to a preset amplitude and the screen display content is a picture in the monitoring video, determining that the operation state of the dynamic equipment is a foreground operation access state;
or if the fluctuation amplitude is smaller than the preset amplitude and the screen display content is not the picture in the monitoring video, determining that the operation state of the dynamic device is a background running access state.
6. The method for controlling transmission bandwidth of surveillance video according to claim 1, wherein before the step of determining a second transmission bandwidth according to the video playback frame rate and the operation status, further comprising:
and acquiring idle bandwidth in an idle state in a preset wireless network and reducing a preset proportion to obtain target idle bandwidth.
7. The method of controlling transmission bandwidth of surveillance video according to claim 6, wherein the step of determining a second transmission bandwidth based on the video playback frame rate and the operation status comprises:
dividing the target idle bandwidth by the number of devices in each dynamic device, of which the operation state is a foreground operation access state, to obtain a standard access bandwidth of each dynamic device;
and determining a second transmission bandwidth corresponding to the monitoring video accessed by each dynamic device according to the standard access bandwidth and the video playing frame rate of each dynamic device.
8. The method for controlling transmission bandwidth of surveillance video according to claim 7, wherein the step of determining, according to the standard access bandwidth and the video playback frame rate of each dynamic device, a second transmission bandwidth corresponding to the surveillance video accessed by each dynamic device comprises:
acquiring the bandwidth video frame rate of the standard access bandwidth, and detecting whether the bandwidth video frame rate is greater than the video playing frame rate of each dynamic device one by one;
if so, reducing the bandwidth video frame rate to a preset standard frame rate to obtain an intermediate frame rate, and overlapping the bandwidth video frame rate and the intermediate frame rate to obtain a first frame rate value;
taking the first frame rate value as a second transmission bandwidth corresponding to the dynamic device accessing the monitoring video;
if not, taking the bandwidth video frame rate as a second frame rate value, and taking the second frame rate value as a second transmission bandwidth corresponding to the dynamic device for accessing the monitoring video.
9. A terminal device, the terminal device comprising: a memory, a processor and a control program for monitoring video transmission bandwidth stored on the memory and operable on the processor, the control program for monitoring video transmission bandwidth implementing the steps of the method for controlling monitoring video transmission bandwidth as claimed in any one of claims 1 to 8 when executed by the processor.
10. A computer-readable storage medium, on which a control program of a monitoring video transmission bandwidth is stored, which when executed by a processor implements the steps of the control method of a monitoring video transmission bandwidth according to any one of claims 1 to 8.
CN202010764951.1A 2020-07-31 2020-07-31 Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium Active CN112333556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010764951.1A CN112333556B (en) 2020-07-31 2020-07-31 Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010764951.1A CN112333556B (en) 2020-07-31 2020-07-31 Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112333556A true CN112333556A (en) 2021-02-05
CN112333556B CN112333556B (en) 2024-03-12

Family

ID=74303645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010764951.1A Active CN112333556B (en) 2020-07-31 2020-07-31 Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112333556B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079355A (en) * 2021-03-29 2021-07-06 西安万像电子科技有限公司 Image transmission method and device, storage medium and electronic equipment
CN114007090A (en) * 2021-10-26 2022-02-01 深圳Tcl新技术有限公司 Video live broadcast establishing method and device, storage medium and electronic equipment
CN114095911A (en) * 2022-01-20 2022-02-25 深圳维特智能科技有限公司 NFC (near field communication) bandwidth adjusting method and device based on wireless network router
CN115460451A (en) * 2022-09-15 2022-12-09 浙江大华技术股份有限公司 Video playing method and device, storage medium and electronic device
CN116528375A (en) * 2023-06-28 2023-08-01 浙江大华技术股份有限公司 Bandwidth prediction method, bandwidth prediction device, and computer-readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140032781A1 (en) * 2012-07-27 2014-01-30 Centurylink Intellectual Property Llc System and method for determining optimal bandwidth for streaming to a client device in an adjustable bit rate video system
CN103747286A (en) * 2014-01-03 2014-04-23 上海聚力传媒技术有限公司 Method and equipment for providing videos
CN104967880A (en) * 2015-05-29 2015-10-07 董遂武 Method and equipment for uniformly distributing videos in wireless network
CN106792835A (en) * 2017-02-13 2017-05-31 上海斐讯数据通信技术有限公司 The control method and system of a kind of shared bandwidth of wireless device
US20170155596A1 (en) * 2015-11-26 2017-06-01 Le Holdings (Beijing) Co., Ltd. Method And Electronic Device For Bandwidth Allocation
WO2017113600A1 (en) * 2015-12-30 2017-07-06 深圳Tcl数字技术有限公司 Video playing method and device
CN107277618A (en) * 2017-08-03 2017-10-20 深圳Tcl数字技术有限公司 Television terminal and picture tonequality processing method and computer-readable recording medium
CN107592555A (en) * 2016-07-08 2018-01-16 北京信威通信技术股份有限公司 A kind of method, apparatus and system of dynamic access video data
CN108400956A (en) * 2017-02-07 2018-08-14 阿里巴巴集团控股有限公司 Distribution method, the device and system of video data stream

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140032781A1 (en) * 2012-07-27 2014-01-30 Centurylink Intellectual Property Llc System and method for determining optimal bandwidth for streaming to a client device in an adjustable bit rate video system
CN103747286A (en) * 2014-01-03 2014-04-23 上海聚力传媒技术有限公司 Method and equipment for providing videos
CN104967880A (en) * 2015-05-29 2015-10-07 董遂武 Method and equipment for uniformly distributing videos in wireless network
US20170155596A1 (en) * 2015-11-26 2017-06-01 Le Holdings (Beijing) Co., Ltd. Method And Electronic Device For Bandwidth Allocation
WO2017113600A1 (en) * 2015-12-30 2017-07-06 深圳Tcl数字技术有限公司 Video playing method and device
CN107592555A (en) * 2016-07-08 2018-01-16 北京信威通信技术股份有限公司 A kind of method, apparatus and system of dynamic access video data
CN108400956A (en) * 2017-02-07 2018-08-14 阿里巴巴集团控股有限公司 Distribution method, the device and system of video data stream
CN106792835A (en) * 2017-02-13 2017-05-31 上海斐讯数据通信技术有限公司 The control method and system of a kind of shared bandwidth of wireless device
CN107277618A (en) * 2017-08-03 2017-10-20 深圳Tcl数字技术有限公司 Television terminal and picture tonequality processing method and computer-readable recording medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079355A (en) * 2021-03-29 2021-07-06 西安万像电子科技有限公司 Image transmission method and device, storage medium and electronic equipment
CN114007090A (en) * 2021-10-26 2022-02-01 深圳Tcl新技术有限公司 Video live broadcast establishing method and device, storage medium and electronic equipment
CN114095911A (en) * 2022-01-20 2022-02-25 深圳维特智能科技有限公司 NFC (near field communication) bandwidth adjusting method and device based on wireless network router
CN115460451A (en) * 2022-09-15 2022-12-09 浙江大华技术股份有限公司 Video playing method and device, storage medium and electronic device
CN115460451B (en) * 2022-09-15 2024-04-26 浙江大华技术股份有限公司 Video playing method and device, storage medium and electronic device
CN116528375A (en) * 2023-06-28 2023-08-01 浙江大华技术股份有限公司 Bandwidth prediction method, bandwidth prediction device, and computer-readable storage medium
CN116528375B (en) * 2023-06-28 2023-09-29 浙江大华技术股份有限公司 Bandwidth prediction method, bandwidth prediction device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN112333556B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN112333556B (en) Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium
US10587761B2 (en) Information reminding method and apparatus, and electronic terminal
CN108966004B (en) Video processing method and terminal
RU2652452C2 (en) Device and method for network status information representation
CN110493756B (en) Screen projection method and 5G terminal
CN107908765B (en) Game resource processing method, mobile terminal and server
CN110224920B (en) Sharing method and terminal equipment
CN107908487B (en) Task control management method, device and equipment and computer readable storage medium
CN107948731B (en) Video stream merging method, server and computer-readable storage medium
CN108601048B (en) Flow control method and mobile terminal
EP2443559A2 (en) Apparatus and method for transmitting and receiving a user interface in a communication system
CN106843537A (en) The synchronous methods, devices and systems of mouse
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN112333502A (en) Intelligent television display method, intelligent television and computer readable storage medium
CN109275161B (en) Network distribution method and terminal equipment
CN114327846A (en) Cluster capacity expansion method and device, electronic equipment and computer readable storage medium
CN108391305B (en) WiFi hotspot selection method and terminal equipment
CN109348212B (en) Image noise determination method and terminal equipment
CN103685491A (en) Application service providing method, system and related equipment
CN110213597B (en) Method and device for entering live broadcast room through browser
CN114143590B (en) Video playing method, server and storage medium
US20130278397A1 (en) Remote control method and system and mobile device of the system
CN106375700A (en) Video transmission method and mobile terminal
CN113891441A (en) Network connection method and device and electronic equipment
US9479579B2 (en) Grouping processing method and system

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