Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for automatically generating multi-hardware interface communication protocol software on demand

A technology of automatic generation and hardware interface, applied in the direction of software design, etc., can solve the problem of reducing system development time, achieve the effect of reducing repetitive work time and good universality

Inactive Publication Date: 2021-09-10
TIANJIN UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This significantly reduces the overall system development time

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
  • A method for automatically generating multi-hardware interface communication protocol software on demand
  • A method for automatically generating multi-hardware interface communication protocol software on demand
  • A method for automatically generating multi-hardware interface communication protocol software on demand

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be further described below in conjunction with the accompanying drawings.

[0034] Such as Figure 2 to Figure 5-2 As shown, the core of the method of the present invention lies in the automatic generation technology, and the premise of automatic generation is the unified protocol. Therefore, the realization of the invention is divided into two parts: (1) offline protocol unification, which mainly uses transmission coding format unification technology, pipeline technology and program prefabrication technology. (2) Online automatic generation, mainly using database technology, automatic program generation technology and dynamic link technology.

[0035] The method of the invention can realize the unification of current mainstream hardware communication protocols. First, unify the functions. Unify the functions of hardware interfaces that may be used in system development into two functions—uplink and downlink. The functions implemented by d...

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 discloses an on-demand automatic generation method of multi-hardware interface communication protocol software, which includes two stages of offline protocol unification and online automatic generation; the offline protocol unification stage includes: determining all hardware types and attribute basic data involved in the project ; establish a database; establish a separate communication channel for each type of hardware; write a pipeline operation program, a bit-by-bit data analysis program and a bit-by-bit data loading program to form a preset program; according to the specific properties of the hardware, write a program that can directly connect to the underlying driver. In order to realize the specificity of the hardware interface and compile it into the preset program. The online automatic generation stage includes: the user enters basic data; writes the automatic program generation program according to the automatic program generation technology; calls the program to automatically generate the program; The interface communication function to be called; dynamically compile the generated preset program to generate a dynamic link library.

Description

technical field [0001] The invention relates to the field of computer software, in particular to a method for generating communication software for one of required multiple hardware interfaces by using dynamic link technology and database technology. Background technique [0002] At present, in the development of large-scale software systems, there are usually cases where a system includes multiple hardware interfaces. Hardware communication interfaces often only change the type of attributes, but for a single developer, each time a development needs to implement a hardware communication interface, it takes a lot of time to understand, learn, and develop. At the same time, there will be a large number of developers, especially in the case of long-term development, the turnover of personnel will be large. Such as figure 1 As shown, new developers need to re-learn and develop hardware interface communication software. For the entire project, this situation is repetitive wor...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/20
CPCG06F8/20
Inventor 石高涛吴迪
Owner TIANJIN UNIV