[go: up one dir, main page]

CN1963771A - Open type system for collecting testing data and method thereof - Google Patents

Open type system for collecting testing data and method thereof Download PDF

Info

Publication number
CN1963771A
CN1963771A CN 200510101005 CN200510101005A CN1963771A CN 1963771 A CN1963771 A CN 1963771A CN 200510101005 CN200510101005 CN 200510101005 CN 200510101005 A CN200510101005 A CN 200510101005A CN 1963771 A CN1963771 A CN 1963771A
Authority
CN
China
Prior art keywords
test
data
file
data collection
network
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
CN 200510101005
Other languages
Chinese (zh)
Other versions
CN100517243C (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.)
Mitac Computer Shunde Ltd
Original Assignee
Mitac Computer Shunde 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 Mitac Computer Shunde Ltd filed Critical Mitac Computer Shunde Ltd
Priority to CNB2005101010054A priority Critical patent/CN100517243C/en
Publication of CN1963771A publication Critical patent/CN1963771A/en
Application granted granted Critical
Publication of CN100517243C publication Critical patent/CN100517243C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

This invention disclose one open test material collection system and its method, wherein, the system comprises one servo, exchanger, multiple test machines connected through exchanger ad multiple user end computer; the servo comprises one data collection module, one data memory module, one data require bench; the data memory module comprises one database and one test program module; the system processes real time data collection through network test machine to send to database; the said data require bench is connected to database for data memory.

Description

Open type test data collection system and method
Technical Field
The present invention relates to a data collection system, and more particularly, to an open test data collection system and method.
Background
At present, in the current production line test, only the test machine is tested, but the detailed test data in the test process is not collected, and after the test is completed, only the final result, that is, the PASS and FAILED results or the test stage, is transmitted to the SFCS (short form field Control System) through the serial device input/output port or the bar code swiping mode, and the field management System only stores some simple test information. If related testers need to know the detailed conditions of the tested machine, the field management system cannot be provided, and for maintenance personnel, the maintenance personnel only know that the tested machine has problems, but the problems are only a defective bill copied by the field testers; and this approach is likely to be subject to error due to differences in human judgment.
In addition, the above-mentioned operation procedure of transferring by serial device input/output port or bar code swiping is complicated, and it may need to add a station and be equipped with personnel for operation, which increases the cost, and has low reliability and low efficiency.
Disclosure of Invention
The invention mainly aims to disclose an open type test data collection system and method, which can carry out detailed collection on test data and release the test data on the network through the network, so that a user can inquire and know the detailed condition of the test conveniently.
In order to achieve the above object, the open test data collection system of the present invention includes a server, a switch, and a plurality of test machines connected to the server through the switch. The server comprises a data collection module, a data storage module and a data query platform.
In addition, the data storage module also comprises a database and a test program module, and the database is used for storing, recording and managing test data, wherein the data mainly comprises conditions such as serial numbers, model names, test items, test states, time and the like, and can be obtained by user registration or data collection and the like. The test program storage module is used for storing test programs required for testing the test machine, and the test programs can be loaded into the test machine through a network for testing. The data query platform is connected with the database through database connection, and the data collection module is used for collecting data and transmitting the collected data to the database for storage.
In addition, the open test data collection system of the invention also comprises a plurality of client computers, the client computers are connected with the server through the network, and the client computers provide interactive user interfaces and are provided with a web browser. The user computer can log in the data query platform of the server through the interactive user interface so as to query the detailed test data of the test machine or modify the related test data.
Another aspect of the present invention provides an open test data collection method, which includes the following steps: the test machine saves the test data into a file with the suffix name of INI; the server collects data of a file with a suffix name of INI through a network; transmitting the test data in the file with the suffix name of INI to a database for storage; renaming the file with the suffix name of INI to be the file with the suffix name of TXT, and transmitting the file to a test machine through a network; executing the judgment test procedure of the test machine to judge whether the set time is reached, if the set time is reached, judging that the data collection is failed; if the file with the suffix name of TXT exists in the set time, the test program judges whether the file with the suffix name of TXT exists; if the file without the suffix name TXT is determined, the server collects data from the test machine again through the network; if the file with the suffix name of TXT is determined, deleting the file and starting to test the next test item; and the process is circulated until the whole test is completed, and the test data collection is completed.
In the method for open test data collection, the set time refers to a period from when the server starts to collect test data through a network to when data collection is completed.
The open type test information collection system and the open type test information collection method are simple and extremely practical, can provide a platform for relevant personnel to know detailed information of a test stage, are intuitive in query mode, directly adopt a webpage form, and are convenient for users to query. And the data collection is dissolved in the testing process, and the connectivity with the field management system is also increased, and the data collection is carried out along with the test without adding extra manual actions, so that the testing efficiency is improved.
Drawings
FIG. 1 is a diagram of a network architecture of an open test data collection system according to the present invention;
FIG. 2 is a functional block diagram of a server of the open test data collection system according to the present invention;
FIG. 3 is a flowchart of an open test data collection method according to the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments.
Referring to FIG. 1, a network architecture diagram of an open test data collection system according to the present invention is shown.
The open test data collection system of the present invention includes a server 102, a switch 101, and a plurality of test machines 100 connected to the server 102 through the switch 101, and the system further includes a plurality of client computers 103. The client computer 103 is connected to the server 102 through a network 104; the server 102 is connected to a plurality of test machines 100 through the switch 101.
FIG. 2 is a functional block diagram of a server of the open data collection system according to the present invention. The server 102 includes a data collection module 201, a data storage module 202, and a data query platform 203. The data storage module 202 further includes a database 204 and a test program module 205 for storing a test program required for the test of the test machine 100. The database 204 is used for storing, recording and managing related test data, and the test data mainly includes serial number, model name, test item, test status, time, etc., which can be obtained by user registration or data collection, etc. The data collection module 201 is configured to collect data and transmit the collected data to the database 204, and the data collection module 201 may include a data collection program, and the data collection program is a service program for multi-threaded database operation written in a visualization programming language based on Windows.
The data query platform 203 is connected to the Database 204 through a Database connection, which may be an Open Database connection (ODBC) or Java (JDBC). The data query platform 203 can be divided into two parts of real-time monitoring and historical data query, and adopts a WEB mode, and provides access to a client computer 103, and any user with permission can log in the data query platform 203 through a network 104 at the client to check the real-time test record of the related product or the related historical record.
In addition, in the present invention, the client computer 103 accesses the server 102 through the network 104, which may be any one of user environments such as Windows nt, Windows xp, or Windows2000, and provides an interactive user interface for the user, and has a web browser, and the user logs in to the data query platform 203 of the server through the interactive style user interface. The network 104, which is an electronic network, may be an Intranet (Intranet), the Internet (Internet), or other type of network.
In the embodiment, the testing apparatus 100 is a digital computer including a processor and at least one storage device, and the test is a system test performed on the digital computer, and during the test, the testing apparatus further includes a display for displaying the execution status of the test. The working process of the open type test data collection system is as follows:
first, an external storage device (magnetic disk or optical disk) loaded with a network boot program, a network driver and a judgment program is placed into the tester 100. When the testing machine 100 starts up, the processor loads the relevant programs through the input device and starts to connect with the network 104, and the connection is successful. The test program is then fetched from the test program module 205 of the server 102 via the network 104, and the version of the test program is determined, and if the version of the test program is an old version, a version error message is shown on a display screen connected to the test machine 100. Otherwise, if the version of the test program is the latest version, the loading program instruction is executed and the test program for testing the testing machine 100 is loaded from the test program module 205 of the server 102 through the network 104 and sent to the storage device of the testing machine 100 for storage.
Next, during the testing process, the data collection module 201 of the server 102 starts collecting data from the testing machine 100 through the network 104, and transmits the collected data to the database 204 in the data storage module 201 for storage. Meanwhile, the data query platform 203 of the server 102 is connected to the database 204 through a database connection to access data. The user logs on the data query platform 203 through the network 104 at the user side computer 103, and the test information can be monitored in real time through the instant monitoring part of the data query platform 203.
Finally, after the test is finished, the user can also inquire the past or recent test information by logging in the historical inquiry part in the data inquiry platform 203.
Referring to FIG. 3, a data collection method of the open test data collection system of the present invention is described in detail.
First, the relevant test data and test results of the test items are generated into a predetermined format and stored in a file with a suffix name of INI file (step 302).
Meanwhile, the server executes the data collection procedure of the data collection module, collects data from the testing machine 100 through the network 104, that is, collects a file with a suffix name of INI file, and transmits the related data in the file to the database 204 for saving (steps 303 and 304). The file with the suffix name of INI file is renamed to a file with the suffix name of TXT file, and is transmitted to the storage device of the testing machine 100 through the network 104 for storage (step 305).
While the test data collection is performed from the testing machine 100 to the server 102, the test program executed in the testing machine 100 determines whether the data collection is completed or not through a set time (step 306), which is a time period from when the server 102 starts to collect data for a test item of the testing machine 100 through the network 104 to when the data collection is completed. If the detected time has reached the set time, it is determined that the test data collection failed (step 307). If the detected time does not reach the set time set by the test procedure, determine whether the storage device of the test machine 100 has a file with a suffix name of TXT (step 308); if a file with a suffix name of TXT file is detected, the file is deleted from the storage device of the test equipment 100 and the test of the next test item is started (step 309). If no file with a suffix name of TXT file is detected, it returns to step 302 for re-execution.
The cyclic collection and transmission of test data as described above continues until the entire test process is completed.
The open type test data collection System can be connected with a field management System (SFCS) through a network, and the open type test data collection System can also directly call data from the field management System in the data collection process, thereby providing great convenience in the actual test process and the test data collection process, reducing the arrangement of stations and saving the cost.

Claims (4)

1. An open test data collection system, comprising: the system comprises a server, an exchanger, a plurality of test machines connected with the server through the exchanger, and a plurality of client computers connected with the server through a network; wherein,
the server comprises a data collection module, a data storage module and a data query platform; the data storage module also comprises a database and a test program module; the database is used for storing, recording and managing test data, and can be obtained through user registration or data collection and other modes; the test program storage module is used for storing a test program required for testing the test machine, and the test program storage module is loaded into the test machine for testing through a network;
in addition, the data collection module is used for collecting data and transmitting the collected data to the database for storage; the data query platform is used for providing user query, and is connected with the database for data access.
2. The open test data collection system of claim 1, wherein: the switch is a network hub.
3. An open test data collection method, which collects test data of a test machine during testing through a network and sends the test data to a server for storage and processing, comprises the following steps:
the test machine saves the test data into a file with the suffix name of INI;
the server collects data of a file with a suffix name of INI through a network;
transmitting the test data in the file with the suffix name of INI to a database for storage;
renaming the file with the suffix name of INI to be the file with the suffix name of TXT, and transmitting the file to a test machine through a network;
executing the judgment test procedure of the test machine to judge whether the set time is reached, if the set time is reached, judging that the data collection is failed;
if the file with the suffix name of TXT exists in the set time, the test program judges whether the file with the suffix name of TXT exists;
if the file without the suffix name TXT is determined, the server collects data from the test machine again through the network;
and if the file with the suffix name of TXT is determined, deleting the file and starting the test of the next test item.
4. The method of claim 3, wherein: the set time refers to a period from the beginning of data collection of the test data by the server through the network to the end of the data collection.
CNB2005101010054A 2005-11-08 2005-11-08 Open test data collection system and method Expired - Fee Related CN100517243C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101010054A CN100517243C (en) 2005-11-08 2005-11-08 Open test data collection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101010054A CN100517243C (en) 2005-11-08 2005-11-08 Open test data collection system and method

Publications (2)

Publication Number Publication Date
CN1963771A true CN1963771A (en) 2007-05-16
CN100517243C CN100517243C (en) 2009-07-22

Family

ID=38082838

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101010054A Expired - Fee Related CN100517243C (en) 2005-11-08 2005-11-08 Open test data collection system and method

Country Status (1)

Country Link
CN (1) CN100517243C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9970715B2 (en) 2012-04-23 2018-05-15 Energy Technologies Institute Llp Thermal energy storage apparatus
CN110471799A (en) * 2018-05-11 2019-11-19 佛山市顺德区顺达电脑厂有限公司 Server test method
CN113138933A (en) * 2021-05-13 2021-07-20 网易(杭州)网络有限公司 Data table testing method, electronic device and storage medium
CN115374066A (en) * 2022-10-26 2022-11-22 北京芯可鉴科技有限公司 Remote visualization system and remote visualization method
CN115525571A (en) * 2022-10-27 2022-12-27 四川启睿克科技有限公司 Factory-based test program automatic distribution method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9970715B2 (en) 2012-04-23 2018-05-15 Energy Technologies Institute Llp Thermal energy storage apparatus
CN110471799A (en) * 2018-05-11 2019-11-19 佛山市顺德区顺达电脑厂有限公司 Server test method
CN113138933A (en) * 2021-05-13 2021-07-20 网易(杭州)网络有限公司 Data table testing method, electronic device and storage medium
CN115374066A (en) * 2022-10-26 2022-11-22 北京芯可鉴科技有限公司 Remote visualization system and remote visualization method
CN115525571A (en) * 2022-10-27 2022-12-27 四川启睿克科技有限公司 Factory-based test program automatic distribution method

Also Published As

Publication number Publication date
CN100517243C (en) 2009-07-22

Similar Documents

Publication Publication Date Title
CN100451989C (en) Software testing system and testing method
CN110704277B (en) Method for monitoring application performance, related equipment and storage medium
CN103186444B (en) A kind of performance test methods, test platform and test machine
CN102664748B (en) Interactive electronic technical manual-based online fault diagnosis equipment and online fault diagnosis method
CN109684847A (en) Self-repairing method, device, equipment and the storage medium of script loophole
CN111427313A (en) Robot management method and device, electronic equipment and storage medium
CN102143008A (en) Method and device for diagnosing fault event in data center
WO2017000424A1 (en) Protocol detection method and apparatus
US10846212B2 (en) Evidence gathering system and method
CN113946499A (en) Micro-service link tracking and performance analysis method, system, equipment and application
CN103544095A (en) Server program monitoring method and system of server program
CN116795572A (en) Method, device, medium and equipment for rapidly processing faults of automobile diagnosis software
CN100495331C (en) A solar construction method, device and system
US20050204345A1 (en) Method and apparatus for monitoring computer software
CN110740071A (en) network interface monitoring method, device and system
CN116560893B (en) Computer application program operation data fault processing system
CN112612697A (en) Software defect testing and positioning method and system based on byte code technology
CN1963771A (en) Open type system for collecting testing data and method thereof
CN114064467B (en) Resource analysis method, device, electronic device and storage medium
CN100396026C (en) System and method for performing management information base-based testing on equipment
CN106612215A (en) Integrated remote detection device and method based on Ethernet
CN100576182C (en) Real-time monitoring system and method for computer files
CN119252317A (en) RAM memory testing method, device, computer equipment and storage medium
US6470491B1 (en) Method for monitoring computer programs on window-based operating platforms
CN111143262A (en) Switching device and instrument control system and instrument control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090722

Termination date: 20121108