Search

CN-116701073-B - Method and system for compatible multifunctional module development test

CN116701073BCN 116701073 BCN116701073 BCN 116701073BCN-116701073-B

Abstract

The embodiment of the invention discloses a method and a system for developing and testing compatible multifunctional modules, which are used for a testing system of communication modules, wherein the testing system comprises a motherboard and a functional board, a plurality of testing modules are arranged on the functional board, the communication modules to be tested are installed on the motherboard during testing, the motherboard and the functional board are connected through golden finger connectors, the functional board is connected with an upper computer, IO ports of the communication modules are connected with bonding pads of golden finger connectors on the motherboard one by one, interfaces of the testing modules are connected with bonding pads of the golden finger connectors on the functional board, and the functional board of the embodiment can be used for testing different communication modules due to the fact that a plurality of testing modules are integrated, so that the functions of the functional board are expanded, and after testing application programs are downloaded to the communication modules at one time, a plurality of function tests of the communication modules are realized, the cost of developing and testing of the communication modules is reduced, the testing process is simplified, and the developing period of the communication modules is shortened.

Inventors

  • Ke Zekang
  • MAO PINCHUN

Assignees

  • 广州信位通讯科技有限公司

Dates

Publication Date
20260512
Application Date
20230504

Claims (8)

  1. 1. The utility model provides a method of compatible multi-functional module development test which characterized in that is applied to the communication module test system who sets up motherboard and function board, and the communication module that waits to test is installed on the motherboard, the function board is provided with a plurality of test modules, the motherboard with the function board passes through golden finger connector connection, the function board is connected with the host computer, the IO mouth of the communication module that waits to test with the pad one-to-one of golden finger connector on the motherboard, the interface of test module with the pad connection of golden finger connector on the function board specifically includes the following steps: After a communication module to be tested is installed and connected with a functional board through a golden finger connector, the main board and the functional board are electrified; the upper computer downloads the test application program to the communication module to be tested; After the communication module to be tested is started, the upper computer sends a test instruction to the communication module to be tested, wherein the test instruction comprises a test item; the communication module to be tested determines a target IO port and test data according to the test item, and outputs the test data from the target IO port to the functional board; the function board sends the test data to a target test module so as to test the communication module to be tested; The function board receives feedback data fed back by each test module and sends the feedback data to the upper computer; The communication module to be tested determines a target IO port and test data according to the test item, and outputs the test data from the target IO port to the function board, and specifically comprises the following steps: When the communication module to be tested receives one test instruction, determining the priority level of the test instruction according to the type of a test item of each received test instruction, the size of a required resource and the duration of the occupied resource; Generating a test instruction list according to the priority level, wherein the priority level of the test instruction at the top of the test instruction list is highest; Extracting target test instructions according to the sequence of the test instructions in the test instruction list, and determining test data required by test items of the target test instructions; searching a target IO port matched with the test item of the target test instruction in a preset comparison table of the test item and the IO port; and outputting corresponding test data from the target IO port.
  2. 2. The method for developing and testing compatible multifunctional modules according to claim 1, wherein the function board is provided with a USB interface, and the host computer downloads a test application program to the communication module to be tested, specifically comprising the following steps: After the USB interface of the function board is connected with the upper computer, the upper computer downloads the test application program to the communication module to be tested through the function board and the motherboard through the USB interface.
  3. 3. The method for developing and testing compatible multifunctional modules according to claim 2, wherein after the communication module to be tested is started, the host computer sends a test instruction to the communication module to be tested, and specifically comprises the following steps: after the communication module to be tested is started, the upper computer sends a plurality of test instructions to the communication module to be tested through the function board.
  4. 4. The method for developing and testing compatible multifunctional modules according to claim 1, wherein each time a communication module to be tested receives a test instruction, determining a priority level of the test instruction according to a type of a test item of each received test instruction, a required resource size and a resource occupation duration, and specifically comprising the following steps: when the communication module to be tested receives a test instruction, determining the type of a test item of the test instruction, the size of a required resource and the duration of the occupation of the resource; Calculating the score of the test instruction according to the following formula: Score=W type ×S type +W resource ×S resource + W time ×S time In the above formula, W type is the type of the test item, S type is the priority score of the test item, S type is larger, the priority of the test item is higher, W resource is the weight of the required resource, S resource is the size of the required resource, W time is the weight of the duration of the resource occupation, S time is the score of the duration of the resource occupation, wherein W type is positively correlated with S type , W resource is negatively correlated with S resource and is equal to 0 when S resource is greater than a preset threshold, and W time is positively correlated with S time ; And determining the priority level of the test instructions according to the positive sequence ordering of the scores of all the test instructions, wherein the higher the score is, the higher the priority level is.
  5. 5. The method for developing and testing compatible multifunctional modules according to claim 1, wherein the step of extracting the target test instruction according to the sequence of the test instructions in the test instruction list comprises the steps of: determining the size of available resources of the communication module to be tested; And when the size of the available resources is larger than a preset resource threshold, determining the first N test instructions from the test instruction list as target test instructions, wherein the sum of the required resource sizes of the test items of the first N test instructions is smaller than the size of the available resources.
  6. 6. A method of compatible multi-function module development testing according to any of claims 1-3, further comprising: And after receiving the feedback data, the upper computer generates a test result of the communication module to be tested according to the feedback data.
  7. 7. A method of developing a test for a compatible multi-function module according to any of claims 1-3, wherein the test module comprises at least one of the following models: Display screen, camera, triaxial sensor, six-axis sensor, proximity sensor, button, vibration motor, two SIM cassettes, RF seat, speaker, microphone, TF cassette, net gape, earphone interface, IIC interface, digital audio IIS interface, uart interface, SPI interface.
  8. 8. The utility model provides a compatible multi-functional module development test's system, its characterized in that includes motherboard and function board, and the communication module of waiting to test is installed on the motherboard, the function board is provided with a plurality of test modules, the motherboard with the function board passes through golden finger connector connection, the function board is connected with the host computer, the IO mouth of the communication module of waiting to test with the pad one-to-one of golden finger connector on the motherboard, the interface of test module with the pad connection of golden finger connector on the function board specifically still includes following unit: the power-on unit is used for powering on the mainboard and the functional board after the communication module to be tested is installed and the functional board is connected through the golden finger connector; the test application program downloading unit is used for downloading the test application program to the communication module to be tested by the upper computer; The upper computer is used for sending a test instruction to the communication module to be tested after the communication module to be tested is started, wherein the test instruction comprises test items; The test data output unit is used for determining a target IO port and test data according to the test item by the communication module to be tested and outputting the test data from the target IO port to the functional board; the test data forwarding unit is used for sending the test data to a target test module by the functional board so as to test the communication module to be tested; The feedback data transmitting unit is used for receiving the feedback data fed back by each testing module by the functional board and transmitting the feedback data to the upper computer; the test data output unit includes: the priority level determining module is used for determining the priority level of the test instruction according to the type, the required resource size and the resource occupation duration of the test item of each received test instruction when the communication module to be tested receives one test instruction; The test instruction list generation module is used for generating a test instruction list according to the priority level, wherein the priority level of the test instruction at the top of the test instruction list is highest; The target test instruction determining module is used for extracting target test instructions according to the sequence of the test instructions in the test instruction list and determining test data required by test items of the target test instructions; the target IO port determining module is used for searching a target IO port matched with the test item of the target test instruction in a comparison table of the preset test item and the IO port; and the test data output module is used for outputting corresponding test data from the target IO port.

Description

Method and system for compatible multifunctional module development test Technical Field The invention belongs to the technical field of electronic product testing, and particularly relates to a method and a system for developing and testing compatible multifunctional modules. Background Along with the development of electronic technology, the communication module integrates the functions of image acquisition, sound pickup, sound playing, wired connection with the Internet, connection with various sensors, connection with various interfaces and the like besides simple communication functions. At present, when the communication module is developed and tested, a corresponding test board needs to be manufactured when each function is developed and tested, so that the test board cannot be used universally, the function of the test board is single, and the test process needs to download programs tested by different function modules to the communication module and trigger test instructions for testing for many times, so that the problems of high development and test cost and long development period are caused. Disclosure of Invention The embodiment of the invention aims to provide a method and a system compatible with development test of a multifunctional module, and aims to solve the problems that in the background technology, a plurality of test boards are required to be manufactured for the multifunctional test of a communication module, programs tested by different functional modules are downloaded to the communication module, and test instructions are triggered for multiple times to test, so that development test cost is high and development period is long. In order to achieve the above object, the embodiment of the present invention provides the following technical solutions: The utility model provides a compatible multi-functional module development test's method, is applied to the communication module test system that includes motherboard and function board, and the communication module that waits to test is installed on the motherboard, the function board is provided with a plurality of test modules, the motherboard with the function board passes through golden finger connector to be connected, the function board is connected with the host computer, the IO mouth of the communication module that waits to test with the pad one-to-one of golden finger connector on the motherboard, the interface of test module with the pad connection of golden finger connector on the function board specifically includes the following steps: After a communication module to be tested is installed and connected with a functional board through a golden finger connector, the main board and the functional board are electrified; the upper computer downloads the test application program to the communication module to be tested; After the communication module to be tested is started, the upper computer sends a test instruction to the communication module to be tested, wherein the test instruction comprises a test item; the communication module to be tested determines a target IO port and test data according to the test item, and outputs the test data from the target IO port to the functional board; the function board sends the test data to a target test module so as to test the communication module to be tested; and the function board receives feedback data fed back by each test module and sends the feedback data to the upper computer. As a further limitation of the technical solution of the embodiment of the present invention, the function board is provided with a USB interface, and the host computer downloads a test application program to the communication module to be tested, and specifically includes the following steps: After the USB interface of the function board is connected with the upper computer, the upper computer downloads the test application program to the communication module to be tested through the function board and the motherboard through the USB interface. As a further limitation of the technical solution of the embodiment of the present invention, after the communication module to be tested is started, the upper computer sends a test instruction to the communication module to be tested, and specifically includes the following steps: after the communication module to be tested is started, the upper computer sends a plurality of test instructions to the communication module to be tested through the function board. As further defined by the technical solution of the embodiment of the present invention, the communication module to be tested determines a target IO port and test data according to the test item, and outputs the test data from the target IO port to the function board, and specifically includes the following steps: When the communication module to be tested receives one test instruction, determining the priority level of the test instruction according to the type of a test item of each received test inst