CN106791600A - Communication means and its system between sensor and video camera based on RS485 - Google Patents

Communication means and its system between sensor and video camera based on RS485 Download PDF

Info

Publication number
CN106791600A
CN106791600A CN201611029930.5A CN201611029930A CN106791600A CN 106791600 A CN106791600 A CN 106791600A CN 201611029930 A CN201611029930 A CN 201611029930A CN 106791600 A CN106791600 A CN 106791600A
Authority
CN
China
Prior art keywords
video camera
host machine
sensor
alarm host
server
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
CN201611029930.5A
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.)
JIANGXI YIYUAN MULTIMEDIA TECHNOLOGY Co Ltd
Original Assignee
JIANGXI YIYUAN MULTIMEDIA 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 JIANGXI YIYUAN MULTIMEDIA TECHNOLOGY Co Ltd filed Critical JIANGXI YIYUAN MULTIMEDIA TECHNOLOGY Co Ltd
Priority to CN201611029930.5A priority Critical patent/CN106791600A/en
Publication of CN106791600A publication Critical patent/CN106791600A/en
Pending legal-status Critical Current

Links

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
    • 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
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/10Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems
    • 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/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
    • H04N7/185Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source from a mobile camera, e.g. for remote control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The invention discloses the communication means between a kind of sensor based on RS485 and video camera, front end signal is sent to alarm host machine by sensor by being wirelessly transferred, video camera monitors the RS485 serial ports being connected with the alarm host machine, and the data to being received from the alarm host machine are parsed according to the protocol format with server interaction of the protocol definition according to alarm host machine, the last video camera uploads onto the server the message after parsing in xml format;Also disclose the communication system between a kind of sensor based on RS485 and video camera, by the present invention can not only the video of monitoring scene the abnormal conditions of scene can also be known by the sensor of front end;The behavior of some destructions can be effectively prevented in real time;Communication protocol is easily understood, and realizes interconnection;Accuracy is high, time saving and energy saving, being capable of remote control.

Description

Communication means and its system between sensor and video camera based on RS485
Technical field
The invention belongs to communication technical field, and in particular to logical between a kind of sensor and video camera based on RS485 Letter method and its system.
Background technology
With economic and science and technology fast development, single camera video surveillance can not increasingly meet user's Demand.User is not only that with the picture inside camera supervised scene, their demand is not only to monitor scene Video, when there are some abnormal conditions scene the inside, for example:Catch fire, someone robs and pounds ATM, someone and climb window house robbery etc., Can in time feed back to user, how in the tide of technology development, realize various demands that user proposes be it is very important, This is not only that an opportunity is also a challenge.
The content of the invention
In view of this, it is a primary object of the present invention to provide between a kind of sensor based on RS485 and video camera Communication means and its system.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
The embodiment of the present invention provides the communication means between a kind of sensor and video camera based on RS485, and the method is: Front end signal is sent to alarm host machine by sensor by being wirelessly transferred, and video camera monitors what is be connected with the alarm host machine RS485 serial ports, and the data that are received from the alarm host machine are entered according to the protocol format with server interaction of definition Row parsing, the last video camera uploads onto the server the message after parsing in xml format.
In such scheme, the method also includes:The server sends instructions by under and is sent to video camera, and the video camera will The XML format for receiving is parsed into corresponding binary system message, and then the binary system message after parsing is sent by RS485 serial ports To alarm host machine, the alarm host machine is handed down to sensor by wireless, and the sensor sends instructions according under and makes corresponding Operation.
In such scheme, the method also includes:The information that the server is obtained is sent to user terminal, user's end End according to circumstances sends control instruction to the server.
In such scheme, the video camera is to the binary data received from the alarm host machine according to the agreement for defining Form is parsed, and specially determines that the alarm host machine belongs to according to the characteristics of the binary data and different type agreement for receiving In which kind of type protocol, afterwards, the alarm host machine is belonged into information Store which kind of type protocol parses in XML format Data are interior and upload onto the server.
The present invention implements also to provide the communication system between a kind of sensor based on RS485 and video camera, the system bag Include:Sensor, alarm host machine, video camera;
The sensor, alarm host machine is sent to for passing through to be wirelessly transferred by front end signal,
The alarm host machine, for receiving the front end signal of the sensor transmission and being forwarded to video camera;
The video camera, for monitoring the RS485 serial ports being connected with the alarm host machine, and to from the alarm host machine The data for receiving according to definition the protocol format with server interaction parsed, the message that will finally be obtained after parsing with XML format is uploaded onto the server.
In such scheme, the system also includes server;
The server, video camera is sent to for sending instructions by under;
The video camera, the XML format for that will receive is parsed into corresponding binary system message, then by parsing after two System message is sent to alarm host machine by RS485 serial ports;
The alarm host machine, for by being wirelessly handed down to sensor;
The sensor, corresponding operation is made for sending instructions under reception and sending instructions according under.
In such scheme, the system also includes user terminal;
The server, for the information of acquisition to be sent into user terminal,
The user terminal, for according to circumstances sending control instruction to the server.
In such scheme, the video camera is to the binary data received from the alarm host machine according to the agreement for defining Form is parsed, and specially determines that the alarm host machine belongs to according to the characteristics of the binary data and different type agreement for receiving In which kind of type protocol, afterwards, the alarm host machine is belonged into information Store which kind of type protocol parses in XML format Data are interior and upload onto the server.
Compared with prior art, beneficial effects of the present invention:
The present invention can not only the video of monitoring scene the abnormal conditions of scene can also be known by the sensor of front end; The behavior of some destructions can be effectively prevented in real time;Communication protocol is easily understood, and realizes interconnection;Accuracy is high, time saving and energy saving, Being capable of remote control.
Brief description of the drawings
Fig. 1 is the stream of the embodiment of the present invention is provided between a kind of sensor and video camera based on RS485 communication means Cheng Tu.
Fig. 2 in the embodiment of the present invention is provided between a kind of sensor and video camera based on RS485 communication means to take The flow chart of business device remote operation sensor.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The embodiment of the present invention provides the communication means between a kind of sensor and video camera based on RS485, such as Fig. 1 institutes Show, the method is realized by following steps:
Step 101:Front end signal is sent to alarm host machine by sensor by being wirelessly transferred.
Step 102:Video camera monitors the RS485 serial ports that is connected with the alarm host machine, and to from the alarm host machine The data for receiving are parsed according to the protocol format with server interaction of definition.
Specifically, because the alarm host machine has different types of agreement, according to the binary data for receiving and not The characteristics of same type agreement, determines which kind of type protocol is the alarm host machine belong to, and then subsequently, determines that the alarm host machine is reported Alert the reason for.
Step 103:The last video camera uploads onto the server the message obtained after parsing in xml format.
Specifically, the secondary of protocol format by defining is parsed into the message format that opposite end can recognize, is last transmitted to Server is to communicate with realizing by SOCKET.
The alarm host machine is belonged into information Store which kind of type protocol parses in the data of XML format and Upload onto the server.
The video camera determines the alarm host machine remote control of which kind of type protocol according to the data of the XML format for receiving The sensor of front end, then by should alarm host machine the binary system message that is capable of identify that into alarm host machine of protocol analysis, Play the purpose of remote operation front end sensors.
Further, long-range sensor is controlled for the ease of server, the server sends instructions biography by under Be sent to video camera, the XML format that the video camera will be received is parsed into corresponding binary system message, then by parsing after two enter Message processed is sent to alarm host machine by RS485 serial ports, and the alarm host machine is by being wirelessly handed down to sensor, the sensor Send instructions according under and make corresponding operation.
Further, the information that the server is obtained is sent to user terminal, and the user terminal is according to circumstances to institute State server and send control instruction.
Specifically, as shown in Fig. 2 the process of the remote operation of server sensor is:
Step 201:User terminal is input into control command;
Step 202:The server receives the control command of user terminal, is transmitted to video camera;
Step 203:The video camera receives the data of server, is parsed into the message that alarm host machine is capable of identify that;
Step 204:The alarm host machine receives the data of camera, and parsing is by wirelessly issuing corresponding sensor;
Step 205:The sensor receives corresponding instruction, makes corresponding operation.
The embodiment of the present invention also provides the communication system between a kind of sensor based on RS485 and video camera, the system Including:Sensor, alarm host machine, video camera;
The sensor, alarm host machine is sent to for passing through to be wirelessly transferred by front end signal,
The alarm host machine, for receiving the front end signal of the sensor transmission and being forwarded to video camera;
The video camera, for monitoring the RS485 serial ports being connected with the alarm host machine, and to from the alarm host machine The binary data for receiving is parsed according to the protocol format of definition, and the message that will finally be obtained after parsing is in xml format Upload onto the server.
The video camera, number of the information Store in XML format for which kind of type protocol to be the alarm host machine to be belonged to According to interior and upload onto the server.
The server determines the alarm host machine remote control of which kind of type protocol according to the data of the XML format for receiving The sensor of front end, then by should alarm host machine the binary system message that is capable of identify that into alarm host machine of protocol analysis, Play the purpose of remote operation front end sensors.
The system also includes server,
The server, video camera is sent to for sending instructions by under;
The video camera, the XML format for that will receive is parsed into corresponding binary system message, then by parsing after two System message is sent to alarm host machine by RS485 serial ports;
The alarm host machine, for by being wirelessly handed down to sensor;
The sensor, corresponding operation is made for sending instructions under reception and sending instructions according under.
The system also includes user terminal;
The server, for the information of acquisition to be sent into user terminal,
The user terminal, for according to circumstances sending control instruction to the server.
The above, only presently preferred embodiments of the present invention is not intended to limit the scope of the present invention.

Claims (8)

1. the communication means between a kind of sensor and video camera based on RS485, it is characterised in that the method is:Sensor Front end signal is sent to alarm host machine by being wirelessly transferred, video camera monitors the RS485 serial ports being connected with the alarm host machine, And the data to being received from the alarm host machine are parsed according to the protocol format with server interaction of definition, finally The video camera uploads onto the server the message obtained after parsing in xml format.
2. the communication means between sensor and video camera based on RS485 according to claim 1, it is characterised in that The method also includes:The server sends instructions by under and is sent to video camera, and the XML format that the video camera will be received is parsed into Corresponding binary system message, is then sent to alarm host machine, the alarm by the binary system message after parsing by RS485 serial ports Main frame is handed down to sensor by wireless, and the sensor sends instructions according under and makes corresponding operation.
3. the communication means between sensor and video camera based on RS485 according to claim 1 and 2, its feature exists In the method also includes:The information that the server is obtained is sent to user terminal, and the user terminal is according to circumstances to described Server sends control instruction.
4. the communication means between sensor and video camera based on RS485 according to claim 1, it is characterised in that The video camera is parsed to the binary data received from the alarm host machine according to the protocol format of definition, specially Determine which kind of type protocol is the alarm host machine belong to according to the characteristics of the binary data and different type agreement for receiving, it Afterwards, the alarm host machine is belonged into information Store which kind of type protocol parses in the data of XML format and is uploaded to Server.
5. the communication system between a kind of sensor and video camera based on RS485, it is characterised in that the system includes:Sensing Device, alarm host machine, video camera;
The sensor, alarm host machine is sent to for passing through to be wirelessly transferred by front end signal,
The alarm host machine, for receiving the front end signal of the sensor transmission and being forwarded to video camera;
The video camera, for monitoring the RS485 serial ports being connected with the alarm host machine, and to being received from the alarm host machine To data according to definition the protocol format with server interaction parsed, finally message by after parsing in xml format Upload onto the server.
6. the communication system between sensor and video camera based on RS485 according to claim 5, it is characterised in that The system also includes server;
The server, video camera is sent to for sending instructions by under;
The video camera, the XML format for that will receive is parsed into corresponding binary system message, then by the binary system after parsing Message is sent to alarm host machine by RS485 serial ports;
The alarm host machine, for by being wirelessly handed down to sensor;
The sensor, corresponding operation is made for sending instructions under reception and sending instructions according under.
7. the communication system between the sensor based on RS485 and video camera according to claim 5 or 6, its feature exists In the system also includes user terminal;
The server, for the information of acquisition to be sent into user terminal,
The user terminal, for according to circumstances sending control instruction to the server.
8. the communication system between sensor and video camera based on RS485 according to claim 5, it is characterised in that The video camera, specifically for determining that the alarm host machine belongs to according to the characteristics of the binary data and different type agreement for receiving In which kind of type protocol, afterwards, the alarm host machine is belonged into information Store which kind of type protocol parses in XML format Data are interior and upload onto the server.
CN201611029930.5A 2016-11-15 2016-11-15 Communication means and its system between sensor and video camera based on RS485 Pending CN106791600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611029930.5A CN106791600A (en) 2016-11-15 2016-11-15 Communication means and its system between sensor and video camera based on RS485

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611029930.5A CN106791600A (en) 2016-11-15 2016-11-15 Communication means and its system between sensor and video camera based on RS485

Publications (1)

Publication Number Publication Date
CN106791600A true CN106791600A (en) 2017-05-31

Family

ID=58971622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611029930.5A Pending CN106791600A (en) 2016-11-15 2016-11-15 Communication means and its system between sensor and video camera based on RS485

Country Status (1)

Country Link
CN (1) CN106791600A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303791A (en) * 2007-05-11 2008-11-12 厦门瑞科技术有限公司 Wireless alarming method and wireless alarming system based on network camera
CN201533349U (en) * 2009-07-31 2010-07-21 陈仲璀 Network video camera integrated with wireless alarming host
CN202663504U (en) * 2012-06-04 2013-01-09 深圳市鼎盛威电子有限公司 Video monitoring alarm system
CN103489292A (en) * 2013-09-18 2014-01-01 华为终端有限公司 Security gateway equipment, communication method of security gateway equipment and security alarm system of security gateway equipment
CN103716578A (en) * 2012-09-28 2014-04-09 华为技术有限公司 Video data transmission, storage and retrieval methods and video monitoring system
CN104217556A (en) * 2014-09-12 2014-12-17 泉州市科立信安防电子有限公司 Video monitoring alarm method based on smart phone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303791A (en) * 2007-05-11 2008-11-12 厦门瑞科技术有限公司 Wireless alarming method and wireless alarming system based on network camera
CN201533349U (en) * 2009-07-31 2010-07-21 陈仲璀 Network video camera integrated with wireless alarming host
CN202663504U (en) * 2012-06-04 2013-01-09 深圳市鼎盛威电子有限公司 Video monitoring alarm system
CN103716578A (en) * 2012-09-28 2014-04-09 华为技术有限公司 Video data transmission, storage and retrieval methods and video monitoring system
CN103489292A (en) * 2013-09-18 2014-01-01 华为终端有限公司 Security gateway equipment, communication method of security gateway equipment and security alarm system of security gateway equipment
CN104217556A (en) * 2014-09-12 2014-12-17 泉州市科立信安防电子有限公司 Video monitoring alarm method based on smart phone

Similar Documents

Publication Publication Date Title
CN106453580A (en) 6LoWPAN protocol based real-time IoT (Internet of Things) environment monitoring system
CN1848852B (en) Communication system with cross-compatibility
CN206117730U (en) Thing networking environment real -time monitoring system based on 6LoWPAN agreement
CN102546338A (en) Multimedia intelligent sensor network system and method based on controller area network (CAN) bus
CN103096044A (en) Monitoring system and webcam
CN105068433A (en) Network connection method and apparatus of intelligent socket, and intelligent socket system
CN103024352A (en) Video monitoring method and system based on code rate mutation
CN105391564B (en) Data short message sending method, trunking method, method of reseptance and its equipment
TWM507565U (en) Security system
CN106791600A (en) Communication means and its system between sensor and video camera based on RS485
CN102801903A (en) Web camera with radio frequency gateway function
CN202035000U (en) Control host for internet of things and internet of things provided with same
CN105844827A (en) Intrusion alarm system
US20150005909A1 (en) Communication Device, Communication Method, and Management Device
CN114222096A (en) Data transmission method, camera and electronic equipment
KR102024436B1 (en) IoT System using Multi-to-one Visible Light Communication
CN102281664A (en) Method for realizing light fitting control by using interactive light control bus
CN105812086A (en) Monitor communication method and system
CN104809834A (en) Indoor burglary protection system and method thereof
CN209417917U (en) Intelligent USB plug-in type both-way communication Video Surveillance Alarm System
CN201805507U (en) Video monitoring and integrating device
CN112448940B (en) Information processing method, sensing device and network packet in Internet of things
KR20190041919A (en) INTELLIGENT TERMINAL FLATFORM SYSTEM BASED ON IoT
KR102101648B1 (en) IoT COMMUNICATION SYSTEM AND CONTROL METHOD THEREOF
CN207799427U (en) Digitized compound operation room remote maintenance system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Su Cuiping

Inventor after: Zhu Yaoyu

Inventor after: Xu Linnan

Inventor after: Xiao Wei

Inventor after: Zeng Qiuxiang

Inventor before: Su Cuiping

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170531