CN102523235A - Method for self-adaptive support of more pieces of monitoring equipment - Google Patents

Method for self-adaptive support of more pieces of monitoring equipment Download PDF

Info

Publication number
CN102523235A
CN102523235A CN2011104562095A CN201110456209A CN102523235A CN 102523235 A CN102523235 A CN 102523235A CN 2011104562095 A CN2011104562095 A CN 2011104562095A CN 201110456209 A CN201110456209 A CN 201110456209A CN 102523235 A CN102523235 A CN 102523235A
Authority
CN
China
Prior art keywords
sdk
equipment
agreement
client
information
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.)
Granted
Application number
CN2011104562095A
Other languages
Chinese (zh)
Other versions
CN102523235B (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.)
Sichuan Jiuzhou Investment Holding Group Co.,Ltd.
Original Assignee
Sichuan Jiuzhou Electric Group 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 Sichuan Jiuzhou Electric Group Co Ltd filed Critical Sichuan Jiuzhou Electric Group Co Ltd
Priority to CN201110456209.5A priority Critical patent/CN102523235B/en
Publication of CN102523235A publication Critical patent/CN102523235A/en
Application granted granted Critical
Publication of CN102523235B publication Critical patent/CN102523235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention is applicable to the field of digital communication and provides a method for self-adaptive support to more pieces of monitoring equipment. The method comprises the following steps: protocols of various different pieces of monitoring video equipment are configured into an XML (Extensible Markup Language) format, and the various different pieces of monitoring video equipment support an XML file transmission protocol. According to the method, since the equipment protocols are extracted into an XML file format, firstly, the independence of the protocols among all the pieces of equipment is ensured and no mutual influence can be completely achieved; secondly, the generality of an SDK (Software Development Kit) design is ensured, and automatic adaptation to various different pieces of equipment can be achieved; and finally, the independence between the SDK and a client side is also ensured.

Description

A kind of self adaptation is supported the method for many watch-dogs
Technical field
the invention belongs to digital communicating field, relate in particular to the method that a kind of self adaptation is supported many watch-dogs.
Background technology
field of video monitoring development at present is very fast, and device category is various, for monitor supervision platform and client, has all increased certain complexity.When monitoring of tools platform (SDK) connected reference equipment; Prior art is directly to carry out communication through predetermined agreement; The drawback that this method exists is exactly when device protocol changes (for example increase, deletion, modification etc.); Corresponding SDK just needs adjustment and revises, and the interface that externally provides also corresponding variation can take place; Same, client need be passed through SDK connected reference equipment, thereby causes the interface change when device protocol changes; Also need client adjustment; Very dumb, and data are not encrypted in the process of data communication between equipment and SDK in the prior art, be easy to grab complete packet through packet catcher; Data are not played a very good protection, be prone to cause the leakage of data.
Summary of the invention
the objective of the invention is to: the method that provides a kind of self adaptation to support many watch-dogs, being intended to solve existing SDK can not the self adaptation device protocol, causes client to pass through the problem of SDK to the visit underaction of equipment.
The objective of the invention is to realize like this:
a kind of self adaptation is supported the method for many watch-dogs, the protocol configuration of various monitor video equipment is become the XML form, and various video equipment is all supported the XML FTP; Client is given monitoring of tools platform SDK according to user's operation information sending function request instruction, and the information and user's the operation that comprise the video equipment of user's appointment in this function request instruction at least require information; When SDK receives function request instruction or this equipment of this client first is when being asked first; SDK will be according to the function request instruction of this client video equipment transmitting apparatus agreement request to appointment; Download the XML agreement on the request slave unit; The equipment of receiving request will send echo message to SDK, and self XML agreement is sent to SDK; The control command agreement that SDK obtains facility information and supported from the XML agreement of downloading; Function request for the client transmission; SDK judges according to agreement whether requested equipment supports this feature operation; If support then SDK converts the control command that meets the XML agreement into according to the function request of client sends to corresponding equipment, and equipment sent to client for the response of control command.
are when being asked first when SDK receives function request instruction or this equipment of this client first; SDK will detect the login state of this client earlier; If unregistered success before this client; Then the information of the direct sending function request failure of SDK is given client, if the registered success of this client, then SDK is to the video equipment transmitting apparatus agreement request of appointment.
receive that the equipment of request comprises state information and file size in the echo message that SDK sends; Wherein, Whether successful state information be request the echo message of expression SDK, and file size is the size of XML document of agreement of the equipment transmission of the request of receiving; Whether the size of the XML agreement of this equipment that SDK relatively receives is consistent with the document size information in the echo message of this equipment of receiving; If unanimity then SDK, include whether information of successful of expression SDK download protocol file to this device transmits and downloads echo message in this information.
When change took place or increase new equipment when the agreement of equipment, the operating personnel of SDK were uploaded to the New Deal of this equipment in this equipment through SDK through SDK and preserve; When uploading; SDK sends upload request to this equipment earlier; Whether successful equipment receives that request back sends corresponding echo message and give SDK, include expression SDK upload request state information in this echo message, if successful request; SDK will upload information and new document of agreement is sent to this equipment, and whether the said information that includes the XML document of agreement size that SDK uploads in the information and the expression SDK of uploading upload information of successful.
are equipped with the encryption and decryption module of data in SDK and equipment, the data of sending and receive are carried out encryption and decryption.
outstanding advantage of the present invention is: the present invention can support plurality of devices; And the communications protocol of equipment room is independent of each other (separately safeguard); Monitor supervision platform, client also can be visited adaptively and be connected various equipment; Visit and the flexibility that is connected are provided, in the process of network communication, data have been encrypted, guaranteed the fail safe of communication data.
Description of drawings
Fig. 1 is the sequential chart that self adaptation that the embodiment of the invention provides is supported the method for many watch-dogs.
Embodiment
in order to make the object of the invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and embodiment, are further elaborated to the present invention.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The method that the self adaptation that embodiment of the invention provides is supported many watch-dogs becomes the XML form with the protocol configuration of various monitor video equipment, and various video equipment is all supported XML FTP (comprise and upload and download).
The self adaptation that Fig. 1 shows the embodiment of the invention to be provided is supported the sequential of the method for many watch-dogs, and wherein, third party's client and SDK are all at local side, and client and SDK communicate according to predefined SDK communication protocol.
client at first will be accomplished registration on equipment.Client is sent register requirement to SDK, transmits register requirement by SDK to video equipment.Watch-dog is handled this register requirement, and feedback processing result (succeed in registration or registration failure) to SDK, SDK sends to this result client and stores the login state of this client.When the client need be through client operation monitor video equipment, client was given SDK according to user's operation information sending function request instruction, and the information and user's the operation that comprise the video equipment of user's appointment in this function request instruction at least require information.When SDK receives function request instruction or this equipment of this client first is when being asked first; SDK will detect the login state of this client earlier; If unregistered success before this client, then the information of the direct sending function request failure of SDK is given client, if the registered success of this client; Then SDK will be according to the function request instruction of this client video equipment transmitting apparatus agreement request to appointment; Download the XML agreement on the request slave unit, can comprise information such as origin identification, signaling length, type of message, message sequence number, message numbering in this request msg, can also comprise information such as destination device network numbering, source device network numbering; The equipment of receiving request will send echo message to SDK; And self XML agreement sent to SDK, comprise origin identification, signaling length, type of message, message sequence number, message numbering in the response data that equipment sends, and state information and file size; Wherein, State information is that file size is the size of the XML document of agreement of this equipment transmission to the response of the request of SDK (success or failure), and whether the size of the XML agreement of this equipment that SDK relatively receives is consistent with the document size information in the echo message of this equipment of receiving; If unanimity then SDK, include whether information of successful of SDK download protocol file to this device transmits and downloads echo message in this information.SDK can obtain information such as device name, device type ID and device description and supported from the XML agreement of downloading control command agreement; Function request for the client transmission; SDK judges according to agreement whether requested equipment supports this feature operation; If support then SDK converts the control command that meets the XML agreement into according to the function request of client sends to corresponding equipment; And equipment sent to client for the response of control command, control for operation of equipment thereby accomplish client, after this SDK with equipment reciprocal process in all conduct interviews and operate through the analyzing XML agreement.
When change took place or increase new equipment when the agreement of the equipment that is connected with SDK, the operating personnel of SDK can be uploaded to the New Deal of this equipment in this equipment through SDK through SDK and preserve.When uploading; SDK sends upload request to this equipment earlier; Whether successful equipment receives that request back sends corresponding echo message and give SDK, include SDK upload request state information in this echo message, if successful request; SDK will upload information and new document of agreement is sent to this equipment, and whether the said information that includes the XML document of agreement size that SDK uploads in the information and the SDK of uploading upload information of successful.And for traditional communication protocol, every increase all need be revised the communication cryptology of client to a kind of support of equipment, has increased maintenance cost, and also has been unfavorable for large-scale network application.
in embodiments of the present invention; Safety for the communication data that guarantees SDK and equipment room; In SDK and equipment, can also be provided with the encryption and decryption module of data, the data of sending and receive are carried out encryption and decryption, realize the secure communication of SDK and equipment room.Even use packet catcher also can't get access to initial data like this, improved the fail safe in the data transmission procedure, this function can be selected to open or shield, and it is fixed to come according to actual conditions.Use the DES enciphering and deciphering algorithm in the embodiment of the invention, can certainly use other enciphering and deciphering algorithms.
embodiment of the invention is through being extracted into device protocol an XML file format; At first guaranteed the independence of each equipment room agreement; Can accomplish fully to be independent of each other; The versatility that next has guaranteed the SDK design can adapt to various distinct devices automatically, has also guaranteed the independence between SDK and the client at last.Self adaptation through the embodiment of the invention provides supports many watch-dogs method can support plurality of devices; And the communications protocol of equipment room is independent of each other (separately safeguard); Monitor supervision platform, client also can be visited adaptively and be connected various equipment; Visit and the flexibility that is connected are provided, in the process of network communication, data have been encrypted, guaranteed the fail safe of communication data.
the above is merely preferred embodiment of the present invention; Not in order to restriction the present invention; All any modifications of within spirit of the present invention and principle, being done, be equal to replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. a self adaptation is supported the method for many watch-dogs, it is characterized in that, the protocol configuration of various monitor video equipment is become the XML form, and various video equipment is all supported the XML FTP; Client is given monitoring of tools platform SDK according to user's operation information sending function request instruction, and the information and user's the operation that comprise the video equipment of user's appointment in this function request instruction at least require information; When SDK receives function request instruction or this equipment of this client first is when being asked first; SDK will be according to the function request instruction of this client video equipment transmitting apparatus agreement request to appointment; Download the XML agreement on the request slave unit; The equipment of receiving request will send echo message to SDK, and self XML agreement is sent to SDK; The control command agreement that SDK obtains facility information and supported from the XML agreement of downloading; Function request for the client transmission; SDK judges according to agreement whether requested equipment supports this feature operation; If support then SDK converts the control command that meets the XML agreement into according to the function request of client sends to corresponding equipment, and equipment sent to client for the response of control command.
2. self adaptation as claimed in claim 1 is supported the method for many watch-dogs; It is characterized in that, be when being asked first when SDK receives function request instruction or this equipment of this client first, and SDK will detect the login state of this client earlier; If unregistered success before this client; Then the information of the direct sending function request failure of SDK is given client, if the registered success of this client, then SDK is to the video equipment transmitting apparatus agreement request of appointment.
3. self adaptation as claimed in claim 1 is supported the method for many watch-dogs; It is characterized in that; The equipment of receiving request comprises state information and file size in the echo message that SDK sends; Wherein, whether successful state information be request the echo message of expression SDK, and file size is the size of XML document of agreement of the equipment transmission of the request of receiving; Whether the size of the XML agreement of this equipment that SDK relatively receives is consistent with the document size information in the echo message of this equipment of receiving; If unanimity then SDK, include whether information of successful of expression SDK download protocol file to this device transmits and downloads echo message in this information.
4. self adaptation as claimed in claim 1 is supported the method for many watch-dogs, it is characterized in that, when the agreement of equipment change took place or increases new equipment, the operating personnel of SDK were uploaded to the New Deal of this equipment in this equipment through SDK through SDK and preserve; When uploading; SDK sends upload request to this equipment earlier; Whether successful equipment receives that request back sends corresponding echo message and give SDK, include expression SDK upload request state information in this echo message, if successful request; SDK will upload information and new document of agreement is sent to this equipment, and whether the said information that includes the XML document of agreement size that SDK uploads in the information and the expression SDK of uploading upload information of successful.
5. self adaptation as claimed in claim 1 is supported the method for many watch-dogs, it is characterized in that, in SDK and equipment, is equipped with the encryption and decryption module of data, and the data of sending and receive are carried out encryption and decryption.
CN201110456209.5A 2011-12-31 2011-12-31 Method for self-adaptive support of more pieces of monitoring equipment Active CN102523235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110456209.5A CN102523235B (en) 2011-12-31 2011-12-31 Method for self-adaptive support of more pieces of monitoring equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110456209.5A CN102523235B (en) 2011-12-31 2011-12-31 Method for self-adaptive support of more pieces of monitoring equipment

Publications (2)

Publication Number Publication Date
CN102523235A true CN102523235A (en) 2012-06-27
CN102523235B CN102523235B (en) 2014-05-14

Family

ID=46294027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110456209.5A Active CN102523235B (en) 2011-12-31 2011-12-31 Method for self-adaptive support of more pieces of monitoring equipment

Country Status (1)

Country Link
CN (1) CN102523235B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016000632A1 (en) * 2014-07-03 2016-01-07 U3D Limited Adaptive control and management for electronic device
CN108055507A (en) * 2017-12-19 2018-05-18 四川九洲电器集团有限责任公司 A kind of data group bag method for video analytic system communication
CN108696523A (en) * 2018-05-14 2018-10-23 平安科技(深圳)有限公司 A kind of response method and equipment of session services
CN112714161A (en) * 2020-12-22 2021-04-27 北京金山云网络技术有限公司 Video access method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127893A (en) * 2007-09-05 2008-02-20 中国电信股份有限公司 Integrated control method and system for network camera SIP extension
CN101365108A (en) * 2007-08-07 2009-02-11 中国电信股份有限公司 Method and system architecture for realizing service interconnection between multiple video monitoring platforms
CN101470937A (en) * 2007-12-25 2009-07-01 北京国通创安信息技术有限公司 Access machine of urban monitoring alarm networking system and its monitoring method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365108A (en) * 2007-08-07 2009-02-11 中国电信股份有限公司 Method and system architecture for realizing service interconnection between multiple video monitoring platforms
CN101127893A (en) * 2007-09-05 2008-02-20 中国电信股份有限公司 Integrated control method and system for network camera SIP extension
CN101470937A (en) * 2007-12-25 2009-07-01 北京国通创安信息技术有限公司 Access machine of urban monitoring alarm networking system and its monitoring method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016000632A1 (en) * 2014-07-03 2016-01-07 U3D Limited Adaptive control and management for electronic device
CN108055507A (en) * 2017-12-19 2018-05-18 四川九洲电器集团有限责任公司 A kind of data group bag method for video analytic system communication
CN108696523A (en) * 2018-05-14 2018-10-23 平安科技(深圳)有限公司 A kind of response method and equipment of session services
CN108696523B (en) * 2018-05-14 2021-11-19 平安科技(深圳)有限公司 Response method and device for call service
CN112714161A (en) * 2020-12-22 2021-04-27 北京金山云网络技术有限公司 Video access method, device and system

Also Published As

Publication number Publication date
CN102523235B (en) 2014-05-14

Similar Documents

Publication Publication Date Title
WO2012118639A4 (en) Remote monitoring systems for monitoring medical devices via wireless communication networks
US11223657B2 (en) One-way coupling device, request apparatus and method for feedback-free transmission of data
EP3182324B1 (en) System and method for secure communications between a computer test tool and a cloud-based server
US10218586B2 (en) System and method for enabling the capture and securing of dynamically selected digital information
JP6208381B2 (en) Device management method, apparatus, system, program, and recording medium
CN112291200B (en) Method and system for trusted access of edge computing APP to Internet of things edge agent
CN112071320A (en) Intelligent equipment voice control system and method
CN102523235B (en) Method for self-adaptive support of more pieces of monitoring equipment
EP2880832B1 (en) Method for configuring network nodes of a telecommunications network, telecommunications network, program and computer program product
US20080106423A1 (en) Monitoring Systems and Methods that Incorporate Instant Messaging
RU2017131267A (en) MACHINE CONTROL DEVICE
JP4624443B2 (en) Network device setting method
KR101707633B1 (en) Method of data enterchange between standrd/non-standard application protocol and Middleware with dynamic control from user-defined condition
CN104468497A (en) Data isolation method and device of monitoring system
CN114697355B (en) Data processing method and gateway equipment of Internet of things
CN109150661A (en) A kind of method for discovering equipment and device
CN113259347B (en) Equipment safety system and equipment behavior management method in industrial Internet
CN109302440A (en) The matching method of IoT equipment and cloud service
CN113055253B (en) Method, device, equipment and storage medium for rapidly opening home gateway
JP2014060636A (en) Communication interface conversion device
JP2009177239A (en) Network relay apparatus
CN109519162B (en) Drilling site digital communication command method, device, system and storage medium
CN112995305A (en) Remote power monitoring method based on IEC104 protocol, and system, device and medium thereof
GB2586425A (en) System and method for cybersecurity framework among network devices
KR20180137827A (en) OPC-UA based facility status monitoring system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210513

Address after: No. 6, Jiuhua Road, khuchuang Park, Mianyang, Sichuan

Patentee after: Sichuan Jiuzhou Investment Holding Group Co.,Ltd.

Address before: 621000 No. 16 Yuejin Road, Fucheng District, Sichuan, Mianyang

Patentee before: SICHUAN JIUZHOU ELECTRIC GROUP Co.,Ltd.