Test method, device, electronic equipment and medium

By dividing the test data into the first sequence and the second sequence, and using the multi-layer test system to share intermediate test results, the problem of low efficiency of the single-layer test system is solved and a high-frequency and efficient test process is achieved.

CN113836021BActive Publication Date: 2024-10-08KUNLUNXIN TECHNOLOGY (BEIJING) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111122812.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-24
Publication Date
2024-10-08
Estimated Expiration
2041-09-24

AI Technical Summary

Technical Problem

The existing single-layer test system cannot meet the high-frequency testing needs in the rapidly changing technical environment. The test efficiency is low and the test results cannot be effectively shared.

Method used

By dividing the same part of the plurality of test data into a first sequence and a second sequence, the first test system is used to perform the first sequence of tests to obtain the intermediate test data, and the second test system is used to perform the second sequence based on the intermediate data. testing to achieve sharing of test results and efficiency improvement.

Benefits of technology

It effectively improves the overall testing efficiency, allowing the same part of multiple test data to be tested only once, saving testing time, and quickly completing the test when the test object, data and environment are updated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113836021B_ABST
    Figure CN113836021B_ABST
Patent Text Reader

Abstract

The present disclosure provides a test method, device, electronic device and medium, which relate to the field of computer technology, and in particular to the field of chips. The implementation scheme is: in response to a test data set including multiple first test data with the same first sequence, each of the multiple first test data is divided into a first sequence and a second sequence other than the first sequence; based on the first sequence, a first test system is used to perform a test on the object to be tested to obtain first intermediate test data; and for each of the multiple first test data, based on the first intermediate test data and the second sequence of the first test data, a second test system is used to perform a test on the object to be tested to obtain a final test result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, in particular to the field of chips, and specifically to a testing method, device, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] Testing plays a very important role in the verification of hardware or software. With the continuous iteration and update of hardware or software, the required tests are constantly refined and increased, which puts forward new requirements and challenges for testing methods, that is, how to ensure the quality and efficiency of testing under limited time and computing resources.

[0003] The methods described in this section are not necessarily methods that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any method described in this section is considered to be prior art simply because it is included in this section. Similarly, unless otherwise indicated, the issues mentioned in this section should not be considered to have been recognized in any prior art. Summary of the invention

[0004] The present disclosure provides a testing method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product.

[0005] According to one aspect of the present disclosure, a testing method is provided, comprising: in response to a test data set including multiple first test data having the same first sequence, dividing each of the multiple first test data into a first sequence and a second sequence other than the first sequence; based on the first sequence, using a first test system to perform a test on an object to be tested to obtain first intermediate test data; and for each of the multiple first test data, based on the first intermediate test data and the second sequence of the first test data, using a second test system to perform a test on the object to be tested to obtain a final test result.

[0006] According to another aspect of the present disclosure, a testing device is provided, including: a division unit configured to divide each of the multiple first test data into a first sequence and a second sequence other than the first sequence in response to a test data set including multiple first test data having the same first sequence; a first testing unit configured to perform a test on a to-be-tested object based on the first sequence to obtain first intermediate test data; and a second testing unit configured to perform a test on the to-be-tested object based on the first intermediate test data and the second sequence of the first test data to obtain a final test result for each of the multiple first test data.

[0007] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned method.

[0008] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the above method.

[0009] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein the computer program implements the above method when executed by a processor.

[0010] According to one or more embodiments of the present disclosure, testing efficiency can be effectively improved.

[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0013] Figure 1 A schematic diagram showing an exemplary system in which the various methods described herein may be implemented according to an embodiment of the present disclosure;

[0014] Figure 2 A flow chart of a testing method according to an embodiment of the present disclosure is shown;

[0015] Figure 3 A schematic diagram showing first test data according to an embodiment of the present disclosure;

[0016] Figure 4 A schematic diagram of a multi-layer testing system according to an embodiment of the present disclosure is shown;

[0017] Figure 5 A schematic diagram showing another first test data according to an embodiment of the present disclosure;

[0018] Figure 6 A schematic diagram of another multi-layer testing system according to an embodiment of the present disclosure is shown;

[0019] Figure 7 A structural block diagram of a testing device according to an embodiment of the present disclosure is shown;

[0020] Figure 8 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0021] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0022] In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, timing relationship, or importance relationship of these elements, and such terms are only used to distinguish one element from another element. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.

[0023] The terms used in the description of various examples in this disclosure are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element can be one or more. In addition, the term "and / or" used in this disclosure covers any one of the listed items and all possible combinations.

[0024] In the related art, the testing of hardware or software is often performed through a single-layer test system. For example, in the testing of chips, a single-layer regression system is used to perform the test, that is, the entire test set is imported into the regression system at one time, and multiple rounds of regression simulation are performed in the test environment through the regression system to generate corresponding test results, so as to fully test the quality of the design code of the chip, find out the design defects, and thus improve the success rate of chip tape-out. The single-layer test system is limited by factors such as server resources and the size of the test data set, and the test frequency will not be too high. For example, it may take a week or even a month to complete the test of the test data set. However, in the context of rapid technological evolution, the update frequency of the objects to be tested, test data, and test environment is often higher than the operating frequency of the single-layer test system, which makes the test system unable to meet the needs of actual testing.

[0025] Based on this, the present disclosure proposes a testing method, extracting the same first sequence from multiple first test data, and using a first test system to perform a test on the first sequence to obtain intermediate test data, and at the same time, using a second test system different from the first test system, based on the obtained intermediate test data, perform a test on the second sequence other than the first sequence in the first test data to obtain a final test result. Thus, the same part of the multiple first test data can be tested only once to obtain an intermediate test result, and the intermediate test result can be shared in the test of other parts of the multiple first test data, thereby effectively improving the overall test efficiency.

[0026] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0027] Figure 1 FIG. 1 is a schematic diagram of an exemplary system 100 in which various methods and apparatuses described herein may be implemented according to an embodiment of the present disclosure. Figure 1 , the system 100 includes one or more client devices 101, 102, 103, 104, 105, and 106, a server 120, and one or more communication networks 110 coupling the one or more client devices to the server 120. The client devices 101, 102, 103, 104, 105, and 106 may be configured to execute one or more applications.

[0028] In an embodiment of the present disclosure, the server 120 may run one or more services or software applications that enable execution of the testing method.

[0029] In some embodiments, server 120 may also provide other services or software applications that may include non-virtualized environments and virtualized environments. In some embodiments, these services may be provided as web-based services or cloud services, such as provided to users of client devices 101, 102, 103, 104, 105, and / or 106 under a software as a service (SaaS) model.

[0030] exist Figure 1 In the configuration shown, the server 120 may include one or more components that implement the functions performed by the server 120. These components may include software components, hardware components, or a combination thereof that can be executed by one or more processors. Users operating client devices 101, 102, 103, 104, 105, and / or 106 may in turn utilize one or more client applications to interact with the server 120 to utilize the services provided by these components. It should be understood that a variety of different system configurations are possible, which may differ from the system 100. Therefore, Figure 1is one example of a system for implementing the various methods described herein and is not intended to be limiting.

[0031] The user may use client devices 101, 102, 103, 104, 105 and / or 106 to obtain the test data set. The client device may provide an interface that enables the user of the client device to interact with the client device. The client device may also output information to the user via the interface. Figure 1 Only six client devices are depicted, but one skilled in the art will appreciate that the present disclosure may support any number of client devices.

[0032] Client devices 101, 102, 103, 104, 105 and / or 106 may include various types of computer devices, such as portable handheld devices, general-purpose computers (such as personal computers and laptop computers), workstation computers, wearable devices, smart screen devices, self-service terminal devices, service robots, game systems, thin clients, various messaging devices, sensors or other sensing devices, etc. These computer devices may run various types and versions of software applications and operating systems, such as MICROSOFT Windows, APPLE iOS, UNIX-like operating systems, Linux or Linux-like operating systems (such as GOOGLE Chrome OS); or include various mobile operating systems, such as MICROSOFT Windows Mobile OS, iOS, Windows Phone, Android. Portable handheld devices may include cellular phones, smart phones, tablet computers, personal digital assistants (PDAs), etc. Wearable devices may include head-mounted displays (such as smart glasses) and other devices. Game systems may include various handheld game devices, Internet-enabled game devices, etc. Client devices are capable of executing various different applications, such as various Internet-related applications, communication applications (such as email applications), short message service (SMS) applications, and may use various communication protocols.

[0033] The network 110 may be any type of network known to those skilled in the art that may support data communications using any of a variety of available protocols, including but not limited to TCP / IP, SNA, IPX, etc. By way of example only, the one or more networks 110 may be a local area network (LAN), an Ethernet-based network, a token ring, a wide area network (WAN), the Internet, a virtual network, a virtual private network (VPN), an intranet, an extranet, a public switched telephone network (PSTN), an infrared network, a wireless network (e.g., Bluetooth, WIFI), and / or any combination of these and / or other networks.

[0034] Server 120 may include one or more general purpose computers, dedicated server computers (e.g., PC (personal computer) servers, UNIX servers, mid-range servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and / or combination. Server 120 may include one or more virtual machines running virtual operating systems, or other computing architectures involving virtualization (e.g., one or more flexible pools of logical storage devices that may be virtualized to maintain a server's virtual storage device). In various embodiments, server 120 may run one or more services or software applications that provide the functionality described below.

[0035] The computing units in the server 120 may run one or more operating systems including any of the above operating systems and any commercially available server operating systems. The server 120 may also run any of a variety of additional server applications and / or middle-tier applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, etc.

[0036] In some implementations, server 120 may include one or more applications to analyze and consolidate data feeds and / or event updates received from users of client devices 101, 102, 103, 104, 105, and 106. Server 120 may also include one or more applications to display data feeds and / or real-time events via one or more display devices of client devices 101, 102, 103, 104, 105, and 106.

[0037] In some embodiments, the server 120 may be a server of a distributed system, or a server combined with a blockchain. The server 120 may also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology. A cloud server is a host product in a cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services.

[0038] The system 100 may also include one or more databases 130. In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 130 may be used to store information such as audio files and video files. The databases 130 may reside in various locations. For example, the database used by the server 120 may be local to the server 120, or may be remote from the server 120 and may communicate with the server 120 via a network-based or dedicated connection. The databases 130 may be of different types. In some embodiments, the databases used by the server 120 may be, for example, relational databases. One or more of these databases may store, update, and retrieve data to and from the databases in response to commands.

[0039] In some embodiments, one or more of the databases 130 may also be used by applications to store application data. The databases used by the applications may be different types of databases, such as a key-value store, an object store, or a conventional store backed by a file system.

[0040] Figure 1 The system 100 may be configured and operated in various ways to enable the application of various methods and apparatuses described in the present disclosure.

[0041] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0042] Figure 2 FIG. 1 shows a flow chart of a testing method according to an embodiment of the present disclosure. Figure 2 As shown, the testing method includes: step S201, in response to the test data set including multiple first test data with the same first sequence, dividing each of the multiple first test data into a first sequence and a second sequence other than the first sequence; step S202, based on the first sequence, using a first test system to perform a test on the object to be tested to obtain first intermediate test data; and step S203, for each of the multiple first test data, based on the first intermediate test data and the second sequence of the first test data, using a second test system to perform a test on the object to be tested to obtain a final test result.

[0043] Thus, the same part of the multiple first test data can be tested only once to obtain an intermediate test result, and the intermediate test result can be shared in the test of other parts of the multiple first test data, thereby effectively improving the overall test efficiency.

[0044] At the same time, in the multi-layer test system constructed by the first test system and the second test system of the present disclosure, tests based on different versions of test data can be executed simultaneously in the first test system and the second test system. In the first test system, the number of first sequences that need to be tested is the number of types of first sequences, thereby reducing the amount of data that needs to be tested in the first test system, so that the first test system can perform tests at a higher test frequency. After any one of the object to be tested, the test data, and the test environment is updated, the test based on the updated version of the first sequence can be completed quickly, and the updated intermediate test data can be obtained for use by the second test system. In the second test system, for each of the multiple first test data, the test of the first sequence can be skipped and only the test of the second sequence can be executed, which effectively saves test time. Based on this, the overall test efficiency can be improved by using the multi-layer test system proposed in the present disclosure.

[0045] In addition, based on the first intermediate test data obtained by the first test system, problems existing in the test of the test object using the first sequence can be quickly exposed, so that more targeted debugging can be performed on the test object, and a good foundation can be laid for the subsequent second sequence testing.

[0046] According to some embodiments, the object to be tested is a chip.

[0047] According to some embodiments, the first test system and the second test system may be regression test systems.

[0048] With respect to step S201 and step S202 , the first intermediate test data may include status information of hardware and environment.

[0049] According to some embodiments, in each of the plurality of first test data, the first sequence is located before the second sequence.

[0050] According to some embodiments, the first sequence may be an initialization instruction, and the first intermediate test data includes initialization information.

[0051] For example, when testing AI chips used in big data centers, it is necessary to first perform complex initial configuration processes such as clock configuration, reset signal release, storage space initialization, firmware loading, port protocol training, etc. based on the same initialization instructions. After this process, the chip enters a normal working state. Different test data will use different sequences to perform their own test verification work according to the corresponding test objectives.

[0052] Therefore, no matter what purpose the test data is used for, each test data needs to go through the same initialization process after loading and running. This process often takes a long time, and sometimes even longer than the verification time after normal operation on the SOC chip. Therefore, by using the first test system to perform the test on the first sequence composed of the initialization instructions, the second sequence tested in the second test system can share the intermediate test results of the first test system, avoiding repeated execution of the initialization process during the test of multiple first test data and wasting test time, thereby improving the overall test efficiency.

[0053] For step S203, according to some embodiments, based on the first intermediate test data and the second sequence of the first test data, using the second test system to perform a test on the object to be tested to obtain a final test result includes: determining the first intermediate test data corresponding to the second sequence of the first test data based on the identification information corresponding to the second sequence of the first test data; and based on the determined first intermediate test data and the second sequence of the first test data, using the second test system to perform a test on the object to be tested to obtain a final test result.

[0054] Thus, the second test system can efficiently and accurately obtain the intermediate test data required for the test.

[0055] For example, the test list of the second test system may include identification information of the second sequence of each first test data among multiple first test data, and the identification information may be used to indicate the first intermediate test data required for its test, so that the second test system can obtain the corresponding first intermediate test data to perform testing on the second sequence.

[0056] According to some embodiments, the identification information includes version information, and determining the first intermediate test data corresponding to the second sequence of the first test data based on the identification information corresponding to the second sequence of the first test data may include: determining the first intermediate test data corresponding to the second sequence of the first test data based on the version information corresponding to the second sequence of the first test data, wherein the version information corresponding to the second sequence of the first test data is the same as the version information of the first intermediate test data.

[0057] In actual applications, the object to be tested, the test environment, the test data, etc. all have their corresponding version information. Acquiring the first intermediate test data based on the version information can ensure that the test versions in the first test system and the second test system are aligned, thereby ensuring the normal operation of the test.

[0058] According to some embodiments, the first test system and the second test system may respectively generate corresponding test reports, whereby testers may respectively evaluate the test results of the test object based on the first sequence and the test results of the test object based on the second sequence.

[0059] According to some embodiments, one or more of the object to be tested, the test environment, and the test data set may be debugged based on the final test result.

[0060] In real scenarios, not all test data contain the same first sequence.

[0061] Figure 3 FIG. 1 shows a first test data schematic diagram according to an embodiment of the present disclosure. Figure 3 As shown, the first test data 301, the first test data 302 and the first test data 303 have the same first sequence, and the first test data 301, the first test data 302 and the first test data 303 have different second sequences; the first test data 304 and the first test data 305 have the same first sequence, and the first test data 304 and the first test data 305 have different second sequences.

[0062] Figure 4 FIG. 1 is a schematic diagram of a multi-layer test system according to an embodiment of the present disclosure. Figure 4 The multi-layer test system shown is Figure 3 The test is performed on multiple first test data.

[0063] exist Figure 4 In the multi-layer test system, the first test system can be used to test the first test data 301, the first test data 302 and the first sequence of the first test data 303, and the first test data 304 and the first sequence of the first test data 305, respectively, to obtain corresponding first intermediate test data.

[0064] The second test system can be used to perform testing on the second sequence of each of the first test data 301~305, wherein the second test system can determine the first intermediate test data corresponding to the first test data based on the identification information corresponding to each of the first test data 301~305, and then complete the entire testing process for each of the first test data 301~305 based on the first intermediate test data.

[0065] According to some embodiments, in response to a plurality of first test data including at least two third test data having the same first subsequence in the second sequence, the second sequence in each of the at least two third test data is divided into a first subsequence and a second subsequence other than the first subsequence; wherein, for each first test data in the plurality of first test data, based on the first intermediate test data and the second sequence of the first test data, using the second test system to perform a test on the object to be tested to obtain a final test result includes: based on the first intermediate test data and the first subsequence, using the first subtest system in the second test system to perform a test on the object to be tested to obtain second intermediate test data; and for each third test data in the plurality of third test data, based on the second intermediate test data and the second subsequence of the third test data, using the second subtest system in the second test system to perform a test on the object to be tested to obtain a final test result.

[0066] Due to the continuous evolution of the functions of the object to be tested, the test data for executing the test on the object to be tested often adds new test sequences based on the existing test sequences to test the new functions of the object to be tested. Therefore, building a three-layer or even multi-layer test system can better utilize the characteristics of the test set and perform efficient testing.

[0067] Figure 5 FIG. 1 shows a first test data schematic diagram according to an embodiment of the present disclosure. Figure 5 As shown, the first test data 501, the first test data 502 and the first test data 503 have the same first sequence; meanwhile, the first test data 501 and the first test data 502 have the same first subsequence.

[0068] Figure 6 FIG. 1 is a schematic diagram of a multi-layer test system according to an embodiment of the present disclosure. Figure 6 The multi-layer test system shown is Figure 5 The test is performed on multiple first test data.

[0069] exist Figure 6 In the multi-layer test system in , a first test system may be used to test first test data 501, first test data 502, and a first sequence of first test data 503 to obtain corresponding first intermediate test data.

[0070] Based on the first intermediate test data, the first test subsystem in the second test system is used to test the first test data 501 and the first subsequence of the first test data 502 to obtain the corresponding second intermediate test data; at the same time, based on the first intermediate test data, the first test subsystem in the second test system is used to test the second sequence of the first test data 503 to complete the entire test process of the first test data 503.

[0071] Based on the second intermediate test data, the second test subsystem in the second test system is used to test the second subsequences of the first test data 501 and the first test data 502 respectively, thereby completing the entire test process of the first test data 501 and the first test data 502.

[0072] Figure 7 FIG. 1 shows a structural block diagram of a test device according to an embodiment of the present disclosure. Figure 7 As shown, the testing device 700 includes: a first division unit 701, configured to divide each of the multiple first test data into a first sequence and a second sequence other than the first sequence in response to the test data set including multiple first test data with the same first sequence; a first testing unit 702, configured to perform a test on the object to be tested based on the first sequence to obtain first intermediate test data; and a second testing unit 703, configured to perform a test on the object to be tested based on the first intermediate test data and the second sequence of the first test data for each of the multiple first test data to obtain a final test result.

[0073] According to some embodiments, the device also includes a second division unit, which is configured to divide the second sequence in each of at least two third test data into a first subsequence and a second subsequence other than the first subsequence in response to the inclusion of at least two third test data having the same first subsequence in the second sequence in a plurality of first test data; wherein the second test unit includes: a first sub-test unit, which is configured to perform a test on the object to be tested based on the first intermediate test data and the first subsequence to obtain second intermediate test data; and a second sub-test unit, which is configured to perform a test on the object to be tested based on the second intermediate test data and the second subsequence of the third test data for each of the plurality of third test data to obtain a final test result.

[0074] According to some embodiments, the second test unit includes: a determination subunit, configured to determine first intermediate test data corresponding to the second sequence of the first test data based on identification information corresponding to the second sequence of the first test data; and a third sub-test unit, configured to perform a test on the object to be tested based on the determined first intermediate test data and the second sequence of the first test data to obtain a final test result.

[0075] According to some embodiments, the identification information includes version information, and the determination subunit includes: determining a module of first intermediate test data corresponding to the second sequence of the first test data based on the version information corresponding to the second sequence of the first test data, wherein the version information corresponding to the second sequence of the first test data is the same as the version information of the first intermediate test data.

[0076] According to some embodiments, in each of the plurality of first test data, the first sequence is located before the second sequence.

[0077] According to some embodiments, the first intermediate test data includes initialization information.

[0078] According to some embodiments, the object to be tested is a chip.

[0079] According to another aspect of the present disclosure, an electronic device is also provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above method.

[0080] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to enable a computer to execute the above method.

[0081] According to another aspect of the present disclosure, a computer program product is also provided, including a computer program, wherein the computer program implements the above method when executed by a processor.

[0082] According to an embodiment of the present disclosure, an electronic device, a readable storage medium and a computer program product are also provided.

[0083] refer to Figure 8 , a block diagram of an electronic device 800 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0084] like Figure 8As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0085] Multiple components in the device 800 are connected to the I / O interface 805, including: an input unit 806, an output unit 807, a storage unit 808, and a communication unit 809. The input unit 806 can be any type of device that can input information to the device 800. The input unit 806 can receive input digital or character information and generate key signal input related to user settings and / or function control of the electronic device, and can include but is not limited to a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and / or a remote controller. The output unit 807 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 808 can include but is not limited to a disk, an optical disk. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a 1302.11 device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0086] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as test methods. For example, in some embodiments, the test method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the test method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the test method in any other appropriate manner (e.g., by means of firmware).

[0087] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0088] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0089] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0090] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0091] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0092] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0093] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0094] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but only by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples can be omitted or replaced by their equivalent elements. In addition, each step can be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples can be combined in various ways. It is important that with the evolution of technology, many elements described herein can be replaced by equivalent elements that appear after the present disclosure.

Claims

1. A testing method comprising: In response to the test data set including a plurality of first test data having the same first sequence, dividing each of the plurality of first test data into a first sequence and a second sequence other than the first sequence; Based on the first sequence, using a first test system to perform a test on the object to be tested to obtain first intermediate test data; as well as For each of the plurality of first test data, based on the first intermediate test data and the second sequence of the first test data, using a second test system to perform a test on the object to be tested to obtain a final test result, The step of performing the test on the object to be tested by using a second test system based on the first intermediate test data and the second sequence of the first test data to obtain a final test result includes: Determining the first intermediate test data corresponding to the second sequence of the first test data based on the identification information corresponding to the second sequence of the first test data; and Based on the determined first intermediate test data and the second sequence of the first test data, the second test system is used to perform a test on the object to be tested to obtain a final test result.

2. The method according to claim 1, further comprising: In response to the plurality of first test data including at least two third test data having the same first subsequence in the second sequence, dividing the second sequence in each of the at least two third test data into a first subsequence and a second subsequence other than the first subsequence; The step of executing the test on the object to be tested by using the second test system based on the first intermediate test data and the second sequence of the first test data for each of the plurality of first test data to obtain a final test result includes: Based on the first intermediate test data and the first subsequence, using the first sub-test system in the second test system to perform a test on the object to be tested to obtain second intermediate test data; and For each of the plurality of third test data, based on the second intermediate test data and a second subsequence of the third test data, a second sub-test system in the second test system is used to perform a test on the object to be tested to obtain a final test result.

3. The method according to claim 1, wherein: The identification information includes version information, and the determining, based on the identification information corresponding to the second sequence of the first test data, the first intermediate test data corresponding to the second sequence of the first test data includes: The first intermediate test data corresponding to the second sequence of the first test data is determined based on the version information corresponding to the second sequence of the first test data, wherein the version information corresponding to the second sequence of the first test data is the same as the version information of the first intermediate test data.

4. The method according to any one of claims 1 to 3, wherein: In each of the plurality of first test data, the first sequence precedes the second sequence.

5. The method according to claim 4, wherein: The first intermediate test data includes initialization information.

6. The method according to any one of claims 1 to 3, wherein: The object to be tested is a chip.

7. A testing device comprising: A first dividing unit is configured to, in response to the test data set including a plurality of first test data having the same first sequence, divide each of the plurality of first test data into a first sequence and a second sequence other than the first sequence; A first testing unit is configured to perform a test on the object to be tested based on the first sequence to obtain first intermediate test data; as well as a second testing unit configured to perform a test on the object to be tested to obtain a final test result for each first test data among the plurality of first test data based on the first intermediate test data and the second sequence of the first test data; Wherein, the second test unit comprises: a determining subunit configured to determine the first intermediate test data corresponding to the second sequence of the first test data based on the identification information corresponding to the second sequence of the first test data; and The third sub-test unit is configured to perform a test on the object to be tested based on the determined first intermediate test data and the second sequence of the first test data to obtain a final test result.

8. The apparatus according to claim 7, further comprising: a second dividing unit configured to, in response to the plurality of first test data including at least two third test data having the same first subsequence in the second sequence, divide the second sequence in each of the at least two third test data into a first subsequence and a second subsequence other than the first subsequence; Wherein, the second test unit comprises: A first sub-test unit configured to perform a test on the object to be tested based on the first intermediate test data and the first sub-sequence to obtain second intermediate test data; and The second sub-test unit is configured to perform a test on the object to be tested to obtain a final test result for each third test data among the plurality of third test data based on the second intermediate test data and a second subsequence of the third test data.

9. The device according to claim 7, wherein: The identification information includes version information, and the determining subunit includes: Based on the version information corresponding to the second sequence of the first test data, a module of the first intermediate test data corresponding to the second sequence of the first test data is determined, wherein the version information corresponding to the second sequence of the first test data is the same as the version information of the first intermediate test data.

10. The device according to any one of claims 7 to 9, wherein: In each of the plurality of first test data, the first sequence precedes the second sequence.

11. The device according to claim 10, wherein: The first intermediate test data includes initialization information.

12. The device according to any one of claims 7 to 9, wherein: The object to be tested is a chip.

13. An electronic device comprising: at least one processor; as well as a memory communicatively coupled to the at least one processor; in The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

14. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-6.

15. A computer program product comprising a computer program, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Testing method and device

    CN107229565A

  • Test method and test apparatus

    CN107423168A

  • A high-level verification method applying a UVM verification platform

    CN109684681A

  • Test method of control chip and related equipment

    CN113393892A

  • Test data processing device, test data processing method and test apparatus

    WO2018196734A1