Supercharge Your Innovation With Domain-Expert AI Agents!

Single-chip microcomputer program construction method based on layered architecture thought

A technology of layered architecture and construction method, applied in the computer field, can solve the problems of difficult teamwork, difficult code expansion, and difficult reading of code, and achieve the effect of easy reading, standardization of program development, and clear code hierarchy.

Pending Publication Date: 2022-05-13
TAIAN SUCCEED ELECTRONICS SCI & TECH +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, when many software engineers write single-chip microcomputer programs, they often "mix" the business logic code with the underlying code such as data analysis, and the program code is strongly coupled. The code written in this way has the following disadvantages: (1) The code is not easy to read; (2) ) The code is not easy to expand; (3) The code is not easy to modify; (4) It is not easy to cooperate in a team; therefore, it is necessary to develop a method for building MCU programs to standardize the development of MCU programs

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
  • Single-chip microcomputer program construction method based on layered architecture thought
  • Single-chip microcomputer program construction method based on layered architecture thought

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the above objects, features and advantages of the present invention more comprehensible, specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention can be implemented in many other ways different from those described here, and those skilled in the art can make similar improvements without departing from the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.

[0024] The accompanying drawing is a specific embodiment of a single-chip microcomputer program construction method based on the idea of ​​layered architecture of the present invention. When constructing a single-chip microcomputer program, a layered construction is adopted, from top to b...

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 a single-chip microcomputer program construction method based on a layered architecture idea, and relates to the technical field of computers. When a single-chip microcomputer program is constructed, layered construction is adopted and comprises an equipment layer, a service logic layer, a transmission protocol layer, a communication interface layer, a hardware abstraction layer and a physical layer from top to bottom; the internal data of the program is transmitted from the business logic layer to the physical layer downwards layer by layer or transmitted from the physical layer to the business logic layer upwards layer by layer, and each layer only exchanges data with the adjacent layer through the API of the module object. According to the single-chip microcomputer program construction method based on the hierarchical architecture idea, the code hierarchical structure is clear and easy to read; layering and modularization realize weak coupling of codes, so that program codes are easy to expand and modify.

Description

technical field [0001] The invention belongs to the technical field of computers, and relates to a single-chip microcomputer program construction method based on the idea of ​​layered architecture. Background technique [0002] Generally speaking, compared with computer programs, single-chip microcomputer programs are less complex, but this does not mean that single-chip microcomputer programs do not require architectural design. At present, when many software engineers write single-chip microcomputer programs, they often "mix" the business logic code with the underlying code such as data analysis, and the program code is strongly coupled. The code written in this way has the following disadvantages: (1) The code is not easy to read; (2) ) The code is not easy to expand; (3) The code is not easy to modify; (4) It is not easy to work in a team; therefore, it is necessary to develop a single-chip program construction method to standardize the development of single-chip program...

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): G06F8/20G06F13/10
CPCG06F8/20G06F8/24G06F13/102
Inventor 张帅王超刘金海郑瑞良
Owner TAIAN SUCCEED ELECTRONICS SCI & TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More