Open Access

Communication Architecture Design and Case Study of Embedded Partition Real-Time Operating System

   | May 21, 2023

Cite

Figure 1

Partition embedded real-time operating system architecture
Partition embedded real-time operating system architecture

Figure 2

Process basic state and its transition diagram
Process basic state and its transition diagram

Figure 3

Sampling port message communication process
Sampling port message communication process

Figure 4

Queue port message communication process
Queue port message communication process

Figure 5

Communication between partition modules
Communication between partition modules

Figure 6

Data sending process in partitioned operating system
Data sending process in partitioned operating system

Figure 7

Data receiving process in partitioned operating system
Data receiving process in partitioned operating system

Logical structure of virtual port

content Function
PortID Port ID (receive/send, the same below)
MsgName Subject information
MsgMaxSize Maximum length of buffered message
MsgMaxNum Maximum number of buffered messages
MsgQueueID Message queue ID
DestMsgQueueID The ID of the buffer message queue of the receiving port bound to the sending port (sending)
PsudoID Virtual port user configuration number
DevHdr Device handle of the underlying driver port
EmptyFlag Whether the message buffer is empty
IsAssig Whether to bind with the sending port (receive)

Interface function and corresponding function

Interface function Function
socket( ) Create a socket descriptor
bind( ) Bind the socket to a specific TCP port
listen( ) Listening socket
connect( ) Send a connection request to the server (client-only)
accept( ) Accept connection request (server exclusive)
send( ) send data
recv( ) Receive data
close( ) Close socket
eISSN:
2470-8038
Language:
English
Publication timeframe:
4 times per year
Journal Subjects:
Computer Sciences, other