Font Size: a A A

Compiling Technology Of Implementation On MVC Language Oriented To Telecommunication And Multimedia Fields

Posted on:2017-03-04Degree:MasterType:Thesis
Country:ChinaCandidate:R TaoFull Text:PDF
GTID:2308330482992242Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
The rapid development of computer technology has brought great changes to people’s lives. Although people lived far away thousands of miles, communication technology make it possible that people can communicate with each other by sound and image information. Multimedia devices can easily bring rich and colorful world presented to us. And the great changes in life also make them want a higher quality of service. In communication area, people want their communication network much more security and stability. In multimedia areas, people hold a high expectation about the quality of the images. These has bring huge challenge to programmer in related areas. On one hand, Developers need to continually learn the algorithm in the field of related knowledge; On the other hand, the algorithm is relatively complex in the field of wireless communications and multimedia. This greatly increases the project development time。The algorithm applied in the field of multimedia is mainly used to process images, which in the program are represented by real matrix. Image processing ultimately comes down to handling of the matrix. Though algorithm in wireless communication seems complicated, but in the end the main algorithm can be summed up in BLAS [5](Basic Linear Algebra Subprograms, based on linear kangaroo assemblies, the algorithm mainly includes: SVD [18-20], matrix-vector multiplication, matrix multiplication, norm, specifications, etc.Based on considerations of hardware environment and engineering requirements, Developers implement the algorithm in a different programming language, and sometimes to make optimization a certain degree.For example, programmer make a optimization by adding the intrinsic function in program if the algorithm runs on CPU Or complementing the program in Open Cl if the algorithm runs on GPU. However, in actual engineering projects, the quantities of the project often large, and the engineering complexity is very high, which not only brings great inconvenience for the developer, but also prolong the time of project development. So this paper implements a language named MVC language which is loser to the natural semantics, and complements the conversion to the C language.The main contribution of this paper can be divided into three points:Firstly, We studied the algorithm commonly used in the field of wireless communications and multimedia, converted the commonly used objects and operations of these algorithm, including matrix addition, matrix for the convolution, the vector inner product, etc. And according to the characteristics of the commonly used processing object and operation, we give the syntax structure of MVC language.Secondly, We study and research compiler implementation technology and the compiler to compile process. And make a deep learn on Clang compiler, including Overall architecture design, the syntax tree structure, and the role of internal library functions and the main function of inheritance, etc. And on the basis of the Clang compiler,we make a language extension in lexical, parse and semantic to implement MVC language compiler support.Lastly, We deeply study the source to source translation technology and a MVC flow conversion to C language based on Clang implementing. The main work here can be divided in two aspects. On one hand, we analyze the characteristics of MVC language to draw out the relevant properties of the statements and results in a particular data structure is preserved. On the other hand, by analyzing the characteristics of the MVC language and C language statement,we establish a mapping relationship of the two, so as to guide the realization of the transformation tool.At the end of the paper, we conduct a experiment on the code converted from MVC, respectively under Linux system and Windows system, including code conversion correctness verification and validation code execution correctness and efficiency after conversion.Therefor, this paper implemented the MVC language can not only simplify the programming mode, but also greatly reduce the programmer’s workload.And It can be converted correctly into C language code, and the execution efficiency is high. For the algorithm implementation in the field of wireless multimedia provides a highly efficient and practical solutions.
Keywords/Search Tags:Compiling technology, Clang compiler, Source to source transform techniques
PDF Full Text Request
Related items