Software interface design method for communicating with third party intelligent equipment protocol

A smart device and software interface technology, applied in electrical components, digital transmission systems, transmission systems, etc., can solve problems such as increased manpower and time costs, high maintenance costs, frequent changes in main program requirements and interface structures, and reduce costs and risk, ease of maintenance and use

Inactive Publication Date: 2009-04-08
SHENZHEN ZTE NETVIEW TECH
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] 3. For those protocols with strict sending and receiving procedures, the complexity of the control command flow of the main program often makes the control function impossible to achieve or requires a new development of the main program to increase the corresponding functions
[0014] These shortco

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software interface design method for communicating with third party intelligent equipment protocol
  • Software interface design method for communicating with third party intelligent equipment protocol
  • Software interface design method for communicating with third party intelligent equipment protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] like figure 1 As shown, the present invention is characterized in that the smart device protocol dynamic library is set corresponding to the main program, and the smart device protocol dynamic library shows the same interface to the main program for the main program to call the protocol; the functions related to the protocol are stripped out of the main program Separately encapsulated and stored in the smart device protocol dynamic library; the stripped protocol-related functions are:

[0038] 1. Timing control of the protocol, including: protocol sending and receiving process and time control during the sending and receiving process;

[0039] 2. Generation of output protocol frames;

[0040] 3. Framing of the input protocol data stream, verification check, protocol content analysis and protocol analysis result feedback to the main program;

[0041] 4. Convert the control information of the main program into a protocol mode, and output it to the main program according...

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 Login to view more

Abstract

The invention provides a method for designing a software interface communicating with a protocol of third party intelligent equipment. The method comprises the following steps: an intelligent equipment protocol dynamic library is set corresponding to master program; functions related to the protocol are separated from the master program, and independently encapsulated and stored in the intelligent equipment protocol dynamic library; and the intelligent equipment protocol dynamic library presents the same interface for the master program to invoke protocols. As the same interface is presented to the master program, the master program can be transferred after protocols of different intelligent equipment are encapsulated according to the mode, and the master program can transfer all protocol dynamic libraries by using a group of interfaces. The method for designing the interface leads the master program to keep unchanged, thereby greatly reducing cost and risk for switching in the intelligent equipment.

Description

technical field [0001] The invention relates to the field of environment monitoring, in particular to a software interface design method for a power environment monitoring system to access a third-party intelligent device. Background technique [0002] In the operation of the network, there are many power and environmental equipment manufacturers in my country, and the protocols of the smart devices developed and produced by various manufacturers are different. Even smart devices developed by the same manufacturer in different periods have different protocol sending and receiving processes. The current common protocol sending and receiving processes are as follows: [0003] 1. Request-response mode. The request-response mode has a 1-to-1 mode, 1 request corresponds to 1 response; 1-to-many mode, 1 request corresponds to multiple responses; many-to-1 mode, multiple requests correspond to 1 response; [0004] 2. Report—confirmation mode. Reporting—confirmation mode has 1-t...

Claims

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

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06H04L12/56
Inventor 翟卫东张雪林马志鸿陈艺高夏永波
Owner SHENZHEN ZTE NETVIEW TECH
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