CN110784687A - Wireless audio and video monitoring system based on C/S framework - Google Patents

Wireless audio and video monitoring system based on C/S framework Download PDF

Info

Publication number
CN110784687A
CN110784687A CN201911084371.1A CN201911084371A CN110784687A CN 110784687 A CN110784687 A CN 110784687A CN 201911084371 A CN201911084371 A CN 201911084371A CN 110784687 A CN110784687 A CN 110784687A
Authority
CN
China
Prior art keywords
video
data
module
audio
network communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911084371.1A
Other languages
Chinese (zh)
Inventor
陈鹏
梁程
王蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian Maritime University
Original Assignee
Dalian Maritime University
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 Dalian Maritime University filed Critical Dalian Maritime University
Priority to CN201911084371.1A priority Critical patent/CN110784687A/en
Publication of CN110784687A publication Critical patent/CN110784687A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Abstract

The invention provides a wireless audio and video monitoring system based on a C/S framework, which comprises: the device comprises a data module, an audio and video module, a monitoring control module and a Socket network communication module, wherein the data module is used for recording basic information of the connecting equipment, electric quantity of the connecting equipment and switching time of a preset controller. And establishing contact with the modules through the Socket network communication module and receiving information from a server through the Socket network communication module. The invention has the advantages of stable video data transmission, clear image, smooth voice broadcast and telephone communication, integration of multiple functions, strong applicability and practicability, convenience and rapidness, simple operation and good safety.

Description

Wireless audio and video monitoring system based on C/S framework
Technical Field
The invention relates to the technical field of coal mine auxiliary vertical shaft lifting, in particular to a wireless audio/video monitoring system based on a C/S framework.
Background
With the reduction of surface shallow resources, the mining mode of mines is changed from the original open-pit mining and inclined shaft mining to vertical shaft mining, and vertical shafts with the length of more than 1500 meters are developed in China at present. The vertical shaft lifting department becomes the throat department of mine production, the communication with the underground becomes very important, and the dynamic states such as the safety of workers, the operation condition of mechanical equipment and the like need to be mastered at any time. At present, audio and video monitoring systems which integrate multiple functions into a whole and are applied to auxiliary vertical shafts are few.
Disclosure of Invention
According to the technical problem, a wireless audio/video monitoring system based on a C/S framework is provided. The invention mainly utilizes a wireless audio/video monitoring system based on a C/S framework, which is characterized by comprising the following components: the device comprises a data module, an audio and video module, a monitoring control module and a Socket network communication module, wherein the data module is used for recording basic information of the connecting equipment, electric quantity of the connecting equipment and switching time of a preset controller.
Establishing contact with the modules through the Socket network communication module and receiving information from a server through the Socket network communication module; the data module is connected with the MySQL DataBase through Java DataBase Connectivity, retrieves and updates data in real time, and finishes after executing a corresponding command; and establishing a required table through an Sqlgoy tool, corresponding to corresponding data types one by one according to requirements, and performing addition, deletion, modification and check on data in the MySQL database through SQL sentences.
Further, the audio/video module includes: an audio unit and a video unit; the audio unit collects voice information through TargetDataLine types provided by JavaAPI; before acquisition, calling a corresponding type of audioFormat, setting corresponding parameters, reading data through targetDataLine, sending voice data to a client, transmitting the voice data through a UDP (user Datagram protocol) protocol, and decoding the voice data after the client receives the data; and the Datagramscope receives the voice information, transmits the voice information to the Source DataLine to decode the voice information and then outputs the decoded voice information.
Furthermore, the video unit monitors the working site in real time through the network camera, and the auxiliary vertical shaft and the cage are monitored in real time through the video unit; and calling a getMediaPlayer (). playMedia (address) method to obtain video stream through the IP of the network camera, calling a DLL (dynamic link library) of the VLC (virtual channel language) to play the video, displaying the video and the digital image information on a page, displaying the video and the digital image information on a split screen, recording the video by calling FFmpeg, and performing video retrieval or playback.
Furthermore, the monitoring control module adopts a UDP protocol to monitor the battery power of the underground equipment, and displays and monitors the connection condition of the network bridge in real time in the form of images and tables; monitoring control module's electric quantity acquisition instruction, bus: 485, protocol: UDP, baud rate: 4800.
compared with the prior art, the invention has the following advantages: the video data transmission is stable, the image is clear, the voice broadcast and the telephone communication are smooth, various functions are integrated, the applicability and the practicability are high, the convenience and the rapidness are realized, the operation is simple, and the safety is good.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a core work flow diagram of the system of the present invention.
Fig. 2 is a system architecture diagram of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
As shown in fig. 1-2, the present invention provides a wireless audio/video monitoring system based on C/S (Client/service) architecture, which includes: the device comprises a data module, an audio and video module, a monitoring control module and a Socket network communication module, wherein the data module is used for recording basic information of the connecting equipment, electric quantity of the connecting equipment and switching time of a preset controller.
As a preferred embodiment, the Socket network communication module establishes contact with each module and receives information from a server; the data module is connected with the MySQL database through the JavaDataBase Connectivity, retrieves and updates data in real time, and finishes after executing a corresponding command; and establishing a required table through an Sqlgoy tool, corresponding to corresponding data types one by one according to requirements, and performing addition, deletion, modification and check on data in the MySQL database through SQL sentences. In the present application, the requirement means what format the data to be stored needs to be stored in, and is set to a corresponding data type, for example, the time storage is a datatime type, and the name is generally a cha type.
Preferably, as a preferred embodiment of the present application, the audio/video module includes: an audio unit and a video unit; the audio unit collects voice information through a TargetDataLine class provided by a Java API; before acquisition, calling a corresponding type of audioFormat, setting corresponding parameters, reading data through targetDataLine, sending voice data to a client, transmitting the voice data through a UDP (user Datagram protocol) protocol, and decoding the voice data after the client receives the data; and the Datagramscope receives the voice information, transmits the voice information to the Source DataLine to decode the voice information and then outputs the decoded voice information.
As a preferred embodiment, the video unit monitors the working site in real time through a network camera, and the auxiliary vertical shaft and the cage are monitored in real time through the video unit; and calling a getMediaPlayer (). playMedia (address) method to obtain video stream through the IP of the network camera, calling a DLL (dynamic link library) of the VLC (virtual channel language) to play the video, displaying the video and the digital image information on a page, displaying the video and the digital image information on a split screen, recording the video by calling FFmpeg, and performing video retrieval or playback.
Furthermore, the monitoring control module adopts a UDP protocol to monitor the battery power of the underground equipment, and displays and monitors the connection condition of the network bridge in real time in the form of images and tables; monitoring control module's electric quantity acquisition instruction, bus: 485, protocol: UDP, baud rate: 4800.
socket communication is one of the basic methods for network communication of computers, various application programs in the computers establish network communication connection by calling Socket functions, and a C/S architecture is widely adopted in the network communication of various application programs. The PC is used as a client and continuously sends information to the server by adopting a UDP protocol. The Socket network communication module firstly creates a server-side DatagramSocket, specifies a port 1030, creates a byte array for receiving a data datagram sent by the client and creating the size of the received data packet, further receives data sent by the client, reads the data, further defines the address, the port number and the data of the client, creates a datagram, contains response data information, and responds that the client finally closes resources.
Preferably, in the present application, the video transmission uses rtsp (real Time Streaming protocol) protocol to create an access address for the video stream for the client to access. And calling a VLC player with H.264 decoding capability to play the video stream through the Libvlc.dll library file, starting a thread, controlling the data stream in the transmission process, and closing the previous video stream while playing. The method mainly comprises the following steps:
the path is firstly obtained vlc, the current video stream is stopped, the thread is terminated, a new thread is further established, and then an rtsp stream is obtained and displayed on the screen to start the new thread.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (3)

1. A wireless audio and video monitoring system based on a C/S framework is characterized by comprising:
the data module, the audio and video module, the monitoring control module and the Socket network communication module are used for recording basic information of the connecting equipment, electric quantity of the connecting equipment and switching time of a preset controller;
establishing contact with the modules through the Socket network communication module and receiving information from a server through the Socket network communication module;
the data module is connected with the MySQL DataBase through Java DataBase Connectivity, retrieves and updates data in real time, and finishes after executing a corresponding command; and establishing a required table through an Sqlgoy tool, corresponding to corresponding data types one by one according to requirements, and performing addition, deletion, modification and check on data in the MySQL database through SQL sentences.
2. The wireless audio/video monitoring system based on the C/S architecture according to claim 1, further characterized in that:
the audio and video module comprises: an audio unit and a video unit; the audio unit collects voice information through a TargetDataLine class provided by a Java API; before acquisition, calling a corresponding type of AudioFormat, setting corresponding parameters, reading data through TargetDataLine, sending voice data to a client, transmitting the voice data to the client through a UDP (user Datagragram protocol) protocol, and decoding the voice data after the client receives the data; receiving the voice information by the Datagramscope, transmitting the voice information to the Source DataLine to decode the voice information and then outputting the decoded voice information;
the video unit monitors a working site in real time through the network camera and monitors the auxiliary vertical shaft and the cage in real time through the video unit;
and calling a getMediaPlayer (). playMedia (address) method to obtain video stream through the IP of the network camera, calling a DLL (dynamic link library) of the VLC (virtual channel language) to play the video, displaying the video and the digital image information on a page, displaying the video and the digital image information on a split screen, recording the video by calling FFmpeg, and performing video retrieval or playback.
3. The wireless audio/video monitoring system based on the C/S architecture according to claim 1, further characterized in that:
the monitoring control module adopts a UDP protocol to monitor the battery power of the underground equipment, and displays and monitors the network bridge connection condition in real time in the form of images and tables;
monitoring control module's electric quantity acquisition instruction, bus: 485, protocol: UDP, baud rate: 4800.
CN201911084371.1A 2019-11-07 2019-11-07 Wireless audio and video monitoring system based on C/S framework Pending CN110784687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911084371.1A CN110784687A (en) 2019-11-07 2019-11-07 Wireless audio and video monitoring system based on C/S framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911084371.1A CN110784687A (en) 2019-11-07 2019-11-07 Wireless audio and video monitoring system based on C/S framework

Publications (1)

Publication Number Publication Date
CN110784687A true CN110784687A (en) 2020-02-11

Family

ID=69390195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911084371.1A Pending CN110784687A (en) 2019-11-07 2019-11-07 Wireless audio and video monitoring system based on C/S framework

Country Status (1)

Country Link
CN (1) CN110784687A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882951A (en) * 2012-09-17 2013-01-16 中安永恒(北京)工程技术有限公司 Personnel positioning remote wireless multi-stage networking system and method
CN103595973A (en) * 2013-11-28 2014-02-19 惠州华阳通用电子有限公司 Real-time vehicle audio/video monitoring system and method
CN105704447A (en) * 2016-01-21 2016-06-22 韩松 Remote monitoring system and method based on C/S configuration
US20170061783A1 (en) * 2015-09-01 2017-03-02 Honeywell International Inc. System and method providing early prediction and forecasting of false alarms by applying statistical inference models
CN106791680A (en) * 2016-12-30 2017-05-31 国网上海市电力公司 A kind of mobile phone remote video monitoring system in outer damage source building site
CN110191318A (en) * 2019-05-24 2019-08-30 大连金盛义电子科技有限公司 A kind of mine hoisting equipment wireless telecommunications video surveillance security early warning system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882951A (en) * 2012-09-17 2013-01-16 中安永恒(北京)工程技术有限公司 Personnel positioning remote wireless multi-stage networking system and method
CN103595973A (en) * 2013-11-28 2014-02-19 惠州华阳通用电子有限公司 Real-time vehicle audio/video monitoring system and method
US20170061783A1 (en) * 2015-09-01 2017-03-02 Honeywell International Inc. System and method providing early prediction and forecasting of false alarms by applying statistical inference models
CN105704447A (en) * 2016-01-21 2016-06-22 韩松 Remote monitoring system and method based on C/S configuration
CN106791680A (en) * 2016-12-30 2017-05-31 国网上海市电力公司 A kind of mobile phone remote video monitoring system in outer damage source building site
CN110191318A (en) * 2019-05-24 2019-08-30 大连金盛义电子科技有限公司 A kind of mine hoisting equipment wireless telecommunications video surveillance security early warning system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘爽等: ""基于C/S结构的车辆监控系统设计与实现"", 《计算机工程与设计》 *
梁志勇,戴胜华: ""基于C/S模式的煤矿监控系统的应用研究"", 《铁路计算机应用》 *

Similar Documents

Publication Publication Date Title
US9478256B1 (en) Video editing processor for video cloud server
CN104159151B (en) A kind of device and method for carrying out video intercepting on OTT boxes and handling
US20190342241A1 (en) Systems and methods for manipulating and/or concatenating videos
CN108769795B (en) Video signal realizing system and method
CN102695094B (en) Method for carrying out software and hardware integrated audio/video redirection in VDI (Virtual Device Interface) environment
CN104333770A (en) Method and device for live video streaming
CN102158553A (en) Method and device for playing multi-media files for remote desktop
CN104602133A (en) Multimedia file shearing method and terminal as well as server
CN111723558A (en) Document display method and device, electronic equipment and storage medium
CN105898506A (en) Method and system for multi-screen playing of media files
CN108200482B (en) Cross-platform high-definition audio and video playing method, system and client
CN108243318B (en) Method and device for realizing live broadcast of multiple image acquisition devices through single interface
CN104067627B (en) Method, device, system and computer-readable medium that a kind of video is redirected
CN114546308A (en) Application interface screen projection method, device, equipment and storage medium
CN113741762A (en) Multimedia playing method, device, electronic equipment and storage medium
CN109032768A (en) Moving method, device, terminal, server and the storage medium of utility cession
CN104837046A (en) Multi-media file processing method and device
CN103686209A (en) Transcoding and processing method and system with diverse mechanisms
CN111107387B (en) Video transcoding method and device and computer storage medium
CN111835988B (en) Subtitle generation method, server, terminal equipment and system
CN110784687A (en) Wireless audio and video monitoring system based on C/S framework
CN104333801B (en) A kind of MP4 media file transmission methods, playback method, apparatus and system
KR20140117889A (en) Client apparatus, server apparatus, multimedia redirection system and the method thereof
CN102685415A (en) Method, system, device and terminal for processing video picture
CN112073727B (en) Transcoding method and device, electronic equipment 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200211

RJ01 Rejection of invention patent application after publication