A decoding algorithm verification method, device, electronic device and storage medium
By directly obtaining and comparing input data fragments, the rapid and automatic verification of the decoding algorithm module of the locomotive signal on-board equipment is achieved, and the problems of poor repeatability and insufficient efficiency of tests in the prior art are solved, and monitoring flexibility and efficiency are improved.
Patent Information
- Application Number
- CN202111075179.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-14
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-09-14
AI Technical Summary
In the prior art, the performance verification test of the decoding algorithm module of locomotive signal on-board equipment is poorly repeatable. Due to the real-time operation requirements of hardware system, the test process cannot be accelerated, and the data communication capabilities and platform capabilities are limited, resulting in insufficient monitoring flexibility and efficiency.
By obtaining the input data file, extracting the input data fragment, and inputting it into the decoding algorithm module to be tested for decoding, collecting the decoded data and comparing the input data, and using specific functions (such as DecodeFunc, Mex_Decode_disp_resault, mexFunction, Decode_InputData, Decode_HwParaSet) to achieve fast , Automatic decoding algorithm verification, avoid the digital-analog, analog-to-digital conversion process, and directly obtain performance test results.
It realizes rapid and automatic verification of the decoding algorithm in the decoding module to be tested, improves R&D efficiency, enhances the flexibility of the monitoring process, and avoids the limitations of data communication capabilities and platform capabilities.
Smart Images

Figure CN113835689B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of decoding technology, and in particular to a decoding algorithm verification method, device, electronic equipment and storage medium. Background Art
[0002] In the actual research and development and fault analysis process of locomotive signal on-board equipment, since the input test target is the real-time sampled waveform data of the track signal, the traditional method for verifying the performance of the decoding algorithm module to be tested is to use an audio player to generate a real-time analog signal for the test target data, and use this as the input of the entire locomotive signal on-board equipment. The sampling module in the system then digitizes the input analog signal and outputs it to the decoding algorithm module to be tested. At the same time, R&D personnel need to monitor the working status of the decoding algorithm simulation by connecting to a simulator or other data communication methods. Since the test target undergoes two conversion processes, digital-to-analog and analog-to-digital, the test repeatability cannot be guaranteed. Limited to the real-time operation requirements of the hardware system, the entire test process cannot be accelerated. Limited by the limitations of data communication capabilities and platform capabilities, the operation monitoring process is inflexible and inefficient. Summary of the invention
[0003] The present invention provides a decoding algorithm verification method, device, electronic device and storage medium to solve the problems in the prior art that test repeatability cannot be guaranteed, the hardware system is limited to the real-time operation requirement, the entire test process cannot be accelerated, and the operation monitoring process is limited by data communication capabilities and platform capabilities. The flexibility is poor and the efficiency is insufficient.
[0004] In order to solve the above problems, the present invention adopts the following technical solutions: including:
[0005] In a first aspect, the present invention provides a decoding algorithm verification method, comprising:
[0006] Obtaining an input data file, wherein the input data file includes input data;
[0007] Acquire an input data segment from the input data, the input data segment comprising sampling points, and the number of the sampling points of the input data segment is greater than a preset number threshold;
[0008] Inputting the input data segment into a decoding algorithm module to be tested, wherein the decoding algorithm module to be tested includes a decoding algorithm;
[0009] Collecting decoding data of the decoding algorithm module to be tested, wherein the decoding data is obtained after the decoding algorithm module to be tested decodes the input data;
[0010] The decoded data is compared with the input data to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested.
[0011] A further technical solution is that obtaining the input data file includes:
[0012] Receive input data, the input data including waveform data, uplink and downlink data, carrier frequency data, low frequency data and lamp position data;
[0013] The input data is imported into a file in a preset format to obtain the input data file.
[0014] A further technical solution is that obtaining the input data fragment from the input data includes:
[0015] The input data is sampled within a preset fixed time using the DecodeFunc function to obtain input data segments.
[0016] A further technical solution is that the decoding data is compared with the input data to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested, including:
[0017] The decoded data and the input data are compared using the Mex_Decode_disp_resault function to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested.
[0018] A further technical solution is that the step of inputting the input data segment into the decoding algorithm module to be tested comprises:
[0019] The waveform data, carrier frequency data, low frequency data and light position data of the input data are input into the decoding algorithm module to be tested using the Decode_InputData function, and the uplink and downlink data of the input data are input into the decoding algorithm module to be tested using the Decode_HwParaSet function.
[0020] A further technical solution is that before obtaining the input data file, the method further includes:
[0021] Obtaining a verification value of the decoding algorithm module to be tested;
[0022] Determine whether the check value of the decoding algorithm module to be tested is the same as the historical check value;
[0023] If the check value of the decoding algorithm module to be tested is different from the historical check value, the decoding algorithm in the decoding algorithm module to be tested is recompiled.
[0024] A further technical solution is that the step of collecting the decoding data of the decoding algorithm module to be tested includes:
[0025] Use the mexFunction function to set a probe in the decoding algorithm module to be tested;
[0026] Using the probe to obtain decoding data of the decoding algorithm module to be tested, to obtain an output probe;
[0027] The output probe is obtained, where the output probe contains decoding data of the decoding algorithm module to be tested.
[0028] In a second aspect, the present invention further provides a decoding algorithm verification device, comprising a unit for executing the method described in the first aspect.
[0029] In a third aspect, the present invention further provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0030] Memory, used to store computer programs;
[0031] The processor is used to implement the steps of the method described in the first aspect when executing the program stored in the memory.
[0032] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described in the first aspect.
[0033] The above technical solution provided by the embodiment of the present invention has the following advantages compared with the prior art:
[0034] The embodiment of the present invention directly obtains the performance test result of the decoding algorithm in the decoding algorithm module to be tested by directly acquiring the input data and comparing the decoded data with the input data, thereby achieving rapid and automatic verification of the decoding algorithm in the decoding module to be tested and improving research and development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0037] Figure 1 A flowchart of a decoding algorithm verification method provided in Embodiment 1 of the present invention;
[0038] Figure 2 A schematic diagram of a process of collecting decoding data of the decoding algorithm module to be tested in a decoding algorithm verification method provided in Embodiment 1 of the present invention;
[0039] Figure 3 A schematic diagram of a flow chart of a decoding algorithm verification method provided in Embodiment 2 of the present invention;
[0040] Figure 4 A structural block diagram of a decoding algorithm verification device provided in Embodiment 3 of the present invention;
[0041] Figure 5 A structural block diagram of a decoding algorithm verification device provided in Embodiment 4 of the present invention;
[0042] Figure 6 A schematic diagram of the structure of an electronic device provided in Example 5 of the present invention. DETAILED DESCRIPTION
[0043] In order to more fully understand the technical content of the present invention, the technical solution of the present invention is further introduced and illustrated in conjunction with specific embodiments below, but is not limited thereto.
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0045] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0046] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0047] Example 1
[0048] See also Figure 1 , combined with Figure 2 As shown, Figure 1The flowchart of a decoding algorithm verification method provided in Embodiment 1 of the present invention is shown in FIG. The method can be applied to an electronic device, wherein the electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus, and the present invention does not make any specific limitation on this. Specifically, as Figure 1 As shown, the method includes the following steps S101-S105.
[0049] S101, obtaining an input data file, wherein the input data file includes input data.
[0050] In the actual research and development and fault analysis process of locomotive signal on-board equipment, the input data is specifically waveform data and information corresponding to the waveform data (carrier frequency data, low frequency data, light position data), and the information corresponding to the waveform data (carrier frequency data, low frequency data, light position data) are all time curves.
[0051] In one embodiment, obtaining the input data file includes:
[0052] Receive input data, the input data including waveform data, uplink and downlink data, carrier frequency data, low frequency data and lamp position data;
[0053] The input data is imported into a file in a preset format to obtain the input data file.
[0054] The file in a preset format in which the input data is imported is specifically a JSON file.
[0055] S102: Acquire an input data segment from the input data, where the input data segment includes sampling points, and the number of sampling points in the input data segment is greater than a preset number threshold.
[0056] The input data is input at one time in the form of a pointer, and the actual data input process is simulated by traversal. The preset number threshold of the sampling points is 512 sampling points. Only when the number of sampling points is greater than 512 do the input data fragments and other input data fragments contain their own information. When the number of sampling points is less than 512, the information in the input data fragment is consistent with that in other input data fragments.
[0057] In one embodiment, obtaining the input data segment from the input data includes:
[0058] The input data is sampled within a preset fixed time using the DecodeFunc function to obtain input data segments.
[0059] The DecodeFunc function is a periodic call function programmed by the user in C language, and the time starting point is based on the track circuit waveform data. The preset fixed time refers to 64ms. The CMain function calls the periodic call function DecodeFunc function to sample the input data in every 64ms time period, so as to evenly segment the input data for subsequent decoding operations. The CMain function is programmed by the user in C language.
[0060] S103, inputting the input data segment into a decoding algorithm module to be tested, where the decoding algorithm module to be tested includes a decoding algorithm.
[0061] The decoding algorithm is specifically a C language code, the decoding algorithm module to be tested includes a decoding algorithm (C language code), and the decoding algorithm module to be tested is a mex file.
[0062] In one embodiment, inputting the input data segment into a decoding algorithm module to be tested includes:
[0063] The waveform data, carrier frequency data, low frequency data and light position data of the input data are input into the decoding algorithm module to be tested using the Decode_InputData function, and the uplink and downlink data of the input data are input into the decoding algorithm module to be tested using the Decode_HwParaSet function.
[0064] The Decode_InputData function is a waveform data input function programmed by the user in C language. The Decode_InputData function is called by the CMain function to input the waveform data, carrier frequency data, low-frequency data and light position data of the input data into the decoding algorithm module to be tested; the Decode_HwParaSet is an uplink and downlink data input function. The Decode_HwParaSet function is called by the CMain function to input the uplink and downlink data of the input data into the decoding algorithm module to be tested.
[0065] S104: Collecting decoding data of the decoding algorithm module to be tested, where the decoding data is obtained after the decoding algorithm module to be tested decodes the input data.
[0066] The decoding data of the decoding algorithm module to be tested is collected through a probe, and the probe is a variable used to save debugging information within a decoding cycle (64ms). Therefore, the probe can collect the decoding data obtained after the decoding algorithm module to be tested decodes the input data, and the debugging information includes the decoding data.
[0067] like Figure 2As shown, in one embodiment, the collecting the decoding data of the decoding algorithm module to be tested includes:
[0068] S1041, using the mexFunction function to set a probe in the decoding algorithm module to be tested.
[0069] The mexFunction function is programmed by the user in C language and is an interface specified by MATLAB. The parameters in the mexFunction function are used to transfer the input and output of the decoding module to be tested. MATLAB can recognize and use the decoding module to be tested only through the mexFunction function.
[0070] S1042, using the probe to obtain decoding data of the decoding algorithm module to be tested, to obtain an output probe;
[0071] The probe is a variable that can obtain the detailed operating status of the decoding module to be tested and is used to save debugging information within a decoding cycle (64ms). Therefore, the probe can obtain the decoding data of the decoding algorithm module to be tested, and the debugging information includes the decoding data.
[0072] S1043: Obtain the output probe, where the output probe contains the decoding data of the decoding algorithm module to be tested.
[0073] When the decoding module to be tested completes one decoding cycle (64ms), the output probe is obtained, and the output probe is a probe that completes the operation of obtaining the decoding data of the decoding algorithm module to be tested within the one decoding cycle (64ms).
[0074] S105: Compare the decoded data with the input data to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested.
[0075] The decoding data and the input data are compared, specifically, the light position data in the decoded data and the light position data in the input data are compared, the low frequency data in the decoded data and the low frequency data in the input data are compared, and the carrier frequency data in the decoded data and the carrier frequency data in the input data are compared.
[0076] In one embodiment, the comparing the decoded data with the input data to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested includes:
[0077] The decoded data and the input data are compared using the Mex_Decode_disp_resault function to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested.
[0078] The decoded data and the input data are compared by writing the MATLAB function Mex_Decode_disp_resault, which is a decoding data display function. Specifically, the MATLAB function Mex_Decode_disp_resault compares the moment when the light position in the decoded data changes with the moment when the light position in the input data changes, and checks whether the response time (that is, the decoding delay) of the decoding algorithm in the decoding algorithm module to be tested meets the performance parameters; the MATLAB function Mex_Decode_disp_resault compares the light position type in the decoded data with the light position type in the input data to determine whether the light position type in the decoded data is consistent with the light position type in the input data, and checks whether the decoding algorithm in the decoding algorithm module to be tested meets the performance parameters, and the light position, that is, the traffic signal, is consistent with the traffic signal. light; compare the carrier frequency data in the input data with the carrier frequency data in the decoded data through the MATLAB function Mex_Decode_disp_resault, determine whether the carrier frequency data in the input data and the carrier frequency data in the decoded data are consistent, and check whether the decoding algorithm in the decoding algorithm module to be tested meets the performance parameters; compare the low-frequency data in the input data with the low-frequency data in the decoded data through the MATLAB function Mex_Decode_disp_resault, determine whether the low-frequency data in the input data and the low-frequency data in the decoded data are consistent, and check whether the decoding algorithm in the decoding algorithm module to be tested meets the performance parameters.
[0079] Specifically, by directly acquiring the input data and comparing the decoded data with the input data, the performance test result of the decoding algorithm in the decoding algorithm module to be tested is directly obtained, so that the decoding algorithm in the decoding algorithm module to be tested can be quickly and automatically verified, thereby improving the research and development efficiency; by using MATLAB programming, C language programming, and cross-compilation, there is no need to monitor the working status of the decoding algorithm simulation in the decoding algorithm module to be tested by connecting to an emulator or other data communication methods, and at the same time, there is no need to convert the input data through the two processes of digital-to-analog and analog-to-digital conversion, so that the input data can be tested repeatedly; without being limited by data communication capabilities and platform capabilities, etc., the decoding algorithm in the decoding module to be tested can be quickly and automatically verified, so that the flexibility of the operation monitoring process is enhanced, and the research and development efficiency is improved.
[0080] Example 2
[0081] See also Figure 3 , Figure 3A flowchart of a decoding algorithm verification method provided in Example 2 of the present invention. The decoding algorithm verification method of Example 2 includes steps S201-S209, wherein steps S201-S205 are similar to steps S101-S105 in the above-mentioned Example 1 and are not described in detail here. Steps S206-S209 added in this embodiment are described in detail below.
[0082] S206: Obtain a check value of the decoding algorithm module to be tested.
[0083] Put all module files (including the decoding module to be tested) in a certain order, use the verification function Simulink.getFileChecksum to calculate their MD5 check values respectively, then combine all the check values into a long string, and use the verification function Simulink.getFileChecksum to calculate the MD5 check value of this string.
[0084] S207, determining whether the check value of the decoding algorithm module to be tested is the same as the historical check value.
[0085] A file of any type has only one MD5 checksum, and if the file is modified or tampered with, its MD5 checksum will also change.
[0086] S208: If the check value of the decoding algorithm module to be tested is different from the historical check value, recompile the decoding algorithm in the decoding algorithm module to be tested.
[0087] S209, using the DecodeInit function to initialize the decoding algorithm module to be tested.
[0088] The DecodeInit function is an initialization function programmed by a user in C language, and is used to initialize the decoding algorithm module to be tested.
[0089] When the check value of the decoding algorithm module to be tested is different from the historical check value, it is determined that the decoding algorithm in the decoding algorithm module to be tested has been updated, and the codes in all modules (including the decoding module to be tested) are recompiled into a new MEX file.
[0090] Specifically, the MD5 checksum values of all module files (including the decoding module to be tested) are compared through the check function to determine whether the decoding algorithm in the decoding algorithm module to be tested has been updated and whether the decoding algorithm needs to be recompiled.
[0091] Example 3
[0092] See also Figure 4The embodiment of the present invention further provides a decoding algorithm verification device 300, which includes a first acquisition unit 301, a second acquisition unit 302, a first input unit 303, a first acquisition unit 304, and a first comparison unit 305.
[0093] The first acquisition unit 301 is used to acquire an input data file, where the input data file includes input data.
[0094] The second acquisition unit 302 is configured to acquire an input data segment from the input data, where the input data segment includes sampling points, and the number of sampling points of the input data segment is greater than a preset number threshold.
[0095] The first input unit 303 is used to input the input data segment into a decoding algorithm module to be tested, where the decoding algorithm module to be tested includes a decoding algorithm.
[0096] The first collecting unit 304 is used to collect decoding data of the decoding algorithm module to be tested, where the decoding data is obtained after the decoding algorithm module to be tested decodes the input data.
[0097] The first comparison unit 305 compares the decoded data with the input data to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested.
[0098] In one embodiment, obtaining the input data file includes:
[0099] Receive input data, the input data including waveform data, uplink and downlink data, carrier frequency data, low frequency data and lamp position data;
[0100] The input data is imported into a file in a preset format to obtain the input data file.
[0101] In one embodiment, obtaining the input data segment from the input data includes:
[0102] The input data is sampled within a preset fixed time using the DecodeFunc function to obtain input data segments.
[0103] In one embodiment, inputting the input data segment into a decoding algorithm module to be tested includes:
[0104] The waveform data, carrier frequency data, low frequency data and light position data of the input data are input into the decoding algorithm module to be tested using the Decode_InputData function, and the uplink and downlink data of the input data are input into the decoding algorithm module to be tested using the Decode_HwParaSet function.
[0105] In one embodiment, the comparing the decoded data with the input data to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested includes:
[0106] The decoded data and the input data are compared using the Mex_Decode_disp_resault function to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested.
[0107] In one embodiment, the collecting the decoding data of the decoding algorithm module to be tested includes:
[0108] Use the mexFunction function to set the probe in the decoding algorithm module to be tested;
[0109] Using the probe to obtain decoding data of the decoding algorithm module to be tested, to obtain an output probe;
[0110] The output probe is obtained, where the output probe contains decoding data of the decoding algorithm module to be tested.
[0111] In an embodiment of the present invention, a probe is set by C language programming to flexibly obtain the decoding data of the decoding algorithm module to be tested, thereby achieving more flexible monitoring of the decoding module to be tested and improving efficiency; MATLAB programming is used to display the performance test results of the decoding algorithm in the decoding algorithm module to be tested in a graphical form, without connecting a simulator or other data communication methods to monitor the working status of the decoding algorithm simulation, thereby improving efficiency.
[0112] Example 4
[0113] See also Figure 5 The embodiment of the present invention further provides a decoding algorithm verification device 300. The difference between the decoding algorithm verification device 300 and the decoding algorithm verification device 300 proposed in Example 3 is that it also includes: a third acquisition unit 306, a first judgment unit 307, a first compilation unit 308, and a first initialization unit 309.
[0114] The third acquisition unit 306 is used to acquire the check value of the decoding algorithm module to be tested.
[0115] The first judgment unit 307 is used to judge whether the check value of the decoding algorithm module to be tested is the same as the historical check value.
[0116] The first compiling unit 308 is configured to recompile the decoding algorithm in the decoding algorithm module to be tested if the check value of the decoding algorithm module to be tested is different from the historical check value.
[0117] The first initialization unit 309 is used to initialize the decoding algorithm module to be tested by using the DecodeInit function.
[0118] In the embodiment of the present invention, the MD5 checksum values of all module files (including the decoding module to be tested) are compared through a check function to determine whether the decoding algorithm in the decoding algorithm module to be tested has been updated, thereby determining whether the decoding algorithm needs to be recompiled.
[0119] Example 5
[0120] See also Figure 6 An embodiment of the present invention further provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0121] Memory 113, used for storing computer programs;
[0122] The processor 111 is used to execute the program stored in the memory 113 to implement the decoding algorithm verification method provided in Example 1.
[0123] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by the processor 111, the steps of the decoding algorithm verification method provided in Example 1 are implemented.
[0124] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0125] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A decoding algorithm verification method, characterized in that: include: Obtaining an input data file, wherein the input data file includes input data; Acquire an input data segment from the input data, the input data segment including sampling points, the number of sampling points of the input data segment being greater than a preset number threshold; wherein the input data is input in one go in the form of a pointer, and the actual data input process is simulated by traversal, the preset number threshold of the sampling points is 512 sampling points, and the input data segment and another input data segment contain their own information only when the number of sampling points is greater than 512, and the information in the input data segment is consistent with the other input data segment when the number of sampling points is less than 512; Inputting the input data segment into a decoding algorithm module to be tested, wherein the decoding algorithm module to be tested includes a decoding algorithm; Collecting decoding data of the decoding algorithm module to be tested, wherein the decoding data is obtained after the decoding algorithm module to be tested decodes the input data; Comparing the decoded data with the input data to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested; The comparing the decoded data with the input data to obtain the performance test result of the decoding algorithm in the decoding algorithm module to be tested includes: The decoded data and the input data are compared using the Mex_Decode_disp_resault function to obtain a performance test result of the decoding algorithm in the decoding algorithm module to be tested.
2. The decoding algorithm verification method according to claim 1, characterized in that: The obtaining of the input data file comprises: Receive input data, the input data including waveform data, uplink and downlink data, carrier frequency data, low frequency data and lamp position data; The input data is imported into a file in a preset format to obtain the input data file.
3. The decoding algorithm verification method according to claim 1, characterized in that: The acquiring the input data segment from the input data comprises: The input data is sampled within a preset fixed time using the DecodeFunc function to obtain input data segments.
4. The decoding algorithm verification method according to claim 2, characterized in that: The step of inputting the input data segment into a decoding algorithm module to be tested comprises: The waveform data, carrier frequency data, low frequency data and light position data of the input data are input into the decoding algorithm module to be tested using the Decode_InputData function, and the uplink and downlink data of the input data are input into the decoding algorithm module to be tested using the Decode_HwParaSet function.
5. The decoding algorithm verification method according to claim 1, characterized in that: Before obtaining the input data file, the method further includes: Obtaining a verification value of the decoding algorithm module to be tested; Determine whether the check value of the decoding algorithm module to be tested is the same as the historical check value; If the check value of the decoding algorithm module to be tested is different from the historical check value, the decoding algorithm in the decoding algorithm module to be tested is recompiled.
6. The decoding algorithm verification method according to claim 1, characterized in that: The collecting the decoding data of the decoding algorithm module to be tested includes: Use the mexFunction function to set a probe in the decoding algorithm module to be tested; Using the probe to obtain decoding data of the decoding algorithm module to be tested, to obtain an output probe; The output probe is obtained, where the output probe contains decoding data of the decoding algorithm module to be tested.
7. A decoding algorithm verification device, characterized in that: The method comprises a unit for executing the method according to any one of claims 1 to 6.
8. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the steps of the method described in any one of claims 1 to 6 when executing a program stored in a memory.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
