Order instruction deployment method and system
By extracting the instruction description document data of the order instruction, building the instruction maintenance file, and automatically completing the server test and maintenance, the problem of manual operation time-consuming and labor-intensive and poor information flow between the system is solved, and intelligent control and production efficiency improvement is achieved.
Patent Information
- Application Number
- CN202410933806.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-12-27
AI Technical Summary
In the process of customized server production, the maintenance phase before testing relies on manual operations, which leads to time-consuming and labor-intensive, error-prone, and poor information flow between systems, affecting production efficiency and quality.
By obtaining the instruction description document data of the target order instruction, extracting the order product test and maintenance information based on the preset instruction template, building the instruction maintenance file, automatically completing the test and maintenance process, reducing manual operations, and improving production efficiency.
It realizes intelligent control of customized demands, reduces manual maintenance operations, reduces the risk of errors, improves shipment efficiency, and reduces labor costs.
Smart Images

Figure CN119205240A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an order instruction deployment method and system. Background Art
[0002] With the booming development of emerging technologies such as cloud computing, artificial intelligence and big data, server customization has become an industry trend. In order to meet the high performance and high adaptability requirements of these technologies, enterprises have adopted customized server solutions to ensure that the servers can accurately match their business processes and development strategies.
[0003] The customization process starts with customer demand analysis, followed by the generation of a detailed technical instruction manual, which covers all aspects of guidance from test maintenance, label reference, preparation phase to assembly, testing, and packaging requirements. In the pre-test maintenance phase, after receiving new orders, maintenance personnel at each manufacturer need to manually screen orders with instruction numbers and download customized technical instruction manuals from the Product Life-Cycle Management (PLM) system. However, in this process, the acquisition and file download of firmware versions, component versions, and customized script codes all rely on manual operations, which is not only time-consuming and labor-intensive, but also prone to errors. In addition, manually uploading refresh files and tools to the corresponding paths of each factory's server also limits the flexibility and response speed of the production line.
[0004] Therefore, there is an urgent need for an order instruction deployment method and system to solve the above problems. Summary of the invention
[0005] In view of the problems existing in the prior art, the present invention provides an order instruction deployment method and system.
[0006] The present invention provides an order instruction deployment method, comprising: Obtain the instruction description document data corresponding to the target order instruction; Extracting the order product test maintenance information in the instruction description document data based on a preset instruction template, wherein the preset instruction template is constructed based on the test maintenance requirement item information corresponding to the target order instruction; According to the order product test maintenance information, the instruction maintenance file corresponding to the target order instruction is obtained, so as to complete the test maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file.
[0007] According to an order instruction deployment method provided by the present invention, the method further includes: Determine the test maintenance requirement item information according to the model information of the order product in the target order instruction, wherein the test maintenance requirement item information at least includes the firmware version item, component version item, customized script item and field replaceable unit item required by the order product corresponding to the target order instruction during the test maintenance process; constructing the preset instruction template according to the firmware version item, the component version item, the customized script item, and the field replaceable unit item; The extracting the order product test maintenance information in the instruction description document data based on the preset instruction template includes: Based on the firmware version item in the preset instruction template, extract the firmware version defect and change management number information of the model corresponding to the order product in the instruction description document data; Extracting the engineering change notification number information of the component corresponding to the order product in the instruction description document data based on the component version item in the preset instruction template; Based on the customized script item in the preset instruction template, extract the script defect and change management number information corresponding to the order product in the instruction description document data; Based on the field replaceable unit item in the preset instruction template, extracting field replaceable unit domain field information corresponding to the order product in the instruction description document data; The order product test and maintenance information is constructed according to the firmware version defect and change management number information, the engineering change notification number information, the script defect and change management number information and the field replaceable unit domain field information.
[0008] According to an order instruction deployment method provided by the present invention, the step of obtaining instruction description document data corresponding to a target order instruction includes: After determining that the target order instruction is not recorded in the historical order instruction maintenance information, obtaining instruction coding information in the target order instruction and model name information of the order product in the target order instruction; The instruction description document data pre-stored in the product lifecycle management system is acquired according to the instruction coding information and the model name information.
[0009] According to an order instruction deployment method provided by the present invention, the order product test maintenance information includes at least one of first version number information, second version number information, third version number information and domain field information, wherein the first version number information is firmware version defect and change management number information corresponding to the model type of the order product, the second version number information is engineering change notification number information corresponding to the component in the order product, the third version number information is script defect and change management number information corresponding to the order product, and the domain field information is field information and custom value information of the field replaceable unit corresponding to the field replaceable unit order product; The acquiring, according to the order product test maintenance information, an instruction maintenance file corresponding to the target order instruction comprises: When it is determined that the order product test and maintenance information includes the first version number information, obtaining firmware refresh information pre-stored in a defect and change management tool according to the firmware version defect and change management number information, the firmware refresh information at least including firmware refresh file download address information corresponding to the target order instruction; Acquire a first maintenance file according to the firmware update file download address information, wherein the first maintenance file is used to update the firmware information of the order product corresponding to the target order instruction; When it is determined that the order product test maintenance information includes the second version number information, obtaining component refresh information pre-stored in the product lifecycle management system according to the engineering change notification number information, the component refresh information at least including component refresh file download address information and refresh type information corresponding to the target order instruction; Acquire a second maintenance file according to the component refresh file download address information and the refresh type information, wherein the second maintenance file is used to refresh the firmware information of the component of the order product corresponding to the target order instruction; When it is determined that the order product test maintenance information includes the third version number information, according to the script defect and change management number information, the script refresh information pre-stored in the defect and change management tool is obtained, and the script refresh information at least includes the script file download address information and script tool information corresponding to the target order instruction; According to the script file download address information, a script file and a script execution tool corresponding to the script file are acquired, and the script file and the script execution tool are deployed to the corresponding execution file to obtain a third maintenance file; When it is determined that the order product test maintenance information includes the domain field information, converting the field information and the custom value information into corresponding domain field maintenance information, wherein the domain field maintenance information is used to refresh information on the field replaceable unit of the order product corresponding to the target order instruction; The instruction maintenance file is constructed according to the first maintenance file, the second maintenance file, the third maintenance file and the domain field maintenance information.
[0010] According to an order instruction deployment method provided by the present invention, the method further includes: Based on the firmware version defect and change management number information or the engineering change notification number information, determine whether there is a historical maintenance file. If so, test and maintain the order product corresponding to the target order instruction based on the historical maintenance file.
[0011] According to an order instruction deployment method provided by the present invention, the method further includes: If the corresponding maintenance file is not obtained according to the firmware refresh file download address information, the component refresh file download address information or the script file download address information, an abnormal error prompt information is generated.
[0012] According to an order instruction deployment method provided by the present invention, after acquiring the instruction maintenance file corresponding to the target order instruction according to the order product test maintenance information, and completing the test maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file, the method further includes: According to the real-time maintenance progress information of the test maintenance process, corresponding instruction maintenance processing progress display information is generated.
[0013] The present invention also provides an order instruction deployment system, comprising: An instruction monitoring module is used to obtain instruction description document data corresponding to the target order instruction; An instruction reading and parsing module, used to extract the order product test maintenance information in the instruction description document data based on a preset instruction template, wherein the preset instruction template is constructed according to the test maintenance requirement item information corresponding to the target order instruction; The maintenance deployment data processing module is used to obtain the instruction maintenance file corresponding to the target order instruction according to the order product test maintenance information, so as to complete the test maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the order instruction deployment method described above is implemented.
[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the order instruction deployment methods described above.
[0016] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the order instruction deployment method described in any one of the above is implemented.
[0017] The order instruction deployment method and system provided by the present invention extract the order product test and maintenance information from the instruction description document data corresponding to the target order instruction, and then obtain the instruction maintenance file corresponding to the target order instruction based on the order product test and maintenance information, so as to complete the test and maintenance process of the corresponding order product according to the instruction maintenance file, realize the intelligent management and control of customized needs, reduce the output of manual maintenance operations and labor costs, improve the production delivery efficiency, and reduce the risk of errors in manual operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art 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.
[0019] Figure 1 A flow chart of the order instruction deployment method provided by the present invention; Figure 2 A schematic diagram of the overall process of the order instruction deployment method provided by the present invention; Figure 3 A schematic diagram of the structure of the order instruction deployment system provided by the present invention; Figure 4 This is a schematic structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] With the rapid development of information technology, different industries and enterprises have diverse and personalized requirements for server performance, functions and reliability. On the one hand, the increasing complexity of various application scenarios, such as large-scale data processing, high concurrent access and support for specific business logic, requires targeted adjustments to servers in terms of hardware configuration, computing power, storage capacity and bandwidth. On the other hand, different business areas may have unique security needs, management needs and compliance requirements, which also prompts servers to be customized in terms of architecture design, security mechanisms and management interfaces.
[0022] On the production line, customized instructions are strictly implemented to ensure that each server is carefully assembled, rigorously tested, and thoroughly inspected for quality to achieve standards of stability and reliability that meet the personalized expectations of customers. However, in the current customized server production process, process efficiency and automation are still insufficient, especially in the pre-test maintenance stage. After receiving new orders, maintenance personnel from each manufacturer need to manually screen orders with instruction numbers and download customized technical instruction manuals from the PLM system.
[0023] In addition, the production process of customized servers involves multiple systems, such as the interaction and data exchange between the PLM system and the defect and change management tool (Clear Quest, CQ). The current integration between systems is not tight, resulting in poor information flow, increasing the complexity and error rate of data processing. For example, when downloading and uploading files, maintenance personnel need to frequently switch between different systems and manually enter path information, which not only reduces work efficiency, but may also introduce errors due to human factors, resulting in abnormal errors on the production line and quality risks of shipments. In addition, the limitations of information sharing also affect the optimization and adjustment capabilities of production plans, making it difficult to achieve optimal resource allocation and effective cost control.
[0024] Figure 1 A flow chart of the order instruction deployment method provided by the present invention is as follows: Figure 1 As shown, the present invention provides an order instruction deployment method, comprising: Step 101, obtaining instruction description document data corresponding to the target order instruction.
[0025] In the present invention, by scanning the newly scheduled order information to determine which are the newly generated order instructions, it is possible to automatically check whether new orders are added to the system based on a preset time interval (such as every hour, every day, etc.). For each new order, the instruction code is extracted, and then the newly extracted instruction codes are compared with the existing information in the current maintenance system to filter out new instruction records that have not yet been maintained in the system.
[0026] In the present invention, for each new instruction record that is screened out, it is necessary to obtain detailed document information related to the instruction, that is, a customized technical instruction specification document. In the present invention, this can be accomplished by calling the Hypertext Transfer Protocol (HTTP) interface of the PLM system. When calling the interface of the PLM system, a request containing a new instruction code is sent, so that the PLM system retrieves the corresponding technical instruction specification document according to the instruction code and returns a download address of the document.
[0027] Furthermore, after receiving the document download address returned by the PLM system, it is stored in the new instruction task table (such as Comment_Task) together with other information of the new instruction (such as instruction code, model name, etc.), so as to download and view the specific document content according to this address, that is, the instruction scan document data.
[0028] Step 102: extracting the order product test and maintenance information in the instruction description document data based on a preset instruction template, wherein the preset instruction template is constructed based on the test and maintenance requirement item information corresponding to the target order instruction.
[0029] In the present invention, the test maintenance requirement item information corresponding to the target order instruction will be determined in the early stage, including but not limited to the analysis of product type, production process and historical maintenance records. Further, based on the results of the demand analysis, one or more preset instruction templates are designed (such as customized firmware information template, field replaceable unit refresh information template and customized component refresh template, etc.). These templates define the key information points and their formats that may appear in the document, such as instruction code, firmware version CQ number, script CQ number, component material code and engineering change notice (Engineering Change Notice, referred to as ECN), etc. In one embodiment, the customized firmware information template can refer to Table 1: Table 1 Customized firmware information template
[0030] For the Field Replaceable Unit (FRU) refresh information template, refer to Table 2: Table 2 Field replaceable unit refresh information template
[0031] For customized component refresh templates, please refer to Table 3: Table 3 Customized component refresh template
[0032] Furthermore, when processing a new instruction task, firstly, according to the document download address in the new instruction task table (such as Comment_Task), the instruction description document is downloaded and archived to a specific directory of the server to ensure the security and accessibility of the document. In the present invention, the docx module in Python (or other libraries suitable for processing Word documents) is used to read the downloaded document content, thereby loading the document content into the program for subsequent information extraction operations.
[0033] In the present invention, the document content is scanned and matched according to the preset instruction template. Each information point in the template will find the corresponding text or mark in the document and extract the corresponding value. For example, regular expressions can be used to match strings in specific formats such as firmware version CQ numbers and script CQ numbers; or structured information such as component material codes and ECNs can be obtained by parsing the XML structure of the document.
[0034] Optionally, in one embodiment, the extracted information may be preliminarily cleaned and organized to remove irrelevant characters, correct format errors, or perform necessary standardization processing, for example, removing non-numeric characters in the firmware version CQ number, or unifying component material codes into a specific format.
[0035] Furthermore, the cleaned and organized information (such as instruction code, firmware version CQ number, script CQ number, component material code and corresponding ECN) is written into the instruction CQ corresponding table (such as COMMIT_ECN), thereby obtaining the order product test maintenance information.
[0036] Step 103, according to the order product test maintenance information, obtain the instruction maintenance file corresponding to the target order instruction, so as to complete the test maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file.
[0037] In the present invention, when a test maintenance task of an order product is received, the target order instruction in the task needs to be parsed first. According to the instruction, an instruction maintenance file is further generated. This file is a detailed operation guide that lists all the steps to be executed, the required resources (such as firmware files, flash scripts, tools, etc.) and the related verification and validation mechanisms according to the requirements of the target order instruction.
[0038] Specifically, in the present invention, according to the instruction maintenance file, the required firmware files, refresh scripts, tools and other resources are obtained from the corresponding system (such as CQ system, PLM system, etc.), and they are downloaded to the specified location for archiving. These downloaded resources (such as firmware files, scripts, etc.) will undergo a strict verification process, including verification of verification codes such as MD5 values and SHA256 values, to ensure the integrity and correctness of the resources.
[0039] Further, after confirming that all resources are accurate, specific testing and maintenance operations are performed according to the instructions in the instruction maintenance file, including but not limited to firmware refresh, component upgrades, and script execution. In the present invention, the operation results and related information of each step are recorded, including the steps of successful execution, the reasons for failure, etc., and these information will be saved in the corresponding temporary table or log file for subsequent auditing and tracking. If any situation of failure to obtain resources, resource verification failure, or operation execution failure is encountered during the execution process, corresponding error processing will be performed, and a series of remedial measures may be triggered or relevant personnel will be notified for processing. Figure 2 This is a schematic diagram of the overall process of the order instruction deployment method provided by the present invention. For specific processes, please refer to Figure 2 shown.
[0040] The order instruction deployment method provided by the present invention extracts the order product test and maintenance information from the instruction description document data corresponding to the target order instruction, and then obtains the instruction maintenance file corresponding to the target order instruction based on the order product test and maintenance information, thereby completing the test and maintenance process of the corresponding order product according to the instruction maintenance file, realizing intelligent management and control of customized needs, reducing the output of manual maintenance operations and labor costs, improving production delivery efficiency, and reducing the risk of errors in manual operations.
[0041] Based on the above embodiment, the method further includes: Determine the test maintenance requirement item information according to the model information of the order product in the target order instruction, wherein the test maintenance requirement item information at least includes the firmware version item, component version item, customized script item and field replaceable unit item required by the order product corresponding to the target order instruction during the test maintenance process; constructing the preset instruction template according to the firmware version item, the component version item, the customized script item, and the field replaceable unit item; The extracting the order product test maintenance information in the instruction description document data based on the preset instruction template includes: Based on the firmware version item in the preset instruction template, extract the firmware version defect and change management number information of the model corresponding to the order product in the instruction description document data; Extracting the engineering change notification number information of the component corresponding to the order product in the instruction description document data based on the component version item in the preset instruction template; Based on the customized script item in the preset instruction template, extract the script defect and change management number information corresponding to the order product in the instruction description document data; Based on the field replaceable unit item in the preset instruction template, extracting field replaceable unit domain field information corresponding to the order product in the instruction description document data; The order product test and maintenance information is constructed according to the firmware version defect and change management number information, the engineering change notification number information, the script defect and change management number information and the field replaceable unit domain field information.
[0042] In the present invention, fixed templates for each part of the technical instruction manual document are generated according to the maintenance requirements classification, and then the maintenance requirements are listed in the test maintenance content when the instruction document is generated, including firmware version, component version, customized script, FRU information and pre-installed image requirements. Further, the task processing is carried out in sequence, and according to the document download address in the new instruction task table, the document is downloaded and archived to a specific directory of the server, and the downloaded document (i.e., instruction description document data) is read using the docx module in python. Then, according to the predetermined template rules and formats, the corresponding maintenance requirement module information is extracted in sequence, and the extracted information is preliminarily cleaned and sorted, and the instruction code, firmware version CQ number, script CQ number, component material code and corresponding ECN are written into the instruction CQ corresponding table COMMIT_ECN so that the subsequent processing module can reuse the maintenance information.
[0043] Specifically, in the present invention, the firmware version item refers to the firmware version that needs to be verified or updated during the test and maintenance process of the order product corresponding to the target order instruction. Different models of equipment may require different versions of firmware to support their functions and performance. Therefore, during the test and maintenance process, it is necessary to clarify the required firmware version item to ensure the normal operation of the equipment and support of the latest functions.
[0044] The component version item refers to the version information of each replaceable or upgradeable component in the order product (such as the motherboard, hard disk, processor, etc.). During the testing and maintenance process, it is necessary to check whether the versions of these components are compatible or whether they need to be upgraded to the latest version to ensure the overall performance and stability of the device.
[0045] Customized script items refer to script programs written for specific models or specific maintenance tasks. These scripts can be used for automated testing, configuration settings, data backup or recovery, etc. During the testing and maintenance process, according to the requirements of the target order instructions, it is necessary to determine whether a specific customized script needs to be executed and prepare the corresponding script file.
[0046] FRU refers to components or modules in the equipment that can be easily replaced. During the test and maintenance process, if some parts fail or need to be upgraded, these FRUs may need to be replaced. Therefore, when determining the test and maintenance requirements, it is also necessary to consider whether the corresponding FRUs need to be prepared and their specific models and specifications.
[0047] Furthermore, after determining the test maintenance requirement information, it is necessary to build a preset instruction template. This template is a standardized document or program framework that contains all the steps, instructions, and parameters required to perform the test maintenance task. In the preset instruction template, the firmware version item indicates the firmware version that needs to be paid attention to during the test maintenance process of the order product. Based on this information, search for the firmware version record of the corresponding model in the instruction description document data. These records may contain defect information of the firmware version (such as known bugs, performance issues, etc.) and change management numbers (such as numbers used to track and record firmware version changes).
[0048] The component version item specifies the version information of each component in the order product in the preset instruction template. Based on this information, the engineering change notice (ECN) number information of the corresponding component is found in the instruction description document data. Extracting the ECN number information helps to understand the change history of the component version, evaluate the impact of the change on product performance, and determine whether corresponding maintenance measures are needed.
[0049] The customized script item specifies the script program that may need to be executed during the order product testing and maintenance process in the preset instruction template. Based on this information, the defect information and change management number of the corresponding script are searched in the instruction description document data.
[0050] The FRU item indicates the parts or modules that may need to be replaced in the order product in the preset instruction template. Based on this information, the field information of the corresponding FRU is extracted from the instruction description document data. The field information may include detailed information such as the FRU model, specification, and location.
[0051] After extracting all the above key information, detailed information on the order product test and maintenance is constructed based on this information. This information includes firmware version defect and change management number, component engineering change notification number, script defect and change management number, and FRU domain field information. This information will serve as an important basis and guidance for the execution of test and maintenance tasks, ensuring that the test and maintenance work can comprehensively and accurately cover all aspects of the order product.
[0052] Based on the above embodiment, the step of obtaining instruction description document data corresponding to the target order instruction includes: After determining that the target order instruction is not recorded in the historical order instruction maintenance information, obtaining instruction coding information in the target order instruction and model name information of the order product in the target order instruction; The instruction description document data pre-stored in the product lifecycle management system is acquired according to the instruction coding information and the model name information.
[0053] In the present invention, the production scheduling order information is scanned at fixed time intervals, and the instruction code in the order is compared with the maintained information in the current maintenance system, so as to screen out new instructions that have not been maintained, and record them in the new instruction task table Comment_Task, record their instruction code and model name, and then obtain the customized technical instruction manual document download address through the PLM system http interface, set the initial status of the order to be processed, and notify the corresponding responsible personnel of each factory to monitor the changes in order instructions in real time.
[0054] The present invention can timely discover and process new instructions that have not been recorded or maintained by regularly scanning production order information and comparing it with the information in the current maintenance system, avoiding data inconsistency problems caused by human negligence or delayed updates, and ensuring the accuracy and reliability of the order processing process. At the same time, the detailed and accurate order instructions are further verified by using the instruction description document data pre-stored in the PLM system, reducing production delays or quality problems caused by missing or incorrect information.
[0055] On the basis of the above embodiment, the order product test and maintenance information includes at least one of first version number information, second version number information, third version number information and domain field information, wherein the first version number information is firmware version defect and change management number information of the model type corresponding to the order product, the second version number information is engineering change notification number information corresponding to the component in the order product, the third version number information is script defect and change management number information corresponding to the order product, and the domain field information is field information and custom value information of the field replaceable unit corresponding to the field replaceable unit order product; The acquiring, according to the order product test maintenance information, an instruction maintenance file corresponding to the target order instruction comprises: When it is determined that the order product test and maintenance information includes the first version number information, obtaining firmware refresh information pre-stored in a defect and change management tool according to the firmware version defect and change management number information, the firmware refresh information at least including firmware refresh file download address information corresponding to the target order instruction; Acquire a first maintenance file according to the firmware update file download address information, wherein the first maintenance file is used to update the firmware information of the order product corresponding to the target order instruction; When it is determined that the order product test maintenance information includes the second version number information, obtaining component refresh information pre-stored in the product lifecycle management system according to the engineering change notification number information, the component refresh information at least including component refresh file download address information and refresh type information corresponding to the target order instruction; Acquire a second maintenance file according to the component refresh file download address information and the refresh type information, wherein the second maintenance file is used to refresh the firmware information of the component of the order product corresponding to the target order instruction; When it is determined that the order product test maintenance information includes the third version number information, according to the script defect and change management number information, the script refresh information pre-stored in the defect and change management tool is obtained, and the script refresh information at least includes the script file download address information and script tool information corresponding to the target order instruction; According to the script file download address information, a script file and a script execution tool corresponding to the script file are acquired, and the script file and the script execution tool are deployed to the corresponding execution file to obtain a third maintenance file; When it is determined that the order product test maintenance information includes the domain field information, converting the field information and the custom value information into corresponding domain field maintenance information, wherein the domain field maintenance information is used to refresh information on the field replaceable unit of the order product corresponding to the target order instruction; The instruction maintenance file is constructed according to the first maintenance file, the second maintenance file, the third maintenance file and the domain field maintenance information.
[0056] In the present invention, data verification is first performed on the order product test maintenance information to ensure the integrity and accuracy of the module information, and then the corresponding instruction maintenance operation is executed according to the relevant content contained in the order product test maintenance information.
[0057] Specifically, when the order product test maintenance information contains customized firmware information (i.e., firmware version defects and change management number information), first, according to the read version CQ number, obtain the FTP URL release path, file MD5 value, and file SHA256 value of the refresh version file package from the CQ system related table interface, and download the archive release file package to FW / CQ number / file name, so that the corresponding maintenance refresh file, i.e., the first maintenance file, can be obtained according to the firmware type (such as BIOS\BMC\CMC) and model analysis, and verify whether its MD5 value and SHA256 value meet expectations. Finally, deploy the archive refresh file to / diagshare / sysdiag / Firmware / corresponding model / firmware type / , generate the corresponding firmware type maintenance information, and record it in the instruction maintenance temporary table.
[0058] When the order product test maintenance information contains customized component refresh information (i.e., engineering change notification number information), the EC name, material description, refresh type, refresh file package path, file MD5 value, and component FW version are obtained from the PLM system according to the ECN code corresponding to the component FW. In one embodiment, when the refresh type is an online refresh, the refresh file package is downloaded and archived under PARTS / ECN code or CQ number / refresh file name, and the material description, refresh file package, online refresh method manual, and refresh tool are parsed to obtain its material type and refresh file, determine whether to set additional attributes, and determine whether to force refresh and power off operations based on the refresh operation. Finally, deploy the archived upgrade file to / diagshare / sysdiag / Firmware / component type / abbreviation / , generate the refresh maintenance information of the component material, and record it in the component refresh temporary table.
[0059] When the order product test maintenance information contains customized script information (i.e., script defects and change management number information), the script FTP download path is obtained from the CQ system according to the script CQ number, the original script is downloaded and archived to FILE / CQ number / , and the script is edited to add the operation of placing the required tools in the execution directory. At the same time, log printing and script execution return value verification are added, and the renamed script name is saved as CQ number. In the present invention, the tools and scripts are deployed to the / diagshare / sysdiag / Command path, and the corresponding maintenance information is generated to the command maintenance temporary table.
[0060] When the order product test maintenance information contains FRU refresh information (ie, domain field information), the domain field maintenance information is converted and generated according to the domain field and customized value in the instruction, and recorded in the instruction maintenance temporary table.
[0061] Based on the above embodiment, the method further includes: Based on the firmware version defect and change management number information or the engineering change notification number information, determine whether there is a historical maintenance file. If so, test and maintain the order product corresponding to the target order instruction based on the historical maintenance file.
[0062] In the present invention, data verification is performed on the order product test maintenance information to ensure the integrity and accuracy of the information. Then, according to the CQ number information or ECN number information, it is queried from the table COMMIT_ECN whether there is a maintained reusable maintenance record. If there is a reusable record, the corresponding maintenance information is directly obtained and copied. If there is no reusable record, the data is converted and formatted as necessary according to the maintenance requirements of each part, and recorded in turn in the command maintenance temporary table Command_Temp and the component refresh maintenance temporary table Flash_Temp.
[0063] The present invention queries historical maintenance records based on firmware version defects and change management numbers (CQ numbers) or engineering change notification numbers (ECN numbers), and can quickly determine whether there are maintained and reusable maintenance records. If so, these records are directly acquired and copied, avoiding repeated execution of the same test and maintenance steps, thereby significantly improving work efficiency. In the case of no reusable records, the necessary conversion and formatting of the data can be automatically performed according to the preset maintenance requirements, and recorded in the corresponding temporary table, reducing the need for manual intervention, reducing the error rate, and speeding up the processing speed.
[0064] Based on the above embodiment, the method further includes: If the corresponding maintenance file is not obtained according to the firmware refresh file download address information, the component refresh file download address information or the script file download address information, an abnormal error prompt information is generated.
[0065] In the present invention, during the entire order instruction deployment process, possible errors (such as document reading failure and network interruption, etc.) are captured and processed, key information and error conditions in the operation process are recorded in detail, the status in the instruction task table is updated and abnormal information is recorded to facilitate subsequent analysis and troubleshooting. In the event that the corresponding refresh file cannot be obtained or the file is released abnormally, an abnormal error prompt message is generated for error processing.
[0066] On the basis of the above embodiment, after acquiring the instruction maintenance file corresponding to the target order instruction according to the order product test maintenance information, and completing the test maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file, the method further includes: According to the real-time maintenance progress information of the test maintenance process, corresponding instruction maintenance processing progress display information is generated.
[0067] In the present invention, by adding instruction task management and pre-maintenance tab pages in the order maintenance management system, the instruction task table processing status is displayed in real time through the instruction task management page in the system. When it is determined that the new instruction task has been processed and there is no error information, if the instruction maintenance information on the pre-maintenance page is checked for abnormalities, the order instruction deployment status is automatically synchronized to the instruction maintenance formal table to complete the instruction maintenance. When the automatic processing fails, after manually checking and resolving the abnormality according to the remark information, the task status is modified to pending, and automatic parsing is performed again.
[0068] The order instruction deployment system provided by the present invention is described below. The order instruction deployment system described below and the order instruction deployment method described above can be referenced to each other.
[0069] Figure 3 A schematic diagram of the structure of the order instruction deployment system provided by the present invention, such as Figure 3 As shown, the present invention provides an order instruction deployment system, including an instruction monitoring module 301, an instruction reading and parsing module 302 and a maintenance deployment data processing module 303, wherein the instruction monitoring module 301 is used to obtain instruction description document data corresponding to a target order instruction; the instruction reading and parsing module 302 is used to extract order product test maintenance information in the instruction description document data based on a preset instruction template, wherein the preset instruction template is constructed according to the test maintenance requirement item information corresponding to the target order instruction; the maintenance deployment data processing module 303 is used to obtain the instruction maintenance file corresponding to the target order instruction according to the order product test maintenance information, so as to complete the test maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file.
[0070] The order instruction deployment system provided by the present invention extracts the order product test and maintenance information from the instruction description document data corresponding to the target order instruction, and then obtains the instruction maintenance file corresponding to the target order instruction based on the order product test and maintenance information, thereby completing the test and maintenance process of the corresponding order product according to the instruction maintenance file, realizing intelligent management and control of customized needs, reducing the output of manual maintenance operations and labor costs, improving production delivery efficiency, and reducing the risk of errors in manual operations.
[0071] Based on the above embodiment, the system further includes an instruction maintenance processing progress and synchronization module, which is used to generate corresponding instruction maintenance processing progress display information according to the real-time maintenance progress information of the test maintenance process.
[0072] The system provided by the present invention is used to execute the above-mentioned method embodiments. Please refer to the above-mentioned embodiments for the specific processes and detailed contents, which will not be repeated here.
[0073] Figure 4 A schematic diagram of the structure of an electronic device provided by the present invention, such as Figure 4As shown, the electronic device may include: a processor (Processor) 401, a communication interface (Communications Interface) 402, a memory (Memory) 403 and a communication bus 404, wherein the processor 401, the communication interface 402, and the memory 403 complete mutual communication through the communication bus 404. The processor 401 may call the logic instructions in the memory 403 to execute the order instruction deployment method, which includes: obtaining the instruction description document data corresponding to the target order instruction; based on a preset instruction template, extracting the order product test maintenance information in the instruction description document data, wherein the preset instruction template is constructed according to the test maintenance requirement item information corresponding to the target order instruction; according to the order product test maintenance information, obtaining the instruction maintenance file corresponding to the target order instruction, so as to complete the test maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file.
[0074] In addition, the logic instructions in the above-mentioned memory 403 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of 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 method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0075] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the order instruction deployment method provided by the above-mentioned methods, and the method includes: obtaining instruction description document data corresponding to the target order instruction; based on a preset instruction template, extracting order product test and maintenance information in the instruction description document data, wherein the preset instruction template is constructed according to the test and maintenance requirement item information corresponding to the target order instruction; according to the order product test and maintenance information, obtaining the instruction maintenance file corresponding to the target order instruction, so as to complete the test and maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file.
[0076] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the order instruction deployment method provided in the above-mentioned embodiments, the method comprising: obtaining instruction description document data corresponding to a target order instruction; based on a preset instruction template, extracting order product test and maintenance information in the instruction description document data, wherein the preset instruction template is constructed based on the test and maintenance requirement item information corresponding to the target order instruction; based on the order product test and maintenance information, obtaining the instruction maintenance file corresponding to the target order instruction, so as to complete the test and maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file.
[0077] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0078] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for deploying order instructions, characterized in that: include: Obtain the instruction description document data corresponding to the target order instruction; Extracting the order product test maintenance information in the instruction description document data based on a preset instruction template, wherein the preset instruction template is constructed based on the test maintenance requirement item information corresponding to the target order instruction; According to the order product test maintenance information, the instruction maintenance file corresponding to the target order instruction is obtained, so as to complete the test maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file.
2. The order instruction deployment method according to claim 1, characterized in that: The method further comprises: Determine the test maintenance requirement item information according to the model information of the order product in the target order instruction, wherein the test maintenance requirement item information at least includes the firmware version item, component version item, customized script item and field replaceable unit item required by the order product corresponding to the target order instruction during the test maintenance process; constructing the preset instruction template according to the firmware version item, the component version item, the customized script item, and the field replaceable unit item; The extracting the order product test maintenance information in the instruction description document data based on the preset instruction template includes: Based on the firmware version item in the preset instruction template, extract the firmware version defect and change management number information of the model corresponding to the order product in the instruction description document data; Extracting the engineering change notification number information of the component corresponding to the order product in the instruction description document data based on the component version item in the preset instruction template; Based on the customized script item in the preset instruction template, extract the script defect and change management number information corresponding to the order product in the instruction description document data; Based on the field replaceable unit item in the preset instruction template, extracting field replaceable unit domain field information corresponding to the order product in the instruction description document data; The order product test and maintenance information is constructed according to the firmware version defect and change management number information, the engineering change notification number information, the script defect and change management number information and the field replaceable unit domain field information.
3. The order instruction deployment method according to claim 2, characterized in that: The step of obtaining instruction description document data corresponding to the target order instruction includes: After determining that the target order instruction is not recorded in the historical order instruction maintenance information, obtaining instruction coding information in the target order instruction and model name information of the order product in the target order instruction; The instruction description document data pre-stored in the product lifecycle management system is acquired according to the instruction coding information and the model name information.
4. The order instruction deployment method according to claim 1, characterized in that: The order product test and maintenance information includes at least one of first version number information, second version number information, third version number information and domain field information, wherein the first version number information is the firmware version defect and change management number information of the model type corresponding to the order product, the second version number information is the engineering change notification number information corresponding to the component in the order product, the third version number information is the script defect and change management number information corresponding to the order product, and the domain field information is the field information and custom value information of the field replaceable unit corresponding to the field replaceable unit order product; The acquiring, according to the order product test maintenance information, an instruction maintenance file corresponding to the target order instruction comprises: When it is determined that the order product test and maintenance information includes the first version number information, obtaining firmware refresh information pre-stored in a defect and change management tool according to the firmware version defect and change management number information, the firmware refresh information at least including firmware refresh file download address information corresponding to the target order instruction; Acquire a first maintenance file according to the firmware update file download address information, wherein the first maintenance file is used to update the firmware information of the order product corresponding to the target order instruction; When it is determined that the order product test maintenance information includes the second version number information, obtaining component refresh information pre-stored in the product lifecycle management system according to the engineering change notification number information, the component refresh information at least including component refresh file download address information and refresh type information corresponding to the target order instruction; Acquire a second maintenance file according to the component refresh file download address information and the refresh type information, wherein the second maintenance file is used to refresh the firmware information of the component of the order product corresponding to the target order instruction; When it is determined that the order product test maintenance information includes the third version number information, according to the script defect and change management number information, the script refresh information pre-stored in the defect and change management tool is obtained, and the script refresh information at least includes the script file download address information and script tool information corresponding to the target order instruction; According to the script file download address information, a script file and a script execution tool corresponding to the script file are acquired, and the script file and the script execution tool are deployed to the corresponding execution file to obtain a third maintenance file; When it is determined that the order product test maintenance information includes the domain field information, converting the field information and the custom value information into corresponding domain field maintenance information, wherein the domain field maintenance information is used to refresh information on the field replaceable unit of the order product corresponding to the target order instruction; The instruction maintenance file is constructed according to the first maintenance file, the second maintenance file, the third maintenance file and the domain field maintenance information.
5. The order instruction deployment method according to claim 4, characterized in that: The method further comprises: According to the firmware version defect and change management number information or the engineering change notification number information, determine whether there is a historical maintenance file. If so, test and maintain the order product corresponding to the target order instruction according to the historical maintenance file.
6. The order instruction deployment method according to claim 4, characterized in that: The method further comprises: If the corresponding maintenance file is not obtained according to the firmware refresh file download address information, the component refresh file download address information or the script file download address information, an abnormal error prompt information is generated.
7. The order instruction deployment method according to any one of claims 1 to 6, characterized in that: After acquiring the instruction maintenance file corresponding to the target order instruction according to the order product test maintenance information, and completing the test maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file, the method further includes: According to the real-time maintenance progress information of the test maintenance process, corresponding instruction maintenance processing progress display information is generated.
8. An order instruction deployment system, characterized in that: include: An instruction monitoring module is used to obtain instruction description document data corresponding to the target order instruction; An instruction reading and parsing module, used to extract the order product test maintenance information in the instruction description document data based on a preset instruction template, wherein the preset instruction template is constructed according to the test maintenance requirement item information corresponding to the target order instruction; The maintenance deployment data processing module is used to obtain the instruction maintenance file corresponding to the target order instruction according to the order product test maintenance information, so as to complete the test maintenance process of the order product corresponding to the target order instruction according to the instruction maintenance file.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the order instruction deployment method as described in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the order instruction deployment method as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Satellite automated test frame system
CN101216712A
Test data generation method and device, controller and medium
CN110119353A
Multi-interface scene test method and system, electronic equipment and medium
CN115687066A
Remote upgrade automatic test system and method
CN118200962A
