A multi-frequency coexistence anti-interference efficient production and testing method, device and system
By splitting the test file into multiple sub-files and transmitting them in different cycles, the problem of inaccurate test results of the device under test under multi-frequency coexistence is solved and the test efficiency is improved.
Patent Information
- Application Number
- CN202411137865.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-08-19
AI Technical Summary
In the factory testing of communication equipment, when multiple devices are tested at the same time, the frequency band is too narrow, resulting in poor anti-interference ability of the equipment under test, inaccurate test results, and affecting test efficiency.
Split the test file into several sub-files with different data amounts, and determine the sub-duration based on the transmission time and the data amount of each sub-file. The sub-files are sent through the transmission frequency band of the test bit. During the repeated sending process, the first-ordered file will be sent. Sub-files are moved to the end to reduce distractions.
By transmitting each sub-file in different cycles, the possibility of falling into other frequency bands during the transmission process is reduced, and the accuracy and efficiency of the test results are improved.
Smart Images

Figure CN118659991B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication testing technology, and in particular to a multi-frequency coexistence anti-interference efficient production testing method, device and system. Background Art
[0002] Communication equipment needs to go through a series of factory tests before leaving the factory, among which the communication function test is a very critical test item. The communication function test of communication equipment generally involves connecting the device under test to the test equipment, and the test equipment and the device under test perform data communication, and judging whether the device under test is qualified based on the results of the data communication.
[0003] Currently, test equipment is generally connected to multiple devices under test for simultaneous testing. During the test, an exclusive communication frequency band is allocated for each test device, and when the allocation is made, the width of the exclusive communication frequency band is generally reduced to increase the number of devices under test that can be tested simultaneously.
[0004] In this way, the windows of each frequency band will become narrower, resulting in poor anti-interference ability of the device under test during the test process, and there is a problem that the test results of the device under test are inaccurate, affecting the test efficiency. Summary of the invention
[0005] Based on this, it is necessary to provide a multi-frequency coexistence anti-interference efficient production and testing method, device and system to address the above problems.
[0006] The embodiment of the present invention is implemented as follows: a multi-frequency coexistence anti-interference efficient production and testing method, the multi-frequency coexistence anti-interference efficient production and testing method comprising:
[0007] S101, generating a test file, dividing the test file into a plurality of sub-files with different data amounts according to the number of test bits, and sorting the sub-files to obtain a sub-file sequence;
[0008] S102, determining the transmission time required for the test file, and determining the sub-time corresponding to each sub-file according to the transmission time and the data volume of each sub-file;
[0009] S103, corresponding each test bit to a subfile in the subfile sequence one by one;
[0010] S104, sending the subfile corresponding to the test bit to the test bit through the transmission frequency band of the test bit according to the sub-duration corresponding to the subfile corresponding to the test bit;
[0011] S105, moving the sub-file with the highest sorting order in the sub-file sequence to the end of the sub-file sequence;
[0012] S106, repeat S103-S105;
[0013] S107, for each test position, monitor and determine whether all subfiles have been sent to the test position, and if so, determine the test result of the communication test of the test position according to the returned data of the test position.
[0014] In one embodiment, the present invention provides a multi-frequency coexistence anti-interference efficient production and testing device, the multi-frequency coexistence anti-interference efficient production and testing device comprising:
[0015] A file generation module is used to generate a test file, divide the test file into a number of sub-files with different data amounts according to the number of test bits, and sort the sub-files to obtain a sub-file sequence;
[0016] The duration determination module is used to determine the transmission duration required for the test file, and to determine the sub-duration corresponding to each sub-file according to the transmission duration and the data volume of each sub-file;
[0017] A position correspondence module, used for one-to-one correspondence between each test position and a sub-file in the sub-file sequence;
[0018] A file sending module, used for sending the sub-file corresponding to the test bit to the test bit through the transmission frequency band of the test bit according to the sub-duration corresponding to the sub-file corresponding to the test bit;
[0019] A sorting loop module is used to move the sub-file that is sorted first in the sub-file sequence to the end of the sub-file sequence;
[0020] The test judgment module is used to monitor and judge, for each test position, whether all sub-files have been sent to the test position, and if so, determine the test result of the communication test of the test position according to the returned data of the test position.
[0021] In one of the embodiments, the present invention provides a multi-frequency coexistence anti-interference efficient production and testing system, the multi-frequency coexistence anti-interference efficient production and testing system comprising a computer device and a plurality of test positions connected to the computer device;
[0022] The computer device is used to execute the steps of the above-mentioned multi-frequency coexistence anti-interference efficient production and testing method;
[0023] The test bit is used to connect to a device under test.
[0024] An embodiment of the present invention provides a multi-frequency coexistence anti-interference efficient production test method. The method divides a test file into several sub-files with different data volumes according to the number of test bits, and sorts them to obtain a sub-file sequence; determines the sub-duration corresponding to each sub-file according to the transmission time required for the test file and the data volume of each sub-file; corresponds each test bit to a sub-file in the sub-file sequence one by one; sends the sub-file corresponding to the test bit to the test bit according to the sub-duration corresponding to the sub-file corresponding to the test bit through the transmission frequency band of the test bit; moves the sub-file at the front of the sub-file sequence to the end of the sequence; repeats the steps of sequence correspondence, sending sub-files and sorting and moving; for each test bit, monitors and determines whether all sub-files have been sent to the test bit, and if so, determines the test result of the communication test of the test bit according to the return data of the test bit. In this way, the test file is split into several sub-files, which are transmitted in different sub-time periods in different cycles. Only one sub-file is transmitted in each sub-time period, reducing the possibility of falling into other communication frequency bands except the transmission frequency band of the test bit during the transmission process, thereby reducing interference with the device under test during the test, and solving the problem of inaccurate test results of the device under test affecting test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flow chart of a multi-frequency coexistence anti-interference efficient production and testing method in one embodiment;
[0026] Figure 2 A logic diagram of multi-frequency coexistence, anti-interference and efficient production testing in one embodiment;
[0027] Figure 3 It is a structural block diagram of a multi-frequency coexistence anti-interference high-efficiency production and testing device in one embodiment;
[0028] Figure 4 It is a structural block diagram of a multi-frequency coexistence anti-interference efficient production and testing system in one embodiment;
[0029] Figure 5 FIG. 4 is a block diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0031] It is understood that the terms "first", "second", etc. used in the present invention may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script without departing from the scope of the present invention.
[0032] like Figure 1 , Figure 2 As shown, in one embodiment, a multi-frequency coexistence anti-interference efficient production and testing method is proposed, which may specifically include the following steps:
[0033] S101, generating a test file, dividing the test file into a plurality of sub-files with different data amounts according to the number of test bits, and sorting the sub-files to obtain a sub-file sequence;
[0034] S102, determining the transmission time required for the test file, and determining the sub-time corresponding to each sub-file according to the transmission time and the data volume of each sub-file;
[0035] S103, corresponding each test bit to a subfile in the subfile sequence one by one;
[0036] S104, sending the subfile corresponding to the test bit to the test bit through the transmission frequency band of the test bit according to the sub-duration corresponding to the subfile corresponding to the test bit;
[0037] S105, moving the sub-file with the highest sorting order in the sub-file sequence to the end of the sub-file sequence;
[0038] S106, repeat S103-S105;
[0039] S107, for each test position, monitor and determine whether all subfiles have been sent to the test position, and if so, determine the test result of the communication test of the test position according to the returned data of the test position.
[0040] In this embodiment, the multi-frequency co-storage interference efficient production and testing method is used for testing equipment.
[0041] In this embodiment, the test file is a file sent by the test device to the device under test. If the device under test can return the test file completely, then the test result is definitely qualified. If it cannot be returned completely, whether the test result is qualified is determined based on the integrity of the returned data.
[0042] In this embodiment, the test position refers to a position that can connect to the device under test. This position can be physical, such as a wired connection device for the device under test to connect, or it can be on the network, such as a wireless connection point for the device under test to connect.
[0043] In this embodiment, the number of test bits is limited. The number of test bits is related to the number of connection ports. The connection ports can be wired or wireless. The number of test bits is also related to the communication frequency. Since a batch of devices under test support the same communication frequency, when multiple devices under test are connected to the test device at the same time, an independent communication frequency band must be allocated for each device under test, and the communication frequency band of the test device is limited, such as the 2.4 GHz frequency band or the 5 GHz frequency band, and a certain separation segment needs to be reserved for each independent communication frequency band, so the number of independent communication frequency bands that can be divided is also limited.
[0044] In this embodiment, the number of test bits is generally 10 or no more than 10, that is, the transmission frequency band available for test bit transmission is generally set to 10 or no more than 10.
[0045] In this embodiment, each test bit is numbered, such as the first test bit, the second test bit, and so on.
[0046] In this embodiment, the transmission time required for the test file depends on the transmission rate of the test device. There are many ways to determine the transmission rate of the test device. For example, the test device sends the same file to any qualified device under test multiple times, and takes the average of the multiple transmission rates as the transmission rate of the test device.
[0047] In this embodiment, within a transmission cycle, one test bit corresponds to only one subfile. One transmission cycle refers to the transmission duration required for the test file. Within a transmission cycle, the test device sends the subfile ranked first in the subfile sequence to the first test bit, the subfile ranked second in the subfile sequence to the second test bit, and so on. In the next transmission cycle, since the subfile ranked first in the subfile sequence has been sent to the first test bit and does not need to be sent repeatedly, the subfile ranked second in the subfile sequence is sent to the first test bit, and the same is true for other test bits. Therefore, a test bit requires several transmission cycles to receive a test file. The number of transmission cycles is the number of subfiles, that is, the number of test bits.
[0048] In this embodiment, the test position needs to send the subfile to the test position regardless of whether the test position is connected to the device under test. If the test position is not connected to the device under test, no data is returned.
[0049] In this embodiment, each execution of S106 constitutes a transmission cycle.
[0050] In this embodiment, S103-S106 is the process of the test device sending data, and S107 is the process of the test device monitoring the returned data. The two do not interfere with each other. That is, S107 occurs in any period of S103-S106. Generally, S107 can be executed once after each S106, and S107 can be executed once every transmission cycle. After a test position sends all subfiles and obtains the test results of the communication test, the device under test connected to the test position can be replaced. The device under test can be connected at any time within the transmission cycle. For example, the third test position replaces the device under test, and then the device under test starts to receive from the subfile corresponding to the third test position at this time.
[0051] In this embodiment, if all sub-files have not been sent to the test position, you can continue to monitor and determine whether all sub-files have been sent to the test position. However, in order to reduce the number of determination steps, you can choose not to perform any operation and wait for the next S106 before executing S107, that is, execute S107 once every transmission cycle.
[0052] In this embodiment, all subfiles have been sent to the test bit in S107, but the device under test connected to the test bit remains connected. In this case, the device under test will still receive the subfiles, but the test results have been obtained, and the redundant subfiles can be ignored or new test results can be regenerated.
[0053] An embodiment of the present invention provides a multi-frequency coexistence anti-interference efficient production test method. The method divides a test file into several sub-files with different data volumes according to the number of test bits, and sorts them to obtain a sub-file sequence; determines the sub-duration corresponding to each sub-file according to the transmission time required for the test file and the data volume of each sub-file; corresponds each test bit to a sub-file in the sub-file sequence one by one; sends the sub-file corresponding to the test bit to the test bit according to the sub-duration corresponding to the sub-file corresponding to the test bit through the transmission frequency band of the test bit; moves the sub-file at the front of the sub-file sequence to the end of the sequence; repeats the steps of sequence correspondence, sending sub-files and sorting and moving; for each test bit, monitors and determines whether all sub-files have been sent to the test bit, and if so, determines the test result of the communication test of the test bit according to the return data of the test bit. In this way, the test file is split into several sub-files, which are transmitted in different sub-time periods in different cycles. Only one sub-file is transmitted in each sub-time period, reducing the possibility of falling into other communication frequency bands except the transmission frequency band of the test bit during the transmission process, thereby reducing interference with the device under test during the test, and solving the problem of inaccurate test results of the device under test affecting test efficiency.
[0054] In one embodiment, the step of dividing the test file into a plurality of sub-files with different data amounts according to the number of test bits, and sorting the sub-files to obtain a sub-file sequence includes:
[0055] Determine the data volume S of the test file;
[0056] For the i-th subfile, Determine the data volume of the i-th sub-file;
[0057] Sort the sub-files according to the data volume of the sub-files from small to large to obtain a sub-file sequence;
[0058] Where i is the subfile number and n is the number of test bits.
[0059] In this embodiment, for example, S is 55M, n is 10, and It can be known that the data size of the first sub-file is 1M, and the data size of the second sub-file is 2M, and thus the data size of all sub-files can be obtained.
[0060] In this embodiment, the numbering of the subfiles is independent of the order of the subfiles in the subfile sequence. Since the initial subfile sequence is arranged from small to large according to the amount of data in the subfiles, the subfiles in the initial subfile sequence are numbered 1, 2, 3...10. In the second transmission cycle, since the subfile at the top of the order in the subfile sequence is moved to the end of the subfile sequence, the subfiles in the subfile sequence are numbered 2, 3...10, 1. After 10 transmission cycles to complete a cycle, that is, in the 11th transmission cycle, the subfiles in the order of the subfile sequence are numbered 1, 2, 3...10.
[0061] In one embodiment, the determining of the transmission duration required for the test file, and determining the sub-duration corresponding to each sub-file according to the transmission duration and the data volume of each sub-file, includes:
[0062] Depend on Get the transmission time T required for the test file;
[0063] Depend on Get the sub-duration corresponding to the i-th sub-file;
[0064] Among them, S is the data volume of the test file, v is the transmission rate of the test device, a is the error duration, and s i is the data volume of the ith sub-file, and i is the sub-file number.
[0065] In this embodiment, the calculated transmission time T is slightly greater than the actual transmission time to ensure that the test file can be completely transmitted within the calculated transmission time T.
[0066] In this embodiment, the sub-durations corresponding to all sub-files are added together to obtain the transmission duration T required for the test file.
[0067] In one embodiment, the step of making each test bit correspond to a subfile in the subfile sequence one by one includes:
[0068] Sort the test bits according to the test bit numbers to obtain a test bit sequence;
[0069] Match the test bits and sub-files with the same serial number one by one.
[0070] In this embodiment, both the test bit number and the subfile number are fixed. The test bit sequence will not change, so the sequence number of each test bit is fixed. For convenience, the test bits can be arranged in order from small to large numbers.
[0071] In this embodiment, the test bit sequence remains unchanged, while the subfile sequence changes once in each transmission cycle. Therefore, for one test bit, assuming that the number of subfiles is 10, after 10 transmission cycles, each subfile is sent to the test bit.
[0072] In one embodiment, the sending of the subfile corresponding to the test bit to the test bit through the transmission frequency band of the test bit according to the sub-duration corresponding to the subfile corresponding to the test bit includes:
[0073] S501, dividing the communication frequency band of the test device according to the number of test bits to obtain a plurality of sub-frequency bands with equal widths, and sorting the sub-frequency channels to obtain a sub-frequency band sorting;
[0074] S502, one-to-one correspondence is made between each test bit and a sub-frequency band in the sub-frequency band sorting, so as to obtain a transmission frequency band of each test bit;
[0075] S503, selecting a subfile according to the order of the subfiles in the subfile sequence;
[0076] S504, sending the selected subfile to the test bit corresponding to the selected subfile through the transmission frequency band of the test bit corresponding to the selected subfile;
[0077] S505, monitoring the transmission time of the selected sub-file;
[0078] S506, determining whether the transmission time of the selected sub-file is equal to the sub-duration corresponding to the selected sub-file, if so, repeating S503-S505 until the sub-file at the top of the sub-file sequence is selected for the second time;
[0079] S507: Move the sub-band with the highest order in the sub-band sequence to the end of the sub-band sequence.
[0080] In this embodiment, the test device has multiple communication frequency bands, such as 2.4 GHz. To divide the communication frequency band, it is only necessary to divide the communication frequency band used for connecting the device under test with the test device.
[0081] In this embodiment, the specific step of S502 is to obtain a test bit sequence; and to associate the test bits with the same sequence number with the sub-frequency bands one by one.
[0082] In this embodiment, due to the test bit, the sub-bands and sub-files will also correspond one to one. In S507, the sub-bands in the sub-band sequence will also be moved and circulated. The test bit sequence remains unchanged, and the sub-band sequence changes once every transmission cycle. Therefore, for a test bit, assuming that the number of sub-bands is 10, after 10 transmission cycles, the test device sends different sub-files to the test bit through each sub-band. In this way, it can be determined at the same time whether the sub-band is a bad sub-band.
[0083] In this embodiment, S505-S506, monitoring the transmission time of the selected subfile is to ensure that the transmission time of the selected subfile is equal to the sub-duration corresponding to the selected subfile, so as to ensure that the data volume of the subfile is not incompletely transmitted due to too short transmission time, thereby preventing packet loss.
[0084] In one embodiment, determining the test result of the communication test of the test bit according to the returned data of the test bit includes:
[0085] Determine the communication quality value and the bad sub-frequency band of the test bit during the communication process according to the returned data of the test bit;
[0086] A test result of the communication test of the test bit is determined according to the communication quality value and the bad sub-frequency band.
[0087] In this embodiment, there are multiple return data of the test bit, and return data will be sent once each time a sub-file is received. If the number of sub-files is 10, there will be 10 return data.
[0088] In this embodiment, there are multiple ways to return data, for example, the generated test file is fixed and known, and the tested device receives the sub-file and then compares it and then returns the confirmed data and the completeness rate and other return data; for example, the generated test file is random, and the tested device receives the sub-file and then returns the received sub-file to the test device as the return data, and the test device compares it. Here, the second way is selected as the preferred way.
[0089] In this embodiment, the test result may be displayed on a display screen of the test device.
[0090] In one embodiment, determining the communication quality value and the bad sub-frequency band of the test bit during the communication process according to the returned data of the test bit includes:
[0091] Depend on Determine the completeness rate c of each sub-file transmission i ;
[0092] For each sub-file, determine the c corresponding to the sub-file i Is it less than the first preset value? If so, the transmission frequency band of the test bit when the sub-file is transmitted is determined as a bad sub-frequency band. Get the defect rate e j ;
[0093] Depend on Get the completeness rate d of the test file transmission;
[0094] Determine whether there is a defective rate e j , if so, by Obtaining a communication quality value of the test bit during the communication process;
[0095] If there is no defective rate e j , then d is determined as the communication quality value of the test bit during the communication process;
[0096] Among them, b i is the amount of data sent back to the test position for the i-th subfile of the test position, s i is the data volume of the ith subfile, i is the subfile number, m is the number of subfiles, f is the first preset value, and M is the defect rate e j The number of j is the defect rate e j Number.
[0097] In this embodiment, the integrity rate and the packet loss rate are relative concepts, that is, the integrity rate plus the packet loss rate equals 1.
[0098] In this embodiment, b i The amount of data of the return data of the i-th subfile of the test bit is sent to the test bit. The return data of the test bit is the i-th subfile received by the test bit, that is, whatever data is received is returned.
[0099] In this embodiment, the first preset value can be set to any value between 80% and 90%. The first preset value is used to determine whether the integrity rate of a single sub-file is qualified. If it is unqualified, that is, c i If it is less than the first preset value, it means that there is a problem with the transmission of the subfile, and the transmission frequency band of the test bit when the subfile is transmitted is poor. The bad rate is not the packet loss rate, but the bad rate is c iThe difference between the first preset value and the first preset value. For example, if the first preset value is 90%, c i If the packet loss rate is 20%, the defect rate is 10%.
[0100] In this embodiment, the completeness rate d of the test file transmission may also be obtained by the ratio of the sum of the data volumes of all the returned data and the data volume of the test file.
[0101] In this embodiment, i starts counting from 1 and j starts counting from 1.
[0102] In this embodiment, the d obtained when ci is (80%, 90%, 90%, 100%) and ci is (90%, 90%, 90%, 90%) is 90%. However, for 80%, this should be judged as a bad sub-band, so the communication quality value of the former should be lower than the communication quality value of the latter. Therefore, in the case of a bad rate, a coefficient less than 1 needs to be multiplied to reduce the communication quality value. For example, there is an e j is 10%, then the communication quality value of the test bit during the communication process is .
[0103] In this embodiment, if packet loss occurs, the device under test will return a return data indicating that the data volume is 0. At this time, the packet loss rate is 100%. If the first preset value is 90%, then the defect rate is 90%, and the communication quality value is .
[0104] In one embodiment, determining the test result of the communication test of the test bit according to the communication quality value and the bad sub-frequency band includes:
[0105] Determine whether the communication quality value is greater than a second preset value, if so, determine the test result of the communication test of the test bit as qualified, if not, determine the test result of the communication test of the test bit as unqualified;
[0106] The bad sub-band is displayed in the test result of the communication test at the test position.
[0107] In this embodiment, the second preset value may be the same as the first preset value, or may be higher than the first preset value, and is generally set between 90% and 100%.
[0108] In this embodiment, no matter whether the test result of the communication test of the test bit is qualified or not, if there are bad sub-channels, they need to be displayed in the test result.
[0109] like Figure 3 As shown, in one embodiment, a multi-frequency coexistence anti-interference efficient production and testing device is provided, which may specifically include:
[0110] A file generation module is used to generate a test file, divide the test file into a number of sub-files with different data amounts according to the number of test bits, and sort the sub-files to obtain a sub-file sequence;
[0111] The duration determination module is used to determine the transmission duration required for the test file, and to determine the sub-duration corresponding to each sub-file according to the transmission duration and the data volume of each sub-file;
[0112] A position correspondence module, used for one-to-one correspondence between each test position and a sub-file in the sub-file sequence;
[0113] A file sending module, used for sending the subfile corresponding to the test bit to the test bit through the transmission frequency band of the test bit according to the sub-duration corresponding to the subfile corresponding to the test bit;
[0114] A sorting loop module is used to move the sub-file that is sorted first in the sub-file sequence to the end of the sub-file sequence;
[0115] The test judgment module is used to monitor and judge, for each test position, whether all sub-files have been sent to the test position, and if so, determine the test result of the communication test of the test position according to the returned data of the test position.
[0116] In this embodiment, the various modules of the multi-frequency coexistence anti-interference efficient production and testing device are modularized in the method part of the present invention. For the specific explanation of each module, please refer to the corresponding content of the method part of the present invention, and the embodiments of the present invention will not be repeated here.
[0117] like Figure 4 As shown, in one embodiment, a multi-frequency coexistence anti-interference efficient production and testing system is provided, which may specifically include: a computer device and a plurality of test positions connected to the computer device;
[0118] The computer device is used to execute the steps of the multi-frequency coexistence anti-interference efficient production and testing method;
[0119] The test bit is used to connect to a device under test.
[0120] In this embodiment, the computer device is a test device used to test the communication quality of the device under test. The computer device can be a combination of a communication device and a display device.
[0121] In this embodiment, the device under test may be a communication device such as a router.
[0122] An embodiment of the present invention provides a multi-frequency coexistence anti-interference efficient production test system. The system divides a test file into several sub-files with different data volumes according to the number of test bits, and sorts them to obtain a sub-file sequence; determines the sub-duration corresponding to each sub-file according to the transmission time required for the test file and the data volume of each sub-file; corresponds each test bit to a sub-file in the sub-file sequence one by one; sends the sub-file corresponding to the test bit to the test bit according to the sub-duration corresponding to the sub-file corresponding to the test bit through the transmission frequency band of the test bit; moves the sub-file at the front of the sub-file sequence to the end of the sequence; repeats the steps of sequence correspondence, sending sub-files and sorting and moving; for each test bit, monitors and determines whether all sub-files have been sent to the test bit, and if so, determines the test result of the communication test of the test bit according to the return data of the test bit. In this way, the test file is split into several sub-files, which are transmitted in different sub-time periods in different cycles. Only one sub-file is transmitted in each sub-time period, reducing the possibility of falling into other communication frequency bands except the transmission frequency band of the test bit during the transmission process, thereby reducing interference with the device under test during the test, and solving the problem of inaccurate test results of the device under test affecting test efficiency.
[0123] Figure 5 FIG. 2 shows an internal structure diagram of a computer device in one embodiment. Figure 5 As shown, the computer device includes a processor, a memory, a network interface, an input device and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement a multi-frequency coexistence anti-interference efficient production and testing method provided in an embodiment of the present invention. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute a multi-frequency coexistence anti-interference efficient production and testing method provided in an embodiment of the present invention. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0124] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0125] In one embodiment, a multi-frequency coexistence anti-interference high-efficiency production and testing device provided by an embodiment of the present invention can be implemented in the form of a computer program. The computer program can be Figure 5 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting the multi-frequency coexistence anti-interference high-efficiency production and testing device, for example, Figure 3 The computer program composed of the program modules enables the processor to execute the steps of a multi-frequency coexistence anti-interference efficient production and testing method of each embodiment of the present invention described in this specification.
[0126] For example, Figure 5 The computer device shown can be Figure 3 The file generation module in the multi-frequency coexistence anti-interference efficient production and testing device shown executes step S101; the computer device can execute step S102 through the duration determination module; the computer device can execute step S103 through the position correspondence module; the computer device can execute step S104 through the file sending module; the computer device can execute step S105 through the sorting loop module; the computer device can execute step S107 through the test judgment module.
[0127] In one embodiment, a computer device is provided, the computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:
[0128] S101, generating a test file, dividing the test file into a plurality of sub-files with different data amounts according to the number of test bits, and sorting the sub-files to obtain a sub-file sequence;
[0129] S102, determining the transmission time required for the test file, and determining the sub-time corresponding to each sub-file according to the transmission time and the data volume of each sub-file;
[0130] S103, corresponding each test bit to a subfile in the subfile sequence one by one;
[0131] S104, sending the subfile corresponding to the test bit to the test bit through the transmission frequency band of the test bit according to the sub-duration corresponding to the subfile corresponding to the test bit;
[0132] S105, moving the sub-file with the highest sorting order in the sub-file sequence to the end of the sub-file sequence;
[0133] S106, repeat S103-S105;
[0134] S107, for each test position, monitor and determine whether all subfiles have been sent to the test position, and if so, determine the test result of the communication test of the test position according to the returned data of the test position.
[0135] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the processor performs the following steps:
[0136] S101, generating a test file, dividing the test file into a plurality of sub-files with different data amounts according to the number of test bits, and sorting the sub-files to obtain a sub-file sequence;
[0137] S102, determining the transmission time required for the test file, and determining the sub-time corresponding to each sub-file according to the transmission time and the data volume of each sub-file;
[0138] S103, corresponding each test bit to a subfile in the subfile sequence one by one;
[0139] S104, sending the subfile corresponding to the test bit to the test bit through the transmission frequency band of the test bit according to the sub-duration corresponding to the subfile corresponding to the test bit;
[0140] S105, moving the sub-file with the highest sorting order in the sub-file sequence to the end of the sub-file sequence;
[0141] S106, repeat S103-S105;
[0142] S107, for each test position, monitor and determine whether all subfiles have been sent to the test position, and if so, determine the test result of the communication test of the test position according to the returned data of the test position.
[0143] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0144] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0145] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0146] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. A multi-frequency coexistence anti-interference high-efficiency production and testing method, characterized in that: The multi-frequency coexistence anti-interference efficient production and testing method comprises: S101, generating a test file, dividing the test file into a plurality of sub-files with different data amounts according to the number of test bits, and sorting the sub-files to obtain a sub-file sequence; S102, determining the transmission time required for the test file, and determining the sub-time corresponding to each sub-file according to the transmission time and the data volume of each sub-file; S103, corresponding each test bit to a subfile in the subfile sequence one by one; S104, sending the subfile corresponding to the test bit to the test bit through the transmission frequency band of the test bit according to the sub-duration corresponding to the subfile corresponding to the test bit; S105, moving the sub-file with the highest sorting order in the sub-file sequence to the end of the sub-file sequence; S106, repeat S103-S105; S107, for each test position, monitor and determine whether all subfiles have been sent to the test position, and if so, determine the test result of the communication test of the test position according to the returned data of the test position.
2. The multi-frequency coexistence anti-interference high-efficiency production and testing method according to claim 1, characterized in that: The step of dividing the test file into a plurality of sub-files with different data amounts according to the number of test bits, and sorting the sub-files to obtain a sub-file sequence includes: Determine the data volume S of the test file; For the i-th subfile, Determine the data volume of the i-th sub-file; Sort the sub-files according to the data volume of the sub-files from small to large to obtain a sub-file sequence; Where i is the subfile number and n is the number of test bits.
3. The multi-frequency coexistence anti-interference high-efficiency production and testing method according to claim 1, characterized in that: The step of determining the transmission time required for the test file and determining the sub-time corresponding to each sub-file according to the transmission time and the data volume of each sub-file includes: Depend on Get the transmission time T required for the test file; Depend on Get the sub-duration corresponding to the i-th sub-file; Among them, S is the data volume of the test file, v is the transmission rate of the test device, a is the error duration, and s i is the data volume of the ith sub-file, and i is the sub-file number.
4. The multi-frequency coexistence anti-interference high-efficiency production and testing method according to claim 1, characterized in that: The step of making each test bit correspond to a subfile in the subfile sequence one by one includes: Sort the test bits according to the test bit numbers to obtain a test bit sequence; Match the test bits and sub-files with the same serial number one by one.
5. The multi-frequency coexistence anti-interference high-efficiency production and testing method according to claim 1, characterized in that: The sending of the subfile corresponding to the test bit to the test bit through the transmission frequency band of the test bit according to the sub-duration corresponding to the subfile corresponding to the test bit includes: S501, dividing the communication frequency band of the test device according to the number of test bits to obtain a plurality of sub-frequency bands with equal widths, and sorting the sub-frequency channels to obtain a sub-frequency band sorting; S502, one-to-one correspondence is made between each test bit and a sub-frequency band in the sub-frequency band sorting, so as to obtain a transmission frequency band of each test bit; S503, selecting a subfile according to the order of the subfiles in the subfile sequence; S504, sending the selected subfile to the test bit corresponding to the selected subfile through the transmission frequency band of the test bit corresponding to the selected subfile; S505, monitoring the transmission time of the selected sub-file; S506, determining whether the transmission time of the selected sub-file is equal to the sub-duration corresponding to the selected sub-file, if so, repeating S503-S505 until the sub-file at the top of the sub-file sequence is selected for the second time; S507: Move the sub-band with the highest order in the sub-band sequence to the end of the sub-band sequence.
6. The multi-frequency coexistence anti-interference high-efficiency production and testing method according to claim 5, characterized in that: Determining the test result of the communication test of the test bit according to the returned data of the test bit includes: Determine the communication quality value and the bad sub-frequency band of the test bit during the communication process according to the returned data of the test bit; A test result of the communication test of the test bit is determined according to the communication quality value and the bad sub-frequency band.
7. The multi-frequency coexistence anti-interference high-efficiency production and testing method according to claim 6, characterized in that: Determining the communication quality value and the bad sub-frequency band of the test bit during the communication process according to the returned data of the test bit includes: Depend on Determine the completeness rate c of each sub-file transmission i ; For each sub-file, determine the c corresponding to the sub-file i Is it less than the first preset value? If so, the transmission frequency band of the test bit when the sub-file is transmitted is determined as a bad sub-frequency band. Get the defect rate e j ; Depend on Get the completeness rate d of the test file transmission; Determine whether there is a defective rate e j , if so, by Obtaining a communication quality value of the test bit during the communication process; If there is no defective rate e j , then d is determined as the communication quality value of the test bit during the communication process; Among them, b i is the amount of data sent back to the test position for the i-th subfile of the test position, s i is the data volume of the ith subfile, i is the subfile number, m is the number of subfiles, f is the first preset value, and M is the defect rate e j The number of, j is the defect rate e j Number.
8. The multi-frequency coexistence anti-interference high-efficiency production and testing method according to claim 6, characterized in that: Determining the test result of the communication test of the test bit according to the communication quality value and the bad sub-frequency band includes: Determine whether the communication quality value is greater than a second preset value, if so, determine the test result of the communication test of the test bit as qualified, if not, determine the test result of the communication test of the test bit as unqualified; The bad sub-band is displayed in the test result of the communication test at the test position.
9. A multi-frequency coexistence anti-interference high-efficiency production and testing device, characterized in that: The multi-frequency coexistence anti-interference efficient production and testing device comprises: A file generation module is used to generate a test file, divide the test file into a number of sub-files with different data amounts according to the number of test bits, and sort the sub-files to obtain a sub-file sequence; The duration determination module is used to determine the transmission duration required for the test file, and to determine the sub-duration corresponding to each sub-file according to the transmission duration and the data volume of each sub-file; A position correspondence module, used for one-to-one correspondence between each test position and a sub-file in the sub-file sequence; A file sending module, used for sending the sub-file corresponding to the test bit to the test bit through the transmission frequency band of the test bit according to the sub-duration corresponding to the sub-file corresponding to the test bit; A sorting loop module is used to move the sub-file that is sorted first in the sub-file sequence to the end of the sub-file sequence; The test judgment module is used to monitor and judge, for each test position, whether all sub-files have been sent to the test position, and if so, determine the test result of the communication test of the test position according to the returned data of the test position.
10. A multi-frequency coexistence anti-interference efficient production and testing system, characterized in that: The multi-frequency coexistence anti-interference high-efficiency production and testing system includes a computer device and a plurality of test positions connected to the computer device; The computer device is used to execute the steps of the multi-frequency coexistence anti-interference efficient production and testing method according to any one of claims 1 to 8; The test bit is used to connect to a device under test.
