A spaceborne device virtualization system and method

CN117724800BActive Publication Date: 2026-08-21BEIJING INST OF SPACECRAFT SYST ENG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311465153.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-06
Publication Date
2026-08-21
Estimated Expiration
2043-11-06

AI Technical Summary

Technical Problem

[0005]3)对应的软件为专用设计,若设备接口变更后应用软件也需要变更

Benefits of technology

[0030] First, the spaceborne equipment virtualization system of the present invention receives and parses user input commands (PDUs) through a virtualization module, and executes general device access protocol (DACP) and special device access protocol (DACP) based on the parsing results. Therefore, it can solve the problem of tight coupling between user application and device location and the specific protocol used to access the device, so that users do not need to care about the device location and the specific protocol used to access the device, thus realizing transparent access to the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117724800B_ABST
    Figure CN117724800B_ABST
Patent Text Reader

Abstract

The application discloses a kind of virtualization system and method of spaceborne equipment, which includes equipment virtualization service module, the equipment virtualization service module receives user input command PDU and analysis, according to the virtual equipment identification obtained by analysis, determine the virtualization service to which the input command belongs;When the virtualization service is general equipment access DACP: equipment virtualization module uses equipment access service to obtain data or send command;When the virtualization service is based on special equipment access DACP: equipment virtualization module uses equipment access service to obtain data, after processing, data is returned to upper layer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a virtualization system and method for spaceborne equipment, belonging to the field of integrated electronic technology for spacecraft. Background Technology

[0002] Traditional spacecraft typically access devices by reading and writing through device drivers. In the design described above, the user application is tightly coupled with the location of the device and the specific protocol used to access it, resulting in the following drawbacks:

[0003] 1) It is difficult to access devices located on different networks inside the spacecraft;

[0004] 2) When the location of the device to be accessed changes, software development is generally required.

[0005] 3) The corresponding software is specially designed. If the device interface is changed, the application software will also need to be changed. Summary of the Invention

[0006] The technical problem solved by this invention is to overcome the shortcomings of the prior art and propose a method and apparatus for virtualizing spaceborne equipment, thereby solving the problem of tight coupling between user applications and the location of the equipment and the specific protocols used to access the equipment.

[0007] The technical solution for implementing the present invention is as follows:

[0008] A spaceborne equipment virtualization system includes an equipment virtualization service module. The equipment virtualization service module receives and parses user input commands (PDUs), and determines the virtualization service to which the input command belongs by querying a device access type table based on the virtual device identifier obtained from the parsing.

[0009] When the virtualization service is General Device Access (DACP): the device virtualization module uses the device access service to acquire data or send commands;

[0010] When the virtualization service is based on special device access DACP: the device virtualization module uses the device access service to obtain data, processes it, and then returns the data to the upper layer.

[0011] Furthermore, the virtualization service described in this invention also includes sending DACP based on ONOFF instructions. When the virtualization service is sending DACP based on ONOFF instructions: the instruction code is obtained by looking up the table through the virtual device value identifier and parameter value identifier, and then the command is sent through the device access service.

[0012] Furthermore, in this invention, when the virtualization service is General Device Access DACP: using the device access service for data acquisition or command transmission, the specific process is as follows:

[0013] The corresponding device and parameter value identifier resolution table is retrieved based on the virtual device identifier, and then the corresponding record in the resolution table is indexed based on the virtual parameter value identifier to organize the command PDU for device access services;

[0014] Call the device access service interface to obtain the telemetry data value of TMS001; fill the memory area corresponding to the data address in the PDU with the telemetry data value of TMS001 obtained from the underlying layer, and fill the execution result into the PDU execution result area;

[0015] The "Commands in Execution" table is queried periodically. If the execution result is not empty, it is submitted to different upper-layer processing procedures according to the "Virtual Device Access Type DACP" field in the "Commands in Execution" table. In this use case, the "Virtual Device Access Type DACP" found is General Data Processing DACP, so the execution result is returned to the command execution result sending interface of the virtualization service.

[0016] Furthermore, in this invention, when the virtualization service is based on accessing DAP via a special device: data is obtained using the device access service, processed, and then returned to the upper layer. The specific process is as follows:

[0017] Allocate a buffer, organize the command PDU for device access services, and pass it to the general device access DACP, which then calls the device access service interface and returns.

[0018] The background periodically queries the "Commands in Execution" table. If the execution result is not empty, it will be submitted to different upper-layer processing procedures according to the "Virtual Device Access Type DACP" field in the "Commands in Execution" table. In this use case, the "Virtual Device Access Type DACP" found is based on the Special Device Access DACP, so the execution result will be passed to the Special Data Processing DACP.

[0019] The Special Data Processing Platform (DACP) indexes the corresponding offset length in the parsing table based on the virtual parameter value, selects data from the pre-allocated buffer, reorganizes the data, puts it into the user data buffer, and returns the command execution result to the command execution result sending interface of the virtualization service.

[0020] Furthermore, the virtualization service described in this invention also includes Local Buffer Read / Write DACP.

[0021] When the virtualization service is Local Buffer Read DAP: data is read directly from the local buffer;

[0022] When writing to the virtualized local buffer using DACP: data is written directly to the local buffer.

[0023] Furthermore, the specific process of reading DAP from the local buffer in the virtualization service described in this invention is as follows: after reading data from the local data buffer, the data is stored in the user data buffer, and the command execution result is sent.

[0024] Furthermore, the specific process of writing DACP to the virtualized local buffer described in this invention is as follows: after writing the data to the local data buffer, the command execution result is sent.

[0025] A method for virtualizing spaceborne equipment, the specific process of which is as follows:

[0026] Receive and parse user input command PDU, and determine the virtualization service to which the input command belongs based on the virtual device identifier obtained from the parsing;

[0027] When the virtualization service is General Device Access (DACP): the device access service is used for data acquisition or command transmission;

[0028] When the virtualization service is based on special device access to DAP: the device access service is used to obtain data, which is then processed and returned to the upper layer.

[0029] The advantages of this invention compared to the prior art are:

[0030] First, the spaceborne equipment virtualization system of the present invention receives and parses user input commands (PDUs) through a virtualization module, and executes general device access protocol (DACP) and special device access protocol (DACP) based on the parsing results. Therefore, it can solve the problem of tight coupling between user application and device location and the specific protocol used to access the device, so that users do not need to care about the device location and the specific protocol used to access the device, thus realizing transparent access to the device.

[0031] Secondly, the virtualization module of this invention is also equipped with an ONOFF instruction sending DACP execution function. When the user inputs an instruction and it is parsed as an ONOFF instruction sending DACP, the instruction can be executed.

[0032] Third, the virtualization module of this invention is also equipped with a local buffer read / write DACP execution function. When the user input command is parsed as a local buffer read / write DACP, the command can be executed.

[0033] Fourth, by establishing a virtualized access service for onboard equipment, this invention can provide a standardized equipment access mechanism for various spacecraft in different fields, support the componentization and generalization design of related software, thereby enabling the reuse of related software in different spacecraft and improving software development efficiency and quality. Attached Figure Description

[0034] Figure 1 This is a schematic diagram of the command and data acquisition business architecture;

[0035] Figure 2 This is a diagram showing the relationships between various business functions related to command and data acquisition.

[0036] Figure 3 This is a schematic diagram of the device virtualization service processing. Detailed Implementation

[0037] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.

[0038] This application embodiment discloses a spaceborne equipment virtualization system, including an equipment virtualization service module. The equipment virtualization service module receives and parses user input commands (PDUs), and determines the virtualization service to which the input command belongs based on the virtual device identifier obtained from the parsing.

[0039] When the virtualization service is General Device Access (DACP): the device virtualization module uses the device access service to acquire data or send commands;

[0040] When the virtualization service is based on special device access DACP: the device virtualization module uses the device access service to obtain data, processes it, and then returns the data to the upper layer.

[0041] The onboard equipment virtualization system in this embodiment receives and parses user input commands (PDUs) through a virtualization module, and executes general device access protocol (DACP) and special device access protocol (DACP) based on the parsing results. Therefore, it can solve the problem of tight coupling between user applications, the location of the device, and the specific protocol used to access the device, so that users do not need to care about the location of the device or the specific protocol used to access the device, thus achieving transparent access to the device.

[0042] This application provides a method for virtualizing onboard equipment, used to access onboard equipment of a spacecraft. The equipment virtualization service uses a Device Access Control Protocol (DACP) to provide functional interfaces to the upper layer. DACP may use multiple DAS commands or data acquisition primitives to provide the required functional interfaces. At least one of the following five types of DACP is mainly considered:

[0043] (1) General Device Access (DACP): Device virtualization services directly use device access services to acquire data or send commands;

[0044] (2) Access to DACP via Special Devices: Device virtualization services use device access services to obtain data, process it (e.g., data retrieval), and then return the data to the upper layer. A typical example is the retrieval of DS quantity data;

[0045] (3) Sending DAP based on ONOFF command: The device virtualization service obtains the 96-bit command code by looking up the virtual device value identifier and parameter value identifier in the table, and then sends the command through the device access service;

[0046] (4) Local Buffer Read DACP: Device virtualization services read data directly from the local buffer. A typical example is virtualizing software parameters as a device and reading the software parameters.

[0047] (5) Local Buffer Write DACP: Device virtualization services write data directly to the local buffer. A typical example is virtualizing software parameters as a device and writing the software parameters.

[0048] In one embodiment of this application, when the virtualization service is General Device Access Protocol (DACP): the device access service is used for data acquisition or command transmission, and the specific process is as follows:

[0049] The corresponding device and parameter value identifier resolution table is retrieved based on the virtual device identifier, and then the corresponding record in the resolution table is indexed based on the virtual parameter value identifier to organize the command PDU for device access services;

[0050] Call the device access service interface to obtain the telemetry data value of TMS001; fill the memory area corresponding to the data address in the PDU with the telemetry data value of TMS001 obtained from the underlying layer, and fill the execution result into the PDU execution result area;

[0051] The "Commands in Execution" table is queried periodically. If the execution result is not empty, it is submitted to different upper-layer processing procedures according to the "Virtual Device Access Type DACP" field in the "Commands in Execution" table. In this use case, the "Virtual Device Access Type DACP" found is General Data Processing DACP, so the execution result is returned to the command execution result sending interface of the virtualization service.

[0052] In one embodiment of this application, when the virtualization service is based on accessing DAP via a special device: data is obtained using the device access service, processed, and then returned to the upper layer. The specific process is as follows:

[0053] Allocate a buffer, organize the command PDU for device access services, and pass it to the general device access DACP, which then calls the device access service interface and returns.

[0054] The background periodically queries the "Commands in Execution" table. If the execution result is not empty, it will be submitted to different upper-layer processing procedures according to the "Virtual Device Access Type (DACP)" field in the "Commands in Execution" table. In this use case, the "Virtual Device Access Type (DACP)" found is based on Special Device Access (DACP), so the execution result will be passed to Special Data Processing (DACP).

[0055] The Special Data Processing Platform (DACP) indexes the corresponding offset length in the parsing table based on the virtual parameter value, selects data from the pre-allocated buffer, reorganizes the data, puts it into the user data buffer, and returns the command execution result to the command execution result sending interface of the virtualization service.

[0056] One embodiment of this application analyzes the data flow of device virtualization services, such as... Figure 2-3 As shown, the following steps illustrate how to implement a data read operation based on general-purpose device access to read telemetry parameter values ​​from TMS001 (analog quantity) in an application scenario.

[0057] Step 1: Construct a layered service and protocol architecture for device virtualization access, including an application layer, application support layer, transport layer, and subnetting layer. In the data application support layer, set up a command data acquisition service module that includes a device virtualization service module, such as... Figure 1 As shown; initialize space packet protocol, command and data acquisition services, etc.

[0058] Step 2, Device Virtualization Service Interface Processing: When a user invokes the device virtualization access service, they input a command PDU. The format of this command PDU is as follows:

[0059]

[0060] The address Rbuf[] is used to receive data read from the device access service, and the address pRlt is used to store the execution result of the device virtualization access service. Before inputting, the user sets the value on pRlt to a "blank" state, which is a value (0xFFFF) that is different from any possible execution result returned by the device virtualization access service.

[0061] Step 3, Command parsing and processing: Based on the virtual device identifier, retrieve the command from the virtual device access type table. The command belongs to "Generic Device Access DACP" and should be submitted for Generic Device Access DACP processing.

[0062] Virtual device identifier Virtual Device Access Type (DACP) 0x07(TMS) 0x00 (DACP based on general-purpose device access)

[0063] Step 4, General Device Access DAP: Retrieve the corresponding device and parameter value identifier resolution table based on the virtual device identifier, and then index the corresponding record in the resolution table based on the virtual parameter value identifier to organize the command PDU for device access service.

[0064]

[0065] Store the relevant information of the command in the "Commands in Execution" table. An empty execution status (0xFFFF) indicates that the command is in execution.

[0066]

[0067] Step 5: Device Access Service Interface Processing: Call the device access service interface to obtain the telemetry data value of TMS001. Fill the memory area corresponding to the data address in the PDU with the telemetry data value of TMS001 obtained from the underlying layer, and fill the execution result into the PDU execution result area.

[0068] Step 6, Data Reception and Processing: Periodically query the "Commands in Execution" table. If the execution result is not empty, it is submitted to different upper-layer processing procedures according to the "Virtual Device Access Type DACP" field in the "Commands in Execution" table. In this use case, the "Virtual Device Access Type DACP" found is the General Data Processing DACP, so the execution result is returned to the command execution result sending interface of the virtualization service.

[0069] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A spaceborne equipment virtualization system, characterized in that, It includes a device virtualization service module, which receives and parses user input command PDUs, and determines the virtualization service to which the input command belongs based on the virtual device identifier obtained from the parsing. When the virtualization service is General Device Access (DACP): the device virtualization module uses the device access service to acquire data or send commands; The specific process is as follows: The corresponding device and parameter value identifier resolution table is retrieved based on the virtual device identifier, and then the corresponding record in the resolution table is indexed based on the virtual parameter value identifier to organize the command PDU for device access services; Call the device access service interface to obtain the telemetry data value of TMS001; The memory area corresponding to the data address in the PDU is filled with the TMS001 telemetry data value obtained from the underlying layer, and the execution result is filled into the PDU execution result area. The "Commands in Execution" table is queried periodically. If the execution result is not empty, it is submitted to different upper-layer processing procedures according to the "Virtual Device Access Type DACP" field in the "Commands in Execution" table. In this use case, the "Virtual Device Access Type DACP" found is General Data Processing DACP, so the execution result is returned to the command execution result sending interface of the virtualization service. When the virtualization service is based on special device access to DAP: the device virtualization module uses the device access service to obtain data, processes it, and then returns the data to the upper layer; the specific process is as follows: Allocate a buffer, organize the command PDU for device access services, and pass it to the general device access DACP, which then calls the device access service interface and returns. The background periodically queries the "Commands in Execution" table. If the execution result is not empty, it will be submitted to different upper-layer processing procedures according to the "Virtual Device Access Type DACP" field in the "Commands in Execution" table. In this use case, the "Virtual Device Access Type DACP" found is based on Special Device Access DACP, so the execution result will be passed to Special Data Processing DACP. The Special Data Processing Platform (DACP) indexes the corresponding offset length in the parsing table based on the virtual parameter value, selects data from the pre-allocated buffer, reorganizes the data, puts it into the user data buffer, and returns the command execution result to the command execution result sending interface of the virtualization service.

2. The spaceborne equipment virtualization system according to claim 1, characterized in that, The virtualization service also includes sending DACP based on ONOFF instructions. When the virtualization service is sending DACP based on ONOFF instructions: the instruction code is obtained by looking up the table through the virtual device value identifier and parameter value identifier, and then the command is sent through the device access service.

3. The spaceborne equipment virtualization system according to any one of claims 1-2, characterized in that, The specific process of the virtualization service reading DAP from the local buffer is as follows: after reading data from the local data buffer, the data is stored in the user data buffer, and the command execution result is sent.

4. The spaceborne equipment virtualization system according to claim 3, characterized in that, The virtualization service also includes local buffer read / write DACP. When the virtualization service is Local Buffer Read DAP: data is read directly from the local buffer; When writing to the virtualized local buffer using DACP: data is written directly to the local buffer.

5. The spaceborne equipment virtualization system according to claim 4, characterized in that, The specific process of writing DAP to the virtualized local buffer is as follows: after writing the data to the local data buffer, the command execution result is sent.

6. A method for virtualizing spaceborne equipment applied to the system of claim 1, characterized in that, The specific process is as follows: Receive and parse user input command PDU, and determine the virtualization service to which the input command belongs based on the virtual device identifier obtained from the parsing; When the virtualization service is General Device Access (DACP): the device access service is used for data acquisition or command transmission; When the virtualization service is based on special device access to DAP: the device access service is used to obtain data, which is then processed and returned to the upper layer.

Citation Information

Patent Citations

  • Method and system for steaming loading virtual files

    CN102520994A

  • Layered satellite-borne equipment instruction channel addressing architecture and method

    CN115473565A