EIPC-based TCF communication method and device
A communication channel and channel technology, which is applied in inter-program communication, program control design, instruments, etc., can solve the problems of increasing workload, etc., and achieve the effect of convenient setting, priority-based, and unified interface
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] This embodiment provides a TCF communication method based on EIPC, including the following steps:
[0030] Step A: Initialize send and receive handles:
[0031] The TCF client and the TCF agent call the msgOpen function of EIPC to generate the sending and receiving handles respectively;
[0032] Step B: The TCF agent enters the accept state, and the TCF client enters the connect state:
[0033] After step A is completed, the TCF agent sends an asynchronous request event IPCAsyncReqAccept. Next, the TCF agent will create a thread to respond to this event. Considering that there is no accept function similar to network programming in the interface function of EIPC, but EIPC receives The function can be blocked, therefore, the TCF agent uses the blocking function of the receiving function to realize the accept function. Similarly, the TCF client will send an asynchronous request event IPCAsyncReqConnect, and the TCF client will also create a thread to respond to this eve...
Embodiment 2
[0046] This embodiment provides a TCF communication device based on EIPC, including an upper computer terminal and a lower computer terminal, wherein, the upper computer terminal runs a TCF client, and the lower computer terminal is provided with multiple CPUs, and each CPU is equipped with multiple Each core runs a TCF agent, and an EIPC communication channel is set between any TCF client and any TCF agent.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 