A kind of calculation power estimation method, device, equipment and storage medium
Technical field
The present embodiments relate to the field of test technology more particularly to a kind of calculation power estimation method, device, equipment and storages
Medium.
Background technique
Performance test is to simulate a variety of normal and abnormal load conditions by the testing tool of automation come to system
Performance indexes is tested.Load testing and pressure test belong to performance test, and the two can be in conjunction with progress.By negative
Carry the performance that test determines the system under various workloads, it is therefore an objective to which test is when load gradually increases, system properties
The situation of change of index.Pressure test is the test for obtaining the maximum service rank that system is capable of providing.
It presses and is surveyed in platform in open source, such as Ngrinder, Jmeter, control centre need pressure surveying mission dispatching to multiple
It is tested on pressing machine.In general, the configuration of each pressing machine is different, so that resource and consumption money that each pressing machine has
The ability in source is also different, and the resource that each pressure surveys required by task is also different, to easily lead to and apply when carrying out pressure survey
The case where press resource utilization is low or resource overload.In order to avoid such case, need to carry out reasonably scheduling of resource.So
And when carrying out scheduling of resource, need the resource size for surveying required by task to the resource size and pressure of each pressing machine to measure
With compare.Since the configuration information using pressing machine intuitively can not compare and measure the resource size of pressing machine, at present
It is badly in need of a kind of method of resource size that can be used for unified metric pressing machine.
Summary of the invention
The embodiment of the invention provides a kind of calculation power estimation method, device, equipment and storage mediums, are pressed with unified metric
The resource size of machine is convenient for reasonably scheduling of resource.
In a first aspect, the embodiment of the invention provides a kind of calculation power estimation methods, comprising:
Acquire the target configuration information and resource consumption information of target pressing machine;
Calculate force value, reference configuration information and the target configuration information according to the reference of reference pressing machine, determine described in
The corresponding unloaded calculation force value of target pressing machine;
According to the resource consumption information and the unloaded calculation force value, determine that power is calculated in the corresponding consumption of the target pressing machine
Value.
Second aspect, the embodiment of the invention also provides a kind of calculation power estimation devices, comprising:
Target pressing machine information acquisition module, for acquiring the target configuration information and resource consumption letter of target pressing machine
Breath;
Force value determining module is calculated in zero load, for calculating force value, reference configuration information and institute according to the reference of reference pressing machine
Target configuration information is stated, determines the corresponding unloaded calculation force value of the target pressing machine;
Force value determining module is calculated in consumption, described in determining according to the resource consumption information and the unloaded calculation force value
Force value is calculated in the corresponding consumption of target pressing machine.
The third aspect, the embodiment of the invention also provides a kind of equipment, the equipment includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes such as calculation power estimation method provided by any embodiment of the invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes such as calculation power estimation method provided by any embodiment of the invention when the program is executed by processor.
The embodiment of the present invention calculates force value with reference to the reference configuration information of pressing machine and reference by setting one, to each need
Estimate that the target pressing machine for calculating power is normalized, determines that the corresponding unloaded calculation force value of each pressing machine and consumption calculate power
Value, so as to by calculate force value in the way of come unified metric and compare the resource size of each pressing machine, to carry out rationally
Ground scheduling of resource, the case where improving the resource utilization of pressing machine and avoid the occurrence of overload.
Detailed description of the invention
Fig. 1 is a kind of flow chart for calculation power estimation method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart for calculating power estimation method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for calculation power estimation device that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for calculation power estimation method that the embodiment of the present invention one provides, and the present embodiment is applicable to estimate
The case where counting the computing capability of pressing machine is pressed particularly for performance and is surveyed in platform when carrying out scheduling of resource, calculates every
The scene of a pressing machine resource size.This method can be executed by calculation power estimation device, which can be by software and/or hard
The mode of part realizes that be integrated in can carry out in the equipment of scheduling of resource.This method specifically includes the following steps:
S110, the target configuration information and resource consumption information for acquiring target pressing machine.
Wherein, pressing machine refers to the machine that can produce pressure measurement of discharge in system performance testing, can be virtual machine,
It is also possible to physical machine, such as server, computer and mobile phone etc..Target pressing machine, which refers to, needs to estimate that any one for calculating power is applied
Press.Target configuration information can be the hardware configuration information of feeling the pulse with the finger-tip mark pressing machine, such as central processing unit (Central
Processing Unit, CPU) core number and dominant frequency, memory size, harddisk access speed etc..Resource consumption information can be
Feeling the pulse with the finger-tip mark pressing machine executes consumed resource information when one or more tasks.Resource consumption information can include but is not limited to
CPU usage, memory usage and average loading information etc..
Illustratively, S110 may include: that Sigar is collected and reported by system information when the target pressing machine free time
Interface acquires the target configuration information and resource consumption information of target pressing machine according to the first predeterminated frequency;When target pressing machine is transported
When row task, the target configuration information and resource consumption of target pressing machine are acquired according to the second predeterminated frequency by Sigar interface
Information.
Wherein, Sigar is the main data collecting assembly of Hyperic HQ, compatible majority platform, such as windows system
Column platform, linux series platform and AIX series platform etc., can be used for collecting target pressing machine target configuration information and
Resource consumption information.Sigar interface is the extremely convenient interface used for being used to collect pressure machine information.First default frequency
Rate and the second predeterminated frequency each mean the frequency acquisition of acquisition target pressure machine information.The first predeterminated frequency in the present embodiment is big
In the second predeterminated frequency.
Specifically, the present embodiment can be applied according to the current state of target pressing machine by Sigar interface to acquire target
The target configuration information and resource consumption information of press.Illustratively, if target pressing machine is in idle condition, i.e., there is no pressures
It, can be every the information of a 5s target pressing machine of acquisition when survey task;If target pressing machine is in a busy state, that is, transporting
It, can be every the information of a 200ms target pressing machine of acquisition when row pressure survey task.When target pressing machine runs task, mesh
The resource consumption information variation for marking pressing machine is very fast, to need to reduce acquisition time interval, to monitor current goal pressing machine
Resource consumption situation.It presses and is surveyed in platform in performance, a long connection can be established between control centre and each pressing machine, it can be with
The target configuration information and resource consumption information of acquisition are reported into control centre, and control centre is receiving target configuration
After information and resource consumption information, these information can be stored into redis storage system, so that control centre's cluster can be with
The resource information of shared pressing machine, so as to quickly and conveniently carry out scheduling of resource.
S120, force value, reference configuration information and target configuration information are calculated according to the reference of reference pressing machine, determines target
The corresponding unloaded calculation force value of pressing machine.
It wherein, is the fixed pressing machine chosen to uniformly calculate power standard with reference to pressing machine.Reference configuration letter
Breath refers to the hardware configuration information of the reference pressing machine of selection.It can be the reference configuration according to reference pressing machine with reference to force value is calculated
The pre-set calculation force value of information.Illustratively, the pressing machine of the every core 2100MHz of 4 cores can be chosen as reference
Pressing machine, the reference for referring to pressing machine calculate force value and can be set to 100.Calculation force value in the present embodiment is currently applied for reflecting
The computing capability of press measures the size of current pressing machine resource.Zero load calculates force value and refers to that target pressing machine is applied in not running
When pressure task, the max calculation ability that has.If the unloaded force value of calculating of target pressing machine is bigger, show target pressing machine
Computing capability is bigger, and the resource having is also more.Reference in the present embodiment is calculated force value and is referred to reference to the corresponding zero load of pressing machine
Calculate force value.
Specifically, the reference configuration information of reference pressing machine and the target of target pressing machine can be matched confidence by the present embodiment
Breath is compared, and the corresponding unloaded calculation of target pressing machine can be determined by calculating force value according to comparison result and reference with reference to pressing machine
Force value is normalized so as to the unloaded resource to each pressing machine.The present embodiment can each be applied by basis
Press it is corresponding it is unloaded calculate force value, can the more convenient unloaded resource size for intuitively measuring and comparing each pressing machine, with
Just when carrying out scheduling of resource to target pressing machine, force value can be calculated by distribution and is less than the side that the task of force value is calculated in the zero load
Formula, to avoid the occurrence of the case where pressing machine overloads.
S130, force value is calculated according to resource consumption information and zero load, determines that force value is calculated in the corresponding consumption of target pressing machine.
Wherein, consumption calculation force value refers to target pressing machine consumed calculation force value when running pressure task.
It specifically, can be by the resource utilization of target pressing machine and sky when resource consumption information is resource utilization
The product for carrying calculation force value is determined as the consumption calculation force value of target pressing machine.During performance presses the pressure for surveying platform to survey, to pressure
The maximum parameter of machine real estate impact is CPU usage, so as to indicate the resource consumption feelings of pressing machine with CPU usage
Condition.Illustratively, if the CPU usage of some target pressing machine T1 is 50%, it is 200 that force value is calculated in zero load, then target pressing machine
It is 100 that force value is calculated in the corresponding consumption of T1.Force value is calculated in consumption by calculating pressing machine, can quickly and conveniently monitor each pressure
The resource consumption situation of machine.The present embodiment can also be determined according to corresponding unloaded force value and the consumption calculation force value calculated of target pressing machine
The corresponding remaining calculation force value of target pressing machine, to can be distributed to target pressing machine in scheduling of resource and calculate power with the residue
The task that value matches, thus the case where improving the resource utilization of pressing machine and avoiding the occurrence of overload.
The technical solution of the present embodiment calculates force value with reference to the reference configuration information of pressing machine and reference by setting one,
Need to estimate that the target pressing machine for calculating power is normalized to each, determine each pressing machine it is corresponding it is unloaded calculate force value and
Force value is calculated in consumption, so as to by calculate force value in the way of come unified metric and compare the resource size of each pressing machine, so as to
Reasonably scheduling of resource is carried out, the case where improving the resource utilization of pressing machine and avoid the occurrence of overload.
Based on the above technical solution, S120 may include: the reference configuration information and mesh according to reference pressing machine
Configuration information is marked, determines target pressing machine and with reference to the performance ratio between pressing machine;Power is calculated according to the reference of reference pressing machine
Value and performance ratio determine the corresponding unloaded calculation force value of target pressing machine.
Specifically, the present embodiment can quantify reference configuration information and target configuration information, by the mesh after quantization
The ratio between reference configuration information after mark configuration information and quantization is determined as target pressing machine and participates between pressing machine
Performance ratio.It is corresponding that product between the reference calculation force value and performance ratio of reference pressing machine can be determined as target pressing machine
Unloaded calculate force value.
It is CPU core calculation to the maximum configuration information of pressing machine real estate impact during performance presses the pressure for surveying platform to survey
And dominant frequency, other configurations information can be ignored, so that the present embodiment can carry out configuration quantization based on core number and dominant frequency.Example
Property, according to the reference configuration information and target configuration information of reference pressing machine, determine target pressing machine and with reference to pressing machine it
Between performance ratio, may include: to be determined corresponding with reference to pressing machine according to the reference core number of reference pressing machine and with reference to dominant frequency
Reference performance value;According to the target core number and target dominant frequency of target pressing machine, the corresponding Objective of target pressing machine is determined
It can value;The ratio of target capabilities value and reference performance value is determined as target pressing machine and with reference to the performance ratio between pressing machine
Value.
Specifically, the reference core number of reference pressing machine and the product with reference to dominant frequency can be determined as referring to by the present embodiment
The product of the target core number of target pressing machine and target dominant frequency is determined as target pressure by the corresponding reference performance value of pressing machine
The corresponding target capabilities value of machine.Illustratively, if being the every core 2100MHz of 4 cores with reference to pressing machine, target pressing machine is the every core of 8 cores
4200MHz is then 8400 with reference to the corresponding reference performance value of pressing machine, and the corresponding target capabilities value of target pressing machine is 33600,
Performance ratio between target pressing machine and reference pressing machine is 33600/8400=4, to be based on identical mode, Ke Yigeng
Add the performance ratio easily determined between each pressing machine and reference pressing machine, to be normalized.
Embodiment two
Fig. 2 is a kind of flow chart for calculating power estimation method provided by Embodiment 2 of the present invention, and the present embodiment is in above-mentioned implementation
On the basis of example, association pressing machine pair associated with goal task is calculated according to the calculation that force value is calculated in the consumption of pressing machine
Force value is calculated in the consumption answered, to estimate that the corresponding task of goal task calculates force value, wherein same as the previously described embodiments or corresponding
Details are not described herein for the explanation of term.
Referring to fig. 2, calculation power estimation method provided in this embodiment the following steps are included:
S210, when the task status of goal task is operating status, it is determining with the associated association pressing machine of goal task.
Specifically, when the task status of goal task is operating status, show thread of the control centre by goal task
Distribution, i.e., will be on specified one or more pressing machines, being determined as specified pressing machine being associated with pressing machine at this time
The associated pressing machine of the Run Script of goal task is determined as being associated with pressing machine.The quantity of association pressing machine in the present embodiment
It can be one or more.When there are multiple association pressing machines, these association pressing machines may be constructed one and goal task
Corresponding pressing machine cluster, each association pressing machine in pressing machine cluster can load and execute simultaneously the goal task of distribution
Mission thread.
The present embodiment can determine that the mode of force value is calculated in the corresponding consumption of target pressing machine based on the above embodiment, to determine
It is associated with the corresponding consumption of pressing machine and calculates force value.Specifically, association pressure can be calculated by executing following steps S220-S240
Force value is calculated in the corresponding consumption of machine.It, can be by way of repeating step S220-S240 when there are multiple association pressing machines
Force value is calculated to calculate the corresponding consumption of each association pressing machine.
The associated configuration information and resource consumption information of S220, acquisition association pressing machine.
Wherein, associated configuration information refers to the hardware configuration information of association pressing machine.Resource consumption information refers to that association is applied
Resource information that press currently consumes, such as CPU usage etc..
S230, force value, reference configuration information and associated configuration information are calculated according to the reference of reference pressing machine, determines association
The corresponding unloaded calculation force value of pressing machine.
S240, force value is calculated according to the corresponding resource consumption information of association pressing machine and zero load, determines that association pressing machine is corresponding
Consumption calculate force value.
It should be noted that when the corresponding task of calculating goal task calculates force value, it is necessary to assume that association pressing machine is corresponding
Consumption calculate force value be to be consumed by goal task, ignore the Expenditure Levels of other processes such as operating system.
S250, the score number of passes calculated force value according to the corresponding consumption of association pressing machine, load Thread Count and goal task,
Determine that the corresponding task of goal task calculates force value.
Wherein, load Thread Count refers to the quantity for the thread being associated in the goal task that pressing machine currently loads.This implementation
Load Thread Count in example can also be obtained by Sigar interface.The score number of passes of goal task, which refers to press in task, surveys field
The corresponding final concurrent thread number of goal task in scape.Illustratively, it is usually a gradient pressure model that task pressure, which surveys scene,
For example initial concurrent thread number is 10, and every 10 threads of increase in 100 seconds, when increasing to 1000 thread, it is small to stablize pressure 1
When, this surveys scene for a pressure, and it is 1000 which, which surveys the corresponding score number of passes of goal task under scene,.In creation goal task
When, score number of passes can be set according to user demand and actual conditions.Task, which calculates force value, can be used for measuring performance objective
The resource size that required by task is wanted, so as to reflect the ability of goal task consumption resource.
Illustratively, it can determine that the corresponding task of goal task calculates force value according to the following formula:
Wherein, S is that the corresponding task of goal task calculates force value;TmIt is the score number of passes of goal task;N is association pressure
The number of machine;CiIt is that force value is calculated in the corresponding consumption of i-th of association pressing machine;TiIt is the corresponding load thread of i-th of association pressing machine
Number.
Specifically, force value and the corresponding load of each association pressing machine are calculated according to the corresponding consumption of each association pressing machine
Thread Count determines the corresponding averagely calculation force value of each mission thread in goal task, then will can averagely calculate force value and target
The product of Thread Count is determined as the corresponding task of goal task and calculates force value.Force value is calculated by calculating the corresponding task of goal task,
It can determine that the pressing machine resource consumed required for executing the goal task avoids the occurrence of to carry out rational management to task
The problem that pressing machine overloads or resource utilization is low.
Illustratively, if the score number of passes of goal task is 100, in distribution to two association pressing machines, each association
Pressing machine is currently loaded with 20 threads, and it is respectively 150 and 250 that force value is calculated in corresponding consumption, then the goal task is corresponding
Task calculates force value are as follows:
The technical solution of the present embodiment calculates power by calculating consumption corresponding with the associated association pressing machine of goal task
Value, and force value, load Thread Count and score number of passes are calculated to estimate that the corresponding task of goal task calculates force value according to consumption, thus
It can determine that the pressing machine resource consumed required for executing the goal task avoids so as to carry out rational management to task
There is the problem that pressing machine overloads or resource utilization is low.
It is the embodiment provided in an embodiment of the present invention for calculating power estimation device, the calculation of the device and the various embodiments described above below
Power estimation method belongs to the same inventive concept, the detail content of not detailed description in the embodiment for calculating power estimation device, can
With the embodiment with reference to above-mentioned calculation power estimation method.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for calculation power estimation device that the embodiment of the present invention three provides, and the present embodiment is applicable
In estimate the computing capability of pressing machine the case where, which is specifically included: target pressing machine information acquisition module 310 unloaded is calculated
Force value determining module 330 is calculated in force value determining module 320 and consumption.
Wherein, target pressing machine information acquisition module 310, for acquiring the target configuration information and resource of target pressing machine
Consumption information;Zero load calculate force value determining module 320, for according to reference of reference pressing machine calculation force value, reference configuration information with
And target configuration information, determine the corresponding unloaded calculation force value of target pressing machine;Force value determining module 330 is calculated in consumption, is used for basis
Resource consumption information and unloaded calculation force value, determine that force value is calculated in the corresponding consumption of target pressing machine.
The technical solution of the present embodiment calculates force value with reference to the reference configuration information of pressing machine and reference by setting one,
Need to estimate that the target pressing machine for calculating power is normalized to each, determine each pressing machine it is corresponding it is unloaded calculate force value and
Force value is calculated in consumption, so as to by calculate force value in the way of come unified metric and compare the resource size of each pressing machine, so as to
Reasonably scheduling of resource is carried out, the case where improving the resource utilization of pressing machine and avoid the occurrence of overload.
Optionally, target pressing machine information acquisition module 310, is specifically used for:
When the target pressing machine free time, collect and report that Sigar interface is adopted according to the first predeterminated frequency by system information
Collect the target configuration information and resource consumption information of target pressing machine;
When target pressing machine runs task, target pressing machine is acquired according to the second predeterminated frequency by Sigar interface
Target configuration information and resource consumption information;
Wherein, the first predeterminated frequency is greater than the second predeterminated frequency.
It is optionally, unloaded to calculate force value determining module 320, comprising:
Performance ratio determination unit is determined for the reference configuration information and target configuration information according to reference pressing machine
Performance ratio between target pressing machine and reference pressing machine;
Force value determination unit is calculated in zero load, for calculating force value and performance ratio according to the reference of reference pressing machine, determines target
The corresponding unloaded calculation force value of pressing machine.
Optionally, performance ratio determination unit, is specifically used for:
According to the reference core number of reference pressing machine and dominant frequency is referred to, determines and refers to the corresponding reference performance value of pressing machine;
According to the target core number and target dominant frequency of target pressing machine, the corresponding target capabilities value of target pressing machine is determined;
The ratio of target capabilities value and reference performance value is determined as target pressing machine and with reference to the performance between pressing machine
Ratio.
Optionally, the device further include:
It is associated with pressing machine determining module, it is determining to appoint with target when for the task status in goal task being operating status
It is engaged in associated association pressing machine;
Task calculates force value determining module, for calculating force value, load Thread Count and mesh according to the corresponding consumption of association pressing machine
The score number of passes of mark task determines that the corresponding task of goal task calculates force value;
Correspondingly, consumption calculates force value determining module 330 for determining that force value is calculated in the corresponding consumption of association pressing machine.
Optionally, determine that the corresponding task of goal task calculates force value according to the following formula:
Wherein, S is that the corresponding task of goal task calculates force value;TmIt is the score number of passes of goal task;N is association pressure
The number of machine;CiIt is that force value is calculated in the corresponding consumption of i-th of association pressing machine;TiIt is the corresponding load thread of i-th of association pressing machine
Number.
Optionally, resource consumption information includes central processor CPU utilization rate.
Calculation power estimation device provided by the embodiment of the present invention can be performed calculation power provided by any embodiment of the invention and estimate
Meter method has execution and calculates the corresponding functional module of power estimation method and beneficial effect.
It is worth noting that, included each unit and module are only pressed in the embodiment of above-mentioned calculation power estimation device
It is divided, but is not limited to the above division according to function logic, as long as corresponding functions can be realized;In addition,
The specific name of each functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
Example IV
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.Referring to fig. 4, which includes:
One or more processors 410;
Memory 420, for storing one or more programs;
When one or more programs are executed by one or more processors 410, so that one or more processors 410 are realized
Power estimation method is calculated as provided by above-mentioned any embodiment, this method comprises:
Acquire the target configuration information and resource consumption information of target pressing machine;
Force value, reference configuration information and target configuration information are calculated according to the reference of reference pressing machine, determines that target presses
The corresponding unloaded calculation force value of machine;
According to resource consumption information and unloaded calculation force value, determine that force value is calculated in the corresponding consumption of target pressing machine.
In Fig. 4 by taking a processor 410 as an example;Processor 410 and memory 420 in equipment can by bus or its
He connects mode, in Fig. 4 for being connected by bus.
Memory 420 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer
Sequence and module, if the corresponding program instruction/module of calculation power estimation method in the embodiment of the present invention is (for example, calculate power estimation dress
Target pressing machine information acquisition module 310, unloaded calculation force value determining module 320 and consumption in setting calculate force value determining module
330).Software program, instruction and the module that processor 410 is stored in memory 420 by operation, thereby executing equipment
Above-mentioned calculation power estimation method is realized in various function application and data processing.
Memory 420 mainly includes storing program area and storage data area, wherein storing program area can store operation system
Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to equipment.This
Outside, memory 420 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one
Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can be into one
Step includes the memory remotely located relative to processor 410, these remote memories can pass through network connection to equipment.On
The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
The calculation power estimation method that the equipment and above-described embodiment that the present embodiment proposes propose belongs to same inventive concept, does not exist
The technical detail of detailed description can be found in above-described embodiment in the present embodiment, and the present embodiment has execution and calculates power estimation method
Identical beneficial effect.
Embodiment five
The present embodiment five provides a kind of computer readable storage medium, is stored thereon with computer program, which is located
It manages and realizes such as calculation power estimation method provided by any embodiment of the invention when device executes, this method comprises:
Acquire the target configuration information and resource consumption information of target pressing machine;
Force value, reference configuration information and target configuration information are calculated according to the reference of reference pressing machine, determines that target presses
The corresponding unloaded calculation force value of machine;
According to resource consumption information and unloaded calculation force value, determine that force value is calculated in the corresponding consumption of target pressing machine.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium can be for example but not limited to: electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or
Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one
Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM),
Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light
Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can
With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to:
Wirelessly, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language, such as Java, Smalltalk, C++, also
Including conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete
It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part
Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to
And in the situation of remote computer, remote computer can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to subscriber computer, or, it may be connected to outer computer (such as led to using ISP
Cross internet connection).
Will be appreciated by those skilled in the art that each module of the above invention or each step can use general meter
Device is calculated to realize, they can be concentrated on single computing device, or be distributed in network constituted by multiple computing devices
On, optionally, they can be realized with the program code that computer installation can be performed, so as to be stored in storage
It is performed by computing device in device, perhaps they are fabricated to each integrated circuit modules or will be more in them
A module or step are fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and
The combination of software.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.