Component loading system and method based on SCA and SRTF distributed file system
By adopting a distributed file system based on SCA and SRTF in the software radio system, remote loading and unloading of components is realized, which solves the problem of a single loading point limiting the scalability of the system, improves the loading speed and robustness, and supports dynamic expansion. .
Patent Information
- Application Number
- CN202410943969.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-15
AI Technical Summary
Existing SCA component loading methods rely on a single loading point, resulting in limited system scalability and response speed in large-scale or high-density software radio environments.
Adopt a distributed file system based on SCA and SRTF, communicate with multiple target platforms through the main control board and PC, use the loader server and client to realize remote loading and unloading of components, and use the distributed file system module and CORBA The naming service module performs parallel loading and management of components.
Significantly improves component loading speed, reduces the risk of single points of failure, enhances system robustness, and supports dynamic expansion and component management.
Smart Images

Figure CN118467060B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of communication technology, and more specifically, relates to a component loading system and method based on SCA and SRTF distributed file systems. Background Art
[0002] In the software radio system, the component deployment process follows the component loading process of the SCA (Software Communication Architecture) specification. The platform and applications uniformly deploy and load components located on the nodes through DCD or SAD files, and rely on the file server of the node center manager for management and distribution.
[0003] However, the existing SCA component loading method relies on a single loading point, that is, uniformly deploying the components of nodes through DCD files, which will cause bottlenecks in large-scale or high-density software radio environments and limit the scalability and response speed of the system. Summary of the invention
[0004] The present invention provides a component loading system and method based on SCA and SRTF distributed file system, and is intended to solve the technical problem that the current SCA component loading method relies on a single loading point to limit the scalability and response speed of the system.
[0005] Component loading system based on SCA and SRTF distributed file system, including: main control board, PC terminal and multiple target platforms;
[0006] The main control board communicates with the multiple target platforms via an Ethernet interface; the PC terminal communicates with the target platform via an Ethernet interface and a switch;
[0007] Each target platform includes a signal processing board, and a loader server in the signal processing board; the loader server is a service process for loading and unloading components in the signal processing board;
[0008] The main control board and the PC are both installed with a loader client; the loader client accesses the loader server in the signal processing board of the target platform according to the IP of the target platform, and loads or unloads the components filled in the target table based on the requirements;
[0009] The loader server includes a distributed file system module, a CORBA naming service module, a component loading and unloading module, a component execution and termination module, and a target platform information acquisition module;
[0010] The distributed file system module is implemented based on the CORBA portable object request architecture, and the distributed file system module implements the CF::FileSystem interface according to the SCA4.1 specification requirements; realizes remote operations on folders and files;
[0011] The CORBA naming service module is used to associate a name with an object so that the name can be retrieved or applied to the object and the IOR of the object can be obtained;
[0012] Component loading and unloading module: including component loading and unloading functions. The component loading function is used to check the specified component file to ensure the dependencies and component existence required for component execution, add executable permissions to the executable component file on the target platform, and add relevant information to the executable list of the device. The component unloading function deletes the loaded component information from the executable list of the device.
[0013] Component execution and termination module: including component execution function and component termination function, wherein the component execution function is used to create an independent process for the component to run the CORBA server program provided by the component, and the progress information of the component after execution is saved in the execution list; wherein the component termination function is used to query the process information of the component in the execution list, terminate the component by ending the component process, and delete the progress information from the execution list;
[0014] The target platform information acquisition module is used to acquire system information through the system interface provided on the target platform, including acquiring the operating system name, operating system version and processor name; and judging whether the component can be loaded and executed on the target platform based on the acquired system information.
[0015] The present invention is based on a loader client installed on a main control board and a PC to access a loader server of a target platform, and realizes remote loading and unloading of components through the loader client accessing the loader server; secondly, through the distributed file system of the loader server, parallelization of component loading is realized, which significantly improves the loading speed; and the decentralized design reduces the risk of single point failure and enhances the robustness of the system; remote loading and unloading can support easy expansion, and components in nodes can be dynamically increased or decreased according to demand.
[0016] Preferably, the components include a device component, a waveform application component and a service component.
[0017] Preferably, the remote operations on folders and files include: file removal, file copying, file existence check, file list query, file creation, file opening, folder creation, folder deletion and file system information query.
[0018] Preferably, the functions of the CORBA naming service module include: assigning names to objects, searching for names that have been bound to objects, grouping file names in a logical hierarchy, using stringified names, and checking a name list and traversing the name list.
[0019] The component loading method based on SCA and SRTF distributed file system is implemented by using the component loading system based on SCA distributed file system described in the present invention, and the specific steps are as follows:
[0020] When the loader server is running on the target platform and waiting for a request, the control program on the main control board or the control program on the PC connects to the target platform via Ethernet to establish a loader client; then the loader server on the target platform is accessed according to the IP address of the target platform;
[0021] After access is established, the component files are uploaded to the target platform on the decentralized loader client through the transmission function of the distributed file system;
[0022] In the target platform, the component files are accessed through the distributed file system, and the components are loaded and run in the operating system of the target platform card through the loadable interface and executeable interface of the loader server;
[0023] When a component fails, the loader server terminates the process and restarts the component.
[0024] Preferably, when a failure occurs during the operation of the component, the loader client locates the loader server on the failed target platform through a CORBA naming service module, and then reloads the component through a component loading method.
[0025] Preferably, the process of reloading a component by the component loading method is as follows:
[0026] Step 1: Obtaining the system information of the target platform based on the target platform information acquisition module, including obtaining the operating system name, operating system version and processor name;
[0027] Step 2: Get component configuration parameters and check whether the target platform meets the component running conditions. If not, the component cannot be loaded and the process ends. If it is satisfied, proceed to step 3.
[0028] Step 3: Configure the parameters of the loading component;
[0029] Step 4: Obtain a distributed file system module, and transfer component-related files through the distributed file system module;
[0030] Step 5: Find the relevant files of the component through the distributed file system module;
[0031] Step 6: Load the component through the loadable interface. If the loading is abnormal, retransmit and execute step 4. If the loading is successful, execute step 7.
[0032] Step 7: If the loading is successful, execute the component through the executeable interface; if the execution is abnormal, retransmit and execute step 4; if the execution is successful, execute step 8;
[0033] Step 8: Get the pid of the component running and manage the component running status.
[0034] The beneficial effects of the present invention include at least:
[0035] The present invention is based on a loader client installed on a main control board and a PC to access a loader server of a target platform, and realizes remote loading and unloading of components through the loader client accessing the loader server; secondly, through the distributed file system of the loader server, parallelization of component loading is realized, which significantly improves the loading speed; and the decentralized design reduces the risk of single point failure and enhances the robustness of the system; remote loading and unloading can support easy expansion, and components in nodes can be dynamically increased or decreased according to demand. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 A system framework diagram for component loading provided in an embodiment of the present invention.
[0038] Figure 2 A flowchart of a loader loading component provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0040] See also Figure 1 As shown, the component loading system based on SCA and SRTF distributed file system includes: main control board, PC terminal and multiple target platforms;
[0041] The main control board communicates with the multiple target platforms via an Ethernet interface; the PC terminal communicates with the target platform via an Ethernet interface and a switch;
[0042] Each target platform includes a signal processing board, and a loader server in the signal processing board; the loader server is a service process for loading and unloading components in the signal processing board; wherein the components include device components, waveform application components and service components.
[0043] The main control board and the PC are both installed with a loader client; the loader client accesses the loader server in the signal processing board of the target platform according to the IP of the target platform, and loads or unloads the components filled in the target table based on the requirements;
[0044] The loader server includes a distributed file system module, a CORBA naming service module, a component loading and unloading module, a component execution and termination module, and a target platform information acquisition module;
[0045] The distributed file system module is implemented based on the CORBA portable object request architecture, and the distributed file system module implements the CF::FileSystem interface in accordance with the SCA4.1 specification requirements; it realizes remote operations on folders and files, including: file removal, file copying, file existence check, file list query, file creation, file opening, folder creation, folder deletion, and file system information query.
[0046] The CORBA naming service module is used to associate names with objects so that the names can retrieve or apply objects and obtain the IOR of the objects; the functions of the CORBA naming service module include: assigning names to objects, finding names that have been bound to objects, grouping file names in a logical hierarchy, using stringified names, and checking a name list and traversing the name list.
[0047] In this embodiment, the name is associated with the object based on the CORBA naming service module, and the name can be used to retrieve or reference the object. It is a mechanism for establishing CORBA communication. If there is no CORBA naming service module, the object application must be obtained through the object's IOR. The object IOR is dynamically generated, and it is not as convenient and quick as using the naming service in actual use. The parameters of the naming service only need to add the IP address of the target to establish a connection, and there is no need to dynamically obtain the IOR. Therefore, in this embodiment, the distributed object is located based on the CORBA naming service module.
[0048] Component loading and unloading module: including component loading and unloading functions. The component loading function is used to check the specified component file to ensure the dependencies and component existence required for component execution, add executable permissions to the executable component file on the target platform, and add relevant information to the executable list of the device. The component unloading function deletes the loaded component information from the executable list of the device.
[0049] Component execution and termination module: including component execution function and component termination function, wherein the component execution function is used to create an independent process for the component to run the CORBA server program provided by the component, and the progress information of the component after execution is saved in the execution list; wherein the component termination function is used to query the process information of the component in the execution list, terminate the component by ending the component process, and delete the progress information from the execution list;
[0050] The target platform information acquisition module is used to acquire system information through the system interface provided on the target platform, including acquiring the operating system name, operating system version and processor name; and judging whether the component can be loaded and executed on the target platform based on the acquired system information.
[0051] The present invention is based on a loader client installed on a main control board and a PC to access a loader server of a target platform, and realizes remote loading and unloading of components through the loader client accessing the loader server; secondly, through the distributed file system of the loader server, parallelization of component loading is realized, which significantly improves the loading speed; and the decentralized design reduces the risk of single point failure and enhances the robustness of the system; remote loading and unloading can support easy expansion, and components in nodes can be dynamically increased or decreased according to demand.
[0052] The component loading method based on the SCA distributed file system is implemented by using the component loading system based on the SCA distributed file system of the present invention, and the specific steps are as follows:
[0053] When the loader server is running on the target platform and waiting for a request, the control program on the main control board or the control program on the PC connects to the target platform via Ethernet to establish a loader client; then the loader server on the target platform is accessed according to the IP address of the target platform;
[0054] After access is established, the component files are uploaded to the target platform on the decentralized loader client through the transmission function of the distributed file system;
[0055] In the target platform, the component files are accessed through the distributed file system, and the components are loaded and run in the operating system of the target platform card through the loadable interface and executeable interface of the loader server;
[0056] When a component fails, the loader server terminates the process and restarts the component.
[0057] When a component fails during operation, the loader client locates the loader server on the faulty target platform through the CORBA naming service module, and then reloads the component through the component loading method.
[0058] See also Figure 2 As shown, the process of reloading a component through the component loading method is as follows:
[0059] Step 1: Obtaining the system information of the target platform based on the target platform information acquisition module, including obtaining the operating system name, operating system version and processor name;
[0060] Step 2: Get component configuration parameters and check whether the target platform meets the component running conditions. If not, the component cannot be loaded and the process ends. If it is satisfied, proceed to step 3.
[0061] Step 3: Configure the parameters of the loading component;
[0062] Step 4: Obtain a distributed file system module, and transfer component-related files through the distributed file system module;
[0063] Step 5: Find the relevant files of the component through the distributed file system module;
[0064] Step 6: Load the component through the loadable interface. If the loading is abnormal, retransmit and execute step 4. If the loading is successful, execute step 7.
[0065] Step 7: If the loading is successful, execute the component through the executeable interface; if the execution is abnormal, retransmit and execute step 4; if the execution is successful, execute step 8;
[0066] Step 8: Get the pid of the component running and manage the component running status.
[0067] In this embodiment, after a component failure is discovered, it can be quickly located and the faulty component can be reloaded in a timely manner; secondly, the identification of the fault is not the focus of this application. Fault identification can be a signal interruption after a component failure, based on which it can be determined whether the component is faulty. Of course, the above method is only an exemplary solution and is not a limitation of the present invention.
[0068] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A component loading system based on SCA and SRTF distributed file system, characterized in that: include: Main control board, PC terminal and multiple target platforms; The main control board communicates with the multiple target platforms via an Ethernet interface; The PC terminal communicates with the target platform via an Ethernet interface and a switch; Each target platform includes a signal processing board, and the signal processing board includes a loader server; the loader server is a service process for loading and unloading components in the signal processing board; The main control board and the PC are both installed with a loader client; the loader client accesses the loader server in the signal processing board of the target platform according to the IP of the target platform, and loads or unloads the components filled in the target table based on the requirements; The loader server includes a distributed file system module, a CORBA naming service module, a component loading and unloading module, a component execution and termination module, and a target platform information acquisition module; The distributed file system module is implemented based on the CORBA portable object request architecture, and the CF::FileSystem interface implemented by the distributed file system module complies with the SCA4.1 specification and the SRTF specification requirements; remote operations on folders and files are realized; The CORBA naming service module is used to associate a name with an object so that the name can be retrieved or applied to the object and the IOR of the object can be obtained; Component loading and unloading module: including component loading and unloading functions. The component loading function is used to check the specified component file to ensure the dependencies and component existence required for component execution, add executable permissions to the executable component file on the target platform, and add relevant information to the executable list of the device. The component unloading function deletes the loaded component information from the executable list of the device. Component execution and termination module: including component execution function and component termination function, wherein the component execution function is used to create an independent process for the component to run the CORBA server program provided by the component, and the progress information of the component after execution is saved in the execution list; wherein the component termination function is used to query the process information of the component in the execution list, terminate the component by ending the component process, and delete the progress information from the execution list; The target platform information acquisition module is used to acquire system information through the system interface provided on the target platform, including acquiring the operating system name, operating system version and processor name; based on the acquired system information, determining whether the component can be loaded and executed on the target platform; When the loader server is running on the target platform and waiting for a request, the control program on the main control board or the control program on the PC connects to the target platform via Ethernet to establish a loader client; then the loader server on the target platform is accessed according to the IP address of the target platform; After access is established, the component files are uploaded to the target platform on the decentralized loader client through the transmission function of the distributed file system; In the target platform, the component files are accessed through the distributed file system, and the components are loaded and run in the operating system of the target platform card through the loadable interface and executeable interface of the loader server; When a component fails, the loader server terminates the process and reloads the component. The process of reloading a component through the component loading method is as follows: Step 1: Obtaining the system information of the target platform based on the target platform information acquisition module, including obtaining the operating system name, operating system version and processor name; Step 2: Get component configuration parameters and check whether the target platform meets the component running conditions. If not, the component cannot be loaded and the process ends. If it is satisfied, proceed to step 3. Step 3: Configure the parameters of the loading component; Step 4: Obtain a distributed file system module, and transfer component-related files through the distributed file system module; Step 5: Find the relevant files of the component through the distributed file system module; Step 6: Load the component through the loadable interface. If the loading is abnormal, retransmit and execute step 4. If the loading is successful, execute step 7. Step 7: If the loading is successful, execute the component through the executeable interface; if the execution is abnormal, retransmit and execute step 4; if the execution is successful, execute step 8; Step 8: Get the pid of the component running and manage the component running status.
2. The component loading system based on SCA and SRTF distributed file system according to claim 1 is characterized in that: The components include a device component, a waveform application component, and a service component.
3. The component loading system based on SCA and SRTF distributed file system according to claim 1 is characterized in that: The remote operations on folders and files include: file removal, file copying, file existence checking, file list querying, file creation, file opening, folder creation, folder deletion, and file system information querying.
4. The component loading system based on SCA and SRTF distributed file system according to claim 1, characterized in that: The functions of the CORBA naming service module include: assigning names to objects, searching for names that have been bound to objects, grouping file names in a logical hierarchy, using stringified names, and checking a name list and traversing the name list.
5. A component loading method based on SCA and SRTF distributed file system, characterized in that: The component loading system based on SCA and SRTF distributed file system as claimed in any one of claims 1 to 4 is implemented, and the specific steps are as follows: When the loader server is running on the target platform and waiting for a request, the control program on the main control board or the control program on the PC connects to the target platform via Ethernet to establish a loader client; then the loader server on the target platform is accessed according to the IP address of the target platform; After access is established, the component files are uploaded to the target platform on the decentralized loader client through the transmission function of the distributed file system; In the target platform, the component files are accessed through the distributed file system, and the components are loaded and run in the operating system of the target platform card through the loadable interface and executeable interface of the loader server; When a component fails to run, the loader server terminates the process and reloads the component.
6. The component loading method based on SCA and SRTF distributed file system according to claim 5 is characterized in that: When a component fails during operation, the loader client locates the loader server on the faulty target platform through the CORBA naming service module, and then reloads the component through the component loading method.
7. The component loading method based on SCA and SRTF distributed file system according to claim 6 is characterized in that: The process of reloading a component through the component loading method is as follows: Step 1: Obtaining the system information of the target platform based on the target platform information acquisition module, including obtaining the operating system name, operating system version and processor name; Step 2: Get component configuration parameters and check whether the target platform meets the component running conditions. If not, the component cannot be loaded and the process ends. If it is satisfied, proceed to step 3. Step 3: Configure the parameters of the loading component; Step 4: Obtain a distributed file system module, and transfer component-related files through the distributed file system module; Step 5: Find the relevant files of the component through the distributed file system module; Step 6: Load the component through the loadable interface. If the loading is abnormal, retransmit and execute step 4. If the loading is successful, execute step 7. Step 7: If the loading is successful, execute the component through the executeable interface; if the execution is abnormal, retransmit and execute step 4; if the execution is successful, execute step 8; Step 8: Get the pid of the component running and manage the component running status.
