CN106528415A - Software compatibility test method, business platform and system - Google Patents

Software compatibility test method, business platform and system Download PDF

Info

Publication number
CN106528415A
CN106528415A CN201610957399.1A CN201610957399A CN106528415A CN 106528415 A CN106528415 A CN 106528415A CN 201610957399 A CN201610957399 A CN 201610957399A CN 106528415 A CN106528415 A CN 106528415A
Authority
CN
China
Prior art keywords
software
virtual machine
sample
under testing
target sample
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
CN201610957399.1A
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.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Big Data Research 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 Guangdong Inspur Big Data Research Co Ltd filed Critical Guangdong Inspur Big Data Research Co Ltd
Priority to CN201610957399.1A priority Critical patent/CN106528415A/en
Publication of CN106528415A publication Critical patent/CN106528415A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Abstract

The invention provides a software compatibility test method, business platform and system, wherein the method is applied to the business platform. The method comprises the steps of S0, building a sample software library in advance, wherein the sample software library includes at least one sample software; S1, obtaining a sample software request; S2, sending a virtual machine application request to a cloud computing platform so as to make the cloud computing platform deploy and provide a virtual machine corresponding to the current business platform; S3, obtaining at least one object sample software corresponding to the sample software request from the sample software library, and mounting the at least one object sample software to the virtual machine; S4, testing whether the software to be tested is compatible with the at least one object sample software or not according to the virtual machine provided with the at least one object sample software. According to the software compatibility test method, business platform and system, user experience can be improved.

Description

A kind of software compatibility method of testing, business platform and system
Technical field
The present invention relates to field of computer technology, more particularly to a kind of software compatibility method of testing, business platform and it is System.
Background technology
With the increasingly variation of hardware device, application software, operating system and browser, be ensure one it is new soft Part has good Consumer's Experience, and software compatibility test is extremely important.
At present, when the software compatibility for target software is tested, generally require according to testing requirement, it is special to buy Corresponding physical equipment (such as personal computer or server), by staff by way of manual building in physical equipment It is upper to dispose corresponding sample software to form corresponding test environment.
It can be seen that, the physical equipment of purchase specialty in above-mentioned technical proposal, is needed, the hardware performance of physical equipment may be also Can produce and can not meet situation (such as, processor performance and internal memory performance etc.) needed for compatibility test, meanwhile, for big When the software under testing of amount carries out compatibility test, staff also needs to frequently install on hardware device and unloads various samples Example software, manual intervention are strong, and user's health check-up is poor.
The content of the invention
A kind of software compatibility method of testing, business platform and system are embodiments provided, user's body can be improved Test.
In a first aspect, the invention provides a kind of software compatibility method of testing, is applied to business platform, including:
S0:Sample software library is built in advance, wherein, the sample software library includes at least one sample software;
S1:Obtain the request of sample software;
S2:Virtual machine application request is sent to cloud computing platform, so that cloud computing platform is configured and provides correspondence current industry The virtual machine of business platform;
S3:At least one target sample software of the correspondence sample software request is obtained from the sample software library, And by least one target sample software installation to the virtual machine;
S4:Software under testing is obtained, and is tested according to the virtual machine for being provided with least one target sample software Whether the software under testing is compatible with least one target sample software.
Preferably,
The basis be provided with the virtual machine of at least one target sample software test the software under testing with Whether at least one target sample software is compatible, including:
The software under testing is attached to into the virtual machine, is successfully installed to the virtual machine in the software under testing When, execution step A1;Otherwise, execution step A5;
A1:Running software instruction is sent to the virtual machine, so that the virtual machine runs each described target simultaneously Sample software and the software under testing;
A2:The virtual machine is monitored, to obtain the virtual machine while running each described target sample software and institute State the operation result of software under testing;
A3:The operation result is parsed, it is whether equal to judge the software under testing and each described target sample software Normally run in the virtual machine, if it is, execution step A4;Otherwise, execution step A5;
A4:Determine the software under testing with least one target sample softwarecompatible;
A5:Determine that the software under testing is incompatible with least one target sample software.
Preferably,
When the software under testing is with least one target sample softwarecompatible, also include:By the software under testing It is added in the sample software library as sample software.
Preferably,
Also include:Obtain hardware resource requirements information;
It is described to send virtual machine application request to cloud computing platform, so that cloud computing platform is configured and provides correspondence current industry The virtual machine of business platform, including:The virtual machine application request for carrying the hardware resource requirements information is sent to cloud computing platform, So that cloud computing platform is configured according to the hardware asset information and provides the virtual machine of correspondence current business platform.
Preferably,
The type of the sample software includes:One or more in operating system, browser and antivirus software.
Second aspect, embodiments provides a kind of business platform, including:
Setup module, for building sample software library, wherein, at least one sample software library includes at least one sample Example software;
First acquisition module, for obtaining the request of sample software;
Resource request module, for sending virtual machine application request to cloud computing platform, so that cloud computing platform is configured simultaneously The virtual machine of correspondence current business platform is provided;
Configuration module, at least one target of the correspondence sample software request is obtained from the sample software library Sample software, and by least one target sample software installation to the virtual machine;
Test module, for obtaining software under testing, and according to being provided with least one target sample software Whether virtual machine tests the software under testing compatible with least one target sample software.
Preferably,
The test module, including:Configuration subelement, instruction send subelement, monitoring subelement, process subelement, the One determination subelement and the second determination subelement;Wherein,
The configuration subelement, for the software under testing is attached to the virtual machine, the software under testing by into When work(is attached to the virtual machine, the instruction sending unit is triggered;Otherwise, trigger second determination subelement;
The instruction sends subelement, for sending software fortune to the virtual machine under the triggering of the configuration subelement Row instruction, so that the virtual machine runs each target sample software and the software under testing simultaneously;
The monitoring subelement, for monitoring the virtual machine, to obtain the virtual machine while running described in each The operation result of target sample software and the software under testing;
The process subelement, for parsing the operation result, to judge the software under testing and each described mesh Whether standard specimen example software is normally run in the virtual machine, if it is, triggering first determination subelement;Otherwise, Trigger second determination subelement;
First determination subelement, for it is described process subelement triggering under determine the software under testing with it is described At least one target sample softwarecompatible;
Second determination subelement, for determining institute under the triggering of the configuration subelement or the process subelement State software under testing incompatible with least one target sample software.
Preferably,
Also include:Storage processing module, for first determination subelement determine the software under testing with it is described extremely During a few target sample softwarecompatible, it is added to the software under testing as sample software in the sample software library.
Preferably,
Also include:Second acquisition module, for obtaining hardware resource requirements information;
The resource request module, for the virtual machine for carrying the hardware resource requirements information is sent to cloud computing platform Application request, so that cloud computing platform configures the virtual machine of correspondence current business platform according to the hardware asset information.
The third aspect, embodiments provides a kind of software compatibility test system, including:
Cloud computing platform, and at least one business platform as described in arbitrary in above-mentioned second aspect;Wherein,
The cloud computing platform, for receiving the virtual machine application request that at least one business platform sends When, configure and provide each business platform and distinguish corresponding virtual machine
A kind of software compatibility method of testing, business platform and system are embodiments provided, the granting is applied to Business platform, includes the sample software library of at least one sample software by structure in advance, when user needs to enter software under testing During row test, then only need to provide the request of sample software to business platform, business platform can send virtual to cloud computing platform Machine application is asked, so that cloud computing platform is configured and provides the virtual machine of correspondence current business platform, it is not necessary to the thing of purchase specialty Reason equipment;Meanwhile, business platform can obtain from sample software library to should sample software request at least one target sample Software, and each target sample software is each attached to into the virtual machine that cloud platform is configured and provided, it is not necessary to by user's craft The sample software of correspondence software under testing is installed, you can the test environment of software under testing, phase are built in realization according to customer service demand Answer, you can after software under testing is got, according to be provided with target sample software virtual machine test software under testing with it is every Whether one target sample software is compatible;As fully visible, user need not buy the physical equipment of specialty, accordingly also need not be in thing The software under testing and corresponding sample software are installed manually, you can realize to software under testing and corresponding sample software on reason equipment Compatibility tested, Consumer's Experience can be improved.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of software compatibility method of testing that one embodiment of the invention is provided;
Fig. 2 is a kind of structural representation of business platform that one embodiment of the invention is provided;
Fig. 3 is the structural representation of another kind of business platform that one embodiment of the invention is provided;
Fig. 4 is the structural representation of another business platform that one embodiment of the invention is provided;
Fig. 5 is the structural representation of another business platform that one embodiment of the invention is provided;
Fig. 6 is a kind of structural representation of software compatibility test system that one embodiment of the invention is provided;
Fig. 7 is the flow chart of another kind of software compatibility method of testing that one embodiment of the invention is provided.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, a kind of software compatibility method of testing is embodiments provided, including:
S0:Sample software library is built in advance, wherein, the sample software library includes at least one sample software;
S1:Obtain the request of sample software;
S2:Virtual machine application request is sent to cloud computing platform, so that cloud computing platform is configured and provides correspondence current industry The virtual machine of business platform;
S3:At least one target sample software of the correspondence sample software request is obtained from the sample software library, And by least one target sample software installation to the virtual machine;
S4:Software under testing is obtained, and is tested according to the virtual machine for being provided with least one target sample software Whether the software under testing is compatible with least one target sample software.
In the above embodiment of the present invention, the sample software library of at least one sample software is included by advance structure, when with When family needs to test software under testing, then only need to provide the request of sample software to business platform, business platform can be to Cloud computing platform sends virtual machine application request, so that cloud computing platform is configured and provides the virtual of correspondence current business platform Machine, it is not necessary to the physical equipment of purchase specialty;Meanwhile, business platform can obtain from sample software library to should sample software request At least one target sample software, and by each target sample software be each attached to that cloud platform configures and provide it is virtual Machine, it is not necessary to install the sample software of correspondence software under testing by user by hand, you can realization is built according to customer service demand and treated Survey software test environment, accordingly, you can according to be provided with target sample software virtual machine test software under testing with it is each Whether individual target sample software is compatible;As fully visible, user need not buy the physical equipment of specialty, accordingly also need not be in physics The software under testing and corresponding sample software are installed manually, you can realize to software under testing and corresponding sample software on equipment Compatibility is tested, and can improve Consumer's Experience.
Specifically, in a preferred embodiment of the invention, the type of the sample software includes:Operating system, browser And one or more in antivirus software.Certainly, the type of sample software be not limited in it is above-mentioned several, such as, can be with Including game client etc..
In general, when software under testing that is newly developed or updating carries out compatibility test, it is required to test current to be measured soft The compatibility of part and all types of operating systems, all types of browsers and all types of antivirus softwares, in a first aspect, working as software under testing When incompatible with corresponding operating system, software under testing may be caused successfully to be installed to the personal meter for being provided with the operating system On calculation machine, server or other smart machines, and then the software under testing is caused normally to be used by certain customers;Second party Face, as browser and antivirus software are that the higher application of personal computer, server or other smart machine usage frequencies is soft Part, when software under testing is with corresponding browser or incompatible antivirus software, cause user can not and meanwhile use the software under testing And browser, or antivirus software, affect Consumer's Experience.
Therefore, in order to realize accurately detecting software under testing and operating system, and browser or antivirus software etc. other Application software whether there is compatibility issue, so that when software under testing has compatibility issue with which, staff is for being somebody's turn to do Problem is solved in time, it is ensured that software under testing can be normally used by user, and possesses good Consumer's Experience, and the present invention one is excellent In selecting embodiment, the basis is provided with the virtual machine of at least one target sample software and tests the software under testing It is whether compatible with least one target sample software, including:
The software under testing is attached to into the virtual machine, is successfully installed to the virtual machine in the software under testing When, execution step A1;Otherwise, execution step A5;
A1:Running software instruction is sent to the virtual machine, so that the virtual machine runs each described target simultaneously Sample software and the software under testing;
A2:The virtual machine is monitored, to obtain the virtual machine while running each described target sample software and institute State the operation result of software under testing;
A3:The operation result is parsed, it is whether equal to judge the software under testing and each described target sample software Normally run in the virtual machine, if it is, execution step A4;Otherwise, execution step A5;
A4:Determine the software under testing with least one target sample softwarecompatible;
A5:Determine that the software under testing is incompatible with least one target sample software.
Further, due to, when it is determined that software under testing is not in compatibility issue with corresponding sample software, showing The software under testing may and can be widely used in personal computer, server or other smart machines, for convenience Other softwares of subsequent development or renewal also can successfully be attached to the personal computer already installed with current software under testing, service In device or other smart machines, in a preferred embodiment of the invention, in the software under testing and at least one target sample During example softwarecompatible, also include:It is added to the software under testing as sample software in the sample software library.
Thus, other softwares of subsequent development or renewal, it is also possible to obtained from sample software library by similar mode To carry out compatibility test with which, when there is incompatibility problem, staff then can solve the software under testing in time so that solution Other softwares never after compatibling problem and the software under testing can be installed to simultaneously identical personal computer, server or other In smart machine.
Further, in order to economize on resources, while guarantee that the virtual machine that cloud computing platform is provided has enough resources, with Support to test the software under testing and the compatibility of corresponding sample software, in a preferred embodiment of the invention, also include:Obtain hard Part resource requirement information;
It is described to send virtual machine application request to cloud computing platform, so that cloud computing platform is configured and provides correspondence current industry The virtual machine of business platform, including:The virtual machine application request for carrying the hardware resource requirements information is sent to cloud computing platform, So that cloud computing platform is configured according to the hardware asset information and provides the virtual machine of correspondence current business platform.
As shown in Fig. 2 a kind of business platform is embodiments provided, including:
Setup module 201, for building sample software library, wherein, at least one sample software library includes at least one Individual sample software;
First acquisition module 202, for obtaining the request of sample software;
Resource request module 203, for sending virtual machine application request to cloud computing platform, so that cloud computing platform configuration And the virtual machine of correspondence current business platform is provided;
Configuration module 204, at least one of the correspondence sample software request is obtained from the sample software library Target sample software, and by least one target sample software installation to the virtual machine;
Test module 205, for obtaining software under testing, and according to being provided with the institute of at least one target sample software State the virtual machine test software under testing whether compatible with least one target sample software.
Further, in order to realize accurately detecting software under testing and operating system, and browser or antivirus software etc. Other application software whether there is compatibility issue, so as to when software under testing has compatibility issue with which, for the problem Solve in time, it is ensured that software under testing can be normally used by user, and possesses good Consumer's Experience, as shown in figure 3, of the invention In one preferred embodiment, the test module 205, including:Configuration subelement 2051, instruction send subelement 2052, monitoring Subelement 2053, process subelement 2054, the first determination subelement 2055 and the second determination subelement 2056;Wherein,
The configuration subelement 2051, for the software under testing is attached to the virtual machine, in the software under testing When being successfully installed to the virtual machine, the instruction sending unit 2052 is triggered;Otherwise, trigger second determination subelement 2056;
The instruction sends subelement 2052, for sending out to the virtual machine under the triggering of the configuration subelement 2051 Running software is sent to instruct, so that the virtual machine runs each target sample software and the software under testing simultaneously;
The monitoring subelement 2053, for monitoring the virtual machine, to obtain the virtual machine while running each The operation result of the target sample software and the software under testing;
The process subelement 2054, for parsing the operation result, to judge the software under testing and each institute State whether target sample software is normally run in the virtual machine, if it is, triggering first determination subelement 2055;Otherwise, trigger second determination subelement 2056;
First determination subelement 2055, it is described to be measured soft for determining under the triggering for processing subelement 2054 Part and at least one target sample softwarecompatible;
Second determination subelement 2056, in the configuration subelement 2051 or described processing subelement 2054 Triggering is lower to determine that the software under testing is incompatible with least one target sample software.
Further, other softwares of subsequent development or renewal also successfully can be attached to already installed with current for convenience In the personal computer of software under testing, server or other smart machines, as shown in figure 4, in a preferred embodiment of the invention, Also include:Storage processing module 401, for first determination subelement 2055 determine the software under testing with it is described at least During one target sample softwarecompatible, it is added to the software under testing as sample software in the sample software library.
Further, in order to economize on resources, while guarantee that the virtual machine that cloud computing platform is provided has enough resources, with Support to test the compatibility of the software under testing and corresponding sample software, as shown in figure 5, in a preferred embodiment of the invention, also Including:Second acquisition module 501, for obtaining hardware resource requirements information;
The resource request module 203, for the void for carrying the hardware resource requirements information is sent to cloud computing platform The application of plan machine is asked, so that cloud computing platform configures the virtual machine of correspondence current business platform according to the hardware asset information.
As shown in fig. 6, a kind of software compatibility test system is embodiments provided, including:
Cloud computing platform 601, and the business platform 602 that at least one any one embodiment of the invention is provided;Wherein,
The cloud computing platform 601, for receiving the virtual machine application that at least one business platform 602 sends During request, configure and provide each business platform 602 and distinguish corresponding virtual machine 6011.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
To make technical scheme and advantage clearer, with reference to system provided in an embodiment of the present invention, with reference to figure 2nd, Fig. 3, Fig. 4, Fig. 5 and Fig. 6, to realize test software under testing and operating system and clear using system provided in an embodiment of the present invention As a example by whether the sample such as device software of looking at is compatible, as shown in fig. 7, following each step can be included:
Step 701, business platform build sample software library.
Here, sample software library includes at least one sample software, and the type of sample software is including but not limited to operated System, browser and antivirus software.
Step 702, business platform provide portal page, obtain the sample software that user is input into by portal page and is initiated Request.
Step 703, business platform obtain the hardware resource requirements information that user is input into by portal page and is initiated.
, into step 703, user can be by the portal page of business platform offer to business platform Request For Disposition for step 702 Required each target sample software information to be mounted during the test environment of software under testing, and hardware resource requirements information.When So, in the case of in the cards, it is also possible to by other means, such as initiated to business platform by corresponding intelligent terminal Sample software is asked and hardware resource requirements information.
Step 704, business platform send the virtual machine application for carrying the hardware resource requirements information to cloud computing platform Request.
Step 705, cloud computing platform are configured according to the hardware asset information for receiving and provide correspondence current business platform Virtual machine.
Here, cloud platform realizes each of the virtual machine to being supplied to current business platform according to the hardware asset information for receiving Planting parameter carries out reasonable disposition, such as, internal memory performance, processor performance and IO performances etc.;While economizing on resources, it is ensured that Cloud computing platform provide virtual machine there is enough resources, with support test the software under testing it is compatible with corresponding sample software Property.
Step 706, business platform obtain at least one target sample of correspondence sample software request from sample software library Software, and the virtual machine that at least one target sample software installation is configured to cloud computing platform and provided.
Here, can realize each target sample software installation is equalled to cloud computing by corresponding selenium set of scripts On the virtual machine that platform is configured and provided.
Specifically, the type of at least one target sample software includes but is not limited to operating system, browser and kills virus soft One or more in part;Include that operating system A and browser B are with target sample software in following each embodiment of the present invention Example.
Step 707, business platform obtain software under testing.
Software under testing is installed to virtual machine by step 708, business platform.
Whether step 709, business platform judges software under testing are successfully installed to virtual machine, if it is, step can manage it 710;Otherwise, execution step 716.
Here, when software under testing can be successfully installed to the virtual machine already installed with operating system and browser When, then it is compatible with the operating system installed on early virtual machine to illustrate the software under testing;It is contrary, then illustrate software under testing with The operating system having been mounted on virtual machine is incompatible.
Step 710, business platform send running software instruction to virtual machine.
Step 711, virtual machine receive business platform transmission running software instruct when, while operation successfully pacify The software under testing of dress and each target sample software.
Step 712, business platform monitoring virtual machine, to obtain virtual machine while running each target sample software and treating Survey the operation result of software.
Whether step 713, business platform parsing operation result are equal to judge software under testing and each target sample software Normally run in virtual machine, if it is, execution step 714;Otherwise, execution step 716.
Here, when software under testing, having been mounted to the operating system and browser of virtual machine can be normal in virtual machine During operation, then illustrate that browser is compatible with software under testing, otherwise, illustrates that browser is incompatible with software under testing.
Step 714, business platform determine software under testing and each target sample softwarecompatible.
Step 715, business platform are added software under testing as sample software into the sample software library for building.
Here, other softwares of subsequent development or renewal can be caused, it is also possible to by similar mode from sample software library To carry out compatibility test with which, when there is incompatibility problem, staff then can solve middle acquisition software under testing in time, So that solving other softwares after incompatibility problem can be installed to identical personal computer, server with the software under testing simultaneously Or in other smart machines
Step 716, business platform determine that software under testing is incompatible with least one target sample software.
It should be appreciated that business platform is after it is determined that software under testing and at least one target sample software are incompatible, industry Business platform can also produce corresponding log information, so that when software under testing and incompatible at least one target sample software, work Make personnel and incompatibility problem can be solved according to log information.
In sum, each embodiment of the invention at least has the advantages that:
1st, in one embodiment of the invention, the sample software library of at least one sample software is included by advance structure, when with When family needs to test software under testing, then only need to provide the request of sample software to business platform, business platform can be to Cloud computing platform sends virtual machine application request, so that cloud computing platform is configured and provides the virtual of correspondence current business platform Machine, it is not necessary to the physical equipment of purchase specialty;Meanwhile, business platform can obtain from sample software library to should sample software request At least one target sample software, and by each target sample software be each attached to that cloud platform configures and provide it is virtual Machine, it is not necessary to install the sample software of correspondence software under testing by user by hand, you can realization is built according to customer service demand and treated Survey software test environment, accordingly, you can according to be provided with target sample software virtual machine test software under testing with it is each Whether individual target sample software is compatible;As fully visible, user need not buy the physical equipment of specialty, accordingly also need not be in physics The software under testing and corresponding sample software are installed manually, you can realize to software under testing and corresponding sample software on equipment Compatibility is tested, and can improve Consumer's Experience.
2nd, in one embodiment of the invention, by installation operation system, browser and antivirus software etc. on a virtual machine often With target sample software, on the one hand, when software under testing can be successfully installed the virtual machine already installed with operating system, Then illustrate that software under testing is compatible with the operating system installed on the virtual machine, otherwise can determine that software under testing and virtual machine On the operating system installed it is incompatible;On the other hand so that virtual machine runs operating system, browser and antivirus simultaneously Software etc., software under testing with being capable of same luck already installed on the operating system on virtual machine, browser and antivirus software During row, then can determine that software under testing is compatible with already installed on the operating system on virtual machine, browser and antivirus software, it is no Then can determine that software under testing is incompatible with already installed on the operating system on virtual machine, browser and antivirus software etc.; Realization accurately detects the other application softwares such as software under testing and operating system, browser or antivirus software with the presence or absence of compatibility Problem, so that when software under testing has compatibility issue with which, staff is solved in time for the problem, it is ensured that to be measured soft Part can be normally used by user, and possesses good Consumer's Experience.
3rd, in one embodiment of the invention, when software under testing and at least one target sample softwarecompatible is determined, show The software under testing may and can be widely used in personal computer, server or other smart machines, will be to be measured soft Part is submitted to sample software library as sample software, facilitates other softwares of subsequent development or renewal can be by similar mode The software under testing is obtained from sample software library to carry out compatibility test, when there is incompatibility problem, staff with which Then can solve in time so that solve other softwares after incompatibility problem and can be installed to identical individual simultaneously with the software under testing In computer, server or other smart machines.
4th, in one embodiment of the invention, business platform can be obtained by user input by modes such as the portal pages of offer The hardware asset information of correspondence software under testing, and cloud computing platform is configured according to the hardware asset information and is provided to should The virtual machine of front business platform, while economizing on resources, it is ensured that the virtual machine that cloud computing platform is provided has enough resources, To support to test the compatibility of the software under testing and corresponding sample software.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation is made a distinction with another entity or operation, and not necessarily require or imply presence between these entities or operation Any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to non- Exclusiveness is included, so that a series of process, method, article or equipment including key elements not only includes those key elements, But also including other key elements being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element for being limited by sentence " including ", does not arrange Except also there is other same factor in including the process of the key element, method, article or equipment.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit protection scope of the present invention.All any modifications made within the spirit and principles in the present invention, Equivalent, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of software compatibility method of testing, it is characterised in that be applied to business platform, including:Sample software is built in advance Storehouse, wherein, the sample software library includes at least one sample software;Also include:
Obtain the request of sample software;
Virtual machine application request is sent to cloud computing platform, so that cloud computing platform is configured and provides correspondence current business platform Virtual machine;
At least one target sample software of the correspondence sample software request is obtained from the sample software library, and will be described At least one target sample software installation is to the virtual machine;
Software under testing is obtained, and it is described to be measured according to the virtual machine test for being provided with least one target sample software Whether software is compatible with least one target sample software.
2. software compatibility method of testing according to claim 1, it is characterised in that
The basis be provided with the virtual machine of at least one target sample software test the software under testing with it is described Whether at least one target sample software is compatible, including:
The software under testing is attached to into the virtual machine, when the software under testing is successfully installed to the virtual machine, is held Row step A1;Otherwise, execution step A5;
A1:Running software instruction is sent to the virtual machine, so that the virtual machine runs each described target sample simultaneously Software and the software under testing;
A2:The virtual machine is monitored, to obtain the virtual machine while running each described target sample software and described treating Survey the operation result of software;
A3:The operation result is parsed, to judge the software under testing and each described target sample software whether in institute Normally run in stating virtual machine, if it is, execution step A4;Otherwise, execution step A5;
A4:Determine the software under testing with least one target sample softwarecompatible;
A5:Determine that the software under testing is incompatible with the target sample software.
3. software compatibility method of testing according to claim 2, it is characterised in that
When the software under testing is with least one target sample softwarecompatible, also include:Using the software under testing as Sample software is added in the sample software library.
4. software compatibility method of testing according to claim 1, it is characterised in that
Also include:Obtain hardware resource requirements information;
It is described to send virtual machine application request to cloud computing platform, so as to cloud computing platform is configured and provides correspondence current business put down The virtual machine of platform, including:The virtual machine application request for carrying the hardware resource requirements information is sent to cloud computing platform, so that Cloud computing platform is configured according to the hardware asset information and provides the virtual machine of correspondence current business platform.
5. according to arbitrary described software compatibility method of testing in Claims 1-4, it is characterised in that
The type of the sample software includes:One or more in operating system, browser and antivirus software.
6. a kind of business platform, it is characterised in that include:
Setup module, for building sample software library, wherein, at least one sample software library includes that at least one sample is soft Part;
First acquisition module, for obtaining the request of sample software;
Resource request module, for sending virtual machine application request to cloud computing platform, so that cloud computing platform is configured and provided The virtual machine of correspondence current business platform;
Configuration module, at least one target sample of the correspondence sample software request is obtained from the sample software library Software, and by least one target sample software installation to the virtual machine;
Test module, for obtaining software under testing, and according to being provided with the described virtual of at least one target sample software Whether machine tests the software under testing compatible with least one target sample software.
7. business platform according to claim 6, it is characterised in that
The test module, including:Configuration subelement, instruction send subelement, monitoring subelement, process subelement, first true Stator unit and the second determination subelement;Wherein,
The configuration subelement, for the software under testing is attached to the virtual machine, is successfully pacified in the software under testing When being filled to the virtual machine, the instruction sending unit is triggered;Otherwise, trigger second determination subelement;
The instruction sends subelement, refers to for sending running software to the virtual machine under the triggering of the configuration subelement Order, so that the virtual machine runs each target sample software and the software under testing simultaneously;
The monitoring subelement, for monitoring the virtual machine, to obtain the virtual machine while running each described target The operation result of sample software and the software under testing;
The process subelement, for parsing the operation result, to judge the software under testing and each described target sample Whether example software is normally run in the virtual machine, if it is, triggering first determination subelement;Otherwise, trigger Second determination subelement;
First determination subelement, for it is described process subelement triggering under determine the software under testing with it is described at least One target sample softwarecompatible;
Second determination subelement, for treating described in the determination under the triggering of the configuration subelement or the process subelement Survey software incompatible with the target sample software.
8. business platform according to claim 7, it is characterised in that
Also include:Storage processing module, for determining the software under testing with described at least one in first determination subelement During individual target sample softwarecompatible, it is added to the software under testing as sample software in the sample software library.
9. business platform according to claim 6, it is characterised in that
Also include:Second acquisition module, for obtaining hardware resource requirements information;
The resource request module, for the virtual machine application for carrying the hardware resource requirements information is sent to cloud computing platform Request, so that cloud computing platform configures the virtual machine of correspondence current business platform according to the hardware asset information.
10. a kind of software compatibility test system, it is characterised in that include:
Cloud computing platform, and at least one business platform as described in arbitrary in above-mentioned claim 6 to 9;Wherein,
The cloud computing platform, for when the virtual machine application request that at least one business platform sends is received, matching somebody with somebody Put and provide each business platform and distinguish corresponding virtual machine.
CN201610957399.1A 2016-10-27 2016-10-27 Software compatibility test method, business platform and system Pending CN106528415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610957399.1A CN106528415A (en) 2016-10-27 2016-10-27 Software compatibility test method, business platform and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610957399.1A CN106528415A (en) 2016-10-27 2016-10-27 Software compatibility test method, business platform and system

Publications (1)

Publication Number Publication Date
CN106528415A true CN106528415A (en) 2017-03-22

Family

ID=58325725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610957399.1A Pending CN106528415A (en) 2016-10-27 2016-10-27 Software compatibility test method, business platform and system

Country Status (1)

Country Link
CN (1) CN106528415A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804328A (en) * 2018-06-12 2018-11-13 浪潮软件集团有限公司 Android application compatibility test method
CN109901831A (en) * 2019-01-22 2019-06-18 成都随安保网络技术有限公司 The multi-platform compatibility operation method and compatibility operation device of software
CN111309602A (en) * 2020-02-04 2020-06-19 北京同邦卓益科技有限公司 Software testing method, device and system
CN113377413A (en) * 2021-04-29 2021-09-10 先进操作系统创新中心(天津)有限公司 Software batch adaptation method based on kylin desktop operating system
CN114721785A (en) * 2022-06-07 2022-07-08 武汉四通信息服务有限公司 Configuration method, device, equipment and storage medium of software application library of virtual machine
WO2023160508A1 (en) * 2022-02-25 2023-08-31 华为技术有限公司 Model management method and communication apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279796A (en) * 2011-08-25 2011-12-14 北京神州绿盟信息安全科技股份有限公司 Method and device for testing software compatibility
CN102831062A (en) * 2012-08-31 2012-12-19 浪潮电子信息产业股份有限公司 Testing method based on cloud computing operating system software compatibility
CN104461858A (en) * 2013-09-23 2015-03-25 财团法人资讯工业策进会 Software Compatibility Pre-testing Method and System
CN105164640A (en) * 2013-03-14 2015-12-16 微软技术许可有限责任公司 Application compatibility checking in distributed computing environment
US20160098269A1 (en) * 2014-10-07 2016-04-07 International Business Machines Corporation Agile software development process and results
CN105528232A (en) * 2016-01-27 2016-04-27 国家电网公司 Automatic installation method and system for software

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279796A (en) * 2011-08-25 2011-12-14 北京神州绿盟信息安全科技股份有限公司 Method and device for testing software compatibility
CN102831062A (en) * 2012-08-31 2012-12-19 浪潮电子信息产业股份有限公司 Testing method based on cloud computing operating system software compatibility
CN105164640A (en) * 2013-03-14 2015-12-16 微软技术许可有限责任公司 Application compatibility checking in distributed computing environment
CN104461858A (en) * 2013-09-23 2015-03-25 财团法人资讯工业策进会 Software Compatibility Pre-testing Method and System
US20160098269A1 (en) * 2014-10-07 2016-04-07 International Business Machines Corporation Agile software development process and results
CN105528232A (en) * 2016-01-27 2016-04-27 国家电网公司 Automatic installation method and system for software

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804328A (en) * 2018-06-12 2018-11-13 浪潮软件集团有限公司 Android application compatibility test method
CN109901831A (en) * 2019-01-22 2019-06-18 成都随安保网络技术有限公司 The multi-platform compatibility operation method and compatibility operation device of software
CN109901831B (en) * 2019-01-22 2022-06-21 成都随安保网络技术有限公司 Multi-platform compatible operation method and compatible operation device of software
CN111309602A (en) * 2020-02-04 2020-06-19 北京同邦卓益科技有限公司 Software testing method, device and system
CN113377413A (en) * 2021-04-29 2021-09-10 先进操作系统创新中心(天津)有限公司 Software batch adaptation method based on kylin desktop operating system
WO2023160508A1 (en) * 2022-02-25 2023-08-31 华为技术有限公司 Model management method and communication apparatus
CN114721785A (en) * 2022-06-07 2022-07-08 武汉四通信息服务有限公司 Configuration method, device, equipment and storage medium of software application library of virtual machine

Similar Documents

Publication Publication Date Title
CN106528415A (en) Software compatibility test method, business platform and system
CN109302522B (en) Test method, test device, computer system, and computer medium
US9727439B2 (en) Tracking application deployment errors via cloud logs
US8407672B2 (en) Systems and methods for synchronizing software execution across data processing systems and platforms
EP3575975B1 (en) Method and apparatus for operating smart network interface card
US8336099B2 (en) Methods, hardware products, and computer program products for implementing introspection data comparison utilizing hypervisor guest introspection data
CN103973515A (en) Network card stability testing method
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN106406975A (en) Test method and device of desktop cloud system
WO2012080262A1 (en) Software error code injection
CN105761011A (en) Laboratory resource management system based on cloud platform
Aly et al. Kubernetes or openShift? Which technology best suits eclipse hono IoT deployments
US10019344B1 (en) Computer implemented system and method and computer program product for a test framework for orchestration workflows
CN114168471A (en) Test method, test device, electronic equipment and storage medium
US11599404B2 (en) Correlation-based multi-source problem diagnosis
US9075921B2 (en) Error simulation
US9652365B2 (en) Fault configuration using a registered list of controllers
US20110246967A1 (en) Methods and systems for automation framework extensibility
US20120124355A1 (en) Single volume image file extraction
CN113286014B (en) Dynamic configuration method and device of basic domain name and related equipment
JP2023044720A (en) Computer implemented method for recovering crashed application, computer program product, and remote computer server (remote recovery of crashed process)
CN114238140A (en) Access test method and device
CN113330716B (en) Method and device for determining dependency relationship of application service and processor
CN107168819A (en) A kind of operating system method for restarting and device
CN108228445A (en) The test method and device of energy consumption of virtual machine

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

Application publication date: 20170322

RJ01 Rejection of invention patent application after publication