CN110389868B - Method and system for optimizing complete machine diagnosis process of server manufacturing factory - Google Patents

Method and system for optimizing complete machine diagnosis process of server manufacturing factory Download PDF

Info

Publication number
CN110389868B
CN110389868B CN201910548011.6A CN201910548011A CN110389868B CN 110389868 B CN110389868 B CN 110389868B CN 201910548011 A CN201910548011 A CN 201910548011A CN 110389868 B CN110389868 B CN 110389868B
Authority
CN
China
Prior art keywords
test
file
flow control
server
xml file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910548011.6A
Other languages
Chinese (zh)
Other versions
CN110389868A (en
Inventor
王佩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201910548011.6A priority Critical patent/CN110389868B/en
Publication of CN110389868A publication Critical patent/CN110389868A/en
Application granted granted Critical
Publication of CN110389868B publication Critical patent/CN110389868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2247Verification or detection of system hardware configuration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Factory Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of server testing, and provides a method and a system for optimizing the whole diagnostic process of a server manufacturing factory, wherein the method comprises the following steps: after the test host is started, automatically capturing the information of the test host, and searching a corresponding flow control file in a test server according to a preset priority relation; after the corresponding process control file is found in the test server, downloading the found process control file from the test server and storing the process control file in a file named by crane; according to the process control files in the renamed files and the corresponding priority relations, diagnostic tests are carried out, so that the process control files can be maintained according to orders, clients and machine types, expansion and flexible calling are facilitated, machines of the same machine type and different categories can automatically call different process control files for testing in the same test network, a server does not need to be independently built for independent operation, and the server building and maintenance cost is reduced.

Description

Method and system for optimizing complete machine diagnosis process of server manufacturing factory
Technical Field
The invention belongs to the technical field of server testing, and particularly relates to a method and a system for optimizing the whole diagnostic process of a server manufacturing factory.
Background
In the current server manufacturing factory, after the servers are assembled into a complete machine, a series of tests are required to be carried out, including complete machine information refreshing, configuration checking, function testing and aging testing, so as to ensure that the complete machine configuration to be shipped meets the requirements, the functions are good and the performance is stable. The series of tests, commonly referred to in the industry as diagnostic tests, can be shipped from each machine only after the diagnostic test has passed.
The whole machine diagnosis test is composed of a plurality of modules which are combined together to be called a flow control file, and because the hardware of each machine type is different, the refreshing information is different and the test items to be carried out are different, the flow control file is distinguished according to the machine type under the normal condition and is placed under the fixed path of the server. And after the testing machine is started, the machine type capturing action is executed by self-starting, the flow control file is downloaded from the testing server, and the test is operated according to the content in the flow control file. The mode is a mode used by most manufacturers, and different models in the same test network can automatically run different tests.
However, more and more situations show that even with the same model, a differential test is required in many cases. For example, a certain order tightening test needs to be run for a long time, a certain machine type has a customized product, an additional test module needs to be run, and the like. In this case, the existing flow control file mode does not meet the requirement of the test, and the expansion is not flexible enough.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method for optimizing the complete machine diagnosis process of a server manufacturing factory, and aims to solve the problems that the process control file mode provided by the prior art cannot meet the test requirement and the expansion is not flexible enough.
The technical scheme provided by the invention is as follows: a method for optimizing the complete machine diagnosis process of a server manufacturing factory comprises the following steps:
after the test host is started, automatically capturing the information of the test host, and searching a corresponding flow control file in a test server according to a preset priority relation;
after the corresponding process control file is found in the test server, downloading the found process control file from the test server and storing the process control file in a file named by crane;
and carrying out diagnostic test according to the flow control file in the renamed file and the corresponding priority relation.
As an improved scheme, the step of automatically capturing the information of the test host before the test host is started up further includes the following steps:
a server whole machine flow control file is created in advance, wherein the flow control file comprises a machine type xml file, an order number xml file and a client xml file;
and storing the pre-created server whole machine flow control file in a specified directory of the test server.
As an improvement, the method further comprises the steps of:
and setting priority relations among the model, the xml file, the order number, the xml file and the client, xml file, wherein the priority relations from low level to high level are the order number, the xml file, the client, the xml file and the model, xml file.
As an improved scheme, the step of automatically capturing the information of the test host after the test host is started up and searching the corresponding process control file in the test server according to the preset priority relationship specifically includes the following steps:
according to the preset priority relationship, firstly capturing order information of the test host, and searching whether a corresponding order number, an xml file exists or not under a specified directory of the test server according to the captured order information of the test host;
after the order number and the xml file are searched, capturing client information of the test host, and searching whether a corresponding client and the xml file exist under an appointed directory of the test server according to the captured client information of the test host;
and after the client xml file is searched, capturing the model information of the test host, and searching whether a corresponding model xml file exists in a specified directory of the test server according to the captured model information of the test host.
Another object of the present invention is to provide a system for optimizing a complete machine diagnosis process of a server manufacturing plant, the system comprising:
the flow control file searching module is used for automatically capturing the information of the test host after the test host is started and searching a corresponding flow control file in the test server according to a preset priority relation;
the flow control file downloading and storing module is used for downloading the searched flow control file from the test server and storing the searched flow control file in a file named by crane after the corresponding flow control file is searched in the test server;
and the diagnostic test module is used for carrying out diagnostic test according to the flow control files in the renamed files and the corresponding priority relations.
As an improvement, the system further comprises:
the system comprises a flow control file pre-creation module, a flow control file pre-creation module and a flow control file processing module, wherein the flow control file pre-creation module is used for pre-creating a server whole machine flow control file, and the flow control file comprises a machine type xml file, an order number xml file and a client xml file;
and the flow control file storage module is used for storing the pre-created server whole machine flow control file in a specified directory of the test server.
As an improvement, the system further comprises:
and the priority relation setting module is used for setting the priority relation among the model, the xml file, the order number, the xml file and the client, and the priority relation among the order number, the xml file, the client, the xml file and the model, xml file is from low level to high level.
As an improved scheme, the process control file searching module specifically includes:
the order processing module is used for firstly capturing order information of the test host according to the preset priority relationship and searching whether a corresponding order number, an xml file exists or not under the specified directory of the test server according to the captured order information of the test host;
the client processing module is used for capturing client information of the test host after the order number and the xml file are searched, and searching whether a corresponding client exists or not under a specified directory of the test server according to the captured client information of the test host;
and the model processing module is used for capturing the model information of the test host after the client xml file is searched, and searching whether a corresponding model xml file exists under the specified directory of the test server according to the captured model information of the test host.
In the embodiment of the invention, after the test host is started, the information of the test host is automatically captured, and the corresponding process control file is searched in the test server according to the preset priority relation; after the corresponding process control file is found in the test server, downloading the found process control file from the test server and storing the process control file in a file named by crane; according to the process control files in the renamed files and the corresponding priority relations, diagnostic tests are carried out, so that the process control files can be maintained according to orders, clients and machine types, expansion and flexible calling are facilitated, machines of the same machine type and different categories can automatically call different process control files for testing in the same test network, a server does not need to be independently built for independent operation, and the server building and maintenance cost is reduced.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
FIG. 1 is a flow chart of an implementation of a method for optimizing a complete machine diagnosis process of a server manufacturing plant according to the present invention;
FIG. 2 is a flow chart illustrating an implementation of automatically capturing information of a test host and searching a corresponding process control file in a test server according to a preset priority relationship after the test host is powered on according to the present invention;
FIG. 3 is a block diagram of a system for optimizing the complete machine diagnosis process of a server manufacturing plant according to the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are merely for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
Fig. 1 shows an implementation flowchart of the method for optimizing the complete machine diagnosis process of the server manufacturing plant, which specifically includes the following steps:
in step S101, after the test host is powered on, the test host information is automatically captured, and the corresponding process control file is searched in the test server according to the preset priority relationship.
In step S102, after the corresponding process control file is found in the test server, the found process control file is downloaded from the test server and stored in a file named as a jack.
In the embodiment, all the searched flow control files are stored in the file with the same name, so that the calling of the test host is not influenced, the test host is not required to judge the form of the flow control files, and the modularized operation and management of the test program are realized.
In step S103, a diagnostic test is performed according to the flow control file in the renamed file and the corresponding priority relationship.
Before executing the step S101, the following steps need to be executed:
a server whole machine flow control file is created in advance, wherein the flow control file comprises a machine type xml file, an order number xml file and a client xml file;
and storing the pre-created server whole machine flow control file in a specified directory of the test server.
On the basis, priority relation setting is carried out on the model, the xml file, the order number, the xml file and the client, xml file, and the priority relation is from low level to high level, namely the order number, the xml file, the client, the xml file and the model, xml file.
In the embodiment of the present invention, as shown in fig. 2, after the test host is powered on, the step of automatically capturing information of the test host, and searching for a corresponding process control file in the test server according to a preset priority relationship specifically includes the following steps:
in step S201, according to the preset priority relationship, first capturing order information of the test host, and searching for whether there is a corresponding order number, xml file, in a specified directory of the test server according to the captured order information of the test host;
in step S202, after the order number and the xml file are found, the client information of the test host is captured, and whether a corresponding client exists or not is found under the specified directory of the test server according to the captured client information of the test host;
in step S203, after the client xml file is found, the model information of the test host is captured, and whether a corresponding model xml file exists is found in the specified directory of the test server according to the captured model information of the test host.
In the embodiment, the maintenance of the flow control files according to orders, clients and machine types can be simultaneously supported, the expansion and flexible calling are convenient, the test of machines of different classifications in the same test network by using different flow control files is strong in expandability, the use is flexible, the maintenance is easy, and a server does not need to be independently built to separately and independently operate. The server complete machine test is realized, the maintenance of the flow control files according to orders, clients and machine types is supported, machines in different classifications are tested by using different flow control files, and the server complete machine test system is high in expandability, flexibility and application convenience.
Fig. 3 is a block diagram illustrating a configuration of a system for optimizing a complete machine diagnosis process of a server manufacturing plant according to the present invention, and for convenience of description, only the relevant portions of the system according to the embodiment of the present invention are shown in the diagram.
The whole diagnosis process optimization system of the server manufacturing factory comprises:
the flow control file searching module 11 is used for automatically capturing the information of the test host after the test host is started up, and searching a corresponding flow control file in the test server according to a preset priority relationship;
a flow control file downloading and storing module 12, configured to, after the corresponding flow control file is found in the test server, download the found flow control file from the test server, and store the flow control file in a file named by crane;
and the diagnostic test module 13 is configured to perform a diagnostic test according to the flow control file in the renamed file and the corresponding priority relationship.
In this embodiment, the system further comprises:
the flow control file pre-creation module 14 is used for pre-creating a server whole machine flow control file, wherein the flow control file comprises a machine type xml file, an order number xml file and a client xml file;
the flow control file storage module 15 is used for storing the pre-created server whole machine flow control file in the specified directory of the test server;
and the priority relation setting module 16 is used for setting the priority relation among the model, the xml file, the order number, the xml file and the client, xml file, wherein the priority relation is the order number, the xml file, the client, the xml file and the model, xml file from low level to high level.
In this embodiment of the present invention, the process control file searching module 11 specifically includes:
the order processing module 17 is configured to, according to the preset priority relationship, first capture order information of the test host, and search whether a corresponding order number, xml file, exists in a specified directory of the test server according to the captured order information of the test host;
the client processing module 18 is used for capturing the client information of the test host after the order number and the xml file are searched, and searching whether a corresponding client and the xml file exist under the specified directory of the test server according to the captured client information of the test host;
and the model processing module 19 is used for capturing the model information of the test host after the client xml file is searched, and searching whether a corresponding model xml file exists under the specified directory of the test server according to the captured model information of the test host.
In the embodiment of the invention, after the test host is started, the information of the test host is automatically captured, and the corresponding process control file is searched in the test server according to the preset priority relation; after the corresponding process control file is found in the test server, downloading the found process control file from the test server and storing the process control file in a file named by crane; according to the process control files in the renamed files and the corresponding priority relations, diagnostic tests are carried out, so that the process control files can be maintained according to orders, clients and machine types, expansion and flexible calling are facilitated, machines of the same machine type and different categories can automatically call different process control files for testing in the same test network, a server does not need to be independently built for independent operation, and the server building and maintenance cost is reduced.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (2)

1. A method for optimizing the complete machine diagnosis process of a server manufacturing factory is characterized by comprising the following steps:
when the test host is started, automatically capturing the test host information, and searching a corresponding flow control file in the test server according to a preset priority relation;
after the corresponding process control file is found in the test server, downloading the found process control file from the test server and storing the process control file in a file named by crane;
according to the flow control files in the renamed files and the corresponding priority relations, performing diagnostic tests;
after the test host is started, the step of automatically capturing the information of the test host also comprises the following steps before:
a server whole machine flow control file is created in advance, wherein the flow control file comprises a machine type xml file, an order number xml file and a client xml file;
saving a pre-created server whole machine flow control file in a specified directory of a test server;
the method further comprises the steps of:
setting priority relations among the model, the xml file, the order number, the xml file and the client, wherein the priority relations are the order number, the xml file, the client, the xml file and the model, xml file from low level to high level;
the step of automatically capturing the information of the test host after the test host is started and searching the corresponding process control file in the test server according to the preset priority relationship specifically comprises the following steps:
according to the preset priority relationship, firstly capturing order information of the test host, and searching whether a corresponding order number, an xml file exists or not under a specified directory of the test server according to the captured order information of the test host;
after the order number and the xml file are searched, capturing client information of the test host, and searching whether a corresponding client and the xml file exist under an appointed directory of the test server according to the captured client information of the test host;
and after the client xml file is searched, capturing the model information of the test host, and searching whether a corresponding model xml file exists in a specified directory of the test server according to the captured model information of the test host.
2. A system for optimizing the complete diagnosis process of a server manufacturing factory is characterized by comprising the following steps:
the flow control file searching module is used for automatically capturing the information of the test host after the test host is started and searching a corresponding flow control file in the test server according to a preset priority relation;
the flow control file downloading and storing module is used for downloading the searched flow control file from the test server and storing the searched flow control file in a file named by crane after the corresponding flow control file is searched in the test server;
the diagnostic test module is used for carrying out diagnostic test according to the flow control files in the renamed files and the corresponding priority relations;
the system further comprises:
the system comprises a flow control file pre-creation module, a flow control file pre-creation module and a flow control file processing module, wherein the flow control file pre-creation module is used for pre-creating a server whole machine flow control file, and the flow control file comprises a machine type xml file, an order number xml file and a client xml file;
the flow control file storage module is used for storing the pre-established server whole machine flow control file in a specified directory of the test server;
the system further comprises:
the priority relation setting module is used for setting the priority relation among the model, the xml file, the order number, the xml file and the client, and the priority relation among the xml file is the order number, the xml file, the client, the xml file and the model, xml file from low level to high level;
the process control file searching module specifically comprises:
the order processing module is used for firstly capturing order information of the test host according to the preset priority relationship and searching whether a corresponding order number, an xml file exists or not under the specified directory of the test server according to the captured order information of the test host;
the client processing module is used for capturing client information of the test host after the order number and the xml file are searched, and searching whether a corresponding client exists or not under a specified directory of the test server according to the captured client information of the test host;
and the model processing module is used for capturing the model information of the test host after the client xml file is searched, and searching whether a corresponding model xml file exists under the specified directory of the test server according to the captured model information of the test host.
CN201910548011.6A 2019-06-24 2019-06-24 Method and system for optimizing complete machine diagnosis process of server manufacturing factory Active CN110389868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910548011.6A CN110389868B (en) 2019-06-24 2019-06-24 Method and system for optimizing complete machine diagnosis process of server manufacturing factory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910548011.6A CN110389868B (en) 2019-06-24 2019-06-24 Method and system for optimizing complete machine diagnosis process of server manufacturing factory

Publications (2)

Publication Number Publication Date
CN110389868A CN110389868A (en) 2019-10-29
CN110389868B true CN110389868B (en) 2022-08-12

Family

ID=68285854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910548011.6A Active CN110389868B (en) 2019-06-24 2019-06-24 Method and system for optimizing complete machine diagnosis process of server manufacturing factory

Country Status (1)

Country Link
CN (1) CN110389868B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447892A (en) * 2008-11-24 2009-06-03 中兴通讯股份有限公司 Distributed test method, system and test server
CN107870863A (en) * 2017-11-28 2018-04-03 中国电子科技集团公司第五十四研究所 A kind of distributed automatization method of testing based on XML
CN108717386A (en) * 2018-05-17 2018-10-30 郑州云海信息技术有限公司 A kind of server automated diagnostic method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3776769B2 (en) * 2001-08-08 2006-05-17 株式会社東芝 File server system and control method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447892A (en) * 2008-11-24 2009-06-03 中兴通讯股份有限公司 Distributed test method, system and test server
CN107870863A (en) * 2017-11-28 2018-04-03 中国电子科技集团公司第五十四研究所 A kind of distributed automatization method of testing based on XML
CN108717386A (en) * 2018-05-17 2018-10-30 郑州云海信息技术有限公司 A kind of server automated diagnostic method and system

Also Published As

Publication number Publication date
CN110389868A (en) 2019-10-29

Similar Documents

Publication Publication Date Title
US11163731B1 (en) Autobuild log anomaly detection methods and systems
CN107844343B (en) Upgrading system and method for complex server application system
CN102622298B (en) Software testing system and method
CN107016480B (en) Task scheduling method, device and system
US20120180028A1 (en) Setting program, workflow creating method, and work flow creating apparatus
CN108881477B (en) Distributed file acquisition monitoring method
CN111158741B (en) Method and device for monitoring dependency relationship change of service module on third party class library
CN103559065A (en) Method and system for OTA (Over-the-Air Technology) upgrade
CN113434180B (en) Data processing method and device for application, server and storage medium
US20160335069A1 (en) Dependency handling for software extensions
CN104360952A (en) Software test system and software test method
CN111147291B (en) Service maintenance method and device
CN114721686A (en) Configuration data updating method and device, electronic equipment and storage medium
US9760364B2 (en) Checks for software extensions
CN110389868B (en) Method and system for optimizing complete machine diagnosis process of server manufacturing factory
US9104356B2 (en) Extendable system for preprocessing print document and method for the same
CN102270174A (en) Automatic test method and device
CN104572236B (en) A kind of Taurus projects fast construction building method
CN114448788B (en) Method, system, equipment and medium for installing switch system
CN116303348A (en) Method and system for online migration of DRDS (data distribution system) database and table division based on cap
CN112596750A (en) Application testing method and device, electronic equipment and computer readable storage medium
CN114489999A (en) Method and device for processing pipeline task, processor and electronic equipment
CN108958827B (en) Method and system for processing program upgrading fault
CN115941834B (en) Automatic operation method, device, equipment and storage medium of smart phone
CN115129610B (en) Method and system for testing aircraft engineering algorithm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant