Chip testing method and device, electronic equipment and readable storage medium

By automatically determining and controlling the execution flow of the chip test package on the program package call system interface, the problem of low efficiency of manual operation in the prior art is solved, and efficient automated testing is achieved.

CN119936614BActive Publication Date: 2025-12-19SHENZHEN JINGCUN TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411986923.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-12-19
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

In existing technologies, chip testing requires frequent manual operation of a host computer to run different program packages, which is cumbersome, inefficient, and prone to errors.

Method used

By displaying multiple selectable icons on the interface of the package calling system, the execution flow of the target package is automatically determined, and the operation of the package is controlled according to the selection order, thereby achieving automated testing.

Benefits of technology

It improves the efficiency of chip testing, reduces the frequency of manual operation and the probability of errors, and simplifies the testing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119936614B_ABST
    Figure CN119936614B_ABST
Patent Text Reader

Abstract

The application discloses a chip test method and device based on a program package, electronic equipment and a readable storage medium, and particularly relates to the technical field of chip production. A plurality of selectable identifiers are displayed on a program package configuration interface of a program package calling system, the selectable identifiers correspond to the program packages one by one, and different program packages are used for testing different functions of a chip to be tested. A plurality of target identifiers selected based on a selection operation instruction are determined, and a target program package is determined based on the target identifiers. The selected order of the target identifiers is determined based on the selection operation instruction, a target execution flow of the target program package is obtained, and the plurality of target program packages are controlled to run based on the target execution flow. In this way, relevant personnel only need to operate the program package configuration interface before the test starts, generate a selection operation instruction, and obtain a target execution flow, so that the subsequent test process does not need manual operation, the plurality of target program packages are automatically controlled to run based on the target execution flow, and the test efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the chip production technical field, and particularly relates to a chip test method and device based on a program package, an electronic device and a readable storage medium. BACKGROUND

[0002] After the production of an electronic chip is completed, the chip needs to be tested for functions. Usually, the chip to be tested is connected to a host computer, and relevant personnel controls the host computer to run a corresponding program package through the host computer to send test codes to the chip to be tested. The chip sends the running results to the host computer after running the test codes, and whether the chip is qualified is verified based on the running results. This method needs the host computer to run multiple program packages because different function tests need the host computer to run different program packages. Each test needs manual control of the host computer to run a program package. After the running of the program package is completed, the next program package is run by manual control of the host computer. The operation is complicated and inefficient. SUMMARY

[0003] The present application aims to at least solve one of the technical problems in the prior art. To this end, the present application provides a chip test method and device based on a program package, an electronic device and a readable storage medium, which can automatically run program packages after obtaining a target execution flow, without manual frequent control of the host computer, and can improve the test efficiency.

[0004] The chip test method based on a program package according to the first aspect of the present application is applied to a host computer, the host computer is deployed with a program package calling system, and the method comprises the following steps.

[0005] A plurality of selectable marks are displayed on a program package configuration interface of the program package calling system, each of the selectable marks corresponds to a program package, and the program package is used for testing a chip to be tested connected to the host computer;

[0006] In response to a selection operation instruction for the program package configuration interface, a plurality of target marks selected are determined based on the selection operation instruction, and a target program package is determined based on the target marks;

[0007] The selected order of the target marks is determined based on the selection operation instruction, and a target execution flow of the target program package is obtained;

[0008] Based on the target execution flow, a plurality of target program packages are controlled to run.

[0009] According to the chip test method based on the program package provided in the embodiments of the present application, the following beneficial effects are achieved. The chip test method provided in the embodiments of the present application displays a plurality of selectable identifiers on a program package configuration interface of a program package calling system, the selectable identifiers correspond to the program packages one by one, and different program packages are used to test different functions of a chip to be tested. In response to a selection operation instruction for the program package configuration interface, a plurality of target identifiers selected are determined based on the selection operation instruction, and a target program package is determined based on the target identifiers. A target execution flow of the target program package is obtained based on the selected order of the target identifiers determined based on the selection operation instruction. The plurality of target program packages are controlled to run based on the target execution flow. In this way, a relevant person only needs to operate the program package configuration interface before the test starts to generate the selection operation instruction, so as to obtain the target execution flow. The subsequent test process does not need manual operation, and the plurality of target program packages are automatically controlled to run based on the target execution flow. In this way, the automatic running of the program package is realized, manual frequent operation of the host computer is not needed, and the test efficiency can be improved.

[0010] According to some embodiments of the first aspect of the present application, the controlling the plurality of target program packages to run based on the target execution flow comprises:

[0011] in response to receiving a test start instruction, starting to run a first target program package in the target execution flow;

[0012] generating a first execution end instruction after the first target program package ends running;

[0013] in response to detecting the (i-1)th execution end instruction, starting to run an ith target program package in the target execution flow; wherein i is a positive integer, and 2≤i≤N, N is the number of the target program packages in the target execution flow.

[0014] According to some embodiments of the first aspect of the present application, before the controlling the plurality of target program packages to run based on the target execution flow, the method further comprises:

[0015] obtaining a storage path of an executable file of each program package;

[0016] based on the correspondence between the selectable identifiers and the program packages, constructing a mapping relationship between the selectable identifiers and the storage paths.

[0017] According to some embodiments of the first aspect of the present application, the starting to run the ith target program package in the target execution flow comprises:

[0018] determining a target storage path from the mapping relationship based on the target identifier corresponding to the ith target program package;

[0019] Based on the target storage path, an executable file of the i-th target program package is started.

[0020] According to some embodiments of the first aspect of the present application, the program package calling system is provided with a function interface, and the function interface is provided with a loop function component;

[0021] Before the step of controlling the running of the target program packages based on the target execution flow, the method further comprises:

[0022] In response to a first configuration operation instruction for the loop function component, a loop number is determined based on the first configuration operation instruction;

[0023] The step of controlling the running of the target program packages based on the target execution flow comprises:

[0024] Based on the loop number and the target execution flow, the running of the target program packages is repeatedly controlled.

[0025] According to some embodiments of the first aspect of the present application, the function interface is further provided with an interval setting function component;

[0026] Before the step of controlling the running of the target program packages based on the target execution flow, the method further comprises:

[0027] In response to a second configuration operation instruction for the interval setting function component, a fixed interval duration corresponding to each target program package is determined based on the second configuration operation instruction;

[0028] The step of controlling the running of the target program packages based on the target execution flow comprises:

[0029] In response to receiving a test start instruction, the first target program package in the target execution flow is started to run;

[0030] After the running of the first target program package ends, a first execution end instruction is generated;

[0031] In response to detecting the i-1th execution end instruction, the i-th target program package in the target execution flow is started to run after the i-th fixed interval duration; wherein i is a positive integer, and 2≤i≤N, and N is the number of the target program packages in the target execution flow.

[0032] According to some embodiments of the first aspect of the present application, the optional identifiers comprise at least a first optional identifier and a second optional identifier; and the program package calling system is provided with a configured interface;

[0033] The determining, based on the selection operation instruction, of the selected sequence of the target identifiers, and obtaining of a target execution flow of the target program package, comprises:

[0034] In response to the click operation on the first selectable identifier and the click operation on the second selectable identifier, a first click time when the first selectable identifier is clicked is recorded, and a second click time when the second selectable identifier is clicked is recorded.

[0035] In a case where it is detected that the first click time is earlier than the second click time, a mapping connection line is constructed in the configured interface, in which the first selectable identifier points to the second selectable identifier, the selected sequence is obtained based on the mapping connection line, and the target execution flow is obtained based on the selected sequence.

[0036] In a case where it is detected that the first click time is later than the second click time, a mapping connection line is constructed in the configured interface, in which the second selectable identifier points to the first selectable identifier, the selected sequence is obtained based on the mapping connection line, and the target execution flow is obtained based on the selected sequence.

[0037] The second aspect embodiment of the application provides a chip testing device based on a program package, applied to a host computer, wherein the host computer is deployed with a program package calling system, and the device comprises:

[0038] A display module is configured to display a plurality of selectable identifiers on a program package configuration interface of the program package calling system, each of the selectable identifiers corresponding to a program package, and the program package being used for testing a chip to be tested connected with the host computer.

[0039] A determination module is configured to, in response to a selection operation instruction for the program package configuration interface, determine a plurality of target identifiers selected based on the selection operation instruction, and determine a target program package based on the target identifiers.

[0040] A flow obtaining module is configured to determine a selected sequence of the target identifiers based on the selection operation instruction, and obtain a target execution flow of the target program package.

[0041] A running module is configured to control a plurality of target program packages to run based on the target execution flow.

[0042] The third aspect embodiment of the application provides an electronic device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the chip testing method based on a program package of any one of the first aspect embodiments when executing the computer program.

[0043] The fourth aspect of the present application provides a computer readable storage medium, the storage medium stores a computer program, the computer program is executed by a processor to realize the program package based chip test method of any one of the first aspect of the embodiment.

[0044] Additional aspects and advantages of the present application will be made apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0045] The present application is further described below in conjunction with the accompanying drawings and examples, wherein:

[0046] Figure 1 The step flow diagram of the program package based chip test method implemented by the present application is shown in the figure;

[0047] Figure 2 The program package configuration interface of the program package calling system of the embodiment of the present application is shown in the figure;

[0048] Figure 3 The specific flow diagram of step S140 in the embodiment of the present application is shown in the figure; Figure 1

[0049] The specific flow diagram of step S330 in the embodiment of the present application is shown in the figure; Figure 4

[0050] The specific flow diagram of step S330 in the embodiment of the present application is shown in the figure; Figure 5 Figure 3 The specific flow diagram of step S330 in the embodiment of the present application is shown in the figure;

[0051] Figure 6 The specific flow diagram of step S330 in the embodiment of the present application is shown in the figure;

[0052] Figure 7 The specific flow diagram of step S330 in the embodiment of the present application is shown in the figure;

[0053] Figure 8 The specific flow diagram of step S330 in the embodiment of the present application is shown in the figure; DETAILED DESCRIPTION

[0054] The embodiments of the present application are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference signs represent the same or similar elements or elements with the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as a limitation of the present application.

[0055] ​In the description of the present application, it needs to be understood that the orientation description, such as the orientation or position relationship indicated by the upper, lower, front, rear, left, right and the like, is based on the orientation or position relationship shown in the drawings, and is only for the purpose of facilitating the description of the present application and simplifying the description, and does not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation of the present application.

[0056] In the description of the present application, the meaning of several is more than one, the meaning of multiple is more than two, greater than, less than, more than and the like are understood as not including the number, above, below, within and the like are understood as including the number. If it is described as first, second, it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or the order of indicated technical features.

[0057] In the description of the present application, unless otherwise explicitly limited, the words such as setting, installing, connecting and the like should be broadly understood, and the person skilled in the art can reasonably determine the specific meaning of the above words in the present application in combination with the specific content of the technical solution.

[0058] In the description of the present application, the description of the terms "one embodiment", "some embodiments", "exemplary embodiment", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in combination with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the exemplary description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0059] In a test process of an electronic chip, a host computer is connected with multiple test board cards, a chip to be tested is placed into a test board card, the host computer sends an instruction or a code to the chip to be tested through a test board card by running a program package, so that the chip to be tested executes the instruction or the code, and the running result is sent to the host computer through the test board card, and the host computer judges whether the chip to be tested is qualified according to the running result. In the related art, the host computer is manually controlled to run the program package during the test. However, each chip to be tested has multiple functions, and therefore multiple function tests are required, and each function test corresponds to a program package. Moreover, different types of chips to be tested may use completely different program packages, or may use partially same and partially different program packages. The running order of the program packages of different types of chips to be tested is also different. The manual control of the host computer requires manual clicking of executable files of the program packages in sequence, and the executable file of the next program package needs to be clicked after the execution of the previous program package is completed. The process is very tedious, low in efficiency, and wastes manpower. Moreover, due to the limitation of human beings, the running order of the program packages is prone to errors.

[0060] Therefore, the chip test method, device, and electronic equipment based on the program package are provided, which can automatically run the program package after obtaining a target execution flow, without manual frequent control of the host computer, so as to improve the test efficiency and reduce the error probability.

[0061] The chip test method based on the program package can be applied to a host computer, which can be a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc. The server can be configured as a stand-alone physical server, a server cluster composed of multiple physical servers, or a distributed system. The server can also be configured as a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and big data and artificial intelligence platform. The software can be an application for implementing the chip test method, but is not limited to the above forms.

[0062] The application is operable in a variety of general purpose or special purpose computer systems environments or configurations. Examples of well known computing systems, environments, and / or configurations that can be suitable for use with the application include personal computers, server computers, handheld or laptop devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application can be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and the like, that perform particular tasks or implement particular abstract data types. The application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules can be located in local and remote computer storage media including memory storage devices.

[0063] The first aspect of the application provides a chip testing method based on a program package, applied to a host computer, and the host computer is deployed with a program package calling system. Referring to Figure 1 , Figure 1 The steps of the chip testing method based on the program package implemented by the application are shown in the schematic diagram. The chip testing method based on the program package in the embodiment of the application can include but is not limited to the following steps:

[0064] Step S110, displaying a plurality of selectable identifiers on the program package configuration interface of the program package calling system, each selectable identifier corresponding to a program package, the program package being used for testing a chip under test connected with the host computer;

[0065] It is worth noting that when the host computer runs the program package, it sends relevant test codes to the chip under test through a test board card, so that the chip under test runs the test codes and feeds back the running results to the host computer. The host computer can determine whether the chip under test is qualified according to the running results. It should be noted that the program package is a pre-set program for testing the functions of the chip under test, and the program package can be an application on a mobile phone or computer software. The application does not make specific limitations on the test program. Different types of chips and different functions correspond to different program packages.

[0066] The test board card, also known as a test carrier board or a test fixture, is a circuit board that can fix and connect a chip under test (DUT) and is connected to a test system through a specific test interface. Its main function is to provide a stable test environment for the chip to ensure the accuracy and reliability of the test results. During the test process, the test board card can simulate the actual working environment of the chip and comprehensively detect various performance indicators of the chip.

[0067] It should be noted that the running result includes a parameter set, and the parameter set includes data fed back to the host computer when the chip under test runs the test code and parameters of the chip under test. For example, the running result includes power consumption and temperature of the chip under test, and also includes quality of the signal fed back to the host computer. According to comparison between the running result and a preset range of the parameter set, whether the test result of the chip under test is qualified can be obtained. The specific parameter set of the running result is not limited in the present application, and the parameter set of different types of chips under test is not the same. The parameter set can be set according to actual conditions by a person skilled in the art.

[0068] In an embodiment, referring to Figure 2 , Figure 2 A schematic diagram of a package configuration interface of a program package of an embodiment of the present application is shown. In Figure 2 , the package configuration interface is shown, and in the package configuration interface, A1, A2,..., AM are selectable identifiers, and the selectable identifiers correspond to the program packages one by one.

[0069] In step S120, in response to a selection operation instruction for the package configuration interface, a plurality of target identifiers selected are determined based on the selection operation instruction, and a target program package is determined based on the target identifiers;

[0070] In an embodiment, a user performs a selection operation on the selectable identifiers in the package configuration interface by using a mouse or a touch screen and the like, so as to generate a selection operation instruction, and the selectable identifiers selected by the user are taken as the target identifiers. Since the selectable identifiers correspond to the program packages one by one, the program package corresponding to the target identifiers is taken as the target program package.

[0071] In step S130, a selected order of the target identifiers is determined based on the selection operation instruction, and a target execution flow of the target program package is obtained;

[0072] In an embodiment, when a user performs a selection operation on the selectable identifiers in the package configuration interface by using a mouse or a touch screen and the like, a selected order is obtained based on a clicking order of the user on the selectable identifiers, and the selected order is taken as an execution order of each target program package, that is, a target execution flow.

[0073] In step S140, the target program package is controlled to run based on the target execution flow.

[0074] In an embodiment, the plurality of target program packages are sequentially run according to the order in the target execution flow.

[0075] The chip test method based on the program package provided in the embodiments of the present application can display a plurality of selectable marks on the program package configuration interface of the program package calling system through steps S110 to S140, the selectable marks correspond to the program packages one by one, and different program packages are used to test different functions of the chip to be tested. In response to a selection operation instruction for the program package configuration interface, a plurality of target marks selected are determined based on the selection operation instruction, and a target program package is determined based on the target marks. The selected order of the target marks is determined based on the selection operation instruction, a target execution flow of the target program package is obtained, and the plurality of target program packages are controlled to run based on the target execution flow. In this way, the relevant personnel only need to operate the program package configuration interface before the test starts to generate the selection operation instruction, so as to obtain the target execution flow. The subsequent test process does not need manual operation, the plurality of target program packages are automatically controlled to run based on the target execution flow, and in this way, the automatic running of the program package is realized, manual frequent operation of the host computer is not needed, and the test efficiency can be improved.

[0076] In an embodiment, with reference to Figure 3 , Figure 3 for Figure 1 a specific flowchart of step S140 in the embodiment. Step S140 can include but is not limited to the following steps:

[0077] Step S310, in response to receiving the test start instruction, the first target program package in the target execution flow is started to run;

[0078] In an embodiment, the user manipulates the host computer to generate the test start instruction. In another embodiment, the host computer is in communication connection with a preset terminal, and the preset terminal sends the test start instruction to the host computer, so that the host computer can perform step S310.

[0079] Step S320, after the first target program package is run, the first execution end instruction is generated;

[0080] Step S330, in response to detecting the i-1th execution end instruction, the i-th target program package in the target execution flow is started to run; wherein i is a positive integer, and 2≤i≤N, N is the number of target program packages in the target execution flow.

[0081] It is worth noting that after steps S310 and S320 are performed, step S330 is repeatedly performed, and each time step S330 is performed, i is set to i+1, until the Nth execution end instruction is detected. In this way, each target program package can be sequentially run according to the order in the target execution flow.

[0082] It is worth noting that each target package generates an execution end instruction after the end of running, for example, the i-th execution end instruction is generated after the end of running of the i-th target package, and the i-th execution end instruction is used to indicate the running of the i+1-th target package when i is less than N.

[0083] In an embodiment, referring to Figure 4 , Figure 4 is a sub-flow diagram of a package-based chip test method of an embodiment of the present application. Before step S140, the following steps can be included:

[0084] Step S410, obtaining the storage path of the executable file of each package;

[0085] It is worth noting that each package is stored in the host computer, and each package is configured with an executable file, through which the package can be started to run, therefore, the storage path of the executable file of each package is obtained to facilitate subsequent starting of the package running.

[0086] Step S420, constructing a mapping relationship between the selectable identifier and the storage path based on the correspondence relationship between the selectable identifier and the package.

[0087] It is worth noting that the mapping relationship between the selectable identifier and the storage path is constructed to facilitate subsequent determination of the corresponding storage path according to the selectable identifier, so as to run the executable file based on the storage path to start the running of the corresponding package. Specifically, refer to Figure 2 , A4, A1, AM, and A2 are target identifiers, and a mapping line from A4 to A1 is generated, a mapping line from A1 to AM is generated, and a mapping line from A2 to A1 is generated.

[0088] In an embodiment, referring to Figure 5 , Figure 5 is a specific flow diagram of step S330 in Figure 3 . Step S330 can include but is not limited to the following steps:

[0089] Step S510, determining the target storage path from the mapping relationship based on the target identifier corresponding to the i-th target package;

[0090] Step S520, starting the executable file of the i-th target package based on the target storage path.

[0091] It is worth noting that when the i-th target program package is to be run, a target storage path is determined from the mapping relationship based on a target identifier corresponding to the i-th target program package, the target storage path being a storage path of an executable file of the i-th target program package, and thus the executable path of the i-th target program package can be started through the target storage path, so as to run the i-th target program package.

[0092] In an embodiment, referring to Figure 6 , Figure 6 A schematic diagram of a function interface of a program package calling system according to an embodiment of the present application is shown in FIG. 1. The function interface is provided with a loop function component.

[0093] Before controlling the running of the plurality of target program packages based on the target execution flow in step S140, the following step is further included:

[0094] In response to a first configuration operation instruction for the loop function component, the number of loops is determined based on the first configuration operation instruction.

[0095] Correspondingly, in this embodiment, step S140 specifically includes repeatedly controlling the running of the plurality of target program packages based on the number of loops and the target execution flow.

[0096] Specifically, referring to Figure 6 , the number of loops input text box is provided in the loop function component, a relevant prompt and a first confirmation button are provided on one side of the number of loops input text box, and the relevant prompt is used to remind the user to input the number of loops in the number of loops input text box.

[0097] For example, in the testing process of some chips, stress testing is required, that is, a plurality of program packages need to be repeatedly run in a certain order. In the embodiment of the present application, after the target execution flow is determined, the user can input the number of loops in the number of loops input text box through the keyboard, and after the input is completed, the user clicks the first confirmation button to generate a first configuration operation instruction, so that the number of loops can be obtained from the first configuration operation instruction. After the number of loops is obtained, the target execution flow is repeatedly executed based on the number of loops in step S140, and the number of repetitions of the target execution flow is equal to the number of loops. For example, referring to Figure 6 , the target execution flow is to sequentially run A4, A1, AM and A2, and if the user inputs the number of loops as 500, the target execution flow is repeated 500 times.

[0098] In an embodiment, referring to Figure 6 , the function interface is further provided with an interval setting function component. Before step S140, the following step is further included:

[0099] In response to a second configuration operation instruction for the interval setting function component, the interval duration is determined based on the second configuration operation instruction;

[0100] Correspondingly, in this embodiment, step S140 specifically comprises:

[0101] In response to receiving the test start instruction, start running the first target program package in the target execution flow;

[0102] After the running of the first target program package ends, generate a first execution end instruction;

[0103] In response to detecting the (i-1)th execution end instruction, start running the ith target program package in the target execution flow after an ith interval duration; wherein i is a positive integer, and 2≤i≤N, N is the number of target program packages in the target execution flow. Repeat this step until the Nth execution end instruction is detected.

[0104] Specifically, referring to Figure 6 , the functional interface is provided with a duration input text box for prompting the user to input the interval duration. The number of the duration input text boxes is N-1, and the interval duration corresponding to the first target program package is 0. The interval duration corresponding to the ith target program package is the value in the (i-1)th duration input text box. The user inputs the value in each duration input text box and presses the second confirmation button, thereby generating a second configuration operation instruction, and thus N-1 interval durations can be obtained from the second configuration operation instruction, which correspond one-to-one to the second to Nth target program packages.

[0105] The second aspect embodiment of the present application provides a chip test device based on program packages, applied to a host computer, wherein the host computer is deployed with a program package calling system. Referring to Figure 7 , Figure 7 is a structural schematic diagram of the chip test device of the embodiment of the present application. The chip test device comprises:

[0106] The display module 710 is configured to display a plurality of selectable identifiers on the program package configuration interface of the program package calling system, each selectable identifier corresponding to a program package, the program package being used for testing a chip to be tested connected with the host computer;

[0107] The determination module 720 is configured to, in response to a selection operation instruction for the program package configuration interface, determine a plurality of target identifiers selected based on the selection operation instruction, and determine a target program package based on the target identifiers;

[0108] The flow obtaining module 730 is configured to determine a selected order of the target identifiers based on the selection operation instruction, and obtain a target execution flow of the target program package;

[0109] The running module 740 is configured to control the running of the plurality of target program packages based on the target execution flow.

[0110] The program package-based chip testing apparatus provided in the embodiments of the present application is used to execute the program package-based chip testing method provided in the first aspect of the present application. When the method is executed, a plurality of selectable identifiers are displayed on a program package configuration interface of a program package calling system. The selectable identifiers correspond to the program packages one by one, and different program packages are used to test different functions of the chip to be tested. In response to a selection operation instruction for the program package configuration interface, a plurality of target identifiers selected are determined based on the selection operation instruction, and target program packages are determined based on the target identifiers. The selected order of the target identifiers is determined based on the selection operation instruction, and a target execution flow of the target program packages is obtained. The target program packages are controlled to run based on the target execution flow. In this way, relevant personnel only need to operate the program package configuration interface before the test starts to generate the selection operation instruction, so as to obtain the target execution flow. The subsequent test process does not need manual operation, and the target program packages are automatically controlled to run based on the target execution flow. In this way, the program packages are automatically run, manual frequent operation of the host computer is not needed, and the test efficiency can be improved.

[0111] It should be noted that the specific implementation of the program package-based chip testing apparatus is basically the same as that of the program package-based chip testing method in the above embodiments, and will not be repeated here. The program package-based chip testing apparatus can also be provided with other functional modules to implement the program package-based chip testing method in the above embodiments, under the premise of meeting the requirements of the embodiments of the present application.

[0112] The third aspect of the present application provides an electronic device. The electronic device includes a memory and a processor. The memory stores a computer program. The processor implements the program package-based chip testing method provided in the above embodiments when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.

[0113] In an embodiment, referring to Figure 8 , Figure 8 The hardware structure of the electronic device provided in the embodiments of the present application is illustrated. The electronic device includes:

[0114] The processor 801 can be implemented in a general-purpose CPU (Central Processing Unit), a microprocessor, an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits, etc., and is used to execute related programs to implement the technical solutions provided in the embodiments of the present application.

[0115] The memory 802 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM), etc. The memory 802 can store an operating system and other application programs. When the technical solutions provided by the embodiments of the present application are implemented by software or firmware, the related program codes are stored in the memory 802 and are called and executed by the processor 801 to implement the program package-based chip testing method of the embodiments of the present application.

[0116] The input / output interface 803 is configured to realize information input and output.

[0117] The communication interface 804 is configured to realize the communication interaction between the device and other devices. The communication can be realized by a wired manner (for example, a USB, a network cable, etc.) or a wireless manner (for example, a mobile network, WIFI, Bluetooth, etc.).

[0118] The bus 805 is configured to transmit information between various components (for example, the processor 801, the memory 802, the input / output interface 803, and the communication interface 804) of the device.

[0119] The processor 801, the memory 802, the input / output interface 803, and the communication interface 804 are connected to each other through the bus 805 to realize the communication connection between the devices.

[0120] The computer readable storage medium of the fourth aspect embodiment of the present application stores a computer program. When the computer program is executed by the processor, the program package-based chip testing method of the first aspect embodiment is realized.

[0121] The memory is a non-transitory computer readable storage medium, which can be used to store a non-transitory software program and a non-transitory computer executable program. In addition, the memory can include a high-speed random access memory and can also include a non-transitory memory, for example, at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory can optionally include a memory remotely arranged relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0122] The embodiments described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0123] Those skilled in the art can understand that the technical solutions shown in the figures do not constitute a limitation to the embodiments of the present application, and can include more or fewer steps than the figures, or combine certain steps, or different steps.

[0124] The device embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separated, that is, can be located in one place, or can be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments.

[0125] Those skilled in the art can understand that all or some steps in the above disclosed method, functions of the modules / units in the system and the device can be implemented as software, firmware, hardware and their appropriate combinations.

[0126] The terms "first", "second", "third", "fourth" and the like used in the description of the present application and the above-described figures (if any) are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0127] It should be understood that in the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" is used to describe the association between the associated objects, which means that there can be three relationships, for example, "A and / or B" can represent three cases: only A, only B, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can mean a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0128] In several embodiments provided in the present application, it should be understood that the disclosed system and method can be implemented in other manners. For example, the system embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There can be another division manner for the actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different units, can be indirect couplings or communication connections through some interfaces, devices or units, and can be electrical, mechanical or in other forms.

[0129] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0130] In addition, each functional unit in the various embodiments of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0131] If the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part of the prior art that makes a contribution or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes multiple instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program storage media.

[0132] The preferred embodiments of the present application are described above with reference to the accompanying drawings, but the scope of the right of the present application is not limited to this. Any modification, equivalent replacement and improvement made by those skilled in the art without departing from the scope and essence of the present application should be within the scope of the right of the present application.

Claims

1. A program package based chip testing method, characterized by, The application is applied to an upper computer, wherein the upper computer is deployed with a program package calling system, and the method comprises the following steps: Displaying a plurality of selectable marks on a program package configuration interface of the program package calling system, wherein each of the selectable marks corresponds to a program package used for testing a to-be-tested chip connected with the upper computer; In response to a selection operation instruction for the program package configuration interface, determining a plurality of target marks selected based on the selection operation instruction, and determining a target program package based on the target marks; Determining a selected sequence of the target marks based on the selection operation instruction to obtain a target execution flow of the target program package; Controlling a plurality of the target program packages to run based on the target execution flow; The program package calling system is provided with a function interface, and the function interface is provided with a loop function component; Before the step of controlling a plurality of the target program packages to run based on the target execution flow, the method further comprises the following steps: In response to a first configuration operation instruction for the loop function component, determining a loop number based on the first configuration operation instruction; The step of controlling a plurality of the target program packages to run based on the target execution flow comprises the following step: Controlling a plurality of the target program packages to repeatedly run based on the loop number and the target execution flow; The function interface is further provided with an interval setting function component; Before the step of controlling a plurality of the target program packages to run based on the target execution flow, the method further comprises the following steps: In response to a second configuration operation instruction for the interval setting function component, determining an interval duration corresponding to each of the target program packages based on the second configuration operation instruction; The step of controlling a plurality of the target program packages to run based on the target execution flow comprises the following steps: In response to receiving a test start instruction, starting to run a first target program package in the target execution flow; After the first target program package is run, generating a first execution end instruction; In response to detecting an (i-1)th execution end instruction, starting to run an ith target program package in the target execution flow after an ith interval duration; wherein i is a positive integer, 2≤i≤N, and N is the number of the target program packages in the target execution flow.

2. The program package based chip testing method according to claim 1, wherein The step of controlling a plurality of the target program packages to run based on the target execution flow comprises the following steps: In response to receiving a test start instruction, starting to run a first target program package in the target execution flow; After the first target program package is run, generating a first execution end instruction; In response to detecting an (i-1)th execution end instruction, starting to run an ith target program package in the target execution flow; wherein i is a positive integer, 2≤i≤N, and N is the number of the target program packages in the target execution flow.

3. The program package based chip testing method according to claim 2, wherein Before the step of controlling a plurality of the target program packages to run based on the target execution flow, the method further comprises the following steps: Obtaining a storage path of an executable file of each of the program packages; Based on a corresponding relationship between the selectable marks and the program packages, a mapping relationship between the selectable marks and the storage paths is constructed.

4. The program package based chip testing method according to claim 3, wherein The starting running of the i-th target program package in the target execution flow comprises: determining a target storage path from the mapping relationship based on the target identifier corresponding to the i-th target program package; based on the target storage path, starting the executable file of the i-th target program package.

5. The program package based chip testing method according to claim 1, wherein, The plurality of optional identifiers at least includes a first optional identifier and a second optional identifier; the program package calling system is provided with a configured interface; The target identifier based on the selection operation instruction determines the selected order of the target identifier, and the target execution flow of the target program package is obtained, comprising: in response to the click operation on the first optional identifier and the click operation on the second optional identifier, record the first click time when the first optional identifier is clicked, and record the second click time when the second optional identifier is clicked; in the case of detecting that the first click time is earlier than the second click time, the mapping connection line of the first optional identifier pointing to the second optional identifier is constructed on the configured interface, the selected order is obtained based on the mapping connection line, and the target execution flow is obtained based on the selected order; in the case of detecting that the first click time is later than the second click time, the mapping connection line of the second optional identifier pointing to the first optional identifier is constructed on the configured interface, the selected order is obtained based on the mapping connection line, and the target execution flow is obtained based on the selected order.

6. A program package based chip testing apparatus, characterized by comprising: Applied to the host computer, the host computer is deployed with a program package calling system, and the device comprises: a display module configured to display a plurality of optional identifiers on a program package configuration interface of the program package calling system, each of the optional identifiers corresponding to a program package, the program package being used for testing a to-be-tested chip connected with the host computer; a determination module configured to, in response to a selection operation instruction for the program package configuration interface, determine a plurality of target identifiers selected based on the selection operation instruction, and determine a target program package based on the target identifiers; a flow obtaining module configured to determine the selected order of the target identifiers based on the selection operation instruction, and obtain a target execution flow of the target program package; a running module configured to control the running of a plurality of target program packages based on the target execution flow; The program package calling system is provided with a function interface, and the function interface is provided with a loop function component; Before the control of the running of a plurality of target program packages based on the target execution flow, further comprising: in response to a first configuration operation instruction for the loop function component, determining a loop number based on the first configuration operation instruction; the control of the running of a plurality of target program packages based on the target execution flow comprises: based on the loop number and the target execution flow, repeatedly control the running of a plurality of target program packages; The function interface is further provided with an interval setting function component; Before the control of the running of a plurality of target program packages based on the target execution flow, further comprising: In response to a second configuration operation instruction for the interval setting function component, an interval time length corresponding to each of the target program packages is determined based on the second configuration operation instruction; The target execution flow is controlled based on the target program packages, and the target execution flow includes: In response to receiving a test start instruction, a first target program package in the target execution flow is started to run; After the first target program package is finished running, a first execution end instruction is generated; In response to detecting the (i-1)th execution end instruction, an ith target program package in the target execution flow is started to run after an ith interval time length, where i is a positive integer, 2≤i≤N, and N is a number of the target program packages in the target execution flow.

7. An electronic device, comprising: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the program package-based chip test method in any one of claims 1 to 5 when executing the computer program.

8. A computer readable storage medium, the storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the program package-based chip test method in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Test case generation method and device, electronic equipment and computer readable storage medium

    CN110716869A

  • Testing method and device, electronic equipment and computer readable storage medium

    CN112965903A

  • Chip reliability test method and device, computer equipment and storage medium

    CN117289107A