Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

IPC communication method

A communication method and communication interface technology, applied in the field of new IPC communication, can solve problems such as limited buffer size, complex control mechanism, and low transmission efficiency

Pending Publication Date: 2021-05-11
中汽创智科技有限公司
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] As a conceptual specification, AP AUTOSAR only defines a series of standardized interfaces in its implementation, and there is no specific implementation of the underlying process, so it leaves a lot of free space for the implementation of the underlying project. Among them, the inter-process communication mechanism is very important for supporting the AP software architecture. Crucially, AP AUTOSAR provides a standardized inter-process or inter-module communication interface ARA::COM definition, including distributed service-oriented communication SOMEIP / DDS and local inter-process communication IPC, where SOMEIP / DDS is mainly used for distributed If the network-based service-oriented communication is used for local inter-process communication, the inter-process IPC mechanism provided by the platform system will be used, and the real-time performance and efficiency will be higher than those based on the network, realizing the local IPC communication. There are also many methods. The traditional IPC mechanisms include: pipelines, message queues, shared memory, sockets, signals, semaphores, etc., but these mechanisms have certain shortcomings.
Pipeline; information is copied twice, and a page-sized memory is allocated at creation time, and the size of the buffer area is relatively limited; message queue: information is copied twice, additional CPU consumption; not suitable for frequent or large-scale communication; shared memory: no need Copying, the shared buffer is directly attached to the virtual address space of the process, which is fast, but issues such as synchronization between processes and parameter transfer require multiple mechanisms to cooperate, and the control mechanism is complicated; socket: information is copied twice, as a more general Interface, low transmission efficiency, mainly used for communication between machines or across networks; semaphore: often used as a lock mechanism, mainly as a means of synchronization between processes and different threads in the same process; signal: not suitable for information Exchange, suitable for process interruption control, such as illegal memory access, killing a process, etc.
[0004] As can be seen from the above, since none of the traditional IPC (InterProcess Communication, inter-process communication) mechanisms can achieve a good balance in terms of transmission performance, stability, security, and language implementation, Binder is born with, in particular, traditional IPC There is also no layered software architecture and calling framework, and natively cannot provide support for the SOA concept and service-oriented communication of the AP AUTOSAR platform. That is to say, the traditional IPC does not naturally have the excellent ability to adapt to the AP AUTOSAR platform.

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
  • IPC communication method
  • IPC communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Below in conjunction with specific embodiment, further elaborate the present invention. Embodiments of the present invention relate to a novel IPC communication method based on Binder and Adaptive AUTOSAR standards, especially in this embodiment, the communication flow between the basic function cluster FC internal processes of AdaptiveAUTOSAR is described, when Binder is used as the concrete realization of IPC , the communication in this scenario can be easily completed, and the specific implementation process is as follows figure 2 shown.

[0032] The FC IFC interface based on Binder realizes inter-process communication between functional cluster FCs, which is a strong support for AdaptiveAUTOSAR system, which facilitates inter-process communication and function expansion between FCs, including FC Data data layer, FCRPC remote communication layer, and FC Transport transmission Layer and Binder Driver driver layer.

[0033] The FC Data data layer includes an agent e...

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 provides an IPC communication method, which comprises the following steps: a RPC interface is respectively bound according to standard interfaces of communication interfaces among modules, and the integration of a Binder calling framework layer and an Adaptive AUTOSAR standard interface is completed; and the RPC layer analyzes the protocol data after receiving the protocol data reported by the transmission layer, and distributes the data to different inter-module communication interfaces according to different protocol instructions. A better communication basis is provided for service-oriented communication and an SOA design concept; the solution of communication layer design and AP platform inter-process communication is more optimized, and communication between internal processes is simplified.

Description

technical field [0001] The invention relates to a novel IPC communication method, in particular to a novel IPC communication method based on Binder and AdaptiveATUOSAR standards. Background technique [0002] AUTOSAR is the automotive open system architecture. It mainly provides high-performance computing and communication mechanisms, and provides flexible software configuration. It is born in response to the future development of automotive electrification, networking, and intelligence. AP (Adaptive Platform) needs to be used as middleware. Support various complex application scenarios of autonomous driving, support communication between various application software modules and scheduling of system resources. [0003] As a conceptual specification, AP AUTOSAR only defines a series of standardized interfaces in its implementation, and there is no specific implementation of the underlying process, so it leaves a lot of free space for the implementation of the underlying proje...

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): G06F9/54
CPCG06F9/547G06F9/54
Inventor 李丰军周剑光
Owner 中汽创智科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products