Parallel bus data space management method and system and master device

A data space and management method technology, applied in the field of communication, can solve the problems of poor flexibility and expansion convenience

Active Publication Date: 2021-05-14
CSR ZHUZHOU ELECTRIC LOCOMOTIVE RES INST
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention overcomes the problems of poor flexibility and expansion convenience in the bus communication mode in the prior art, and provides a parallel bus data space management method, master device and system

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
  • Parallel bus data space management method and system and master device
  • Parallel bus data space management method and system and master device
  • Parallel bus data space management method and system and master device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] see figure 1 , the present embodiment provides a parallel bus data space management system 10, including a master device 12, a slave device 14 and a plurality of slots 16, the slave device 14 can be one or more, and each slave device 14 can be correspondingly arranged in a slot 16 and connected to the master device 12 through a bus.

[0038] Please combine the picture figure 2 , the master device 12 stores a bus address space for data exchange, the bus address space includes a data space and a configuration space, and the configuration space includes a configuration address space corresponding to each of the slots 16 .

[0039] When the slave device 14 is set in the slot 16, the mapping relationship between the slave device configuration space of the slave device 14 and the configuration address space of the slot 16 is established according to the preset mapping rules, and the slave device of the slot 16 Device information of the slave device 14 is stored in the conf...

Embodiment 2

[0060] Please refer to image 3 , this embodiment provides a parallel bus data space management method, which can be applied to the master device 12 in the parallel bus data space management system 10 in the first embodiment above, and the parallel bus data space management system 10 includes slaves A device 14 and a plurality of slots 16, each of the slave devices 14 can be correspondingly arranged in a slot 16 and connected to the master device 12 through a bus, and the master device 12 stores a bus address for data exchange space, the bus address space includes a data space and a configuration address space corresponding to each of the slots 16, and the method includes:

[0061] Step S110: Detect whether a slave device configuration space is mapped in the configuration address space corresponding to each slot 16.

[0062] Wherein, when the slave device 14 is set in the slot 16, a slave device configuration space is mapped in the configuration address space corresponding to...

Embodiment 3

[0076] The embodiment of the present application provides a master device 12, including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the parallel bus data space management as described in the second embodiment is realized method.

[0077] Wherein, the processor is configured to execute the steps in the method for managing parallel bus data space in the first embodiment. The memory is used to store various types of data, which may include, for example, instructions of any application or method in the host device 12, as well as application-related data.

[0078] The processor may be an Application Specific Integrated Circuit (ASIC for short), a Digital Signal Processor (DSP for short), a Digital Signal Processing Device (DSPD for short), a programmable logic device (ProgrammableLogicDevice, be called for short PLD), Field Programmable Gate Array (Field Programmable Gate Array, be called for short FPG...

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 discloses a parallel bus data space management method and system, and a master device. the system comprises the master device, slave devices and a plurality of slot positions, each slave device can be correspondingly arranged in one slot position and is connected with the master device through a bus, and a bus address space for data exchange is stored in the master device. The bus address space comprises a data space and a configuration address space corresponding to each slot. The method comprises the following steps: detecting whether a slave device configuration space is mapped in the configuration address space corresponding to each slot, and when it is detected that the slave device configuration space is mapped in the configuration address space, acquiring equipment information mapped from the slave equipment configuration space to the configuration address space, and allocating a data address space in the data space to the slave equipment to which the equipment information belongs, so that the master equipment performs data interaction with the slave equipment through the data address space, the problem that a bus communication mode in the prior art is poor in flexibility and expansion convenience is solved.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a parallel bus data space management method, a master device and a system. Background technique [0002] In application scenarios such as multi-device or chassis-type multi-plug-in, the bus communication generally adopts an ordinary master-slave parallel communication bus. In this bus, a master-slave structure of a single master device and other slave devices is generally adopted. The master device can actively initiate access and read and write to each slave device through the bus, which is often conducive to improving the scalability of the overall structure, and at the same time can simplify the hardware link to a certain extent and reduce hardware costs. [0003] In this architecture bus, generally by setting a certain identification hard-wire channel on the hardware, a fixed bus address space is allocated to various devices, and the master device can ident...

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): G06F13/40G06F13/42
CPCG06F13/4068G06F13/4204
Inventor 凡林斌梅文庆邱岳烽武彬李淼杨胜段海波杨烁
Owner CSR ZHUZHOU ELECTRIC LOCOMOTIVE RES INST
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