CN105391597A - Multi-server-simulation-based avalanche testing method, apparatus, and system - Google Patents

Multi-server-simulation-based avalanche testing method, apparatus, and system Download PDF

Info

Publication number
CN105391597A
CN105391597A CN201510751048.0A CN201510751048A CN105391597A CN 105391597 A CN105391597 A CN 105391597A CN 201510751048 A CN201510751048 A CN 201510751048A CN 105391597 A CN105391597 A CN 105391597A
Authority
CN
China
Prior art keywords
virtual machine
multiserver
test
virtual
snowslide
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
CN201510751048.0A
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.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Zhejiang Electric Power 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 State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201510751048.0A priority Critical patent/CN105391597A/en
Publication of CN105391597A publication Critical patent/CN105391597A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/465Distributed object oriented systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a multi-server-simulation-based avalanche testing method to construct a multi-server simulation system. The method comprises: the multi-server simulation system determines virtual equipment for carrying out avalanche testing according to an operation of a user; processes corresponding to all virtual equipment are determined; the processes are distributed to corresponding virtual machines according to a predetermined rule; and the virtual machines are controlled to operate the processes in parallel, wherein the virtual machines use time slice round-robin scheduling to operate processes. According to the method, the construction time of an avalanche testing environment can be shortened; the rate of the avalanche concurrence testing is optimized; the operation is flexible; the arrangement becomes convenient; the operation becomes stable and reliable; the functions are complete; and the testing efficiency is high. In addition, the invention also discloses a multi-server-simulation-based avalanche testing apparatus and system.

Description

Based on method, the Apparatus and system of the snowslide test of multiserver emulation
Technical field
The present invention relates to communication test field, method, the Apparatus and system of particularly a kind of snowslide test based on multiserver emulation.
Background technology
At present; the domestic testing tool for MMS client products such as station level main frame, telemechanical apparatus lacks very much, therefore when building test environment often can only directly with (protection, observing and controlling etc.) secondary device device of certain producer as MMS server end.If the MMS server end programming of producer's secondary device device is lack of standardization, can makes a big impact to test result and even mislead and mistake.
In addition, the test for the MMS link capacity of MMS client needs hundreds of MMS to connect concurrent operations simultaneously, and this cannot realize by actual device at all, can only adopt software emulation mode to realize.Therefore the MMS server end emulation test system studying many devices has been the task of top priority.
Snowslide test can reflect the bearing capacity of background system when electric power system has an accident, can the performance of this system of complete detection, the performance of this system in electric power system fault situation when comprising test scale at a specified future date.The traditional method that present stage intelligent substation snowslide is tested is: the model file that each smart machine manufacturer provides according to each IED production firm, communicate with station level supervisory control system, but have that test communications density is not high enough, analogue means is single, cannot realize the problems such as Millisecond full station equipment MMS communication test.
Summary of the invention
The object of this invention is to provide a kind of method, Apparatus and system of the snowslide test based on multiserver emulation, the time of building of snowslide test environment, the speed optimizing snowslide concurrent test, flexible operation can be shortened, convenience is set, stable and reliable operation, multiple functional and testing efficiency is high.
For solving the problems of the technologies described above, the invention provides a kind of method of the snowslide test based on multiserver emulation, building multiserver analogue system, comprising:
Described multiserver analogue system, according to the operation of user, determines the virtual unit carrying out snowslide test;
Determine the process that virtual unit described in each is corresponding;
Described process is assigned in corresponding virtual machine according to pre-defined rule;
Control described virtual machine parallel running process, wherein, described virtual machine utilizes Time Slice Circular Scheduling to run process.
Wherein, described process is assigned to corresponding virtual machine according to pre-defined rule to comprise:
Determine the best number of processes of virtual machine;
According to quantity and the described best number of processes of described process, determine the quantity of virtual machine, and be the process that each described virtual machine distributes best number of processes.
Wherein, described structure multiserver analogue system comprises:
The virtual relay protection device meeting station level data interaction and Behavior-Based control requirement is built according to relaying protection model file;
The virtual measurement and control device meeting station level data interaction and Behavior-Based control requirement is built according to measure and control device model file;
For each described virtual relay protection device and described virtual measurement and control device distribute force title, report-control block and IP address;
Write emulation testing program.
Wherein, also comprise:
Generate the result of described snowslide test.
Wherein, also comprise:
Described in prompting user, snowslide has been tested, and described result is shown.
The invention provides a kind of device of the snowslide test based on multiserver emulation, comprising:
Multiserver analogue system, for the operation according to user, determines the virtual unit carrying out snowslide test; Determine the process that virtual unit described in each is corresponding; Described process is assigned in corresponding virtual machine according to pre-defined rule; Control described virtual machine parallel running process, wherein, described virtual machine utilizes Time Slice Circular Scheduling to run process;
Virtual machine, controlling for receiving described multiserver analogue system, running corresponding process.
Wherein, described multiserver analogue system comprises:
Determination module, for determining the best number of processes of virtual machine;
Distribution module, for according to the quantity of described process and described best number of processes, determines the quantity of virtual machine, and distributes the process of best number of processes for each described virtual machine.
Wherein, also comprise:
Generation module, for generating the result of described snowslide test.
Wherein, also comprise:
Reminding module, for pointing out snowslide described in user to test, and shows described result.
The invention provides a kind of system of the snowslide test based on multiserver emulation, comprising: monitoring backstage, telecontrol communication machine, information substation, MMS switch, and the device as described in any one of claim 6 to 9; Wherein, described monitoring backstage, described telecontrol communication machine, described information substation is connected with described device by MMS switch;
Described device, for building multiserver analogue system; Described multiserver analogue system, according to the operation of user, determines the virtual unit carrying out snowslide test; Determine the process that virtual unit described in each is corresponding; Described process is assigned in corresponding virtual machine according to pre-defined rule; Control described virtual machine parallel running process, wherein, described virtual machine utilizes Time Slice Circular Scheduling to run process.
Method, the Apparatus and system of the snowslide test based on multiserver emulation provided by the present invention, first, build multiserver analogue system, also comprise afterwards: described multiserver analogue system, according to the operation of user, determines the virtual unit carrying out snowslide test; Determine the process that virtual unit described in each is corresponding; Described process is assigned in corresponding virtual machine according to pre-defined rule; Control described virtual machine parallel running process, wherein, described virtual machine utilizes Time Slice Circular Scheduling to run process;
The method is by building multiserver analogue system, utilize networking, station level communication service emulation that the technology such as virtual can complete full station hundreds equipment, realize the emulation of the redundancy link group pattern of the functional test research multiserver to station level main frame, telemechanical apparatus, can also many network simulations be carried out; By controlling described virtual machine parallel running process, process operating rate can be improved, reaching the object of two-forty snowslide test; Therefore the method can shorten the time of building of snowslide test environment, the speed optimizing snowslide concurrent test, flexible operation, convenience is set, stable and reliable operation, multiple functional and testing efficiency is high.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The flow chart of the method for the snowslide test based on multiserver emulation that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the time diagram of CPU executive process in prior art;
The multi-dummy machine multi-process executed in parallel process time diagram that Fig. 3 provides for the embodiment of the present invention;
The structured flowchart of the system of the snowslide test based on multiserver emulation that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Core of the present invention is to provide a kind of method, Apparatus and system of the snowslide test based on multiserver emulation, can shorten the time of building of snowslide test environment, the speed optimizing snowslide concurrent test, flexible operation, arrange convenience, stable and reliable operation, multiple functional and testing efficiency is high.
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, the flow chart of the method for the snowslide test based on multiserver emulation that Fig. 1 provides for the embodiment of the present invention; First need to build multiserver analogue system; Wherein, mainly can complete the station level communication service emulation of full station hundreds equipment, realize the emulation of the redundancy link group pattern of the functional test research multiserver to station level main frame, telemechanical apparatus or two network simulation; Thousands of the message datas sending hundreds analogue means within a few tens of milliseconds required for high speed avalanche test can be completed.Wherein, multiserver analogue system comprises simulation testing software, can be arranged on PC.
Wherein, in the present invention, multiserver emulation test system can adopt networking, the technology such as virtual, realizing entirely standing IED equipment at multiple servers full simulation, realizing the real-time simulation of intelligent substation station level part by resolving SCD.Single-point, batch even can formulate test assignment Simulation with I ED and initiatively go up carry information, comprise analog quantity, switching value conjugates, action event, wave file.Can measure and control device be simulated, receive the guidance command that backstage sends.Can various abnormal sight as required in analog telecommand process.
Method based on the snowslide test of multiserver emulation can comprise:
S100, described multiserver analogue system, according to the operation of user, determine the virtual unit carrying out snowslide test;
Wherein, according to operations such as the test approaches that user selects, determine the virtual unit that carry out snowslide test corresponding with user operation according to configuration file etc., and can task be formulated according to user operation or manufacture abnormal sight.Meet various testing requirement.
S110, determine the process that virtual unit described in each is corresponding;
Wherein, each virtual unit can a corresponding process.
S120, described process is assigned in corresponding virtual machine according to pre-defined rule;
Wherein, virtual machine (VirtualMachine) refer to by software simulation have complete hardware system function, the complete computer operated in a completely isolated environment.The operable KVM of the present invention (Kernel-basedVirtualMachine) virtual machine needs hardware supports, is hardware based Full-virtualization.
Virtual machine technique is the one of Intel Virtualization Technology, things is become another kind of form from a kind of formal transformation by so-called Intel Virtualization Technology exactly, the most frequently used Intel Virtualization Technology has the virtual of internal memory in operating system, the memory headroom that during actual motion, user needs may be far longer than the memory size of physical machine, utilize the Intel Virtualization Technology of internal memory, user can turn to internal memory by virtual for a part of hard disk, and this is transparent to user.
Virtual machine monitor (VirtualMachineMonitor, VMM) is the core of virtual machine technique, and it is the code of one deck between operating system and computer hardware, is used for hardware platform to be divided into multiple virtual machine.VMM operates in privileged mode, Main Function is isolation and manages the multiple virtual machines run on upper strata, arbitrates their access to bottom hardware, and (comprises processor for the virtual a set of virtual hardware environment independent of actual hardware of each client operating system, internal memory, I/O equipment).VMM adopts certain dispatching algorithm sharing CPU between each virtual machine.
Use virtual machine can make to have multiple virtual machine in a multi-core computer, save hardware resource, saving resource while guarantee test effect.
Wherein, a variety of forms of distribution can be had here, as long as can realize utilizing multiple stage virtual machine to carry out the operation of process; Can be such as the quantity first determining virtual machine here, all processes are evenly distributed in each virtual machine; Also can be preferred, first determine the best number of processes of virtual machine; Again according to quantity and the described best number of processes of described process, determine the quantity of virtual machine, and be the process that each described virtual machine distributes best number of processes.Namely first can obtain virtual machine by methods such as tests and not only can have good speed but also test rate can be improved when the several process of operation, namely the best number of processes of virtual machine is obtained, again according to testing the number of processes obtained at every turn, determine the virtual machine quantity required for this test, make every virtual machine distribute the process of best number of processes.Make to test each virtual machine at every turn and be in optimum state, the speed of snowslide test can be improved.
S130, control described virtual machine parallel running process, wherein, described virtual machine utilizes Time Slice Circular Scheduling to run process.
Wherein, Time Slice Circular Scheduling is that in CPU, one is the most ancient, the most simply, the most fair and use the widest algorithm, dispatches also known as RR.Each process is assigned with a time period, is called its timeslice, and namely this process allows the time of operation.
If process is also in operation at the end of timeslice, then CPU will be deprived of and distribute to another process.If process is blocked or terminated before timeslice terminates, then CPU switches at once.What scheduler program will do is exactly maintenance ready process list, and after process is finished its timeslice, it is moved to the end of queue.The present invention utilizes Time Slice Circular Scheduling to control the time of test process, makes the operation of process meet the demand of snowslide test.Illustrate benefit of the present invention below.
Such as, snowslide test request multiserver analogue system configures 300 virtual units, each Equipments Setting 4 point data, totally 1200 point data, require during test that the data completing snowslide test in 100ms send, and in background system, receive the message of 1200 point data.Actual test shows, the time that background system receives snowslide data is directly proportional to the transmitting time of snowslide data, and the time bottleneck tested of snowslide is in the transmission phase of snowslide data.In order to reach above-mentioned performance index, the present invention is in multiserver analogue system, based on the round-robin law theory of CPU, adopt VMM virtual machine technique, the high speed avalanche method of testing of a kind of multi-service oriented device emulation is proposed, namely in multiserver analogue system, virtual machine technique is added, 300 virtual units are evenly distributed to (number of virtual machine is generally not more than the check figure of CPU) in multiple virtual machine, each virtual machine independent operating in a core of CPU, by CPU oneself management and running.
The each virtual cpu of virtual machine only operates on a physical core, and therefore the speed of service of the higher virtual machine of cpu frequency is also higher, and virtual cpu quantity contributes to the performance promoting application more.5 virtual cpus are employed in the snowslide test model of this analogue system, respectively 300 processes are divided equally and run on 5 CPU, each CPU only needs operation 60 processes, then uses virtual machine technique to make 5 CPU parallel runnings, finally reaches the object shortening running time.
In analogue system of the present invention, each process runs required time much smaller than 1ms, but minimum at the time granularity of process switching is 1ms, 300 process polls needs 300ms, and this system needs 100ms just 300 processes to be finished, therefore need, based on common time sheet round robin algorithm, to make corresponding optimization, thus improve cpu busy percentage.Concrete optimization comprises employing Multi-core concurrent fashion, improves cpu busy percentage.
When using common multi-process mode to realize, in the process that CPU inside performs, remain serial and perform each process, its time used to be taken time sum by 300 process run time and other process schedulings of CPU, and computational methods are as follows:
T = Σ i = 1 N kt i + D
Wherein, T is total time, and N=300, k are the time coefficient that each process is run, t ibe that the i-th process runs the time used, D is that CPU works as other program schedulers time used in pronucleus.
In this analogue system, each process runs required time much smaller than 1ms, but minimum at the time granularity of process switching be 1ms, 300 process polls needs 300ms, its execution sequential chart as shown in Figure 2;
Because CPU is when scheduling pronucleus existing other processes, 300 process serial process times used are much larger than 300ms.Common multi-process mode can not meet the requirement of snowslide test, needs to adopt new test model.
The present invention adopts multinuclear multi-process mode can realize concurrent process on multiple CPU core, thus etc. pending process divide equally and run at each CPU.
Running time, account form was as follows:
T m = Σ i = 1 N kt i + D m
Wherein, T mthe time (m=1 that m virtual machine sends snowslide data ... 5), N=60, k are the time coefficient that each process is run, t ibe that the i-th process runs the time used, D is other program schedulers time used in m core.Then, total time is tested in snowslide is the total time being maximum time that 5 virtual machine snowslide data send snowslide test.Each process that the present invention carries out after the optimization of multinuclear multi-course concurrency formula performs sequential chart as shown in Figure 3.Can find out from the graph, after multi-process algorithm carries out multi-core parallel concurrent optimization, execute on 300 process theories and only need 60ms.
The method employing virtual machine technique and CPU time sheet take turns the mode that robin combines; can realize within a few tens of milliseconds; success sends 300 table apparatus, 1200 report services analogue datas; both solved the problem that actual needs disposes a large amount of protection supervisory equipment, the difficult problem that analogue system simulates single device, snowslide test is difficult to Synchronization Control can have been solved again.Practical application effect shows, the high speed avalanche test model of multi-service oriented device emulation can emulate and all types of device simulation by correct completion system, has time of building, the speed optimizing snowslide concurrent test, the flexible operation of shortening snowslide test environment, arranges convenience, stable and reliable operation, multiple functional and testing efficiency high.
Based on technique scheme, the method of the snowslide test based on multiserver emulation that the embodiment of the present invention provides, build actual device environment when solving snowslide concurrent test and the test of MMS link capacity of hundreds equipment in the past to take time and effort, and be difficult to the problem realizing two-forty high density communication in the short time.Can simulate multiple power equipment, batch testing, can the uniting and adjustment test that electric power system be carried out, total group test, snowslide test etc. of low cost.The present invention is in multiserver analogue system, based on the round-robin law theory of CPU, adopt VMM virtual machine technique, virtual machine technique is added in multiserver analogue system, hundreds of virtual units are evenly distributed to (number of virtual machine is generally not more than the check figure of the actual CPU of hardware) in multiple virtual machine, each virtual machine independent operating is in a core of CPU, by CPU oneself management and running, finally can send more than 1,000 message data within a few tens of milliseconds, reach the object of two-forty snowslide test.
Based on technique scheme, optionally, described structure multiserver analogue system can comprise:
The virtual relay protection device meeting station level data interaction and Behavior-Based control requirement is built according to relaying protection model file; I.e. virtual relaying protection.
The virtual measurement and control device meeting station level data interaction and Behavior-Based control requirement is built according to measure and control device model file; I.e. virtual measure and control device.
For each described virtual relay protection device and described virtual measurement and control device distribute force title, report-control block and IP address;
Write emulation testing program.
Wherein, this multiserver analogue system can also have the simulation of two web frame, can receive the enable command of A, B net simultaneously.Disconnection and the connection of single device and the two net of many devices MMS can be simulated simultaneously.
This multiserver analogue system can carry out perfect information simulation, single-point, batch even can formulate test assignment Simulation with I ED and initiatively goes up carry information, comprise analog quantity, switching value conjugates, action event, wave file.Can measure and control device be simulated, receive the guidance command that backstage sends.Can various abnormal sight as required in analog telecommand process.Easy to operate, the control to full station analog machine can be completed in a graphical interfaces in a PC, without the need to dosage.
Based on technique scheme, the method that the embodiment of the present invention provides can also comprise:
Generate the result of described snowslide test.
The result that snowslide is tested can be carried out record by the form of message, also can record in a document, facilitate user to check.
Based on above-mentioned any technical scheme, the method that the embodiment of the present invention provides can also comprise:
Described in prompting user, snowslide has been tested, and described result is shown.
Such as by sending the form such as prompt tone or light flash after having carried out test, reminding user; And can test result be presented in display screen simultaneously.User friendlyly to check.
Based on technique scheme, the method for the snowslide test based on multiserver emulation that the embodiment of the present invention provides, can the problem of resolution system uniting and adjustment difficulty.Background system does not need only could to a uniting and adjustment after device powers on, very abundant to the reserved time of background debug, no longer allows background debug work overtime exactly debugging.Solve the problem of total group test difficulty.When the function of test background is applied, no longer need the total group test being carried out protection and measurement and control by multiple stage tester.Can Reality simulation snowslide test.Existing snowslide test, is the test of network storm in fact, fully can provides the real snowslide test data with association.Can all systems test test be carried out, full station IED equipment simulating dosage can be given very easily, and carry out the joint test of system.Namely can shorten the time of building of snowslide test environment, the speed optimizing snowslide concurrent test, flexible operation, convenience is set, stable and reliable operation, multiple functional and testing efficiency is high.
Embodiments provide the method for the snowslide test based on multiserver emulation, can shorten the time of building of snowslide test environment, optimize the speed of snowslide concurrent test by said method.
Be introduced the Apparatus and system of the snowslide test based on multiserver emulation that the embodiment of the present invention provides below, the method that Apparatus and system and the above-described snowslide emulated based on multiserver of the snowslide test based on multiserver emulation described below are tested can mutual corresponding reference.
The device of a kind of snowslide test based on multiserver emulation provided by the invention, can comprise:
Multiserver analogue system, for the operation according to user, determines the virtual unit carrying out snowslide test; Determine the process that virtual unit described in each is corresponding; Described process is assigned in corresponding virtual machine according to pre-defined rule; Control described virtual machine parallel running process, wherein, described virtual machine utilizes Time Slice Circular Scheduling to run process;
Virtual machine, controlling for receiving described multiserver analogue system, running corresponding process.
Optionally, said apparatus can comprise structure multiserver analogue system module, for building the virtual relay protection device meeting station level data interaction and Behavior-Based control requirement according to relaying protection model file; The virtual measurement and control device meeting station level data interaction and Behavior-Based control requirement is built according to measure and control device model file; For each described virtual relay protection device and described virtual measurement and control device distribute force title, report-control block and IP address; Write emulation testing program.
Optionally, described multiserver analogue system can comprise:
Determination module, for determining the best number of processes of virtual machine;
Distribution module, for according to the quantity of described process and described best number of processes, determines the quantity of virtual machine, and distributes the process of best number of processes for each described virtual machine.
Said apparatus can also comprise:
Generation module, for generating the result of described snowslide test.
Above-mentioned any device can also comprise:
Reminding module, for pointing out snowslide described in user to test, and shows described result.
Please refer to Fig. 4, the structured flowchart of the system of the snowslide test based on multiserver emulation that Fig. 4 provides for the embodiment of the present invention; This system can comprise: monitoring backstage 500, telecontrol communication machine 400, information substation 300, MMS switch 200, and above-mentioned device 100 (namely above-mentioned people is with the device of the snowslide test based on multiserver emulation of technical scheme indication); Wherein, described monitoring backstage 500, described telecontrol communication machine 400, described information substation 300 is connected with described device 100 by MMS switch 200; The simulation to full station arrangement and networking can be realized, in test macro work station, complete the control to full station analog machine, without the need to actual dosage.
Described device 100, for building multiserver analogue system; Described multiserver analogue system, according to the operation of user, determines the virtual unit carrying out snowslide test; Determine the process that virtual unit described in each is corresponding; Described process is assigned in corresponding virtual machine according to pre-defined rule; Control described virtual machine parallel running process, wherein, described virtual machine utilizes Time Slice Circular Scheduling to run process.
Wherein, concrete build process can adopt layer distributed design principle, such as: to be bottom-uply respectively: smart machine hardware platform, smart machine software platform, multiserver simulation Software Platform.Wherein, smart machine hardware platform comprises the support to Windows, Linux, can realize cross-platform deployment.Smart machine software platform comprises the network management system, rdal-time DBMS, people's machine management system, general event management system, virtual machine management system etc. of supporting to subscribe to and issue.Each platform utilizes modularized design, and modular design makes the structure of system more reasonable, improves the efficiency of the deployment of system, management, maintenance, also improves the performance of multiserver.
In specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above method, the Apparatus and system of the snowslide test based on multiserver emulation provided by the present invention are described in detail.Apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping.It should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, can also carry out some improvement and modification to the present invention, these improve and modify and also fall in the protection range of the claims in the present invention.

Claims (10)

1., based on a method for the snowslide test of multiserver emulation, it is characterized in that, build multiserver analogue system, comprising:
Described multiserver analogue system, according to the operation of user, determines the virtual unit carrying out snowslide test;
Determine the process that virtual unit described in each is corresponding;
Described process is assigned in corresponding virtual machine according to pre-defined rule;
Control described virtual machine parallel running process, wherein, described virtual machine utilizes Time Slice Circular Scheduling to run process.
2. the method for claim 1, is characterized in that, described process is assigned to corresponding virtual machine according to pre-defined rule and comprises:
Determine the best number of processes of virtual machine;
According to quantity and the described best number of processes of described process, determine the quantity of virtual machine, and be the process that each described virtual machine distributes best number of processes.
3. the method for claim 1, is characterized in that, described structure multiserver analogue system comprises:
The virtual relay protection device meeting station level data interaction and Behavior-Based control requirement is built according to relaying protection model file;
The virtual measurement and control device meeting station level data interaction and Behavior-Based control requirement is built according to measure and control device model file;
For each described virtual relay protection device and described virtual measurement and control device distribute force title, report-control block and IP address;
Write emulation testing program.
4. the method as described in any one of claims 1 to 3, is characterized in that, also comprises:
Generate the result of described snowslide test.
5. method as claimed in claim 4, is characterized in that, also comprise:
Described in prompting user, snowslide has been tested, and described result is shown.
6., based on a device for the snowslide test of multiserver emulation, it is characterized in that, comprising:
Multiserver analogue system, for the operation according to user, determines the virtual unit carrying out snowslide test; Determine the process that virtual unit described in each is corresponding; Described process is assigned in corresponding virtual machine according to pre-defined rule; Control described virtual machine parallel running process, wherein, described virtual machine utilizes Time Slice Circular Scheduling to run process;
Virtual machine, controlling for receiving described multiserver analogue system, running corresponding process.
7. device as claimed in claim 6, it is characterized in that, described multiserver analogue system comprises:
Determination module, for determining the best number of processes of virtual machine;
Distribution module, for according to the quantity of described process and described best number of processes, determines the quantity of virtual machine, and distributes the process of best number of processes for each described virtual machine.
8. device as claimed in claims 6 or 7, is characterized in that, also comprise:
Generation module, for generating the result of described snowslide test.
9. device as claimed in claim 8, is characterized in that, also comprise:
Reminding module, for pointing out snowslide described in user to test, and shows described result.
10. based on a system for the snowslide test of multiserver emulation, it is characterized in that, comprising: monitoring backstage, telecontrol communication machine, information substation, MMS switch, and the device as described in any one of claim 6 to 9; Wherein, described monitoring backstage, described telecontrol communication machine, described information substation is connected with described device by MMS switch;
Described device, for building multiserver analogue system; Described multiserver analogue system, according to the operation of user, determines the virtual unit carrying out snowslide test; Determine the process that virtual unit described in each is corresponding; Described process is assigned in corresponding virtual machine according to pre-defined rule; Control described virtual machine parallel running process, wherein, described virtual machine utilizes Time Slice Circular Scheduling to run process.
CN201510751048.0A 2015-11-06 2015-11-06 Multi-server-simulation-based avalanche testing method, apparatus, and system Pending CN105391597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510751048.0A CN105391597A (en) 2015-11-06 2015-11-06 Multi-server-simulation-based avalanche testing method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510751048.0A CN105391597A (en) 2015-11-06 2015-11-06 Multi-server-simulation-based avalanche testing method, apparatus, and system

Publications (1)

Publication Number Publication Date
CN105391597A true CN105391597A (en) 2016-03-09

Family

ID=55423449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510751048.0A Pending CN105391597A (en) 2015-11-06 2015-11-06 Multi-server-simulation-based avalanche testing method, apparatus, and system

Country Status (1)

Country Link
CN (1) CN105391597A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951324A (en) * 2017-03-10 2017-07-14 广东恒聚医疗科技有限公司 The concurrent operation system and method emulated for quick FLUKA
CN108959074A (en) * 2018-06-15 2018-12-07 Oppo(重庆)智能科技有限公司 Method, apparatus, storage medium and the electronic equipment in testing algorithm library
CN111984523A (en) * 2019-05-24 2020-11-24 腾讯科技(深圳)有限公司 Message processing task testing method, device, system, equipment and medium
CN112202937A (en) * 2020-09-30 2021-01-08 中国核动力研究设计院 Instrument control simulation system IP allocation method, system, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7454756B2 (en) * 2004-03-05 2008-11-18 Intel Corporation Method, apparatus and system for seamlessly sharing devices amongst virtual machines
CN101894047A (en) * 2010-06-24 2010-11-24 北京航空航天大学 Kernel virtual machine scheduling policy-based implementation method
CN103267906A (en) * 2013-04-18 2013-08-28 国家电网公司 Comprehensive automatic transformer substation snow slide testing device based on time synchronization system
CN103440159A (en) * 2013-08-05 2013-12-11 华为技术有限公司 Method and system for scheduling processes
CN103930875A (en) * 2011-06-16 2014-07-16 尤塞瑞斯公司 Software virtual machine for acceleration of transactional data processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7454756B2 (en) * 2004-03-05 2008-11-18 Intel Corporation Method, apparatus and system for seamlessly sharing devices amongst virtual machines
CN101894047A (en) * 2010-06-24 2010-11-24 北京航空航天大学 Kernel virtual machine scheduling policy-based implementation method
CN103930875A (en) * 2011-06-16 2014-07-16 尤塞瑞斯公司 Software virtual machine for acceleration of transactional data processing
CN103267906A (en) * 2013-04-18 2013-08-28 国家电网公司 Comprehensive automatic transformer substation snow slide testing device based on time synchronization system
CN103440159A (en) * 2013-08-05 2013-12-11 华为技术有限公司 Method and system for scheduling processes

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘焕志,胡剑锋,李枫,祁忠: "变电站自动化仿真测试系统的设计和实现", 《电力系统自动化》 *
黄旭: "浙江金华500kV兰溪变调试总结", 《百度文库》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951324A (en) * 2017-03-10 2017-07-14 广东恒聚医疗科技有限公司 The concurrent operation system and method emulated for quick FLUKA
CN108959074A (en) * 2018-06-15 2018-12-07 Oppo(重庆)智能科技有限公司 Method, apparatus, storage medium and the electronic equipment in testing algorithm library
CN108959074B (en) * 2018-06-15 2022-06-14 Oppo(重庆)智能科技有限公司 Method and device for testing algorithm library, storage medium and electronic equipment
CN111984523A (en) * 2019-05-24 2020-11-24 腾讯科技(深圳)有限公司 Message processing task testing method, device, system, equipment and medium
CN111984523B (en) * 2019-05-24 2023-12-12 腾讯科技(深圳)有限公司 Message processing task testing method, device, system, equipment and medium
CN112202937A (en) * 2020-09-30 2021-01-08 中国核动力研究设计院 Instrument control simulation system IP allocation method, system, equipment and storage medium
CN112202937B (en) * 2020-09-30 2021-11-30 中国核动力研究设计院 Instrument control simulation system IP allocation method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102033798B (en) Method for simulating intelligent electronic device IEC61850/MMS (Microsoft media server) server
CN103399496B (en) Intelligent grid magnanimity real time data load simulation test cloud platform and its method of testing
CN105391597A (en) Multi-server-simulation-based avalanche testing method, apparatus, and system
CN103544103A (en) Method and system for test, simulation and concurrence of software performance
CN110018392B (en) Test system of distribution automation system main station
CN207352604U (en) A kind of intelligent distribution transformer terminals automatization test system based on LUA scripts
CN207991823U (en) The virtual test bay system of aero-engine semi physical
CN110784020A (en) Automatic checking and accepting equipment, system and method for monitoring information
CN103984335B (en) The method of testing of electrical power distribution automatization system and system
CN204291050U (en) A kind of dispatching and monitoring information check system
CN109783186A (en) A kind of method for scheduling task and system detecting cloud platform
CN107819611B (en) Client test method based on IEC61850 multi-server simulation
CN110689223A (en) Robot batch management system based on RPA control
CN110611312B (en) On-line simulation system and method for panoramic data of substation bay level
Gomes et al. Energy analyzer emulator for microgrid implementation and demonstration and respective gateway
CN112684719A (en) Virtual power plant simulation test system, method and storage medium
CN113079051A (en) Parallel simulation method based on transformer substation localization communication protocol
CN105847076A (en) Signal testing system, method and device for substation control level equipment of transformer substation
CN105426247B (en) A kind of HLA federal members programming dispatching method
Wiesner et al. Software‐in‐the‐loop simulation for developing and testing carbon‐aware applications
CN110137945B (en) Simulation test method and system for mass measurement data
Fu et al. Design of experiment platform for digital substation based on IEC 61850
Manur et al. Energyan: A portable platform for microgrid education, research, and development
CN105406996A (en) Method for intelligent substation station control layer MMS communication simulation
CN109521691A (en) Power grid panoramic simulation system and power grid panoramic simulation method

Legal Events

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

Application publication date: 20160309