Tcf communication method and equipment based on eipc
A technology of communication equipment and communication methods, which is applied in the directions of inter-program communication, program control design, multi-programming device, etc., can solve problems such as increasing workload, and achieve the effect of convenient setting, unified interface and priority-based effect.
- 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 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 event. ...
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 


