A memory automation testing method and system based on hybrid cloud
Through the hybrid cloud memory automated test system, the collaborative work of public cloud and local test terminal modules is used to solve the problem of low efficiency of existing memory tests, achieve efficient and automated memory tests and data analysis, and improve equipment reliability management. .
Patent Information
- Application Number
- CN202211665140.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-23
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-12-23
AI Technical Summary
Existing memory testing methods require manual intervention, are inefficient, and cannot meet the high requirements for device reliability under large memory requirements.
Adopt a memory automation test system based on hybrid cloud, establish a communication connection with the local test terminal module through the memory management module deployed on the public cloud, download the test strategy, automatically perform memory testing according to the strategy, obtain and analyze test data, and achieve unmanned Efficient testing of duty.
It realizes fully automated memory testing, improves testing efficiency, can test multiple devices simultaneously, provides statistical analysis functions, supports cloud monitoring and data visualization, and improves the accuracy of test results and management efficiency.
Smart Images

Figure CN115981937B
Abstract
Description
Technical Field
[0001] This specification relates to the field of memory automation testing, and in particular to a hybrid cloud-based memory automation testing method and system. Background Art
[0002] With the increasing degree of digitalization, the demand for servers and storage devices is increasing, and the reliability of the memory in the device directly affects the reliability of the entire device. The large memory demand and advanced manufacturing process have put forward higher requirements for memory testing. There are two main memory testing methods: one is the test on the BIOS (Basic Input Output System), and the other is the test under the operating system (for example, Windows, Linux, etc.). However, the existing testing methods all require manual intervention to complete, and the efficiency of memory testing is low.
[0003] Therefore, it is necessary to provide a hybrid cloud-based memory automation testing method and system to realize memory automation testing and improve testing efficiency. Summary of the invention
[0004] One of the embodiments of the present specification provides a hybrid cloud-based memory automation testing system, the system comprising: a memory management module and a local test end module deployed on a public cloud; the local test end module comprises at least one local test end; the local test end comprises a local test server and at least one test device, the memory to be tested is installed on the test device, the local test server establishes a communication connection with the memory management module, the local test server is used to download the test strategy from the memory management module, the test device is used to download the test strategy from the local test server, and test the memory to be tested according to the test strategy to obtain test data, the test device is also used to send the test data to the local test server; the local test server is also used to send the test data to the memory management module.
[0005] In some embodiments, the local test server establishes a communication connection with the memory management module, including: the local test server sends a communication connection request; the memory management module verifies and authenticates the local test server based on the communication connection request, and establishes a communication connection with the local test server.
[0006] In some embodiments, the local test server establishes a communication connection with the memory management module, including: the local test server establishes a communication connection with the memory management module through a key.
[0007] In some embodiments, the local test server downloads the test policy from the memory management module, including: the local test server downloads the test policy corresponding to the memory to be tested from the memory management module according to the serial number of the test device.
[0008] In some embodiments, the test strategy includes at least a test script, a test algorithm tool, a test round, and a test write data.
[0009] In some embodiments, the test device tests the memory to be tested according to the test strategy, including: when the test device executes the test script, it sets the BIOS parameters and then automatically cold restarts; after the test device cold restarts, it executes the test algorithm provided by the BIOS based on the test strategy during the BIOS startup phase; after the test device executes the test algorithm provided by the BIOS, it enters the operating system; after the test device enters the operating system, it executes the test algorithm under the operating system based on the test strategy.
[0010] In some embodiments, the memory management module is further used to: analyze the test data to determine a fault analysis result, wherein the fault analysis result at least includes algorithm validity, fault distribution and / or fault temperature distribution.
[0011] In some embodiments, the system further comprises an information display module for visualizing the test strategy and / or the test data.
[0012] One of the embodiments of the present specification provides a hybrid cloud-based memory automation testing method, including: establishing a communication connection, wherein the communication connection is used to interact with a memory management module deployed on a public cloud; downloading a test strategy, wherein the test strategy is stored in the memory management module; distributing the test strategy, wherein the test strategy is used to test a memory to be tested; receiving test data, wherein the test data is uploaded by a test device where the memory to be tested is located.
[0013] In some embodiments, the downloading of the test strategy includes: downloading the test strategy corresponding to the memory to be tested according to the serial number of the test device.
[0014] One of the embodiments of the present specification provides a hybrid cloud-based memory automation testing method, including: downloading a test strategy, wherein the test strategy is obtained by a local test server from a memory management module deployed on a public cloud; testing the memory to be tested based on the test strategy to obtain test data; and uploading the test data.
[0015] In some embodiments, the testing of the memory to be tested based on the test strategy includes: when executing the test script, setting BIOS parameters and then automatically cold restarting; after the cold restart, executing the test algorithm provided by the BIOS based on the test strategy during the BIOS startup phase; after executing the test algorithm provided by the BIOS, entering the operating system; after entering the operating system, executing the test algorithm under the operating system based on the test strategy. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0017] Figure 1 It is a module diagram of a hybrid cloud-based memory automation testing system according to some embodiments of this specification;
[0018] Figure 2 It is a module diagram of a hybrid cloud-based memory automation testing system according to some embodiments of this specification;
[0019] Figure 3 It is a flowchart of a memory automation testing method based on hybrid cloud according to some embodiments of this specification;
[0020] Figure 4 It is a flowchart of a memory automation testing method based on hybrid cloud according to some embodiments of this specification;
[0021] Figure 5 It is an interactive diagram of a hybrid cloud-based memory automation testing system according to some embodiments of this specification. DETAILED DESCRIPTION
[0022] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.
[0023] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.
[0024] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0025] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0026] Figure 1 is a module diagram of a memory automation test system based on a hybrid cloud according to some embodiments of this specification, such as Figure 1 As shown, a hybrid cloud-based memory automation testing system may include a memory management module and a local test end module deployed on a public cloud, wherein the local test end module includes at least one local test end, the local test end includes a local test server and at least one test device, the memory to be tested is installed on the test device, and the test device can exchange data with the local test server through a switch.
[0027] The memory to be tested can be classified into main memory and auxiliary memory according to its use; the memory to be tested can be classified into read-only memory (ROM), random access memory (RAM), and cache according to its working principle, among which random access memory (RAM) can be divided into dynamic random access memory (DRAM) and static random access memory (SRAM); the memory to be tested can be classified into synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), DDR2 SDRAM, DDR3 SDRAM, and DDR4 SDRAM according to memory technology standards; the memory to be tested can be classified into extended memory, extended memory, high-end memory area, upper memory, and shadow memory according to system logic. The memory to be tested can also be static random access memory (SRAM), RDRAM, XDR RAM, ferroelectric memory (Fe-RAM), magnetic memory (MRAM), and phase change memory (OUM).
[0028] The local test server can establish a communication connection with the memory management module.
[0029] Figure 5 is an interactive diagram of a hybrid cloud-based memory automation test system according to some embodiments of this specification, such as Figure 5 As shown, in some embodiments, the local test server establishes a communication connection with the memory management module, including:
[0030] The local test server sends a communication connection request. For example, the communication connection request may be an http request with authentication and a corresponding work order number.
[0031] The memory management module verifies and authenticates the local test server based on the communication connection request. After verification and authentication, the memory management module can establish a communication connection with the local test server. If verification and / or authentication fails, a communication connection will not be established with the local test server.
[0032] In some embodiments, the local test server may establish a communication connection with the memory management module through a key.
[0033] It is understandable that the test strategies for testing different memories to be tested may be different, so the memory management module may store multiple test strategies. In some embodiments, the memory management module may send the corresponding test strategy to the local test server according to the work order number.
[0034] In some embodiments, the local test server can download the test policy corresponding to the memory to be tested from the memory management module according to the serial number (Serial Number) of the test device. For example, after establishing a communication connection, the local test server can send the serial number of the connected test device to the memory management module, and the memory management module distributes the test policy corresponding to the serial number of the test device to the local test server.
[0035] In some embodiments, the test strategy includes at least a test script, a test algorithm tool, a test round, and a test write data.
[0036] Testing algorithm tools may include Memtest 86+, RST pro2, Google stress test, Linpack, etc.
[0037] It can be understood that the test write data may include a timing feature (Pattern). During the memory testing process, a series of timings will be sent to the input pins of the memory to be tested, and the output timings will be compared at the output pins of the memory to be tested, thereby testing whether the memory to be tested meets its functions.
[0038] In some embodiments, the test content of the memory to be tested performed by the test device according to the test strategy may include: testing all faults in the memory, wherein the fault modes include: Stuck-At Fault (SAF), Transition Fault (TF), Address-Decoder Fault (AF), Data Retention Fault (DRF), Disturb Fault (DF), Stuck-Open Fault (SOF), and Coupling Fault (CF).
[0039] In some embodiments, the testing device tests the memory to be tested according to the testing strategy, including:
[0040] When the test device executes the test script, it sets the BIOS parameters and then automatically cold reboots;
[0041] After the test device is cold restarted, the test algorithm provided by the BIOS is executed based on the test strategy during the BIOS startup phase;
[0042] After the test equipment executes the test algorithm provided by BIOS, it enters the operating system;
[0043] After the test device enters the operating system, it executes the test algorithm under the operating system based on the test strategy.
[0044] Specifically, the test equipment tests the memory to be tested according to the test strategy, including:
[0045] After the test device is turned on, it boots from the PXE (Pre-boot Execution Environment) on the local test server;
[0046] After the test device is started and enters the operating system, the test strategy corresponding to the serial number of the test device is downloaded from the local test server through the self-starting script of the operating system, and the test script in the test strategy is executed;
[0047] When the test equipment executes the test script, it sets the BIOS (Basic Input Output System) parameters and then automatically cold restarts;
[0048] After the test device is cold restarted, the test algorithm provided by the BIOS is executed based on the test strategy during the BIOS startup phase to generate test data of the test algorithm provided by the BIOS;
[0049] After the test equipment executes the test algorithm provided by BIOS, it enters the operating system;
[0050] After the test device enters the operating system, it executes the test algorithm under the operating system based on the test strategy and generates test data of the test algorithm under the operating system.
[0051] like Figure 5 As shown, in some embodiments, the testing device can upload the test data of the test algorithm provided by the BIOS and the test data of the test algorithm under the operating system to the local testing server. The local testing server can generate a corresponding test report based on the received test data of the test algorithm provided by the BIOS and the test data of the test algorithm under the operating system, and then automatically upload it to the cloud.
[0052] In some embodiments, the memory management module is further used to: analyze the test data to determine the fault analysis results, wherein the fault analysis results at least include algorithm validity, fault distribution and / or fault temperature distribution. The test data uploaded to the cloud will be stored in the cloud in the form of a database, and various query interfaces of the database table are called through the http interface to sort out the corresponding data.
[0053] like Figure 5 As shown, in some embodiments, the memory management module analyzes the test data to determine the effectiveness of the algorithm, which may include: for each failure mode, by analyzing a large amount of test data, determining which test algorithms have a high probability of detecting the failure mode, thereby sorting out which test algorithms are more effective for each failure mode.
[0054] In some embodiments, the memory management module analyzes the test data to determine the fault distribution, which may include: analyzing the test data to sort out the fault probabilities reported at different addresses of the memory to be tested, and the probability of a certain fault mode occurring at different addresses of the memory to be tested.
[0055] In some embodiments, the memory management module analyzes the test data to determine the fault temperature distribution, which may include: sorting out the probability of each fault mode occurring at different temperatures.
[0056] In some embodiments, the hybrid cloud-based memory automated testing system may further include an information display module for visualizing test strategies and / or test data. For example, the information display module may include a display screen that may display test strategies, test data, and / or fault analysis results.
[0057] Figure 2 is a module diagram of a memory automation test system based on a hybrid cloud according to some embodiments of this specification, such as Figure 2As shown, in some embodiments, the local test end module may include only at least one test device. The test device may directly download the test strategy corresponding to the serial number of the test device installed on it from the memory management module deployed on the public cloud, and test the memory to be tested according to the test strategy. After the test is completed, the test data can be sent directly to the local test server.
[0058] Figure 3 is a flow chart of a hybrid cloud-based memory automation testing method according to some embodiments of this specification, such as Figure 3 As shown, the memory automation test method based on hybrid cloud may include the following steps. In some embodiments, the memory automation test method based on hybrid cloud may be executed by a local test server of the memory automation test system based on hybrid cloud.
[0059] Step 310, establishing a communication connection.
[0060] The communication connection is used to interact with the memory management module deployed on the public cloud.
[0061] Step 320, download the test strategy.
[0062] Among them, the test strategy is saved in the memory management module.
[0063] Step 330: Distribute the test strategy.
[0064] The test strategy is used to test the memory to be tested.
[0065] Step 340, receiving test data.
[0066] The test data is uploaded by the test device where the memory to be tested is located.
[0067] In some embodiments, downloading the test strategy includes: downloading the test strategy corresponding to the memory to be tested according to the serial number of the test device.
[0068] Figure 4 is a flow chart of a hybrid cloud-based memory automation testing method according to some embodiments of this specification, such as Figure 4 As shown, the memory automation test method based on hybrid cloud may include the following steps. In some embodiments, the memory automation test method based on hybrid cloud may be executed by a test device of a memory automation test system based on hybrid cloud.
[0069] Step 410, download the test strategy.
[0070] The test strategy is obtained by the local test server from the memory management module deployed on the public cloud.
[0071] Step 420, testing the memory to be tested based on the test strategy and obtaining test data;
[0072] Step 430, upload test data.
[0073] In some embodiments, testing the memory to be tested based on the test strategy includes:
[0074] When executing the test script, set the BIOS parameters and then automatically cold reboot;
[0075] After a cold restart, the test algorithm provided by the BIOS is executed based on the test strategy during the BIOS startup phase;
[0076] After executing the test algorithm provided by BIOS, enter the operating system;
[0077] After entering the operating system, the test algorithm under the operating system is executed based on the test strategy.
[0078] In some embodiments, the hybrid cloud-based memory automation testing method and system may include at least the following technical effects:
[0079] 1. Using this test method and system, different strategies (including algorithms, rounds, pat, etc.) can be executed on different test devices, and test results can be automatically reported. This can realize a fully automatic, unattended, and highly efficient memory test solution that can be monitored and statistically analyzed for test results;
[0080] 2. Using this test method and system, the test progress can be monitored at any time in the cloud;
[0081] 3. Using this test method and system, multiple test devices can be controlled to perform tests simultaneously, which greatly improves efficiency;
[0082] 4. Using this test method and system, the information of all test memories of each local factory can be displayed on the large screen, and the information of all test memories can also be displayed on the large screen of the super administrator, which is convenient for the overall management of factories in various places, including test time, test rounds and other information.
[0083] 5. Using this test method and system, the test data can be statistically analyzed, including the effectiveness of the algorithm, fault distribution, fault temperature distribution, etc., to provide support for later optimization of the algorithm and early detection of fault points.
[0084] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.
[0085] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.
[0086] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
[0087] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
[0088] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.
Claims
1. A memory automation testing system based on hybrid cloud, characterized in that: Includes memory management modules and local test end modules deployed on the public cloud; The local test terminal module includes at least one local test terminal; The local test end includes a local test server and at least one test device, the memory to be tested is installed on the test device, the local test server establishes a communication connection with the memory management module through a key, the local test server is used to download the test strategy from the memory management module, the test device is used to download the test strategy from the local test server, and test the memory to be tested according to the test strategy to obtain test data, and the test device is also used to send the test data to the local test server; The local test server is also used to send the test data to the memory management module; The local test server establishes a communication connection with the memory management module, including: The local test server sends a communication connection request, wherein the communication connection request is an http request with authentication and a corresponding work order number; The memory management module verifies and authenticates the local test server based on the communication connection request. After the verification and authentication are passed, the memory management module establishes a communication connection with the local test server. If the verification and / or authentication are not passed, the memory management module does not establish a communication connection with the local test server. The testing device tests the memory to be tested according to the testing strategy, including: When the test device executes the test script, it sets the BIOS parameters and then automatically cold reboots; After the test device is cold restarted, the test algorithm provided by the BIOS is executed based on the test strategy during the BIOS startup phase; After the test equipment executes the test algorithm provided by BIOS, it enters the operating system; After the test device enters the operating system, it executes the test algorithm under the operating system based on the test strategy; The test device tests the memory to be tested according to the test strategy, including: After the test device is powered on, it is started from the PXE boot on the local test server; After the test device is started and enters the operating system, the test strategy corresponding to the serial number of the test device is downloaded from the local test server through the self-starting script of the operating system, and the test script in the test strategy is executed; When the test device executes the test script, it sets the BIOS parameters and then automatically cold reboots; After the test device is cold restarted, the test algorithm provided by the BIOS is executed based on the test strategy during the BIOS startup phase to generate test data of the test algorithm provided by the BIOS; After the test equipment executes the test algorithm provided by BIOS, it enters the operating system; After the test device enters the operating system, it executes the test algorithm under the operating system based on the test strategy and generates test data of the test algorithm under the operating system.
2. The hybrid cloud-based memory automated testing system according to claim 1, characterized in that: The test strategy at least includes a test script, a test algorithm tool, a test round and a test write data.
3. The memory automation test system based on hybrid cloud according to claim 1 or 2, characterized in that: The memory management module is also used for: The test data is analyzed to determine a fault analysis result, wherein the fault analysis result at least includes algorithm effectiveness, fault distribution and / or fault temperature distribution.
4. The hybrid cloud-based memory automated testing system according to claim 1 or 2, characterized in that: It also includes an information display module for visualizing the test strategy and / or the test data.
5. A hybrid cloud-based memory automation testing method, applied to a hybrid cloud-based memory automation testing system as described in any one of claims 1 to 4, characterized in that: include: Establishing a communication connection, wherein the communication connection is used to interact with a memory management module deployed on a public cloud; Downloading a test strategy, wherein the test strategy is stored in the memory management module; Distributing the test strategy, wherein the test strategy is used to test the memory to be tested; Receive test data, wherein the test data is uploaded by a test device where the memory to be tested is located.
6. A hybrid cloud-based memory automation testing method, applied to a hybrid cloud-based memory automation testing system as described in any one of claims 1 to 4, characterized in that: include: Downloading a test strategy, wherein the test strategy is obtained by a local test server from a memory management module deployed on a public cloud; Testing the memory to be tested based on the test strategy to obtain test data; Upload the test data.
7. The hybrid cloud-based memory automation testing method according to claim 6, characterized in that: The testing of the memory to be tested based on the test strategy includes: When executing the test script, set the BIOS parameters and then automatically cold reboot; After a cold restart, the test algorithm provided by the BIOS is executed based on the test strategy during the BIOS startup phase; After executing the test algorithm provided by the BIOS, the operating system is entered; After entering the operating system, a test algorithm under the operating system is executed based on the test strategy.
