Spacecraft remote memory access architecture and method based on space packet
Through a hierarchical architecture based on space packages, the complexity of traditional spacecraft memory access is solved, remote memory access and interface unification is achieved, and memory access range and software development efficiency are improved.
Patent Information
- Application Number
- CN202210947802.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-08-05
AI Technical Summary
Traditional spacecraft are difficult to achieve access to memory in different networks, remote memory access, and adapt to memory location changes and interface changes, resulting in complex and inflexible software development.
It adopts a layered service and protocol architecture based on space packages, including application layer, delivery layer and subnet layer, and realizes remote memory access through space package protocol, supports unified access to different hardware interfaces, and adapts to memory location and interface changes.
Remote access to different networks and other spacecraft memory within the spacecraft is realized, the memory access range is improved, distributed file storage is supported, software development is simplified, and development efficiency and quality is improved.
Smart Images

Figure CN115473566B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of integrated electronic technology of spacecraft, and in particular to a spacecraft remote memory access architecture and method based on space packets. Background Art
[0002] When traditional spacecraft access memory, they usually read and write memory of devices directly connected to the computer through various interfaces through device drivers. The above design has the following shortcomings:
[0003] 1) It is difficult to access memories located in different networks inside the spacecraft. For example, the onboard computer and the device to be accessed are in two different bus networks.
[0004] 2) It is difficult to achieve remote access to the memory of different spacecraft, for example, the memory to be accessed is in another spacecraft.
[0005] 3) It is difficult to adapt to changes in memory locations. When the memory location to be accessed changes, software development is generally required to be re-performed.
[0006] 4) Unable to adapt to changes in the memory interface, the corresponding software is a dedicated design.
[0007] Therefore, there is currently a lack of a solution that enables remote access to onboard storage. Summary of the invention
[0008] In view of this, the present invention provides a spacecraft remote memory access architecture and method based on space packets, which can be used for remote access to onboard memory.
[0009] To achieve the above-mentioned purpose, the technical solution of the present invention is: based on the aerospace remote memory access architecture of the space packet, a layered service and protocol architecture is constructed for remote memory access, including the application layer, the transmission layer and the sub-network layer. The application layer is various services or applications, and the memory access service is called through the space packet protocol of the transmission layer to realize remote access. The space packet protocol of the transmission layer routes the space packet according to the destination application process identifier APID in the space packet. The sub-network layer memory access service realizes the access to the local memory.
[0010] Furthermore, both the source computer and the destination computer adopt this architecture.
[0011] Another embodiment of the present invention further provides a spacecraft remote memory access method based on space packets, wherein both the source computer and the destination computer adopt the architecture, and the method comprises the following steps:
[0012] Step 1: Initialize the space packet protocol and memory access service inside the source and destination computers.
[0013] Step 2: Inside the source computer, the user application organizes the PDU of the storage remote packet access and passes it to the space packet protocol.
[0014] Step 3: Inside the source computer, the spatial packet protocol passes it to the lower-layer packet service based on the APID table lookup, and the latter delivers it to the destination computer.
[0015] Step 4: Inside the destination computer, the spatial packet protocol obtains the spatial packet from the lower-layer packet service, looks up the table and passes it to the lower-layer memory access service.
[0016] Step 5. Inside the destination computer, after the memory access service receives the packet, it parses the packet command to find out that it is a memory access read command, and allocates a destination end read command data buffer DM, the buffer size of which is the total length of the memory access read command execution result report space packet. According to the Memory ID, it is determined that the read command is a local module command, and the command is sent to the module access processing. The module access processing reads the data block according to the specified address and length, stores it in the storage area DM, generates a command execution result report and sends it to the command execution result sending processing. The command execution result sending processing submits the received command execution result report to the transmission layer.
[0017] Step 6: Inside the destination computer, the delivery layer sends the command execution result report to the underlying packet service, which sends the report to the source computer.
[0018] Step 7: Inside the source computer, the delivery layer sends the command execution result report received by the packet service to the user application.
[0019] Furthermore, in step 1, initializing the memory access service specifically includes: setting a memory access service module address translation table, wherein the table includes a device driver name and a corresponding memory address Memory ID.
[0020] Furthermore, in step 2, inside the source computer, the user application organizes the PDU of the memory remote packet access, which specifically includes five sections, namely: the transaction ID representing this transaction, the authorization identifier Authorisation, the memory identifier Memory ID, the disclosure address of the memory data to be accessed this time, and the length of the data to be read for this access.
[0021] Beneficial effects:
[0022] 1) The present invention provides a spacecraft remote memory access architecture based on space packets, and constructs a layered service and protocol architecture for remote memory access, including an application layer, a transmission layer, and a subnet layer; the application layer is various services or applications, and the space packet protocol of the transmission layer calls the memory access service to realize remote access; the space packet protocol of the transmission layer routes the space packet according to the destination application process identifier APID in the space packet; the subnet layer memory access service realizes the access to the local memory. This architecture can be used for remote access to onboard memory.
[0023] 2) The present invention provides a spacecraft remote memory access method based on space packets. By encapsulating the memory access commands and results into space packets and a routing mechanism based on space packets, it can realize access to memories in different networks inside the spacecraft and remote access to memories of other spacecraft, thereby greatly improving the scope of memory access and providing technical support for the subsequent realization of distributed file storage, etc.
[0024] 3) The invention provides a spacecraft remote memory access method based on space packets. By defining a unified access interface of the memory, unified access to memories with different hardware interfaces can be achieved, so that users do not need to care about the specific hardware interface used by the memory, and can also shield changes in its interface. It can also flexibly adapt to changes in the memory location to achieve transparent access to the memory.
[0025] 5) The invention provides a spacecraft remote memory access method based on space packages. By applying standardized space packages and memory access services, a standardized access mechanism can be provided for various types of spacecraft in different fields, supporting the componentization and universal design of related software, thereby realizing the reuse of related software on different spacecraft and improving software development efficiency and quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a schematic diagram of a layered service architecture for remote storage access;
[0027] Figure 2 It is a schematic diagram of the memory access business processing process. DETAILED DESCRIPTION
[0028] The present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0029] A spacecraft remote memory access method based on space packets is used to access the spacecraft remote memory. Taking the spaceborne computer (SMU) remote access data interface unit (SDIU) processor module as an example, the method includes the following steps:
[0030] Step 1: Build a layered service and protocol architecture for remote storage access, including application layer, transport layer, and subnet layer, such as Figure 1 The specific business functions corresponding to each layer are as follows:
[0031] (1) The application layer is for various services or applications, which can call the storage access service through the space packet protocol of the transmission layer to achieve remote access.
[0032] (2) The spatial packet protocol of the transport layer can route the spatial packets according to the destination application process identifier (APID) in the spatial packets.
[0033] (3) Subnet layer memory access service implements access to local memory.
[0034] Both SMU and SDIU adopt the above protocol architecture.
[0035] Step 2: Initialize the space packet protocol and memory access service in SMU and SDIU. The specific process is as follows:
[0036] (1) Configure the routing table of the SMU delivery layer space packet protocol, set the destination of APID to 0x439 to SDIU. Configure the routing table of the SDIU delivery layer space packet protocol, set the destination of APID to 0x479 to SMU.
[0037] (2) Initialize memory access services.
[0038] Set the memory access service module address translation table as shown in Table 1:
[0039] Table 1 Memory access service module address conversion table
[0040]
[0041] Step 3: Inside the SMU, the user application organizes the PDUs for memory remote packet access, as shown in Table 2:
[0042] Table 2 PDU structure of memory remote packet access
[0043]
[0044] Table 3 Data format in PDU
[0045] Transaction ID Authorisation Memory ID Data start address Read data length 16 bits 8bits 8bits 32bits 16 bits 0xA1 02 0x0 0x09 0x3200300 0x6
[0046] Step 4: Inside the SMU, the spatial packet protocol passes it to the lower-layer packet service based on the APID table lookup, and the latter delivers it to the SDIU.
[0047] Step 5: Inside the SDIU, the spatial packet protocol obtains the spatial packet from the packet service at the lower layer, looks up the table and passes it to the memory access service at the lower layer.
[0048] Step 6: Inside the SDIU, the memory access service receives the packet and processes it, such as Figure 2 As shown. After parsing the package command, it is found that it is a memory access read command, and a destination read command data buffer DM is allocated. The buffer size is the total length of the memory access read command execution result report space package. According to the Memory ID, it is determined that the read command is a local module command, and the command is sent to the module access processing. The module access processing reads the data block according to the specified address and length, and stores it in the storage area DM, generates a command execution result report and passes it to the command execution result sending processing. The command execution result report complies with the space package format defined in the transfer layer design report. The command execution result report format is shown in Table 4:
[0049] Table 4 Command execution result report
[0050] Transaction ID Command execution results data 16 bits 32bits 0xA1 02 0x0 0x00 01 02 03 04 05
[0051] The command execution result sending process submits the received command execution result report to the delivery layer.
[0052] Step 7: Inside the SDIU, the delivery layer sends the command execution result report to the underlying packet service, which sends the report to the SMU.
[0053] Step 8: Inside the SMU, the delivery layer sends the command execution result report received by the packet service to the upper layer application.
[0054] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A spacecraft remote memory access method based on space packets, characterized in that: The source computer and the destination computer both adopt the aerospace remote memory access architecture, in which a layered service and protocol architecture is constructed for remote memory access, including an application layer, a transfer layer, and a subnet layer; The application layer is various services or applications, which call the storage access service via the space packet protocol of the transmission layer to achieve remote access; The spatial packet protocol of the transmission layer routes the spatial packet according to the destination application process identifier APID in the spatial packet; The subnet layer memory access service implements access to the local memory; The method comprises the following steps: Step 1: Initialize the space packet protocol and memory access service in the source and destination computers; Step 2: Inside the source computer, the user application organizes the PDU of the remote packet access of the storage and passes it to the space packet protocol; Step 3: Inside the source computer, the spatial packet protocol passes it to the lower layer packet service based on the APID table lookup, and the latter delivers it to the destination computer; Step 4: Inside the destination computer, the spatial packet protocol obtains the spatial packet from the packet service at the lower layer, looks up the table and passes it to the memory access service at the lower layer; Step 5. Inside the destination computer, after receiving the packet, the memory access service parses the packet command to learn that it is a memory access read command, allocates a destination end read command data buffer DM, and the buffer size is the total length of the memory access read command execution result report space packet; determines that the read command is a local module command according to the Memory ID, and sends the command to the module access processing; the module access processing reads the data block according to the specified address and length, and stores it in the storage area DM, generates a command execution result report and transmits it to the command execution result sending processing; The command execution result sending process submits the received command execution result report to the delivery layer; Step 6: Inside the destination computer, the delivery layer sends the command execution result report to the underlying packet service, which sends the report to the source computer. Step 7: Inside the source computer, the delivery layer sends the command execution result report received by the packet service to the user application.
2. The spacecraft remote memory access method based on space packets according to claim 1, characterized in that: In step 1, initializing the memory access service is specifically as follows: Set the memory access service module address translation table, which contains the device driver name and the corresponding memory address MemoryID.
3. The spacecraft remote memory access method based on space packets according to claim 1 or 2, characterized in that: In step 2, inside the source computer, the user application organizes the PDU of the memory remote packet access, which specifically includes five sections, namely: the transaction ID representing this transaction, the authorization identifier Authorisation, the memory identifier MemoryID, the disclosure address of the memory data to be accessed this time, and the length of the data to be read for this access.
Citation Information
Patent Citations
Uplink data communication method for spacecraft multilevel subnets
CN102983939A
Intermittent communication deep space network data storage and transmission method
CN108075821A
Network architecture
US20070005808A1
System and method for command and data handling in space flight electronics
US20120065813A1
