Method and system based on real-time communication among hybrid multi-system cores

A real-time communication, multi-system technology, applied in the directions of inter-program communication, multi-programming devices, instruments, etc., can solve the problems of increased system resource overhead, no transmission framework support, difficult realization of technical coefficients, etc., to reduce system performance degradation, The effect of reducing hardware resource consumption

Active Publication Date: 2019-07-05
北京翼辉信息技术有限公司
View PDF5 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] (1) Insufficient real-time performance. Data exchange between multi-core and multi-operating systems needs to be processed by an intermediate virtual machine, which will inevitably result in reduced real-time performance.
[0009] (2) Increase the overhead of system resources, and the creation of virtual machines requires additional hardware resources to provide support
[0010] (3) It is difficult to realize the technical coefficient, and the realization of virtualization technology requires the realization of virtual operating system
[0014] (3) It does not support multi-core and multi-SMP systems, only supports multi-core AMP system mode
[0015] (4) The implementation is relatively cumbersome, different transmission messages require different drivers and application implementations, and there is no unified transmission framework support

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
  • Method and system based on real-time communication among hybrid multi-system cores
  • Method and system based on real-time communication among hybrid multi-system cores
  • Method and system based on real-time communication among hybrid multi-system cores

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0079] Such as figure 1 As shown, it is an overall frame structure diagram of a real-time communication system based on a hybrid multi-system inter-core in an embodiment of the present invention.

[0080] A system based on hybrid multi-system inter-core real-time communication, characterized in that the system includes: a configuration module, an inter-core notification module and an inter-core data exchange module, the inter-core notification module and the inter-core data exchange module Constitute the network driver layer module; where,

[0081] The configuration module is used to uniformly configure the sending and receiving address space of each system, the mapping relationship table of each system, and the hardware address and IP address of each system communication;

[0082] The inter-core notification module is used to notify the specified processor cores that the sending or receiving is completed, and is realized by using the multi-core inter-core interrupts of each ...

Embodiment 2

[0086] Such as figure 2 Shown is the memory allocation method in the embodiment of the present invention.

[0087] The memory allocation is a continuous physical memory address, which is respectively the configuration area: used for the MAC address, IP address, check code of each system and the data control address of each system core, the physical address of the data packet sending and receiving; the data control address : It is used to obtain the data packet reception status between each system and whether the virtual network card is activated; Data area: It is used for the address of sending and receiving data stored between each system.

Embodiment 3

[0089] Such as image 3 Shown is the specific configuration process of the configuration module in the embodiment of the present invention in the embodiment of the present invention.

[0090] The specific configuration information of the configuration module includes: the version number of the inter-core communication module, the binding relationship between each operating system and the processor core, the physical memory address of the data sent and received by each operating system, the MAC address of each operating system, and the IP address.

[0091] The specific configuration process of the configuration module includes:

[0092] Step 1, mapping the physical configuration address, a mapped continuous physical memory address;

[0093] Step 2, write the processor core and system mapping table according to the pre-configuration;

[0094] Step 3, allocating communication memory between operating systems according to the maximum number of system support and the actual rese...

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 a method and system based on the real-time communication among the hybrid multi-system cores. The method comprises the following steps of when the real-time operating system collects data, filling a network application layer data packet with the data through a network application, sending the data packet to an underlying network driver through a network protocol stack, analyzing the data packet by the underlying network driver, packaging the data packet into a new data packet format, and filling a corresponding mapped shared memory data area with the data packet; afterthe filling is completed, setting a flag bit of inter-core communication, triggering inter-core interruption or inter-core notification, and notifying another operating system processor core to receive the data packet; using the processor core of the other operating system to detect and check whether the flag bit of the processor core is an inter-core notification generated by the other core or not; and if yes, in response to the interruption, obtaining data from the shared memory data area, submitting the data to a protocol stack of the user layer, and submitting the protocol stack to the user layer for processing, thereby shielding the direct operation of the user layer on the bottom layer, and realizing the data communication in a hybrid multi-system or AMP mode.

Description

technical field [0001] The invention relates to the field of inter-core communication, in particular to a method and system based on hybrid multi-system inter-core real-time communication. Background technique [0002] The invention relates to a solution for real-time data exchange between cores of multi-core processors in the embedded field while running different systems. In recent years, with the development of processor technology, the emergence of multi-core homogeneous and multi-core heterogeneous processors has made the software and hardware solutions in the embedded field more diversified. In a multi-core processor, the multi-core feature can be used to allow different cores to run different operating systems in parallel to solve specific integration requirements such as application ecology and real-time performance. In this type of environment, the data exchange between each operating system and processor core Method and performance are particularly important. [...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54
CPCG06F9/542G06F9/544
Inventor 焦进星弓羽箭李孝成陈健王翾闫佳伟王东方韩辉
Owner 北京翼辉信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products