A software radio equipment middleware testing implementation method and device

By obtaining and analyzing the test sample information of software radio equipment, the middleware test process is simplified, the test complexity problem caused by device diversity is solved, the test efficiency and reliability are improved, and it is suitable for the reuse of test cases for different devices.

CN118170649BActive Publication Date: 2024-10-29THE QUARTERMASTER RES INST OF THE GENERAL LOGISTICS DEPT OF THE CPLA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410273372.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-11
Publication Date
2024-10-29
Estimated Expiration
2044-03-11

AI Technical Summary

Technical Problem

During the software radio equipment middleware testing process, due to the diversity of equipment technology architectures from different manufacturers, test adaptation is complex, which increases the difficulty of reusing test case software and reduces test efficiency and reliability.

Method used

By obtaining the software radio equipment test sample information, the target test result information is determined based on the middleware and test sample information, and the results are analyzed and processed to simplify the test process and improve test efficiency and reliability.

Benefits of technology

It achieves a simplified software radio equipment middleware testing process, reduces testing difficulty, improves testing efficiency and reliability, and is suitable for test case reuse of different devices under test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118170649B_ABST
    Figure CN118170649B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for implementing software radio equipment middleware testing, the method comprising: acquiring software radio equipment test sample information; the software radio equipment test sample information comprises M basic test sample information arranged in sequence; the data sizes corresponding to every two basic test sample information are inconsistent; based on the middleware and software radio equipment test sample information, first target test result information is determined; the first target test result information comprises first target basic test result information and second target basic test result information; the first target test result information is analyzed and processed to obtain second target test result information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of software technology, and in particular to a method and device for implementing software radio equipment middleware testing. Background Art

[0002] In the process of software radio standard compliance testing, the test system using the "embedded test case" mode needs to implement data interaction by calling the transmission mechanism, hardware abstraction layer, and underlying bus of the software radio equipment, and implement basic functions such as memory application and file access by calling the operating system interface. However, the transmission mechanism of software radio equipment from different manufacturers can choose CORBA, ICD, etc., the hardware abstraction layer can choose MHAL or MOCB, the operating system can choose vxworks, Linux, etc., and the underlying bus includes serial port, Ethernet, RapidIO, etc., all of which meet the software radio standard. In addition, the address planning of each communication mechanism inside the software radio equipment is designed by the manufacturer independently and needs to be adapted in a targeted manner. The diversity of the technical architecture of the device under test introduces more complex test adaptation work. On the other hand, the iterative upgrade of the content of the software radio standard compliance test requires the reuse of test cases. The need to adapt to different devices under test increases the difficulty of reusing test case software. Therefore, a method and device for implementing software radio equipment middleware testing is provided to simplify the software radio equipment middleware testing process, reduce the testing difficulty, and improve the testing efficiency and reliability. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method and device for implementing software radio equipment middleware testing, which is conducive to simplifying the software radio equipment middleware testing process, reducing the testing difficulty, and improving the testing efficiency and reliability.

[0004] In order to solve the above technical problems, the first aspect of the embodiment of the present invention discloses a method for implementing software radio device middleware testing, the method comprising:

[0005] Acquire software radio equipment test sample information; the software radio equipment test sample information includes M basic test sample information arranged in sequence; the data sizes corresponding to each two basic test sample information are inconsistent;

[0006] Based on the middleware and the software radio device test sample information, first target test result information is determined; the first target test result information includes first target basic test result information and second target basic test result information;

[0007] The first target test result information is analyzed and processed to obtain second target test result information.

[0008] A second aspect of an embodiment of the present invention discloses a software radio device middleware test implementation device, the device comprising:

[0009] An acquisition module is used to acquire software radio equipment test sample information; the software radio equipment test sample information includes M basic test sample information arranged in sequence; the data sizes corresponding to every two basic test sample information are inconsistent;

[0010] A determination module, configured to determine first target test result information based on the middleware and the software radio device test sample information; the first target test result information includes first target basic test result information and second target basic test result information;

[0011] The processing module is used to analyze and process the first target test result information to obtain the second target test result information.

[0012] The third aspect of the present invention discloses another software radio device middleware test implementation device, the device comprising:

[0013] A memory storing executable program code;

[0014] a processor coupled to the memory;

[0015] The processor calls the executable program code stored in the memory to execute part or all of the steps in the software radio device middleware test implementation method disclosed in the first aspect of the embodiment of the present invention.

[0016] The fourth aspect of the present invention discloses a computer-readable storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the software radio device middleware testing implementation method disclosed in the first aspect of the embodiment of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.

[0018] Figure 1 It is a flow chart of a method for implementing software radio device middleware testing disclosed in an embodiment of the present invention;

[0019] Figure 2 It is a structural schematic diagram of a software radio device middleware test implementation device disclosed in an embodiment of the present invention;

[0020] Figure 3 The invention is a schematic structural diagram of another software radio equipment middleware testing implementation device disclosed in an embodiment of the invention. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0022] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned 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, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.

[0023] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0024] The present invention discloses a software radio device middleware testing implementation method and device, which is beneficial to simplifying the software radio device middleware testing process, reducing the testing difficulty, and improving the testing efficiency and reliability. Detailed descriptions are given below.

[0025] Embodiment 1

[0026] See also Figure 1 , Figure 1 The following is a flow chart of a method for implementing software radio device middleware testing disclosed in an embodiment of the present invention. Figure 1 The software radio device middleware testing implementation method described is applied to a management system, such as a local server or a cloud server for management, and the embodiments of the present invention are not limited thereto. Figure 1 As shown, the software radio device middleware testing implementation method may include the following operations:

[0027] 101. Obtain software radio equipment test sample information.

[0028] In the embodiment of the present invention, the software radio equipment test sample information includes M basic test sample information arranged in sequence; the data sizes corresponding to every two basic test sample information are inconsistent.

[0029] 102. Determine first target test result information based on the middleware and software radio device test sample information.

[0030] In the embodiment of the present invention, the first target test result information includes first target basic test result information and second target basic test result information.

[0031] 103. Analyze and process the first target test result information to obtain second target test result information.

[0032] It should be noted that the above basic test sample information is data packets of different sizes, and the size thereof is between 100B and 500kB.

[0033] It should be noted that the above M is a positive integer not less than 10 and not greater than 20.

[0034] It should be noted that the above second target test result information provides data support for the subsequent evaluation of whether the middleware is used in the environment, thereby improving the test efficiency of the software radio device.

[0035] It can be seen that the implementation method for software radio device middleware testing described in the embodiment of the present invention is conducive to simplifying the software radio device middleware testing process, reducing testing difficulty, and improving testing efficiency and reliability.

[0036] In an optional embodiment, the first target test result information is determined based on the middleware and software radio device test sample information, including:

[0037] Based on the middleware and software radio equipment test sample information, target test time information is determined; the target test time information includes M target basic test time information arranged in sequence; the target basic test time information includes N basic test time information;

[0038] Based on the target test time information, first target test result information is determined.

[0039] It should be noted that the basic test time information represents the time from when the basic test sample information is sent to when it is completely received.

[0040] It should be noted that the above N is a positive integer not less than 800.

[0041] It can be seen that the implementation method for software radio device middleware testing described in the embodiment of the present invention is conducive to simplifying the software radio device middleware testing process, reducing testing difficulty, and improving testing efficiency and reliability.

[0042] In another optional embodiment, determining target test time information based on the middleware and software radio device test sample information includes:

[0043] Determining one basic test sample information as target test sample information from the software radio device test sample information in sequence;

[0044] Obtain the sample sending time information corresponding to the target test sample information;

[0045] The target test sample information is sent to the test receiving terminal by using the middleware, and the sample receiving time information corresponding to the target test sample information received by the test receiving terminal is obtained;

[0046] Based on the sample receiving time information and the sample sending time information, determine a basic test time information corresponding to the target test sample information;

[0047] Get the test times corresponding to the target test sample information;

[0048] Determine whether the number of tests is equal to N, and obtain the number determination result;

[0049] When the result of the number of times is no, trigger the execution to obtain the sample sending time information corresponding to the target test sample information;

[0050] When the result of the number of times is yes, all basic test time information corresponding to the target test sample information is integrated to obtain the target basic test time information corresponding to the target test sample information;

[0051] Determine whether the basic test sample information corresponding to the target test sample information is the last basic test sample information in the software radio device test sample information, and obtain an order determination result;

[0052] When the result of the order determination is no, triggering execution to sequentially determine a basic test sample information from the software radio device test sample information as the target test sample information;

[0053] When the order determination result is yes, the trigger execution is based on the target test time information to determine the first target test result information.

[0054] It should be noted that the above sample sending time information is the system time when the middleware starts to send the target test sample information, which can be directly obtained.

[0055] It should be noted that the above-mentioned middleware is an object management group after the test interface layer, service scheduling layer and system adaptation layer are uniformly encapsulated. Further, the test interface layer can shield the differences in the underlying operating system and communication mode for the upper-layer test system software. Regardless of whether its transmission mode is CORBA or ICE, regardless of whether its hardware abstraction layer is MHAL or MOCB, regardless of whether its operating system is Linux or vxworks, the test-related operations are encapsulated into a consistent interface in the test data interface layer. Further, the service scheduling layer includes address mapping, message queues, and parsing scheduling. Further, the above-mentioned system adaptation layer includes communication adaptation and operating system adaptation. Communication adaptation is to extract the messages to be sent from the upper-layer sending queue of the message queue and the sending queues of each interface in the lower layer, and encapsulate the data structure based on the address of the interface function and the target processor, and fill in the address according to the specific transmission mechanism of the current processor or the bus situation, and call the transceiver function configured by this processor for transmission. The operating system adaptation parses the content of the system interface function, adapts the operating system used by the current device to implement the operating system function.

[0056] It should be noted that the above test receiving terminal is a terminal running on zynq XC7Z035.

[0057] It should be noted that the above sample receiving time information is the system time corresponding to when the target test sample information is completely received by the test receiving terminal.

[0058] It should be noted that the above test times are automatically increased by 1 each time the target test sample information is received, and are restored to the initial value of 0 each time the target test sample information is replaced.

[0059] It can be seen that the implementation method for software radio device middleware testing described in the embodiment of the present invention is conducive to simplifying the software radio device middleware testing process, reducing testing difficulty, and improving testing efficiency and reliability.

[0060] In yet another optional embodiment, determining first target test result information based on target test time information includes:

[0061] Based on the target test time information, determining first target basic test result information;

[0062] Based on the target test time information and the software radio device test sample information, second target basic test result information is determined.

[0063] It can be seen that the implementation method for software radio device middleware testing described in the embodiment of the present invention is conducive to simplifying the software radio device middleware testing process, reducing testing difficulty, and improving testing efficiency and reliability.

[0064] In yet another optional embodiment, determining the first target basic test result information based on the target test time information includes:

[0065] For any target basic test time information in the target test time information, select the maximum basic test time information from the target basic test time information as the maximum test time information corresponding to the target basic test time information;

[0066] Selecting the minimum basic test time information from the target basic test time information as the minimum test time information corresponding to the target basic test time information;

[0067] Perform subtraction calculation on the maximum test time information and the minimum test time information to obtain the test time difference information corresponding to the target basic test time information;

[0068] All basic test time information corresponding to the target basic test time information is summed and averaged to obtain average test time information corresponding to the target basic test time information;

[0069] Divide the average test time information by the test time difference information to obtain the normalized test time information corresponding to the target basic test time information;

[0070] All normalized test time information is summed and averaged to obtain the first target basic test result information.

[0071] It should be noted that the above-mentioned subtraction calculation process of the maximum test time information and the minimum test time information is to subtract the test time value corresponding to the minimum test time information from the test time value corresponding to the maximum test time information.

[0072] It should be noted that the summing and averaging calculation in the present application is to first sum all the data and then divide the summation result by the number of data.

[0073] It should be noted that the above-mentioned dividing the average test time information by the test time difference information is to divide the test time value corresponding to the average test time information by the test time value corresponding to the test time difference information.

[0074] It can be seen that the implementation method for software radio device middleware testing described in the embodiment of the present invention is conducive to simplifying the software radio device middleware testing process, reducing testing difficulty, and improving testing efficiency and reliability.

[0075] In an optional embodiment, the second target basic test result information is determined based on the target test time information and the software radio device test sample information, including:

[0076] For any target basic test time information in the target test time information, the data size of the basic test sample information corresponding to the target basic test time information is divided by the basic test time information of the target basic test time information in sequence to obtain the test data transmission volume information corresponding to the target basic test time information; the test data transmission volume information includes N basic test data transmission volume information;

[0077] Selecting the maximum basic test data transmission volume information from the test data transmission volume information as the maximum basic test data transmission volume information corresponding to the target basic test time information;

[0078] Selecting the minimum basic test data transmission volume information from the test data transmission volume information as the minimum basic test data transmission volume information corresponding to the target basic test time information;

[0079] Perform subtraction calculation on the maximum basic test data transmission volume information and the minimum basic test data transmission volume information to obtain the test data transmission volume difference information corresponding to the target basic test time information;

[0080] Sum and average all basic test data transmission volume information corresponding to the target basic test time information to obtain average basic test data transmission volume information corresponding to the target basic test time information;

[0081] Divide the average basic test data transmission volume information by the test data transmission volume difference information to obtain the normalized test data transmission volume information corresponding to the target basic test time information;

[0082] All normalized test data transmission volume information is summed and averaged to obtain the second target basic test result information.

[0083] It should be noted that the above-mentioned subtraction calculation processing of the maximum basic test data transmission amount information and the minimum basic test data transmission amount information is to subtract the basic test data transmission amount corresponding to the minimum basic test data transmission amount information from the basic test data transmission amount corresponding to the maximum basic test data transmission amount information.

[0084] It should be noted that the above-mentioned dividing the average basic test data transmission volume information by the test data transmission volume difference information is to divide the basic test data transmission volume corresponding to the average basic test data transmission volume information by the basic test data transmission volume corresponding to the test data transmission volume difference information.

[0085] It can be seen that the implementation method for software radio device middleware testing described in the embodiment of the present invention is conducive to simplifying the software radio device middleware testing process, reducing testing difficulty, and improving testing efficiency and reliability.

[0086] In another optional embodiment, analyzing and processing the first target test result information to obtain the second target test result information includes:

[0087] Acquire test weighting coefficient information; the test weighting coefficient information includes a first weighting coefficient and a second weighting coefficient;

[0088] Using a weighted calculation model to calculate the first target test result information and the test weighting coefficient to obtain weighted test result information;

[0089] Among them, the weighted calculation model is:

[0090] Weighted test result information = first weighting coefficient * first target basic test result information + second weighting coefficient *

[0091] Second target basic test result information;

[0092] Determine whether the weighted test result information is within the test performance standard range, and obtain a test judgment result;

[0093] When the test judgment result is yes, determining the second target test result information as the middleware performance being qualified;

[0094] When the test judgment result is no, it is determined that the second target test result information is that the middleware performance is unqualified.

[0095] It should be noted that the above test performance standard interval can be set by the user or a default interval given by the system, which is not limited in the embodiment of the present invention. Further, the default interval given by the system can be determined by a historical test performance standard interval.

[0096] It should be noted that the above-mentioned determination of whether the weighted test result information is within the test performance standard interval is to determine whether the weighted test result value corresponding to the weighted test result information is between the upper and lower limits of the test performance standard interval.

[0097] It can be seen that the implementation method for software radio device middleware testing described in the embodiment of the present invention is conducive to simplifying the software radio device middleware testing process, reducing testing difficulty, and improving testing efficiency and reliability.

[0098] Embodiment 2

[0099] See also Figure 2 , Figure 2 The present invention discloses a schematic diagram of a software radio device middleware test implementation device. Figure 2 The described device can be applied to a warehouse management system, such as a local server or cloud server for warehouse logistics software radio equipment middleware testing and management, and the embodiments of the present invention are not limited thereto. Figure 2 As shown, the device may include:

[0100] The acquisition module 201 is used to acquire software radio equipment test sample information; the software radio equipment test sample information includes M basic test sample information arranged in sequence; the data size corresponding to each two basic test sample information is inconsistent;

[0101] Determining module 202, used to determine first target test result information based on the middleware and software radio device test sample information; the first target test result information includes first target basic test result information and second target basic test result information;

[0102] The processing module 203 is used to analyze and process the first target test result information to obtain the second target test result information.

[0103] It can be seen that the implementation Figure 2 The software radio device middleware test implementation device described is beneficial to simplifying the software radio device middleware test process, reducing the test difficulty, and improving the test efficiency and reliability.

[0104] In another optional embodiment, Figure 2 As shown, the determination module 202 determines the first target test result information based on the middleware and software radio device test sample information, including:

[0105] Based on the middleware and software radio equipment test sample information, target test time information is determined; the target test time information includes M target basic test time information arranged in sequence; the target basic test time information includes N basic test time information;

[0106] Based on the target test time information, first target test result information is determined.

[0107] It can be seen that the implementation Figure 2 The software radio device middleware test implementation device described is beneficial to simplifying the software radio device middleware test process, reducing the test difficulty, and improving the test efficiency and reliability.

[0108] In yet another optional embodiment, Figure 2 As shown, the determination module 202 determines the target test time information based on the middleware and software radio device test sample information, including:

[0109] Determining one basic test sample information as target test sample information from the software radio device test sample information in sequence;

[0110] Obtain the sample sending time information corresponding to the target test sample information;

[0111] The target test sample information is sent to the test receiving terminal by using the middleware, and the sample receiving time information corresponding to the target test sample information received by the test receiving terminal is obtained;

[0112] Based on the sample receiving time information and the sample sending time information, determine a basic test time information corresponding to the target test sample information;

[0113] Get the test times corresponding to the target test sample information;

[0114] Determine whether the number of tests is equal to N, and obtain the number determination result;

[0115] When the result of the number of times is no, trigger the execution to obtain the sample sending time information corresponding to the target test sample information;

[0116] When the result of the number of times is yes, all basic test time information corresponding to the target test sample information is integrated to obtain the target basic test time information corresponding to the target test sample information;

[0117] Determine whether the basic test sample information corresponding to the target test sample information is the last basic test sample information in the software radio device test sample information, and obtain an order determination result;

[0118] When the result of the order determination is no, triggering execution to sequentially determine a basic test sample information from the software radio device test sample information as the target test sample information;

[0119] When the order determination result is yes, the trigger execution is based on the target test time information to determine the first target test result information.

[0120] It can be seen that the implementation Figure 2 The software radio device middleware test implementation device described is beneficial to simplifying the software radio device middleware test process, reducing the test difficulty, and improving the test efficiency and reliability.

[0121] In yet another optional embodiment, Figure 2 As shown, the determination module 202 determines the first target test result information based on the target test time information, including:

[0122] Based on the target test time information, determining first target basic test result information;

[0123] Based on the target test time information and the software radio device test sample information, second target basic test result information is determined.

[0124] It can be seen that the implementation Figure 2The software radio device middleware test implementation device described is beneficial to simplifying the software radio device middleware test process, reducing the test difficulty, and improving the test efficiency and reliability.

[0125] In yet another optional embodiment, Figure 2 As shown, the determination module 202 determines the first target basic test result information based on the target test time information, including:

[0126] For any target basic test time information in the target test time information, select the maximum basic test time information from the target basic test time information as the maximum test time information corresponding to the target basic test time information;

[0127] Selecting the minimum basic test time information from the target basic test time information as the minimum test time information corresponding to the target basic test time information;

[0128] Perform subtraction calculation on the maximum test time information and the minimum test time information to obtain the test time difference information corresponding to the target basic test time information;

[0129] All basic test time information corresponding to the target basic test time information is summed and averaged to obtain average test time information corresponding to the target basic test time information;

[0130] Divide the average test time information by the test time difference information to obtain the normalized test time information corresponding to the target basic test time information;

[0131] All normalized test time information is summed and averaged to obtain the first target basic test result information.

[0132] It can be seen that the implementation Figure 2 The software radio device middleware test implementation device described is beneficial to simplifying the software radio device middleware test process, reducing the test difficulty, and improving the test efficiency and reliability.

[0133] In yet another optional embodiment, Figure 2 As shown, the determination module 202 determines the second target basic test result information based on the target test time information and the software radio device test sample information, including:

[0134] For any target basic test time information in the target test time information, the data size of the basic test sample information corresponding to the target basic test time information is divided by the basic test time information of the target basic test time information in sequence to obtain the test data transmission volume information corresponding to the target basic test time information; the test data transmission volume information includes N basic test data transmission volume information;

[0135] Selecting the maximum basic test data transmission volume information from the test data transmission volume information as the maximum basic test data transmission volume information corresponding to the target basic test time information;

[0136] Selecting the minimum basic test data transmission volume information from the test data transmission volume information as the minimum basic test data transmission volume information corresponding to the target basic test time information;

[0137] Perform subtraction calculation on the maximum basic test data transmission volume information and the minimum basic test data transmission volume information to obtain the test data transmission volume difference information corresponding to the target basic test time information;

[0138] Sum and average all basic test data transmission volume information corresponding to the target basic test time information to obtain average basic test data transmission volume information corresponding to the target basic test time information;

[0139] Divide the average basic test data transmission volume information by the test data transmission volume difference information to obtain the normalized test data transmission volume information corresponding to the target basic test time information;

[0140] All normalized test data transmission volume information is summed and averaged to obtain the second target basic test result information.

[0141] It can be seen that the implementation Figure 2 The software radio device middleware test implementation device described is beneficial to simplifying the software radio device middleware test process, reducing the test difficulty, and improving the test efficiency and reliability.

[0142] In yet another optional embodiment, Figure 2 As shown, the processing module 203 analyzes and processes the first target test result information to obtain the second target test result information, including:

[0143] Acquire test weighting coefficient information; the test weighting coefficient information includes a first weighting coefficient and a second weighting coefficient;

[0144] Using a weighted calculation model to calculate the first target test result information and the test weighting coefficient to obtain weighted test result information;

[0145] Among them, the weighted calculation model is:

[0146] Weighted test result information = first weighting coefficient * first target basic test result information + second weighting coefficient *

[0147] Second target basic test result information;

[0148] Determine whether the weighted test result information is within the test performance standard range, and obtain a test judgment result;

[0149] When the test judgment result is yes, determining the second target test result information as the middleware performance being qualified;

[0150] When the test result is negative, the second target test result information is determined to be that the middleware performance is unqualified. Figure 2 The software radio device middleware test implementation device described is beneficial to simplifying the software radio device middleware test process, reducing the test difficulty, and improving the test efficiency and reliability.

[0151] Embodiment 3

[0152] See also Figure 3 , Figure 3 1 is a schematic diagram of the structure of another software radio device middleware test implementation device disclosed in an embodiment of the present invention. Figure 3 The described device can be applied to a warehouse management system, such as a local server or cloud server for warehouse logistics software radio equipment middleware testing and management, and the embodiments of the present invention are not limited thereto. Figure 3 As shown, the device may include:

[0153] A memory 301 storing executable program codes;

[0154] a processor 302 coupled to the memory 301;

[0155] The processor 302 calls the executable program code stored in the memory 301 to execute the steps in the software radio device middleware testing implementation method described in the first embodiment.

[0156] Embodiment 4

[0157] The embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the software radio device middleware testing implementation method described in the first embodiment.

[0158] Embodiment 5

[0159] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the software radio device middleware testing implementation method described in the first embodiment.

[0160] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0161] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0162] Finally, it should be noted that the software radio equipment middleware testing implementation method and device disclosed in the embodiment of the present invention discloses only the preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that it is still possible to modify the technical solutions recorded in the aforementioned embodiments, or to replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for implementing software radio device middleware testing, characterized in that: The method comprises: Acquire software radio equipment test sample information; the software radio equipment test sample information includes M basic test sample information arranged in sequence; the data sizes corresponding to each two basic test sample information are inconsistent; Based on the middleware and the software radio device test sample information, first target test result information is determined; the first target test result information includes first target basic test result information and second target basic test result information; Wherein, determining the first target test result information based on the middleware and the software radio device test sample information includes: Based on the middleware and the software radio equipment test sample information, target test time information is determined; the target test time information includes M target basic test time information arranged in sequence; the target basic test time information includes N basic test time information; Based on the target test time information, determining first target test result information; Wherein, determining the first target test result information based on the target test time information includes: Based on the target test time information, determining the first target basic test result information; Determining the second target basic test result information based on the target test time information and the software radio device test sample information; Wherein, determining the first target basic test result information based on the target test time information includes: For any of the target basic test time information in the target test time information, select the largest of the basic test time information from the target basic test time information as the maximum test time information corresponding to the target basic test time information; Select the minimum basic test time information from the target basic test time information as the minimum test time information corresponding to the target basic test time information; The maximum test time information and the minimum test time information are subjected to subtraction calculation processing to obtain the test time difference information corresponding to the target basic test time information; the subtraction calculation processing of the maximum test time information and the minimum test time information is to subtract the test time value corresponding to the maximum test time information from the test time value corresponding to the minimum test time information; All the basic test time information corresponding to the target basic test time information are summed and averaged to obtain the average test time information corresponding to the target basic test time information; dividing the average test time information by the test time difference information is to divide the test time value corresponding to the average test time information by the test time value corresponding to the test time difference information; Divide the average test time information by the test time difference information to obtain normalized test time information corresponding to the target basic test time information; Sum and average all the normalized test time information to obtain the first target basic test result information; Wherein, determining the second target basic test result information based on the target test time information and the software radio device test sample information includes: For any of the target basic test time information in the target test time information, the data size of the basic test sample information corresponding to the target basic test time information is divided by the basic test time information of the target basic test time information in sequence to obtain the test data transmission volume information corresponding to the target basic test time information; the test data transmission volume information includes N basic test data transmission volume information; Selecting the largest basic test data transmission volume information from the test data transmission volume information as the maximum basic test data transmission volume information corresponding to the target basic test time information; Selecting the minimum basic test data transmission volume information from the test data transmission volume information as the minimum basic test data transmission volume information corresponding to the target basic test time information; The maximum basic test data transmission amount information and the minimum basic test data transmission amount information are subjected to subtraction calculation processing to obtain the test data transmission amount difference information corresponding to the target basic test time information; the subtraction calculation processing of the maximum basic test data transmission amount information and the minimum basic test data transmission amount information is to subtract the basic test data transmission amount corresponding to the maximum basic test data transmission amount information from the basic test data transmission amount corresponding to the minimum basic test data transmission amount information; All the basic test data transmission volume information corresponding to the target basic test time information are summed and averaged to obtain the average basic test data transmission volume information corresponding to the target basic test time information; the average basic test data transmission volume information is divided by the test data transmission volume difference information, that is, the basic test data transmission volume corresponding to the average basic test data transmission volume information is divided by the basic test data transmission volume corresponding to the test data transmission volume difference information; Dividing the average basic test data transmission volume information by the test data transmission volume difference information to obtain normalized test data transmission volume information corresponding to the target basic test time information; Sum and average all the normalized test data transmission volume information to obtain the second target basic test result information; The first target test result information is analyzed and processed to obtain second target test result information.

2. The software radio device middleware testing implementation method according to claim 1, characterized in that: The step of determining target test time information based on the middleware and the software radio device test sample information includes: sequentially determining one of the basic test sample information from the software radio equipment test sample information as the target test sample information; Obtaining sample sending time information corresponding to the target test sample information; Using the middleware, the target test sample information is sent to the test receiving terminal, and the sample receiving time information corresponding to the target test sample information is obtained when the test receiving terminal completes receiving the sample information; Determine the basic test time information corresponding to the target test sample information based on the sample receiving time information and the sample sending time information; Obtain the number of tests corresponding to the target test sample information; Determine whether the test number is equal to N, and obtain a number determination result; When the result of the number of times is no, triggering the execution of obtaining the sample sending time information corresponding to the target test sample information; When the result of the number of times is yes, all the basic test time information corresponding to the target test sample information are integrated to obtain the target basic test time information corresponding to the target test sample information; Determine whether the basic test sample information corresponding to the target test sample information is the last basic test sample information in the software radio device test sample information, and obtain an order determination result; When the result of the order determination is no, triggering the execution of sequentially determining one of the basic test sample information from the software radio equipment test sample information as the target test sample information; When the order judgment result is yes, the step of determining the first target test result information based on the target test time information is triggered.

3. The software radio device middleware testing implementation method according to claim 1, characterized in that: The analyzing and processing the first target test result information to obtain the second target test result information includes: Acquire test weighting coefficient information; the test weighting coefficient information includes a first weighting coefficient and a second weighting coefficient; Using a weighted calculation model to calculate the first target test result information and the test weighting coefficient to obtain weighted test result information; Wherein, the weighted calculation model is: Weighted test result information = first weighting coefficient * first target basic test result information + second weighting coefficient * second target basic test result information; Determine whether the weighted test result information is within the test performance standard interval to obtain a test judgment result; When the test judgment result is yes, determining the second target test result information as the middleware performance being qualified; When the test judgment result is no, it is determined that the second target test result information is that the middleware performance is unqualified.

4. A software radio equipment middleware testing implementation device, characterized in that: The device comprises: An acquisition module is used to acquire software radio equipment test sample information; the software radio equipment test sample information includes M basic test sample information arranged in sequence; the data sizes corresponding to each two basic test sample information are inconsistent; A determination module, configured to determine first target test result information based on the middleware and the software radio device test sample information; the first target test result information includes first target basic test result information and second target basic test result information; Wherein, determining the first target test result information based on the middleware and the software radio device test sample information includes: Based on the middleware and the software radio equipment test sample information, target test time information is determined; the target test time information includes M target basic test time information arranged in sequence; the target basic test time information includes N basic test time information; Based on the target test time information, determining first target test result information; Wherein, determining the first target test result information based on the target test time information includes: Based on the target test time information, determining the first target basic test result information; Determining the second target basic test result information based on the target test time information and the software radio device test sample information; Wherein, determining the first target basic test result information based on the target test time information includes: For any of the target basic test time information in the target test time information, select the largest of the basic test time information from the target basic test time information as the maximum test time information corresponding to the target basic test time information; Select the minimum basic test time information from the target basic test time information as the minimum test time information corresponding to the target basic test time information; The maximum test time information and the minimum test time information are subjected to subtraction calculation processing to obtain the test time difference information corresponding to the target basic test time information; the subtraction calculation processing of the maximum test time information and the minimum test time information is to subtract the test time value corresponding to the maximum test time information from the test time value corresponding to the minimum test time information; All the basic test time information corresponding to the target basic test time information are summed and averaged to obtain the average test time information corresponding to the target basic test time information; dividing the average test time information by the test time difference information is to divide the test time value corresponding to the average test time information by the test time value corresponding to the test time difference information; Divide the average test time information by the test time difference information to obtain normalized test time information corresponding to the target basic test time information; Sum and average all the normalized test time information to obtain the first target basic test result information; Wherein, determining the second target basic test result information based on the target test time information and the software radio device test sample information includes: For any of the target basic test time information in the target test time information, the data size of the basic test sample information corresponding to the target basic test time information is divided by the basic test time information of the target basic test time information in sequence to obtain the test data transmission volume information corresponding to the target basic test time information; the test data transmission volume information includes N basic test data transmission volume information; Selecting the largest basic test data transmission volume information from the test data transmission volume information as the maximum basic test data transmission volume information corresponding to the target basic test time information; Selecting the minimum basic test data transmission volume information from the test data transmission volume information as the minimum basic test data transmission volume information corresponding to the target basic test time information; The maximum basic test data transmission amount information and the minimum basic test data transmission amount information are subjected to subtraction calculation processing to obtain the test data transmission amount difference information corresponding to the target basic test time information; the subtraction calculation processing of the maximum basic test data transmission amount information and the minimum basic test data transmission amount information is to subtract the basic test data transmission amount corresponding to the maximum basic test data transmission amount information from the basic test data transmission amount corresponding to the minimum basic test data transmission amount information; All the basic test data transmission volume information corresponding to the target basic test time information are summed and averaged to obtain the average basic test data transmission volume information corresponding to the target basic test time information; the average basic test data transmission volume information is divided by the test data transmission volume difference information, that is, the basic test data transmission volume corresponding to the average basic test data transmission volume information is divided by the basic test data transmission volume corresponding to the test data transmission volume difference information; Dividing the average basic test data transmission volume information by the test data transmission volume difference information to obtain normalized test data transmission volume information corresponding to the target basic test time information; Sum and average all the normalized test data transmission volume information to obtain the second target basic test result information; The processing module is used to analyze and process the first target test result information to obtain the second target test result information.

5. A software radio equipment middleware testing implementation device, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the software radio device middleware testing implementation method as described in any one of claims 1-3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the software radio device middleware testing implementation method according to any one of claims 1-3.

Citation Information

Patent Citations

  • Method and device for evaluating software testing process, equipment and medium

    CN115408292A

  • Software interface testing method and device, equipment and storage medium

    CN117472767A