Automatic test system

By designing an automated test system in chip testing, containerizing test cases and using multiple test ends for concurrent execution, the problems of low fault tolerance for testing tasks and delayed feedback of test results in the prior art are solved, and a more efficient chip testing process is achieved.

CN119597559APending Publication Date: 2025-03-11METAX INTEGRATED CIRCUITS (SHANGHAI) CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411766202.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

In the chip industry, a single test task contains a large number of test cases, resulting in low fault tolerance, failure to end the test task normally or inability to feedback the test results, resulting in a longer test duration.

Method used

Design an automated test system. By containerizing test cases and using multiple test ends for concurrent execution, the management end is responsible for allocating and coordinating test tasks, ensuring that each test case is executed on an independent test end and obtaining results.

Benefits of technology

By executing test cases concurrently, the results of each test case can be directly feedback, avoiding the situation where the test results cannot be feedback due to errors in a small number of test cases, significantly shortening the chip test time and waiting time for result feedback, and improving testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119597559A_ABST
    Figure CN119597559A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of product management, in particular to an automatic test system, which comprises I test ends, a second management end, a processor and a memory in which a computer program is stored. The method comprises the following steps that a second management end containerizes all test cases in an obtained test case set to obtain J test containers, and if at least one test end is in an idle state, the second management end sends the test containers to the test end in the idle state for execution to obtain a test result. By containerizing all the test cases, the test cases can be tested in a concurrent execution manner, so that the test result of each test case can be directly fed back without waiting for the test results of other test cases, thereby effectively shortening the time length of chip test and the waiting time length of chip test result feedback, and improving the test efficiency. And thus, the chip testing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of product management, and in particular to an automatic testing system. Background Art

[0002] Currently, in the chip industry, a single test task often contains a large number of test cases, resulting in a low fault tolerance rate during the execution of the test task. If there are problems with a small number of test cases, the entire test task will not be completed normally, and the test results of the test task cannot be obtained. Even if the test task has successfully tested test cases, the corresponding test results cannot be obtained, which leads to a longer chip testing time. Moreover, even if the test task can be completed normally, the waiting time for test result feedback will be longer.

[0003] Therefore, how to improve the efficiency of chip testing has become an urgent problem to be solved. Summary of the invention

[0004] In view of the above technical problems, the technical solution adopted by the present invention is:

[0005] An automated testing system, the system comprising: I test terminals {p1, p2, ..., p i ,…,p I}, a second management terminal, a processor and a memory storing a computer program, wherein p i is the i-th test terminal, i is an integer in the range of [1, I], and I is an integer greater than 0. When the computer program is executed by a processor, the following steps are implemented:

[0006] S301, the second management terminal containerizes each test case in the acquired test case set to obtain J test containers {q1, q2, ..., q j , …, q J}, where q j is the j-th test container, j is an integer in the range of [1, J], and J is an integer greater than 0.

[0007] S302, initializing a second identifier k=1.

[0008] S303: If at least one test end is in an idle state, the second management end sets q j Sent to any idle test end.

[0009] S304, by receiving q j The test end executes q j , the q j After the test is completed, get j The corresponding test results r j .

[0010] S305, update k=k+1.

[0011] S306, returning to execute step S303 to step S305, until k=J+1, to obtain the test results corresponding to all the test containers.

[0012] Compared with the prior art, the present invention has obvious beneficial effects. By means of the above technical solution, an automated testing system provided by the present invention can achieve considerable technical advancement and practicality, and has wide industrial utilization value, and has at least the following beneficial effects:

[0013] The present invention provides an automated testing system, the system comprising: I test terminals {p1, p2, ..., p i ,…,p I}, a second management terminal, a processor and a memory storing a computer program, wherein p i is the i-th test terminal, i is an integer in the range of [1, I], and I is an integer greater than 0. When the computer program is executed by the processor, the following steps are implemented: S301, the second management terminal containerizes each test case in the acquired test case set to obtain J test containers {q1, q2, ..., q j , …, q J}, where q j is the jth test container, j is an integer in the range of [1, J], and J is an integer greater than 0, S302, initialize the second identifier k=1, S303, if at least one test end is in an idle state, the second management end sets q j Sent to any test end in idle state, S304, by receiving q j The test end executes q j , the q j After the test is completed, get j The corresponding test results r j , S305, update k=k+1, S306, return to execute step S303 to step S305, until k=J+1, and obtain the test results corresponding to all test containers.

[0014] It can be seen that by containerizing all test cases, the test cases can be tested in a concurrent execution manner. Compared with the prior art method of testing a test case set formed by multiple test cases together, the test results of each test case can be directly fed back without waiting for the test results of other test cases. There will be no situation where the test results of the entire test case set cannot be fed back due to errors in a small number of test cases, thereby effectively shortening the chip testing time and the waiting time for chip test result feedback, thereby improving the efficiency of chip testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0016] Figure 1 A schematic diagram of a flow chart of a computer program being executed by a processor in an automated construction system provided in Embodiment 1 of the present invention;

[0017] Figure 2 A schematic diagram of a flow chart of a management end capacity expansion method provided in Embodiment 2 of the present invention;

[0018] Figure 3 A schematic diagram of a flow chart of a computer program being executed by a processor in an automated testing system provided by Embodiment 3 of the present invention;

[0019] Figure 4 A flowchart of a computer program executed by a processor in a data transmission system provided in Embodiment 4 of the present invention is provided. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0021] This embodiment provides an automated construction system, the system comprising: M construction terminals {a1, a2, ..., a m , …, a M}, a first management terminal, a processor, and a memory storing a computer program, wherein a m is the mth construction end, where m is an integer in the range [1, M] and M is an integer greater than 0, see Figure 1, is a flowchart of a computer program executed by a processor in an automated construction system provided by Embodiment 1 of the present invention. When the computer program is executed by the processor, the following steps are implemented:

[0022] S101: The first management terminal loads an acquired target configuration file, wherein the target configuration file includes N target versions {b1, b2, ..., b n , …, b N}, where b n is the nth target version, where n is an integer in the range [1, N] and N is an integer greater than 0;

[0023] S102, initializing a first flag c=1;

[0024] S103, if at least one construction end is in an idle state, the first management end will c Build task d c Sending to any idle build end, the build task corresponding to the container;

[0025] S104, by receiving d c The build end executes d c , the construction task d c After execution, get c Corresponding product c ;

[0026] S105, update c=c+1;

[0027] S106, returning to execute step S103 to step S105, until c=N+1, to obtain the products corresponding to all target versions.

[0028] Among them, the first management end and the construction end are both built based on the Kubernets open source system. The first management end can be deployed in the server, the target configuration file can correspond to the target product, and the target version can refer to the operating system version that the target product needs to adapt to. The operating system can include Windows system, Linux system and other distributions, such as centos, ubuntu, redhat, kylin, bclinux, etc.

[0029] Specifically, when the build end does not execute a build task, the build end is in an idle state.

[0030] A build task corresponds to a container, which contains the operating system version required for the build task. When the build end executes the build task, it does not need to consider the operating system version deployed by the build end itself. That is, the build task can be executed in any build end.

[0031] In a specific implementation, the construction end is a virtual machine or a server.

[0032] In a specific implementation, the target version b n Corresponding to the first architecture information f n , the first architecture information f n Belongs to an architecture information set, and the architecture information set includes at least an X86 architecture and an ARM architecture.

[0033] In a specific embodiment, construct end a m Corresponding to the second architecture information g m , the second architecture information g m Belongs to the architecture information set.

[0034] In a specific implementation, step S103 includes the following steps:

[0035] S1031, determine b c The corresponding first architecture information f c ;

[0036] S1032, if at least one construction end is in an idle state and the corresponding second architecture information is the same as f c If the same, the first management end will build the task d c Sent to any idle state and corresponding second architecture information and f c Same build end.

[0037] Among them, this embodiment constrains that the construction task can only be executed in the construction end adapted to the architecture. Therefore, the implementer should ensure that each architecture has a corresponding construction end.

[0038] In a specific implementation manner, the received c The build end executes d c At least include: pull d c Corresponding source code, build d c Several components required, packaging.

[0039] In a specific embodiment, d c The required several components all belong to a component set, and the component set at least includes a firmware tool, a kernel mode driver, and a compiler.

[0040] The component set may also include LLVM components, QEMU components, UMD components, etc. The implementer may adjust the components included in the component set according to the actual situation. It should be noted that d c All the required components may refer to several components in the component set, rather than all the components in the component set.

[0041] In a specific implementation, the automated construction system belongs to an automated testing platform, and the automated testing platform also includes an automated testing system and a data transmission system.

[0042] Among them, the automated testing system can be used to automatically execute test cases, and the data transmission system can be used to internally transmit distributed storage data.

[0043] In the first embodiment of the present invention, by containerizing the target version of the operating system, products that are compatible with all target versions of the operating system can be packaged out at one time through concurrent construction. Compared with the prior art that can only execute the same version of product build tasks in the build end equipped with the corresponding version of the operating system, there is no need to manually schedule the product build tasks, and all build ends are kept as busy as possible. The build end will not be idle due to the difference between the operating system version and the target version, thereby effectively improving the efficiency of product automated construction.

[0044] Embodiment 2 of the present invention provides a management end capacity expansion method, see Figure 2 , is a flow chart of a management end expansion method provided in Embodiment 2 of the present invention, the management end expansion method comprising:

[0045] S201, obtaining an initial resource amount h0 corresponding to the first management terminal, where the first management terminal is deployed in a first terminal, and the first management terminal corresponds to M construction terminals, each of which is deployed in a second terminal;

[0046] S202, at a preset time point, obtaining the required resource amount h1 corresponding to the first management terminal;

[0047] S203, if the required resource amount h1 and the initial resource amount h0 meet a first preset condition, checking the remaining resource amount h2 corresponding to the first terminal;

[0048] S204, if the remaining resource amount h2 corresponding to the first terminal meets the second preset condition, expand the capacity of the first management terminal;

[0049] S205, if the remaining resource amount h2 corresponding to the first terminal does not meet the second preset condition, determining a reference terminal from all second terminals;

[0050] S206, changing the first terminal to the second terminal, and changing the reference terminal to the first terminal;

[0051] S207, deploying the first management end in the first terminal;

[0052] S208, adjusting the initial resource amount h0 according to the required resource amount, reallocating the adjusted initial resource amount to the first management end, and completing the capacity expansion of the first management end.

[0053] The first terminal and the second terminal may both be servers or virtual machines, and the resources may refer to CPU memory, storage, and the like.

[0054] The preset time point can be set by the implementer, for example, a preset time point can be set at a fixed interval, or the time point when the build task is generated can be used as the preset time point. After the first management end parses the target configuration file, it can generate build tasks one by one and send them to the corresponding build end for execution. Since the execution of the build task takes a long time, there may be more build tasks in the first management end that need to be monitored simultaneously, which may lead to insufficient carrying capacity of the first management end, freezes, or even inability to open the corresponding user interaction page of the first management end. Therefore, the required resource amount corresponding to the first management end can be obtained at the moment when each build task is generated and distributed to ensure that the number of build tasks is within the carrying capacity of the first management end.

[0055] Specifically, the first terminal and the second terminal are both built based on the Kubernets open source system, and the first management terminal is deployed in the first terminal in the form of a container. Therefore, when the remaining resource amount h2 corresponding to the first terminal meets the second preset condition, it is easy to expand the capacity of the first management terminal, which will not be repeated here.

[0056] In one implementation, when task tidal conditions occur, that is, some build ends have too many build tasks and other build ends have fewer build tasks, some build ends may also have capacity expansion requirements. Since the build ends are also containerized deployments, the build ends can be expanded or reduced in capacity by automatically balancing Kubernetes cluster resources to maximize the utilization of resources on all build ends.

[0057] It should be noted that the second management end may also have a need for expansion. The management end expansion method provided in this embodiment may also be applied to the second management end and the test end. Accordingly, the test end may also have a need for expansion due to task tides. The test end may also be expanded or reduced by automatically balancing the Kubernetes cluster resources to maximize the use of all test end resources, avoid the test container from being suspended due to failure to apply for resources, and avoid waste of resources.

[0058] In a specific implementation, the first terminal corresponds to the overall resource amount h3, and the initial resource amount h0 satisfies the condition: h0<h3.

[0059] In this embodiment, h0=h3×α3, where α3 is the third weight, and the value range of α3 is (0, 1]. As an example, α3 can be 0.8, and the implementer can adjust the value of α3 according to the actual situation.

[0060] In particular, when the amount of resources required by the first management end is small, the first terminal may also be deployed with a construction end to improve the execution efficiency of the construction task. In such a case, the amount of resources used by the construction end corresponding to the first terminal is h4. Accordingly, the condition satisfied by h0 may be: h0 = (h3-h4) × α3.

[0061] Specifically, after the first terminal is redetermined, the overall resource amount h3 corresponding to the first terminal is also redetermined. At this time, the initial resource amount h0 needs to be adjusted according to the required resource amount. In this embodiment, the adjusted initial resource amount h0 can meet the condition: α4×h0>h1, where α4 is the fourth weight, and the value range of α4 is (0, 1). As an example, α4 can be 0.6, and the implementer can adjust the value of α4 according to actual conditions.

[0062] In a specific implementation manner, the remaining resource amount h2 corresponding to the first terminal satisfies the condition: h2=h3-h0.

[0063] In particular, when the first terminal is also deployed with a construction end, assuming that the used resource amount of the construction end corresponding to the first terminal is h4, the condition satisfied by the remaining resource amount h2 corresponding to the first terminal may be: h2=h3-h0-h4.

[0064] In a specific implementation, the first preset condition is: h1>α1×h0, where α1 is the first weight.

[0065] The value range of α1 is (0, 1]. As an example, α1 can be 0.8. The implementer can adjust the value of α1 according to the actual situation.

[0066] In a specific implementation, the second preset condition is: h1-h0<h2×α2, where α2 is the second weight.

[0067] The value range of α2 is (0, 1). As an example, α2 may be 0.8. The implementer may adjust the value of α2 according to actual conditions.

[0068] In a specific implementation, step S205 includes the following steps:

[0069] S2051, if the remaining resource amount h2 corresponding to the first terminal does not meet the second preset condition, obtaining the overall resource amount corresponding to each second terminal;

[0070] S2052: Determine a maximum value among the overall resource amounts corresponding to all second terminals respectively, and use the second terminal corresponding to the maximum value as the reference terminal.

[0071] Among them, when the remaining resource amount h2 corresponding to the first terminal does not meet the second preset condition, it means that the remaining resource amount of the first terminal is insufficient to expand the capacity of the first management terminal. Therefore, it is necessary to redetermine the first terminal from all the second terminals to realize the expansion of the first management terminal in the changed first terminal.

[0072] In a specific implementation, step S207 includes the following steps:

[0073] S2071, deploying the first management terminal in the first terminal, and when the first management terminal has not completed deployment, retaining the first management terminal in the second terminal;

[0074] S2072: When the first management terminal completes deployment, delete the first management terminal in the second terminal.

[0075] This embodiment ensures that the redeployment of the first management end will not affect the construction end.

[0076] In a specific implementation manner, when the first management terminal is expanded or deployed, the first management terminal is offline;

[0077] When any construction end initiates a communication request to the first management end and the first management end is offline, the construction end waits for a preset period of time and then re-initiates the communication request to the first management end.

[0078] Among them, the construction end usually sends the execution result of the construction task to the first management end after the construction task is completed, and the execution time of the construction task is usually long. Therefore, it is rare that the construction end initiates a communication request to the first management end and the first management end is offline. After this situation occurs, since the expansion time of the first management end is short, usually a few minutes, the construction end only needs to wait for the preset time. In this embodiment, the preset time can be set to 10 minutes, and the implementer can adjust the preset time according to actual conditions.

[0079] In a specific implementation manner, when the first management end completes expansion or deployment, the first management end is online and sends an online notification to all construction ends;

[0080] Correspondingly, when any construction end initiates a communication request to the first management end and the first management end is offline, the construction end waits for a preset period of time or receives the online notification, and then re-initiates the communication request to the first management end.

[0081] Among them, when the first management end completes the redeployment, it is necessary to re-establish the association with the construction tasks of each construction end. Therefore, when the first management end completes the expansion or deployment, an online notification can be sent to all construction ends, so that subsequent construction ends can communicate with the first server where the first management end is located when they need to initiate a communication request.

[0082] In the second embodiment, based on the containerized deployment of the first management end and the construction end, it is flexibly determined whether the first management end needs to be expanded, and the specific expansion method, according to the actually obtained required resource quantity, initial resource quantity and remaining resource quantity of the first server of the first management end, thereby realizing flexible and rapid expansion of the first management end, improving the performance of the first management end, and further improving the stability of the system.

[0083] The third embodiment provides an automated testing system, the system comprising: I test terminals {p1, p2, ..., p i ,…,p I}, a second management terminal, a processor and a memory storing a computer program, wherein p i is the i-th test terminal, i is an integer in the range [1, I], and I is an integer greater than 0, see Figure 3 , is a flowchart of a computer program executed by a processor in an automated testing system provided by Embodiment 3 of the present invention. When the computer program is executed by the processor, the following steps are implemented:

[0084] S301, the second management terminal containerizes each test case in the acquired test case set to obtain J test containers {q1, q2, ..., q j , …, q J}, where q j is the j-th test container, j is an integer in the range [1, J], and J is an integer greater than 0;

[0085] S302, initializing the second identifier k=1;

[0086] S303: If at least one test end is in an idle state, the second management end sets q j Send to any test end that is in idle state;

[0087] S304, by receiving q j The test end executes q j , the q j After the test is completed, get j The corresponding test results r j ;

[0088] S305, update k=k+1;

[0089] S306, returning to execute step S303 to step S305, until k=J+1, to obtain the test results corresponding to all the test containers.

[0090] Among them, the second management end and the test end are both built based on the Kubernets open source system. The second management end can be deployed in a server or a virtual machine. The second management end can obtain at least one test case set, containerize each test case in all test case sets, and obtain J test containers.

[0091] Specifically, when the test end does not execute a test case, the test end is in an idle state.

[0092] When any test container is tested, the test result corresponding to the test container is returned to the second management end without waiting for the test results of other test containers.

[0093] In a specific implementation, the test end is a server.

[0094] In a specific embodiment, the test container q j Corresponding to the first chip information s j , the first chip information s j Belongs to a chip information set, and the chip information set includes at least a single chip and a double chip.

[0095] Among them, a single chip may refer to a server environment deployed with a single chip, and a dual chip may refer to a server environment deployed with two chips. It should be noted that the chip information set may also include other server environments such as four chips and eight chips. Implementers can add server environments to the chip information set based on actual conditions.

[0096] In a specific implementation manner, the test terminal p i Corresponding to the second chip information t i , the second chip information t i Belongs to the chip information set.

[0097] Among them, a single test end is deployed on a corresponding server, and the second chip information corresponding to the test end can be determined according to the number of chips deployed on the server.

[0098] In a specific implementation, step S303 includes the following steps:

[0099] S3031, determine q j Corresponding first chip information s j ;

[0100] S3032, if at least one test end is in an idle state and the corresponding second chip information is the same as s j If the same, the second management terminal will j Sent to any idle state and corresponding second architecture information and s j Same test side.

[0101] Among them, this embodiment constrains the test container to be executed only in the test end adapted to the server environment. Therefore, the implementer should ensure that each server caliber has a corresponding test end.

[0102] In a specific implementation manner, after receiving q j The test end executes q j The following steps are also included:

[0103] Record the received q j The test end executes q j The scene information at the time of q j The execution site is based on q j Supports troubleshooting when execution fails.

[0104] Among them, since each test case is containerized, after the batch test cases are completed, the test cases that failed the test can be re-executed to filter out the test cases that cannot be executed normally. For such test cases, problem troubleshooting is required. Relying on the steps of recording the on-site information in this embodiment, the scene when the test container is executed can be accurately restored, thereby facilitating problem troubleshooting and improving the efficiency of problem troubleshooting and vulnerability repair.

[0105] In a specific implementation manner, the on-site information includes at least a test terminal identifier, an allocated resource amount, and a test time period.

[0106] The test end identifier can be used to determine the test end that executes the test container, and the allocated resource amount and test time period can be used to accurately restore the scene when the test container is executed.

[0107] In a specific implementation, the automated testing system belongs to an automated testing platform, and the automated testing platform also includes an automated construction system and a data transmission system.

[0108] Among them, the automated construction system can be used to automatically build products, and the data transmission system can be used to internally transmit distributed storage data.

[0109] In the third embodiment of the present invention, by containerizing all test cases, the test cases can be tested in a concurrent execution manner. Compared with the prior art method of testing a test case set formed by multiple test cases together, the test results of each test case can be directly fed back without waiting for the test results of other test cases. There will be no situation where the test results of the entire test case set cannot be fed back due to errors in a small number of test cases, thereby effectively shortening the chip testing time and the waiting time for chip test result feedback, thereby improving the efficiency of chip testing.

[0110] The fourth embodiment provides a data transmission system, the data transmission system comprising a storage end set, a processor and a memory storing a computer program, wherein the storage end set comprises L data storage ends, each data storage end corresponds to first address information, and the storage end set corresponds to a target access address, see Figure 4 , is a flowchart of a computer program executed by a processor in a data transmission system provided by Embodiment 4 of the present invention. When the computer program is executed by the processor, the following steps are implemented:

[0111] S401, upon receiving access information of a user to the target access address, obtaining second address information and access content corresponding to the access information;

[0112] S402, determining a data storage end corresponding to first address information closest to the second address information as a reference storage end;

[0113] S403, if the reference storage terminal contains the data corresponding to the accessed content, the reference storage terminal sends the data corresponding to the accessed content to the user;

[0114] S404, if the reference storage end does not contain the data corresponding to the access content, searching for the data corresponding to the access content in each data storage end except the reference storage end, and obtaining a plurality of data storage ends containing the data corresponding to the access content as the first storage end;

[0115] S405, determining a target storage end from all first storage ends;

[0116] S406: The target storage terminal sends the data corresponding to the accessed content to the user.

[0117] Among them, the storage end set corresponds to the target access address, that is, all data storage ends correspond to the target access address. The user only needs to access the target access address, and through this embodiment, the data corresponding to the access content can be obtained most quickly.

[0118] Specifically, the data transmission system can be constructed based on the internal network to support data access by users in the internal network.

[0119] It should be noted that, in this embodiment, it is assumed that the transmission rates between various data transmission terminals and from any data transmission terminal to the user are consistent, so the optimal transmission mode can be determined only by address information.

[0120] In one embodiment, the implementer may also determine the data storage end with the lowest latency as the reference storage end based on the data transmission rate from the data storage end to the user, the first address information corresponding to the data storage end, and the second address information corresponding to the user.

[0121] In a specific implementation, step S405 includes the following steps:

[0122] A first storage end corresponding to the first address information closest to the second address information is determined as the target storage end.

[0123] In one embodiment, the implementer may also determine the first storage end with the lowest latency as the reference storage end based on the data transmission rate from the first storage end to the reference storage end, the first address information corresponding to the first storage end, and the first address information corresponding to the reference storage end.

[0124] In a specific implementation, step S406 includes the following steps:

[0125] S4061, the target storage end sends the data corresponding to the access content to the reference storage end;

[0126] S4062: The reference storage terminal sends the data corresponding to the accessed content to the user.

[0127] In a specific implementation, the data storage end includes a cache;

[0128] Correspondingly, after the target storage end sends the data corresponding to the access content to the reference storage end, the method further includes:

[0129] The reference storage end stores the data corresponding to the accessed content in a cache included therein.

[0130] The data corresponding to the accessed content is stored in a cache included in the reference storage end, so as to improve the efficiency of other users accessing the same accessed content under the same second address information.

[0131] In a specific implementation, when the data corresponding to the accessed content is stored in the cache of the reference storage end and the data corresponding to the accessed content is not accessed within a preset time period, the data corresponding to the accessed content is deleted from the cache of the reference storage end.

[0132] Among them, the data storage end may include local storage and cache.

[0133] Specifically, the data in the default cache are not frequently accessed data. Therefore, when the data in the cache is not accessed within a preset time period, the data is deleted to ensure cache space. The implementer can determine the preset time period based on actual conditions. As an example, the preset time period can be one week.

[0134] In one implementation, a cache replacement strategy such as a least recently used strategy (LRU) or a least-frequently used strategy (LFU) may also be used to determine the data to be deleted from the cache.

[0135] In one embodiment, when the access content corresponding data is stored in the cache of the reference storage end and the number of accesses to the access content corresponding data within a preset time period is greater than a preset threshold, the access content corresponding data is transferred from the cache of the reference storage end to the local storage.

[0136] In a specific implementation, the target access address is domain name information.

[0137] In a specific implementation manner, the first address information and the second address information are both IP address information.

[0138] In a specific implementation, the data transmission system belongs to an automated testing platform, and the automated testing platform also includes an automated construction system and an automated testing system.

[0139] The data corresponding to the user access content in the data transmission system may be the test results of the test case, the constructed product, etc.

[0140] In the fourth embodiment, multiple data storage terminals store data in a distributed manner. When a user accesses a target access address, the access information is parsed to obtain the second address information and the access content. The path for transmitting data to the user is determined based on the first address information, the second address information and the access content of each data storage terminal to ensure that the user can quickly obtain the required data and improve the efficiency of data transmission.

[0141] Although some specific embodiments of the present invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.

Claims

1. An automated testing system, characterized in that: The system comprises: I test terminals {p1, p2, ..., p i ,…,p I }, a second management terminal, a processor and a memory storing a computer program, wherein p i is the i-th test terminal, i is an integer in the range of [1, I], and I is an integer greater than 0. When the computer program is executed by a processor, the following steps are implemented: S301, the second management terminal containerizes each test case in the acquired test case set to obtain J test containers {q1, q2, ..., q j , …, q J }, where q j is the j-th test container, j is an integer in the range [1, J], and J is an integer greater than 0; S302, initializing the second identifier k=1; S303: If at least one test end is in an idle state, the second management end sets q j Send to any test end that is in idle state; S304, by receiving q j The test end executes q j , the q j After the test is completed, get j The corresponding test results r j ; S305, update k=k+1; S306, returning to execute step S303 to step S305, until k=J+1, to obtain the test results corresponding to all the test containers.

2. The automated testing system according to claim 1, characterized in that: The test end is a server.

3. The automated testing system according to claim 1, characterized in that: The test container q j Corresponding to the first chip information s j , the first chip information s j Belongs to a chip information set, and the chip information set includes at least a single chip and a double chip.

4. The automated testing system according to claim 3, characterized in that: The test terminal p i Corresponding to the second chip information t i , the second chip information t i Belongs to the chip information set.

5. The automated testing system according to claim 4, characterized in that: Step S303 includes the following steps: S3031, determine q j Corresponding first chip information s j ; S3032, if at least one test end is in an idle state and the corresponding second chip information is the same as s j If the same, the second management terminal will j Sent to any idle state and corresponding second architecture information and s j Same test side.

6. The automated testing system according to claim 1, characterized in that: Upon receiving the j The test end executes q j The following steps are also included: Record the received q j The test end executes q j The scene information at the time of q j The execution site is based on q j Supports troubleshooting when execution fails.

7. The automated testing system according to claim 6, characterized in that: The on-site information includes at least a test terminal identifier, an allocated resource amount, and a test time period.

8. The automated testing system according to claim 1, characterized in that: The automated testing system belongs to an automated testing platform, which also includes an automated building system and a data transmission system.

Citation Information

Cited By

  • Chip test method, electronic device, storage medium and program

    CN122431970A

  • Chip testing method, electronic device, storage medium, and program

    CN122431970B