CN112148384B - SCA waveform component loading method and device, readable medium and electronic equipment - Google Patents

SCA waveform component loading method and device, readable medium and electronic equipment Download PDF

Info

Publication number
CN112148384B
CN112148384B CN202011035778.8A CN202011035778A CN112148384B CN 112148384 B CN112148384 B CN 112148384B CN 202011035778 A CN202011035778 A CN 202011035778A CN 112148384 B CN112148384 B CN 112148384B
Authority
CN
China
Prior art keywords
loading
waveform
batch
parameter
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011035778.8A
Other languages
Chinese (zh)
Other versions
CN112148384A (en
Inventor
许富龙
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Civil Aviation Flight University of China
Original Assignee
Civil Aviation Flight University of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Civil Aviation Flight University of China filed Critical Civil Aviation Flight University of China
Priority to CN202011035778.8A priority Critical patent/CN112148384B/en
Publication of CN112148384A publication Critical patent/CN112148384A/en
Application granted granted Critical
Publication of CN112148384B publication Critical patent/CN112148384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to the technical field of software defined radio, and particularly relates to a loading method and device of an SCA waveform component, a readable medium and electronic equipment. The invention divides a waveform component of a waveform application into at least one loading batch; and carrying out parallel loading on the waveform components belonging to the same loading batch, and carrying out serial loading on the waveform components belonging to different loading batches. The method and the device enable a user to flexibly configure and specify the waveform component of the waveform application to carry out serial loading or parallel loading or serial loading of part of the waveform component and parallel loading of the other part of the waveform component according to the actual requirement of the SDR system so as to improve the time performance of the SDR system and avoid the need of carrying out function clipping on the SCA.

Description

SCA waveform component loading method and device, readable medium and electronic equipment
Technical Field
The present invention relates to the field of software defined radio technologies, and in particular, to a method and an apparatus for loading an SCA waveform component, a readable medium, and an electronic device.
Background
The SCA (Software Communication Architecture) is a Software Architecture general specification of a Software Defined Radio (SDR) system. The process optimization is an important method for improving the time performance of the SDR system. Conventional process optimization is mainly to simplify and adjust the process, and the simplification is usually matched with function clipping. Therefore, the conventional process optimization not only causes part of functions to be unavailable and brings inconvenience to users, but also has a limited optimization effect.
Disclosure of Invention
The invention aims to provide a loading method and a loading device of an SCA waveform component, a readable medium and electronic equipment, so as to improve the time performance of an SDR system without cutting the functions of an SCA.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
in one aspect, an embodiment of the present invention provides a method for loading an SCA waveform component, including the following steps:
dividing waveform components of a waveform application into at least one loading batch, wherein each loading batch comprises at least one waveform component;
and carrying out parallel loading on the waveform components belonging to the same loading batch, and carrying out serial loading on the waveform components belonging to different loading batches.
Optionally, the step of dividing the waveform component of a waveform application into at least one loading batch includes: assigning a loading batch number to each waveform component of the waveform application, wherein the loading batch numbers of the waveform components belonging to the same loading batch are the same, and the loading batch numbers of the waveform components belonging to different loading batches are different;
the step of loading the waveform components belonging to the same loading batch in parallel and the step of loading the waveform components belonging to different loading batches in series comprises the following steps: and serially loading the waveform components applied by the waveform according to the sequence of the loading lot numbers from large to small or from small to large, wherein the waveform components with the same loading lot numbers are loaded in parallel.
Optionally, the SAD description file of the SCA core framework stores therein loading configuration information of each waveform component, the loading configuration information includes a loading lot attribute, the type of the loading lot attribute is integer and is used for indicating a lot in which each waveform component is loaded, and the step of assigning a loading lot number to each waveform component applied to the waveform includes:
a load batch number is assigned to the load batch attribute of each waveform component of the waveform application.
Optionally, a non-blocking load function is set in a load interface of a loadable device of each waveform component of the waveform application, one parameter of the non-blocking load function points to a load result callback object, the load result callback object is used to implement a load result callback interface, the load result callback interface includes a load result return function, and the step of loading waveform components belonging to the same load batch in parallel includes:
and continuously calling non-blocking loading functions of the loadable devices of the waveform components belonging to the same loading batch, and obtaining the loading result of each waveform component in a mode of calling back the loading result to return a function so as to realize the parallel loading of the waveform components belonging to the same loading batch.
Optionally, the non-blocking loading function further includes a first parameter, a second parameter, and a third parameter, where the first parameter is used to indicate a file system where the loaded file is located, the second parameter is used to indicate a file name of the file to be loaded, the file name includes complete path information of the file to be loaded, and the third parameter is used to indicate a loading type;
the callback loading result return function further comprises a second parameter and a sixth parameter, wherein the sixth parameter is used for indicating the loading result.
In another aspect, an embodiment of the present invention also provides an apparatus for loading an SCA waveform component, including: the device comprises a batch dividing module and a component loading module;
the device comprises a batch dividing module, a data processing module and a data processing module, wherein the batch dividing module is used for dividing waveform components of a waveform application into at least one loading batch, and each loading batch comprises at least one waveform component;
the component loading module comprises a parallel loading sub-module and a serial loading sub-module, the parallel loading sub-module is used for carrying out parallel loading on waveform components belonging to the same loading batch, and the serial loading sub-module carries out serial loading on waveform components belonging to different loading batches.
Optionally, the batch dividing module is specifically configured to: assigning a loading batch number to each waveform component of the waveform application, wherein the loading batch numbers of the waveform components belonging to the same loading batch are the same, and the loading batch numbers of the waveform components belonging to different loading batches are different;
the component loading module is specifically configured to serially load the waveform components applied by the waveform according to the sequence of the loading lot numbers from large to small or from small to large, wherein the waveform components of the same loading lot number are loaded in parallel.
Optionally, a non-blocking load function is set in a load interface of a loadable device of each waveform component of the waveform application, one parameter of the non-blocking load function points to a load result callback object, the load result callback object is used to implement a load result callback interface, the load result callback interface includes a load result return function, and the parallel load submodule is specifically configured to:
and continuously calling non-blocking loading functions of the loadable devices of the waveform components belonging to the same loading batch, and obtaining the loading result of each waveform component in a mode of calling back the loading result to return the function.
In still another aspect, the present invention also provides a computer-readable storage medium including computer-readable instructions, which, when executed, cause a processor to perform the operations of the method described in the present invention.
In another aspect, an embodiment of the present invention also provides an electronic device, including: a memory storing program instructions; and the processor is connected with the memory and executes the program instructions in the memory to realize the steps of the method in the embodiment of the invention.
According to the SCA waveform component loading method, the SCA waveform component loading device, the readable medium and the electronic equipment, the waveform component applied by the waveform is divided into at least one loading batch; and carrying out parallel loading on the waveform components belonging to the same loading batch, and carrying out serial loading on the waveform components belonging to different loading batches. The method and the device enable a user to flexibly configure and specify the waveform components of the waveform application to carry out serial loading or parallel loading or enable part of the waveform components to carry out serial loading and the other part of the waveform components to carry out parallel loading according to the actual needs of the SDR system so as to improve the time performance of the SDR system and avoid the need of carrying out function clipping on the SCA.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a schematic diagram of loading a pseudo code on an SCA waveform component in the prior art.
Fig. 2 is a schematic diagram of loading time characteristics of the waveform elements corresponding to fig. 1.
Fig. 3 is a diagram of a SDR hardware system in the prior art.
Fig. 4 is a diagram of another SDR hardware system architecture in the prior art.
Fig. 5 is a diagram illustrating waveform component loading time characteristics of the SDR hardware system shown in fig. 3.
Fig. 6 is a flowchart of an SCA waveform component loading method according to an embodiment of the present invention.
Fig. 7 is a diagram of asynchronous interfaces and call relations provided in the embodiment of the present invention.
Fig. 8 is a block diagram illustrating an apparatus for loading an SCA waveform component according to an embodiment of the present invention.
Fig. 9 is a block diagram of the electronic device according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
The waveform creation includes the following steps: waveform component loading, waveform component execution (for executableDevice only), port connection, waveform configuration. After analyzing the time performance of the SDR system, the waveform component loading is a time-consuming process in the SDR system, so that shortening the waveform component loading time is the key for improving the time performance of the SDR system.
In a distributed environment, loading of the waveform components requires reading file data from a file system and then transmitting the file data to a destination processor through a bus. Thus, intuitively, the loading speed of the waveform assembly depends mainly on: 1) The performance of the file system, i.e., the read rate of the file data; 2) The bus transfer rate. Obviously, both performance parameters are determined when the system design is complete.
Based on this, the inventors analyzed the performance problem of waveform loading from a higher level. When creating a waveform application, each waveform component should first be assigned the appropriate processor, one loadable device for each processor. Subsequently, the SCA core framework calls a load function of the corresponding loadable device to complete the loading of the waveform component. While the load function interface is a synchronous interface, its behavior is blocking. Thus, the waveform creation process of the SCA core framework is blocked when a load function of a loadable device is called, and does not return from the load function until the loadable device completes the loading of the waveform component. So under the SCA specification, the loading of the waveform components is actually performed sequentially in a serial fashion. For example, where a waveform Wave1 has three components Comp1, comp2 and Comp3 to be deployed in processors A, B and C, respectively, the actual loading behavior of the SCA core framework will be similar to the pseudo code of FIG. 1, with the loading time behavior shown in FIG. 2. It can be seen that the total duration of the waveform loading is the sum of the loading durations of the waveform components, i.e., tot = t1 + t2 + t3. Since waveforms in real systems tend to have multiple components, waveform loading is time consuming.
Because the SCA specification does not make too much constraint on the hardware architecture of the SDR system, the design of the SDR hardware architecture has great flexibility. The question of whether waveform component loading should be in serial or parallel should also be actually analyzed in conjunction with the hardware architecture. As shown in fig. 3 and 4, a different SDR hardware architecture is listed. The SDR hardware system shown in fig. 3 has three file systems FS1, FS2 and FS3, connected to three processors using a switched bus network. The SDR hardware system shown in fig. 4 is relatively inexpensive and connects a unique file system FS to three processors via a shared bus. The foregoing waveform loading is used as an example for separate discussion.
First, for the SDR hardware system shown in fig. 3, three file systems greatly improve the file access capability. If the waveform components Comp1, comp2, comp3 are stored in FS1, FS2, FS3 file systems, respectively, the parallel loading of the three waveform components does not cause an increase in the load of a single file system. Meanwhile, the data transmission of the three waveform components is not influenced mutually by the switched network, and the transmission bandwidth from point to point is not reduced due to simultaneous transmission. Therefore, the waveform components can be loaded in a parallel mode under the hardware architecture, and great performance improvement can be obtained. As shown in fig. 5, the time of waveform loading at this time is the maximum value of the single component loading time, i.e., total = max (t 1, t2, t 3).
Secondly, for the SDR hardware system shown in fig. 4, the resource allocation of the single file system and the shared bus cannot significantly improve the performance of the multi-waveform component when it is loaded in parallel, and may even cause performance degradation due to bottleneck. On one hand, when a single file system provides read operation of a plurality of large files, the workload is increased, the expenses such as resource scheduling and protection are increased, the performance of the single file system is possibly lower than that of the single file system for serially reading the plurality of files, and the performance is more obvious particularly when the performance of the file system is weaker; on the other hand, the shared bus also affects the simultaneous transmission of multiple data streams due to link resource sharing. Therefore, for a hardware configuration similar to that of fig. 4, it would be more appropriate to employ a serial loading approach.
In summary, in order to improve the time performance of the SDR system, the waveform component loading mode cannot be simply changed from serial to parallel, and the actual situation of the SDR system, such as the hardware structure, needs to be combined. For the situations unsuitable for parallel loading, such as the above shared hardware architecture and the situation that parallel loading cannot be performed due to the existence of special dependency relationship among components, a serial loading mode still needs to be adopted. In fact, situations suitable for parallel loading and for serial loading tend to exist simultaneously in most SDR systems, including SDRs. Therefore, the present embodiment provides a method, an apparatus, a readable medium, and an electronic device for loading an SCA waveform component that simultaneously support serial loading and parallel loading, where the method, the apparatus, the readable medium, and the electronic device can flexibly configure, specify a waveform component for waveform application to perform serial loading, or parallel loading, or serially load a part of the waveform component and perform parallel loading on another part of the waveform component according to actual needs of an SDR system, so as to improve the time performance of the SDR system without performing function clipping on the SCA.
As shown in fig. 6, fig. 6 is a flowchart of an SCA waveform component loading method provided in an embodiment, except that there is an explicit logical relationship, and there is no precedence between each step in the execution order. Specifically, as shown in fig. 6, the loading method of the SCA waveform component provided in this embodiment includes the following steps:
s10, dividing waveform components of a waveform application into at least one loading batch, wherein each loading batch comprises at least one waveform component.
And S20, carrying out parallel loading on the waveform components belonging to the same loading batch, and carrying out serial loading on the waveform components belonging to different loading batches.
Through the steps S10 and S20, for a waveform application, if the waveform components are all loaded in series, when the loading batches are divided, the number of the loading batches is equal to the number of all the waveform components included in the waveform application; if the waveform components are all loaded in parallel, all the waveform components included in the waveform application can be divided into a loading batch when the loading batch is divided; if a part of waveform elements included in the device are required to be serially loaded and another part of waveform elements are required to be loaded in parallel, the loading batches of the part of waveform elements can be the same, and the loading batches of the other part of waveform elements can be different.
Through the mode, a user can flexibly configure and specify the waveform component of the waveform application to carry out serial loading or parallel loading or serial loading of part of the waveform component and parallel loading of the other part of the waveform component according to the actual requirement of the SDR system so as to improve the time performance of the SDR system and carry out function clipping on the SCA.
Optionally, in an embodiment, step S10 includes: and assigning a loading batch number to each waveform component of the waveform application, wherein the loading batch numbers of the waveform components belonging to the same loading batch are the same, and the loading batch numbers of the waveform components belonging to different loading batches are different. Step S20 includes: and serially loading the waveform components applied by the waveform according to the sequence of the loading batch numbers from large to small or from small to large, wherein the waveform components with the same loading batch numbers are loaded in parallel.
That is, the loading order and loading manner (serial or parallel) of the waveform elements are determined by the loading lot number. For example, the waveform components of the waveform application are loaded in the order of loading batch numbers from small to large, and the loading process can be described as follows: the method comprises the steps of loading and loading the waveform component with the batch number of 1, then loading and loading the waveform component with the batch number of 2 \8230, and 8230until all the waveform components are loaded. If the loading values of multiple waveform components are all n, they will be loaded in parallel in the nth load batch.
Through the method, the loading batch numbers of the waveform components are simply set, so that the waveform components applied by the waveforms can be flexibly loaded in any desired sequence and serial/parallel mode, and the requirement of any SDR system on waveform loading flow optimization is met.
Optionally, in a specific implementation, the loading configuration information of each waveform component may be stored in a SAD description file of the SCA core framework. The load configuration information includes a load batch attribute. The type of the load batch attribute is integer, and the value range can be [1-255], and is used for representing the batch loaded by each waveform component. The load lot attributes may be specifically stored in the SAD partitioning: component verification: component properties element. The step of assigning a load batch number to each waveform component of the waveform application comprises: assigning a load batch number to a load batch attribute of each waveform component of the waveform application.
Each waveform component (instance) corresponds to a componentproperties element for storing the property values that the waveform component (instance) needs to use during the creation and initial configuration processes. Thus, each waveform component (instance) corresponds to a load batch attribute. When a waveform application is created, the SCA core framework reads its SAD description file to know the load lot attribute (load lot number) of each waveform component, and the lot-by-lot loading of the waveform components is completed.
According to the analysis, all waveform components of the waveform application can be serially loaded by setting different loading batch numbers of each waveform component; and the SAD description file is not provided with a loading batch attribute, and at the moment, the SCA core framework adopts a serial loading process of SCA specification, namely, a standard Load interface is called to complete component loading, so that the compatibility of the SCA specification is embodied.
The load function of a load interface (loadable interface) of the SCA specification is a synchronous (blocking) function, the waveform creating process enters a sleep state after calling the load function, and is not waken and returned from the load function until the loading process is completed, so that the parallel loading of multiple waveform components is not supported. To implement parallel loading, the present invention provides an asynchronous interface, as shown in FIG. 7.
Firstly, adding a non-blocking loading function in a LoadableInterface interface, wherein the non-blocking loading function is an asynchronous function and returns immediately after starting the loading of the waveform component without waiting for the loading behavior of the waveform component to be finished. Therefore, the non-blocking load function has very short execution time and does not make the called process sleep. Thus, the waveform creation process may continuously call non-blocking load functions of multiple loadable devices (loadable devices) to initiate simultaneous loading of multiple waveform components to achieve parallel loading.
When the synchronous function load function is called, the loading result of the waveform component can be directly obtained through the return value. The non-blocking (asynchronous) function cannot inform the caller of the loading result, and a callback mode is adopted to allow a loadable device (loadable device) to report the loading result when the loading is finished. Therefore, one parameter in the non-blocking type loading function needs to point to a loading result callback object, and the loading result callback object is used for realizing a loading result callback interface. The load result callback objects may or may not correspond one-to-one to the loadable devices. The load result callback interface comprises a load result return function. After the loadable device finishes loading, the loading result return function is called to inform the waveform creating process of the result.
Inside the core framework, the implementation of the load result callback interface is responsible for the load result callback object. An application factory (application factory) component dynamically creates a plurality of load result callback objects according to the loading requirement in a create function. A result-loaded callback object corresponds to a loadable device. The load result callback object passes the last parameter as a fiscal blocking type load function to the loadable device.
In summary, with the above arrangement, the step of loading waveform components belonging to the same loading batch in parallel includes: and continuously calling non-blocking loading functions of the loadable devices of the waveform components belonging to the same loading batch, and obtaining the loading result of each waveform component in a mode of calling back the loading result to return the function.
Optionally, in specific implementation, the non-blocking load function includes not only the load result callback object, but also the first parameter, the second parameter, and the third parameter. The first parameter is used for indicating a file system where a loaded file (including a waveform component to be loaded) is located, the second parameter is used for indicating a file name of the file (including the waveform component to be loaded) to be loaded, the file name includes complete path information of the file to be loaded, and the third parameter is used for indicating a loading type. The callback loading result return function further comprises a second parameter and a sixth parameter, wherein the sixth parameter is used for indicating the loading result.
Based on the inventive concept, the embodiment of the invention also provides an SCA waveform component loading device. As shown in fig. 8, the SCA waveform component loading apparatus includes: a batch dividing module 10 and a component loading module 20. The component loading module 20 includes a parallel loading sub-module 21 and a serial loading sub-module 22.
The batch dividing module 10 is configured to divide waveform components of a waveform application into at least one loading batch, where each loading batch includes at least one waveform component.
The parallel loading submodule 21 is configured to load waveform components belonging to the same loading batch in parallel. The serial loading submodule 22 loads waveform components belonging to different loading batches in series.
Through the mode, a user can flexibly configure and specify the waveform component of the waveform application to carry out serial loading or parallel loading or serial loading of part of the waveform component and parallel loading of the other part of the waveform component according to the actual requirement of the SDR system so as to improve the time performance of the SDR system and avoid the need of carrying out function clipping on the SCA.
Optionally, in an embodiment, the batch dividing module 10 is specifically configured to: and assigning a loading batch number to each waveform component of the waveform application, wherein the loading batch numbers of the waveform components belonging to the same loading batch are the same, and the loading batch numbers of the waveform components belonging to different loading batches are different.
The component loading module 20 is specifically configured to perform serial loading on the waveform components applied by the waveform according to the sequence from large to small or from small to large of the loading batch number, where the waveform components of the same loading batch number are subjected to parallel loading.
That is, the loading order and loading manner (serial or parallel) of the waveform elements are determined by the loading lot number. For example, the waveform components of the waveform application are loaded in the order of loading batch numbers from small to large, and the loading process can be described as follows: the method comprises the steps of loading and loading the waveform component with the batch number of 1, then loading and loading the waveform component with the batch number of 2 \8230, and 8230until all the waveform components are loaded. If the loading values of multiple waveform components are all n, they will be loaded in parallel in the nth load batch.
By the method, a plurality of waveform assemblies applied by the waveforms can be flexibly loaded in any desired sequence and serial/parallel mode only by simply setting the loading batch number of each waveform assembly, and the requirement of any SDR system on waveform loading process optimization is met.
Optionally, in a specific implementation, the loading configuration information of each waveform component may be stored in a SAD description file of the SCA core framework. The load configuration information includes a load batch attribute. The type of the loading batch attribute is integer, and the value range can be [1-255], and is used for representing the batch loaded by each waveform component. The load batch attribute may be specifically stored in a SAD parking component verification. The batch dividing module 10 is specifically configured to: assigning a load batch number to a load batch attribute of each waveform component of the waveform application.
Each waveform component (instance) corresponds to a componentproperties element for storing the property values that the waveform component (instance) needs to use in the process of creation and initial configuration. Thus, each waveform component (instance) corresponds to a load batch attribute. When a waveform application is created, the SCA core framework reads its SAD description file to know the load lot attribute (load lot number) of each waveform component, and the lot-by-lot loading of the waveform components is completed.
As can be seen from the above analysis, all waveform components of the waveform application can be serially loaded by setting the loading lot number of each waveform component to be different; the SAD description file is not provided with loading batch attributes, and at the moment, the SCA core framework adopts a serial loading process of SCA specifications, namely, a standard Load interface is called to complete component loading, so that compatibility of the SCA specifications is embodied.
The load function of a load interface (loadable interface) of the SCA specification is a synchronous (blocking) function, the waveform creating process enters a sleep state after calling the load function, and is not waken and returned from the load function until the loading process is completed, so that the parallel loading of multiple waveform components is not supported. To implement parallel loading, the present invention provides an asynchronous interface, as shown in FIG. 7.
First, add non-blocking load function in loadableInterface interface. The non-blocking load function is an asynchronous function that returns immediately after the waveform component loading is initiated, without waiting for the waveform component loading behavior to end. Therefore, the non-blocking load function has very short execution time and does not make the called process sleep. Thus, the waveform creation process may successively call non-blocking load functions of multiple loadable devices (loadable devices) to initiate simultaneous loading of multiple waveform components to achieve parallel loading.
When the synchronous function load function is called, the loading result of the waveform component can be directly obtained through the return value. The non-blocking function (asynchronous function) cannot inform the caller of the loading result, and a callback mode is adopted to make a loadable device (loadable device) report the loading result when the loading is finished. Therefore, one parameter in the non-blocking type loading function needs to point to a loading result callback object, and the loading result callback object is used for realizing a loading result callback interface. The load result callback objects may or may not correspond one-to-one to the loadable devices. The load result callback interface comprises a load result return function. After the loadable device finishes loading, the loading result return function is called to inform the waveform creating process of the result.
Inside the core framework, the implementation of the load result callback interface is responsible for the load result callback object. An application factory (application factory) component dynamically creates a plurality of load result callback objects according to the loading requirement in a create function. A result-loaded callback object corresponds to a loadable device. The load result callback object passes the last parameter to the loadable device as a fee blocking load function.
In summary, with the above arrangement, the parallel loading submodule 21 is specifically configured to: and continuously calling non-blocking loading functions of the loadable devices of the waveform components belonging to the same loading batch, and obtaining the loading result of each waveform component in a mode of calling back the loading result to return the function.
Optionally, in a specific implementation, the non-blocking load function includes not only the load result callback object, but also the first parameter, the second parameter, and the third parameter. The first parameter is used for indicating a file system where a loaded file (including a waveform component to be loaded) is located, the second parameter is used for indicating a file name of the file to be loaded (including the waveform component to be loaded), the file name includes complete path information of the file to be loaded, and the third parameter is used for indicating a loading type. The callback loading result return function further comprises a second parameter and a sixth parameter, wherein the sixth parameter is used for indicating the loading result.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
As shown in fig. 9, the present embodiment also provides an electronic device, which may include a processor 51 and a memory 52, wherein the memory 52 is coupled to the processor 51. It is noted that this diagram is exemplary and that other types of structures may be used in addition to or in place of this structure to implement data extraction, report generation, communication, or other functionality.
As shown in fig. 9, the electronic device may further include: an input unit 53, a display unit 54, and a power supply 55. It is noted that the electronic device does not necessarily have to include all of the components shown in fig. 9. Furthermore, the electronic device may also comprise components not shown in fig. 9, reference being made to the prior art.
The processor 51, also sometimes referred to as a controller or operational control, may comprise a microprocessor or other processor device and/or logic device, the processor 51 receiving input and controlling operation of the various components of the electronic device.
The memory 52 may be one or more of a buffer, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory, or other suitable devices, and may store the configuration information of the processor 51, the instructions executed by the processor 51, the recorded table data, and other information. The processor 51 may execute a program stored in the memory 52 to realize information storage or processing, or the like. In one embodiment, a buffer memory, i.e., a buffer, is also included in the memory 52 to store the intermediate information.
Embodiments of the present invention further provide a computer readable instruction, where when the instruction is executed in an electronic device, the program causes the electronic device to execute the operation steps included in the method of the present invention.
Embodiments of the present invention further provide a storage medium storing computer-readable instructions, where the computer-readable instructions cause an electronic device to execute the operation steps included in the method of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that the various illustrative modules described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed system may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention.

Claims (7)

1. A method for loading SCA waveform components, comprising the steps of:
dividing waveform components of a waveform application into at least one loading batch, wherein each loading batch comprises at least one waveform component;
carrying out parallel loading on the waveform components belonging to the same loading batch, and carrying out serial loading on the waveform components belonging to different loading batches;
a non-blocking loading function is arranged in a loading interface of a loadable device of each waveform component of the waveform application, one parameter in the non-blocking loading function points to a loading result callback object, the loading result callback object is used for realizing a loading result callback interface, the loading result callback interface comprises a loading result return function, and the step of loading the waveform components belonging to the same loading batch in parallel comprises the following steps: continuously calling non-blocking loading functions of loadable equipment of waveform components belonging to the same loading batch, and obtaining a loading result of each waveform component in a mode of calling back a loading result return function so as to realize parallel loading of the waveform components belonging to the same loading batch;
the non-blocking loading function further comprises a first parameter, a second parameter and a third parameter, wherein the first parameter is used for indicating a file system where a loaded file is located, the second parameter is used for indicating a file name of the file to be loaded, the file name comprises complete path information of the file to be loaded, and the third parameter is used for indicating a loading type; the callback loading result return function further comprises a second parameter and a sixth parameter, wherein the sixth parameter is used for indicating the loading result.
2. A method for loading SCA waveform components according to claim 1, wherein the step of dividing a waveform component of a waveform application into at least one loading batch comprises: assigning a loading batch number to each waveform component of the waveform application, wherein the loading batch numbers of the waveform components belonging to the same loading batch are the same, and the loading batch numbers of the waveform components belonging to different loading batches are different;
the step of loading the waveform components belonging to the same loading batch in parallel and the step of loading the waveform components belonging to different loading batches in series comprises the following steps: and serially loading the waveform components applied by the waveform according to the sequence of the loading batch numbers from large to small or from small to large, wherein the waveform components with the same loading batch numbers are loaded in parallel.
3. A SCA waveform component loading method according to claim 2, wherein the SAD description file of the SCA core framework stores therein loading configuration information of each waveform component, the loading configuration information including a loading lot attribute, the type of the loading lot attribute being an integer type for indicating a lot in which each waveform component is loaded, the step of assigning a loading lot number to each waveform component applied to the waveform includes:
assigning a load batch number to a load batch attribute of each waveform component of the waveform application.
4. An apparatus for loading an SCA waveform component, comprising: the device comprises a batch dividing module and a component loading module;
the batch dividing module is used for dividing waveform components of a waveform application into at least one loading batch, wherein each loading batch comprises at least one waveform component, a non-blocking loading function is arranged in a loading interface of loadable equipment of each waveform component of the waveform application, one parameter in the non-blocking loading function points to a loading result callback object, the loading result callback object is used for realizing a loading result callback interface, and the loading result callback interface comprises a loading result return function; the non-blocking loading function further comprises a first parameter, a second parameter and a third parameter, wherein the first parameter is used for indicating a file system where a loaded file is located, the second parameter is used for indicating a file name of the file to be loaded, the file name comprises complete path information of the file to be loaded, and the third parameter is used for indicating a loading type; the loading result return function further comprises a second parameter and a sixth parameter, wherein the sixth parameter is used for indicating the loading result;
the component loading module comprises a parallel loading sub-module and a serial loading sub-module, the parallel loading sub-module is used for continuously calling a non-blocking loading function of loadable equipment of waveform components belonging to the same loading batch, and obtaining a loading result of each waveform component in a mode of calling back the loading result to return a function so as to realize parallel loading of the waveform components belonging to the same loading batch, and the serial loading sub-module is used for serially loading the waveform components belonging to different loading batches.
5. The SCA waveform component loading apparatus of claim 4, wherein the batch dividing module is specifically configured to: assigning a loading batch number to each waveform component of the waveform application, wherein the loading batch numbers of the waveform components belonging to the same loading batch are the same, and the loading batch numbers of the waveform components belonging to different loading batches are different;
the component loading module is specifically configured to serially load the waveform components applied by the waveform according to the sequence of the loading lot numbers from large to small or from small to large, wherein the waveform components of the same loading lot number are loaded in parallel.
6. A computer readable storage medium comprising computer readable instructions that, when executed, cause a processor to perform the operations of the method of any of claims 1-3.
7. An electronic device, comprising:
a memory storing program instructions;
a processor coupled to the memory and executing the program instructions in the memory to perform the steps of the method of any of claims 1-3.
CN202011035778.8A 2020-09-27 2020-09-27 SCA waveform component loading method and device, readable medium and electronic equipment Active CN112148384B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011035778.8A CN112148384B (en) 2020-09-27 2020-09-27 SCA waveform component loading method and device, readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011035778.8A CN112148384B (en) 2020-09-27 2020-09-27 SCA waveform component loading method and device, readable medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112148384A CN112148384A (en) 2020-12-29
CN112148384B true CN112148384B (en) 2023-04-18

Family

ID=73894745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011035778.8A Active CN112148384B (en) 2020-09-27 2020-09-27 SCA waveform component loading method and device, readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112148384B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4723208A (en) * 1981-07-31 1988-02-02 Norand Corporation System and method for communication between nodes of a closed loop local communication path
CN103294635A (en) * 2013-04-03 2013-09-11 中国电子科技集团公司第七研究所 Modem component processing core and integrated circuit based on software communication architecture (SCA)
CN105512018A (en) * 2014-09-23 2016-04-20 上海精密计量测试研究所 Formal analysis method for parallel system performance
CN108600369A (en) * 2018-04-25 2018-09-28 中国人民解放军国防科技大学 Waveform management method based on SCA core framework
CN109391223A (en) * 2017-08-02 2019-02-26 丰郅(上海)新能源科技有限公司 It can the method for the photovoltaic generating system of sending and receiving data and its sending and receiving data at times
CN109547044A (en) * 2018-10-28 2019-03-29 西南电子技术研究所(中国电子科技集团公司第十研究所) Non- CORBA waveform components loaded circuit
CN109598983A (en) * 2018-12-12 2019-04-09 中国民用航空飞行学院 A kind of airdrome scene optoelectronic monitoring warning system and method
CN109743396A (en) * 2019-01-10 2019-05-10 中国人民解放军国防科技大学 component loading method of SCA software radio platform
CN110405759A (en) * 2019-07-16 2019-11-05 大唐微电子技术有限公司 A kind of chip control system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8059693B2 (en) * 2008-07-18 2011-11-15 Harris Corporation System and method for communicating data using constant radius orthogonal walsh modulation
CN107786484B (en) * 2011-06-10 2021-02-09 技术研究及发展基金公司 Receiver, transmitter and method for digital multi-subband processing
US20200202981A1 (en) * 2017-07-07 2020-06-25 The Broad Institute, Inc. Methods for designing guide sequences for guided nucleases

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4723208A (en) * 1981-07-31 1988-02-02 Norand Corporation System and method for communication between nodes of a closed loop local communication path
CN103294635A (en) * 2013-04-03 2013-09-11 中国电子科技集团公司第七研究所 Modem component processing core and integrated circuit based on software communication architecture (SCA)
CN105512018A (en) * 2014-09-23 2016-04-20 上海精密计量测试研究所 Formal analysis method for parallel system performance
CN109391223A (en) * 2017-08-02 2019-02-26 丰郅(上海)新能源科技有限公司 It can the method for the photovoltaic generating system of sending and receiving data and its sending and receiving data at times
CN108600369A (en) * 2018-04-25 2018-09-28 中国人民解放军国防科技大学 Waveform management method based on SCA core framework
CN109547044A (en) * 2018-10-28 2019-03-29 西南电子技术研究所(中国电子科技集团公司第十研究所) Non- CORBA waveform components loaded circuit
CN109598983A (en) * 2018-12-12 2019-04-09 中国民用航空飞行学院 A kind of airdrome scene optoelectronic monitoring warning system and method
CN109743396A (en) * 2019-01-10 2019-05-10 中国人民解放军国防科技大学 component loading method of SCA software radio platform
CN110405759A (en) * 2019-07-16 2019-11-05 大唐微电子技术有限公司 A kind of chip control system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
余晓玫 ; 高飞 ; .基于软件通信体系结构的波形FPGA软件设计方法.现代电子技术.2017,(第01期),第10-13页. *
王家华,刘星宇,周崇礼.并行CORBA在网络并行计算中的应用研究.西安石油学院学报(自然科学版).(第03期),第79-82页. *
雍婷 ; 吴宇 ; 熊辉 ; 黄清艳 ; .基于SCA嵌入式平台的PCI设备驱动设计.电子工程师.2007,(第02期),第27-31页. *

Also Published As

Publication number Publication date
CN112148384A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN108614726B (en) Virtual machine creation method and device
WO2019037203A1 (en) Application program performance testing method, device, computer equipment, and storage medium
WO2017053338A1 (en) System and method for processing task resources
CN110427258B (en) Resource scheduling control method and device based on cloud platform
CN109375933B (en) Method and equipment for upgrading client
CN108809683B (en) Method and device for deploying cloud application system
CN107341054B (en) Task execution method and device and computer readable storage medium
CN113885971A (en) State management method and device based on self-adaptive platform system
US11822961B2 (en) Method and apparatus for data processing, server and storage medium
CN112148384B (en) SCA waveform component loading method and device, readable medium and electronic equipment
CN112631664B (en) Signal distribution method, signal distribution device, computer equipment and readable storage medium
CN111294377A (en) Network request sending method of dependency relationship, terminal device and storage medium
AU2023200878B2 (en) Method, apparatus and device for software testing, and compute-readable storage medium
CN111382141A (en) Master-slave architecture configuration method, device, equipment and computer readable storage medium
CN106681810A (en) Task docking processing customized management method, device and electronic equipment
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN109522121A (en) A kind of memory application method, device, terminal and computer readable storage medium
CN114531316A (en) General service-oriented high-reliability bus system
CN113806055A (en) Lightweight task scheduling method, system, device and storage medium
CN112083912A (en) Intermediate result processing method, device, equipment and storage medium for service arrangement
CN113741946B (en) Clipping method, device and equipment of public interface function library and readable storage medium
CN113296900A (en) Task switching method and device
CN112199596B (en) Log filtering processing method, device, equipment and medium
CN115967516B (en) Unified policy agent
CN113204434B (en) Planned task execution method and device based on k8s and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant