Quality detection method, electronic equipment, storage medium and program product

By obtaining and verifying the form data of the client device, determining the detection item configuration file, and performing quality inspection processing, the problem of low quality inspection efficiency in the existing technology is solved, and efficient quality inspection is achieved that adapts to different equipment.

CN119806671APending Publication Date: 2025-04-11SUGON INFORMATION IND +2
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, supporting quality inspection procedures are required for each new product, resulting in low quality inspection efficiency.

Method used

By obtaining the form data sent by the client device, including the device information of the device to be detected and the device information of the server, authorization verification processing is performed. After success, the detection item configuration file is determined based on the equipment information, and the detection equipment to be tested according to the configuration file to obtain the quality detection result.

Benefits of technology

This method can adapt to the quality inspection of different equipment to be tested, improving the efficiency of quality inspection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806671A_ABST
    Figure CN119806671A_ABST
Patent Text Reader

Abstract

The invention provides a quality detection method, electronic equipment, a storage medium and a program product. The method comprises the following steps: obtaining form data sent by a client device, wherein the form data comprises first device information of a to-be-detected device and second device information of the client device; according to the first device information and the second device information, performing authorization verification processing on the client device and the to-be-detected device to obtain a verification result; under the condition that the verification result is successful verification, a detection item configuration file is determined according to the first equipment information, and the detection item configuration file comprises a plurality of detection item identifiers and detection item information corresponding to each detection item identifier; and performing quality detection processing on the to-be-detected equipment according to the detection item configuration file to obtain a quality detection result. According to the method, the quality detection efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a quality detection method, electronic equipment, storage medium and program product. Background Art

[0002] With the continuous expansion of the information technology application innovation industry, there are more and more information technology application innovation products on the market, namely, ICT products. ICT products can include chips, servers, storage devices, operating systems and databases, etc.

[0003] New products have quality requirements in both the use stage and the production stage. At present, for each new product, in order to meet the quality requirements of the new product, it is necessary to develop a supporting quality inspection program. For example, in the production stage, it is necessary to develop a supporting quality inspection program to meet the quality inspection and quality determination before shipment; in the use stage, a user-operable quality inspection program is developed to meet the stability and reliability during use.

[0004] In the above situation, an appropriate quality inspection procedure needs to be determined for each new product, resulting in low efficiency of quality inspection. Summary of the invention

[0005] The present application provides a quality inspection method, electronic equipment, storage medium and program product to solve the technical problem of low efficiency of quality inspection.

[0006] In a first aspect, the present application provides a quality detection method, comprising:

[0007] Acquire form data sent by a client device, wherein the form data includes first device information of a device to be detected and second device information of the server;

[0008] According to the first device information and the second device information, authorization verification processing is performed on the server and the device to be detected to obtain a verification result;

[0009] When the verification result is successful, determining a detection item configuration file according to the first device information, wherein the detection item configuration file includes a plurality of detection item identifiers and detection item information corresponding to each detection item identifier;

[0010] According to the detection item configuration file, quality detection processing is performed on the device to be detected to obtain a quality detection result.

[0011] In this way, corresponding detection item configuration files can be determined for different devices, and corresponding detection items can be executed according to the detection item configuration files, which can adapt to the quality detection of different devices to be detected and improve the efficiency of quality detection.

[0012] Optionally, in the method described above, the server includes a main component, a display component and a detection component, and performs quality detection processing on the device to be detected according to the detection item configuration file to obtain a quality detection result, including:

[0013] According to the detection item configuration file, generating a detection item list through the detection component, and sending the detection item list to the main component;

[0014] Sending the detection item list to the display component through the main component;

[0015] Sending the detection item list to the client device through the display component, so that the client device displays the detection item list;

[0016] According to the detection items respectively corresponding to the multiple detection item identifiers, the detection component performs quality detection processing on the device to be detected to obtain detection results respectively corresponding to the multiple detection items;

[0017] The quality inspection result includes inspection results corresponding to the multiple inspection items respectively.

[0018] In this way, the corresponding detection items can be executed according to the detection item configuration file, which can adapt to the quality detection of different devices to be detected and improve the efficiency of quality detection.

[0019] Optionally, the method described above, for a target detection item corresponding to any detection item identifier, performing quality detection processing on the device to be detected according to the target detection item by the detection component to obtain a detection result corresponding to the target detection item, includes:

[0020] Determining, by the detection component, whether the test type corresponding to the target detection item is an automatic test type;

[0021] If so, determine the target function and the test class according to the test item configuration file corresponding to the target test item, and determine whether the test class is a specification test or a software test;

[0022] If the target detection item is the specification detection, performing specification detection processing on the device to be detected according to the objective function to obtain a detection result corresponding to the target detection item;

[0023] If the target detection item is the software detection, software detection processing is performed on the device to be detected according to the objective function to obtain a detection result corresponding to the target detection item.

[0024] In this way, the objective function and test class can be determined according to the detection item configuration file. According to the objective function and test class, the quality detection of different devices to be detected can be adapted, thereby improving the efficiency of quality detection.

[0025] Optionally, the method as described above, performing specification detection processing on the device to be detected according to the objective function to obtain a detection result corresponding to the target detection item, includes:

[0026] Running the objective function to send a specification detection instruction to the device to be detected, wherein the specification detection instruction is used to instruct the device to be detected to perform specification detection;

[0027] Acquire detection response information sent by the device to be detected, where the detection response information includes a detection value;

[0028] According to the objective function, determining a judgment condition and a judgment value;

[0029] A detection result corresponding to the target detection item is determined according to the detection value, the determination condition and the determination value.

[0030] In this way, specification detection processing can be performed according to the objective function and the test class, which can adapt to the quality detection of different devices to be detected and improve the efficiency of quality detection.

[0031] Optionally, the method as described above, performing software detection processing on the device to be detected according to the objective function to obtain a detection result corresponding to the target detection item, includes:

[0032] Running the target function to send a software detection instruction to the device to be detected, wherein the software detection instruction is used to instruct the device to be detected to perform software detection;

[0033] Acquire detection response information sent by the device to be detected, where the detection response information includes a result value;

[0034] According to the result value, a detection result corresponding to the target detection item is determined.

[0035] In this way, software detection processing can be performed according to the objective function and the test class, which can adapt to the quality detection of different devices to be detected and improve the efficiency of quality detection.

[0036] Optionally, in the above method, determining the detection item configuration file according to the first device information includes:

[0037] In response to a start detection instruction sent by the client device to the display component, sending a detection request to the main component through the display component, wherein the detection request includes the first device information;

[0038] Sending a detection request to the detection component through the main component;

[0039] Determine a detection item configuration file through the detection component according to the first device information.

[0040] In this way, corresponding detection item configuration files can be determined for different devices. The detection item configuration files are flexible and extensible, and can adapt to quality inspections of different devices to be inspected, thereby improving the efficiency of quality inspections.

[0041] Optionally, the method as described above, before obtaining the form data sent by the client device, further includes:

[0042] In response to a start-up instruction sent by the client device to the main component, performing initialization processing by the main component;

[0043] Generate a form configuration file through the main component, and send the form configuration file to the display component;

[0044] In response to the detection configuration instruction sent by the client device to the display component, the display component generates form interface information according to the form configuration file, and sends the form interface information to the client device. The form interface information is used to generate a form interface in the client device so that the user can enter the form data in the form interface.

[0045] In this way, the quality detection process can be performed on the current device or the remote device through the client device, thereby improving the efficiency of quality detection.

[0046] In a second aspect, the present application provides a quality detection device, comprising:

[0047] An acquisition module, used for acquiring form data sent by a client device, wherein the form data includes first device information of a device to be detected and second device information of the server;

[0048] A verification module, used to perform authorization verification processing on the server and the device to be detected according to the first device information and the second device information to obtain a verification result;

[0049] a confirmation module, configured to determine, when the verification result is successful, a detection item configuration file according to the first device information, wherein the detection item configuration file includes a plurality of detection item identifiers and detection item information corresponding to each detection item identifier;

[0050] The processing module is used to perform quality inspection processing on the device to be inspected according to the inspection item configuration file to obtain a quality inspection result.

[0051] Optionally, in the above-mentioned device, the server includes a main component, a display component and a detection component, and the processing module is specifically used for:

[0052] According to the detection item configuration file, generating a detection item list through the detection component, and sending the detection item list to the main component;

[0053] Sending the detection item list to the display component through the main component;

[0054] Sending the detection item list to the client device through the display component, so that the client device displays the detection item list;

[0055] According to the detection items respectively corresponding to the multiple detection item identifiers, the detection component performs quality detection processing on the device to be detected to obtain detection results respectively corresponding to the multiple detection items;

[0056] The quality inspection result includes inspection results corresponding to the multiple inspection items respectively.

[0057] Optionally, in the above-mentioned device, for a target detection item corresponding to any detection item identifier, the processing module is specifically configured to:

[0058] Determining, by the detection component, whether the test type corresponding to the target detection item is an automatic test type;

[0059] If so, determine the target function and the test class according to the test item configuration file corresponding to the target test item, and determine whether the test class is a specification test or a software test;

[0060] If the target detection item is the specification detection, performing specification detection processing on the device to be detected according to the objective function to obtain a detection result corresponding to the target detection item;

[0061] If the target detection item is the software detection, software detection processing is performed on the device to be detected according to the objective function to obtain a detection result corresponding to the target detection item.

[0062] Optionally, in the above device, the processing module is specifically used for:

[0063] Running the objective function to send a specification detection instruction to the device to be detected, wherein the specification detection instruction is used to instruct the device to be detected to perform specification detection;

[0064] Acquire detection response information sent by the device to be detected, where the detection response information includes a detection value;

[0065] According to the objective function, determining a judgment condition and a judgment value;

[0066] A detection result corresponding to the target detection item is determined according to the detection value, the determination condition and the determination value.

[0067] Optionally, in the above device, the processing module is specifically used for:

[0068] Running the target function to send a software detection instruction to the device to be detected, wherein the software detection instruction is used to instruct the device to be detected to perform software detection;

[0069] Acquire detection response information sent by the device to be detected, where the detection response information includes a result value;

[0070] According to the result value, a detection result corresponding to the target detection item is determined.

[0071] Optionally, in the above device, the determination module is specifically used for:

[0072] In response to a start detection instruction sent by the client device to the display component, sending a detection request to the main component through the display component, wherein the detection request includes the first device information;

[0073] Sending a detection request to the detection component through the main component;

[0074] Determine a detection item configuration file through the detection component according to the first device information.

[0075] Optionally, in the above device, the acquisition module is further used for:

[0076] In response to a start-up instruction sent by the client device to the main component, performing initialization processing by the main component;

[0077] Generate a form configuration file through the main component, and send the form configuration file to the display component;

[0078] In response to the detection configuration instruction sent by the client device to the display component, the display component generates form interface information according to the form configuration file, and sends the form interface information to the client device. The form interface information is used to generate a form interface in the client device so that the user can enter the form data in the form interface.

[0079] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0080] The memory stores computer-executable instructions;

[0081] The processor executes the computer-executable instructions stored in the memory to implement the method described in any one of the first aspects.

[0082] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.

[0083] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method as described in any one of the first aspects when executed by a computer.

[0084] The quality detection method, electronic device, storage medium and program product provided by the present application obtain the form data sent by the client device, the form data includes the first device information of the device to be detected, and the second device information of the client device; according to the first device information and the second device information, the client device and the device to be detected are authorized and verified to obtain the verification result; when the verification result is successful, the detection item configuration file is determined according to the first device information, and the detection item configuration file includes multiple detection item identifiers and the detection item information corresponding to each detection item identifier; according to the detection item configuration file, the device to be detected is subjected to quality detection processing to obtain the quality detection result. In this way, the corresponding detection item configuration file can be determined for different devices, and the corresponding detection item is executed according to the detection item configuration file, which can adapt to the quality detection of different devices to be detected, thereby improving the efficiency of quality detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0086] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0087] Figure 2 A flow chart of a quality inspection method provided in an embodiment of the present application;

[0088] Figure 3 A schematic diagram of a task queue and thread pool provided in an embodiment of the present application;

[0089] Figure 4 A flow chart of another quality inspection method provided in an embodiment of the present application;

[0090] Figure 5 A flow chart of another quality inspection method provided in an embodiment of the present application;

[0091] Figure 6 A schematic diagram of the structure of a quality inspection device provided in an embodiment of the present application;

[0092] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0093] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0094] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0095] It should be noted that, although the terms "first", "second", etc. are used to describe various information in the embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. Optionally, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information.

[0096] It should be understood that the terms "comprises" and "includes" indicate the presence of the previously mentioned features, steps, operations, but do not exclude the presence, occurrence or addition of one or at least one other feature, step, operation. The terms "and / or" and the like used in this application may be interpreted as inclusive, or mean any one or any combination. Optionally, "A and / or B" means "any of the following: A; B; A and B". In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship.

[0097] In related technologies, with the continuous expansion of the IT application innovation industry, there are more and more IT application innovation products on the market, namely, ICT products. ICT products can include chips, servers, storage devices, operating systems, and databases.

[0098] New products have quality requirements in both the use stage and the production stage. At present, for each new product, in order to meet the quality requirements of the new product, it is necessary to develop a supporting quality inspection program. For example, in the production stage, it is necessary to develop a supporting quality inspection program to meet the quality inspection and quality determination before shipment; in the use stage, a user-operable quality inspection program is developed to meet the stability and reliability during use.

[0099] In the above situation, an appropriate quality inspection procedure needs to be determined for each new product, resulting in low efficiency of quality inspection.

[0100] In order to solve the above technical problems, the embodiment of the present application provides a quality detection method, which obtains the device information of the device to be detected through the server, determines the detection item configuration file according to the device information, and performs quality detection processing on the device to be detected according to the detection item configuration file to obtain the quality detection result. In this way, the corresponding detection item configuration file can be determined for different devices, and the corresponding detection item is executed according to the detection item configuration file, which can adapt to the quality detection of different devices to be detected, thereby improving the efficiency of quality detection.

[0101] Next, combine Figure 1 , and give examples to illustrate the application scenarios corresponding to the quality inspection methods.

[0102] Figure 1 This is a schematic diagram of an application scenario provided by the embodiment of this application. Figure 1 , Figure 1 The quality detection system 100 may include at least a client device 101 and a server 102 .

[0103] The client device 101 may be communicatively connected with the server 102 .

[0104] The client device 101 may be a device on which a quality detection client is installed. The client device 101 may be used to interact with a user. For example, the client device 101 may obtain a user's quality detection request for the current device, or may obtain a user's quality detection request for other devices. The client device 101 may also interact with the server 102. For example, the client device 101 may send a detection request to the server 102 so that the server 102 performs a quality detection. The system in the client device 101 may be developed based on Linux or Windows, which is not limited here.

[0105] The server 102 may include a quality detection program and a database. The quality detection program may include a main component, a display component, and a detection component. The server 102 may be a cloud server, a server of a distributed system, or a server combined with a blockchain, which is not specifically limited here.

[0106] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0107] The technical solution shown in the present application is described in detail below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.

[0108] Figure 2 A flow chart of a quality detection method provided in an embodiment of the present application. The execution subject of the embodiment of the present application can be a server, or a quality detection device set in the server. The quality detection device can be implemented by software, or by a combination of software and hardware. Figure 2 , the method comprising:

[0109] S201. Obtain form data sent by a client device.

[0110] The client device can be configured with a quality detection client.

[0111] The client device may be used to interact with a user.

[0112] The form data includes first device information of the device to be detected and second device information of the server.

[0113] The form data may be used to represent the data entered by the user in the form interface of the client device.

[0114] The device to be detected may be a client device or other device, which is not limited here.

[0115] The first device information may be device information about the device to be detected.

[0116] For example, the first device information may include an IP address of the device to be detected, a login password of the device to be detected, a hardware address of the device to be detected, etc., which is not limited here.

[0117] The second device information may be device information about the server.

[0118] For example, the second device information may include the IP address of the server, the login password of the server, the hardware address of the server, etc., which are not limited here.

[0119] The server may include a main component, a display component, and a detection component.

[0120] The interaction between the main component, display component and detection component can transmit data through remote procedure calls, which reduces the exposure time of data in the network and reduces the risk of being intercepted.

[0121] The remote procedure call may be encoded using a preset message encoding method, and the preset message encoding method is not limited here.

[0122] The format of the transmitted data can be binary data. Since binary data is smaller in size, the encryption and decryption process is faster, which means lower latency in the entire data transmission process, and further enhanced security and transmission speed. Binary data is not as easy to be recognized by the human eye as text data, which makes it difficult to interpret even if the data is intercepted. It also increases data security to a certain extent.

[0123] Optionally, the encrypted information sent by the client device may be received, and the encrypted information may be decrypted and analyzed to obtain the form data.

[0124] Optionally, the form data sent by the client device may be received by the display component, and the form data may be sent to the main component by the display component.

[0125] Optionally, before obtaining the form data sent by the client device, it also includes generating form interface information to generate a form interface in the client device. The form interface information can be generated in the following manner: in response to a startup instruction sent by the client device to the main component, initialization processing is performed by the main component; a form configuration file is generated by the main component, and the form configuration file is sent to the display component; in response to a detection configuration instruction sent by the client device to the display component, form interface information is generated by the display component according to the form configuration file, and the form interface information is sent to the client device.

[0126] The startup instruction may be used to instruct the client device to start the client.

[0127] The initialization process may include identifying device information of the client device, starting the detection component, maintaining a communication connection between the detection component and the main component, and the like.

[0128] The form configuration file can include a default configuration file and a generated configuration file. The default configuration file can be used to obtain the form data entered by the user, and the generated configuration file can be used to generate the front-end form.

[0129] The detection configuration instruction can be used to instruct the server to generate a form configuration file to generate a form interface on the client device.

[0130] The form interface information is used to generate a form interface in the client device so that the user can input form data in the form interface.

[0131] S202: Perform authorization verification on the server and the device to be detected according to the first device information and the second device information to obtain a verification result.

[0132] The authorization verification process can be used to verify whether the user has authorization with respect to the server and the device to be detected.

[0133] The verification results may include verification success and verification failure.

[0134] The server may be authorized and verified based on the second device information to obtain a first result of the server. When the first result is successful verification, the device to be detected may be authorized and verified based on the first device information to obtain a verification result.

[0135] The first result may be used to indicate whether the server is authorized. The first result may include verification success and verification failure.

[0136] The main component can perform authorization verification processing on the server and the device to be detected according to the first device information and the second device information to obtain a verification result.

[0137] Optionally, the server can be authorized and verified based on the second device information to obtain a first result of the server, and the device to be detected can be authorized and verified based on the first device information to obtain a second result of the device to be detected. If the first result is a successful verification and the second result is a successful verification, then the verification result is determined to be a successful verification; if the first result is a failed verification or the second result is a failed verification, then the verification result is determined to be a failed verification.

[0138] The first result may be used to indicate whether the server is authorized. The first result may include verification success and verification failure.

[0139] The second result may be used to indicate whether the device to be detected is authorized. The second result may include verification success and verification failure.

[0140] S203: When the verification result is successful, determine a detection item configuration file according to the first device information.

[0141] The detection item configuration file includes multiple detection item identifiers and detection item information corresponding to each detection item identifier.

[0142] The detection item configuration file can be used to indicate the detection standards and rules corresponding to multiple detection items of the device to be detected.

[0143] Detection profiles can be stored in comma-separated value format.

[0144] The detection item information may include type, corresponding function name of the detection item, corresponding detection item name, secondary indicators, basic requirements for secondary indicators, judgment value, retrieval criteria, test type and test class, etc.

[0145] For example, the detection item information may be as shown in Table 1:

[0146] Table 1

[0147]

[0148] Among them, the detection item list can be displayed in the client device, and the type, secondary indicator, and secondary indicator basic requirements in the detection item information can be displayed in the displayed detection item list.

[0149] The function name corresponding to the detection item can be the name of the function that the calling module needs to run.

[0150] The corresponding detection item name can be a keyword captured by the specification test.

[0151] The judgment value may be a value determined during detection.

[0152] The determination condition may be a determination condition at the time of detection.

[0153] The judgment conditions can include bool type, str type and ge type.

[0154] The judgment condition corresponding to the bool type can be to judge whether the detection value is a judgment value, and the judgment value is non-empty.

[0155] The judgment condition corresponding to the str type can be to determine whether the detection value is greater than or equal to the judgment value.

[0156] The determination condition corresponding to the ge type may be to determine whether the determination value contains the detection value.

[0157] Test types can include manual test types and automatic test types. Manual test types can be represented by manual, and automatic test types can be represented by auto.

[0158] The test class can indicate the type of test to be performed, and the test class can include specification test and software test. Specification test can be indicated by info, and software test can be indicated by bmc.

[0159] The detection item configuration file has good readability, extensibility and standardization, so that it can quickly adapt to changes in detection standards. New detection items can be quickly added or the information of existing detection items can be modified without changing the code. The front end can directly display the type, secondary indicators and basic requirements, reducing the coupling between the back end and the front end.

[0160] The detection item configuration file corresponding to the device to be detected may be determined in the storage space by the detection component according to the first device information.

[0161] Optionally, the detection item configuration file can be determined according to the first device information in the following manner: in response to a detection start instruction sent by the client device to the display component, a detection request is sent to the main component through the display component; a detection request is sent to the detection component through the main component; and the detection item configuration file is determined according to the first device information through the detection component.

[0162] The start detection instruction may be used to instruct the server to start detection, and the detection request includes the first device information.

[0163] Optionally, after sending a detection request to the detection component through the main component, the detection component generates a detection task based on the detection request, and updates the task queue based on the detection task, determines the target thread based on the updated task queue and thread pool, and determines the detection item configuration file through the target thread based on the first device information to execute the corresponding detection task.

[0164] Next, combine Figure 3 , explain the task queue and thread pool.

[0165] Figure 3 A schematic diagram of a task queue and thread pool provided in an embodiment of the present application. Figure 3 , Figure 3 It includes a task queue and a thread pool. The task queue can include multiple detection tasks, and the thread pool can include multiple threads.

[0166] The task queue can be sorted by importance or by request time, which is not limited here.

[0167] The detection task that is sorted first in the task queue can be determined as the target task, and it is determined whether there is at least one idle thread in the thread pool. If so, any one of the at least one idle thread is determined as the target thread, the target task is executed through the target thread, and the task queue is updated. The above steps are repeated until there is no at least one idle thread or there is no target task.

[0168] S204: Perform quality inspection on the equipment to be inspected according to the inspection item configuration file to obtain a quality inspection result.

[0169] The quality inspection process can be used to perform quality inspection on the equipment to be inspected.

[0170] The quality inspection result may include inspection results corresponding to multiple inspection items.

[0171] The quality inspection result can be used to indicate the quality inspection result of the device to be inspected.

[0172] The detection component can perform quality detection on the device to be detected according to the detection item configuration file to obtain the quality detection result.

[0173] Optionally, the quality inspection result can be obtained by performing quality inspection on the equipment to be inspected according to the inspection item configuration file in the following manner: generating a inspection item list through the inspection component according to the inspection item configuration file, and sending the inspection item list to the main component; sending the inspection item list to the display component through the main component; sending the inspection item list to the client device through the display component, so that the client device displays the inspection item list; performing quality inspection on the equipment to be inspected according to the inspection items corresponding to the multiple inspection item identifiers, respectively, through the inspection component, and obtaining inspection results corresponding to the multiple inspection items, respectively.

[0174] The quality inspection result includes inspection results corresponding to multiple inspection items.

[0175] The quality detection method provided in this embodiment obtains the form data sent by the client device, the form data includes the first device information of the device to be detected, and the second device information of the client device; according to the first device information and the second device information, the client device and the device to be detected are authorized and verified to obtain the verification result; when the verification result is successful, the detection item configuration file is determined according to the first device information, and the detection item configuration file includes multiple detection item identifiers and the detection item information corresponding to each detection item identifier; according to the detection item configuration file, the device to be detected is quality detected to obtain the quality detection result. In this way, the corresponding detection item configuration file can be determined for different devices, and the corresponding detection items are executed according to the detection item configuration file, which can adapt to the quality detection of different devices to be detected, thereby improving the efficiency of quality detection.

[0176] Next, combine Figure 4 , the process (S204) of performing quality inspection on the equipment to be inspected according to the inspection item configuration file and obtaining the quality inspection result is explained.

[0177] Figure 4 A flow chart of another quality detection method provided in the embodiment of the present application. Based on the above embodiment, see Figure 4 , the method comprising:

[0178] S401. Generate a detection item list through the detection component according to the detection item configuration file, and send the detection item list to the main component.

[0179] The detection item list may be used to represent a list formed by detection item information corresponding to multiple detection items of the device to be detected.

[0180] For example, the detection item list may include the types, secondary indicators, and basic requirements for secondary indicators corresponding to multiple detection items.

[0181] The detection item information in the detection item configuration file can be obtained through the detection component, a detection item list is generated according to the detection item information, and the detection item list is sent to the main component.

[0182] S402. Send a list of detection items to the display component through the main component.

[0183] The detection item list can be sent to the display component by the main component in the form of remote procedure call.

[0184] S403: Send the detection item list to the client device through the display component, so that the client device displays the detection item list.

[0185] The detection item list can be encrypted through the display component to obtain first encrypted information, the first encrypted information can be sent to the client device so that the client device receives the first encrypted information, the first encrypted information can be decrypted to obtain the detection item list, and the detection item list can be displayed on the client device.

[0186] Below, a target detection item corresponding to any one of the detection items corresponding to multiple detection item identifiers is taken as an example.

[0187] S404: Determine, through the detection component, whether the test type corresponding to the target detection item is an automatic test type.

[0188] If yes, execute S405;

[0189] If not, execute S408.

[0190] The detection component may analyze and process the detection item information corresponding to the target detection item, determine the test type of the target detection item, and judge whether the test type is an automatic test type.

[0191] S405 . Determine the target function and the test class according to the test item configuration file corresponding to the target test item, and judge whether the test class is specification test or software test.

[0192] If the target detection item is specification detection, execute S406;

[0193] If the target detection item is software detection, execute S407.

[0194] The objective function can be used to represent the detection algorithm corresponding to the target detection item.

[0195] The detection component can be used to analyze and process the detection item information corresponding to the target detection item, determine the objective function and test class of the target detection item, and determine whether the test class of the target detection item is specification detection or software detection.

[0196] S406: Perform specification detection processing on the equipment to be detected according to the objective function to obtain detection results corresponding to the target detection items.

[0197] The test result can be used to indicate whether the test passed or failed.

[0198] Optionally, the test result also includes the reason for failure.

[0199] The target function can be run, a detection instruction corresponding to the target function can be sent to the device to be detected, detection response information sent by the device to be detected can be obtained, and the detection result corresponding to the target detection item can be determined according to the detection response information and the judgment condition.

[0200] Optionally, the device to be detected can be subjected to specification detection processing according to the objective function to obtain the detection result corresponding to the target detection item in the following manner: run the objective function to send a specification detection instruction to the device to be detected; obtain the detection response information sent by the device to be detected; determine the judgment condition and judgment value according to the objective function; determine the detection result corresponding to the target detection item according to the detection value, judgment condition and judgment value.

[0201] The detection response information includes the detection value.

[0202] The specification detection instruction is used to instruct the device to be detected to perform specification detection.

[0203] The judgment conditions can include bool type, str type and ge type.

[0204] The judgment condition corresponding to the bool type can be to judge whether the detection value is the judgment value, the judgment value is not empty, and the detection value is empty or not empty.

[0205] The judgment condition corresponding to the str type can be to determine whether the detection value is greater than or equal to the judgment value.

[0206] The determination condition corresponding to the ge type may be to determine whether the determination value contains the detection value.

[0207] S407: Perform software detection processing on the device to be detected according to the objective function to obtain the detection result corresponding to the target detection item.

[0208] The target function can be run, a detection instruction corresponding to the target function can be sent to the device to be detected, detection response information sent by the device to be detected can be obtained, and the detection result corresponding to the target detection item can be determined according to the detection response information.

[0209] Optionally, software detection processing can be performed on the device to be detected according to the objective function to obtain the detection result corresponding to the target detection item in the following manner: run the objective function to send a software detection instruction to the device to be detected, the software detection instruction is used to instruct the device to be detected to perform software detection; obtain the detection response information sent by the device to be detected, the detection response information includes a result value; determine the detection result corresponding to the target detection item according to the result value.

[0210] The result value may include a first preset value and a second preset value. The first preset value may be used to indicate that the test has passed, and the second preset value may be used to indicate that the test has failed.

[0211] Optionally, the detection result can be sent to the main component through the detection component, the detection result can be sent to the display component through the main component, and the detection result can be sent to the client device through the display component, so that the client interface displays the detection result of the target detection item in real time.

[0212] S408, execute the next detection item.

[0213] The implementation content of each step in the embodiment of the present application can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.

[0214] The quality detection method provided in this embodiment generates a detection item list through the detection component according to the detection item configuration file, and sends the detection item list to the main component; sends the detection item list to the display component through the main component; sends the detection item list to the client device through the display component, so that the client device displays the detection item list; for the target detection item corresponding to any detection item identifier, the detection component determines whether the test type corresponding to the target detection item is an automatic test type; if so, according to the detection item configuration file corresponding to the target detection item, determines the objective function and the test class, and determines whether the test class is specification detection or software detection; if the target detection item is specification detection, according to the objective function, performs specification detection processing on the device to be detected, and obtains the detection result corresponding to the target detection item; if the target detection item is software detection, according to the objective function, performs software detection processing on the device to be detected, and obtains the detection result corresponding to the target detection item. In this way, the corresponding detection item configuration file can be determined for different devices, and the corresponding detection item is executed according to the detection item configuration file, which can adapt to the quality detection of different devices to be detected, and improve the efficiency of quality detection.

[0215] Next, combine Figure 5, the technical solution shown in this application is explained through specific examples.

[0216] Figure 5 A flow chart of another quality inspection method provided in the embodiment of the present application. Figure 5 , the method comprising:

[0217] S501. In response to a startup instruction sent by a client device to a main component, initialization processing is performed by the main component.

[0218] The startup instruction may be used to instruct the client device to start the client.

[0219] The initialization process may include identifying device information of the client device, starting the detection component, maintaining a communication connection between the detection component and the main component, and the like.

[0220] S502: Generate a form configuration file through the main component, and send the form configuration file to the display component.

[0221] The form configuration file can include a default configuration file and a generated configuration file. The default configuration file can be used to obtain the form data entered by the user, and the generated configuration file can be used to generate the front-end form.

[0222] S503: In response to the detection configuration instruction sent by the client device to the display component, the display component generates form interface information according to the form configuration file, and sends the form interface information to the client device.

[0223] The detection configuration instruction can be used to instruct the server to generate a form configuration file to generate a form interface on the client device.

[0224] The form interface information is used to generate a form interface in the client device so that the user can input form data in the form interface.

[0225] S504: In response to the start detection instruction sent by the client device to the display component, a detection request is sent to the main component through the display component.

[0226] The start detection instruction can be used to instruct the server to start detection, and the detection request includes the first device information.

[0227] S505. Send a detection request to the detection component through the main component.

[0228] S506: Determine a detection item configuration file according to the first device information through the detection component.

[0229] S507. Generate a detection item list through the detection component according to the detection item configuration file, and send the detection item list to the main component.

[0230] The detection item configuration file includes multiple detection item identifiers and detection item information corresponding to each detection item identifier.

[0231] The detection item list may be used to represent a list formed by detection item information corresponding to multiple detection items of the device to be detected.

[0232] S508. Send the detection item list to the display component through the main component.

[0233] S509: Send the detection item list to the client device through the display component, so that the client device displays the detection item list.

[0234] S510 , performing quality inspection on the device to be inspected through an inspection component according to the inspection items respectively corresponding to the multiple inspection item identifiers.

[0235] S511. Send the detection result to the main component through the detection component.

[0236] S512. Send the detection result to the display component through the main component.

[0237] S513: Send the detection result to the client device through the display component, so that the client interface displays the detection result of the target detection item in real time.

[0238] In this way, corresponding detection item configuration files can be determined for different devices, and corresponding detection items can be executed according to the detection item configuration files, which can adapt to the quality detection of different devices to be detected and improve the efficiency of quality detection.

[0239] Figure 6 This is a schematic diagram of the structure of a quality inspection device provided in an embodiment of the present application. Figure 6 The quality detection device 600 includes an acquisition module 601, a verification module 602, a confirmation module 603 and a processing module 604, wherein:

[0240] The acquisition module 601 is used to acquire the form data sent by the client device, wherein the form data includes the first device information of the device to be detected and the second device information of the server;

[0241] A verification module 602 is used to perform authorization verification processing on the server and the device to be detected according to the first device information and the second device information to obtain a verification result;

[0242] A confirmation module 603 is used to determine a detection item configuration file according to the first device information when the verification result is successful, wherein the detection item configuration file includes multiple detection item identifiers and detection item information corresponding to each detection item identifier;

[0243] The processing module 604 is used to perform quality inspection processing on the device to be inspected according to the inspection item configuration file to obtain a quality inspection result.

[0244] Optionally, in the above-mentioned device, the server includes a main component, a display component and a detection component, and the processing module 604 is specifically used for:

[0245] According to the detection item configuration file, generating a detection item list through the detection component, and sending the detection item list to the main component;

[0246] Sending the detection item list to the display component through the main component;

[0247] Sending the detection item list to the client device through the display component, so that the client device displays the detection item list;

[0248] According to the detection items respectively corresponding to the multiple detection item identifiers, the detection component performs quality detection processing on the device to be detected to obtain detection results respectively corresponding to the multiple detection items;

[0249] The quality inspection result includes inspection results corresponding to the multiple inspection items respectively.

[0250] Optionally, in the above-mentioned apparatus, for a target detection item corresponding to any detection item identifier, the processing module 604 is specifically configured to:

[0251] Determining, by the detection component, whether the test type corresponding to the target detection item is an automatic test type;

[0252] If so, determine the target function and the test class according to the test item configuration file corresponding to the target test item, and determine whether the test class is a specification test or a software test;

[0253] If the target detection item is the specification detection, performing specification detection processing on the device to be detected according to the objective function to obtain a detection result corresponding to the target detection item;

[0254] If the target detection item is the software detection, software detection processing is performed on the device to be detected according to the objective function to obtain a detection result corresponding to the target detection item.

[0255] Optionally, in the above-mentioned device, the processing module 604 is specifically used for:

[0256] Running the objective function to send a specification detection instruction to the device to be detected, wherein the specification detection instruction is used to instruct the device to be detected to perform specification detection;

[0257] Acquire detection response information sent by the device to be detected, where the detection response information includes a detection value;

[0258] According to the objective function, determining a judgment condition and a judgment value;

[0259] A detection result corresponding to the target detection item is determined according to the detection value, the determination condition and the determination value.

[0260] Optionally, in the above-mentioned device, the processing module 604 is specifically used for:

[0261] Running the target function to send a software detection instruction to the device to be detected, wherein the software detection instruction is used to instruct the device to be detected to perform software detection;

[0262] Acquire detection response information sent by the device to be detected, where the detection response information includes a result value;

[0263] According to the result value, a detection result corresponding to the target detection item is determined.

[0264] Optionally, in the above device, the determining module 603 is specifically used for:

[0265] In response to a start detection instruction sent by the client device to the display component, sending a detection request to the main component through the display component, wherein the detection request includes the first device information;

[0266] Sending a detection request to the detection component through the main component;

[0267] Determine a detection item configuration file through the detection component according to the first device information.

[0268] Optionally, in the above device, the acquisition module 601 is further used for:

[0269] In response to a start-up instruction sent by the client device to the main component, performing initialization processing by the main component;

[0270] Generate a form configuration file through the main component, and send the form configuration file to the display component;

[0271] In response to the detection configuration instruction sent by the client device to the display component, the display component generates form interface information according to the form configuration file, and sends the form interface information to the client device. The form interface information is used to generate a form interface in the client device so that the user can enter the form data in the form interface.

[0272] Figure 7This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 , the electronic device 700 may include: a memory 701 , a processor 702 , and a transceiver 703 .

[0273] The memory 701 is used to store program instructions;

[0274] The processor 702 is used to execute the program instructions stored in the memory, so as to enable the electronic device 700 to execute the above method.

[0275] The transceiver 703 may include: a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, a transmitter, a transmission port, a transmission interface, or the like, and the receiver may also be referred to as a receiver, a reception port, a reception interface, or the like. Exemplarily, the memory 701, the processor 702, and the transceiver 703 are interconnected via a bus 704.

[0276] The embodiment of the present application also provides a computer program product, which can be executed by a processor. When the computer program product is executed, the above method can be implemented.

[0277] The quality inspection device, electronic device, computer-readable storage medium and computer program product of the embodiments of the present application can execute the technical solutions shown in the above-mentioned quality inspection method embodiments. Their implementation principles and beneficial effects are similar and will not be repeated here.

[0278] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0279] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0280] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0281] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0282] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.

[0283] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0284] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0285] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0286] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A quality inspection method, characterized in that: Applied to a server, the method comprises: Acquire form data sent by a client device, wherein the form data includes first device information of a device to be detected and second device information of the server; According to the first device information and the second device information, authorization verification processing is performed on the server and the device to be detected to obtain a verification result; When the verification result is successful, determining a detection item configuration file according to the first device information, wherein the detection item configuration file includes a plurality of detection item identifiers and detection item information corresponding to each detection item identifier; According to the detection item configuration file, quality detection processing is performed on the device to be detected to obtain a quality detection result.

2. The method according to claim 1, characterized in that The server includes a main component, a display component and a detection component. According to the detection item configuration file, the server performs quality detection processing on the device to be detected to obtain a quality detection result, including: According to the detection item configuration file, generating a detection item list through the detection component, and sending the detection item list to the main component; Sending the detection item list to the display component through the main component; Sending the detection item list to the client device through the display component, so that the client device displays the detection item list; According to the detection items respectively corresponding to the multiple detection item identifiers, the detection component performs quality detection processing on the device to be detected to obtain detection results respectively corresponding to the multiple detection items; The quality inspection result includes inspection results corresponding to the multiple inspection items respectively.

3. The method according to claim 2, characterized in that For a target detection item corresponding to any detection item identifier, the detection component performs quality detection processing on the device to be detected according to the target detection item to obtain a detection result corresponding to the target detection item, including: Determining, by the detection component, whether the test type corresponding to the target detection item is an automatic test type; If so, determine the target function and the test class according to the test item configuration file corresponding to the target test item, and determine whether the test class is a specification test or a software test; If the target detection item is the specification detection, performing specification detection processing on the device to be detected according to the objective function to obtain a detection result corresponding to the target detection item; If the target detection item is the software detection, software detection processing is performed on the device to be detected according to the objective function to obtain a detection result corresponding to the target detection item.

4. The method according to claim 3, characterized in that According to the objective function, the device to be detected is subjected to specification detection processing to obtain a detection result corresponding to the target detection item, including: Running the objective function to send a specification detection instruction to the device to be detected, wherein the specification detection instruction is used to instruct the device to be detected to perform specification detection; Acquire detection response information sent by the device to be detected, where the detection response information includes a detection value; According to the objective function, determining a judgment condition and a judgment value; A detection result corresponding to the target detection item is determined according to the detection value, the determination condition and the determination value.

5. The method according to claim 3, characterized in that: According to the objective function, software detection processing is performed on the device to be detected to obtain a detection result corresponding to the target detection item, including: Running the target function to send a software detection instruction to the device to be detected, wherein the software detection instruction is used to instruct the device to be detected to perform software detection; Acquire detection response information sent by the device to be detected, where the detection response information includes a result value; According to the result value, a detection result corresponding to the target detection item is determined.

6. The method according to any one of claims 2 to 5, characterized in that: Determining a detection item configuration file according to the first device information includes: In response to a start detection instruction sent by the client device to the display component, sending a detection request to the main component through the display component, wherein the detection request includes the first device information; Sending a detection request to the detection component through the main component; Determine a detection item configuration file through the detection component according to the first device information.

7. The method according to any one of claims 2 to 6, characterized in that: Before obtaining the form data sent by the client device, it also includes: In response to a start-up instruction sent by the client device to the main component, performing initialization processing by the main component; Generate a form configuration file through the main component, and send the form configuration file to the display component; In response to the detection configuration instruction sent by the client device to the display component, the display component generates form interface information according to the form configuration file, and sends the form interface information to the client device. The form interface information is used to generate a form interface in the client device so that the user can enter the form data in the form interface.

8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.