Method and device for generating object borrowing application form, computer equipment and storage medium
By obtaining material inventory tables and using record information to generate borrowed application forms, the problem of low testing efficiency caused by reuse of materials in hardware tests is solved, the testing efficiency is improved, and the probability of collection of poor quality materials is reduced.
Patent Information
- Application Number
- CN202411084852.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-11-22
AI Technical Summary
During the hardware testing process, due to the reuse of materials, the quality declines and the testing efficiency is low. Testers need to submit material use applications frequently, which wastes time.
By obtaining material inventory list and usage record information, generating borrowed items, selecting material identification information that meets the needs, and considering the use records of materials to generate a test material list, reducing the probability of collecting materials for poor quality materials and improving testing efficiency.
By using record information to screen materials, the generated borrowing application form reduces the possibility of testers obtaining poor quality materials, improves testing efficiency, and reduces testing delays.
Smart Images

Figure CN119006129A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, computer equipment and storage medium for generating a borrowing application form. Background Art
[0002] In the process of software and hardware integration and product development, hardware testing plays a vital role. It is a key step to ensure stable product hardware performance and reliable quality. Before conducting hardware testing, testers need to submit a material use application based on the test plan and product requirements. The laboratory manager allocates materials to testers based on the material use application.
[0003] In the current material allocation process, since the number of materials is limited, some materials are used repeatedly and their quality is reduced. In this way, during the test process, some materials may have problems and the test cannot be performed, causing the tester to resubmit the material use application, wasting time and reducing the test efficiency. Summary of the invention
[0004] In view of this, the present invention provides a method, apparatus, computer equipment, storage medium and program product for generating a borrowing application form to solve the problem of low testing efficiency.
[0005] In a first aspect, the present invention provides a method for generating a loan application form, obtaining a material inventory table, at least one test material type, identification information of a test item, and a material quantity corresponding to each of the test material types, wherein the material inventory table includes at least one inventory material type and at least one material identification information corresponding to each of the inventory material types;
[0006] According to the target test material type, selecting at least one test material identification information corresponding to the target test material type from the material inventory table, wherein the target test material type is any one of the at least one test material type;
[0007] Obtaining usage record information of the material corresponding to each of the test material identification information;
[0008] Generate a test material list corresponding to the target test material type according to at least one of the test material identification information, the material quantity corresponding to the target test material type, and the usage record information of the material corresponding to each of the test material identification information;
[0009] A borrowing application form is generated according to the test material list corresponding to each test material type and the identification information of the test item.
[0010] The method for generating a borrowing application form provided by the present invention has the following advantages:
[0011] The test platform can select the corresponding test material identification information from the material inventory table according to the tester's needs (test material type, material quantity, etc.), and take into account the material usage record information when generating the test material list. Since the usage record information can reflect the use of the material, that is, whether the material quality meets the requirements, the borrowing application form finally generated by this solution includes the test material list determined based on the material usage record information, which can greatly reduce the possibility of testers collecting materials of poor quality, and further improve the test efficiency.
[0012] In an optional implementation, after generating a test material list corresponding to the target test material type according to at least one of the test material identification information, the material quantity corresponding to the target test material type, and the usage record information of the material corresponding to each of the test material identification information, the method further includes:
[0013] Sending a test material list corresponding to the target test material type to the client;
[0014] When an updated test material list corresponding to the target test material type is received, the borrowing application form is generated according to the updated test material list corresponding to each test material type and the identification information of the test item, wherein the updated test material list is a new test material list corresponding to the target test material type obtained after the client updates the test material list according to the first object.
[0015] Specifically, by sending the test material list to the client, testers can determine which materials meet the test requirements and which materials do not meet the test requirements based on the usage record information of the materials in the test list, and further screen the test material list. This can greatly reduce the probability of testers collecting problematic materials, reduce test delays caused by problematic materials, and improve test efficiency.
[0016] In an optional embodiment, the method further includes:
[0017] Obtaining the communication address of the test equipment bound to each of the test material identification information;
[0018] According to the communication address of the target test device, periodically obtain the real-time operation information of the material corresponding to the target test material identification information bound to the target test device from the target test device, wherein the target test material identification information is any one of the test material identification information bound to the target test device;
[0019] According to the real-time operation information of the material corresponding to the target test material identification information, the usage record information of the material corresponding to the target test material identification information is updated.
[0020] Specifically, by establishing a communication connection with the test equipment, managers can monitor the operation of materials in real time. By obtaining real-time operation information, the material usage record information can be updated, which can be used as a reference for other testers when selecting materials, reducing the possibility of testers collecting problematic materials, which can improve test efficiency.
[0021] In an optional implementation, after generating a borrowing application form according to the test material list corresponding to each test material type and the identification information of the test item, the method further includes:
[0022] Upon receiving a return instruction corresponding to the borrowing application form, obtaining starting state information and ending state information corresponding to each test material identification information, wherein the starting state information includes a starting state value corresponding to at least one performance parameter, and the ending state information includes an ending state value corresponding to each performance parameter;
[0023] Determine, according to the starting state value and the ending state value of the target performance parameter, the actual loss degree value corresponding to the target performance parameter, wherein the target performance parameter is any performance parameter of at least one of the performance parameters corresponding to the target test material identification information;
[0024] According to the identification information of the test item and the real-time operation information of the material corresponding to the identification information of the target test material periodically obtained from the target test device, the preset damage degree value corresponding to the target performance parameter is adjusted to obtain the standard loss degree value corresponding to the target performance parameter;
[0025] Determining whether an actual loss index value corresponding to the target performance parameter is greater than a standard loss degree value corresponding to the target performance parameter;
[0026] When it is determined that the actual loss index value corresponding to the target performance parameter is greater than the standard loss degree value corresponding to the target operating parameter, generating first alarm information according to the target test material identification information, the actual loss index value corresponding to the target performance parameter and the standard loss degree value;
[0027] The first alarm information is sent to the management terminal.
[0028] Specifically, when returning materials, the health status of the materials can be checked according to this solution to determine whether the actual loss value of the materials meets the standard loss value. If not, the management personnel are prompted to check the corresponding materials by sending the first alarm information. In this way, the problematic materials can be identified in time after the test is completed, avoiding the problem of low test efficiency caused by delaying the test process during the next test.
[0029] In an optional implementation, the preset damage degree value corresponding to the target performance parameter is adjusted according to the identification information of the test item and the real-time operation information of the material corresponding to the target test material identification information periodically obtained from the target test device to obtain the standard loss degree value corresponding to the target performance parameter, including:
[0030] Determining the type of the test item according to the identification information of the test item;
[0031] According to the type of the test item, determining a first adjustment value corresponding to the type of the test item;
[0032] Determine the actual running time of the material corresponding to the target test material identification information according to the real-time running information of the material corresponding to the target test material identification information periodically obtained from the target test device;
[0033] Determining a second adjustment value corresponding to the target test material identification information according to an actual running time of the material corresponding to the target test material identification information;
[0034] According to the first adjustment value and the second adjustment value, the preset damage degree value corresponding to the target performance parameter is adjusted to obtain a standard loss degree value corresponding to the target performance parameter.
[0035] Specifically, since different test items have different effects on the loss of the same material, and different operating hours have different effects on the loss of the same material, in order to make a more accurate comparison, the preset damage degree value can be adjusted according to the actual operating time and the type of test item.
[0036] In an optional implementation, the usage record information includes a wear status level;
[0037] The step of generating a test material list corresponding to the target test material type according to at least one of the test material identification information, the material quantity corresponding to the target test material type, and the use record information of the material corresponding to each of the test material identification information comprises:
[0038] Determining whether the quantity of the test material identification information is greater than the quantity of materials corresponding to the target test material type;
[0039] When it is determined that the number of the test material identification information is greater than the number of materials corresponding to the target test material type, based on the loss state level in the usage record information of the materials corresponding to each of the test material identification information and the number of materials corresponding to the target test material type, select test material identification information of a number equal to the number of materials corresponding to the target test material type from at least one test material identification information corresponding to the target test material type;
[0040] Generate a test material list corresponding to the target test material type according to the test material identification information of the same quantity as the material quantity corresponding to the target test material type and the usage record information of the materials respectively corresponding to the test material identification information of the same quantity as the material quantity corresponding to the target test material type;
[0041] or,
[0042] When it is determined that the quantity of the test material identification information is less than or equal to the quantity of materials corresponding to the target test material type, a test material list corresponding to the target test material type is generated based on each test material identification information and the usage record information of the material corresponding to each test material identification information.
[0043] Specifically, when the amount of test material identification information exceeds the actual amount of available materials, a test material list can be generated by screening out materials with better loss status, thereby reducing the possibility of collecting problematic materials.
[0044] In an optional implementation, upon receiving the return instruction corresponding to the borrowing application form, after obtaining the starting state information and the ending state information corresponding to each of the test material identification information, the method further includes:
[0045] A shutdown instruction is sent to each of the test devices.
[0046] Specifically, this solution can shut down the test equipment in a timely manner to shorten the loss time of materials.
[0047] In a second aspect, the present invention provides a device for generating a borrowing application form, the device comprising:
[0048] an acquisition module, configured to acquire a material inventory table, at least one test material type, identification information of a test item, and a material quantity corresponding to each of the test material types, wherein the material inventory table includes at least one inventory material type and at least one material identification information corresponding to each of the inventory material types;
[0049] A selection module, configured to select at least one test material identification information corresponding to the target test material type from the material inventory table according to the target test material type, wherein the target test material type is any one of the at least one test material type;
[0050] The acquisition module is further used to acquire the usage record information of the material corresponding to each of the test material identification information;
[0051] A generation module is used to generate a test material list corresponding to the target test material type based on at least one of the test material identification information, the material quantity corresponding to the target test material type, and the usage record information of the material corresponding to each of the test material identification information; and to generate a borrowing application form based on the test material list corresponding to each of the test material types and the identification information of the test item.
[0052] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for generating a borrowing application form according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0053] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for generating a borrowing application form according to the first aspect or any corresponding embodiment thereof.
[0054] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method for generating a borrowing application form according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0056] Figure 1 is a schematic diagram of the architecture of a test system according to an embodiment of the present invention;
[0057] Figure 2 is a flow chart of a method for generating a borrowing application form according to an embodiment of the present invention;
[0058] Figure 3 is a flow chart of a method for sending alarm information according to an embodiment of the present invention;
[0059] Figure 4 is a structural block diagram of an apparatus for generating a borrowing application form according to an embodiment of the present invention;
[0060] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0062] The embodiment of the present invention provides a testing system, such as Figure 1As shown, the test system includes a test platform, a client and a management end. Among them, the test platform can be a server or a server cluster, and the client and the management end can be terminals, such as desktop computers, laptops, mobile phones, etc. The number of clients and management ends can be multiple. The test platform can communicate with the test equipment through a wireless network (Wireless Fidelity, WiFi). For example, the test platform can obtain the real-time operation information of the materials carried in the test equipment, or send various control instructions to the test equipment through a RESTful interface, wherein the control instruction can be a shutdown instruction, etc. A micro control unit (Micro Control Unit, MCU) can be configured in the test equipment, and the micro control unit can be used to monitor the real-time operation information of the material. The test platform can provide a Web GUI service, and the tester can access the Web GUI service of the test platform through HTTP / HTTPS on the client to initiate a borrowing process or a returning process, etc. Managers can access the Web GUI service of the test platform through HTTP / HTTPS on the client to understand the borrowing and operation of the materials, etc. During the access to the Web GUI service, the client or the management end can communicate with the test platform using the WebScoket protocol to complete the presentation of the real-time operation information of the material.
[0063] In the process of software and hardware integration and product development, hardware testing plays a vital role. In the R&D stage, after the hardware component design is passed, it enters the testing stage. At this time, the tester can initiate the borrowing process on the client side and borrow materials that meet the test requirements and test plan from the laboratory to complete the relevant test projects. For example, the materials can be mechanical hard disk drives (HDD), graphics cards, monitors, etc.
[0064] The embodiment of the present invention provides a method for generating a borrowing application form. By generating the borrowing application form in combination with the usage record information of the material, the probability of obtaining problematic materials can be reduced, and further, the testing efficiency can be improved.
[0065] According to an embodiment of the present invention, a method embodiment for generating a borrowing application form is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0066] In this embodiment, a method for generating a borrowing application form is provided, which can be executed by the test platform in the above-mentioned test system. Figure 2 is a flow chart of a method for generating a borrowing application form according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0067] Step S201, obtaining a material inventory table, at least one test material type, identification information of a test item, and the material quantity corresponding to each test material type.
[0068] The material inventory table may include at least one inventory material type and at least one material identification information corresponding to each inventory material type. Both the test material type and the inventory material type may be represented by a part number (PN). The identification information of the test item may be the name of the test item or the number of the test item. The material identification information may be a material serial number (SN).
[0069] Specifically, the tester can fill in the identification information of the test project, the test material type and the material quantity required for each material type, the test time and other information in the client's web page or related application, and click the submit control after filling in the relevant information. In this way, the client can send the relevant information filled in by the tester to the test platform. After obtaining the relevant information filled in by the tester, the test platform can extract the material inventory table from its own stored database.
[0070] Step S202: According to the target test material type, at least one test material identification information corresponding to the target test material type is selected from the material inventory table.
[0071] The target test material type may be any test material type of at least one test material type.
[0072] Specifically, for the target test material type, the test platform can compare the target test material type with the inventory material type in the material inventory table to determine whether there are materials corresponding to the target test material type remaining in the laboratory. If yes, the corresponding material identification information can be selected as the test material identification information. If not, the target test material type can be marked with a specified type, for example, a prompt message of "no corresponding material" can be filled in. For each test material type, the test material identification information can be selected in the above manner.
[0073] Step S203, obtaining the usage record information of the material corresponding to each test material identification information.
[0074] The usage record information may include borrowing record information, returning record information, operation information of the material during the borrowing period (e.g., operation time, real-time operation value of operation parameters), wear and tear status level, and status information. The wear and tear status level may be determined by the management personnel through inspection operations when the tester returns the material each time. The status information may include the status value corresponding to at least one performance parameter.
[0075] Specifically, the test platform may store a usage record information table, which includes usage record information of materials corresponding to at least one material identification information. When selecting the test material identification information, the test platform may select the usage record information corresponding to the test material identification information in the usage record information table according to the test material identification information.
[0076] Step S204, generating a test material list corresponding to the target test material type according to at least one test material identification information, the material quantity corresponding to the target test material type, and the usage record information of the material corresponding to each test material identification information.
[0077] Specifically, since the loss degree of the material will affect the material testing process, a test material list can be generated according to the loss state level of the material. The specific process can be as follows:
[0078] Step 1: determine whether the quantity of the test material identification information is greater than the quantity of materials corresponding to the target test material type.
[0079] Step two, when it is determined that the number of test material identification information is greater than the number of materials corresponding to the target test material type, based on the loss status level in the usage record information of the materials corresponding to each test material identification information, and the number of materials corresponding to the target test material type, select test material identification information equal to the number of materials corresponding to the target test material type from at least one test material identification information corresponding to the target test material type.
[0080] The test platform can sort the test material identification information corresponding to the target test material type according to the level of loss status, and select the test material identification information sorted before the target ranking. The target ranking is positively correlated with the number of materials corresponding to the target test material type.
[0081] Step three, generating a test material list corresponding to the target test material type based on the test material identification information of the same quantity as the material quantity corresponding to the target test material type, and the usage record information of the materials respectively corresponding to the test material identification information of the same quantity as the material quantity corresponding to the target test material type.
[0082] Step 4: When it is determined that the quantity of test material identification information is less than or equal to the quantity of materials corresponding to the target test material type, a test material list corresponding to the target test material type is generated based on each test material identification information and the usage record information of the material corresponding to each test material identification information.
[0083] In some optional implementations, different test items have different requirements for the degree of loss of the same test material type, for example, test item A has a higher quality requirement for test material type A, while test item B has a lower quality requirement for test material type A. In the case of insufficient inventory materials, it may happen that some materials corresponding to the test material identification information in the above test material list do not meet the project requirements. Therefore, it can be determined whether the quality requirement of the test material type in the test item is high or low based on the identification information of the test item. If it is high, it is determined that manual intervention is required for re-screening, and if it is low, it is determined that no manual intervention is required.
[0084] Alternatively, the tester can select whether manual intervention is required in the client's Web page or related application, and the client sends the selection result to the test platform. Accordingly, after step S203, the test platform can first confirm whether the tester has selected manual intervention based on the selection result.
[0085] If manual intervention is not required, step S205 may be performed. If manual intervention is required, the following steps may be performed:
[0086] Step 1: Send the test material list corresponding to the target test material type to the client.
[0087] Step 2: When the updated test material list corresponding to the target test material type is received, a borrowing application form is generated according to the updated test material list corresponding to each test material type and the identification information of the test item.
[0088] Among them, the updated test material list is a new test material list corresponding to the target test material type obtained after the client updates the test material list according to the first object, that is, the tester further screens the test identification information included in the test material list according to the test requirements on the client. The client can update the test material list according to the tester's screening operation and send it to the test platform.
[0089] Step S205: Generate a borrowing application form according to the test material list corresponding to each test material type and the identification information of the test item.
[0090] Specifically, the test platform can generate a borrowing application form based on the user identification information of the tester, all test material types filled in by the tester, the test material list corresponding to the test material type, and the identification information of the test project. After generating the borrowing application form, the test platform can send the borrowing application form to the management end for approval by the management end, and after approval, notify the tester to collect the corresponding materials from the laboratory in a timely manner.
[0091] In some optional implementations, in order to understand the usage record information of the materials during the test process, the tester needs to install the collected materials on the corresponding test equipment and fill in the communication address of the test equipment where the materials corresponding to each test material identification information in the borrowing application form are located in the client's web page or related application. Accordingly, the test platform can obtain the communication address of the test equipment bound to each test material identification information. According to the communication address of the target test equipment, the real-time operation information of the material corresponding to the target test material identification information bound to it is periodically obtained from the target test equipment. According to the real-time operation information of the material corresponding to the target test material identification information, the usage record information of the material corresponding to the target test material identification information is updated. When the material is a HDD, the real-time operation information may include monitoring information of parameters such as reallocated sector count (ReallocatedSectorCt), spin retry count (SpinRetryCount), reallocation event count (SpinRetryCount), Ultra Direct Memory Access (UDMA), cyclic redundancy check (CRC), cyclic redundancy check error count (UDMACRCErrorCount), offline uncorrectable error (OfflineUncorrectable), reported uncorrected error (ReportUncorrect), current pending sector (Current Pending Sector), and Self-Monitoring Analysis and Report Technology (SMART) log. For example, the SMART log may include information such as what operations were performed on the material and the actual usage time of the material.
[0092] The target test material identification information is any test material identification information among the test material identification information bound to the target test equipment.
[0093] In some optional implementations, if the test platform cannot obtain the real-time operation information of the material corresponding to the target test material identification information bound to the target test device according to the communication address of the target test device, the target test material identification information can be marked to prompt the management personnel to determine the actual situation of the material corresponding to the target test material identification information in the subsequent return process. If it is determined that there is a problem with the material corresponding to the target test material identification information, it can be marked. Accordingly, when the test platform generates other test material lists later, the marked target test material identification information can be eliminated.
[0094] In this way, by marking problematic materials and excluding them when generating the bill of materials later, it is possible to effectively avoid assigning these invalid materials to new test tasks, thereby reducing test delays or errors caused by the use of problematic materials.
[0095] In some optional implementations, since different test items have different importance levels, after generating a borrowing application form, the level of the test item can be determined based on the identification information of the test item. When the level of the test item is the first level, the person in charge of the test item can be determined based on the identification information of the test item, and the borrowing application form can be first sent to the terminal where the person in charge of the test item is located. After receiving the approval notification sent by the terminal where the person in charge is located, the test platform sends it to the management terminal. When the level of the test item is the second level, the borrowing application form can be directly sent to the management terminal, and the management personnel will pass the borrowing application form to the tester. The importance level of the first level is greater than the importance level of the second level.
[0096] In the method for generating a borrowing application form provided in this embodiment, the test platform can select the corresponding test material identification information in the material inventory table according to the needs of the test personnel (test material type, material quantity, etc.), and take into account the material usage record information when generating the test material list. Since the usage record information can reflect the usage of the material, that is, whether the material quality meets the requirements, the borrowing application form finally generated by this solution includes the test material list determined according to the material usage record information, which can greatly reduce the possibility of the test personnel collecting materials of poor quality, and further, can improve the test efficiency.
[0097] In this embodiment, a method for sending alarm information is provided, which can be executed by the test platform in the above-mentioned test system. Figure 3 is a flow chart of a method for sending alarm information according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0098] Step S301, upon receiving a return instruction corresponding to a borrowing application form, obtaining start state information and end state information corresponding to each test material identification information.
[0099] The starting state information may include a starting state value corresponding to at least one performance parameter, and the ending state information may include an ending state value corresponding to each performance parameter.
[0100] Specifically, after completing the test, the tester can click on the return control on the client's Web page or related application, and the client can generate a return instruction based on the operation of clicking the return control, wherein the return instruction can include the borrowing application form identification information. When the test platform receives the return instruction, it can determine the corresponding borrowing application form based on the borrowing application form identification information. Then, the test platform can traverse each test material identification information included in the borrowing application form, and determine the bound test device based on the test material identification information, and obtain the end state information corresponding to each test material identification information from the test device. And, based on the test material identification information, obtain the corresponding starting state information in the usage record information corresponding to the test material identification information, and the starting state information is the end state information obtained in the previous test with the test material identification information.
[0101] In some optional implementations, after step S301, the test platform may send a shutdown instruction to each test device to shut down the test device in a timely manner, thereby shortening the loss time of the material.
[0102] Step S302: determining the actual loss degree value corresponding to the target performance parameter according to the initial state value and the final state value of the target performance parameter.
[0103] The target performance parameter may be any performance parameter of at least one performance parameter corresponding to the target test material identification information.
[0104] Specifically, for each performance parameter, the test platform may determine the difference between the initial state value corresponding to the performance parameter and the final state value as the actual loss degree value corresponding to the performance parameter.
[0105] Step S303, according to the identification information of the test item and the real-time operation information of the material corresponding to the target test material identification information periodically obtained from the target test equipment, the preset damage degree value corresponding to the target performance parameter is adjusted to obtain the standard loss degree value corresponding to the target performance parameter.
[0106] Specifically, for the same type of material, the degree of material loss is generally different under different operating times or under different test items. Therefore, the preset damage degree value can be adjusted accordingly according to the actual operating time and test items, and then it is determined whether a certain test causes a relatively large loss to the material. Accordingly, the following steps can be performed:
[0107] Step 1: Determine the type of the test item based on the identification information of the test item.
[0108] Among them, the type of test item can be used to indicate the impact of the test item on material loss.
[0109] Step 2: According to the type of the test item, determine a first adjustment value corresponding to the type of the test item.
[0110] Step three, according to the real-time operation information of the material corresponding to the target test material identification information periodically obtained from the target test equipment, determine the actual operation time of the material corresponding to the target test material identification information.
[0111] Step 4: Determine a second adjustment value corresponding to the target test material identification information according to the actual running time of the material corresponding to the target test material identification information.
[0112] Step five: adjusting the preset damage degree value corresponding to the target performance parameter according to the first adjustment value and the second adjustment value to obtain a standard loss degree value corresponding to the target performance parameter.
[0113] Step S304, determining whether the actual loss index value corresponding to the target performance parameter is greater than the standard loss degree value corresponding to the target performance parameter.
[0114] Step S305, when it is determined that the actual loss index value corresponding to the target performance parameter is greater than the standard loss degree value corresponding to the target operating parameter, a first alarm information is generated according to the target test material identification information, the actual loss index value corresponding to the target performance parameter and the standard loss degree value.
[0115] Step S306: Send the first alarm information to the management terminal.
[0116] Specifically, when the test platform determines that the actual loss index value of the target performance parameter is greater than the standard loss value of the target operating parameter, it means that the loss degree of the material is too large, and the management personnel need to further confirm the specific reason. Therefore, a first alarm message can be generated and sent to the management end, and the management personnel will make further confirmation when receiving the returned materials. Alternatively, when the test platform determines that the actual loss index value of the target performance parameter is less than or equal to the standard loss value of the target operating parameter, it means that the loss degree of the material is normal. For each performance parameter, it can be processed in the above manner.
[0117] In some optional implementations, since for the same test material identification information, there may be one performance parameter with problems or there may be multiple performance parameters with problems, only one alarm message may be sent for the same test material identification information to save resources.
[0118] The method for sending alarm information provided in this embodiment can detect the health of the material according to this solution when returning the material to determine whether the actual loss degree value of the material meets the standard loss degree value. If not, the management personnel are prompted to check the corresponding material by sending the first alarm information. In this way, the problematic material can be identified in time after the test is completed, avoiding the problem of low test efficiency caused by delaying the test process during the next test.
[0119] In some optional implementations, in order to reduce the problem of excessive material loss caused by the behavior of testers and to achieve real-time monitoring of materials, the test platform performs the following operations:
[0120] First, the test platform can record the time when the tester collects materials in the laboratory as the first time, and the time when the communication address of the test equipment corresponding to all the test material identification information in the test material list is obtained as the second time. According to the first time and the second time, the target time for the tester to fill in the communication address of the test equipment is calculated. According to the target time, the first indicator value corresponding to the target time is determined. The target time is inversely proportional to the first indicator value.
[0121] Second, the test platform can determine the actual usage time of each material corresponding to each test material identification information based on the real-time operation information of the material corresponding to each test material identification information obtained periodically in the borrowing application form, and further determine the usage rate based on the actual usage time and actual borrowing time of each material corresponding to the test material identification information (which can be filled in in advance by the tester in the client's web page or related application), and determine the corresponding second indicator value based on the usage rate. The usage rate is proportional to the second indicator value.
[0122] Third, the test platform can determine the number of materials with a large loss degree, and determine the corresponding third index value according to the number of materials with a large loss degree. Materials with a large loss degree may be materials with an actual loss degree value of one or more performance parameters greater than the corresponding standard loss degree value. The number of materials with a large loss degree is inversely proportional to the third index value.
[0123] Fourth, the test platform may receive a fourth index value input by the manager from the management terminal, wherein the fourth index value is determined by the manager according to the inspection result corresponding to each test material identification information in the borrowing application form.
[0124] Finally, the test platform can calculate the tester's score based on the first indicator value, the second indicator value, the third indicator value and the fourth indicator value, and determine whether the interval range of the tester's score is within the target interval range. If so, the tester can be marked. The next time the tester borrows materials, no matter what the importance level of the test project is, the corresponding borrowing application form can be sent to the terminal where the person in charge of the corresponding test project is located, and after receiving the approval notification, it will be sent to the management end.
[0125] In this way, through the above-mentioned evaluation method, the ineffective use time of materials can be reduced, and further, the test efficiency can be improved, and the impact of other operations other than some testing behaviors on the degree of material loss can also be reduced.
[0126] In this embodiment, a device for generating a borrowing application form is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made are not repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0127] This embodiment provides a device for generating a borrowing application form, such as Figure 4 As shown, including:
[0128] The acquisition module 401 is used to acquire a material inventory table, at least one test material type, identification information of a test item, and a material quantity corresponding to each test material type, wherein the material inventory table includes at least one inventory material type and at least one material identification information corresponding to each inventory material type;
[0129] A selection module 402 is used to select at least one test material identification information corresponding to the target test material type from the material inventory table according to the target test material type, wherein the target test material type is any test material type of the at least one test material type;
[0130] The acquisition module 401 is further used to acquire the usage record information of the material corresponding to each test material identification information;
[0131] The generation module 403 is used to generate a test material list corresponding to the target test material type based on at least one test material identification information, the material quantity corresponding to the target test material type, and the usage record information of the material corresponding to each test material identification information; and generate a borrowing application form based on the test material list corresponding to each test material type and the identification information of the test item.
[0132] In some optional implementations, after generating a test material list corresponding to a target test material type according to at least one test material identification information, a material quantity corresponding to the target test material type, and usage record information of a material corresponding to each test material identification information, the method further includes:
[0133] Send the test material list corresponding to the target test material type to the client;
[0134] When an updated test material list corresponding to the target test material type is received, a borrowing application form is generated according to the updated test material list corresponding to each test material type and the identification information of the test item, wherein the updated test material list is a new test material list corresponding to the target test material type obtained after the client updates the test material list according to the first object.
[0135] In some optional embodiments, the method further comprises:
[0136] Obtain the communication address of the test equipment bound to each test material identification information;
[0137] According to the communication address of the target test device, periodically obtain the real-time operation information of the material corresponding to the target test material identification information bound to the target test device from the target test device, wherein the target test material identification information is any one of the test material identification information bound to the target test device;
[0138] According to the real-time operation information of the material corresponding to the target test material identification information, the usage record information of the material corresponding to the target test material identification information is updated.
[0139] In some optional implementations, the device further includes a return module 404, the return module 404 is configured to:
[0140] Upon receiving a return instruction corresponding to the borrowing application form, obtaining starting state information and ending state information corresponding to each test material identification information, wherein the starting state information includes a starting state value corresponding to at least one performance parameter, and the ending state information includes an ending state value corresponding to each performance parameter;
[0141] Determine the actual loss degree value corresponding to the target performance parameter according to the starting state value and the ending state value of the target performance parameter, wherein the target performance parameter is any performance parameter of at least one performance parameter corresponding to the target test material identification information;
[0142] According to the identification information of the test item and the real-time operation information of the material corresponding to the identification information of the target test material periodically obtained from the target test equipment, the preset damage degree value corresponding to the target performance parameter is adjusted to obtain the standard loss degree value corresponding to the target performance parameter;
[0143] Determining whether an actual loss index value corresponding to the target performance parameter is greater than a standard loss degree value corresponding to the target performance parameter;
[0144] When it is determined that the actual loss index value corresponding to the target performance parameter is greater than the standard loss degree value corresponding to the target operating parameter, a first alarm information is generated according to the target test material identification information, the actual loss index value corresponding to the target performance parameter and the standard loss degree value;
[0145] The first alarm information is sent to the management terminal.
[0146] In some optional implementations, the return module 404 is specifically configured to:
[0147] Determine the type of the test item according to the identification information of the test item;
[0148] According to the type of the test item, determining a first adjustment value corresponding to the type of the test item;
[0149] Determine the actual running time of the material corresponding to the target test material identification information according to the real-time running information of the material corresponding to the target test material identification information periodically obtained from the target test equipment;
[0150] Determine a second adjustment value corresponding to the target test material identification information according to the actual running time of the material corresponding to the target test material identification information;
[0151] According to the first adjustment value and the second adjustment value, the preset damage degree value corresponding to the target performance parameter is adjusted to obtain the standard loss degree value corresponding to the target performance parameter.
[0152] In some optional embodiments, the usage record information includes a wear status level;
[0153] The generating module 403 is specifically used for:
[0154] Determine whether the quantity of the test material identification information is greater than the quantity of materials corresponding to the target test material type;
[0155] When it is determined that the number of test material identification information is greater than the number of materials corresponding to the target test material type, based on the loss state level in the use record information of the materials corresponding to each test material identification information and the number of materials corresponding to the target test material type, select test material identification information of the same number as the number of materials corresponding to the target test material type from at least one test material identification information corresponding to the target test material type;
[0156] Generate a test material list corresponding to the target test material type based on the test material identification information of the same quantity as the material quantity corresponding to the target test material type and the use record information of the materials respectively corresponding to the test material identification information of the same quantity as the material quantity corresponding to the target test material type;
[0157] or,
[0158] When it is determined that the quantity of test material identification information is less than or equal to the quantity of materials corresponding to the target test material type, a test material list corresponding to the target test material type is generated based on each test material identification information and the usage record information of the material corresponding to each test material identification information.
[0159] In some optional implementations, the device further includes a sending module 405, wherein the sending module 405 is configured to:
[0160] Send a shutdown command to each test device.
[0161] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0162] The device for generating a borrowing application form in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0163] The embodiment of the present invention also provides a computer device having the above Figure 4 The device for generating a borrowing application form is shown.
[0164] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.
[0165] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware integrated circuit. The hardware integrated circuit may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable logic gate array, a general purpose array logic or any combination thereof.
[0166] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0167] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0168] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0169] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0170] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0171] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0172] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for generating a borrowing application form, characterized in that: The method comprises: Obtaining a material inventory table, at least one test material type, identification information of a test item, and a material quantity corresponding to each of the test material types, wherein the material inventory table includes at least one inventory material type and at least one material identification information corresponding to each of the inventory material types; According to the target test material type, selecting at least one test material identification information corresponding to the target test material type from the material inventory table, wherein the target test material type is any one of the at least one test material type; Obtaining usage record information of the material corresponding to each of the test material identification information; Generate a test material list corresponding to the target test material type according to at least one of the test material identification information, the material quantity corresponding to the target test material type, and the usage record information of the material corresponding to each of the test material identification information; A borrowing application form is generated according to the test material list corresponding to each test material type and the identification information of the test item.
2. The method according to claim 1, characterized in that: After generating a test material list corresponding to the target test material type according to at least one of the test material identification information, the material quantity corresponding to the target test material type, and the usage record information of the material corresponding to each of the test material identification information, the method further includes: Sending a test material list corresponding to the target test material type to the client; When an updated test material list corresponding to the target test material type is received, the borrowing application form is generated according to the updated test material list corresponding to each test material type and the identification information of the test item, wherein the updated test material list is a new test material list corresponding to the target test material type obtained after the client updates the test material list according to the first object.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: Obtaining the communication address of the test equipment bound to each of the test material identification information; According to the communication address of the target test device, periodically obtain the real-time operation information of the material corresponding to the target test material identification information bound to the target test device from the target test device, wherein the target test material identification information is any one of the test material identification information bound to the target test device; According to the real-time operation information of the material corresponding to the target test material identification information, the usage record information of the material corresponding to the target test material identification information is updated.
4. The method according to claim 3, characterized in that After generating a borrowing application form according to the test material list corresponding to each test material type and the identification information of the test item, the method further includes: Upon receiving a return instruction corresponding to the borrowing application form, obtaining starting state information and ending state information corresponding to each test material identification information, wherein the starting state information includes a starting state value corresponding to at least one performance parameter, and the ending state information includes an ending state value corresponding to each performance parameter; Determine, according to the starting state value and the ending state value of the target performance parameter, the actual loss degree value corresponding to the target performance parameter, wherein the target performance parameter is any performance parameter of at least one of the performance parameters corresponding to the target test material identification information; According to the identification information of the test item and the real-time operation information of the material corresponding to the identification information of the target test material periodically obtained from the target test device, the preset damage degree value corresponding to the target performance parameter is adjusted to obtain the standard loss degree value corresponding to the target performance parameter; Determining whether an actual loss index value corresponding to the target performance parameter is greater than a standard loss degree value corresponding to the target performance parameter; When it is determined that the actual loss index value corresponding to the target performance parameter is greater than the standard loss degree value corresponding to the target operating parameter, generating first alarm information according to the target test material identification information, the actual loss index value corresponding to the target performance parameter and the standard loss degree value; The first alarm information is sent to the management terminal.
5. The method according to claim 4, characterized in that The method of adjusting the preset damage degree value corresponding to the target performance parameter according to the identification information of the test item and the real-time operation information of the material corresponding to the target test material identification information periodically obtained from the target test device to obtain the standard loss degree value corresponding to the target performance parameter includes: Determining the type of the test item according to the identification information of the test item; According to the type of the test item, determining a first adjustment value corresponding to the type of the test item; Determine the actual running time of the material corresponding to the target test material identification information according to the real-time running information of the material corresponding to the target test material identification information periodically obtained from the target test device; Determining a second adjustment value corresponding to the target test material identification information according to an actual running time of the material corresponding to the target test material identification information; According to the first adjustment value and the second adjustment value, the preset damage degree value corresponding to the target performance parameter is adjusted to obtain a standard loss degree value corresponding to the target performance parameter.
6. The method according to claim 1 or 2, characterized in that: The usage record information includes the wear status level; The step of generating a test material list corresponding to the target test material type according to at least one of the test material identification information, the material quantity corresponding to the target test material type, and the use record information of the material corresponding to each of the test material identification information comprises: Determining whether the quantity of the test material identification information is greater than the quantity of materials corresponding to the target test material type; When it is determined that the number of the test material identification information is greater than the number of materials corresponding to the target test material type, based on the loss state level in the usage record information of the materials corresponding to each of the test material identification information and the number of materials corresponding to the target test material type, select test material identification information of a number equal to the number of materials corresponding to the target test material type from at least one test material identification information corresponding to the target test material type; Generate a test material list corresponding to the target test material type according to the test material identification information of the same quantity as the material quantity corresponding to the target test material type and the usage record information of the materials respectively corresponding to the test material identification information of the same quantity as the material quantity corresponding to the target test material type; or, When it is determined that the quantity of the test material identification information is less than or equal to the quantity of materials corresponding to the target test material type, a test material list corresponding to the target test material type is generated based on each test material identification information and the usage record information of the material corresponding to each test material identification information.
7. The method according to claim 4, characterized in that When receiving the return instruction corresponding to the borrowing application form, after obtaining the starting state information and the ending state information corresponding to each of the test material identification information, the method further includes: A shutdown instruction is sent to each of the test devices.
8. A device for generating a borrowing application form, characterized in that: The device comprises: an acquisition module, configured to acquire a material inventory table, at least one test material type, identification information of a test item, and a material quantity corresponding to each of the test material types, wherein the material inventory table includes at least one inventory material type and at least one material identification information corresponding to each of the inventory material types; A selection module, configured to select at least one test material identification information corresponding to the target test material type from the material inventory table according to the target test material type, wherein the target test material type is any one of the at least one test material type; The acquisition module is further used to acquire the usage record information of the material corresponding to each of the test material identification information; A generation module is used to generate a test material list corresponding to the target test material type based on at least one of the test material identification information, the material quantity corresponding to the target test material type, and the usage record information of the material corresponding to each of the test material identification information; and to generate a borrowing application form based on the test material list corresponding to each of the test material types and the identification information of the test item.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are connected to communicate with each other, the memory stores computer instructions, and the processor executes the method for generating a borrowing application form according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for generating a borrowing application form according to any one of claims 1 to 7.
