CN106844128A - A kind of whole machine testing method of computer based on soar platform and kylin operating system - Google Patents
A kind of whole machine testing method of computer based on soar platform and kylin operating system Download PDFInfo
- Publication number
- CN106844128A CN106844128A CN201710080073.XA CN201710080073A CN106844128A CN 106844128 A CN106844128 A CN 106844128A CN 201710080073 A CN201710080073 A CN 201710080073A CN 106844128 A CN106844128 A CN 106844128A
- Authority
- CN
- China
- Prior art keywords
- computer
- whole machine
- machine testing
- interface
- operating system
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
Abstract
The present invention discloses a kind of whole machine testing method of computer based on soar platform and kylin operating system, including:Step S100:Obtain the COMPUTER DETECTION instruction of user's triggering, the whole machine testing interface of generation computer;Step S200:User is input into computer type to be measured on the whole machine testing interface of computer, and corresponding functional module list is obtained according to computer type, and test order is determined according to feature list;Step S300:Computer to be measured is tested according to test order, and is shown on computer system test interface;Step S400:Record the identifier of computer to be measured and generate test result record, exit computer system test interface.When being detected to the whole machine of computer on a production line, detection ease-to-operate and testing efficiency are improve, intactly whole machine various functions can be scanned, it is ensured that the outgoing of whole machine.All of operation is all recorded, and identifies the good unique identification code related to machine, be easy to later stage retrospective.
Description
Technical field
The present invention relates to computer hardware technology field, more particularly to one kind is based on soar platform and kylin operating system
The whole machine testing method of computer.
Background technology
Domestic autonomous controllable computer processor uses kylin operating system using chip of soaring, the operating system of prepackage.
There is presently no instrument or software that automatic test is carried out to domestic autonomous controllable computer, side that can only be manually manual
Required tested entries are tested by formula item by item.System test pair as if the whole machine that has been fully assembled, in whole machine
Need to test the total interface that can be seen on cabinet during test, such as the front audio interface and USB interface of cabinet.
The shortcoming manually tested item by item tested entries, is exactly inefficiency, complex operation, test result inconvenience record
Deng.
Therefore when on a production line to being detected based on the whole machine of the computer of platform and kylin operating system of soaring, how
The testing efficiency of detection ease-to-operate and the whole machine of computer is improved, and realizes the trackability of all tests and operation, from
And ensure the outgoing of the whole machine of computer, it is those skilled in the art's problem demanding prompt solution.
The content of the invention
The technical problem to be solved in the present invention is the drawbacks described above for overcoming prior art to exist, there is provided one kind is based on soaring
The whole machine testing method of computer of platform and kylin operating system, on a production line to based on platform and the kylin operating system of soaring
Computer whole machine when being detected, how to improve the testing efficiency of detection ease-to-operate and the whole machine of computer, and realize
All tests and the trackability of operation, so as to ensure the outgoing of the whole machine of computer.
The present invention provides a kind of whole machine testing method of computer based on soar platform and kylin operating system, methods described
Including:
Step S100:Obtain the COMPUTER DETECTION instruction of user's triggering, the whole machine testing interface of generation computer;
Step S200:User is input into computer type to be measured on the whole machine testing interface of computer, is obtained according to computer type
Corresponding functional module list, test order is determined according to feature list;
Step S300:Computer to be measured is tested according to test order, and is shown on computer system test interface;
Step S400:Record the identifier of computer to be measured and generate test result record, exit computer system test interface.
Preferably, the step S300 is specially:
S301:Computer essential information is checked, and computer essential information is shown on computer system test interface.
Preferably, also include after the step S301:
S302:Computer time is set, and computer time is shown on computer system test interface.
Preferably, also include after the step S302:
S303:Detection CD-ROM drive and disk-read function, and whether just to show CD-ROM drive and disk-read function on computer system test interface
Often.
Preferably, also include after the step S303:
S304:Test camera function, and show whether camera function is normal on computer system test interface.
Preferably, also include after the step S304:
S305:Test tone video capability, and show whether audio frequency and video function is normal on computer system test interface.
Preferably, also include after the step S305:
S306:Detection USB port, and show whether USB port is normal on computer system test interface.
Preferably, also include after the step S306:
S307:The detection network port, and show whether the network port is normal on computer system test interface.
Preferably, the identifier of the computer in the step S400 is the MAC Address of computer.
Preferably, the computer system test interface is formed using linux shell Script Programmings.
When on a production line to being detected based on the whole machine of the computer of platform and kylin operating system of soaring, inspection is improve
Survey the testing efficiency of ease-to-operate and the whole machine of computer.Corresponding functional module list is obtained according to computer type, according to
Feature list determines test order, realizes the modularization of Function detection, and intactly whole machine various functions can be scanned,
Ensure that the outgoing of whole machine.All of operation is all recorded, and identifies the good unique identification code related to machine,
The log collection and problem for being easy to the later stage are reviewed.
Brief description of the drawings
Fig. 1 for the first implementation method provide based on the whole machine testing side of the computer of platform and kylin operating system of soaring
The flow chart of method;
The whole machine testing method of computer based on soar platform and kylin operating system that Fig. 2 is provided for second implementation method
Flow chart.
Specific embodiment
In order that those skilled in the art will better understand the technical solution of the present invention, below in conjunction with the accompanying drawings to the present invention
It is described in further detail.
Referring to Fig. 1, Fig. 1 is whole for the computer based on soar platform and kylin operating system that the first implementation method is provided
The flow chart of machine testing method.
The present invention provides a kind of whole machine testing method of computer based on soar platform and kylin operating system, methods described
Including:
Step S100:Obtain the COMPUTER DETECTION instruction of user's triggering, the whole machine testing interface of generation computer;
Step S200:User is input into computer type to be measured on the whole machine testing interface of computer, is obtained according to computer type
Corresponding functional module list, test order is determined according to feature list;
Step S300:Computer to be measured is tested according to test order, and is shown on computer system test interface;
Step S400:Record the identifier of computer to be measured and generate test result record, exit computer system test interface.
Kylin operating system is logged on computer to be measured COMPUTER DETECTION application program is installed, user can be counted by double-clicking
The whole machine testing instruction of icon triggering computer of the COMPUTER DETECTION application program on calculation machine display, system gets user and touches
The COMPUTER DETECTION instruction of hair, the whole machine testing interface of generation computer.User is input into be measured on the whole machine testing interface of computer
Computer type, the whole machine testing interface of computer may include the input frame and display test result for user input information
Display box.I.e. user can be input into computer type to be measured in input frame, and test result is checked in display box.According to computer
Type obtains corresponding functional module list, and test order is determined according to feature list.To different type of machines computer function module
The functional module of method of testing, i.e. each computer is previously determined after being analyzed with interface characteristic has corresponding test side
Method.The computer that each type can be predefined according to functional module on the design specification book of each computer type needs test
Functional module, combined for different functional module, determine the combination of method of testing so as to formulate test order.According to test
Rule is tested computer to be measured, and shows whole test process on computer system test interface.Record meter to be measured
The identifier of calculation machine simultaneously generates test result record, exits computer system test interface
Automation based on the whole machine of the computer of platform and kylin operating system of soaring on a production line to detecting that computer is whole
Machine testing interface is interacted using concise language with user, it is ensured that the simplicity that software is used, so as to improve
The testing efficiency of detection ease-to-operate and the whole machine of computer.Corresponding functional module list, root are obtained according to computer type
Determine test order according to feature list, realize the modularization of Function detection, intactly whole machine various functions can be swept
Retouch, it is ensured that the outgoing of whole machine.All of operation is all recorded, and identifies the good unique identification related to machine
Code, the log collection and problem for being easy to the later stage is reviewed.
Preferably, the identifier of the computer in the step S400 is the MAC Address of computer.
Referring to Fig. 2, Fig. 2 is whole for the computer based on soar platform and kylin operating system that second implementation method is provided
The flow chart of machine testing method.
The difference of implementation method is specially in the step S300 in second implementation method and first:
S301:Computer essential information is checked, and computer essential information is shown on computer system test interface;
S302:Computer time is set, and computer time is shown on computer system test interface;And judge that computer is
It is no to set successfully, if set successfully showing computer time on computer system test interface, if setting is unsuccessful, computer
The user input correct time is pointed out on system test interface, input time is shown on computer system test interface.
S303:Detection CD-ROM drive and disk-read function, and show that CD-ROM drive and disk-read function are on computer system test interface
Whether there is laser disc in no normal and detection CD-ROM drive;
S304:Test camera function, and show whether camera function is normal on computer system test interface;In test
Camera pop-up is ejected on camera function computer-chronograph system test interface, user can also be observed by camera pop-up and be taken the photograph
As whether camera function is normal, camera pop-up and defeated according to the prompting on computer system test interface is closed after observation is finished
Whether normal enter camera function, input results are shown on computer system test interface;
S305:Test tone video capability, and show whether audio frequency and video function is normal on computer system test interface;In test
During audio frequency and video function, movie playback window is ejected on computer system test interface, user can pass through during movie playback
Sound control on computer and or image control button film is controlled, movie playback window is closed after observation is finished
Mouthful, and it is whether normal according to the prompting input movie playback on computer system test interface and button regulation, it is whole in computer
Input results are shown on machine test interface.
S306:Detection USB port, and show on computer system test interface USB port whether normally and USB port
On whether find access storage device;
S307:The detection network port, and show whether the network port is normal on computer system test interface;It is whole in computer
Network ip address is input on machine test interface, whether test input IP address network is normal, and at computer system test interface
Whether the upper display network port is normal.
Above-mentioned steps can determine that test process can be comprising step according to the type nominative testing of tested computer rule
The step of any number of S301 to step S307.
Preferably, the computer system test interface uses linux shell Script Programmings, and whole test process is also adopted
With linux shell Script Programmings, thus the speed of service is quickly, and the whole detection process average detected time is no more than 30 seconds.
The whole machine testing of computer is completed by liunx hardware commands, specially:
S301:Uname orders are called to obtain system kernel version information, call/proc/cpuinfo orders and lscpu orders obtain
CPU essential informations are taken ,/proc/meminfo orders acquisition internal memory essential information is called, computer essential information is obtained, and in meter
Calculation machine system test shows computer essential information on interface;
S302:Call ntpdate orders to obtain the time automatically by network, call hwclock-w to order write-in hardware rom, if
Put computer time, and computer time is shown on computer system test interface;And judge whether computer is set successfully,
If set successfully showing computer time on computer system test interface, if setting is unsuccessful, the whole machine of computer is called
Pointed out on date order test interfaces the user input correct time, and call hwclock-w to order write-in hardware rom, set
Computer time, input time is shown on computer system test interface;
S303:Call/proc/sys/dev/cdrom/info orders obtain CD-ROM drive information be used to detect CD-ROM drive, by identification put
The disk for entering, judges whether CD ROM function is normal, and shows whether are CD-ROM drive and disk-read function on computer system test interface
Whether there is laser disc in normal and detection CD-ROM drive;
S304:Test camera function, and show whether camera function is normal on computer system test interface;In test
On camera function computer-chronograph system test interface eject camera pop-up, by the built-in camera application programs of system come
Camera is opened, user can observe whether camera function is normal by camera pop-up, and closing is imaged after observation is finished
Whether head pop-up is simultaneously normal according to the prompting input camera function on computer system test interface, in computer system test
Input results are shown on interface.
S305:COBBAIF to being carried on mainboard is tested, including Line IN, Line Out and microphone jack
And the video interface to being carried on mainboard is tested, including USB interface, HDMI and DVI interface are tested, and
Show whether audio frequency and video function is normal on computer system test interface;In test tone video capability, computer system test
On interface eject movie playback window, during movie playback user can by the sound control on computer and or image
Control button is controlled to film, and movie playback window is closed after observation is finished, and according to computer system test interface
On prompting input movie playback and button regulation it is whether normal, show input results on computer system test interface.
S306:Call lspci orders to obtain usb controller informations and detect whether USB port normal, call df orders with
The u disks of carry on each usb interface are found in fdisk orders, and by mark file and the reading and writing data to being built on u disks,
Validity to u disks is verified.And show USB port whether on normal and USB port on computer system test interface
Whether discovery access storage device;
S307:After detecting network controller and network number, test one by one is carried out to each network interface card, judge that all of network connects
Whether mouth is working properly.And show whether the network port is normal on computer system test interface;In computer system test
Network ip address is input on interface, whether test input IP address network is normal, and shown on computer system test interface
Whether the network port is normal.
Above to provided by the present invention a kind of based on the whole machine testing side of the computer of platform and kylin operating system of soaring
Method is described in detail.Specific case used herein is set forth to principle of the invention and implementation method, the above
The explanation of embodiment is only intended to help and understands core concept of the invention.It should be pointed out that for the common skill of the art
For art personnel, under the premise without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these change
Enter and modify to also fall into the protection domain of the claims in the present invention.
Claims (10)
1. a kind of whole machine testing method of computer based on soar platform and kylin operating system, it is characterised in that methods described
Including:
Step S100:Obtain the COMPUTER DETECTION instruction of user's triggering, the whole machine testing interface of generation computer;
Step S200:User is input into computer type to be measured on the whole machine testing interface of computer, is obtained according to computer type
Corresponding functional module list, test order is determined according to feature list;
Step S300:Computer to be measured is tested according to test order, and is shown on computer system test interface;
Step S400:Record the identifier of computer to be measured and generate test result record, exit computer system test interface.
2. the whole machine testing method of computer based on soar platform and kylin operating system according to claim 1, it is special
Levy and be, the step S300 is specially:
S301:Computer essential information is checked, and computer essential information is shown on computer system test interface.
3. the whole machine testing method of computer based on soar platform and kylin operating system according to claim 2, it is special
Levy and be, also include after the step S301:
S302:Computer time is set, and computer time is shown on computer system test interface.
4. the whole machine testing method of computer based on soar platform and kylin operating system according to claim 3, it is special
Levy and be, also include after the step S302:
S303:Detection CD-ROM drive and disk-read function, and whether just to show CD-ROM drive and disk-read function on computer system test interface
Often.
5. the whole machine testing method of computer based on soar platform and kylin operating system according to claim 4, it is special
Levy and be, also include after the step S303:
S304:Test camera function, and show whether camera function is normal on computer system test interface.
6. the whole machine testing method of computer based on soar platform and kylin operating system according to claim 5, it is special
Levy and be, also include after the step S304:
S305:Test tone video capability, and show whether audio frequency and video function is normal on computer system test interface.
7. the whole machine testing method of computer based on soar platform and kylin operating system according to claim 6, it is special
Levy and be, also include after the step S305:
S306:Detection USB port, and show whether USB port is normal on computer system test interface.
8. the whole machine testing method of computer based on soar platform and kylin operating system according to claim 7, it is special
Levy and be, also include after the step S306:
S307:The detection network port, and show whether the network port is normal on computer system test interface.
9. according to claim 1 to 8 any one based on the whole machine testing of the computer of platform and kylin operating system of soaring
Method, it is characterised in that the identifier of the computer in the step S400 is the MAC Address of computer.
10. the whole machine testing method of computer based on soar platform and kylin operating system according to claim 9, it is special
Levy and be, the computer system test interface is formed using linux shell Script Programmings.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710080073.XA CN106844128A (en) | 2017-02-15 | 2017-02-15 | A kind of whole machine testing method of computer based on soar platform and kylin operating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710080073.XA CN106844128A (en) | 2017-02-15 | 2017-02-15 | A kind of whole machine testing method of computer based on soar platform and kylin operating system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106844128A true CN106844128A (en) | 2017-06-13 |
Family
ID=59128297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710080073.XA Pending CN106844128A (en) | 2017-02-15 | 2017-02-15 | A kind of whole machine testing method of computer based on soar platform and kylin operating system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106844128A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101661396A (en) * | 2008-08-29 | 2010-03-03 | 佛山市顺德区顺达电脑厂有限公司 | Testing system and method thereof for quickly obtaining testing programs to test mainboard |
CN104317694A (en) * | 2014-10-31 | 2015-01-28 | 上海原动力通信科技有限公司 | Whole machine testing method and device |
CN104375911A (en) * | 2014-11-24 | 2015-02-25 | 上海盈方微电子有限公司 | Fast android whole machine function detection method based on android platform engineering mode |
CN104407951A (en) * | 2014-11-05 | 2015-03-11 | 浪潮电子信息产业股份有限公司 | Method for automatically testing server |
-
2017
- 2017-02-15 CN CN201710080073.XA patent/CN106844128A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101661396A (en) * | 2008-08-29 | 2010-03-03 | 佛山市顺德区顺达电脑厂有限公司 | Testing system and method thereof for quickly obtaining testing programs to test mainboard |
CN104317694A (en) * | 2014-10-31 | 2015-01-28 | 上海原动力通信科技有限公司 | Whole machine testing method and device |
CN104407951A (en) * | 2014-11-05 | 2015-03-11 | 浪潮电子信息产业股份有限公司 | Method for automatically testing server |
CN104375911A (en) * | 2014-11-24 | 2015-02-25 | 上海盈方微电子有限公司 | Fast android whole machine function detection method based on android platform engineering mode |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104063305B (en) | The method for testing pressure of intelligent terminal software, device and system | |
USRE44248E1 (en) | System for transferring personalize matter from one computer to another | |
CN108255729B (en) | Mobile phone game automatic testing method and system based on Unity platform | |
US10184882B2 (en) | System and method for providing user guidance for electronic device processing | |
CN102419727A (en) | Automatic test method and device | |
CN100524241C (en) | Method for integrating and testing platform of multiple operating systems | |
CN106293734A (en) | The method and device of detection android terminal information | |
CN106354628A (en) | Payment app test method and device thereof | |
CN106844131A (en) | A kind of computer motherboard detection method based on soar platform and kylin operating system | |
CN109828918A (en) | Applied program testing method, device, computer equipment and storage medium | |
CN107704282A (en) | A kind of loading method and device applied to embedded system | |
CN107239403A (en) | A kind of positioning problems method and apparatus | |
CN109857505A (en) | Execution method, apparatus, terminal and the storage medium of operation | |
CN112437294A (en) | Method, device and equipment for testing identity hiding function and storage medium | |
CN103294906A (en) | Medical information processing system and medical information processing apparatus | |
CN108595332A (en) | Method for testing software and device | |
CN110989883B (en) | Recording method and device for data transfer mode, storage medium and terminal | |
CN106844128A (en) | A kind of whole machine testing method of computer based on soar platform and kylin operating system | |
KR101752759B1 (en) | Method and apparatus for editing event image in game | |
CN111782474A (en) | Log processing method and device, electronic equipment and medium | |
CN110072002A (en) | The digital maintenance platform of automatic detection fault of mobile phone function | |
CN102053862B (en) | Method and device for inspecting material files in instant messenger | |
TWI291614B (en) | System and method of creating virtual testing environment | |
CN110569184B (en) | Test method and terminal equipment | |
JP2009098895A (en) | Monitoring device |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170613 |