WIA-FA wireless message framing method based on UVM

By using the WIA-FA wireless message framing method under the UVM verification environment, unified management and automated generation of PHY and MAC layer parameters were achieved, solving the problems of low efficiency and insufficient security verification in WIA-FA chip verification, and improving verification efficiency and accuracy.

CN121585740APending Publication Date: 2026-02-27BONCHREE (SHANGHAI) COMMUNICATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511757135.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-27
Publication Date
2026-02-27

AI Technical Summary

Technical Problem

In the process of industrial wireless communication chip verification, existing technologies are difficult to efficiently generate wireless messages that conform to the WIA-FA protocol, especially in handling complex scenarios and security verification, where there are problems of low efficiency and fragmented processes.

Method used

The WIA-FA wireless message framing method based on UVM is adopted. The PHY layer and MAC layer parameters are uniformly managed through the PPDU_Frame handle, realizing the automated process of parameter verification, frame structure construction and encryption operation, and supporting flexible adaptation to different test scenarios.

Benefits of technology

It significantly improves the efficiency and security of wireless communication chip verification, ensures that message generation conforms to protocol specifications, reduces errors caused by human intervention, and supports multi-scenario testing needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121585740A_ABST
    Figure CN121585740A_ABST
Patent Text Reader

Abstract

The invention discloses a WIA-FA wireless message framing method based on a UVM, and the method comprises the following steps: S101, initializing a message carrier: declaring and instantiating a PPDUFrame handle in a test case of a UVM verification environment, and enabling the PPDUFrame handle to serve as a generation carrier of a WIA-FA wireless message; s102, framing request analysis: receiving a framing request initiated by a test case, and analyzing core parameters contained in the framing request, wherein the core parameters comprise a frame sending direction, PHY layer physical parameter configuration, MAC layer frame field constraint conditions, an encryption enabling state and an encryption type; s103, parameter verification and PHY layer framing are carried out, wherein according to PHY layer physical parameter configuration, the content of a preamble header is generated in a PPDUFme handle; s104, constructing a frame structure of an MAC layer: configuring an ampduframe structure in a PPDUFframe handle according to a constraint condition of a frame field of the MAC layer, and completing parameter backfilling; s105, encryption processing: if the encryption enabling state is open, executing a full encryption operation on an ampduframe in a PPDUFframe handle according to the encryption type, and if the encryption enabling state is open, executing a full encryption operation on the ampduframe in the PPDUFframe handle; and S106, outputting the message: integrating the preambleheader and the ampduframe on the basis of a PPDUFframe handle, generating a complete WIA-FA wireless message, and outputting the WIA-FA wireless message to a verification platform.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a WIA-FA wireless message framing method and system based on UVM. BACKGROUND

[0002] In the process of industrial wireless communication chip verification, constructing wireless messages that conform to the protocol specification and adapt to diversified test scenarios is a core challenge. WIA-FA protocol, as a special standard in the field of industrial automation, its message structure involves deep coupling of PHY layer physical parameters and MAC layer frame fields, and the security encryption mechanism must be seamlessly integrated to ensure data transmission reliability. With the increasing complexity of chip design, the number of verification scenarios increases dramatically, and a single test may cover thousands of message configuration combinations, which puts high requirements on the automation level and flexibility of message generation.

[0003] The traditional manual method of writing fixed messages is inefficient and difficult to cover abnormal scenarios and boundary conditions; the scheme of generating messages by external scripts or protocol tools and then importing them into the verification platform leads to a fragmented verification process, which cannot respond to the dynamic changes of test requirements in real time, especially when dealing with WIA-FA specific aggregation frames, multi-user MIMO and other advanced features, the message generation process is prone to errors.

[0004] Although the UVM-based verification framework provides randomization mechanisms, existing implementations are mostly targeted at general-purpose protocols such as Ethernet, and lack adaptability to WIA-FA protocol. Specific problems include: the association constraints between PHY layer parameters (such as frame type, number of users) and MAC layer frame structure (such as AMPDU aggregation) are difficult to manage uniformly, leading to parameter validation conflicts; encryption operations are usually handled as independent steps, which cannot be dynamically enabled according to device association information during the framing process, causing security verification blind spots; in addition, the automatic calculation of message fields (such as traditional length, high-speed length) relies on manual intervention, significantly increasing the risk of verification errors. These problems prolong the WIA-FA chip verification period, increase the cost, and the security function verification is insufficient, which seriously restricts the large-scale application of industrial wireless communication technology.

[0005] In view of the above problems, the prior art needs to be improved. SUMMARY

[0006] The purpose of the present application is to provide a leakage detection device and method for a fuel cell system to solve the problems in the prior art.

[0007] The above technical purpose of the present application is achieved by the following technical scheme:

[0008] A WIA-FA wireless message framing method based on UVM, comprising the following steps:

[0009] S101. Packet carrier initialization: declare and instantiate a PPDU_Frame handle in the test case of the UVM verification environment, as the generation carrier of WIA-FA wireless packet;

[0010] S102. Frame assembly request parsing: receive the frame assembly request initiated by the test case, and parse the core parameters contained in the frame assembly request: the core parameters include frame sending direction, PHY layer physical parameter configuration, MAC layer frame field constraint condition, encryption enable state and encryption type;

[0011] S103. Parameter verification and PHY layer framing: according to the PHY layer physical parameter configuration, generate the field content of preamble_header in the PPDU_Frame handle;

[0012] S104. MAC layer frame structure construction: according to the MAC layer frame field constraint condition, configure the ampdu_frame structure in the PPDU_Frame handle, and complete the parameter backfilling;

[0013] S105. Encryption processing: if the encryption enable state is on, perform full encryption operation on the ampdu_frame in the PPDU_Frame handle according to the encryption type; if the encryption enable state is off, skip the encryption processing step;

[0014] S106. Packet output: integrate preamble_header and ampdu_frame based on the PPDU_Frame handle, generate a complete WIA-FA wireless packet and output to the verification platform.

[0015] Further, the PPDU_Frame handle is defined as a class or structure by object-oriented programming language, containing preamble_header and ampdu_frame fields, for unified management of PHY layer and MAC layer packet data, supporting cross-layer parameter sharing and consistency maintenance.

[0016] Further, the frame assembly request parsing step dynamically obtains the core parameters by parsing a predefined configuration file or receiving command line input, realizing flexible adaptation to different test scenarios.

[0017] Further, the parameter verification and PHY layer framing step further comprises:

[0018] S103.1 Constraint PHY layer parameters: based on the PHY layer physical parameter configuration, limit the frame type, frame format and associated user number, and frame sending direction; the frame type is any one of SINGLETON, AGGREGATED, MU_MIMO or OFDMA;

[0019] S103.2 Dynamically generating fields: dynamically generating preamble_header field content in the PPDU_Frame handle according to the constrained PHY layer parameters, which meets the timing requirements of the WIA-FA protocol.

[0020] Further, the frame format is associated with the number of users through a dynamic binding mechanism, ensuring the rationality of resource allocation in a multi-user device collaborative communication scenario and preventing physical layer transmission conflicts caused by user number over-limiting or mismatching.

[0021] Further, the frame sending direction is used to identify the directionality of data transmission, and a mapping relationship with the physical channel path is established using the Tx side sending or Rx side receiving mode to avoid message processing logic errors caused by direction confusion in bidirectional communication.

[0022] Further, the MAC layer frame structure construction step further comprises:

[0023] S104.1 Frame structure initialization: constraining the ampdu_frame array size and limiting the function type of the mpdu frame to one of a data frame, a management frame, or a control frame;

[0024] S104.2 Frame content generation: creating corresponding frame content according to the ampdu_frame array size; when the frame type is SINGLETON, a single MPDU frame is created, which contains mac_header, payload, and fcs fields, wherein the mac_header field is processed by randomization and meets the WIA-FA protocol rules, and the fcs field is backfilled based on the mac_header and payload content through CRC algorithm calculation; when the frame type is not SINGLETON, an aggregated frame containing multiple MPDU frames, a delimiter delimiter, a blank delimiter blank_delimiter, and a padding bit padding is generated.

[0025] S104.3 Key field backfilling: automatically calculating the traditional length leg_length and high-speed length ht_length according to the generated frame content and backfilling them to the specified fields of the PPDU_Frame handle.

[0026] Further, the ampdu_frame is implemented in the form of a dynamic array or a linked list; the fcs field is used to implement frame integrity checking, ensuring that the generated message has verifiable data correctness in the simulation process.

[0027] Further, the PHY layer parameter configuration, the MAC layer frame generation and the security encryption operation are integrated into a coherent automatic process, centralized management of data of each layer is realized through the PPDU_Frame handle, and the problems of link fragmentation and frequent manual configuration in traditional verification are eliminated.

[0028] A WIA-FA wireless message generation system based on UVM, comprising:

[0029] A message carrier module for declaring and instantiating the PPDU_Frame handle in the UVM test case;

[0030] A request analysis module for receiving and analyzing core parameters in the framing request;

[0031] A PHY layer framing module for generating the preamble_header field according to the PHY layer parameters;

[0032] A MAC layer construction module for constructing the ampdu_frame structure and completing key field backfilling;

[0033] An encryption processing module for determining whether to perform encryption on the MAC layer data according to the encryption enabling state and the encryption type;

[0034] A message output module for integrating the PHY layer and the MAC layer data to generate a complete WIA-FA wireless message and outputting the same to a verification platform;

[0035] Each module realizes data interaction and state synchronization through the PPDU_Frame handle, and constitutes an end-to-end automatic wireless message framing system.

[0036] In summary, the present application has the following advantages:

[0037] Through the UVM verification environment, the message carrier initialization, the framing request analysis, the parameter verification, the frame structure construction, the encryption processing and the message output whole process are integrated, the unified constraint management of the PHY layer and the MAC layer parameters and the automatic calculation of the key fields are realized, the automatic generation of the WIA-FA wireless message is realized, the PHY layer and the MAC layer parameter constraints are effectively unified and managed, the dynamic encryption processing is supported, and the key field calculation is automatically completed, so that the verification efficiency is significantly improved, the errors caused by manual intervention are reduced, and the message generation strictly conforms to the protocol specification. BRIEF DESCRIPTION OF DRAWINGS

[0038] Figure 1 is a flowchart of the WIA-FA wireless message framing method based on UVM described in the present application. DETAILED DESCRIPTION

[0039] In order to make the technical means, creative features, purposes and effects of the present application easy to understand, the present application is further described below in combination with the drawings and specific embodiments.

[0040] As shown in the figure, Figure 1 The WIA-FA wireless message framing method based on UVM proposed by the present application comprises the following steps:

[0041] S101. Message carrier initialization: declare and instantiate the PPDU_Frame handle in the test case of the UVM verification environment as the generation carrier of the WIA-FA wireless message;

[0042] S102. Framing request analysis: receive the framing request initiated by the test case, and analyze the core parameters contained in the framing request: the core parameters include the frame direction, the PHY layer physical parameter configuration, the MAC layer frame field constraint condition, the encryption enable state and the encryption type;

[0043] S103. Parameter verification and PHY layer framing: generate the field content of preamble_header in PPDU_Frame handle according to the PHY layer physical parameter configuration;

[0044] S104. MAC layer frame structure construction: configure the ampdu_frame structure in PPDU_Frame handle according to the MAC layer frame field constraint condition, and complete the parameter backfilling;

[0045] S105. Encryption processing: if the encryption enable state is on, perform full encryption operation on ampdu_frame in PPDU_Frame handle according to the encryption type; if the encryption enable state is off, skip the encryption processing step;

[0046] S106. Message output: integrate preamble_header and ampdu_frame based on PPDU_Frame handle, generate complete WIA-FA wireless message and output to the verification platform.

[0047] Among them, PPDU_Frame handle can be understood as a data structure instance, which is mainly used to carry and organize the information of each layer of WIA-FA wireless message. Specifically, the handle can be realized by class or structure body, for example, define a class containing preamble_header and ampdu_frame fields in the UVM environment, which is used to store the related data of PHY layer and MAC layer. Its main purpose is to provide a unified data management basis for message generation.

[0048] The process of frame assembly request analysis can be implemented in various ways. For example, core parameters are extracted by analyzing a predefined configuration file in the test case, or command line parameters are received as external input to dynamically obtain frame direction, PHY layer physical parameter configuration, and other information. This approach can adapt to different testing scenario requirements, ensuring the flexibility and scalability of the framing process.

[0049] Regarding the specific implementation of parameter verification and PHY layer framing, the field content of preamble_header can be generated in various ways in actual applications. For example, based on a preset rule table, the PHY layer parameters are mapped to generate field values, or related fields are automatically filled by calling interface functions provided by the protocol stack. The main purpose is to ensure that the generated field content conforms to the WIA-FA protocol specification, thereby supporting the correctness of wireless transmission.

[0050] In addition, the process of MAC layer frame structure construction can also be implemented in various ways. For example, a templated method is used to predefine different types of ampdu_frame structures, and appropriate templates are selected for instantiation based on specific constraints. Another implementation method is to dynamically generate ampdu_frame structures through scripts, and fill in field values combined with randomization techniques. These methods can meet the needs of multi-scenario testing while ensuring the integrity and consistency of data frames.

[0051] The innovation of the present application is to integrate PHY layer parameter configuration, MAC layer message generation, and security encryption operations into a coherent automated process. Compared to the traditional method where each link is fragmented and relies on manual intervention, the present embodiment realizes the full-process automation from parameter analysis to message output through integrated design, significantly improving the verification efficiency and reliability. At the same time, the introduction of encryption processing steps enables seamless integration of security functions into the framing process, solving the problem of insufficient security verification in industrial wireless communication.

[0052] The working principle of the present embodiment is as follows:

[0053] Through the close cooperation of multiple steps, a coherent automated process from parameter analysis to message output is realized, effectively solving the problems of low message generation efficiency, fragmented process, and insufficient security verification in WIA-FA wireless communication chip verification.

[0054] In the message carrier initialization stage, the PPDU_Frame handle is declared and instantiated in the test case of the UVM verification environment as the generation carrier of the WIA-FA wireless message, providing a unified data structure basis for the entire framing process and ensuring the consistency and reusability of subsequent operations. Further, the framing request analysis step receives and analyzes the core parameters in the framing request initiated by the test case, including the frame direction, the PHY layer physical parameter configuration, the MAC layer frame field constraint condition, the encryption enable state and the encryption type, so that the framing process can dynamically adapt to different test scene requirements, eliminating the manual configuration link and solving the process fragmentation problem.

[0055] In the parameter verification and PHY layer framing stage, the preamble_header field content is generated according to the PHY layer physical parameter configuration, ensuring that the PHY layer parameters meet the WIA-FA protocol specification, providing correct physical layer basis for wireless transmission and supporting the protocol compliance of message generation. Specifically, the MAC layer frame structure construction step configures the ampdu_frame structure according to the MAC layer frame field constraint condition and completes parameter backfilling, constructing the MAC layer frame structure that meets the protocol, ensuring the integrity and correctness of the data frame and covering multiple scene test requirements. If the encryption enable state is on, the ampdu_frame in the PPDU_Frame handle is encrypted according to the encryption type; if the encryption enable state is off, the encryption processing step is skipped, so that the security function is seamlessly integrated into the framing process, the security verification capability of industrial wireless communication is strengthened, and the problem of insufficient security verification is solved.

[0056] In the message output stage, the preamble_header and ampdu_frame are integrated based on the PPDU_Frame handle to generate a complete WIA-FA wireless message and output to the verification platform, realizing end-to-end automation and reducing manual conversion errors. These steps are sequentially connected, the parameters analyzed by the framing request analysis step directly drive the parameter verification and PHY layer framing and the framing process of the MAC layer frame structure construction, the encryption processing step performs security processing based on the encryption parameters of the framing request analysis step, and the message output step integrates all parts to output the message, thereby forming an integrated test process of PHY layer configuration, MAC layer generation and security encryption, which overcomes the core defects of low verification efficiency, process fragmentation and security verification deficiency.

[0057] The application further proposes that the specific method of parameter verification and PHY layer framing in the above-mentioned WIA-FA wireless message framing method based on UVM is as follows:

[0058] S103.1 Constraint PHY layer parameters:

[0059] limit frame type, frame format and frame direction based on the PHY layer physical parameter configuration in the frame assembling request; the frame type is SINGLETON, AGGREGATED, MU_MIMO or OFDMA;

[0060] S103.2 dynamically generate fields:

[0061] generate the field content of preamble_header in the PPDU_Frame handle according to the constrained PHY layer physical parameter configuration, which conforms to the WIA-FA protocol specification.

[0062] In practical application, the frame type refers to a specific transmission mode defined in the WIA-FA protocol, which can be at least one of SINGLETON, AGGREGATED, MU_MIMO or OFDMA to achieve, and the purpose is to ensure that the frame type selection strictly follows the protocol specification, avoiding physical layer analysis errors caused by invalid type combination. Among them, the frame format and the associated user number can be understood as parameters for describing the message structure and the number of user equipment supported, which can be achieved by dynamically binding the user number and the frame format, and the purpose is to adapt to the complexity of the multi-device collaborative scene in the industrial wireless network, and prevent resource allocation conflicts caused by user number exceeding or mismatching. Specifically, the frame direction refers to the directionality constraint of data transmission, which can be achieved by Tx side sending or Rx side receiving, and the purpose is to establish the mapping relationship between the directionality constraint and the physical transmission path, and eliminate the message processing logic confusion caused by direction confusion in the bidirectional communication scene.

[0063] This scheme fundamentally solves the protocol compliance and stability problem of PHY layer framing in WIA-FA protocol verification by structuring the constraint of PHY layer key parameters and establishing a strong association mechanism between parameters and generation logic. In the process of constraining the PHY layer parameters, based on the PHY layer physical parameter configuration in the frame assembling request, the frame type, the frame format and the associated user number, and the frame direction are clearly defined, which ensures that each parameter strictly follows the protocol specification, and avoids physical layer analysis errors caused by invalid configuration combination. On this basis, the process of dynamically generating fields uses the verified parameters as the basis for generation, so that the field content of preamble_header accurately matches the protocol timing requirements, avoids generation failure caused by parameter conflict in the randomization process, and ensures the verifiability of the physical layer signal characteristics. In addition, this scheme is closely combined with the message carrier initialization, frame assembling request analysis and other steps, by limiting the PHY layer parameter range and dynamically generating the field content conforming to the protocol specification, the automation degree and the result reliability of the framing process are significantly improved.

[0064] By the technical solution, the preamble_header generation error, frequent simulation failure and verification result reliability decline caused by the surface parameter verification are effectively solved, the deep integration of the PHY layer parameter configuration and the MAC layer message generation is realized, and the test efficiency and the verification accuracy are greatly improved.

[0065] The application further proposes a step S104. The MAC layer frame structure construction adopts the following technical solution:

[0066] S104.1 frame structure initialization:

[0067] The array size of ampdu_frame is constrained;

[0068] The function type of mpdu frame is constrained, which includes a data frame, a management frame or a control frame;

[0069] S104.2 frame content generation:

[0070] The frame content is created according to the ampdu_frame array size:

[0071] If the frame type is a SINGLETON type frame, a single MPDU frame is created, the MPDU frame contains mac_header, payload and fcs; the randomization operation is performed on the mac_header field, and the field values strictly follow the WIA-FA protocol; the fcs value is calculated based on the mac_header and payload content and backfilled to the MPDU frame;

[0072] If the frame type is a non-SINGLETON type frame, an aggregate frame containing MPDU frame, delimiter, blank delimiter and padding bit is created;

[0073] S104.3 key field backfilling:

[0074] The traditional length leg_length and the high-speed length ht_length are calculated according to the structure of the frame content;

[0075] The traditional length leg_length and the high-speed length ht_length are backfilled to the specified field of the PPDU_Frame handle.

[0076] Specifically, the ampdu_frame refers to a data structure used to store the aggregation frame in the MAC layer, which can be implemented in the form of a dynamic array or a linked list, aiming to ensure the rationality of memory allocation and avoid verification crashes caused by array out-of-bounds. The function type of the mpdu frame refers to the basic classification of the MAC layer message, which can be any one of a data frame, a management frame or a control frame, aiming to strictly match the frame structure to the WIA-FA protocol specification and prevent protocol parsing errors caused by incorrect frame type matching.

[0077] The mac_header field refers to the key information area of the MAC layer message header, which can be generated by a randomization algorithm, but needs to strictly follow the WIA-FA protocol rules, aiming to achieve diversified coverage of test scenarios while eliminating the risk of protocol violations in the randomization process. The fcs field refers to the frame check sequence, which can be calculated based on the mac_header and payload content by the CRC algorithm, aiming to ensure the accuracy of data integrity verification and avoid transmission errors. The aggregation frame refers to a complex frame structure composed of multiple MPDU frames and their auxiliary fields, which can be implemented by dynamically generated, aiming to support the verification needs of high-throughput scenarios. The leg_length and ht_length respectively refer to the traditional length and high-speed length, which can be derived by automatic calculation, aiming to achieve seamless synchronization of cross-layer parameters and eliminate manual calculation errors.

[0078] Specifically, in the above scheme, first, by constraining the array size of ampdu_frame and the function type of mpdu frame, the rationality and normativity of the frame structure initialization stage are ensured. Subsequently, in the frame content generation stage, different processing methods are adopted for different frame types: when the frame type is SINGLETON, a single MPDU frame is created and contains the protocol-compatible mac_header, payload and fcs field, the randomization operation is performed on the mac_header field and the fcs value is calculated based on its content, ensuring data integrity and protocol compliance; when the frame type is not SINGLETON, an aggregation frame containing MPDU frame, delimiter, blank_delimiter and padding is dynamically generated, effectively solving the problem of chaotic aggregation frame construction logic in traditional methods. Finally, in the key field backfilling stage, leg_length and ht_length are automatically calculated and backfilled to the specified fields of the PPDU_Frame handle, realizing the dynamic synchronization of MAC layer frame content and PHY layer parameters. Overall, this scheme controls the frame generation process in detail, deeply embeds protocol rules into the automation process, and significantly improves the reliability and efficiency of message construction in complex scenarios.

[0079] In addition, the above-mentioned scheme is combined with the aforementioned WIA-FA wireless message framing method based on UVM to form an integrated process from PHY layer parameter configuration to MAC layer message generation to encryption operation. By systematically defining the detailed processes such as frame structure initialization, frame content generation, and key field backfilling, not only the core problem of inaccurate message generation in complex test scenarios is solved, but also the security and efficiency of industrial wireless communication verification are further strengthened.

[0080] A WIA-FA wireless message generation system based on UVM, comprising:

[0081] A message carrier module for declaring and instantiating a PPDU_Frame handle in a UVM test case;

[0082] A request parsing module for receiving and parsing core parameters in a framing request;

[0083] A PHY layer framing module for generating a preamble_header field according to PHY layer parameters;

[0084] A MAC layer construction module for constructing an ampdu_frame structure and completing key field backfilling;

[0085] An encryption processing module for determining whether to perform encryption on MAC layer data according to an encryption enable state and an encryption type;

[0086] A message output module for integrating PHY layer and MAC layer data to generate a complete WIA-FA wireless message and output to a verification platform;

[0087] Wherein, each module realizes data interaction and state synchronization through the PPDU_Frame handle to constitute an end-to-end automated wireless message framing system; the wireless message framing system is used to execute the above-mentioned method.

[0088] In this article, the terms "upper", "lower", "front", "back", "left", "right", "top", "bottom", "inner", "outer", "vertical", "horizontal" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the purpose of expressing the clarity and convenience of the description of the technical scheme, and therefore cannot be understood as a limitation on the present application.

[0089] In this article, the terms "include", "contain" or any other variant thereof are intended to cover non-exclusive inclusion, in addition to including the listed elements, other elements not explicitly listed can also be included.

[0090] The above shows and describes the basic principles, main features and advantages of the present application. Those skilled in the art should understand that the present application is not limited to the above-mentioned embodiments, and the above-mentioned embodiments and descriptions in the specification are only to illustrate the principles of the present application. Various changes and improvements can be made to the present application without departing from the spirit and scope of the present application, and these changes and improvements all fall within the scope of the claimed present application. The scope of protection of the present application is defined by the appended claims and their equivalents.

Claims

1. A WIA-FA wireless message framing method based on UVM, characterized in that, Includes the following steps: S101. Message carrier initialization: Declare and instantiate the PPDU_Frame handle in the test case of the UVM verification environment as the generation carrier of WIA-FA wireless messages; S102. Frame Request Parsing: Receives a frame request initiated by the test case and parses the core parameters contained in the frame request: The core parameters include frame sending direction, PHY layer physical parameter configuration, MAC layer frame field constraints, encryption enable status, and encryption type. S103. Parameter verification and PHY layer framing: Based on the PHY layer physical parameter configuration, generate the field content of the preamble_header in the PPDU_Frame handle; S104. MAC layer frame structure construction: Based on the constraints of the MAC layer frame field, configure the ampdu_frame structure in the PPDU_Frame handle and complete the parameter backfilling; S105. Encryption Processing: If encryption is enabled, then perform full encryption on the ampdu_frame in the PPDU_Frame handle according to the encryption type; if encryption is disabled, then skip the encryption processing step. S106. Message Output: Based on the PPDU_Frame handle, integrate the preamble_header and ampdu_frame to generate a complete WIA-FA wireless message and output it to the verification platform.

2. The UVM-based WIA-FA wireless message framing method according to claim 1, characterized in that, The PPDU_Frame handle is defined as a class or structure using an object-oriented programming language, containing the preamble_header and ampdu_frame fields. It is used to uniformly manage message data of the PHY and MAC layers, and supports cross-layer parameter sharing and consistency maintenance.

3. The UVM-based WIA-FA wireless message framing method according to claim 1, characterized in that, The frame request parsing step dynamically obtains the core parameters by parsing a predefined configuration file or receiving command line input, thereby enabling flexible adaptation to different test scenarios.

4. The UVM-based WIA-FA wireless message framing method according to claim 1, characterized in that, The parameter verification and PHY layer framing steps further include: S103.1 Constrain PHY layer parameters: Based on the configuration of the PHY layer physical parameters, limit the frame type, frame format, number of associated users, and frame transmission direction; the frame type is any one of SINGLETON, AGGREGATED, MU_MIMO, or OFDMA; S103.2 Dynamically generate fields: Based on the constrained PHY layer parameters, dynamically generate the preamble_header field content that conforms to the timing requirements of the WIA-FA protocol in the PPDU_Frame handle.

5. The UVM-based WIA-FA wireless message framing method according to claim 4, characterized in that, The frame format and the number of users are associated through a dynamic binding mechanism to ensure the rationality of resource allocation in multi-user device collaborative communication scenarios and prevent physical layer transmission conflicts caused by exceeding or mismatching the number of users.

6. The UVM-based WIA-FA wireless message framing method according to claim 1, characterized in that, The frame transmission direction is used to identify the directionality of data transmission. A mapping relationship with the physical channel path is established by using Tx-side transmission or Rx-side reception mode to avoid message processing logic errors caused by direction confusion in bidirectional communication.

7. The UVM-based WIA-FA wireless message framing method according to claim 1, characterized in that, The MAC layer frame structure construction step further includes: S104.1 Frame structure initialization: Constrain the size of the ampdu_frame array and limit the functional type of the mpdu frame to one of the following: data frame, management frame, or control frame; S104.2 Frame Content Generation: Create corresponding frame content based on the size of the ampdu_frame array; when the frame type is SINGLETON, create a single MPDU frame, which contains mac_header, payload, and fcs fields. The mac_header field is randomized and meets the WIA-FA protocol rules, and the fcs field is backfilled based on the mac_header and payload content calculated using a CRC algorithm; when the frame type is not SINGLETON, generate an aggregate frame containing multiple MPDU frames, a delimiter, a blank delimiter, and padding bits. S104.3 Key Field Backfilling: Automatically calculate the traditional length leg_length and high-speed length ht_length based on the generated frame content, and backfill them into the specified fields of the PPDU_Frame handle.

8. The UVM-based WIA-FA wireless message framing method according to claim 1, characterized in that, The ampdu_frame is implemented using a dynamic array or linked list; the fcs field is used to implement frame integrity verification to ensure that the generated message has verifiable data correctness during the simulation process.

9. The UVM-based WIA-FA radio message framing method according to any one of claims 1 to 8, characterized in that, The method integrates PHY layer parameter configuration, MAC layer frame generation, and security encryption operations into a coherent automated process. It achieves centralized management of data at each layer through the PPDU_Frame handle, thereby eliminating the problems of fragmented processes and frequent manual configuration in traditional verification.

10. A WIA-FA wireless message generation system based on UVM, characterized in that, include: The message carrier module is used to declare and instantiate PPDU_Frame handles in UVM test cases; The request parsing module is used to receive and parse the core parameters in the frame request. The PHY layer framing module is used to generate the preamble_header field based on the PHY layer parameters. The MAC layer construction module is used to build the ampdu_frame structure and complete the backfilling of key fields; The encryption processing module is used to determine whether to encrypt MAC layer data based on the encryption enable status and encryption type. The message output module is used to integrate PHY layer and MAC layer data to generate a complete WIA-FA wireless message and output it to the verification platform. Each module uses the PPDU_Frame handle to achieve data interaction and state synchronization, forming an end-to-end automated wireless message framing system.