CN112333556B - 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 PDFInfo
- Publication number
- CN112333556B CN112333556B CN202010764951.1A CN202010764951A CN112333556B CN 112333556 B CN112333556 B CN 112333556B CN 202010764951 A CN202010764951 A CN 202010764951A CN 112333556 B CN112333556 B CN 112333556B
- Authority
- CN
- China
- Prior art keywords
- video
- bandwidth
- frame rate
- monitoring video
- access
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/63—Control 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/647—Control 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/64723—Monitoring of network processes or resources, e.g. monitoring of network load
- H04N21/64738—Monitoring network characteristics, e.g. bandwidth, congestion level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2402—Monitoring of the downstream path of the transmission network, e.g. bandwidth available
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2405—Monitoring of the internal components or processes of the server, e.g. server load
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a control method for monitoring video transmission bandwidth, which comprises the steps of detecting the type of equipment accessing to a 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, bandwidth allocation weight of the static equipment is obtained, and a first transmission bandwidth is determined according to the bandwidth allocation weight; if the monitoring video is detected to be accessed by each dynamic device, 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 display according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for display 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 a user knows the monitoring picture in time and improve the monitoring protection efficiency.
Description
Technical Field
The invention belongs to the technical field of intelligent door locks, and particularly relates to a control method for monitoring video transmission bandwidth, terminal equipment and a computer readable storage medium.
Background
The intelligent home is developed well, and the rapid development of the internet of things technology enables the life of people to be full of technological sense. At present, based on the continuous improvement of people's safety consciousness, people usually set up monitoring equipment in the home environment. However, when a user accesses a real-time monitoring video collected by the monitoring device based on static terminal devices such as a television device and a doorbell which are fixedly installed in a home environment and/or dynamic terminal devices such as a portable smart phone and an iPad (an intelligent product designed and released by apple corporation), the phenomenon that the picture of the monitoring video is blocked or even cannot be displayed often exists due to the limitation of video transmission bandwidth in the home environment, so that the user cannot learn the real-time condition of the home environment, and the monitoring protection efficiency of the monitoring device for the home environment of people is low.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a control method for monitoring video transmission bandwidth, which aims to solve the technical problems that a user is difficult to know a real-time monitoring picture and monitoring protection efficiency is low because picture transmission of the existing monitoring video is blocked or even cannot be displayed.
In order to achieve the above object, the present invention provides a control method for monitoring video transmission bandwidth, the control method for monitoring video transmission bandwidth comprising the steps of:
detecting a device type for accessing the monitoring video, wherein the device type at least comprises any one of static device and dynamic device;
if the static device is detected to access the monitoring video, acquiring bandwidth allocation weight of the static device, and determining a first transmission bandwidth according to the bandwidth allocation weight;
if each dynamic device is detected to access the monitoring video, 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 display according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for display according to the second transmission bandwidth.
Optionally, the bandwidth allocation weight includes: the step of acquiring the bandwidth allocation weight of the static device if the static device is detected to access the monitoring video comprises the following steps:
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 number weight;
if the running instruction is circularly detected to meet the preset condition aiming at the request state of the monitoring video, 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 the first transmission bandwidth according to the bandwidth allocation weight includes:
superposing the number of people 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;
dividing the idle bandwidth by the weight and obtaining a first transmission bandwidth of the static device for accessing the monitoring video.
Optionally, the step of detecting the video playing frame rate and the operation state of each dynamic device includes:
acquiring equipment information of each dynamic equipment one by one, and extracting video playing frame rate of each dynamic equipment from the 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 average value of the acceleration sensor and the screen display content.
Optionally, the operating state includes: 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 average value of the acceleration sensor and the screen display content comprises the following steps:
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 range is smaller than the preset range and the screen display content is not the picture in the monitoring video, determining that the operation state of the dynamic equipment is a background operation 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 the preset wireless network and reducing the preset proportion to obtain a target idle bandwidth.
Optionally, the step of determining the 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 which the operation state in each dynamic device is a foreground operation access state, so as 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 play frame rate of each dynamic device.
Optionally, the step of determining, according to the standard access bandwidth and the video play frame rate of each dynamic device, a second transmission bandwidth corresponding to the monitoring video accessed by each dynamic device includes:
acquiring the bandwidth video frame rate of the standard access bandwidth, and detecting whether the bandwidth video frame rate is larger than the video playing frame rate of each dynamic device one by one;
If yes, reducing the bandwidth video frame rate by a preset standard frame rate to obtain an intermediate frame rate, and superposing 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 monitoring video accessed by the dynamic equipment;
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 monitoring video accessed by the dynamic equipment.
In addition, to achieve the above object, the present invention also provides a terminal device including: the method comprises the steps of a memory, a processor and a control program of the monitoring video transmission bandwidth, wherein the control program of the monitoring video transmission bandwidth is stored in the memory and can run on the processor, and the control program of the monitoring video transmission bandwidth is executed by the processor to realize the control method of the monitoring video transmission bandwidth.
In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, wherein a control program for monitoring video transmission bandwidth is stored on the computer readable storage medium, and the control program for monitoring video transmission bandwidth realizes the steps of the control method for monitoring video transmission bandwidth as described above when being executed by a processor.
The embodiment of the invention provides a control method, terminal equipment and a computer readable storage medium for monitoring video transmission bandwidth, which are used for detecting the equipment type of a monitoring video, wherein the equipment type at least comprises any one of static equipment and dynamic equipment; if the static device is detected to access the monitoring video, acquiring bandwidth allocation weight of the static device, and determining a first transmission bandwidth according to the bandwidth allocation weight; if each dynamic device is detected to access the monitoring video, 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 display according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for display 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 monitoring video is blocked or even can not be displayed when the monitoring video is accessed is avoided, the user is ensured to be able to acquire the monitoring picture through the access device in time, and the actual use experience of the user and the monitoring and protecting efficiency for the user family environment are improved.
Drawings
FIG. 1 is a schematic diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an embodiment of a control method for monitoring video transmission bandwidth according to the present invention;
fig. 3 is a schematic diagram of a refinement flow of step S10 in an embodiment of a control method for monitoring video transmission bandwidth according to the present invention;
fig. 4 is a detailed flowchart of step S20 in an embodiment of a control method for monitoring video transmission bandwidth according to the present invention;
fig. 5 is a schematic diagram of a refinement flow of step S30 in an embodiment of a control method for monitoring video transmission bandwidth 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 achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are: detecting the type of equipment for accessing the monitoring video, wherein the type of equipment at least comprises any one of static equipment and dynamic equipment; if the static device is detected to access the monitoring video, acquiring bandwidth allocation weight of the static device, and determining a first transmission bandwidth according to the bandwidth allocation weight; if each dynamic device is detected to access the monitoring video, 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 display according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for display according to the second transmission bandwidth.
Because the user is based on static terminal equipment such as television equipment and doorbell which are fixedly installed in a home environment and/or dynamic terminal equipment such as a portable smart phone and iPad (an intelligent product designed and released by apple company), when accessing real-time monitoring video acquired by the monitoring equipment, the phenomenon that the picture transmission of the monitoring video is blocked or even cannot be displayed often exists based on the limitation of 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, which 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 because the picture transmission of the existing monitoring video is blocked or even can not be displayed; 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 monitoring video is blocked or even can not be displayed when the monitoring video is accessed is avoided, the user is ensured to be able to acquire the monitoring picture through the access device in time, and the actual use experience of the user and the monitoring and protecting efficiency for the user family environment are improved.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal device structure of a hardware running environment according to an embodiment of the present invention.
The terminal device of the embodiment of the invention can also be display terminal devices with display functions, such as a PC, a smart phone, a tablet personal computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 3) player, a portable computer and 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 the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include an input unit such as a Keyboard (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 stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the terminal device structure shown in fig. 1 is not limiting of the terminal device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a control program for monitoring video transmission bandwidth may be included in a memory 1005 as one type of computer storage medium.
In the terminal device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server, and performing data communication with the background 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 device and dynamic device;
if the static device is detected to access the monitoring video, acquiring bandwidth allocation weight of the static device, and determining a first transmission bandwidth according to the bandwidth allocation weight;
If each dynamic device is detected to access the monitoring video, 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 display according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for display according to the second transmission bandwidth.
Further, the bandwidth allocation weight includes: the population weight and access number weight, 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:
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 number weight;
if the running instruction is circularly detected to meet the preset condition aiming at the request state of the monitoring video, 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:
superposing the number of people 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;
dividing the idle bandwidth by the weight and obtaining a first transmission bandwidth of the static device 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 equipment information of each dynamic equipment one by one, and extracting video playing frame rate of each dynamic equipment from the 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 average value of the acceleration sensor and the screen display content.
Further, the operating state includes: the foreground running access state and the background running access state, 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:
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 range is smaller than the preset range and the screen display content is not the picture in the monitoring video, determining that the operation state of the dynamic equipment is a background operation access state.
Further, the processor 1001 may be configured to invoke a control program for monitoring a video transmission bandwidth stored in the memory 1005, and before executing the determination of the second transmission bandwidth according to the video play frame rate and the operation state, further execute the following operations:
and acquiring idle bandwidth in an idle state in the preset wireless network and reducing the preset proportion to obtain a 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 which the operation state in each dynamic device is a foreground operation access state, so as 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 play 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 larger than the video playing frame rate of each dynamic device one by one;
if yes, reducing the bandwidth video frame rate by a preset standard frame rate to obtain an intermediate frame rate, and superposing 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 monitoring video accessed by the dynamic equipment;
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 monitoring video accessed by the dynamic equipment.
Based on the above hardware structure, the method embodiment of the present invention is presented.
Referring to fig. 2, in a first embodiment of a control method for monitoring video transmission bandwidth of the present invention, the control method for monitoring video transmission bandwidth includes:
Step S10, 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;
based on a preset intelligent television system, detecting whether an access instruction for accessing the monitoring video is received in a wireless network connected with the intelligent television system, and determining whether the device currently accessing the monitoring video by the user is static or dynamic according to trigger equipment of the access instruction.
It should be noted that, in this embodiment, the preset smart tv 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, and it should be understood that, based on actual application requirements of different application systems, other systems having the same hardware modules as those shown in this embodiment may be adopted, and the control method of the monitoring video transmission bandwidth of the present invention is not limited to the specific type of the system used and the specific hardware modules included in the system.
In addition, in this embodiment, an arbitrary monitoring camera system with a video monitoring function is also connected to a wireless network (such as a wireless routing network) connected to the smart television system, where the monitoring camera system can be used to collect environmental images of a user's home, office, etc. in real time for monitoring protection, and when receiving an access request for monitoring video transmitted in the connected wireless network, the monitoring camera system outputs the collected environmental images based on the access request in real time.
In addition, in this embodiment, the static device is a device that is fixedly installed and is connected to a wireless network where the monitoring camera system is located, and can access to a monitoring video collected in real time by the monitoring camera system for monitoring protection so as to display the video picture, for example, an intelligent doorbell, an intelligent television, and the like; the dynamic equipment is mobile equipment which is carried by a user and is connected with a wireless network where the monitoring camera system is located through an external network, such as mobile terminal equipment of a smart phone, an iPad and the like. It should be understood that, based on the actual application requirements of different application systems, other static devices or dynamic devices different from those listed in this embodiment may be adopted, and the control method of the monitoring video transmission bandwidth of the present invention does not limit the types and numbers of the static devices and the dynamic devices.
Step S20, if the access of the static equipment to the monitoring video is detected, obtaining bandwidth allocation weight of the static equipment, and determining a first transmission bandwidth according to the bandwidth allocation weight;
the intelligent television system detects whether an access instruction to the monitoring video triggered by the static device is received in the wireless network or not to determine whether the static device accesses the monitoring video currently, if so, the intelligent television system immediately acquires the bandwidth allocation weight of the static device for the transmission bandwidth of the monitoring video, and when the static device requests to access the monitoring video based on the preset algorithm calculation, the first transmission bandwidth of the monitoring video is transmitted to the static device.
Specifically, for example, when the intelligent television system detects that an access instruction for a monitoring video is triggered by a user based on a static fixed intelligent doorbell in a connected wireless network, the intelligent doorbell is determined to be currently accessing the monitoring video, so that the intelligent television system immediately detects and acquires a bandwidth allocation weight of the intelligent doorbell for the transmission bandwidth of the monitoring video by calling a 1-static fixed access video bandwidth module, and then the intelligent television system calculates the number of people weight and the access frequency weight in the bandwidth allocation weight through a preset algorithm so as to determine a first transmission bandwidth of the monitoring video requested to be accessed by the static equipment for transmission to the static equipment.
Further, referring to fig. 3, in one possible embodiment, the bandwidth allocation weights of the static device include: the step S20 of "if the static device accesses the monitoring video, the step S may further include:
step S201, when an operation instruction of a monitoring application installed on the static device is received, determining that the static device accesses the monitoring video;
In this embodiment, the user may install, on the static device, a monitoring application corresponding to the monitoring camera system in the wireless network to which the static device is connected in advance, so as to perform operations such as video access and parameter setting on the monitoring camera system.
Specifically, for example, in a monitoring application pre-installed on a static fixed installed intelligent doorbell, a user may click a corresponding instruction control to trigger an operation instruction for accessing and viewing a monitoring video collected by a monitoring camera system for monitoring protection in an accessed wireless network and transmit the operation instruction to the accessed wireless network, so that when the intelligent television system detects that the operation instruction is transmitted in the wireless network, it is determined that a source device of the operation instruction, namely the intelligent doorbell, currently needs to access the monitoring video.
Step S202, acquiring individual figure values in a monitoring environment corresponding to the monitoring video, and taking the individual figure values as the number weight;
and the intelligent television system immediately acquires the individual figure value of the person existing in the monitoring environment of the monitoring camera system for collecting the monitoring video after determining that the static equipment accesses the monitoring video, and then takes the individual figure value as the weight of the person in the bandwidth allocation weight of the static equipment.
Specifically, for example, the intelligent television system creates a monitored environmental figure number statistical mode by calling a 1-static fixed access video bandwidth module, sends a command for searching the number of family members to an intelligent television device connected in a connected wireless network, acquires the number of the figures in the current environment through a camera by the intelligent television device, feeds back the number of the figures as a figure individual value to the intelligent television system, and the intelligent television system uses the received figure individual value as the number weight in the bandwidth allocation weight for determining the size of the transmission bandwidth of the static device access monitoring video.
Further, in another possible embodiment, in order to ensure that the personal number obtained by the smart television system is accurate, when a command for searching the number of family members is sent to the smart television device, the smart television system may also send the same command for searching the number of family members to a somatosensory sensor connected to the wireless network synchronously, so that the smart television system also obtains the number of people detected and fed back by the somatosensory sensor, subtracts the number of people detected by the somatosensory sensor from the number of people fed back by the smart television device, and if the result is equal to 0, determines that the number of people fed back by the smart television device is the number of people in the bandwidth allocation weight, or if the result is not equal to 0, determines that the number of people detected by the somatosensory sensor is the number of people in the bandwidth allocation weight.
Step S203, if it is circularly detected that the request state of the operation instruction for the monitoring video meets a preset condition, the access times of the static device for accessing the monitoring video are synchronously increased, and the access times are used as access times weights.
The intelligent television system is connected into the wireless network according to the detection of the preset time period cycle, a user judges whether the request state of the monitoring video meets the preset condition based on the operation instruction triggered by the monitoring application, if the operation instruction meets the preset condition in the detection project of one cycle, the intelligent television system immediately increases the access times of one static device for requesting to access the monitoring video, and then synchronizes the access times as the access times weight in the bandwidth allocation weight for determining the transmission bandwidth size of the static device for accessing the monitoring video.
It should be noted that, in this embodiment, the preset time period may be specifically 1 minute, and it should be understood that, based on the actual application requirements of different application systems, other time periods different from those listed in this embodiment may be adopted, and the control method of the monitoring video transmission bandwidth of the present invention does not limit specific numerical values of the preset time period. In addition, in this embodiment, the preset conditions may specifically be: the user clicks the video picture collected by one video camera of the corresponding monitoring camera system based on the monitoring application, and the time of staying on the operation interface of the monitoring application is more than 1 minute, and it should be understood that, based on the actual application requirements of different application systems, other preset conditions different from those listed in the embodiment can be adopted, and the control method of the monitoring video transmission bandwidth of the present invention does not limit the specific content of the preset conditions.
Specifically, for example, the intelligent television system creates a user click monitoring video behavior statistical mode by calling a 1-static fixed access video bandwidth module, reads the number of detected people in the current environment by the 1-static fixed access video bandwidth module, detects that the user clicks a video picture collected and monitored by one video camera of a corresponding monitoring camera system based on a monitoring application every 1 minute, continuously stays on the monitoring application running interface, superimposes 1 on the access times of the user clicking the monitoring application to request to access the monitoring video, and synchronously uses the access times as the access times weight in the bandwidth allocation weight for determining the transmission bandwidth size of the monitoring video accessed by the static equipment.
It should be noted that, in this embodiment, the 1-static fixed access video bandwidth module may detect, during a process that a loop detection user clicks a video screen based on a monitoring application to request access to the monitoring video, whether the user continuously stays on the monitoring application operation interface to superimpose the access times by clicking an application energy button based on a front end visual interface of the monitoring application, or may detect, during a process that the user inputs an access instruction based on a voice call, whether the user continuously stays on the monitoring application operation interface to superimpose the access times.
Further, referring to fig. 4, in a possible embodiment, in the step S20, the step of determining the first transmission bandwidth according to the bandwidth allocation weight may include:
step S204, superposing the number of people weight and the access times 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 tv system is connected, and a monitoring camera system for monitoring and protecting by using a camera to collect an environmental image is also connected to the wireless network, for example, the wireless network may be a wireless routing network in a home or office environment where a user is located, and the user has previously connected to the smart tv 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 be adopted, and the control method of the monitoring video transmission bandwidth of the present invention is not limited to the specific type of the preset wireless network, the accessed application system, the terminal device, and the like.
After obtaining the bandwidth distribution weight-number of people weight and access times weight of static equipment aiming at the monitoring video transmission bandwidth, the intelligent television system superimposes the number of people weight and the access times weight to obtain a weight sum, and then the intelligent television system synchronously obtains the idle bandwidth in an idle state in the accessed wireless network.
Specifically, for example, the smart television system superimposes the number of people weight and the access number of times weight obtained in advance by calling the 1-static fixed access video bandwidth module to obtain a weight sum, and synchronizes idle bandwidths which are in an idle state and are not subjected to data transmission in the wireless routing network accessed by the current smart television system.
Step S205, dividing the idle bandwidth by the weight and obtaining a first transmission bandwidth of the static device for accessing the monitoring video.
The intelligent television system divides the obtained idle bandwidth by the weight sum obtained by overlapping the number of people weight and the access times weight according to a preconfigured algorithm, and the calculated 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 call the 1-static fixed access video bandwidth module to obtain, according to an algorithm configured by manual input in advance, all idle bandwidths which are not subjected to data transmission and are in an idle state in the current accessed wireless routing network, dividing the idle bandwidths by the weight obtained by overlapping the number of people weight and the access times weight, and obtaining a calculation result, and then the 1-static fixed access video bandwidth module uses 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.
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 when the static device requests to access the monitoring 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 by calculation, the smart television system may directly use the first transmission bandwidth to transmit the monitoring video requested to access by the static device to the static device.
Step S30, if each dynamic device is detected to access the monitoring video, 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;
it should be noted that, in this embodiment, the user may 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, an iPad, and the like, in addition to an access instruction to the monitoring video triggered by the static device that is fixedly installed, so as to view an environmental picture in the monitoring video. When a user initiates an access request for a monitoring video through a dynamic device, the user can trigger an access instruction for the monitoring video directly based on a monitoring application pre-installed on the dynamic device and transmit the access instruction to a wireless network where a monitoring camera system for collecting the monitoring video is located based on an external network (such as a mobile network).
The intelligent television system detects whether an access instruction to the monitoring video triggered by the dynamic device is received in the wireless network or not to determine whether the dynamic device accesses the monitoring video currently, if yes (namely, the access instruction is received to determine that the dynamic device accesses the monitoring video currently), the intelligent television system immediately detects the video playing frame rate of the dynamic device and the operation state of the dynamic device at the current moment, then the intelligent television system determines the number of the dynamic devices accessing the monitoring video at the current moment and the idle bandwidth of the intelligent television system in the idle state 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 the second transmission bandwidth of the monitoring video to be transmitted to the dynamic device when the dynamic device requests to access the monitoring video.
It should be noted that, in this embodiment, when the monitoring application is installed on the dynamic device in advance, that is, the video playing frame rate of the dynamic device itself is detected and read, and the association relationship between the video playing frame rate and the dynamic device is established and then the video playing frame rate is correspondingly stored, so that after receiving the access instruction triggered based on the dynamic device, the smart television system can directly detect and read the video playing frame rate of the prestored dynamic device; or after receiving the access instruction triggered by the dynamic device, the intelligent television system can determine the model and other information of the dynamic device according to the device identifier carried in the access instruction, and then detect and acquire the video playing frame rate of the dynamic device from the pre-connected data platform.
Specifically, for example, when detecting that an access instruction for a monitoring video is triggered by a mobile smart phone based on a user in a connected wireless network, the smart television system determines that the smart phone is currently accessing the monitoring video, so that the smart television system instantly 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 smart phone for requesting access to the monitoring video at the current moment, the 2-dynamic access video bandwidth module further determines the number of smart phones (or smart phones+smart ipads) initiating access requests for the monitoring video at the current moment based on whether the operation state is in a foreground or not, and synchronously calculates a standard access bandwidth of each smart phone with the operation state in the foreground by using an idle bandwidth in the wireless network currently accessed by the smart television system, so that when determining that the smart phone requests access to the monitoring video, based on the bandwidth video playing frame rate of the standard access bandwidth and the video playing frame rate of each smart phone, the second transmission bandwidth of the monitoring video is transmitted to the smart phone.
And step S40, transmitting the monitoring video to the static equipment for display according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for display according to the second transmission bandwidth.
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 after detecting that the user accesses the monitoring video based on the static equipment and determining that the static equipment requests to access the monitoring video and transmitting the first transmission bandwidth of the monitoring video to the static equipment; or after the intelligent television system detects that the user accesses the monitoring video based on the dynamic device and determines that the dynamic device requests to access the monitoring video, the intelligent television system transmits the monitoring video requested to be accessed by the dynamic device to the dynamic device for display according to the second transmission bandwidth after transmitting the second transmission bandwidth of the monitoring video to the dynamic device.
Specifically, for example, after the intelligent television system calculates the number of people weight and the access 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 accessed by the static device to the static device, the intelligent television system transmits the monitoring video to the static device for display according to the determined first transmission bandwidth by calling a 3-bandwidth dynamic adjustment effect module; or the intelligent television system detects the video playing frame rate of the intelligent mobile phone which dynamically initiates an access request to access the monitoring video based on the read user base by calling the 2-dynamic access video bandwidth module, and simultaneously detects the operation state of the intelligent mobile phone for requesting to access the monitoring video at the current moment, when the intelligent mobile phone is determined to obtain the request of the intelligent mobile phone to access the monitoring video, the intelligent television system transmits a second transmission bandwidth of the monitoring video to the intelligent mobile phone, and then the intelligent television system transmits the monitoring video to the intelligent mobile phone for display according to the determined second transmission bandwidth by calling the 3-bandwidth dynamic adjustment effect module.
In this embodiment, based on a preset intelligent television system, whether an access instruction for accessing a monitoring video is received in a wireless network connected with the intelligent television system is detected, and whether a device currently accessing the monitoring video by a user is a static device or a dynamic device is determined according to a trigger device of the access instruction; the intelligent television system detects that an access instruction to the monitoring video triggered based on the static equipment is received in the wireless network, when the current access of the static equipment to the monitoring video is determined, the bandwidth allocation weight of the static equipment for the transmission bandwidth of the monitoring video is obtained immediately, and when the request of the static equipment to access the monitoring video is determined based on the calculation of a preset algorithm, the first transmission bandwidth of the monitoring video is transmitted to the static equipment; or the intelligent television system detects that an access instruction to the monitoring video triggered by the dynamic device is received in the wireless network, so that when the dynamic device is determined to access the monitoring video currently, the video playing frame rate of the dynamic device and the operation state of the dynamic device at the current moment are detected immediately, then the number of the dynamic devices accessing the monitoring video at the current moment and the idle bandwidth of the intelligent television system in the idle state in the wireless network are determined based on the operation state, and 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, when the dynamic device requests to access the monitoring video, the second transmission bandwidth of the monitoring video is transmitted to the dynamic device; and when the intelligent television system detects 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 static equipment for display according to the determined first transmission bandwidth for transmitting the monitoring video to the static equipment, or 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 operation state of the dynamic access device, so that the phenomenon that the monitoring video is blocked or even can not be displayed when the monitoring video is accessed is avoided, the user can timely acquire the monitoring picture through the access device, and the actual use experience of the user and the monitoring protection efficiency for the user home environment are improved.
Based on the above-mentioned first embodiment of the control method for monitoring video transmission bandwidth of the present invention, referring to fig. 5, in this embodiment, the step of "detecting the video play frame rate and the operation state of each of the dynamic devices" in the above-mentioned step S30 may include:
step 301, equipment information of each dynamic equipment is obtained one by one, and video playing frame rate of each dynamic equipment is extracted from the equipment information;
the intelligent television system receives a plurality of access instructions to the monitoring video based on dynamic equipment triggering in the wireless network to determine that the plurality of dynamic equipment need to access the monitoring video currently, and detects and reads the equipment information of each of the plurality of dynamic equipment one by one, so that the video playing frame rate of each of the plurality of dynamic equipment is extracted from the equipment information.
Specifically, for example, when a monitoring application is installed on a dynamic device such as a smart phone or an iPad in advance, namely, the video playing frame rate of the dynamic device is detected and read, and the video playing frame rate and the dynamic device are correspondingly stored after an association relationship is established, so that after receiving an access instruction that one or more users trigger to request to access a monitoring video based on the respective smart phone or the dynamic device such as the iPad, the smart television system can directly detect and read the video playing frame rate of the pre-stored smart phone or iPad by calling a 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 average value of the acceleration sensor and the screen display content.
After or while detecting and reading the video playing frame rate of each dynamic device, the intelligent television system respectively detects the average value of the acceleration of each dynamic device at the current moment and the screen display content of the front screen of each dynamic device, and then, based on the fluctuation amplitude of the average value of the acceleration and whether the screen display content belongs to the picture in the monitoring video, the intelligent television system sequentially determines the operation state of each dynamic device at the current moment.
Further, in one embodiment, the operating state of the dynamic device at the current time may include: the foreground operation access state and the background operation access state, step S303 may include:
step S3031, detecting the fluctuation amplitude of the mean value of the acceleration sensor;
step S3032, if the fluctuation range is greater than or equal to the preset range and the screen display content is a picture in the monitoring video, determining that the operation state of the dynamic device is a foreground operation access state.
Specifically, for example, the smart television system acquires the average value of the acceleration sensor detected by the acceleration sensor of each smart phone or iPad and the like of each dynamic device within 1 minute unit time by calling the 2-dynamic access video bandwidth module, then the 2-dynamic access video bandwidth module further detects the up-and-down fluctuation amplitude of the average value of the acceleration sensor, if the up-and-down fluctuation amplitude of any one of the average values of the acceleration sensor is detected to be more than 1 percent, and the environmental picture in the monitoring video acquired by the monitoring camera system is displayed in the front-end screen of the smart phone or iPad associated with the average value of the acceleration sensor, the 2-dynamic access video bandwidth module determines the current operation state of the smart phone or iPad as the foreground operation access state, sets the factor of a user operating the dynamic device, and increases the number of the dynamic devices requesting to access the monitoring video in an accumulated manner.
Step S3032, if the fluctuation range is smaller than the preset range 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 operation access state.
Specifically, for example, if the smart tv system detects that the fluctuation width of the average value of the acceleration sensor is less than 1 percent when the 2-dynamic access video bandwidth module is called, and the smart phone or the iPad front end screen associated with the average value of the acceleration sensor does not display an environmental picture in the monitoring video acquired by the monitoring camera system, the 2-dynamic access video bandwidth module determines that the current operating state of the smart phone or the iPad is a background running access state, and sets a factor that a user is not operating the dynamic device and gives up to increase the number of dynamic devices requesting to access the monitoring video.
In this embodiment, when a plurality of access instructions to a monitoring video triggered based on a dynamic device are received in a wireless network through an intelligent television system to determine that the plurality of dynamic devices currently need to access the monitoring video, device information of each of the plurality of dynamic devices is detected and read one by one, so that video play frame rates of each of the plurality of dynamic devices are extracted from the device information; after or while detecting and reading the video playing frame rate of each dynamic device, the intelligent television system respectively detects the average value of the acceleration of each dynamic device at the current moment and the screen display content of the front screen of each dynamic device, and then, based on the fluctuation amplitude of the average value of the acceleration and whether the screen display content belongs to the picture in the monitoring video, the intelligent television system sequentially determines the operation state of each dynamic device at the current moment.
The method and the device have the advantages that the video play frame rate of the dynamic device for initiating the access monitoring video request is obtained, the operation state of foreground operation or background operation of the terminal device when the access monitoring video request is initiated is determined based on the average value of the acceleration sensor of the dynamic device and the display picture output in the front-end screen, so that the bandwidth for transmitting the requested monitoring video is dynamically allocated to the dynamic device according to the video play frame rate and the operation state, the phenomenon that display is blocked or even cannot be displayed due to the fact that the bandwidth is occupied by errors when the monitoring video is accessed is avoided, the user can acquire the monitoring picture through the access device timely, and the actual use experience of the user and the efficiency for monitoring and protecting the user home environment are improved.
Further, based on the first embodiment of the control method for monitoring video transmission bandwidth of the present invention, a third embodiment of the control method for monitoring video transmission bandwidth of the present invention is provided, in this embodiment, in the step S30, before "determining the second transmission bandwidth according to the video playing frame rate and the operation state", the control method for monitoring 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 a target idle bandwidth.
The intelligent television system obtains the video playing frame rate of the dynamic equipment, and after the operation state of the dynamic equipment at the current moment, 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 takes the rest idle bandwidth as the target idle bandwidth distributed to each dynamic equipment to transmit the monitoring video to each dynamic equipment after reserving the bandwidth for transmitting the remote control command for the monitoring video.
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, it is of course possible to cut the ratio larger or smaller than the ratio in other embodiments, and the control method of the 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 invokes the 2-dynamic access video bandwidth module, and then cuts the idle bandwidth by 1 percent from the idle bandwidth which is not transmitted by data and is in an idle state in the wireless routing network accessed by the current smart television system, so as to reserve the bandwidth for transmitting the remote control command initiated by the user to the monitoring camera system for collecting the monitoring video based on the dynamic device, and then uses the idle bandwidth left after the 1 percent reduction as the target idle bandwidth which is subsequently allocated to each dynamic device to transmit the monitoring video to each dynamic device and stores the target idle bandwidth.
Further, in a possible embodiment, in the above step S30, "determining the second transmission bandwidth according to the video playing frame rate and the operation state" may include:
step S304, dividing the target idle bandwidth by the number of devices in each dynamic device, wherein the operation state of the devices is a foreground operation access state, so as to obtain a standard access bandwidth of each dynamic device;
after the intelligent television system calculates the target idle bandwidth allocated to each dynamic device to transmit the monitoring video to each dynamic device, the intelligent television system further determines the number of devices with the operation state of the foreground operation access state in each dynamic device based on the operation state of each dynamic device at the current moment, and then divides the target idle bandwidth by the number of the devices to calculate the standard access bandwidth of each dynamic device.
Specifically, for example, the smart television system extracts, by calling the 2-dynamic access video bandwidth module, a target idle bandwidth stored in the computing module, and the number of dynamic devices that are requesting access to the monitoring video when the current operation state is the foreground operation access state, and then divides the target idle bandwidth by the number of the dynamic devices to obtain the respective standard access bandwidths of each dynamic device that is currently requesting access to the monitoring video.
Step S305, determining, according to the standard access bandwidth and the video play frame rate of each dynamic device, a second transmission bandwidth corresponding to the monitoring video accessed by each dynamic device.
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 target idle bandwidth and the number of devices in the foreground operation 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 detected video play frame rate of each dynamic device.
Further, in one embodiment, the step 305 may include:
step 3051, obtaining 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, the bandwidth video frame rate is reduced by a preset standard frame rate to obtain an intermediate frame rate, and the bandwidth video frame rate and the intermediate frame rate are overlapped to obtain a first frame rate value;
step 3053, using the first frame rate value as a second transmission bandwidth corresponding to the access of the monitoring video by the dynamic device;
It should be noted that, in this embodiment, the preset standard frame rate may be specifically 30Hz and 30 frames per second, and it should be understood that, based on different design needs and differences of different dynamic devices in practical applications, in other embodiments, the preset standard frame rate may be any other value, and the control method of the monitoring video transmission bandwidth of the present invention does not specifically limit the size of the preset standard frame rate.
The intelligent television system acquires the 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 size between 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 larger than the video playing frame rate of a certain dynamic device, the intelligent television system cuts down the preset standard frame rate by using the bandwidth video frame rate to obtain an intermediate frame rate, and then stacks 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 reads the bandwidth video frame rate of the standard access bandwidth of each dynamic device stored in the memory by calling the 2-dynamic access video bandwidth module, then detects the size between the bandwidth video frame rate and the video play frame rate of each dynamic device one by one, if the bandwidth video frame rate is detected to be greater than the video play frame rate of each dynamic device, the 2-dynamic access video bandwidth module uses the bandwidth video frame rate to subtract the standard frame rate of the video play of the smart phone by 30 Hz/s to obtain an intermediate frame rate for storage, then the 2-dynamic access video bandwidth module further superimposes the bandwidth video frame rate with the obtained intermediate frame rate to calculate to obtain a first frame rate value, and finally the 2-dynamic access video bandwidth module determines the first frame rate as a second transmission bandwidth for transmitting the monitoring video to the smart phone, so that the smart television system transmits the monitoring video to the smart phone for display according to the determined second transmission bandwidth by calling the 3-bandwidth dynamic adjustment effect module.
And 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 monitoring video accessed by the dynamic equipment.
If the intelligent television system detects that the bandwidth video frame rate is smaller 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 smaller 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 monitoring video to the smart phone, so that the smart television system can transmit the monitoring video to the smart phone for display according to the determined second transmission bandwidth by calling the 3-bandwidth dynamic adjustment effect module.
In this embodiment, after obtaining the video playing frame rate of the dynamic device itself and the operation state of the dynamic device at the current moment, the smart 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 reserves the bandwidth for transmitting the remote control command for the monitoring video, and then uses the remaining idle bandwidth as the target idle bandwidth allocated to each dynamic device to transmit the monitoring video to each dynamic device; the number of the devices with the operation states of the foreground operation access states in the dynamic devices is further determined based on the operation states of the dynamic devices at the current moment, and then the standard access bandwidth of the dynamic devices is calculated 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 then 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 play 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 display according to the second transmission bandwidth.
When a user initiates a viewing access request for a monitoring video by using a mobile dynamic device, the transmission bandwidth is dynamically allocated to the device to transmit the monitoring video based on the frame rate of the video played by the dynamic device and the current operation state of the dynamic device, so that the problem that the bandwidth of the monitoring video transmitted by the dynamic device is still occupied when the frame rate of the dynamic device is low and/or a foreground does not execute an access process, and further the transmission bandwidth of other access devices for accessing the monitoring video is insufficient, video playing is blocked or even cannot be played is solved, the user can timely acquire the monitoring picture through the access device, and the actual use experience of the user and the efficiency of monitoring and protecting the user home environment are improved.
In addition, the embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a control program of the monitoring video transmission bandwidth, and the control program of the monitoring video transmission bandwidth realizes the steps of the control method of the monitoring video transmission bandwidth when being executed by a processor.
The specific embodiments of the computer readable storage medium of the present invention may refer to the embodiments of the control method for monitoring video transmission bandwidth, and are not described herein.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a display terminal device (which may be a television, a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (8)
1. The control method of the monitoring video transmission bandwidth is characterized by comprising the following steps of:
detecting a device type for accessing the monitoring video, wherein the device type at least comprises any one of static device and dynamic device;
if the static device is detected to access the monitoring video, acquiring bandwidth allocation weight of the static device, and determining a first transmission bandwidth according to the bandwidth allocation weight;
if each dynamic device is detected to access the monitoring video, 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;
transmitting the monitoring video to the static equipment for display according to the first transmission bandwidth, or transmitting the monitoring video to each dynamic equipment for display according to the second transmission bandwidth;
The step of detecting the video playing frame rate and the operation state of each dynamic device comprises the following steps:
acquiring equipment information of each dynamic equipment one by one, and extracting video playing frame rate of each dynamic equipment from the equipment information;
respectively detecting the average value of the acceleration sensor and the screen display content of each dynamic device;
determining the operation state of each dynamic device according to the average value of the acceleration sensor and the screen display content;
the operating state includes: 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 average value of the acceleration sensor and the screen display content comprises the following steps:
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 range is smaller than the preset range and the screen display content is not the picture in the monitoring video, determining that the operation state of the dynamic equipment is a background operation access state.
2. The method for controlling a transmission bandwidth of a surveillance video according to claim 1, wherein the bandwidth allocation weight includes: the step of acquiring the bandwidth allocation weight of the static device if the static device is detected to access the monitoring video comprises the following steps:
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 number weight;
if the running instruction is circularly detected to meet the preset condition aiming at the request state of the monitoring video, 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 for controlling a transmission bandwidth of a surveillance video according to claim 2, wherein the step of determining the first transmission bandwidth according to the bandwidth allocation weight comprises:
superposing the number of people 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;
Dividing the idle bandwidth by the weight and obtaining a first transmission bandwidth of the static device for accessing the monitoring video.
4. The method of claim 1, further comprising, prior to the step of determining a second transmission bandwidth based on the video playback frame rate and the operating state:
and acquiring idle bandwidth in an idle state in the preset wireless network and reducing the preset proportion to obtain a target idle bandwidth.
5. The method of claim 4, wherein the step of determining a second transmission bandwidth based on the video playback frame rate and the operating state comprises:
dividing the target idle bandwidth by the number of devices in which the operation state in each dynamic device is a foreground operation access state, so as 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 play frame rate of each dynamic device.
6. The method for controlling a transmission bandwidth of a surveillance video according to claim 5, wherein the step of determining the second transmission bandwidth corresponding to the surveillance video for each of the dynamic devices according to the standard access bandwidth and the video play frame rate of each of the dynamic devices comprises:
Acquiring the bandwidth video frame rate of the standard access bandwidth, and detecting whether the bandwidth video frame rate is larger than the video playing frame rate of each dynamic device one by one;
if yes, reducing the bandwidth video frame rate by a preset standard frame rate to obtain an intermediate frame rate, and superposing 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 monitoring video accessed by the dynamic equipment;
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 monitoring video accessed by the dynamic equipment.
7. A terminal device, the terminal device comprising: a memory, a processor and a control program for monitoring video transmission bandwidth stored in the memory and executable on the processor, the control program for monitoring video transmission bandwidth implementing the steps of the control method for monitoring video transmission bandwidth according to any one of claims 1 to 6 when executed by the processor.
8. A computer-readable storage medium, wherein a control program of a surveillance video transmission bandwidth is stored on the computer-readable storage medium, and the control program of the surveillance video transmission bandwidth, when executed by a processor, implements the steps of the control method of the surveillance video transmission bandwidth according to any one of claims 1 to 6.
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 CN112333556A (en) | 2021-02-05 |
CN112333556B true 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) |
Families Citing this family (7)
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 |
CN114007090B (en) * | 2021-10-26 | 2024-06-04 | 深圳Tcl新技术有限公司 | Video live broadcast establishing method and device, storage medium and electronic equipment |
CN114095911B (en) * | 2022-01-20 | 2022-05-03 | 深圳维特智能科技有限公司 | NFC (near field communication) bandwidth adjusting method and device based on wireless network router |
CN115460451B (en) * | 2022-09-15 | 2024-04-26 | 浙江大华技术股份有限公司 | Video playing method and device, storage medium and electronic device |
CN116528375B (en) * | 2023-06-28 | 2023-09-29 | 浙江大华技术股份有限公司 | Bandwidth prediction method, bandwidth prediction device, and computer-readable storage medium |
CN117742652B (en) * | 2023-12-27 | 2024-07-23 | 国创芯科技(江苏)有限公司 | Memory bandwidth optimization device and method based on dynamic window statistics |
CN119052467B (en) * | 2024-11-01 | 2025-01-28 | 深圳市迪威泰实业有限公司 | Image acquisition method, device and storage medium based on multiple cameras |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9276967B2 (en) * | 2012-07-27 | 2016-03-01 | Centurylink Intellectual Property Llc | System and method for determining optimal bandwidth for streaming to a client device in an adjustable bit rate video system |
CN105898383A (en) * | 2015-11-26 | 2016-08-24 | 乐视云计算有限公司 | Bandwidth allocation method and system |
-
2020
- 2020-07-31 CN CN202010764951.1A patent/CN112333556B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN112333556A (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112333556B (en) | Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium | |
CN110049324B (en) | Video encoding method, system, device, and computer-readable storage medium | |
US10587761B2 (en) | Information reminding method and apparatus, and electronic terminal | |
JP6668357B2 (en) | Method and device for displaying content on the same screen and terminal device | |
RU2652452C2 (en) | Device and method for network status information representation | |
CN113117326B (en) | Frame rate control method and device | |
JP2010508734A (en) | An architecture for delivering video content in response to remote interaction | |
CN109889602B (en) | Resource acquisition frequency adjusting method, device, system and storage medium | |
CN111093094A (en) | Video transcoding method, device and system, electronic equipment and readable storage medium | |
EP2827597B1 (en) | Adaptive content delivery | |
CN114189700A (en) | Method, device, computer equipment and storage medium for prompting live broadcast freeze | |
CN113128693A (en) | Information processing method, device, equipment and storage medium | |
CN104754277A (en) | Information processing equipment and information processing method | |
CN115914539A (en) | Method and system for scheduling resources of audio and video equipment | |
CN107450952A (en) | Application control method, device, storage medium and electronic equipment | |
CN113377253A (en) | Icon adjusting method, server and system | |
US20160308983A1 (en) | Information processing method and service platform | |
CN111835481B (en) | Uplink transmission method, terminal and network equipment | |
CN114143590B (en) | Video playing method, server and storage medium | |
CN110166191A (en) | A kind of determination method and device of the monitoring information of search space | |
CN118573623A (en) | Data transmission method and device, electronic equipment and storage medium | |
CN112256432A (en) | Service overload processing method and device, electronic equipment and storage medium | |
CN114172873B (en) | Resolution adjustment method, resolution adjustment device, server and computer readable storage medium | |
CN109275161A (en) | Network distribution method, terminal device | |
CN112637680A (en) | Display frame rate processing control method, device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |