CN105224453A - The automatic test approach of system compatibility and device - Google Patents

The automatic test approach of system compatibility and device Download PDF

Info

Publication number
CN105224453A
CN105224453A CN201510598870.8A CN201510598870A CN105224453A CN 105224453 A CN105224453 A CN 105224453A CN 201510598870 A CN201510598870 A CN 201510598870A CN 105224453 A CN105224453 A CN 105224453A
Authority
CN
China
Prior art keywords
tested
test
operating system
cts
terminal
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
Application number
CN201510598870.8A
Other languages
Chinese (zh)
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201510598870.8A priority Critical patent/CN105224453A/en
Publication of CN105224453A publication Critical patent/CN105224453A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a kind of automatic test approach of system compatibility, comprising: the version information identifying terminal to be tested; Download CTS testing tool and operating system corresponding to version information; Control terminal installing operating system to be tested with start, and after having started shooting, open the preset configuration of terminal to be tested according to preset configuration instruction; Whether compatible operating system is tested to utilize CTS testing tool to treat test terminal, to obtain test result and to be uploaded to cloud data center.The present invention also provides a kind of device based on the method.The present invention can complete CTS test automatically without the need to complicated manual operation, and the test duration is short, testing efficiency is high.

Description

The automatic test approach of system compatibility and device
Technical field
The present invention relates to system applied technical field, in particular to a kind of automated testing method of system compatibility and the automatic test device of system compatibility.
Background technology
After a electronic product develops and has formulated the android system of oneself, (CompatibilityTestSuite must be tested by CTS, compatibility test), to ensure that the application program of standard can be run on android system platform.Only have and tested by CTS, and test report is submitted to Google and confirms after no problem through Google, this kind of electronic product just can obtain the certification of AndroidMarket, thus can come into the market to sell.
Current industry generally adopts manual manipulation mode to carry out CTS test to android system.First need the operational system of manual installation CTS testing tool, then download the operating system of CTS testing software and electronic product to be tested, utilize described operating system manually to start shooting and manually opened relevant configuration, last input test order is tested.Can find out, whole test process needs manual operation to arrange step by step or input command, very complicated, not only loses time, and when number of electronic products to be tested is more, testing efficiency also can be very low.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of automatic test approach and device of system compatibility, and without the need to complicated manual operation, the test duration is short and testing efficiency is high.
The automatic test approach of the system compatibility that the embodiment of the present invention provides, comprising: the version information identifying terminal to be tested when being connected with terminal to be tested; Download compatible CTS testing tool and operating system corresponding to version information; Control terminal installing operating system to be tested with start, and after having started shooting, open the preset configuration of terminal to be tested according to preset configuration instruction; Whether compatible operating system is tested to utilize CTS testing tool to treat test terminal, to obtain test result and to be uploaded to cloud data center.
Wherein, described download CTS testing tool and operating system corresponding to version information comprise: whether monitoring receives the test instruction of user's input; When receiving the test instruction of user's input, download CTS testing tool.
Wherein, from the virtual machine of cloud data center, CTS testing tool and operating system is downloaded according to default download instruction.
Wherein, the preset configuration of opening terminal to be tested comprises download, installs and opens the application program with preset function.
Wherein, the described CTS of utilization testing tool is treated test terminal whether compatible operating system is carried out test and comprises: utilize CTS testing tool whether can realize preset function on an operating system to the application program of having opened and test.
The automatic testing equipment of the system compatibility that the embodiment of the present invention provides, comprising: identification module, for identifying its version information when being connected with terminal to be tested; Download module, for downloading compatible CTS testing tool and operating system corresponding to version information; Central processing module, for controlling terminal installing operating system to be tested with start, and opens the preset configuration of terminal to be tested after powering according to preset configuration instruction; Test module, for utilizing CTS testing tool to treat test terminal, whether compatible operating system is tested, to obtain test result; Transport module, for being uploaded to cloud data center by test result.
Wherein, transport module is also for receiving the test instruction of user's input, and download module downloads CTS testing tool when receiving test instruction.
Wherein, download module downloads CTS testing tool and operating system according to default download instruction from the virtual machine of cloud data center.
Wherein, the preset configuration of opening terminal to be tested comprises download, installs and opens the application program with preset function.
Wherein, test module utilizes CTS testing tool whether can realize preset function on an operating system to the application program of having opened and tests, thus whether compatible operating system is tested to realize treating test terminal.
The automatic test approach of the system compatibility of the embodiment of the present invention and device, without the need to complicated manual operation but according to preset programmed instruction automatically complete CTS test needed for each step, not only save a large amount of manpower consumptions, and the test duration is short, testing efficiency is high.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of automatic test approach one embodiment of system compatibility of the present invention;
Fig. 2 is the process flow diagram of another embodiment of automatic test approach of system compatibility of the present invention;
Fig. 3 is the theory diagram of automatic testing equipment one embodiment of system compatibility of the present invention;
Fig. 4 is the hardware structure diagram of Fig. 3 shown device one embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme of exemplary embodiment provided by the present invention is clearly and completely described.
Fig. 1 is the process flow diagram of automatic test approach one embodiment of system compatibility of the present invention.As shown in Figure 1, the automatic test approach of the compatibility of the present embodiment comprises following:
S11: the version information identifying terminal to be tested when being connected with terminal to be tested.
S12: download CTS testing tool and operating system corresponding to version information.
S13: control terminal installing operating system to be tested with start, and open the preset configuration of terminal to be tested according to preset configuration instruction after having started shooting.
S14: whether compatible operating system is tested to utilize CTS testing tool to treat test terminal, to obtain test result and to be uploaded to cloud data center.
The embodiment of the present invention can programming and testing software be stored in by this testing software and include but not limited to PC (PersonalComputer in advance, personal computer or computer) machine server (test equipment) in, automatically current process is monitored by this testing software, and next process of execution is triggered according to the programmed instruction preset after current process completes, realize the automatic test treating the system compatibility of test terminal, eliminate complicated manual operation, a large amount of tests can not only be saved with manpower consumption, and the test duration is short, testing efficiency and accuracy rate high.
Particularly, at the version information of test recognition of devices terminal to be tested, after namely identifying that terminal to be tested belongs to any type, a recognition result can be sent, and judge that the identification process of S11 completes according to this recognition result, the downloading process performing S12 can be continued.In like manner, after test is by device downloads CTS testing tool and operating system, also can judge that downloading process completes by sending a download result, can continue the start and the preset configuration unlatching process that perform S13, start and preset configuration are opened process and are achieved by the operation of analog subscriber finger point touching screen.And after preset configuration process of opening completes, perform the test process of S14.Further, the test report formed according to test result is submitted to Google and confirms by afterwards through Google, this kind of terminal to be tested with described version information just can obtain the certification of AndroidMarket, that is, the embodiment of the present invention is equivalent to the usually said Google's compatibility test of industry.
Wherein, test equipment sends by internal interface and receives each result above-mentioned, and test equipment is assigned preset configuration instruction to terminal to be tested and is achieved by wave point or wired connection mode, specifically can refer to connected mode between the two.
Before carrying out described test, the present invention also needs the test environment building CTS test, and namely install and open CTS testing tool and normally run required system, this system can for being installed on the linux system of test equipment.Given this, the backup (image file) of all softwares needed for described test can be stored in the virtual machine of the cloud data center constructed by this system by the embodiment of the present invention in advance, and the default download instruction sent according to the testing software programmed in advance in test process downloads CTS testing tool and described operating system from the virtual machine of cloud data center.
It should be noted that, the method for testing of the embodiment of the present invention can only need user to carry out a manual operation, the test instruction namely needing user manually to input with start test, as shown in Figure 2, can using CTS testing tool as start test mark.
S21: the version information identifying terminal to be tested when being connected with terminal to be tested.
S22: whether monitoring receives the test instruction of user's input.
If receive the test instruction of user's input, then perform step S23 and subsequent step; If do not receive, then continue to perform step S22 until monitoring receives the test instruction of user's input.
S23: download CTS testing tool and operating system corresponding to version information.
S24: control terminal installing operating system to be tested with start, and download according to preset configuration instruction, install and open the application program with preset function after having started shooting.
S25: utilize CTS testing tool whether can realize preset function on an operating system to the application program of having opened and test, to obtain test result and to be uploaded to cloud data center.
From the method for testing of the present embodiment, the CTS test of terminal to be tested be namely test the operating system (comprising android system) of terminal to be tested is upper run each application program time can realize corresponding preset function, the corresponding respectively preset function of described application program comprises phone, figure, camera, GPS, touch-screen, wireless network connection, messaging chat etc.
In addition, described test result also can be uploaded to other equipment but not described cloud data center, and that is, the test equipment at described cloud data center place is first server, and accordingly, other equipment receiving described test result are equivalent to second server.Certainly, described test result can also to first server and second server.
Fig. 3 is the theory diagram of automatic testing equipment one embodiment of system compatibility of the present invention.As shown in Figure 3, the automatic testing equipment 30 of described system compatibility comprises:
Identification module 31, for identifying its version information when being connected with terminal 40 to be tested.
Download module 32, for downloading compatible CTS testing tool and the operating system corresponding with the version information of terminal 40 to be tested.
Central processing module 33, for controlling terminal 40 installing operating system to be tested with start, and opens the preset configuration of terminal 40 to be tested after powering according to preset configuration instruction.
Test module 34, for utilizing CTS testing tool to treat test terminal 40, whether compatible operating system is tested, to obtain test result.
Transport module 35, for being uploaded to cloud data center 50 by test result.
Alternatively, transport module 35 is for receiving the test instruction of user's input, and download module 32 downloads compatible CTS testing tool and described operating system when receiving test instruction.Further, download module 32 can download CTS testing tool and described operating system according to default download instruction from the virtual machine 51 of cloud data center 50.
Alternatively, the preset configuration of opening terminal 40 to be tested comprises download, installs and opens the application program with preset function.Accordingly, test module 34 utilizes CTS testing tool whether can realize preset function on an operating system to the application program of having opened and tests, thus whether compatible operating system is tested to realize treating test terminal 40.
The above-mentioned module correspondence of the proving installation 30 of the embodiment of the present invention performs the automatic test approach of the system compatibility of each embodiment above-mentioned, has the technique effect identical with it.
Should be understood that, the embodiment of above-mentioned proving installation 30 is only schematic, and a kind of logic function that is divided into of module divides, actual can have other dividing mode when realizing, such as two modules can be integrated in another system, or some features can be ignored, or do not perform.In addition, module connection each other can pass through some interfaces, also can be electrical or other form.Above-mentioned module, as the ingredient of proving installation 30, can be may not be physical frame, both can be positioned at a place, also can be distributed in multiple network element, the form of software function frame both can be adopted to realize, the form of hardware also can be adopted to realize.
Such as shown in Fig. 4, described proving installation 30 can comprise at least one processor (such as CPU), at least one communication interface, storer and at least one communication bus.Processor is used for the executable module stored in execute store, such as computer program.Storer can comprise high-speed random access memory (RandomAccessMemory, RAM), also can comprise non-labile storer (non-volatilememory), such as at least one magnetic disk memory.Realize the communication connection between this proving installation 30 and at least one other equipment by least one communication interface, internet, wide area network, local network, Metropolitan Area Network (MAN) etc. can be used.Store programmed instruction in described storer, this programmed instruction can be executed by processor.Wherein, this programmed instruction can comprise the modules of the proving installation 30 pointed out in the embodiment of the present invention, and the concrete implementation of modules see the corresponding contents in the above embodiment of the present invention, can repeat no more herein.
In addition, if the above-mentioned functions of the embodiment of the present invention using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium, namely the embodiment of the present invention can embody with the form of software product, and it comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in various embodiments of the present invention.
Again illustrate; the foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; such as the be combineding with each other of technical characteristic between each embodiment; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. an automatic test approach for system compatibility, is characterized in that, comprising:
The version information of described terminal to be tested is identified when being connected with terminal to be tested;
Download compatible CTS testing tool and operating system corresponding to described version information;
Control described terminal to be tested and described operating system is installed with start, and after having started shooting, open the preset configuration of described terminal to be tested according to preset configuration instruction;
Described CTS testing tool is utilized to test the whether compatible described operating system of described terminal to be tested, to obtain test result and to be uploaded to cloud data center.
2. method according to claim 1, is characterized in that, described download CTS testing tool and operating system corresponding to described version information comprise:
Whether monitoring receives the test instruction of user's input;
When receiving the test instruction of described user input, download described CTS testing tool.
3. method according to claim 1, is characterized in that, downloads described CTS testing tool and described operating system according to default download instruction from the virtual machine of described cloud data center.
4. method according to claim 1, is characterized in that, the preset configuration of the described terminal to be tested of described unlatching comprises download, installs and opens the application program with preset function.
5. method according to claim 4, is characterized in that, describedly utilizes described CTS testing tool to carry out test to the whether compatible described operating system of described terminal to be tested to comprise:
Utilize described CTS testing tool whether can realize described preset function in described operating system to the described application program of having opened to test.
6. an automatic testing equipment for system compatibility, is characterized in that, comprising:
Identification module, for identifying its version information when being connected with terminal to be tested;
Download module, for downloading compatible CTS testing tool and operating system corresponding to described version information;
Central processing module, installs described operating system with start for controlling described terminal to be tested, and opens the preset configuration of described terminal to be tested after powering according to preset configuration instruction;
Test module, tests, to obtain test result the whether compatible described operating system of described terminal to be tested for utilizing described CTS testing tool;
Transport module, for being uploaded to cloud data center by described test result.
7. device according to claim 6, is characterized in that, described transport module is also for receiving the test instruction of user's input, and described download module downloads described CTS testing tool when receiving described test instruction.
8. device according to claim 6, is characterized in that, described download module downloads described CTS testing tool and described operating system according to default download instruction from the virtual machine of described cloud data center.
9. device according to claim 6, is characterized in that, the preset configuration of the described terminal to be tested of described unlatching comprises download, installs and opens the application program with preset function.
10. device according to claim 9, it is characterized in that, described test module utilizes described CTS testing tool whether can realize described preset function in described operating system to the described application program of having opened and tests, thus realizes testing the whether compatible described operating system of described terminal to be tested.
CN201510598870.8A 2015-09-18 2015-09-18 The automatic test approach of system compatibility and device Pending CN105224453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510598870.8A CN105224453A (en) 2015-09-18 2015-09-18 The automatic test approach of system compatibility and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510598870.8A CN105224453A (en) 2015-09-18 2015-09-18 The automatic test approach of system compatibility and device

Publications (1)

Publication Number Publication Date
CN105224453A true CN105224453A (en) 2016-01-06

Family

ID=54993438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510598870.8A Pending CN105224453A (en) 2015-09-18 2015-09-18 The automatic test approach of system compatibility and device

Country Status (1)

Country Link
CN (1) CN105224453A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484620A (en) * 2016-10-12 2017-03-08 北京元心科技有限公司 Method for testing multi-system terminal equipment, control equipment and console
CN107423207A (en) * 2016-05-24 2017-12-01 展讯通信(天津)有限公司 System compatibility automated testing method and device
CN111309605A (en) * 2020-02-07 2020-06-19 惠州Tcl移动通信有限公司 Terminal testing method and device, storage medium and terminal equipment
CN111611157A (en) * 2020-05-08 2020-09-01 珠海全志科技股份有限公司 Automatic testing method and system for GMS continuous integration construction

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101128007A (en) * 2007-09-21 2008-02-20 中兴通讯股份有限公司 Testing method for mobile communication terminal
CN102708050A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for testing mobile application
CN104536891A (en) * 2014-12-26 2015-04-22 小米科技有限责任公司 Method and device for testing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101128007A (en) * 2007-09-21 2008-02-20 中兴通讯股份有限公司 Testing method for mobile communication terminal
CN102708050A (en) * 2012-04-21 2012-10-03 北京迈凯互动网络科技有限公司 Method and system for testing mobile application
CN104536891A (en) * 2014-12-26 2015-04-22 小米科技有限责任公司 Method and device for testing system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423207A (en) * 2016-05-24 2017-12-01 展讯通信(天津)有限公司 System compatibility automated testing method and device
CN106484620A (en) * 2016-10-12 2017-03-08 北京元心科技有限公司 Method for testing multi-system terminal equipment, control equipment and console
CN106484620B (en) * 2016-10-12 2019-06-18 北京元心科技有限公司 Method for testing multi-system terminal equipment, control equipment and console
CN111309605A (en) * 2020-02-07 2020-06-19 惠州Tcl移动通信有限公司 Terminal testing method and device, storage medium and terminal equipment
CN111309605B (en) * 2020-02-07 2023-11-14 惠州Tcl移动通信有限公司 Terminal test method and device, storage medium and terminal equipment
CN111611157A (en) * 2020-05-08 2020-09-01 珠海全志科技股份有限公司 Automatic testing method and system for GMS continuous integration construction
CN111611157B (en) * 2020-05-08 2023-07-28 珠海全志科技股份有限公司 GMS continuous integration construction automatic test method and system

Similar Documents

Publication Publication Date Title
CN108600029B (en) Configuration file updating method and device, terminal equipment and storage medium
EP2707735B1 (en) Systems and methods of implementing content validation of microcomputer based circuits
CN106598835B (en) Application testing method, device and system
CN108563579B (en) White box testing method, device and system and storage medium
CN105164644A (en) Hook framework
JP2012212380A (en) System for inspecting information processing unit to which software updates are applied
CN107678949B (en) Automatic testing method for realizing different communication modes of embedded equipment
CN105373407A (en) DSP and FPGA online upgrading method for embedded system
CN105224453A (en) The automatic test approach of system compatibility and device
EP2508954A1 (en) System and method for the configuration of a clustered simulation network
CN110659198A (en) Application program test case execution method and device and software test system
CN110502434A (en) A kind of automatic test approach and device
US20160359923A1 (en) Method, system and server for self-healing of electronic apparatus
CN107526584B (en) Data access method and device
US8793651B2 (en) Remote card content management using synchronous server-side scripting
CN110824336A (en) Test system and test method
CN108241545B (en) Debugging method and device for system fault
WO2014056350A1 (en) Base station and maintenance method therefor
CN108989428B (en) Bluetooth terminal upgrading method, server, computer readable storage medium and system
CN116700751A (en) Upgrading method of server firmware and computing device
US10445201B2 (en) System and method for automated integration and stress testing of hardware and software service in management controller using containerized toolbox
CN105354068A (en) Network-based robot system software batch installing and upgrading method
CN103136060B (en) Progress control method and operating control device
CN106713215B (en) Information processing method, terminal and server
CN111399974B (en) Resource management method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160106