As mentioned above, the execution environment should be implemented at a relatively low level in the protocol stack. When designing, it involves the selection of a specific layer, and the basic principle of selection is the efficiency and versatility of packet processing. Based on this, the execution environment should generally be implemented at the network layer or the transport layer. Since the transport layer commonly uses two different protocols, TCP/UDP, the implementation of EE at this layer must be implemented for TCP and UDP respectively, and the efficiency of the transport layer is relatively low, so it is not implemented at the transport layer.
Consider the following three options:
(1) Device driver layer;
(2) Generic device functions layer;
(3) IP layer. Although higher efficiency can be achieved if implemented at the device driver layer, it is necessary to modify (hacking) the standard device driver, and it is not possible to achieve a unified and universal implementation for different network devices. The device general interface function layer has a unified and universal implementation for all network devices, and its efficiency is relatively high; but it also has one disadvantage: it is necessary to directly modify the core code of the operating system, which will make it difficult to implement the runtime extension interface mentioned above, and its portability is also poor. This article decides to implement the execution environment at the IP layer. On the one hand, its efficiency is almost the same as that of the device general interface function layer; on the other hand, the runtime extension interface can be implemented more conveniently at this level, and this interface has good ease of use.
Design and Implementation of Active Network Execution Environment in Practical Network
Previous article:Several basic skills that should be mastered in the development and design of single chip microcomputers
Next article:The principle design of leakage detection instrument using NEC single chip microcomputer
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Issues related to the initial value of the RAM inside the MCU after power-on
- Prize-winning live broadcast: Building a sensor-based test system using NI CompactDAQ and LabVIEW Sign up now!
- There is a problem with the secondary amplifier circuit, please help!
- What's new in TI BOM and Cross Reference Tools?
- [Mil MYC-JX8MPQ Review] + Communication between heterogeneous processors
- Share the solution to the problem that MSP430 CCS6.2 cannot start simulation
- [Project Source Code] Summary of Common Knowledge Points of Custom IP in NIOS II SOPC System
- In CCS3.3, the TMS320LF24XX Flsh programmer is missing in the tools item.
- LCD display screen flickering
- Save 50 (last 4 places): Buy STM32WB Nucleo Bluetooth Kit (including USB Dongle)