CN110191315B - Monitoring and checking method and device based on video network - Google Patents

Monitoring and checking method and device based on video network Download PDF

Info

Publication number
CN110191315B
CN110191315B CN201910381782.0A CN201910381782A CN110191315B CN 110191315 B CN110191315 B CN 110191315B CN 201910381782 A CN201910381782 A CN 201910381782A CN 110191315 B CN110191315 B CN 110191315B
Authority
CN
China
Prior art keywords
monitoring
streaming media
user
media server
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910381782.0A
Other languages
Chinese (zh)
Other versions
CN110191315A (en
Inventor
江俊
吴乐乐
王晓燕
亓娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910381782.0A priority Critical patent/CN110191315B/en
Publication of CN110191315A publication Critical patent/CN110191315A/en
Application granted granted Critical
Publication of CN110191315B publication Critical patent/CN110191315B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Abstract

The embodiment of the application provides a monitoring and watching method and device based on a video network. The method comprises the following steps: the browser generates a monitoring calling request message according to the login information of the user and sends the monitoring calling request message to the database server; receiving a plurality of monitoring information corresponding to the user ID returned by the database server; sending a monitoring and checking request message to a streaming media server according to the monitoring and checking operation of a user, wherein the monitoring and checking request message carries M target monitoring IDs, a group ID corresponding to each target monitoring and an HLS streaming media file corresponding to each target monitoring; receiving a monitoring playing address list returned by a streaming media server, wherein the monitoring playing address list carries M monitoring playing addresses; and accessing the M monitoring playing addresses to play the M HLS streaming media files on the browser in a split screen manner. The user can check a plurality of monitors simultaneously through simple and convenient operation, need not to relate to equipment such as video networking terminal, has saved video networking resource.

Description

Monitoring and checking method and device based on video network
Technical Field
The application relates to the technical field of video networking, in particular to a monitoring and viewing method and device based on the video networking.
Background
With the rapid development of video networking, the prior art can realize multiple video networking services such as video conference, video monitoring, video telephone, publishing or watching live broadcast, and the like. Each video networking service can realize the unified scheduling and management of the service through the respective management platform. For the video monitoring service, the unified scheduling and management can be carried out on each monitoring terminal through the video networking monitoring networking management scheduling platform.
However, because the monitoring system of the PC end used by the user is independent of the video network monitoring, networking, managing and scheduling platform, the monitoring picture cannot be directly displayed through the monitoring system of the PC end, and moreover, when the two sides perform monitoring data interaction, the two sides often need to transfer through devices such as the video network terminal, which is not beneficial to the maximum utilization of resources.
Disclosure of Invention
In view of the above, embodiments of the present application are proposed to provide a method and apparatus for view-network-based monitoring viewing that overcome or at least partially address the above-mentioned problems.
In a first aspect, an embodiment of the present application discloses a monitoring and viewing method based on a video network, where the method includes:
the browser generates a monitoring calling request message according to login information of a user, and sends the monitoring calling request message to a database server, wherein the monitoring calling request carries a user ID;
receiving a plurality of HLS streaming media files corresponding to the user ID returned by the database server;
sending a monitoring and checking request message to a streaming media server according to the monitoring and checking operation of a user, wherein the monitoring and checking request message carries M target monitoring IDs, each target monitoring corresponding group ID and each target monitoring corresponding HLS streaming media file, and M is an integer greater than or equal to 1;
receiving a monitoring play address list returned by the streaming media server, wherein the monitoring play address list carries M monitoring play addresses;
and accessing the M monitoring playing addresses to play the M HLS streaming media files on the browser in a split screen mode.
Optionally, each monitoring play address in the M monitoring play addresses is generated by the streaming media server according to the target monitoring ID and the target monitoring corresponding group ID.
Optionally, after sending the monitoring view request message to the streaming media server, the method further includes: and sending a heartbeat instruction to the streaming media server according to a preset time interval, wherein the heartbeat instruction is used for triggering the streaming media server to return a heartbeat response.
Optionally, the method further comprises: and if the user stops playing the any path of HLS streaming media file, sending a viewing stopping instruction to the streaming media server, wherein the viewing stopping instruction is used for indicating the streaming media server to release a link corresponding to the virtual terminal of the streaming media server.
In a second aspect, an embodiment of the present application discloses a monitoring and viewing device based on a video network, including:
the system comprises a first message sending module, a first database server and a second message sending module, wherein the first message sending module is used for generating a monitoring calling request message according to login information of a user and sending the monitoring calling request message to the database server, and the monitoring calling request carries a user ID;
a first file receiving module, configured to receive multiple HLS streaming media files corresponding to the user ID returned by the database server;
the second message sending module is used for sending a monitoring and checking request message to the streaming media server according to the monitoring and checking operation of the user, wherein the monitoring and checking request message carries M target monitoring IDs, a group ID corresponding to each target monitoring and an HLS streaming media file corresponding to each target monitoring, and M is an integer greater than or equal to 1;
the second file receiving module is used for receiving the monitoring playing addresses returned by the streaming media server, wherein the monitoring playing address list carries M monitoring playing addresses;
and the playing module is used for accessing the M monitoring playing address lists so as to play the M HLS streaming media files on the browser in a split screen mode.
Optionally, each monitoring play address in the M monitoring play addresses is generated by the streaming media server according to the target monitoring ID and the target monitoring corresponding group ID.
Optionally, the second message sending module is further configured to: and sending a heartbeat instruction to the streaming media server according to a preset time interval, wherein the heartbeat instruction is used for triggering the streaming media server to return a heartbeat response.
Optionally, the second message sending module is further configured to: and if the user stops playing the any path of HLS streaming media file, sending a viewing stopping instruction to the streaming media server, wherein the viewing stopping instruction is used for indicating the streaming media server to release a link corresponding to the virtual terminal of the streaming media server.
In a third aspect, an embodiment of the present application further discloses a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the method of any one of the first aspect is implemented.
In a fourth aspect, an embodiment of the present application further discloses a computer-readable storage medium, where a computer program for executing any one of the methods in the first aspect is stored in the computer-readable storage medium.
According to the monitoring and checking method based on the video network, a monitoring and calling request message is generated through a browser according to login information of a user, the monitoring and calling request message is sent to a database server, and the monitoring and calling request carries a user ID; receiving a plurality of HLS streaming media files corresponding to the user ID returned by the database server; sending a monitoring and checking request message to a streaming media server according to the monitoring and checking operation of a user, wherein the monitoring and checking request message carries M target monitoring IDs, each target monitoring corresponding group ID and each target monitoring corresponding HLS streaming media file, and M is an integer greater than or equal to 1; receiving a monitoring play address list returned by the streaming media server, wherein the monitoring play address list carries M monitoring play addresses; and accessing the M monitoring playing addresses to play the M HLS streaming media files on the browser in a split screen mode. The method simplifies the monitoring and checking process based on the video network, and the user can check a plurality of monitors simultaneously through simple operation without involving devices such as video network terminals and the like, thereby saving video network resources.
Drawings
Fig. 1 is a schematic networking diagram of a video network provided in an embodiment of the present application;
fig. 2 is a schematic hardware structure diagram of a node server according to an embodiment of the present application;
fig. 3 is a schematic hardware structure diagram of an access switch according to an embodiment of the present application;
fig. 4 is a schematic hardware structure diagram of an ethernet protocol conversion gateway according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating steps of a method for monitoring and viewing based on a video network according to an embodiment of the present application;
FIG. 6 is a diagram illustrating an example of an embodiment of a method provided by an embodiment of the present application;
fig. 7 is a block diagram of a device provided in an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present application, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the internet of vision technology employs network Packet Switching to satisfy the demand of Streaming (translated into Streaming, and continuous broadcasting, which is a data transmission technology, converting received data into a stable and continuous stream, and continuously transmitting the stream, so that the sound heard by the user or the image seen by the user is very smooth, and the user can start browsing on the screen before the whole data is transmitted). The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (circled part), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present application can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204.
The network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module (downstream network interface module 301, upstream network interface module 302), the switching engine module 303, and the CPU module 304 are mainly included.
Wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) and obtaining the token generated by the code rate control module.
If the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 208 is configured by the CPU module 204, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the video networking destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 3 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (e.g. various protocol packets, multicast data packets, unicast data packets, etc.), there are at most 256 possibilities, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses.
The Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA).
The reserved byte consists of 2 bytes.
The payload part has different lengths according to types of different datagrams, and is 64 bytes if the type of the datagram is a variety of protocol packets, or is 1056 bytes if the type of the datagram is a unicast packet, but is not limited to the above 2 types.
The CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present application: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of a Label of Multi-Protocol Label switching (MPLS), and assuming that there are two connections between a device a and a device B, there are 2 labels for a packet from the device a to the device B, and 2 labels for a packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
The monitoring management platform is used for uniformly managing and scheduling a plurality of monitoring terminals accessed to the video network. Images of monitoring pictures collected by each monitoring terminal can be transmitted to other display equipment through the video network and displayed, so that real-time video monitoring of a certain position or a certain area is realized.
The collaboration server is a device access gateway that can centralize resources of multiple other devices, such as camera resources, onto the one server.
An HTTP Live Streaming (HLS) Protocol is designed for a Streaming media transmission interaction Protocol of HTTP (Hypertext Transfer Protocol), the HLS Protocol supports automatic code rate adaptation, and a Web server provides near-real-time audio and video streams to a communication terminal in the HLS technology. When a Web browser (client) connects to a server and requests a file, the server will process the request and feed the file back to the browser, with the accompanying information telling the browser how to view the file (i.e., the file type). The server communicates information with the client browser using HTTP (hypertext transfer protocol). Currently, in order to deal with the difference of the network states of the clients in the HLS streaming architecture, the HLS server generates streaming media streams with different broadband requirements, so that the clients can adaptively select the streaming media streams.
Fig. 5 illustrates a monitoring and viewing method based on a video network according to an embodiment of the present application, where the monitoring and viewing method may include the following steps:
step 501: the browser generates a monitoring call request message according to the login information of the user, and sends the monitoring call request message to the database server, wherein the monitoring call request carries the user ID.
Step 502: and receiving a plurality of HLS streaming media files corresponding to the user ID returned by the database server.
Step 503: and sending a monitoring and viewing request message to a streaming media server according to the monitoring and viewing operation of a user, wherein the monitoring and viewing request message carries M target monitoring IDs, each target monitoring corresponding group ID and each target monitoring corresponding HLS streaming media file, and M is an integer greater than or equal to 1.
Step 504: and receiving a monitoring play address list returned by the streaming media server, wherein the monitoring play address list carries M monitoring play addresses.
Step 505: and accessing the M monitoring playing addresses to play the M HLS streaming media files on the browser in a split screen mode.
In a possible implementation manner, each monitoring play address in the M monitoring play addresses is generated by the streaming media server according to the target monitoring ID and the target monitoring corresponding group ID.
In step 503, the method further comprises: and sending a heartbeat instruction to the streaming media server according to a preset time interval, wherein the heartbeat instruction is used for triggering the streaming media server to return a heartbeat response.
In a possible implementation manner, if the user stops playing the any one path of HLS streaming media file, sending a viewing stopping instruction to the streaming media server, where the viewing stopping instruction is used to instruct the streaming media server to release a link corresponding to the virtual terminal of the streaming media server.
In order to more clearly illustrate the monitoring and viewing method based on the video network provided by the embodiment of the present application, an example is now provided based on fig. 6. The user takes calling of part of the user name of the user to be monitored as a target, and the browser sends a request to the database server by clicking a browser function button so as to call the monitoring data HLS streaming media file corresponding to the ID. And further, the monitoring and monitoring related information of the target selected by the user is sent to the streaming media server, the streaming media server splices the playing address according to the related information and returns the playing address to the browser, and the browser checks the monitoring and plays the information in a split screen mode through accessing the address.
Step 601: and (4) logging in by the user.
Step 602: the browser generates a monitoring call request message according to the login information of the user, and sends the monitoring call request message to the database server, wherein the monitoring call request carries the user ID.
Step 603: and the database server calls a plurality of HLS streaming media files corresponding to the user ID according to the received monitoring call request message.
Step 604: and the database server returns a plurality of HLS streaming media files corresponding to the user ID to the browser.
Step 605: the user selects to view 9 target monitors of a certain monitoring area.
Step 606: and the browser sends a monitoring and viewing request message to the streaming media server according to the monitoring and viewing operation of the user, wherein the monitoring and viewing request message carries the 9 target monitoring IDs, the group ID corresponding to each target monitoring and the HLS streaming media file corresponding to each target monitoring.
Step 607: and the streaming media server splices the playing address of each target monitor according to each target monitor ID and each group ID corresponding to the target monitor respectively to obtain 9 playing addresses of the target monitor.
Step 608: and the streaming media server returns the 9 playing addresses to the browser.
Step 609: and the browser accesses the 9 monitoring playing addresses to play the 9-path HLS streaming media files in a split screen mode.
In summary, according to the monitoring and viewing method based on the video network provided by the embodiment of the application, a monitoring and calling request message is generated by a browser according to login information of a user, and the monitoring and calling request message is sent to a database server, wherein the monitoring and calling request carries a user ID; receiving a plurality of HLS streaming media files corresponding to the user ID returned by the database server; sending a monitoring and checking request message to a streaming media server according to the monitoring and checking operation of a user, wherein the monitoring and checking request message carries M target monitoring IDs, each target monitoring corresponding group ID and each target monitoring corresponding HLS streaming media file, and M is an integer greater than or equal to 1; receiving a monitoring play address list returned by the streaming media server, wherein the monitoring play address list carries M monitoring play addresses; and accessing the M monitoring play address lists to play the M HLS streaming media files on the browser in a split screen mode. The method simplifies the monitoring and checking process based on the video network, and the user can check a plurality of monitors simultaneously through simple operation without involving devices such as video network terminals and the like, thereby saving video network resources.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Based on the same technical concept, referring to fig. 7, a structural block diagram of a monitoring and viewing device based on a video network according to an embodiment of the present application is shown, where the device may be applied to a video network, and specifically may include the following modules:
the first message sending module 701 is configured to generate a monitoring invocation request message according to login information of a user, and send the monitoring invocation request message to a database server, where the monitoring invocation request carries a user ID.
A first file receiving module 702, configured to receive multiple HLS streaming media files corresponding to the user ID returned by the database server.
The second message sending module 703 is configured to send a monitoring and viewing request message to the streaming media server according to a monitoring and viewing operation of a user, where the monitoring and viewing request message carries M target monitoring IDs, a group ID corresponding to each target monitoring, and an HLS streaming media file corresponding to each target monitoring, and M is an integer greater than or equal to 1.
A second file receiving module 704, configured to receive a monitoring play address list returned by the streaming media server, where the monitoring play address list carries M monitoring play addresses.
A playing module 705, configured to access the M monitoring playing addresses, so as to play the M-way HLS streaming media files on the browser in a split-screen manner.
In a possible implementation manner, each monitoring play address in the M monitoring play addresses is generated by the streaming media server according to the target monitoring ID and the target monitoring corresponding group ID.
In a possible implementation, the second message sending module is further configured to: and sending a heartbeat instruction to the streaming media server according to a preset time interval, wherein the heartbeat instruction is used for triggering the streaming media server to return a heartbeat response.
In a possible implementation, the second message sending module is further configured to: and if the user stops playing the any path of HLS streaming media file, sending a viewing stopping instruction to the streaming media server, wherein the viewing stopping instruction is used for indicating the streaming media server to release a link corresponding to the virtual terminal of the streaming media server.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The monitoring and watching method and device based on the video network are provided by the application. The detailed description is given, and the principle and the implementation of the present application are explained by applying specific examples, and the above description of the embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (6)

1. A monitoring and viewing method based on a video network is characterized by comprising the following steps:
the browser generates a monitoring calling request message according to login information of a user, and sends the monitoring calling request message to a database server, wherein the monitoring calling request carries a user ID;
receiving a plurality of HLS streaming media files corresponding to the user ID returned by the database server;
sending a monitoring and checking request message to a streaming media server according to the monitoring and checking operation of a user, wherein the monitoring and checking request message carries M target monitoring IDs, each target monitoring corresponding group ID and each target monitoring corresponding HLS streaming media file, and M is an integer greater than or equal to 1;
receiving a monitoring play address list returned by the streaming media server, wherein the monitoring play address list carries M monitoring play addresses, and each monitoring play address in the M monitoring play addresses is generated by splicing the streaming media server according to the target monitoring ID and the group ID corresponding to the target monitoring;
accessing the M monitoring playing addresses to play the M HLS streaming media files on the browser in a split screen manner;
the method further comprises the following steps:
and if the user stops playing any path of HLS streaming media file, sending a viewing stopping instruction to the streaming media server, wherein the viewing stopping instruction is used for indicating the streaming media server to release a link corresponding to the virtual terminal of the streaming media server.
2. The method of claim 1, wherein after sending the monitoring view request message to the streaming media server, the method further comprises:
and sending a heartbeat instruction to the streaming media server according to a preset time interval, wherein the heartbeat instruction is used for triggering the streaming media server to return a heartbeat response.
3. A monitoring viewing apparatus based on a video network, the apparatus comprising:
the system comprises a first message sending module, a first database server and a second message sending module, wherein the first message sending module is used for generating a monitoring calling request message according to login information of a user and sending the monitoring calling request message to the database server, and the monitoring calling request carries a user ID;
a first file receiving module, configured to receive multiple HLS streaming media files corresponding to the user ID returned by the database server;
the second message sending module is used for sending a monitoring and checking request message to the streaming media server according to the monitoring and checking operation of the user, wherein the monitoring and checking request message carries M target monitoring IDs, a group ID corresponding to each target monitoring and an HLS streaming media file corresponding to each target monitoring, and M is an integer greater than or equal to 1;
a second file receiving module, configured to receive a monitoring play address list returned by the streaming media server, where the monitoring play address list carries M monitoring play addresses, and each monitoring play address in the M monitoring play addresses is generated by splicing the streaming media server according to the target monitoring ID and the group ID corresponding to the target monitoring;
the playing module is used for accessing the M monitoring playing addresses so as to play the M-path HLS streaming media files on the browser in a split screen manner;
the second message sending module is further configured to:
and if the user stops playing any path of HLS streaming media file, sending a viewing stopping instruction to the streaming media server, wherein the viewing stopping instruction is used for indicating the streaming media server to release a link corresponding to the virtual terminal of the streaming media server.
4. The apparatus of claim 3, wherein the second messaging module is further configured to:
and sending a heartbeat instruction to the streaming media server according to a preset time interval, wherein the heartbeat instruction is used for triggering the streaming media server to return a heartbeat response.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 2 when executing the computer program.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 2.
CN201910381782.0A 2019-05-08 2019-05-08 Monitoring and checking method and device based on video network Active CN110191315B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910381782.0A CN110191315B (en) 2019-05-08 2019-05-08 Monitoring and checking method and device based on video network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910381782.0A CN110191315B (en) 2019-05-08 2019-05-08 Monitoring and checking method and device based on video network

Publications (2)

Publication Number Publication Date
CN110191315A CN110191315A (en) 2019-08-30
CN110191315B true CN110191315B (en) 2021-03-05

Family

ID=67714292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910381782.0A Active CN110191315B (en) 2019-05-08 2019-05-08 Monitoring and checking method and device based on video network

Country Status (1)

Country Link
CN (1) CN110191315B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037790B (en) * 2019-12-09 2023-05-16 北京中关村科金技术有限公司 File processing method, device and storage medium
WO2021217318A1 (en) * 2020-04-26 2021-11-04 华为技术有限公司 Method and apparatus for adjusting streaming media parameter dynamic adaptive network
CN113285911A (en) * 2020-12-28 2021-08-20 常熟昊虞电子信息科技有限公司 Method and device for safely calling monitoring data and cloud server
CN117376534A (en) * 2023-12-07 2024-01-09 江西云眼视界科技股份有限公司 Intelligent device data acquisition system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030047343A (en) * 2001-12-10 2003-06-18 삼우정보기술 주식회사 System for watch and management using internet
CN101677397B (en) * 2008-09-19 2012-01-04 中兴通讯股份有限公司 Method for checking monitoring media through videoconference terminal and videoconference terminal
CN103096037B (en) * 2013-01-17 2015-11-18 无锡乾煜信息技术有限公司 The network optimization system of video monitoring platform
CN103716656B (en) * 2013-12-11 2018-08-03 乐视网信息技术(北京)股份有限公司 A kind of video loading method and electronic equipment
CN103945259B (en) * 2014-03-31 2017-12-01 Tcl集团股份有限公司 A kind of Online Video player method and device
CN104618418B (en) * 2014-07-09 2019-09-10 腾讯科技(北京)有限公司 Play the method and device of multimedia file
CN107979760A (en) * 2016-10-21 2018-05-01 北京视联动力国际信息技术有限公司 The inspection method and device of a kind of live video
CN107979736A (en) * 2016-10-21 2018-05-01 北京视联动力国际信息技术有限公司 The inspection method and device of a kind of video conference
CN106998441B (en) * 2017-05-04 2019-09-17 深圳市茁壮网络股份有限公司 Method, system and the Homed system for supporting camera video data multiplex to broadcast
CN108880851B (en) * 2017-11-07 2022-02-25 视联动力信息技术股份有限公司 Configuration updating method and interaction system
CN109660756A (en) * 2018-11-16 2019-04-19 视联动力信息技术股份有限公司 A kind of monitoring inspection method and device based on view networking
CN109525460B (en) * 2018-11-26 2020-10-13 视联动力信息技术股份有限公司 Method and device for monitoring number resources of video network

Also Published As

Publication number Publication date
CN110191315A (en) 2019-08-30

Similar Documents

Publication Publication Date Title
CN109167960B (en) Method and system for processing video stream data
CN110191315B (en) Monitoring and checking method and device based on video network
CN111193788A (en) Audio and video stream load balancing method and device
CN109309806B (en) Video conference management method and system
CN109120879B (en) Video conference processing method and system
CN110475090B (en) Conference control method and system
CN110190973B (en) Online state detection method and device
CN109547728B (en) Recorded broadcast source conference entering and conference recorded broadcast method and system
CN109842519B (en) Method and device for previewing video stream
CN109379254B (en) Network connection detection method and system based on video conference
CN110049273B (en) Video networking-based conference recording method and transfer server
CN109743550B (en) Method and device for monitoring data flow regulation
CN109246135B (en) Method and system for acquiring streaming media data
CN109218306B (en) Audio and video data stream processing method and system
CN110049280B (en) Method and device for processing monitoring data
CN109802952B (en) Monitoring data synchronization method and device
CN109005378B (en) Video conference processing method and system
CN110519549B (en) Conference terminal list obtaining method and system
CN110417792B (en) Communication method, system, gateway device and storage medium
CN111654659A (en) Conference control method and device
CN110798450B (en) Audio and video data processing method and device and storage medium
CN110536148B (en) Live broadcasting method and equipment based on video networking
CN109450995B (en) Method and system for acquiring server data
CN110493311B (en) Service processing method and device
CN110557594B (en) Video call processing method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant