Software radio communication method, device and system for SoC heterogeneous platform
By using shared memory and standard interface formats for data transmission on SoC heterogeneous platforms, the problem of low communication efficiency on SoC heterogeneous platforms is solved, efficient software radio communication is achieved, and communication performance and portability are improved.
Patent Information
- Application Number
- CN202410775950.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Existing software radio communication systems are difficult to achieve efficient communication on SoC heterogeneous platforms, especially because CORBA middleware is not suitable for dedicated processors and FPGAs, resulting in limited communication performance.
Shared memory is used for data transmission, and data reading and writing operations are performed through the general hardware abstraction layer and dedicated hardware abstraction layer between application nodes and transmission nodes, shielding the underlying communication mechanism, encapsulating data in standard interface format, and managing reads through an arbitration mechanism. write operation.
It improves the communication efficiency between different nodes on the SoC heterogeneous platform, realizes the cross-platform portability of data communication between waveform components, reduces the transmission delay, and is suitable for the software radio communication system of the SoC heterogeneous platform.
Smart Images

Figure CN118801902A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a software radio communication method, device and software radio communication system for a SoC heterogeneous platform. Background Art
[0002] Software Defined Radio (SDR) is a new type of wireless architecture that organically combines hardware, software, and wireless technology to form a flexible and diverse multifunctional system. The basic idea of software radio is to use a universal, standard, and modular hardware platform as a basis to implement various radio functions through software programming, thereby freeing developers from the hardware-based, purpose-oriented radio design method. Software radio has achieved great results in both military and civilian fields, and the implementation of various software platform architectures has also emerged.
[0003] From the current application situation, the Software Communication Architecture (SCA) proposed in the Joint Tactical Radio System (JTRS) plan is the earliest, most mature, most globally supported, and most widely used standard specification. Other platform architectures are modified and improved on this basis. SCA stipulates that the software platform and component interface standards should be designed with component-based ideas, with good versatility, openness, and scalability, and meet the reusability of software platform components and the portability of waveform components. Therefore, the entire software radio waveform is essentially a logical link of various components in a certain relationship. The communication of the software platform is essentially the communication between various components. The communication method between components directly affects the communication performance of the entire software radio.
[0004] Traditional software radio communication platforms have large system size and high cost, limited working scenarios and working modes, complex hardware platforms, and difficult to ensure the real-time and high-speed performance of the platform. With the popularization and application of small devices such as the Internet of Things and smart terminals, wireless communication equipment tends to be miniaturized, intelligent, low-power, low-cost, flexible, and highly integrated. At present, SoC (System on Chip) heterogeneous platforms using general-purpose processors + special-purpose processors such as GPP (General-Purpose Processor) + DSP (Digital Signal Process) or GPP + FPGA (Field Programmable Gate Array) or GPP + DSP + FPGA architecture are increasingly widely used in miniaturized software radio equipment. Miniaturized software radio equipment such as single-person backpack radios and single-person handheld radios have put forward almost stringent requirements on indicators such as data communication, data transmission time, and power consumption of software radio systems. However, software radio communication systems based on traditional complex radios are no longer suitable for miniaturized SoC heterogeneous platforms. In addition, the software communication architecture SCA recommends that software radio use CORBA (Common Object Request Broker Architecture) middleware for communication, but this suggestion only applies to general-purpose processors GPP. Since dedicated processors DSP and FPGA are limited by hardware device resources and it is difficult to implement CORBA interfaces, CORBA middleware is not suitable for SoC heterogeneous platforms of general-purpose processors and dedicated processor architectures. The communication method of SoC heterogeneous platforms directly affects the overall software radio communication performance.
[0005] In view of this, how to achieve communication between different nodes suitable for SoC heterogeneous platforms and improve the communication efficiency of componentized reconfigurable systems such as software radio is a technical problem that technical personnel in the relevant field need to solve. Summary of the invention
[0006] The present application provides a software radio communication method, device and software radio communication system for SoC heterogeneous platforms, which realizes communication between different nodes suitable for SoC heterogeneous platforms and effectively improves the communication efficiency of componentized reconfigurable systems such as software radio.
[0007] To solve the above technical problems, the embodiments of the present invention provide the following technical solutions:
[0008] An embodiment of the present invention provides a software radio communication method for a SoC heterogeneous platform.
[0009] The invention is applied to a software radio communication system including a dedicated processor as a transmission node, a general-purpose processor as an application node and a memory as a storage node, wherein the application node and the transmission node use a shared memory mode to transmit data; the application node sends a data read and write address to the transmission node in advance; the method includes:
[0010] When receiving a data writing request to the transmission node, the application node sends the data to be written encapsulated in a standard interface format to the storage node, and simultaneously sends a data reading signal to the transmission node, so that the transmission node reads the data to be written from the storage node based on a read address;
[0011] When receiving a data write request to the application node, the transmission node sends the target data encapsulated in the standard interface format to the storage node based on the write address, and simultaneously sends a data read signal to the application node so that the application node reads the target data from the storage node.
[0012] Optionally, also include:
[0013] Reading configuration information from the storage node;
[0014] Obtaining read configuration information and / or write configuration information and / or control information by parsing the configuration information;
[0015] Sending the read configuration information to a read module so that the read module performs a data read operation based on a read start address in the read configuration information;
[0016] Sending the write configuration information to a write module so that the write module performs a data write operation based on a write start address in the write configuration information;
[0017] A control instruction is generated based on the control information, and the control instruction is sent to the target module to complete the reset operation.
[0018] Optionally, performing a data reading operation based on a read start address in the read configuration information includes:
[0019] Reading target actual data from the storage node based on the read start address;
[0020] Performing message detection on the target actual data based on the data format of the target actual data to obtain a start message and / or an end message and / or an address information message;
[0021] Generate a start flag based on the start message, the start flag is used to trigger the address resolution operation on the address information message and serves as an enable flag of the read module or the write module;
[0022] An end flag is generated based on the end message, and the end flag is used to trigger a parsing operation of the end message and serves as an enable flag bit of the read module or the write module.
[0023] Optionally, also include:
[0024] Pre-configuring a hardware abstraction layer interface and a corresponding configuration package file for a waveform component that processes waveform data of the software wireless communication system, so that the waveform component receives or sends an extensible signal through the hardware abstraction layer interface and the configuration package file;
[0025] receiving a read signal and / or a write signal from the waveform component;
[0026] If there are multiple read signals and write signals that are in an enabled state at the same time, arbitration is performed on each read signal and each write signal so that the read operation and the write operation cannot be performed at the same time.
[0027] Optionally, if there are multiple read signals and write signals that are simultaneously in an enabled state, arbitrating each read signal and each write signal so that the read operation and the write operation cannot be performed simultaneously includes:
[0028] Determine whether there is a first enable signal;
[0029] If the first enable signal exists, wait until the first enable operation transmission is completed, and then determine whether the second enable signal exists; if the first enable signal does not exist, directly determine whether the second enable signal exists;
[0030] If the second enable signal does not exist, returning to the step of determining whether the first enable signal exists;
[0031] If the second enable signal exists, determining whether the configuration package file is configured with a feedback signal; if the feedback signal is configured, transmitting the received data to a module that performs an operation type different from that corresponding to the first enable signal, and generating the feedback signal; if the feedback signal is not configured, transmitting the received data to a module that performs an operation type different from that corresponding to the first enable signal;
[0032] The first enable signal and the second enable signal are read enable signals or write enable signals, and the operation types corresponding to the first enable signal and the second enable signal are read operations and write operations.
[0033] Another aspect of the present invention provides a software radio communication device for a SoC heterogeneous platform, which is applied to a software radio communication system including a dedicated processor as a transmission node, a general-purpose processor as an application node, and a memory as a storage node, including:
[0034] The application node includes a general waveform component, a general hardware abstraction layer and a general driver adaptation layer; the transmission node includes a dedicated waveform component, a dedicated hardware abstraction layer and a dedicated driver adaptation layer; the application node and the transmission node transmit data in a shared memory manner, and the general hardware abstraction layer of the application node sends the data read and write address to the dedicated hardware abstraction layer of the transmission node in advance;
[0035] The general hardware abstraction layer is used to encapsulate the data to be written into a standard interface format when there is a data writing request to the transmission node, and send it to the memory through the general driver adaptation layer, and at the same time send a data reading signal to the dedicated hardware abstraction layer, so that the dedicated waveform component reads the data to be written from the storage node through the dedicated driver adaptation layer based on the read address;
[0036] The dedicated hardware abstraction layer is used to send the target data encapsulated in the standard interface format to the storage node through the dedicated driver adaptation layer based on the write address when there is a request to write data to the application node, and at the same time send a data read signal to the general hardware abstraction layer, so that the target data can be read from the storage node through the general hardware abstraction layer and the general driver adaptation layer.
[0037] Optionally, the dedicated hardware abstraction layer includes a read module, a write module, a configuration module and an expansion interface module;
[0038] The extended interface module is used to provide a data interaction port and a configuration package file for the dedicated waveform component and the dedicated hardware abstraction layer;
[0039] The writing module is used to obtain the data to be written from the dedicated waveform component, and write the data to be written into the memory through the dedicated driver adapter layer;
[0040] The reading module is used to read the waveform data from the memory and transmit the waveform data to the dedicated waveform component;
[0041] The configuration module is used to read configuration information from the storage node; obtain read configuration information and / or write configuration information and / or control information by parsing the configuration information; send the read configuration information to the read module to perform a data read operation based on the read start address in the read configuration information; send the write configuration information to the write module to perform a data write operation based on the write start address in the write configuration information; generate a control instruction based on the control information, and send the control instruction to the target module to complete the reset operation.
[0042] Optionally, the expansion interface module includes a capacity sending module, a read arbitration module, a write arbitration module and a target interface module; the read arbitration module and the write arbitration module are not in working state at the same time;
[0043] The capacity sending module is used to send the space capacity value of the dedicated waveform component to transmit data to the reading module or the writing module;
[0044] The read arbitration module is used to receive a read enable signal and a write enable signal from the dedicated waveform component, and when there are multiple read signals and write signals in an enabled state, perform arbitration to determine whether the read module or the write module is currently in a working state;
[0045] The write arbitration module is used to receive a read enable signal and a write enable signal from the dedicated waveform component, and when there are multiple read signals and write signals in an enabled state, perform arbitration to determine whether the read module or the write module is currently in a working state.
[0046] Optionally, the write module is instantiated into a plurality of sub-write modules, each of which has the same logical architecture, and each of which includes a sending module and a data packet module; the data packet module is used to package the data generated by the dedicated waveform component according to a preset packet format to generate a write data packet, and the sending module is used to send a write signal to a corresponding drive interface, and write the received write data packet into the memory;
[0047] The read module is instantiated into multiple sub-read modules, each sub-read module has the same logical architecture, and each sub-read module includes a receiving module and an analysis module; the analysis module is used to obtain read address information after determining that the received package data meets the requirements; the receiving module is used to read the package data from the read address information and send a data enable signal to the dedicated waveform component.
[0048] An embodiment of the present invention further provides an electronic device, comprising a processor, wherein the processor is configured to implement the steps of the software radio communication method for a SoC heterogeneous platform as described in any of the preceding items when executing a computer program stored in a memory.
[0049] An embodiment of the present invention further provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the software radio communication method for a SoC heterogeneous platform as described in any of the preceding items are implemented.
[0050] Finally, the embodiment of the present invention further provides a software radio communication system, including a dedicated processor, a general-purpose processor, a memory and an electronic device;
[0051] The dedicated processor and the general processor use the shared memory method to perform data transmission via the memory;
[0052] The electronic device comprises a processor, and the processor is used to implement the steps of the software radio communication method for SoC heterogeneous platform as described in any of the preceding items when executing the computer program stored in the memory.
[0053] The advantage of the technical solution provided by this application is that it can shield the underlying communication mechanism related to heterogeneous hardware platforms and complete data routing. By encapsulating standard communication interfaces, the data communication mode between waveform components is separated from the specific hardware platform, the consistency of the underlying communication access interface of the waveform component is maintained, and the cross-platform portability of waveform applications in software radio systems is improved. At the same time, shared memory is used between application nodes and transmission nodes for data transmission, which reduces transmission delays and realizes communication between different nodes suitable for SoC heterogeneous platforms, effectively improving the communication efficiency of component-based reconfigurable systems such as software radio.
[0054] In addition, the embodiments of the present invention also provide corresponding implementation devices, electronic devices, readable storage media and software radio communication systems for the software radio communication method for SoC heterogeneous platforms, further making the method more practical, and the devices, electronic devices, readable storage media and software radio communication systems have corresponding advantages.
[0055] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present invention or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0057] Figure 1 A schematic flow chart of a software radio communication method for a SoC heterogeneous platform provided by an embodiment of the present invention;
[0058] Figure 2 A schematic diagram of the framework structure of a software radio communication system for an exemplary application scenario provided by an embodiment of the present invention;
[0059] Figure 3 A structural diagram of a specific implementation of a software radio communication device for a SoC heterogeneous platform provided by an embodiment of the present invention;
[0060] Figure 4 A schematic diagram of the framework structure of a hardware abstraction layer of an exemplary application scenario provided by an embodiment of the present invention;
[0061] Figure 5 A schematic diagram of the framework structure of a configuration module for an exemplary application scenario provided by an embodiment of the present invention;
[0062] Figure 6 A schematic diagram of the framework structure of an extended interface module for an exemplary application scenario provided by an embodiment of the present invention;
[0063] Figure 7 A schematic diagram of the working principle of a read arbitration module provided in an embodiment of the present invention;
[0064] Figure 8 A schematic diagram of the working principle of a write arbitration module provided in an embodiment of the present invention;
[0065] Fig. 9 A schematic diagram of the framework structure of a writing module for an exemplary application scenario provided by an embodiment of the present invention;
[0066] Fig.10 A schematic diagram of the framework structure of a reading module for an exemplary application scenario provided by an embodiment of the present invention;
[0067] Fig.11 A structural diagram of a specific implementation of an electronic device provided by an embodiment of the present invention;
[0068] Fig.12 A structural diagram of a specific implementation of a software radio communication system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0069] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0070] The terms "first", "second", "third", "fourth", etc. in the specification and claims of this application and the above drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.
[0071] After introducing the technical solutions of the embodiments of the present invention, various non-limiting implementation methods of the present application are described in detail below.
[0072] See first Figure 1 , Figure 1 A flow chart of a software radio communication method for a SoC heterogeneous platform provided in an embodiment of the present invention is provided. The SoC heterogeneous platform is a platform composed of a dedicated processor and a general-purpose processor. The SoC heterogeneous platform can be, for example, a SoC heterogeneous platform with a GPP+DSP architecture, a SoC heterogeneous platform with a GPP+FPGA architecture, a SoC heterogeneous platform with a GPP+DSP+FPGA architecture, etc. This embodiment is applied to a software radio communication system, such as Figure 2 As shown, the software radio communication system may include a dedicated processor as a transmission node, a general-purpose processor as an application node, and a memory as a storage node. The embodiment of the present invention implements data communication between the dedicated processor and the general-purpose processor from the software level without relying on hardware, so the underlying communication mechanism can be shielded, and the entire data communication is in the same SoC heterogeneous platform, and the communication efficiency is significantly higher than that of cross-platform. The application node and the transmission node use a shared memory method for data transmission, that is, the two sides of the SoC heterogeneous platform communicate through the storage node. Compared with the data communication through packet switching in the prior art, it can obviously improve the timeliness of communication. The application node will send the data read and write address to the transmission node in advance, and the subsequent data reading and writing of the application node and the transmission node can be based on the data read and write address. The software radio communication process may include the following:
[0073] S101: When receiving a data write request to a transmission node, the application node sends the data to be written encapsulated in a standard interface format to the storage node, and simultaneously sends a data read signal to the transmission node, so that the transmission node reads the data to be written from the storage node based on the read address.
[0074] In this embodiment, the standard interface format is an encapsulated standard communication interface. The data sent by the waveform component is encapsulated into the standard interface format for data transmission on the entire SoC heterogeneous platform. This can shield the underlying communication mechanism related to the heterogeneous hardware platform and improve the cross-platform portability of waveform applications in software radio systems.
[0075] S102: When receiving a data write request to an application node, the transmission node sends the target data encapsulated in a standard interface format to the storage node based on the write address, and simultaneously sends a data read signal to the application node, so that the application node reads the target data from the storage node.
[0076] The communication process between the application node and the transmission node of this embodiment is: the application node sends the address of the storage node to read and write data to the transmission node; the transmission node replies to the application node that the read and write addresses have been received; the application node sends the data to the write area of the memory, then reads the data from the read area of the memory, and transmits the read data to the waveform component of the application node; the waveform component of the transmission node reads the data from the memory, and sends the read data to the storage node.
[0077] In the technical solution provided in the embodiment of the present invention, it is possible to shield the underlying communication mechanism related to the heterogeneous hardware platform, complete data routing, encapsulate the standard communication interface, realize the separation of the data communication mode between waveform components and the specific hardware platform, maintain the consistency of the underlying communication access interface of the waveform component, and improve the cross-platform portability of the waveform application in the software radio system. At the same time, shared memory is used for data transmission between application nodes and transmission nodes, which reduces the transmission delay and realizes communication between different nodes suitable for SoC heterogeneous platforms, effectively improving the communication efficiency of component-based reconfigurable systems such as software radio.
[0078] It should be noted that there is no strict order of execution between the steps in this application. As long as they comply with the logical order, these steps can be executed simultaneously or in a certain preset order. Figure 1 This is just a schematic and does not mean that this is the only execution order.
[0079] Inevitably, the entire software wireless communication system needs to be configured. Based on the above embodiment, this embodiment further provides a configuration implementation of the software wireless communication system, which may include:
[0080] The transmission node reads configuration information from the storage node; obtains read configuration information and / or write configuration information and / or control information by parsing the configuration information; sends the read configuration information to the read module, so that the read module performs a data read operation based on the read start address in the read configuration information; sends the write configuration information to the write module, so that the write module performs a data write operation based on the write start address in the write configuration information; generates a control instruction based on the control information, and sends the control instruction to the target module to complete the reset operation.
[0081] In this embodiment, different configuration information has different data formats. The type of the configuration information can be known through the corresponding data format. The type of the configuration information can be identified by comparing the data format with the format of the acquired configuration information.
[0082] In order to further improve data security and ensure the integrity of the parsed data, this embodiment further provides a trigger mechanism, that is, the process of performing a data reading operation based on the read start address in the read configuration information may include:
[0083] The target actual data is read from the storage node based on the read start address; based on the data format of the target actual data, the target actual data is subjected to message detection to obtain a start message and / or an end message and / or an address information message; based on the start message, a start flag is generated, the start flag is used to trigger an address resolution operation on the address information message, and serves as an enable flag of the read module or the write module; based on the end message, an end flag is generated, the end flag is used to trigger a resolution operation of the end message, and serves as an enable flag of the read module or the write module.
[0084] In this embodiment, the target actual data has a specific format, which can be flexibly selected according to the actual application scenario and is pre-agreed. The target actual data is the data actually transmitted. The format of the target actual data can be, for example, LD+length+data, where LD represents the data type, LD can be fixed to occupy two bytes, and the length can be fixed to occupy 2 bytes. Remove LD, remove the length, and the remaining data is the read address or write address. That is, it is only necessary to read the length bytes from the 5th byte of the target actual data to obtain the useful data, that is, the read and write address. For example, a certain LD represents a start-end message, and a certain LD represents an address information message. If it is a start-end message, the data is a start mark or an end mark, such as 1 represents the start and 0 represents the end; if it is an address information message, the data is the address information, and the message parsing module parses the address and sends it to the matching module. The message detection module extracts the fixed LD and data length. As for the start-end data and payload, it is a manifestation of different data formats of useful data. The start mark and the end mark are two different marks, so they correspond to two frames of message data. The process is processed according to a specific format, and the corresponding results of different formats and numbers of each packet of data are different. The start mark and end mark can also be extracted in the above way.
[0085] It is understandable that, since the specification stipulates relatively more signal lines, there will be common signal lines, that is, the reading module and the writing module share the same signal line for feedback, so the reading module and the writing module cannot work at the same time, which will cause confusion in the output information of the signal line. In order to ensure the stability of the reading and writing of the system, based on the above embodiment, it can also include:
[0086] Pre-configuring a hardware abstraction layer interface and a corresponding configuration package file for a waveform component that processes waveform data of a software wireless communication system, so that the waveform component receives or sends an extensible signal through the hardware abstraction layer interface and the configuration package file;
[0087] receiving a read signal and / or a write signal from a waveform component;
[0088] If there are multiple read signals and write signals that are in an enabled state at the same time, arbitration is performed on each read signal and each write signal so that the read operation and the write operation cannot be performed at the same time.
[0089] Among them, the configuration package file is a separate file specified in the SCA specification, which contains parameter information. There are many parameters that need to be configured in the configuration package file, such as configurable optional signal-related parameters, and can also be used to configure extensible signal interface-related parameters. The configuration package file also includes parameter configuration information, which will be used as an enable signal for the signal. The so-called enable signal is a signal that works or does not work, such as 1 for work and 0 for not work. Simply put, the content of the configuration package file determines which module of the extended interface module is working, that is, different parameter configurations result in different working modules.
[0090] As an optional implementation, the arbitration execution process of the above embodiment may be:
[0091] Determine whether there is a first enable signal;
[0092] If the first enable signal exists, wait until the first enable operation transmission is completed, and then determine whether the second enable signal exists; if the first enable signal does not exist, directly determine whether the second enable signal exists;
[0093] If the second enable signal does not exist, returning to the step of determining whether the first enable signal exists;
[0094] If the second enable signal exists, determine whether the configuration package file is configured with a feedback signal; if the feedback signal is configured, transmit the received data to a module that executes an operation type different from that corresponding to the first enable signal, and generate a feedback signal at the same time; if the feedback signal is not configured, transmit the received data to a module that executes an operation type different from that corresponding to the first enable signal;
[0095] Among them, the first enable signal and the second enable signal are read enable signals or write enable signals, that is, the first enable signal and the second enable signal are different, and can only be one of the read enable signal and the write enable signal. If the first enable signal is a read enable signal, the second enable signal is a write enable signal, and if the first enable signal is a write enable signal, the second enable signal is a read enable signal. The first enable signal and the second enable signal correspond to operation types of read operation and write operation. For example, if the first enable signal is a read enable signal, its corresponding operation type is a read operation, and the module with a different operation type from the first enable signal is a module that performs a write operation, that is, a write module. If the first enable signal is a write enable signal, its corresponding operation type is a write operation, and the module with a different operation type from the first enable signal is a module that performs a read operation, that is, a read module. The feedback signal can be pre-configured for the waveform component of the application node or the transmission node through the configuration package file.
[0096] The embodiment of the present invention also provides a corresponding device for the software radio communication method for SoC heterogeneous platform, which further makes the method more practical. Among them, the device can be described from the perspective of functional modules and hardware. The software radio communication device for SoC heterogeneous platform provided by the embodiment of the present invention is introduced below. The software radio communication device for SoC heterogeneous platform described below and the software radio communication method for SoC heterogeneous platform described above can be referred to each other.
[0097] From the perspective of functional modules, see Figure 3 , Figure 3 The structural diagram of a software radio communication device for a SoC heterogeneous platform provided in an embodiment of the present invention in a specific implementation manner is applied to a software radio communication system, and the software radio communication system includes a dedicated processor as a transmission node 32, a general-purpose processor as an application node 31, and a memory as a storage node 33. The device may also include:
[0098] The application node 31 includes a general waveform component 311, a general hardware abstraction layer 312, and a general driver adaptation layer 313; the transmission node 32 includes a dedicated waveform component 321, a dedicated hardware abstraction layer 322, and a dedicated driver adaptation layer 323; the application node 31 and the transmission node 32 use a shared memory method for data transmission, and the general hardware abstraction layer 312 of the application node 31 sends the data read and write address to the dedicated hardware abstraction layer 322 of the transmission node 32 in advance. The dedicated processor and the general processor communicate directly through the general hardware abstraction layer 312 and the dedicated hardware abstraction layer 322, and the general hardware abstraction layer 312 and the dedicated hardware abstraction layer 322 are software function modules encapsulated by computer programs that implement corresponding functions.
[0099] In this embodiment, the communication process between the application node and the transmission node is as follows: the general hardware abstraction layer 312 of the application node 31 sends the address of the storage node 32 to read and write data to the dedicated hardware abstraction layer 322 of the transmission node 32; the dedicated hardware abstraction layer 322 of the transmission node 32 replies that the general hardware abstraction layer 312 of the application node 31 has received the read and write address; the general waveform component 311 of the application node 31 sends the data to the write area of the memory through the general hardware abstraction layer 312 and the general driver adaptation layer 313 of the application node 31. And read data from the memory read area, and transmit the data to the general waveform component 311 of the application node 31 through the general driver adaptation layer 313 of the application node 31 and the general hardware abstraction layer 312 of the application node 31; the dedicated waveform component 321 of the transmission node 32 reads data from the memory through the dedicated hardware abstraction layer 322 of the transmission node 31 and the dedicated driver adaptation layer 323 of the transmission node 32, and sends the data to the storage node through the dedicated hardware abstraction layer 322 of the transmission node 32 and the dedicated driver adaptation layer 323 of the transmission node 32.
[0100] Among them, the general hardware abstraction layer 312 is used to encapsulate the data to be written into the standard interface format when there is a data writing request to the transmission node, and send it to the storage 33 through the general driver adaptation layer 313, and send a data read signal to the dedicated hardware abstraction layer 322, so that the dedicated waveform component 321 reads the data to be written from the storage node 33 through the dedicated driver adaptation layer 323 based on the read address. The dedicated hardware abstraction layer 322 is used to send the target data encapsulated in the standard interface format to the storage node 33 through the dedicated driver adaptation layer 323 based on the write address when there is a data writing request to the application node, and send a data read signal to the general hardware abstraction layer 312, so that the target data is read from the storage node 33 through the general hardware abstraction layer 312 and the general driver adaptation layer 313. The hardware abstraction layer, namely the general hardware abstraction layer 312 and the dedicated hardware abstraction layer 322, is an important part of the software radio communication system, which can shield the underlying driver, complete data routing, and extend the interface specified by the standard hardware abstraction layer to interact with the waveform components, namely the general waveform component 311 and the dedicated waveform component 321. Separate the data communication mode between waveform components from the specific hardware platform, maintain the consistency of the underlying communication access interface of the waveform components, and improve the cross-platform portability of waveform applications.
[0101] The functions of the functional modules of the software radio communication device for SoC heterogeneous platform in the embodiment of the present invention can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0102] It can be seen from the above that this embodiment can implement software radio communication applicable to SoC heterogeneous platforms, and effectively improve the communication efficiency of the software radio communication system.
[0103] Optionally, in some implementations of this embodiment, please refer to Figure 4 The present application also defines the specific structure of the dedicated hardware abstraction layer 322. Figure 4 3 is a schematic diagram of the structure of the dedicated hardware abstraction layer 322, which may include a read module, a configuration module, a write module, and an extended interface module. Figure 4 The dotted box is the configuration control part, which is responsible for reading and parsing the hardware abstraction layer configuration data from the memory, and distributing the parsed configuration data to different modules. Through the configuration information, it informs each module of the read and write start address or controls other modules to complete reset and other functions; the reading module, writing module and expansion interface module are the main parts of the dedicated hardware abstraction layer, which are used to realize the data reading and writing and data routing of the dedicated hardware abstraction layer. The waveform component and the dedicated hardware abstraction layer use a unified port for data exchange. The hardware abstraction layer developer and the driver developer can negotiate the hardware abstraction layer and driver interaction port according to the actual application scenario. Payload refers to the actual information to be transmitted in data transmission, which is also usually referred to as actual data or data body.
[0104] In this embodiment, the extended interface module is used to provide a data interaction port and a configuration package file for the dedicated waveform component 321 and the dedicated hardware abstraction layer 322. The write module is used to obtain the data to be written from the dedicated waveform component 321, and write the data to be written into the storage node 33 through the dedicated driver adapter layer 323. The read module is used to read the waveform data from the storage node 33 and transmit the waveform data to the dedicated waveform component 321. The configuration module is used to read the configuration information from the storage node 33, and obtain the read configuration information and / or write configuration information and / or control information by parsing the configuration information. Specifically, the configuration module sends the read configuration information to the read module to perform a data read operation based on the read start address in the read configuration information. It sends the write configuration information to the write module to perform a data write operation based on the write start address in the write configuration information; generates a control instruction based on the control information, and sends the control instruction to the target module to complete the reset operation.
[0105] As an optional implementation of this embodiment, the configuration module is responsible for reading the configuration data of a specified storage space through the driver interface and parsing it, and writing the parsed configuration data to the matching module for distribution. At the same time, it can also control other modules to complete reset through configuration instructions, and after reset, it can send messages for reconfiguration. The configuration module may include a message detection module, a start-end mark module, a message parsing module, a message reading module and a matching module, and its structure may be as follows: Figure 5As shown, the direction indicated by the arrow is the basic data flow direction. The configuration data enters from the message reading module and is processed by each module before being sent by the matching module. The main function is to send the read and write start addresses to the read and write modules. The message reading module reads the data and sends it to the message detection module; the message detection module parses the data. If it is a start message or an end message, it is sent to the start-end mark module, and if it is an address message, it is sent to the parsing message module; the start-end mark module sends the parsed specific mark data to the parsing message module; after receiving the start mark, the parsing message module parses the message sent by the message detection module and sends the parsed address information to the matching module; if the end mark is received, the parsing of the message ends; the matching module sends the read and write addresses to the reading module and the writing module. Specifically, when the external module, i.e., the reading module or the writing module, needs to obtain the parsed data from the matching module, it will send a request to the matching module and provide the configuration data. The matching data will be matched with the matching module. If the match is successful, the data will be sent, otherwise it will not be sent. In order to ensure the reliability of configuration data and reduce the possibility of unnecessary errors caused by configuration messages, the configuration module also refers to a trigger mechanism in this embodiment, that is, the execution of message parsing operations and the end of message parsing operations are triggered by identification information. The message reading module reads the target actual data from the storage node based on the read start address; the message detection module performs message detection on the target actual data based on the data format of the target actual data to obtain a start message and / or an end message and / or an address information message; it sends the start message and / or the end message to the start-end mark module, and sends the address information message to the parsing message module. The start-end mark module generates a start mark based on the start message, and the start mark is used to trigger the address parsing operation of the address information message, and serves as an enable flag of the reading module or the writing module; the end mark is generated based on the end message, and the end mark is used to trigger the parsing operation of the end message, and serves as an enable flag of the reading module or the writing module. The general parsing message module performs the message parsing operation after receiving the start mark, and ends the message parsing operation after receiving the end mark. The matching module is used to send the address information obtained by the parsing message module to the corresponding functional module. It can be understood that the read module and the write module are linked to the configuration module. Since the read module and the write module have a sequential distinction with the configuration module, the configuration module works first, and the read module and the write module work later, so the configuration module needs to pass the work end flag signal to the outside and use it as the enable of the read module and the write module. Correspondingly, the parsing message module needs to work and end according to the start flag and the end flag, and the external read module and the write module also need this flag to decide whether to work or stop.
[0106] Optionally, in some other implementations of this embodiment, this embodiment also defines the structure of the extended interface module, and the main function of the extended interface module is to receive or send extensible signals for the waveform component. Whether receiving a waveform component signal or sending a signal to a waveform component, the corresponding functional module can process the signal according to the content of the configuration package file. This can avoid the phenomenon that the function cannot be realized due to inconsistency of the extensible signals of the waveform component or the hardware abstraction layer. The extended interface module displays a standardized hardware abstraction layer interface to the waveform component. These interfaces are the optional signal interface and the extensible signal interface specified by the specification. The specification stipulates whether these interfaces are used by agreement between the developers of the hardware abstraction layer and the waveform component. At the same time, the specification also stipulates a configuration package file, so that developers can configure optional signal-related parameters or other parameters in the configuration package file. Therefore, an extended interface module is set up under the premise of the specification, and the extended interface is classified according to the coupling between the modules. Finally, the extended interface is divided into roughly four categories and composed of four modules. Please refer to Figure 6 The above-mentioned expansion interface module may include a capacity sending module, a read arbitration module, a write arbitration module and a target interface module; the read arbitration module and the write arbitration module are not in working state at the same time.
[0107] Among them, the configuration package needs to pre-configure the signals that enable these functional modules, namely the capacity sending module, the read arbitration module, the write arbitration module and the target interface module to work. The capacity sending module is used to send the spatial capacity value of the corresponding waveform component to transmit data to the corresponding read module or write module. The read arbitration module is used to receive the read enable signal and the write enable signal from the corresponding waveform component, and when there are multiple read signals and write signals in the enabled state, perform arbitration to determine whether the corresponding read module or the corresponding write module is currently in the working state; the write arbitration module is used to receive the read enable signal and the write enable signal from the corresponding waveform component, and when there are multiple read signals and write signals in the enabled state, perform arbitration to determine whether the corresponding read module or the corresponding write module is currently in the working state. The so-called enable signal is the signal that makes it work. The read and write arbitration functions of the read arbitration module and the write arbitration module are basically the same. The read and write arbitration modules receive the read and write enable signals from the waveform component and arbitrate them. When multiple read and write signals are enabled at the same time, the arbitration takes effect. The configuration package can be used to configure whether the waveform component uses feedback signals. If the feedback signal is configured, the feedback signal will be sent to the waveform component after confirming the reception of the read or write signal. The read and write arbitration determines whether the read module or the write module works. The target interface module is an optional interface module, which consists of interfaces that are not closely related to the read module and the write module.
[0108] It is understandable that since there are relatively many signal lines specified in the specification, there will be common signal lines, that is, the read and write modules share the same signal line for feedback, so the read and write modules cannot work at the same time, which will cause confusion in the signal line output information. Therefore, this embodiment uses the read arbitration module and the write arbitration module to restrict each other. When the read arbitration module works, it will restrict the work of the write arbitration until the read arbitration work is completed, and vice versa. Figure 7 The read arbitration module flow chart and Figure 8 The write arbitration module flowchart shown in the figure illustrates the workflow of the two:
[0109] For the read arbitration module: determine whether there is a write enable signal; if there is a write enable signal, wait until the write enable operation is transmitted, and then determine whether there is a read enable signal; if there is no write enable signal, directly determine whether there is a read enable signal; if there is no read enable signal, return to determine whether there is a write enable signal; if there is a read enable signal, determine whether the configuration package file is configured with a feedback signal; if the feedback signal is configured, transmit the received data to the read module and generate a feedback signal at the same time; if the feedback signal is not configured, transmit the received data to the read module.
[0110] For the write arbitration module: determine whether there is a read enable signal; if there is a read enable signal, wait until the read enable operation is transmitted, and then determine whether there is a write enable signal; if there is no read enable signal, directly determine whether there is a write enable signal; if there is no write enable signal, return to determine whether there is a read enable signal; if there is a write enable signal, determine whether the configuration package file is configured with a feedback signal; if a feedback signal is configured, transmit the received data to the write module and generate a feedback signal at the same time; if no feedback signal is configured, transmit the received data to the write module;
[0111] The write module function of this embodiment is to obtain write data and signals from the waveform component, and write the data into the memory through the driver. In this process, it is necessary to receive the address information transmitted from the configuration module to ensure that the data information of the corresponding waveform component is written into the corresponding storage space. At the same time, after writing the waveform component information, the write module packages the relevant information and writes it into the planned memory information space. The read module function is to read the waveform data from the memory through the driver, and transmit the read waveform data to the waveform component. Optionally, in some other implementations of this embodiment, this embodiment also defines the structure of the write module and the read module, please refer to Fig. 9 and Fig.10 , which may include:
[0112] The above-mentioned writing module can be instantiated into multiple sub-writing modules, each of which has the same logical architecture. Each sub-writing module includes a sending module and a data packet module; the data packet module is used to package the data generated by the corresponding waveform component according to the preset packet format to generate a write data packet, and the sending module is used to send a write signal to the corresponding drive interface and write the received write data packet to the storage node. The data sent by the sending module and the data packet module are different. The sending module is used to write payload data, which is obtained by the waveform component transmission. The data packet module packages and sends configuration data by itself. The preset packet format is a data packet format flexibly determined according to the actual application scenario, for example, it can be composed of LD+number of transmissions+data length+end flag. The data packet module packages the data according to this format, and then the sending module sends the business data. After sending, the sending module sends an end signal to the data packet module, and the data packet module sends the packaged data to the sending module, and the sending module sends the packaged data, and the entire writing module ends.
[0113] The working process of the entire write module is as follows: first, the waveform component initiates a write enable to the expansion interface module, which generates an enable signal after processing and transmits it to the write module. The data packet module performs data packetization, and at the same time, the sending module initiates a write signal to the driver. After handshaking, the address and data are transmitted to the driver, and the driver writes the data into the memory. After the data transmission of the sending module is completed, the sending module informs the data packet module of the completion of the transmission. The data packet module transmits the packetized data to the sending module, and the sending module transmits it to the driver. When the driver writes the data into the memory, the write module transmission ends. Specifically, the data packet module is used to packetize the data generated by the dedicated waveform component according to a preset packet format to generate a write data packet. The sending module is used to send a write signal to the driver interface of the dedicated driver adaptation layer.
[0114] In this embodiment, the reading module is instantiated into multiple sub-reading modules, each of which has the same logical architecture, and each sub-reading module includes a receiving module and an analyzing module. The analyzing module parses the received data and parses the data packet content according to a specific data format for use by the receiving module. The specific data format here is the same as the preset packet format of the above-mentioned writing module. If the data format of the received data is the same as the preset packet format, the parsing operation is performed. If the data format of the received data is different from the preset packet format, the data is discarded. The analyzing module is used to obtain the read address information after determining that the received packaged data meets the requirements; the receiving module is used to read the packaged data from the read address information and send a data enable signal to the corresponding waveform component.
[0115] The working process of the reading module is as follows: first, the receiving module cyclically reads the package data from a specific address, and transmits the read data to the analysis module for analysis. The analysis module determines whether the package data meets the requirements. If it does, it requests the data read address information from the matching module. Then the receiving module reads data from a certain address. The read address at this time is the read address information issued by the matching module. The receiving module initiates data enable to the waveform component. Simply put, it tells the general processor waveform component that the data is ready and can be retrieved. Then the general processor waveform component will go to the reading module to retrieve data. The entire reading module is finished. Specifically, the receiving module is used to read the package data from the read address information and send a data enable signal to the dedicated waveform component 321.
[0116] The software radio communication device for SoC heterogeneous platform mentioned above is described from the perspective of functional modules. Furthermore, the present application also provides an electronic device, which is described from the perspective of hardware. Fig.11 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application in one implementation manner. Fig.11 As shown, the electronic device includes a memory 110 for storing computer programs; a processor 111 for implementing the steps of the software radio communication method for SoC heterogeneous platforms mentioned in any of the above embodiments when executing the computer programs.
[0117] Among them, the processor 111 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the processor 111 may also be a controller, a microcontroller, a microprocessor or other data processing chip. The processor 111 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 111 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 111 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 111 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0118] The memory 110 may include one or more computer-readable storage media, which may be non-transitory. The memory 110 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the memory 110 may be an internal storage unit of an electronic device, such as a hard disk of a server. In other embodiments, the memory 110 may also be an external storage device of an electronic device, such as a plug-in hard disk equipped on a server, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Further, the memory 110 may also include both an internal storage unit of an electronic device and an external storage device. The memory 110 may not only be used to store application software and various types of data installed in the electronic device, such as: the code of the program for executing the vulnerability processing method, etc., but also be used to temporarily store data that has been output or is to be output. In this embodiment, the memory 110 is at least used to store the following computer program 1101, wherein, after the computer program is loaded and executed by the processor 111, the relevant steps of the software radio communication method for SoC heterogeneous platform disclosed in any of the aforementioned embodiments can be implemented. In addition, the resources stored in the memory 110 may also include an operating system 1102 and data 1103, and the storage method may be temporary storage or permanent storage. The operating system 1102 may include Windows, Unix, Linux, etc. The data 1103 may include, but is not limited to, data corresponding to software radio communication results for SoC heterogeneous platforms, etc.
[0119] In some embodiments, the electronic device may further include a display screen 112, an input / output interface 113, a communication interface 114 or a network interface, a power supply 115 and a communication bus 116. Among them, the display screen 112 and the input / output interface 113, such as a keyboard, belong to the user interface, and the optional user interface may also include a standard wired interface, a wireless interface, etc. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface. The communication interface 114 may optionally include a wired interface and / or a wireless interface, such as a WI-FI interface, a Bluetooth interface, etc., which is usually used to establish a communication connection between the electronic device and other electronic devices. The communication bus 116 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0120] Those skilled in the art will understand that Fig.11 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, for example, it may also include a sensor 117 to implement various functions.
[0121] The functions of the functional modules of the electronic device in the embodiment of the present invention can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0122] It can be seen from the above that this embodiment can realize communication between different nodes applicable to SoC heterogeneous platforms, and effectively improve the communication efficiency of component-based reconfigurable systems such as software radio.
[0123] It is understandable that if the software radio communication method for SoC heterogeneous platform in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electrically erasable programmable ROM, register, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, removable disk, CD-ROM, disk or optical disk, etc. Various media that can store program codes.
[0124] Based on this, an embodiment of the present invention further provides a readable storage medium storing a computer program. When the computer program is executed by a processor, the steps of the software radio communication method for a SoC heterogeneous platform as described in any of the above embodiments are performed.
[0125] The embodiment of the present invention also provides a software radio communication system for a SoC heterogeneous platform, see Fig.12 The software radio communication system may include a dedicated processor 121 , a general processor 122 , a memory 123 and an electronic device 124 .
[0126] In this embodiment, the dedicated processor 121 and the general processor 122 use a shared memory method to transmit data through the memory 123. The electronic device 124 may include a processor, and the processor is used to implement the steps of the software radio communication method for SoC heterogeneous platforms as described in any of the above embodiments when executing the computer program stored in the memory. Since the electronic device 124 involves controlling the professional processor 121 and the general processor 122, the electronic device 124 can be embedded in the general processor 122, or embedded in the dedicated processor 121, or the electronic device 124 can be split into two parts, the part for controlling the professional processor 121 is embedded in the professional processor 121, and the part for controlling the general processor 122 is embedded in the general processor 122, which does not affect the implementation of the present application.
[0127] The functions of the functional modules of the software radio communication system of the embodiment of the present invention can be implemented according to the specific implementation in the above embodiment. The specific implementation process can refer to the relevant description of the above embodiment, which will not be repeated here.
[0128] It can be seen from the above that this embodiment can realize communication between different nodes applicable to SoC heterogeneous platforms, and effectively improve the communication efficiency of component-based reconfigurable systems such as software radio.
[0129] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the hardware disclosed in the embodiments, including devices and electronic devices, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part.
[0130] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0131] The above is a detailed introduction to a software radio communication method, device and software radio communication system for a SoC heterogeneous platform provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A software radio communication method for a SoC heterogeneous platform, characterized in that: The invention is applied to a software radio communication system including a dedicated processor as a transmission node, a general-purpose processor as an application node and a memory as a storage node, wherein the application node and the transmission node use a shared memory to transmit data; The application node sends the data read and write address to the transmission node in advance; the method includes: When receiving a data writing request to the transmission node, the application node sends the data to be written encapsulated in a standard interface format to the storage node, and simultaneously sends a data reading signal to the transmission node, so that the transmission node reads the data to be written from the storage node based on a read address; When receiving a data write request to the application node, the transmission node sends the target data encapsulated in the standard interface format to the storage node based on the write address, and simultaneously sends a data read signal to the application node so that the application node reads the target data from the storage node.
2. The software radio communication method for SoC heterogeneous platform according to claim 1, characterized in that: Also includes: Reading configuration information from the storage node; Obtaining read configuration information and / or write configuration information and / or control information by parsing the configuration information; Sending the read configuration information to a read module so that the read module performs a data read operation based on a read start address in the read configuration information; Sending the write configuration information to a write module so that the write module performs a data write operation based on a write start address in the write configuration information; A control instruction is generated based on the control information, and the control instruction is sent to the target module to complete the reset operation.
3. The software radio communication method for SoC heterogeneous platform according to claim 2, characterized in that: The performing of the data reading operation based on the read start address in the read configuration information comprises: Reading target actual data from the storage node based on the read start address; Performing message detection on the target actual data based on the data format of the target actual data to obtain a start message and / or an end message and / or an address information message; Generate a start flag based on the start message, the start flag is used to trigger the address resolution operation on the address information message and serves as an enable flag of the read module or the write module; An end flag is generated based on the end message, and the end flag is used to trigger a parsing operation of the end message and serves as an enable flag bit of the read module or the write module.
4. The software radio communication method for SoC heterogeneous platform according to any one of claims 1 to 3, characterized in that: Also includes: Pre-configuring a hardware abstraction layer interface and a corresponding configuration package file for a waveform component that processes waveform data of the software wireless communication system, so that the waveform component receives or sends an extensible signal through the hardware abstraction layer interface and the configuration package file; receiving a read signal and / or a write signal from the waveform component; If there are multiple read signals and write signals that are in an enabled state at the same time, arbitration is performed on each read signal and each write signal so that the read operation and the write operation cannot be performed at the same time.
5. The software radio communication method for SoC heterogeneous platform according to claim 4, characterized in that: If there are multiple read signals and write signals that are simultaneously in an enabled state, arbitrating each read signal and each write signal so that the read operation and the write operation cannot be performed simultaneously includes: Determine whether there is a first enable signal; If the first enable signal exists, wait until the first enable operation transmission is completed, and then determine whether the second enable signal exists; if the first enable signal does not exist, directly determine whether the second enable signal exists; If the second enable signal does not exist, returning to the step of determining whether the first enable signal exists; If the second enable signal exists, determining whether the configuration package file is configured with a feedback signal; if the feedback signal is configured, transmitting the received data to a module that performs an operation type different from that corresponding to the first enable signal, and generating the feedback signal; if the feedback signal is not configured, transmitting the received data to a module that performs an operation type different from that corresponding to the first enable signal; The first enable signal and the second enable signal are read enable signals or write enable signals, and the operation types corresponding to the first enable signal and the second enable signal are read operations and write operations.
6. A software radio communication device for a SoC heterogeneous platform, characterized in that: A software radio communication system applied to a dedicated processor as a transmission node, a general-purpose processor as an application node, and a memory as a storage node, comprising: The application node includes a general waveform component, a general hardware abstraction layer and a general driver adaptation layer; the transmission node includes a dedicated waveform component, a dedicated hardware abstraction layer and a dedicated driver adaptation layer; the application node and the transmission node transmit data in a shared memory manner, and the general hardware abstraction layer of the application node sends the data read and write address to the dedicated hardware abstraction layer of the transmission node in advance; The general hardware abstraction layer is used to encapsulate the data to be written into a standard interface format when there is a data writing request to the transmission node, and send it to the memory through the general driver adaptation layer, and at the same time send a data reading signal to the dedicated hardware abstraction layer, so that the dedicated waveform component reads the data to be written from the storage node through the dedicated driver adaptation layer based on the read address; The dedicated hardware abstraction layer is used to send the target data encapsulated in the standard interface format to the storage node through the dedicated driver adaptation layer based on the write address when there is a request to write data to the application node, and at the same time send a data read signal to the general hardware abstraction layer, so that the target data can be read from the storage node through the general hardware abstraction layer and the general driver adaptation layer.
7. The software radio communication device for SoC heterogeneous platform according to claim 6, characterized in that: The dedicated hardware abstraction layer includes a read module, a write module, a configuration module and an expansion interface module; The extended interface module is used to provide a data interaction port and a configuration package file for the dedicated waveform component and the dedicated hardware abstraction layer; The writing module is used to obtain the data to be written from the dedicated waveform component, and write the data to be written into the memory through the dedicated driver adapter layer; The reading module is used to read the waveform data from the memory and transmit the waveform data to the dedicated waveform component; The configuration module is used to read configuration information from the storage node; Obtaining read configuration information and / or write configuration information and / or control information by parsing the configuration information; Sending the read configuration information to the read module to perform a data read operation based on the read start address in the read configuration information; Sending the write configuration information to the write module to perform a data write operation based on a write start address in the write configuration information; A control instruction is generated based on the control information, and the control instruction is sent to the target module to complete the reset operation.
8. The software radio communication device for SoC heterogeneous platform according to claim 7, characterized in that: The expansion interface module includes a capacity sending module, a read arbitration module, a write arbitration module and a target interface module; the read arbitration module and the write arbitration module are not in working state at the same time; The capacity sending module is used to send the space capacity value of the dedicated waveform component to transmit data to the reading module or the writing module; The read arbitration module is used to receive a read enable signal and a write enable signal from the dedicated waveform component, and when there are multiple read signals and write signals in an enabled state, perform arbitration to determine whether the read module or the write module is currently in a working state; The write arbitration module is used to receive a read enable signal and a write enable signal from the dedicated waveform component, and when there are multiple read signals and write signals in an enabled state, perform arbitration to determine whether the read module or the write module is currently in a working state.
9. The software radio communication device for SoC heterogeneous platform according to claim 7, characterized in that: The write module is instantiated into a plurality of sub-write modules, each of which has the same logical architecture, and each sub-write module includes a sending module and a data packet module; the data packet module is used to package the data generated by the dedicated waveform component according to a preset packet format to generate a write data packet, and the sending module is used to send a write signal to the corresponding drive interface, and write the received write data packet into the memory; The read module is instantiated into multiple sub-read modules, each sub-read module has the same logical architecture, and each sub-read module includes a receiving module and an analysis module; the analysis module is used to obtain read address information after determining that the received package data meets the requirements; the receiving module is used to read the package data from the read address information and send a data enable signal to the dedicated waveform component.
10. A software radio communication system, characterized in that: Includes special purpose processors, general purpose processors, memory and electronic devices; The dedicated processor and the general processor perform data transmission via the memory in a shared memory manner; The electronic device comprises a processor, and the processor is used to implement the steps of the software radio communication method for SoC heterogeneous platform as claimed in any one of claims 1 to 5 when executing the computer program stored in the memory.
Citation Information
Patent Citations
Chip capable of realizing communications between multiple cores in chip and method for communication
CN101114272A
Data processing method and device, readable medium and electronic equipment
CN112650558A
Data access method and system
CN114661651A
Inter-core communication system of multi-core system
CN115080277A
FPGA hardware abstraction layer control system and method based on AMBA bus
CN116226030A
