CN107608887A - A kind of method for creating virtual opetrating system test server - Google Patents
A kind of method for creating virtual opetrating system test server Download PDFInfo
- Publication number
- CN107608887A CN107608887A CN201710828644.3A CN201710828644A CN107608887A CN 107608887 A CN107608887 A CN 107608887A CN 201710828644 A CN201710828644 A CN 201710828644A CN 107608887 A CN107608887 A CN 107608887A
- Authority
- CN
- China
- Prior art keywords
- test
- virtual opetrating
- opetrating system
- server
- client
- 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
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to a kind of method for creating virtual opetrating system test server, it is characterised in that comprises the following steps:Virtual opetrating system is created in client, and makes corresponding system environments configuration;Client and tested server are established into network bridging in virtual opetrating system;The identification information for obtaining server test point is matched with set in advance with reference to test information, and to the test point that the match is successful, operation calls test program to be tested.Virtual opetrating system is created in client and is built into a testing and control node, saves the working time, improves operating efficiency, and compared with the testing and control node of conventional cumbersome, the control node can carry with any testing location, not only facilitated but also saved space;It is not required to configure other server node, saves test resource.
Description
Technical field
The invention belongs to server test field, and in particular to a kind of side for creating virtual opetrating system test server
Method.
Background technology
We are doing some Linux server test events at present, when being tested such as DC reboot, can use other one
Linux server node is as control node, or uses the equipment such as optical port interchanger, SFP optical modules, SFP optical patchcords.So
The test equipment used is made troubles with regard to more to test preparation.Linux operations system is fictionalized on windows computers
System, and corresponding system environments configuration is made, virtual linux system replaces actual Linux services in server test
Device control node carries out server test.
The content of the invention
It is an object of the present invention in view of the above-mentioned drawbacks of the prior art, providing design one kind is based on pseudo operation
The method of the server test of system, to solve above-mentioned technical problem.
In order to achieve the above object, the technical scheme is that:
A kind of method for creating virtual opetrating system test server, comprises the following steps:
Virtual opetrating system is created in client, and makes corresponding system environments configuration;
Client and tested server are established into network bridging in virtual opetrating system;
The identification information for obtaining server test point is matched with set in advance with reference to test information, to the survey that the match is successful
Pilot, operation call test program to be tested.
Further, the step of creating virtual opetrating system in client, and making corresponding system environments configuration includes:
The execution code of loading application programs in client memory headroom;
According to the execution code for the application program being carried in client memory headroom, the call request to system resource is obtained;
Path according to the call request modification system resource to system resource is the respective path under virtual system catalogue, simultaneously
Obtain the configuration information for performing the virtual opetrating system needed for application program;
According to amended path, call request is performed to system resource.
Further, the path of system resource is changed according to the call request to system resource as under virtual system catalogue
Respective path includes:
According to the call request of system resource, the application program operating-system resources to be called are obtained;
Configuration processor at operating-system resources access entrance is replaced by jump routine, and application program changes according to jump routine
To call virtual opetrating system.
Further, the group of the virtual opetrating system according to needed for configuration information by identical function, execution application program
Part forms module, establishes the link and is loaded into client memory headroom with virtual opetrating system core.
Further, according to the instruction message of change component, the dynamic change of virtual opetrating system core and virtual behaviour
Make the virtual opetrating system component of system core partial link.
Further, the step of calling test program to test the test point operation that the match is successful includes:
Standard testing data are sent to test point;
Receive the result to standard testing Data Analysis Services of test point feedback;
Judge whether to match with standard results set in advance according to the analysis processing result of feedback, and output test data.
Further, the identification information for obtaining server test point is matched with set in advance with reference to test information,
To the test point that the match is successful, operation calls test program to be tested, and test also includes after terminating:
The configuration processor at the operating-system resources access entrance replaced by jump routine is performed, returns and calls client the machine behaviour
Make system resource.
The beneficial effects of the present invention are, create virtual opetrating system in client and be built into a testing and control node,
The working time is saved, improves operating efficiency, compared with the testing and control node of conventional cumbersome, the control node, which can be carried with, takes office
What testing location, not only facilitate but also save space;It is not required to configure other server node, saves test resource.
In addition, design principle of the present invention is reliable, and it is simple in construction, there is very extensive application prospect.
As can be seen here, the present invention compared with prior art, has prominent substantive distinguishing features and significantly improved, it is implemented
Beneficial effect be also obvious.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the method for establishment virtual opetrating system test server that the present embodiment provides.
Fig. 2 is a kind of flow chart of the method for establishment virtual opetrating system test server that another embodiment provides.
Fig. 3 is a kind of flow chart of the method for establishment virtual opetrating system test server that another embodiment provides.
Embodiment
Below in conjunction with the accompanying drawings and the present invention will be described in detail by specific embodiment, and following examples are to the present invention
Explanation, and the invention is not limited in implementation below.
As shown in figure 1, a kind of method for establishment virtual opetrating system test server that the present embodiment provides, including it is as follows
Step:
Step 1:Virtual opetrating system is created in client, and makes corresponding system environments configuration;
Wherein step 1 also includes:
Step 11:The execution code of loading application programs in client memory headroom;
Step 12:According to the execution code for the application program being carried in client memory headroom, the tune to system resource is obtained
With request;
Step 13:Path according to the call request modification system resource to system resource is the corresponding road under virtual system catalogue
Footpath, while obtain the configuration information for performing the virtual opetrating system needed for application program;
Step 14:According to amended path, call request is performed to system resource.
Step 2:Client and tested server are established into network bridging in virtual opetrating system;
Step 3:Obtain server test point identification information with it is set in advance with reference to test information matched, to match into
The test point of work(, operation call test program to be tested.
Step 31:Standard testing data are sent to test point;
Step 32:Receive the result to standard testing Data Analysis Services of test point feedback;
Step 33:Judge whether to match with standard results set in advance according to the analysis processing result of feedback, and export survey
Try data.
Step 4:The configuration processor at the operating-system resources access entrance replaced by jump routine is performed, returns and calls visitor
Family end native operating system resource.
As shown in Figure 2 and Figure 3, a kind of server test based on virtual opetrating system of another embodiment provided by the invention
Method, comprise the following steps:
Step 1:Virtual opetrating system is created in client, and makes corresponding system environments configuration;
Wherein step 1 also includes:
Step 11:The execution code of loading application programs in client memory headroom;
Step 12:According to the execution code for the application program being carried in client memory headroom, the tune to system resource is obtained
With request;
Step 13:Path according to the call request modification system resource to system resource is the corresponding road under virtual system catalogue
Footpath, while obtain the configuration information for performing the virtual opetrating system needed for application program;
Wherein step 13 also includes:
Step 131:According to the call request of system resource, the application program operating-system resources to be called are obtained;Operation system
Configuration processor at system resource access entrance is replaced by jump routine, and the application program according to jump routine is changed to call virtually
Operating system.
Step 132:The component of virtual opetrating system according to needed for configuration information by identical function, execution application program
Module is formed, establishes the link and is loaded into client memory headroom with virtual opetrating system core.
Step 14:According to amended path, call request is performed to system resource.
Step 2:Client and tested server are established into network bridging in virtual opetrating system;
Step 3:Obtain server test point identification information with it is set in advance with reference to test information matched, to match into
The test point of work(, operation call test program to be tested.
Step 3 specifically includes:
Standard testing data are sent to test point;
Receive the result to standard testing Data Analysis Services of test point feedback;
Judge whether to match with standard results set in advance according to the analysis processing result of feedback, and output test data.
Step 4:The configuration processor at the operating-system resources access entrance replaced by jump routine is performed, returns and calls visitor
Family end native operating system resource.
Disclosed above is only the preferred embodiment of the present invention, but the present invention is not limited to this, any this area
What technical staff can think does not have creative change, and some improvement made without departing from the principles of the present invention and
Retouching, should all be within the scope of the present invention.
Claims (7)
- A kind of 1. method for creating virtual opetrating system test server, it is characterised in that comprise the following steps:Virtual opetrating system is created in client, and makes corresponding system environments configuration;Client and tested server are established into network bridging in virtual opetrating system;The identification information for obtaining server test point is matched with set in advance with reference to test information, to the survey that the match is successful Pilot, operation call test program to be tested.
- 2. a kind of method for creating virtual opetrating system test server according to claim 1, it is characterised in that in visitor Family end creates virtual opetrating system, and includes the step of make the configuration of corresponding system environments:The execution code of loading application programs in client memory headroom;According to the execution code for the application program being carried in client memory headroom, the call request to system resource is obtained;Path according to the call request modification system resource to system resource is the respective path under virtual system catalogue, simultaneously Obtain the configuration information for performing the virtual opetrating system needed for application program;According to amended path, call request is performed to system resource.
- A kind of 3. method for creating virtual opetrating system test server according to claim 2, it is characterised in that according to The path of call request modification system resource to system resource is that the respective path under virtual system catalogue includes:According to the call request of system resource, the application program operating-system resources to be called are obtained;Configuration processor at operating-system resources access entrance is replaced by jump routine, and application program changes according to jump routine To call virtual opetrating system.
- A kind of 4. method for creating virtual opetrating system test server according to claim 3, it is characterised in that according to The component of virtual opetrating system needed for identical function, execution application program is formed module by configuration information, with pseudo operation System core part establishes the link and is loaded into client memory headroom.
- 5. a kind of method for creating virtual opetrating system test server according to claim 4, it is characterised in that also wrap Include the instruction message according to change component, the dynamic change of virtual opetrating system core and virtual opetrating system core chain The virtual opetrating system component connect.
- 6. it is according to claim 5 it is a kind of create virtual opetrating system test server method, it is characterised in that to Running the step of calling test program to be tested with successful test point includes:Standard testing data are sent to test point;Receive the result to standard testing Data Analysis Services of test point feedback;Judge whether to match with standard results set in advance according to the analysis processing result of feedback, and output test data.
- 7. a kind of method for creating virtual opetrating system test server according to claim 6, it is characterised in that obtain The identification information of server test point is matched with set in advance with reference to test information, to the test point that the match is successful, fortune Row calls test program to be tested, and also includes after having tested:The configuration processor at the operating-system resources access entrance replaced by jump routine is performed, returns and calls client the machine behaviour Make system resource.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710828644.3A CN107608887A (en) | 2017-09-14 | 2017-09-14 | A kind of method for creating virtual opetrating system test server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710828644.3A CN107608887A (en) | 2017-09-14 | 2017-09-14 | A kind of method for creating virtual opetrating system test server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107608887A true CN107608887A (en) | 2018-01-19 |
Family
ID=61063922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710828644.3A Pending CN107608887A (en) | 2017-09-14 | 2017-09-14 | A kind of method for creating virtual opetrating system test server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107608887A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109828927A (en) * | 2019-01-31 | 2019-05-31 | 北京三快在线科技有限公司 | A kind of method, apparatus of integration testing, equipment and storage medium |
CN114374999A (en) * | 2020-10-15 | 2022-04-19 | 大唐移动通信设备有限公司 | Test method, test device, electronic equipment and storage medium |
CN118093448A (en) * | 2024-04-29 | 2024-05-28 | 浪潮云信息技术股份公司 | Full test method, equipment and medium based on core function of information creation operating system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645020A (en) * | 2008-08-04 | 2010-02-10 | 优诺威讯国际有限公司 | Virtual operating system creation method |
CN103973515A (en) * | 2014-05-12 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Network card stability testing method |
CN104597390A (en) * | 2014-12-31 | 2015-05-06 | 苏州征之魂专利技术服务有限公司 | Multi-model multi-interpolation lattice structure test automatic identification system |
-
2017
- 2017-09-14 CN CN201710828644.3A patent/CN107608887A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645020A (en) * | 2008-08-04 | 2010-02-10 | 优诺威讯国际有限公司 | Virtual operating system creation method |
CN103973515A (en) * | 2014-05-12 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Network card stability testing method |
CN104597390A (en) * | 2014-12-31 | 2015-05-06 | 苏州征之魂专利技术服务有限公司 | Multi-model multi-interpolation lattice structure test automatic identification system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109828927A (en) * | 2019-01-31 | 2019-05-31 | 北京三快在线科技有限公司 | A kind of method, apparatus of integration testing, equipment and storage medium |
CN114374999A (en) * | 2020-10-15 | 2022-04-19 | 大唐移动通信设备有限公司 | Test method, test device, electronic equipment and storage medium |
CN114374999B (en) * | 2020-10-15 | 2024-02-06 | 大唐移动通信设备有限公司 | Test method, test device, electronic equipment and storage medium |
CN118093448A (en) * | 2024-04-29 | 2024-05-28 | 浪潮云信息技术股份公司 | Full test method, equipment and medium based on core function of information creation operating system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110750592B (en) | Data synchronization method, device and terminal equipment | |
CN107483243A (en) | A kind of automatic deployment method and equipment of OpenStack platforms | |
WO2016184021A1 (en) | Method and apparatus for handling virtualized network function service fault | |
CN106776320A (en) | Android intelligent terminal automatization test system and method | |
CN107608887A (en) | A kind of method for creating virtual opetrating system test server | |
CN103457761B (en) | Cross-platform command line configuration interface implementation method | |
CN109039829A (en) | A kind of network card performance testing method, apparatus, terminal and storage medium | |
CN109697159A (en) | A kind of development of automation operational system based on mixing cloud platform | |
CN106201745A (en) | The remote debugging method of application program, remote debugging system and terminal | |
CN107612775A (en) | A kind of node two level connects the DC method of testings and system of server | |
CN112732231A (en) | System of computer-implemented microservice development platform and method of providing microservices | |
CN114501501B (en) | Configuration management method, device, equipment and medium for mobile communication network target range | |
CN108683567B (en) | Switch port fault testing method and system based on MCS and server | |
CN109683973A (en) | A kind of Insyde product BIOS method for customizing, device, terminal and storage medium | |
CN113076253A (en) | Test method and test device | |
CN107911251A (en) | A kind of method for configuring network equipment, device and medium | |
CN110134612A (en) | UI test data generating method, device, equipment and readable storage medium storing program for executing | |
CN104899134A (en) | Automatic domain name registration server testing system and method | |
CN105025254A (en) | Multi-platform monitoring terminal system development method | |
CN108833005B (en) | Optical network communication equipment and automatic test kit and method for networking service thereof | |
CN108009086B (en) | System automation test method based on case decomposition and function learning | |
CN107124326B (en) | Automatic testing method and system | |
CN111488286B (en) | Method and device for independently developing Android modules | |
CN113079064A (en) | Pressure detection method and device and electronic equipment | |
WO2018040664A1 (en) | Cross-platform drive test method, device and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180119 |
|
RJ01 | Rejection of invention patent application after publication |