Webpage-based remote multimedia monitoring method and system

A multimedia and multimedia playback technology, applied in the transmission system, electrical components, etc., can solve the problems of large data volume, high network bandwidth and server hardware configuration requirements, and achieve the effect of reducing monitoring costs and improving convenience

Inactive Publication Date: 2012-07-11
CHINA DIGITAL VIDEO BEIJING
8 Cites 15 Cited by

AI-Extracted Technical Summary

Problems solved by technology

Although the invention realizes effective monitoring of monitoring points and improves the utilization efficiency of personnel, due to the relatively large amount of data to be transmitted, additiona...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention discloses a webpage-based remote multimedia monitoring method and a system. The method comprises the following steps: a task queue is established by a monitoring server side and a monitoring request command is sent to a remote multimedia playing side at regular time, and the multimedia playing side acquires the current monitoring information according to the monitoring request command and passes back the acquired monitoring information to the monitoring server side; then the monitoring server side receives and buffers the monitoring information sent by the remote multimedia playing side; and finally, a monitoring client side utilizes the ajax (Asynchronous JavaScript And XML(Extensive Makeup Language)) technology to acquire and monitor the monitoring information under a monitoring catalogue through locally refreshing at regular time. Due to the method and the system in the invention, the monitoring client side can access an internet directly, a user can utilize the ajax technology to acquire the newest monitoring information automatically at regular time by logging in a monitoring system, so that the monitoring cost is lowered, and the monitoring convenience is improved.

Application Domain

Technology Topic

Image

  • Webpage-based remote multimedia monitoring method and system
  • Webpage-based remote multimedia monitoring method and system
  • Webpage-based remote multimedia monitoring method and system

Examples

  • Experimental program(1)

Example Embodiment

[0020] The core idea of ​​the present invention is: first, the monitoring server establishes an initial task queue by reading the remote multimedia player equipment deployment information in the database, and sends monitoring request commands to the remote multimedia player regularly; then, the remote multimedia player monitors Request commands to collect and return the current monitoring information; the monitoring server receives and caches the monitoring information sent back by the remote multimedia player; finally, the monitoring client uses ajax technology to periodically refresh the monitoring information on the monitoring server. The method of the present invention can achieve a more effective and convenient real-time video monitoring under the condition that the bandwidth occupation can be minimized.
[0021] The present invention will be further described in detail below with reference to the drawings and specific implementations of the specification.
[0022] figure 1 Shows a structural block diagram of a web-based remote multimedia monitoring system in a specific embodiment of the present invention. As shown in the figure, the system includes:
[0023] The monitoring client 11 is used to regularly obtain the latest monitoring information using ajax technology;
[0024] ajax stands for "Asynchronous JavaScript and XML" (asynchronous JavaScript and XML), which refers to a web development technology for creating interactive web applications. Ajax applications can only send and retrieve necessary data to the server, so the server and browser are The data exchanged between clients is greatly reduced, and you can see applications that are more responsive. At the same time, a lot of processing can be done on the client machine that makes the request, so the processing time of the Web server is also reduced. Among them, ajax is the most eye-catching technology called "yellow hiding", which turns the user interface into yellow before the data is updated, and restores the original color immediately after the update. The biggest advantage of using ajax is Can maintain data without updating the entire page. This allows Web applications to respond more quickly to user actions and avoid sending unaltered information on the network.
[0025] The monitoring client 11 includes a login management module 111 for checking user monitoring authority, a status acquisition module for acquiring the latest device status information, and a status refresh module 112 for refreshing the interface display status information.
[0026] The monitoring server 12 is used to generate monitoring tasks and receive and buffer monitoring information sent by the remote multimedia player;
[0027] The monitoring server 12 includes a rights management module 121 for controlling user login rights and remote multimedia player devices that can be monitored by the user, a monitoring task module 122 for generating and sending monitoring tasks, and receiving and buffering the remote client to send back The monitoring information processing module 123 of the monitoring information and the web service module 124 for receiving the monitoring client's request for obtaining monitoring information and sending the monitoring information to the monitoring client.
[0028] The present invention realizes the communication between the monitoring client and the remote multimedia player through the monitoring server, image 3 It shows the working flow chart of the monitoring server in the specific embodiment of the present invention. As shown in the figure, the monitoring server receives the monitoring information returned by the remote multimedia player on the one hand, and caches the screenshot picture information in the monitoring directory. The device status information is cached in the memory, and the previous state screenshots are cleared by checking the monitoring directory of the screenshots. The screenshots of the mac address of the same node are only kept up to date; on the other hand, the monitoring server side establishes tasks Queue and send monitoring commands to the remote multimedia player to finally obtain monitoring information.
[0029] Among them, the mac (Medium/Media Access Control) address, or mac address, hardware address, is used to define the location of the network device. Each network location will have its own mac address. The mac address is burned in the NetworkInterfaceCard (NIC) and is composed of 48-bit long (6 bytes) and hexadecimal numbers. Bits 0-23 are called organizationally unique identifiers (organizationally unique, which are used to identify LAN ( Local area network) node identification. The corresponding monitoring device can be found through the mac address information of the device node.
[0030] The remote multimedia player 13 is used to obtain monitoring information commands from the monitoring server, and to collect and return monitoring information.
[0031] The remote multimedia player 13 includes a communication module 131 for the communication connection between the remote multimedia player and the monitoring server, and a monitoring information collection module 132 for responding to monitoring information commands from the monitoring server to collect and return monitoring information.
[0032] figure 2 Shows based on figure 1 The flowchart of the web-based remote multimedia monitoring method of the monitoring system, as shown in the figure, the method includes the following steps:
[0033] Step S21: the establishment of communication between the remote multimedia player and the monitoring server;
[0034] The steps for the remote multimedia player to establish a communication connection with the monitoring server are: first, the remote multimedia player sends a link request to the monitoring server; then, the monitoring server checks the information of the remote multimedia player, establishes a communication connection with it, and connects the remote The equipment deployment information of the multimedia player is stored in the database to send a monitoring request command to the player. Among them, the remote multimedia playback terminal uses the mac address information of the device node to identify the playback endpoint.
[0035] Step S22: Establish a task queue and send a monitoring request command to the remote multimedia player;
[0036] The monitoring server establishes a task queue and periodically sends monitoring request commands to the remote multimedia player. The specific steps are:
[0037] The monitoring server reads the remote multimedia player device deployment information in the database, and establishes an initial task queue according to a certain strategy;
[0038] Check the task queue, the background service executes the tasks in the task queue regularly according to the execution time of the command, that is, sends monitoring commands to the remote multimedia player, and sets the next execution time according to the strategy, and generates new commands and puts them in the task queue.
[0039] Wherein, the strategy is the frequency of sending and obtaining monitoring commands. The monitoring server sets the frequency of sending and obtaining monitoring request commands by the user according to the user's monitoring authority, and establishes the initial task queue according to the frequency. The higher the user's monitoring authority , The faster the frequency of sending the acquisition monitoring request command; the initial task is stored in the task queue, and each task data includes the monitoring information acquisition command and the execution time of the command. The monitoring information acquisition command includes a screenshot command of each node and a node status acquisition command; different types of commands set different execution time intervals according to the network status.
[0040] Step S23: Collection and return of monitoring information from the remote multimedia player;
[0041] The remote multimedia player collects the current monitoring information according to the monitoring request command sent by the monitoring server and sends the collected monitoring information back to the monitoring server. The monitoring information is the status information data of the remote multimedia player, including screenshots and equipment Status information; the remote multimedia player uses the mac address of the device node to identify the player endpoint.
[0042] The specific steps for the collection and return of monitoring information from the remote multimedia player are:
[0043] The remote multimedia player monitors the designated port and analyzes the obtained monitoring information;
[0044] After receiving the monitoring request command, execute the command to collect the current monitoring information and send it back to the monitoring server.
[0045] If the remote multimedia monitoring terminal receives a screenshot command, it will take a screenshot of the current entire screen, generate a screenshot, and reduce the size of the screenshot, and the reduction ratio will be adjusted according to the network situation; the screenshot will be sent back to the file . The name of the screenshot includes the mac address information of the current device and the time information of the screenshot.
[0046] If the communication module listens to other monitoring equipment status information acquisition commands, it will notify the monitoring information collection module, and the information collection module will respond accordingly after obtaining the command and return the node status through the communication module. This kind of return is different from the screenshot image return, only the data is returned.
[0047] Step S24: The monitoring server receives and caches the monitoring information;
[0048] The specific steps for the monitoring server to receive and buffer the monitoring information sent back by the remote multimedia player are as follows:
[0049] Monitor and receive the monitoring information data returned by the remote multimedia player. The monitoring information data includes the node mac address information identifier;
[0050] Use the hash table to check whether the node status information exists in the monitoring information cache, if so, update the node status information; if otherwise, lock the hash table and add the node's monitoring information to the hash table.
[0051] Among them, the specific steps also include checking the screenshots in the monitoring directory, and only the latest screenshots of the same mac address are kept.
[0052] Step S25: The monitoring client refreshes and obtains the monitoring information.
[0053] Figure 4 It shows the working flowchart of the monitoring client in the specific embodiment of the present invention. As shown in the figure, the specific steps of the monitoring client ajax technology refreshing and obtaining monitoring information are:
[0054] The user logs in to the system, the monitoring server checks the user's authority, and obtains the mac code list of the device node that the user can monitor from the database;
[0055] The monitoring client uses ajax technology to obtain the screenshot image url in the monitoring directory of the monitoring server side, and obtains the latest screenshot image information in the monitoring directory according to the screenshot image url;
[0056] Obtain the latest device status information directly from the memory of the monitoring server according to the mac address information list;
[0057] According to the obtained monitoring picture information and the latest equipment status information, refresh the monitoring client interface to display the latest status information.
[0058] Among them, the monitoring client uses ajax technology to obtain the screenshot image url in the monitoring directory of the monitoring server side, and obtains the latest screenshot image information in the monitoring directory according to the screenshot image url. The specific method is: the monitoring client sets a timing At intervals, the timer wakes up a thread for updating. This thread uses ajax technology to obtain the latest relevant node monitoring data by connecting the monitoring client backend with the monitoring server without affecting the user's browsing. The URLs of which monitoring pictures contained in the acquired data have been updated. Then, the thread obtains the image content from the updated URL through the JavaScript scripting language, and displays it in the corresponding position in the browser. In this way, the monitoring information is updated without refreshing the page.
[0059] Among them, the method of obtaining the latest screenshot image: quickly obtain it through file name comparison, first find the screenshot image of the specified node through the prefix matching of the mac address information of the specified node, and then compare the string according to the string to compare the latest screenshot image The string must be the largest in the file.
[0060] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Classification and recommendation of technical efficacy words

  • Reduce monitoring costs
  • Improve convenience

Hydrogen filling apparatus and hydrogen filling method

ActiveUS20100307636A1Improve convenienceAccurate timingLiquid fillingGas handling/storage effectsHydrogen tankChemistry
Owner:HONDA MOTOR CO LTD

Method for treating Sjogren's syndrome

InactiveUS20060062787A1Low costImprove convenienceBiocideSenses disorderVisual analogue scaleRegimen
Owner:GENENTECH INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products