CN110389868A - A kind of server manufacturing works complete machine diagnostic process optimization method and system - Google Patents

A kind of server manufacturing works complete machine diagnostic process optimization method and system Download PDF

Info

Publication number
CN110389868A
CN110389868A CN201910548011.6A CN201910548011A CN110389868A CN 110389868 A CN110389868 A CN 110389868A CN 201910548011 A CN201910548011 A CN 201910548011A CN 110389868 A CN110389868 A CN 110389868A
Authority
CN
China
Prior art keywords
file
row control
xml file
service device
control 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.)
Granted
Application number
CN201910548011.6A
Other languages
Chinese (zh)
Other versions
CN110389868B (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 Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave 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 Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave 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

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 present invention relates to server the field of test technology, a kind of server manufacturing works complete machine diagnostic process optimization method and system are provided, method includes: after testing host booting, test host information is automatically grabbed, and searches corresponding Row control file in testing service device according to pre-set priority relationship;After finding corresponding Row control file in testing service device, the Row control file found is downloaded from testing service device, and is stored together in the file of renaming;According in the file of renaming Row control file and corresponding priority relationship, carry out diagnostic test, so as to support to control file by order, client, type maintenance process simultaneously, convenient for extension and flexible calling, it realizes in the same test network, the machine of the same type different classifications can call different Row control files to be tested automatically, and without individually building server independent operating, reduction server is built and maintenance cost.

Description

A kind of server manufacturing works complete machine diagnostic process optimization method and system
Technical field
The invention belongs to server the field of test technology more particularly to a kind of server manufacturing works complete machine diagnostic process are excellent Change method and system.
Background technique
In current server manufacturing works, server is required to carry out a series of tests after being assembled into complete machine comprising whole Machine information refreshing, configuration inspection, functional test and burn-in test, with guarantee to shipment complete machine configuration meet the requirements, function it is good And performance is stablized.This series of tests, industry is commonly known as diagnostic test, after each complete machine only has diagnostic test to pass through, It can shipment.
Wherein, complete machine diagnostic test is made of several modules, referred to as Row control file is combined, because respectively The test item that a type hardware is different, refreshing information is different and to be carried out is also different, so Row control under normal circumstances File is distinguished by type, is placed under the fixed path of server.After test machine booting, self-starting executes crawl type Movement, downloads Row control file from testing service device, runs test according to the content in Row control file.This mode is The mode that most of producer uses realizes the different test of type automatic running different in the same test network.
But more and more situations shows to be also required to differentiating measurement in many cases even if the same type.Such as Some order adds tight test, and the time for needing to run is long, some type has customized product, needs to run additional test module Etc..In this case, existing Row control file mode is just unsatisfactory for the needs of test, extends inflexible.
Summary of the invention
For the defects in the prior art, the present invention provides a kind of server manufacturing works complete machine diagnostic process optimization sides Method, it is intended to which the Row control file mode for solving prior art offer is unsatisfactory for test needs, extends inflexible problem.
The technical solution provided by the present invention is: a kind of server manufacturing works complete machine diagnostic process optimization method, described Method includes the following steps:
After testing host booting, test host information is automatically grabbed, and surveying according to pre-set priority relationship Corresponding Row control file is searched in examination server;
After finding corresponding Row control file in the testing service device, downloaded from the testing service device The Row control file found, and store together in the file of renaming;
According in the file of renaming Row control file and corresponding priority relationship, carry out diagnostic test.
As an improvement scheme, it is described when test host booting after, automatically grab test host information the step of it Before further include following step:
Server complete machine Row control file is pre-created, the Row control file includes type .xml file, order Number .xml file and client's .xml file;
The server complete machine Row control file being pre-created is stored under the specified directory of testing service device.
As an improvement scheme, the method also includes following step:
Priority relationship setting is carried out to the type .xml file, order number .xml file and client's .xml file, Priority relationship by it is rudimentary to height be order number .xml file, client .xml file and type .xml file.
As an improvement scheme, it is described when test host booting after, automatically grab test host information, and according to pre- The priority relationship being first arranged the step of corresponding Row control file is searched in testing service device specifically include the following steps:
According to the pre-set priority relationship, the first order information of crawl test host, and foundation grabs Test host order information to the specified directory of testing service device under searched whether corresponding order number .xml file;
After having searched order number .xml file, the customer information of crawl test host, and according to the test master grabbed Corresponding client .xml file has been searched whether under the customer information of machine to the specified directory of testing service device;
After having searched client's .xml file, the model information of crawl test host, and according to the test host grabbed Model information to the specified directory of testing service device under searched whether corresponding type .xml file.
Another object of the present invention is to provide a kind of server manufacturing works complete machine diagnostic process optimization system, the systems System includes:
Row control file search module, for automatically grabbing test host information after test host is switched on, and according to Pre-set priority relationship searches corresponding Row control file in testing service device;
Row control file download preserving module finds corresponding Row control in the testing service device for working as After file, the Row control file found is downloaded from the testing service device, and store together the text of renaming In part;
Diagnostic test module, in the file according to renaming Row control file and corresponding priority close System carries out diagnostic test.
As an improvement scheme, the system also includes:
Module is pre-created in Row control file, for server complete machine Row control file, the process to be pre-created Controlling file includes type .xml file, order number .xml file and client's .xml file;
Row control file preserving module, the server complete machine Row control file for will be pre-created are stored in test Under the specified directory of server.
As an improvement scheme, the system also includes:
Priority relationship setup module, for the type .xml file, order number .xml file and client .xml File carry out priority relationship setting, priority relationship by it is rudimentary to height be order number .xml file, client .xml file and Type .xml file.
As an improvement scheme, the Row control file search module specifically includes:
Ordering Module, for according to the pre-set priority relationship, the first order of crawl test host Information, and it is corresponding according to having been searched whether under the order information to the specified directory of testing service device of the test host grabbed Order number .xml file;
Client's processing module is used for after having searched order number .xml file, the customer information of crawl test host, and according to Corresponding client .xml has been searched whether under customer information to the specified directory of testing service device according to the test host grabbed File;
Type processing module, for after having searched client's .xml file, the model information of host, and foundation to be tested in crawl Corresponding type .xml text has been searched whether under the model information to the specified directory of testing service device of the test host grabbed Part.
In embodiments of the present invention, after testing host booting, test host information is automatically grabbed, and according to presetting Priority relationship corresponding Row control file is searched in testing service device;When being found in the testing service device pair After the Row control file answered, the Row control file found is downloaded from the testing service device, and be stored in one In the file for playing renaming;According in the file of renaming Row control file and corresponding priority relationship, examined It is disconnected to test, so as to supporting to control file by order, client, type maintenance process simultaneously, being convenient for extension and flexibly calling, in fact In the present same test network, the machine of the same type different classifications can call automatically different Row control files into Row test, without individually building server independent operating, reduction server is built and maintenance cost.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described.In all the appended drawings, similar element Or part is generally identified by similar appended drawing reference.In attached drawing, each element or part might not be drawn according to actual ratio.
Fig. 1 is the implementation flow chart of server manufacturing works complete machine diagnostic process optimization method provided by the invention;
Fig. 2 be it is provided by the invention automatically grab test host information after testing host booting, and according to presetting Priority relationship the implementation flow chart of corresponding Row control file is searched in testing service device;
Fig. 3 is the structural block diagram of server manufacturing works complete machine diagnostic process optimization system provided by the invention.
Specific embodiment
It is described in detail below in conjunction with embodiment of the attached drawing to technical solution of the present invention.Following embodiment is only used for Clearly illustrate of the invention, technical solution, therefore be only used as example, and cannot be used as a limitation and limit protection model of the invention It encloses.
Fig. 1 shows the implementation flow chart of server manufacturing works complete machine diagnostic process optimization method provided by the invention, Itself specifically include the following steps:
In step s101, after testing host booting, test host information is automatically grabbed, and according to pre-set excellent First grade relationship searches corresponding Row control file in testing service device.
In step s 102, after finding corresponding Row control file in the testing service device, from the survey The Row control file found is downloaded in examination server, and is stored together in the file of renaming.
In this embodiment, all Row control files found are all stored in the file of the same title, from It is called without influencing test host, does not also need the form that test host judges Row control file, realize test program module Change operation and management.
In step s 103, according in the file of renaming Row control file and corresponding priority relationship, into Row diagnostic test.
Wherein, following step is also needed to be implemented before executing above-mentioned steps S101:
Server complete machine Row control file is pre-created, the Row control file includes type .xml file, order Number .xml file and client's .xml file;
The server complete machine Row control file being pre-created is stored under the specified directory of testing service device.
On this basis, the type .xml file, order number .xml file and client's .xml file are carried out preferential Grade relationship setting, priority relationship by it is rudimentary to height be order number .xml file, client .xml file and type .xml file.
In embodiments of the present invention, as shown in Fig. 2, automatically grabbing test host information, and press after testing host booting The step of searching corresponding Row control file in testing service device according to pre-set priority relationship specifically includes following Step:
In step s 201, according to the pre-set priority relationship, the order information of test host is grabbed first, And according to having searched whether corresponding order under the order information to the specified directory of testing service device of test host grabbed Number .xml file;
In step S202, after having searched order number .xml file, the customer information of crawl test host, and foundation is grabbed Corresponding client .xml file has been searched whether under the customer information to the specified directory of testing service device for the test host got;
In step S203, after having searched client's .xml file, the model information of crawl test host, and according to crawl To test host model information to the specified directory of testing service device under searched whether corresponding type .xml file.
In this embodiment it is possible to simultaneously support by order, client, type maintenance process control file, convenient for extension and It flexibly calls, realizes that the machine of different classifications test with different Row control files and can expand in the same test network Malleability is strong, using flexible, easy to maintain, without individually building server separates independent operating.Also achieve server complete machine Order, client, type maintenance process control file, the different Row control text of machine of different classifications are pressed in test while support Part is tested, scalability is strong, flexibility ratio is high, convenient for application.
Fig. 3 shows the structural block diagram of server manufacturing works complete machine diagnostic process optimization system provided by the invention, is Convenient for explanation, part related to the embodiment of the present invention is only gived in figure.
Server manufacturing works complete machine diagnostic process optimization system includes:
Row control file search module 11, for automatically grabbing test host information, and press after testing host booting Corresponding Row control file is searched in testing service device according to pre-set priority relationship;
Row control file download preserving module 12 finds corresponding process control for working as in the testing service device After file processed, the Row control file found is downloaded from the testing service device, and store together renaming In file;
Diagnostic test module 13, in the file according to renaming Row control file and corresponding priority close System carries out diagnostic test.
In this embodiment, the system also includes:
Module 14 is pre-created in Row control file, for server complete machine Row control file, the stream to be pre-created Process control file includes type .xml file, order number .xml file and client's .xml file;
Row control file preserving module 15, the server complete machine Row control file for will be pre-created are stored in survey Under the specified directory for trying server;
Priority relationship setup module 16, for the type .xml file, order number .xml file and client .xml file carries out priority relationship setting, priority relationship by it is rudimentary to height be order number .xml file, client .xml literary Part and type .xml file.
In embodiments of the present invention, the Row control file search module 11 specifically includes:
Ordering Module 17, for according to the pre-set priority relationship, ordering for host to be tested in crawl first Single information, and according to having searched whether correspondence under the order information to the specified directory of testing service device of test host grabbed Order number .xml file;
Client's processing module 18, for after having searched order number .xml file, grabbing the customer information of test host, and Corresponding client has been searched whether under customer information to the specified directory of testing service device according to the test host grabbed .xml file;
Type processing module 19 is used for after having searched client's .xml file, the model information of crawl test host, and according to Corresponding type .xml has been searched whether under model information to the specified directory of testing service device according to the test host grabbed File.
In embodiments of the present invention, after testing host booting, test host information is automatically grabbed, and according to presetting Priority relationship corresponding Row control file is searched in testing service device;When being found in the testing service device pair After the Row control file answered, the Row control file found is downloaded from the testing service device, and be stored in one In the file for playing renaming;According in the file of renaming Row control file and corresponding priority relationship, examined It is disconnected to test, so as to supporting to control file by order, client, type maintenance process simultaneously, being convenient for extension and flexibly calling, in fact In the present same test network, the machine of the same type different classifications can call automatically different Row control files into Row test, without individually building server independent operating, reduction server is built and maintenance cost.
The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;Although referring to aforementioned each reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified, or equivalent substitution of some or all of the technical features;And These are modified or replaceed, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution, It should all cover within the scope of the claims and the description of the invention.

Claims (8)

1. a kind of server manufacturing works complete machine diagnostic process optimization method, which is characterized in that the method includes the following steps:
After testing host booting, test host information is automatically grabbed, and take in test according to pre-set priority relationship Corresponding Row control file is searched in business device;
After finding corresponding Row control file in the testing service device, downloads and search from the testing service device The Row control file arrived, and store together in the file of renaming;
According in the file of renaming Row control file and corresponding priority relationship, carry out diagnostic test.
2. server manufacturing works complete machine diagnostic process optimization method according to claim 1, which is characterized in that described to work as After testing host booting, automatically grabbing the step of testing host information further includes before following step:
Server complete machine Row control file is pre-created, the Row control file includes type .xml file, order number .xml file and client's .xml file;
The server complete machine Row control file being pre-created is stored under the specified directory of testing service device.
3. server manufacturing works complete machine diagnostic process optimization method according to claim 2, which is characterized in that the side Method further includes following step:
Priority relationship setting is carried out to the type .xml file, order number .xml file and client's .xml file, preferentially Grade relationship by it is rudimentary to height be order number .xml file, client .xml file and type .xml file.
4. server manufacturing works complete machine diagnostic process optimization method according to claim 3, which is characterized in that described to work as After testing host booting, test host information is automatically grabbed, and according to pre-set priority relationship in testing service device The step of searching corresponding Row control file specifically include the following steps:
According to the pre-set priority relationship, the first order information of crawl test host, and according to the survey grabbed It tries to have searched whether corresponding order number .xml file under the order information to the specified directory of testing service device of host;
After having searched order number .xml file, the customer information of crawl test host, and according to the test host grabbed Corresponding client .xml file has been searched whether under customer information to the specified directory of testing service device;
After having searched client's .xml file, the model information of crawl test host, and the machine according to the test host grabbed Corresponding type .xml file has been searched whether under type information to the specified directory of testing service device.
5. a kind of server manufacturing works complete machine diagnostic process optimization system, which is characterized in that the system comprises:
Row control file search module, for automatically grabbing test host information, and according to preparatory after testing host booting The priority relationship of setting searches corresponding Row control file in testing service device;
Row control file download preserving module finds corresponding Row control file for working as in the testing service device Afterwards, the Row control file found is downloaded from the testing service device, and is stored together in the file of renaming;
Diagnostic test module, in the file according to renaming Row control file and corresponding priority relationship, into Row diagnostic test.
6. server manufacturing works complete machine diagnostic process optimization system according to claim 5, which is characterized in that the system System further include:
Module is pre-created in Row control file, for server complete machine Row control file, the Row control to be pre-created File includes type .xml file, order number .xml file and client's .xml file;
Row control file preserving module, the server complete machine Row control file for will be pre-created are stored in testing service Under the specified directory of device.
7. server manufacturing works complete machine diagnostic process optimization system according to claim 6, which is characterized in that the system System further include:
Priority relationship setup module, for the type .xml file, order number .xml file and client's .xml file Carry out priority relationship setting, priority relationship by it is rudimentary to height be order number .xml file, client .xml file and type .xml file.
8. server manufacturing works complete machine diagnostic process optimization system according to claim 7, which is characterized in that the stream Process control file search module specifically includes:
Ordering Module, for grabbing the order information of test host first according to the pre-set priority relationship, And according to having searched whether corresponding order under the order information to the specified directory of testing service device of test host grabbed Number .xml file;
Client's processing module, for after having searched order number .xml file, the customer information of host to be tested in crawl, and foundation is grabbed Corresponding client .xml file has been searched whether under the customer information to the specified directory of testing service device for the test host got;
Type processing module, for after having searched client's .xml file, the model information of host to be tested in crawl, and according to crawl To test host model information to the specified directory of testing service device under searched whether corresponding type .xml file.
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 true CN110389868A (en) 2019-10-29
CN110389868B 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003050733A (en) * 2001-08-08 2003-02-21 Toshiba Corp File server system and control method therefor
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003050733A (en) * 2001-08-08 2003-02-21 Toshiba Corp File server system and control method therefor
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
CN110389868B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
CN103577907B (en) A kind of continuous integrating method of testing and system
US9038029B2 (en) Three-dimensional GUI object stores in automation test tools
EP2474910B1 (en) Setting program, workflow creating method, and work flow creating apparatus
CN105117289A (en) Task allocation method, device and system based on cloud testing platform
CN111092752B (en) Fault positioning method and device spanning multiple network slices
CN106357738A (en) Automatic arrangement method for server cluster and device as well as system thereof
CN106980571A (en) The construction method and equipment of a kind of test use cases
CN106874189A (en) A kind of implementation method of the automatization test system of real-time data of power grid storehouse system
CN108132878A (en) The dispatching method and system of a kind of test environment
CN107015902A (en) A kind of method of testing and equipment
CN105653335A (en) Plug-in procedure control method and device
CN109656569A (en) Multi-environment application dispositions method, equipment, storage medium and device
CN101226502A (en) Automatization test method and system
Vanhove et al. Tengu: An experimentation platform for big data applications
CN109558143A (en) The method and device of application deployment in a kind of cluster
CN110309067A (en) Fixed scene method for testing pressure and device based on android system
CN111435329A (en) Automatic testing method and device
CN102799526A (en) Distributed intelligent scheduling method
CN110389868A (en) A kind of server manufacturing works complete machine diagnostic process optimization method and system
CN109885449A (en) Full link trace method
CN105404504B (en) A kind of adjustment method and device of Web component
CN110795332A (en) Automatic testing method and device
CN114691445A (en) Cluster fault processing method and device, electronic equipment and readable storage medium
CN112256588A (en) Resource allocation method for application program test, computer readable storage medium and tester
CN110795334B (en) Testing device and method

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