CN109814517A - Method and system for processing fan operation parameters and computer readable storage medium - Google Patents
Method and system for processing fan operation parameters and computer readable storage medium Download PDFInfo
- Publication number
- CN109814517A CN109814517A CN201711164834.6A CN201711164834A CN109814517A CN 109814517 A CN109814517 A CN 109814517A CN 201711164834 A CN201711164834 A CN 201711164834A CN 109814517 A CN109814517 A CN 109814517A
- Authority
- CN
- China
- Prior art keywords
- test case
- preset condition
- operating parameter
- parameter
- mark
- 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
- 238000012545 processing Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000012360 testing method Methods 0.000 claims abstract description 251
- 238000003672 processing method Methods 0.000 claims abstract description 27
- 238000001514 detection method Methods 0.000 claims description 34
- 238000005516 engineering process Methods 0.000 claims description 18
- 238000005070 sampling Methods 0.000 claims description 14
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 241000208340 Araliaceae Species 0.000 description 4
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 4
- 235000003140 Panax quinquefolius Nutrition 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 235000008434 ginseng Nutrition 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000009533 lab test Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Landscapes
- Control Of Positive-Displacement Air Blowers (AREA)
Abstract
The invention provides a method and a system for processing fan operating parameters and a computer readable storage medium, wherein the processing method comprises the following steps: acquiring operating parameters of a fan; according to the obtained operation parameters, when the preset conditions in the preset condition set are determined to be met, generating the test cases of the test case identifications corresponding to the preset conditions, wherein the test cases of the test case identifications corresponding to the preset conditions comprise: the method comprises a test case identification corresponding to a preset condition and an operation parameter meeting the preset condition, wherein the test case identification indicates a fault type or a working condition type of the fan, and the preset condition set comprises the preset condition corresponding to at least one fault type and/or at least one working condition type. By adopting the method and the system for processing the operating parameters of the fan and the computer readable storage medium, a test case can be generated based on the actual operating parameters of the fan, so that the follow-up test of a preset control program in the fan is facilitated.
Description
Technical field
All things considered of the present invention is related to technical field of wind power generation, more particularly, is related to a kind of fan operation parameter
Processing method and system and computer readable storage medium.
Background technique
Currently, wind power generating set (hereinafter referred to as blower) by its master controller (such as blower main control PLC,
Programmable Logic Controller) control operation, after research staff's exploitation blower main control PLC program is completed, survey
Examination personnel need to test the main control PLC program of blower in laboratory or scene.
During laboratory test, test case for being tested main control PLC program be usually manually according to
What design logic was write, but the test case of manual compiling not necessarily meets live actual complex operating condition service condition.
At the scene during blower small-lot testing, scene weather condition is not easy out within the testing time when relying on test
Now all operating condition service conditions need to manually adjust individual operating parameters to be tested.
Summary of the invention
A kind of processing method and system for being designed to provide fan operation parameter of exemplary embodiment of the present invention with
Computer readable storage medium, be used to generate test case operating parameter can accurate reproduction scene actual complex operating condition,
It had differences, be not easy for all events with solving the parameter in test case in the prior art with blower scene actual operating state
The technical issues of barrier or operating condition are tested.
One side according to an exemplary embodiment of the present invention provides a kind of processing method of fan operation parameter, feature
It is, the treating method comprises: obtains the operating parameter of blower;According to the operating parameter of acquisition, determine that preset condition is concentrated
Preset condition when meeting, the test case that test case corresponding with the preset condition identifies is generated, with the default item
The test case of the corresponding test case mark of part includes: described in test case mark corresponding with the preset condition and satisfaction
The operating parameter of preset condition, wherein the fault type or operating condition type of test case mark instruction blower, the preset condition
Collection includes preset condition corresponding at least one fault type and/or at least one operating condition type.
Optionally, the processing method can further include: stores to the test case of generation;Or/also, from generation
Test case in obtain target detection use-case and identify corresponding test case;Operating parameter in the test case that will acquire is made
For the input of predetermined control program;Obtain the output result of the predetermined control program;When the output result and the target
When the fault type or consistent operating condition type of the indicated blower of test case mark, determine that the predetermined control program is normally transported
Row;When the output result and the target detection use-case identify the fault type or operating condition Type-Inconsistencies of indicated blower
When, it is abnormal to determine that the predetermined control program exists.
Optionally it is determined that generating test corresponding with the preset condition when preset condition that preset condition is concentrated meets
The step of test case of use-case mark can include: when the preset condition for determining that the preset condition is concentrated meets, determine
Sampling time point;It acquires operating parameter in chronological order since sampling time point, obtains survey corresponding with the preset condition
The operating parameter of example mark and acquisition on probation;The operation ginseng for being identified and being acquired according to test case corresponding with the preset condition
Number generates the test case of test case mark corresponding with the preset condition.
Optionally, the step of input of the operating parameter in test case that will acquire as predetermined control program, can wrap
Include: the operating parameter for the acquisition in test case that will acquire successively is used as the predetermined control program according to acquisition time sequence
Input.
Another aspect according to an exemplary embodiment of the present invention provides a kind of processing system of fan operation parameter, special
Sign is that the processing system includes: parameter acquiring unit, obtains the operating parameter of blower;Test cases technology unit, according to
The operating parameter of acquisition when the preset condition for determining that preset condition is concentrated meets, generates test corresponding with the preset condition
The test case of use-case mark, wherein the test case of corresponding with preset condition test case mark include: with it is described
The corresponding test case mark of preset condition and the operating parameter for meeting the preset condition, test case mark instruction blower
Fault type or operating condition type, the preset condition collection include and at least one fault type and/or at least one operating condition type
Corresponding preset condition.
Optionally, the processing system can further include: storage unit stores the test case of generation;Or/and
And the processing system can further include: test case call unit obtains target detection use-case mark from the test case of generation
Know corresponding test case, input of the operating parameter in test case that will acquire as the predetermined control program in blower,
The output of the predetermined control program is obtained as a result, when the output result and the target detection use-case identify indicated wind
When the fault type or consistent operating condition type of machine, the predetermined control normal program operation is determined, when the output result and institute
When stating the fault type or operating condition Type-Inconsistencies of the indicated blower of target detection use-case mark, the predetermined control journey is determined
Sequence exists abnormal.
Optionally, when the preset condition that Test cases technology unit can determine that the preset condition is concentrated meets, really
Determine sampling time point, acquire operating parameter in chronological order since sampling time point, obtains corresponding with the preset condition
The operating parameter of test case mark and acquisition, the operation for being identified and being acquired according to test case corresponding with the preset condition
Parameter generates the test case of test case mark corresponding with the preset condition.
Optionally, when the operating parameter for the acquisition in test case that test case call unit can will acquire is according to acquisition
Between sequence the successively input as the predetermined control program.
It is according to an exemplary embodiment of the present invention in another aspect, provide a kind of computer readable storage medium, be stored with and work as
Processor is made to execute the program instruction of the processing method of above-mentioned fan operation parameter when being executed by processor.
It is according to an exemplary embodiment of the present invention in another aspect, providing a kind of processing system of fan operation parameter, comprising:
First processor;First memory, for storing when being executed by first processor so that the above-mentioned fan operation of first processor
The program instruction of the step of generation test case in the processing method of parameter.
Optionally, the processing system can further include: second processor;Second memory, for storing when by second
Reason device execute in the processing method of above-mentioned fan operation parameter based on the test case of generation to the predetermined control in blower
The program instruction for the step of program is tested.
Optionally, first processor and second processor can be respectively configured as single processor or first processor
Same processor can be implemented as with second processor.
Using the processing method and system and computer-readable storage of the fan operation parameter of exemplary embodiment of the present
Medium can generate test case based on the actual operation parameters of blower, to facilitate the subsequent predetermined control journey in blower
Sequence is tested.
Detailed description of the invention
Pass through the detailed description carried out below with reference to the attached drawing for being exemplarily illustrated embodiment, exemplary embodiment of the present
Above and other objects, features and advantages will become apparent, it is characterised in that:
Fig. 1 shows the flow chart of the step of generation test case according to an exemplary embodiment of the present invention;
Fig. 2 shows the step of being handled for the operating parameter once obtained according to an exemplary embodiment of the present invention
Flow chart;
Fig. 3 shows the operating parameter according to an exemplary embodiment of the present invention based on acquisition and preset condition collection generates and institute
The flow chart for the step of stating the test case of the corresponding test case mark of preset condition of preset condition concentration;
Fig. 4 show it is according to an exemplary embodiment of the present invention based on the test case of generation to the predetermined control journey in blower
The flow chart for the step of sequence is tested;
Fig. 5 shows the structural block diagram of the processing system of fan operation parameter according to an exemplary embodiment of the present invention;
Fig. 6 shows server arrangement schematic diagram according to an exemplary embodiment of the present invention.
Specific embodiment
Now, different example embodiments is more fully described with reference to the accompanying drawings, which is characterized in that some exemplary implementations
Example is shown in the accompanying drawings.
Here, the processing method of fan operation parameter according to an exemplary embodiment of the present invention includes generating test case
Step.
Fig. 1 shows the flow chart of the step of generation test case according to an exemplary embodiment of the present invention.
Referring to Fig.1, in step slo, the operating parameter of blower is obtained.Here, the operating parameter of blower can refer to blower and exist
The parameter acquired when operation by the way that the sensor of blower interior or periphery is arranged in.As an example, the operating parameter may include
At least one of but be not limited to following parameter: wind speed, environment temperature, wind direction, fan vibration parameter, electrical network parameter.
As an example, the operating parameter of the blower obtained can be the operating parameter of acquisition blower in real time or the blower of storage
Historical operating parameter.
In step S20, according to the operating parameter of acquisition and preset condition collection, generation is concentrated pre- with the preset condition
If the test case of the corresponding test case mark of condition.For example, determining what preset condition was concentrated according to the operating parameter of acquisition
When preset condition meets, the test case of test case mark corresponding with the preset condition is generated.Here, it is preset with any
The test case of condition corresponding test case mark includes test case mark corresponding with any preset condition and full
The operating parameter of foot any preset condition.
As an example, the fault type or operating condition type of test case mark instruction blower, the preset condition collection include
Preset condition corresponding at least one fault type and/or at least one operating condition type.
It the step of generation test case according to figure 1, can operating parameter and the generation of preset condition collection based on acquisition
For the test case for all preset conditions that the predetermined condition is concentrated.
In one example, when getting the operating parameter of blower every time in step S20, the operating parameter of acquisition is held
Row step shown in Fig. 2 generates corresponding when meeting a certain preset condition of preset condition concentration with the operating parameter when acquisition
Test case.
In the case, the operating parameter obtained every time can refer to the one group of operational factor of blower at a time (for example, wind
Wind speed, environment temperature, wind direction, fan vibration parameter and the electrical network parameter of machine at a time).Or the operation ginseng obtained every time
Number also can refer to the operating parameter of blower at a time (for example, wind speed, environment temperature, wind direction, fan vibration parameter, electricity
One of network parameters).For example, the operating parameter obtained every time may include operating parameter (e.g., the wind of the blower acquired in real time obtained
One group of operational factor or an operating parameter of the machine at the acquisition moment), or the operating parameter obtained every time may include storage
The one group of historical operating parameter or a historical operating parameter of blower at a time.
Fig. 2 shows the step of being handled for the operating parameter once obtained according to an exemplary embodiment of the present invention
Flow chart.
Referring to Fig. 2, in step s 201, i-th of default item that the operating parameter and the preset condition that will acquire are concentrated
Part is compared, that is, judges whether the operating parameter obtained meets i-th of preset condition that the preset condition is concentrated.Here,
1≤i≤n, n are the number that preset condition concentrates the preset condition for including, and n is the natural number more than or equal to 1, and the initial value of i is 1.
If the operating parameter obtained meets i-th of preset condition, S202 is thened follow the steps: obtaining and i-th of default item
The corresponding test case mark of part.
In step S203, generation includes that test case mark corresponding with i-th of preset condition and i-th of satisfaction are default
The test case of the operating parameter (that is, the operating parameter obtained) of condition.
If the operating parameter obtained is unsatisfactory for i-th of preset condition, thens follow the steps S204: judging whether i is equal to n.
If i is not equal to n, S205 is thened follow the steps: so that i=i+1, and return to step S201.
If i is equal to n, terminate the step.
It in another example, can be based on acquisition when the historical operating parameter for the blower that the operating parameter of acquisition is storage
Operating parameter and preset condition collection generate the survey that corresponding with the preset condition that the preset condition is concentrated test case identifies
Example on probation.
Fig. 3 shows the operating parameter according to an exemplary embodiment of the present invention according to acquisition and preset condition collection generates and institute
The flow chart for the step of stating the test case of the corresponding test case mark of preset condition of preset condition concentration.
Referring to Fig. 3, in step S210, is searched from the operating parameter of acquisition and meet the preset condition is concentrated i-th
The operating parameter of a preset condition.
In step S220, test case mark corresponding with i-th of preset condition is obtained.
In step S230, generation includes that test case mark corresponding with i-th of preset condition and i-th of satisfaction are default
The test case of the operating parameter (that is, the operating parameter found) of condition.
In step S240, judge whether i is equal to n.
If i is not equal to n, S250 is thened follow the steps: so that i=i+1, and return to step S210.
If i is equal to n, terminate the step.
Preferably, the processing method of fan operation parameter according to an exemplary embodiment of the present invention can further include: to generation
Test case stored.For example, the clothes into the central control room that wind field is arranged in can be stored the test case of generation
It is engaged in device or storage is into cloud server.
As an example, the filename of the test case generated can satisfy time point+test of any preset condition
Use-case mark is named.For example, filename can be date Hour Minute Second millisecond+fault code or date Hour Minute Second millisecond
+ operating condition code.However the invention is not limited thereto, other modes can be used also to determine the filename of test case.
The processing method of fan operation parameter according to an exemplary embodiment of the present invention, can after the test case of generation
Further include the steps that the test case based on generation tests the program for controlling fan operation, comes below with reference to Fig. 4
Introduce the step of test case based on generation tests the predetermined control program in blower.It should be understood that using the present invention
It can be improved after the accumulation of prolonged test case the step of generation test case shown in FIG. 1 in exemplary embodiment
To the Test coverage degree of the predetermined control program in blower.
Fig. 4 show it is according to an exemplary embodiment of the present invention based on the test case of generation to the predetermined control journey in blower
The flow chart for the step of sequence is tested.
Referring to Fig. 4, in step s 40, target detection use-case is obtained from the test case of generation and identifies corresponding test
Use-case.Here, target detection use-case mark can be used to indicate the test of predetermined failure type or predetermined operating condition type to be tested
Example mark.
In step s 50, the operating parameter in test case that will acquire is defeated as the predetermined control program in blower
Enter, so that the predetermined control program is run based on the operating parameter in the test case of acquisition.Here, the predetermined control
Processing procedure sequence can be configured to judge whether input meets target detection use-case mark (that is, indicating predetermined fault type or predetermined work
The test case of condition type identifies) corresponding to preset condition.As an example, the predetermined control program can refer to for controlling wind
The program of machine operation.
In step S60, the output result of the predetermined control program is obtained.
For example, when predetermined control program judgement input meets the corresponding preset condition of target detection use-case mark
When, the output result of the predetermined control program is target detection use-case mark.When predetermined control program judgement inputs not
When meeting preset condition corresponding to target detection use-case mark, the output result of the predetermined control program is surveyed not comprising target
Example mark on probation.
In step S70, according to the ratio of target detection use-case mark and the output result in the test case of acquisition
Relatively determine whether the predetermined control program can operate normally.
For example, the output result and target detection use-case mark are compared, if the output result and target
The fault type or operating condition type of the indicated blower of test case mark are consistent, it is determined that the predetermined control program is normally transported
Row, if the fault type or operating condition Type-Inconsistencies of blower indicated by the output result and target detection use-case mark,
It is abnormal then to determine that the predetermined control program exists.Here, when output result is target detection use-case mark (that is, described in instruction
The test case of predetermined failure type or predetermined operating condition type mark) when, judge to export test case indicated by result
Mark identifies whether unanimously with the target detection use-case in the test case obtained, when the two is consistent, shows the predetermined control
When the two is inconsistent, it is abnormal to determine that the predetermined control program exists for program normal operation.When output result does not include instruction institute
When stating the target detection use-case mark of predetermined failure type or the predetermined operating condition type, show include in the output result
Target detection use-case mark in content and the test case of acquisition is inconsistent, it is determined that there are different for the predetermined control program
Often.
After completing the test of all test cases to the predetermined control program in blower, test report can be automatically generated,
If qualified for whole testing cases, show that the predetermined control program meets design needs, if being directed to part
Testing case is unqualified, then feeds back to application developer, predetermined control program described in modification and perfection, so that described predetermined
It controls program and meets design needs.
Preferably, the operating parameter for meeting any preset condition can be the operating parameter of acquisition in predetermined amount of time,
The predetermined amount of time may include the time point for meeting any preset condition.At this point, corresponding with any preset condition
The test case of test case mark include test case mark corresponding with any preset condition and according to acquisition
The operating parameter acquired in the predetermined amount of time of time sequencing arrangement.
For example, the step of generating the test case of test case mark corresponding with the preset condition can include: determine
When the preset condition that the preset condition is concentrated meets, sampling time point is determined, here, sampling time point can refer to meet institute
State the time point of preset condition.It acquires operating parameter in chronological order since sampling time point, obtains and the preset condition
The operating parameter of corresponding test case mark and acquisition, identifies and is acquired according to test case corresponding with the preset condition
Operating parameter, generate the test case that corresponding with preset condition test case identifies.It should be understood that those skilled in the art
Member can define the finish time of acquisition operating parameter according to actual needs, to obtain the operation acquired in predetermined amount of time ginseng
Number.
In the case, input of the operating parameter in test case that will acquire as the predetermined control program in blower
The step of can include: the operating parameter (operation e.g., acquired in the predetermined amount of time for the acquisition in test case that will acquire
Parameter) input of the predetermined control program is successively used as according to acquisition time sequence, thus the predetermined control program according to
The acquisition time sequence is successively run based on the operating parameter acquired in the predetermined amount of time.
In one embodiment, it is assumed that when fan operation parameter meets the yawing velocity failure of the blower of preset condition concentration
Condition when, obtain the test case mark of instruction yawing velocity failure, and obtain the operating parameter acquired in predetermined amount of time
(for example, the operating parameter acquired in 5 minutes after the moment occurred to failure 5 minutes before the moment occurs from failure, here, when above-mentioned
Between those skilled in the art can be adjusted according to actual needs), generate include instruction yawing velocity failure test case
The test case of the operating parameter acquired in mark and the predetermined amount of time.As an example, the filename of test case can be
Moment (such as date Hour Minute Second millisecond)+yawing velocity fault code occurs for failure.
It, can be by the yaw speed of above-mentioned generation during laboratory needle tests the predetermined control program in blower
Operating parameter in the test case of degree failure gives the predetermined control program to be tested according to acquisition time sequential delivery, from
And fan condition before and after the simulated failure moment, test whether the predetermined control program exports corresponding yawing velocity failure correspondence
Test case mark.
Fig. 5 shows the structural block diagram of the processing system of fan operation parameter according to an exemplary embodiment of the present invention.
As shown in figure 5, the processing system of fan operation parameter according to an exemplary embodiment of the present invention includes that parameter obtains
Unit 10 and Test cases technology unit 20.
Particularly, parameter acquiring unit 10 obtains the operating parameter of blower.
Here, the operating parameter of blower can refer to blower pass through at runtime be arranged in blower interior or periphery sensor adopt
The parameter of collection, that is to say, that parameter acquiring unit 10 obtains sensor acquisition from the sensor that blower interior or periphery is arranged in
Blower operating parameter.As an example, the operating parameter may include but be not limited at least one of following parameter: wind
Speed, environment temperature, wind direction, fan vibration parameter, electrical network parameter.
As an example, the operating parameter of the blower obtained can be the operating parameter of acquisition blower in real time or the blower of storage
Historical operating parameter.
Test cases technology unit 20 generates and the preset condition collection according to the operating parameter and preset condition collection of acquisition
In preset condition corresponding test case mark test case.For example, fortune of the Test cases technology unit 20 according to acquisition
Row parameter when the preset condition for determining that preset condition is concentrated meets, generates test case mark corresponding with the preset condition
Test case.Here, the test case of corresponding with any preset condition test case mark include with it is described any default
The corresponding test case mark of condition and the operating parameter for meeting any preset condition.
As an example, the fault type or operating condition type of test case mark instruction blower, the preset condition collection include
Preset condition corresponding at least one fault type and/or at least one operating condition type.
According to figure 5 the processing system can operating parameter based on acquisition and preset condition collection generate for described
The test case for all preset conditions that predetermined condition is concentrated.That is, including the corresponding survey of all preset conditions in the test case
Example mark on probation and respectively and all preset conditions (that is, being identified respectively with all test cases) corresponding operating parameter.
In one example, when each parameter acquiring unit 10 gets the operating parameter of blower, Test cases technology list
Member 20 can execute following process to the operating parameter of acquisition, to meet a certain pre- of preset condition concentration when the operating parameter obtained
If generating corresponding test case when condition.
Particularly, Test cases technology unit 20 generates the process of test case are as follows: the operating parameter that will acquire and institute
I-th of preset condition for stating preset condition concentration is compared, that is, judges whether the operating parameter obtained meets the default item
I-th of preset condition that part is concentrated.If the operating parameter obtained meets i-th of preset condition, Test cases technology unit
20 obtain test case mark corresponding with i-th of preset condition, and generation includes test case corresponding with i-th of preset condition
The test case of the operating parameter (that is, the operating parameter obtained) of i-th of preset condition of mark and satisfaction.If the operation obtained
Parameter is unsatisfactory for i-th of preset condition, then Test cases technology unit 20 judges whether i is equal to n, if i is not equal to n, makes
I=i+1 is obtained, and continues to judge whether the operating parameter obtained meets i-th of preset condition that the preset condition is concentrated, if
I is equal to n, then Test cases technology unit 20 does not execute the movement for generating test case.
In another example, when the historical operating parameter for the blower that the operating parameter of acquisition is storage, test case is raw
At unit 20 can operating parameter based on acquisition and preset condition collection generate it is corresponding with the preset condition that the preset condition is concentrated
Test case mark test case.
Particularly, Test cases technology unit 20 according to the operating parameter and preset condition collection of acquisition generate with it is described pre-
If the process of the test case of the corresponding test case mark of preset condition in condition set can are as follows: from the operating parameter of acquisition
The operating parameter for meeting i-th of preset condition that the preset condition is concentrated is searched, then is obtained corresponding with i-th of preset condition
Test case mark, generation include test case mark corresponding with i-th of preset condition and the fortune for meeting i-th of preset condition
The test case of row parameter (that is, the operating parameter found).Test cases technology unit 20 judges whether i is equal to n, if i
Not equal to n, then make i=i+1, and continues to determine in the operating parameter of acquisition whether there is and meet what the preset condition was concentrated
The operating parameter of i-th of preset condition, if i is equal to n, Test cases technology unit 20, which does not execute, generates the dynamic of test case
Make.
Preferably, the processing system of fan operation parameter according to an exemplary embodiment of the present invention can further include: storage is single
Member stores the test case of generation.As an example, storage unit can be the clothes being arranged in the central control room of wind field
Business device or cloud server.
Fig. 6 shows server arrangement schematic diagram according to an exemplary embodiment of the present invention.
As shown in fig. 6,100 be the controller that blower interior is arranged in, 200 be the monitoring end being arranged in wind field Central Control Room
End, 300 be the server being arranged in wind field Central Control Room, monitor terminal 200 pass through Ethernet respectively with controller 100 and cloud
Server 400 is communicated.
Preferably, multiple sensors can be set in the inside of blower or periphery, the multiple sensor is respectively by acquisition
The operating parameter of blower is sent to parameter acquiring unit 10, and controller 100 obtains the operation ginseng of blower from parameter acquiring unit 10
Number.
In one example, the controller 100 of blower interior can will be set as Test cases technology shown in Fig. 5
Unit 20, that is, the processing method of fan operation parameter shown in FIG. 1 is executed in controller 100.
For example, controller 100 obtains the operating parameter of blower from parameter acquiring unit 10, and according to the operating parameter of acquisition
Test case mark is obtained with preset condition collection, generates test case corresponding with the preset condition that the preset condition is concentrated
The test case of mark.Then monitor terminal 200 is sent to arrive the test case storage of generation by the test case of generation
Server 300, or the test case of generation is uploaded into cloud via the monitor terminal 200 for the central control room that wind field is arranged in
End server 400 is stored.
In another example, the monitor terminal 200 of the central control room of wind field can will be set as survey shown in Fig. 5
Example generation unit 20 on probation, that is, the processing method of fan operation parameter shown in FIG. 1 is executed in monitor terminal 200.
In addition, the operating parameter obtained from parameter acquiring unit 10 is sent monitor terminal 200 by controller 100, monitoring
Terminal 200 generates survey corresponding with the preset condition that the preset condition is concentrated according to the operating parameter and preset condition collection of acquisition
The test case of example mark on probation, and the test case of generation is stored to server 300 or cloud server 400.In this feelings
Under condition, the controller 100 in blower is only that the operating parameter obtained from parameter acquiring unit 10 is forwarded without to above-mentioned
Operating parameter is handled.
However the invention is not limited thereto, and controller 100 and monitor terminal 200 can also be used to realize the survey in Fig. 5 jointly
The function of example generation unit 20 on probation.For example, controller 100 obtains operating parameter from parameter acquiring unit 10, and according to operation
Parameter and preset condition collection obtain test case mark corresponding with any preset condition that the preset condition is concentrated, control
The operating parameter obtained from parameter acquiring unit 10 and the test case of acquisition mark are sent monitor terminal 200 by device 100.
Monitor terminal 200 obtains the operating parameter for meeting any preset condition, and generates and include and any preset condition pair
The test case answered identifies and meets the test case of the operating parameter of any preset condition.
It should be understood that after the test case of generation, can the test case based on generation to the predetermined control journey in blower
Sequence is tested.
Preferably, the processing system of fan operation parameter according to an exemplary embodiment of the present invention can further include: test is used
Example call unit, is configured as: obtaining target detection use-case from the test case of generation and identifies corresponding test case, will obtain
Input of the operating parameter in test case taken as the predetermined control program in blower, thus the predetermined control program base
Operating parameter in the test case of acquisition is run, and obtains the output of the predetermined control program as a result, according to acquisition
Test case in target detection use-case identify whether determine the predetermined control program compared with the output result
It can operate normally.Here, predetermined failure type or predetermined operating condition type that target detection use-case mark can be to be tested for instruction
Test case mark.The predetermined control program can be configured to judge input whether meet target detection use-case mark (that is,
The test case of indicating predetermined fault type or predetermined operating condition type mark) corresponding to preset condition.As an example, described pre-
Surely control program can refer to the program for controlling fan operation.
For example, when predetermined control program judgement input meets the corresponding preset condition of target detection use-case mark
When, the output result of the predetermined control program is target detection use-case mark.When predetermined control program judgement inputs not
When meeting preset condition corresponding to target detection use-case mark, the output result of the predetermined control program is surveyed not comprising target
Example mark on probation.
It is identified compared with the output result according to the test case in the test case of acquisition and determines described make a reservation for
The processing that whether can operate normally of control program can include: the output result and target detection use-case are identified and carried out pair
Than when the output result is consistent with the fault type of the indicated blower of target detection use-case mark or operating condition type
When, the predetermined control normal program operation is determined, indicated by the output result and target detection use-case mark
When the fault type or operating condition Type-Inconsistencies of blower, it is abnormal to determine that the predetermined control program exists.
Preferably, the operating parameter for meeting any preset condition can be the operating parameter of acquisition in predetermined amount of time,
The predetermined amount of time may include the time point for meeting any preset condition.At this point, corresponding with any preset condition
The test case of test case mark include test case mark corresponding with any preset condition and according to acquisition
The operating parameter acquired in the predetermined amount of time of time sequencing arrangement.
For example, when the preset condition that Test cases technology unit determines that the preset condition is concentrated meets, it may be determined that
Sampling time point, here, sampling time point can refer to the time point for meeting the preset condition.And since sampling time point on time
Between acquisition order operating parameter, obtain the operating parameter of corresponding with preset condition test case mark and acquisition, according to
The operating parameter of corresponding with the preset condition test case mark and acquisition, generates test corresponding with the preset condition
The test case of use-case mark.It should be understood that those skilled in the art can define the knot of acquisition operating parameter according to actual needs
The beam moment, to obtain the operating parameter acquired in predetermined amount of time.
In the case, it is acquired in the predetermined amount of time in test case that test case call unit will acquire
Operating parameter is successively used as the input of the predetermined control program according to acquisition time sequence, so that the predetermined control program is pressed
It is successively run based on the operating parameter acquired in the predetermined amount of time according to the acquisition time sequence.
An exemplary embodiment of the present invention also provides a kind of computer readable storage medium.The computer-readable storage
Media storage has the program instruction for the processing method for making processor execute above-mentioned fan operation parameter when being executed by a processor.
The computer readable recording medium is the arbitrary data storage device that can store the data read by computer system.Computer can
The example of read record medium includes: read-only memory, random access memory, CD-ROM, tape, floppy disk, optical data storage
Device and carrier wave (such as being transmitted through wired or wireless transmission path by the data of internet).Computer readable recording medium
The computer system that can be distributed in connection network, so that computer-readable code stores and executes in a distributed manner.In addition, completing this
Function program, code and the code segment of invention can be easily by the ordinary programmers in field related to the present invention of the invention
Within the scope of explain.
An exemplary embodiment of the present invention also provides a kind of processing system of fan operation parameter, comprising: at first
Manage device;First memory is executed by first processor for storing to work as so that first processor executes above-mentioned fan operation and joins
The program instruction of the step of generation test case in several processing methods.
Preferably, the processing system that an exemplary embodiment of the present invention also provides a kind of fan operation parameter can be wrapped also
It includes: second processor;Second memory is executed when by second processor so that second processor executes above-mentioned wind for storing
The step that the predetermined control program in blower is tested using the test case generated in the processing method of machine operating parameter
Rapid program instruction.As an example, first processor and second processor can be respectively configured as single processor or first
Processor and second processor can be implemented as same processor.
Using the processing method and system and computer-readable storage of the fan operation parameter of exemplary embodiment of the present
Medium can generate test case based on the actual operation parameters of blower, subsequent to for controlling fan operation to facilitate
Program is tested, to improve the coverage of software test.
In addition, using exemplary embodiment of the present fan operation parameter processing method and system with it is computer-readable
Storage medium helps to test and optimize for controlling according to various types of failures of on-site collection and the test case of operating condition
The program of fan operation processed.
In addition, using exemplary embodiment of the present fan operation parameter processing method and system with it is computer-readable
Test cases technology efficiency and quality can be improved in storage medium, reduces manual testing's time, improves testing efficiency.In addition, generating
Test case may include live fan operation various complex working conditions, help to optimize the program for controlling fan operation.
Although being particularly shown and describing the present invention, those skilled in the art referring to its exemplary embodiment
It should be understood that in the case where not departing from the spirit and scope of the present invention defined by claim form can be carried out to it
With the various changes in details.
Claims (12)
1. a kind of processing method of fan operation parameter, which is characterized in that the treating method comprises:
Obtain the operating parameter of blower;
According to the operating parameter of acquisition, when the preset condition for determining that preset condition is concentrated meets, generate and the preset condition pair
The test case for the test case mark answered, the test case of corresponding with preset condition test case mark include: with
The corresponding test case mark of the preset condition and the operating parameter for meeting the preset condition,
Wherein, the fault type or operating condition type of test case mark instruction blower, the preset condition collection include and at least one
A fault type and/or at least one corresponding preset condition of operating condition type.
2. processing method as described in claim 1, which is characterized in that the processing method further include: use the test of generation
Example is stored;Or/also,
Target detection use-case is obtained from the test case of generation identifies corresponding test case;
Input of the operating parameter in test case that will acquire as predetermined control program;
Obtain the output result of the predetermined control program;
When the output result is consistent with the fault type of the indicated blower of target detection use-case mark or operating condition type
When, determine the predetermined control normal program operation;
When the fault type or operating condition type of the output result blower indicated with target detection use-case mark are different
When cause, it is abnormal to determine that the predetermined control program exists.
3. processing method as claimed in claim 1 or 2, which is characterized in that determine that the preset condition that preset condition is concentrated meets
When, the step of generating the test case that corresponding with preset condition test case identifies includes:
When the preset condition for determining that the preset condition is concentrated meets, sampling time point is determined;
It acquires operating parameter in chronological order since sampling time point, obtains test case mark corresponding with the preset condition
The operating parameter known and acquired;
The operating parameter for being identified and being acquired according to test case corresponding with the preset condition, generates and the preset condition pair
The test case for the test case mark answered.
4. processing method as claimed in claim 3, which is characterized in that the operating parameter in the test case that will acquire is as pre-
Surely control program input the step of include:
The operating parameter for the acquisition in test case that will acquire successively is used as the predetermined control journey according to acquisition time sequence
The input of sequence.
5. a kind of processing system of fan operation parameter, which is characterized in that the processing system includes:
Parameter acquiring unit obtains the operating parameter of blower;
Test cases technology unit when the preset condition for determining that preset condition is concentrated meets, is generated according to the operating parameter of acquisition
The test case of test case mark corresponding with the preset condition,
Wherein, and the test case of the preset condition corresponding test case mark includes: corresponding with the preset condition
Test case identifies and meets the operating parameter of the preset condition, the fault type or operating condition of test case mark instruction blower
Type, the preset condition collection include preset condition corresponding at least one fault type and/or at least one operating condition type.
6. processing system as claimed in claim 5, which is characterized in that the processing system further include: storage unit, to generation
Test case stored;Or/also,
The processing system further include:
Test case call unit obtains target detection use-case from the test case of generation and identifies corresponding test case, will
Input of the operating parameter as the predetermined control program in blower in the test case of acquisition, obtains the predetermined control program
Output as a result, when the output result and the indicated blower of target detection use-case mark fault type or operating condition class
When type is consistent, the predetermined control normal program operation is determined, when the output result and the target detection use-case identify institute
When the fault type or operating condition Type-Inconsistencies of the blower of instruction, it is abnormal to determine that the predetermined control program exists.
7. such as processing system described in claim 5 or 6, which is characterized in that Test cases technology unit determines the default item
When the preset condition that part is concentrated meets, determines sampling time point, acquire operation in chronological order since sampling time point
Parameter obtains the operating parameter of corresponding with preset condition test case mark and acquisition, according to the preset condition
The operating parameter of corresponding test case mark and acquisition generates the test of test case mark corresponding with the preset condition
Use-case.
8. processing system as claimed in claim 6, which is characterized in that in the test case that test case call unit will acquire
The operating parameter of acquisition the input of the predetermined control program is successively used as according to acquisition time sequence.
9. a kind of computer readable storage medium is stored with and processor is made to execute such as claim 1 when being executed by a processor
To the program instruction of the processing method of fan operation parameter described in any one in 4.
10. a kind of processing system of fan operation parameter, comprising:
First processor;
First memory is executed by first processor so that first processor executes as claimed in claim 1 or 3 for storing to work as
Fan operation parameter processing method program instruction.
11. processing system as claimed in claim 10, which is characterized in that the processing system further include:
Second processor;
Second memory is executed by second processor so that second processor is executed as described in claim 2 or 4 for storing to work as
Fan operation parameter processing method program instruction.
12. processing system as claimed in claim 11, which is characterized in that first processor and second processor are configured respectively
Same processor is implemented as single processor or first processor and second processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711164834.6A CN109814517A (en) | 2017-11-21 | 2017-11-21 | Method and system for processing fan operation parameters and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711164834.6A CN109814517A (en) | 2017-11-21 | 2017-11-21 | Method and system for processing fan operation parameters and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109814517A true CN109814517A (en) | 2019-05-28 |
Family
ID=66599695
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711164834.6A Pending CN109814517A (en) | 2017-11-21 | 2017-11-21 | Method and system for processing fan operation parameters and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109814517A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110262454A (en) * | 2019-06-25 | 2019-09-20 | 三一重能有限公司 | Test macro, the method and device of blower fan control system |
CN111291239A (en) * | 2020-03-11 | 2020-06-16 | 格力电器(合肥)有限公司 | Unit testing method, device, equipment and storage medium |
CN112945602A (en) * | 2021-03-17 | 2021-06-11 | 广东美的暖通设备有限公司 | Air conditioner self-learning software and hardware combined test system |
CN113494428A (en) * | 2020-03-20 | 2021-10-12 | 新疆金风科技股份有限公司 | Fault detection method and device of wind generating set |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102360331A (en) * | 2011-10-09 | 2012-02-22 | 中国航空无线电电子研究所 | Test program automatic generation method based on formal description |
US20120173931A1 (en) * | 2007-10-08 | 2012-07-05 | Nathan John Walter Kube | Testing and mitigation framework for networked devices |
CN103838675A (en) * | 2014-03-21 | 2014-06-04 | 上海富欣智能交通控制有限公司 | Method for generating test cases for computer interlocking system automatically |
CN104133771A (en) * | 2014-08-13 | 2014-11-05 | 五八同城信息技术有限公司 | Testing method and device |
CN106155894A (en) * | 2015-04-10 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of generation method and device of test case |
CN106815138A (en) * | 2015-12-01 | 2017-06-09 | 北京奇虎科技有限公司 | A kind of method and apparatus for generating interface testing use-case |
CN107132837A (en) * | 2017-04-24 | 2017-09-05 | 中广核工程有限公司 | A kind of method of testing and system of nuclear plant digital reactor protection system |
CN107341102A (en) * | 2017-06-12 | 2017-11-10 | 北京奇安信科技有限公司 | A kind of test case file generation method and device |
-
2017
- 2017-11-21 CN CN201711164834.6A patent/CN109814517A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120173931A1 (en) * | 2007-10-08 | 2012-07-05 | Nathan John Walter Kube | Testing and mitigation framework for networked devices |
CN102360331A (en) * | 2011-10-09 | 2012-02-22 | 中国航空无线电电子研究所 | Test program automatic generation method based on formal description |
CN103838675A (en) * | 2014-03-21 | 2014-06-04 | 上海富欣智能交通控制有限公司 | Method for generating test cases for computer interlocking system automatically |
CN104133771A (en) * | 2014-08-13 | 2014-11-05 | 五八同城信息技术有限公司 | Testing method and device |
CN106155894A (en) * | 2015-04-10 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of generation method and device of test case |
CN106815138A (en) * | 2015-12-01 | 2017-06-09 | 北京奇虎科技有限公司 | A kind of method and apparatus for generating interface testing use-case |
CN107132837A (en) * | 2017-04-24 | 2017-09-05 | 中广核工程有限公司 | A kind of method of testing and system of nuclear plant digital reactor protection system |
CN107341102A (en) * | 2017-06-12 | 2017-11-10 | 北京奇安信科技有限公司 | A kind of test case file generation method and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110262454A (en) * | 2019-06-25 | 2019-09-20 | 三一重能有限公司 | Test macro, the method and device of blower fan control system |
CN111291239A (en) * | 2020-03-11 | 2020-06-16 | 格力电器(合肥)有限公司 | Unit testing method, device, equipment and storage medium |
CN111291239B (en) * | 2020-03-11 | 2023-10-10 | 格力电器(合肥)有限公司 | Method, device, equipment and storage medium for testing unit |
CN113494428A (en) * | 2020-03-20 | 2021-10-12 | 新疆金风科技股份有限公司 | Fault detection method and device of wind generating set |
CN113494428B (en) * | 2020-03-20 | 2022-11-22 | 新疆金风科技股份有限公司 | Fault detection method and device of wind generating set |
CN112945602A (en) * | 2021-03-17 | 2021-06-11 | 广东美的暖通设备有限公司 | Air conditioner self-learning software and hardware combined test system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109814517A (en) | Method and system for processing fan operation parameters and computer readable storage medium | |
CN109947646A (en) | Interface test method, device, computer equipment and storage medium | |
CN108021505B (en) | Data online method and device and computer equipment | |
US9141915B2 (en) | Method and apparatus for deriving diagnostic data about a technical system | |
WO2021027213A1 (en) | Detection method and apparatus, electronic device and computer-readable medium | |
US9466087B2 (en) | Meter data management testing | |
US11340599B2 (en) | Monitoring apparatus and method for monitoring a system | |
WO2018014502A1 (en) | Elevator pre-diagnosis method and device | |
US20210397950A1 (en) | Abnormal driving state determination device and method using neural network model | |
CN109839915A (en) | Diagnostic device, diagnostic method and storage medium | |
CN111104535A (en) | Data management system and data management method | |
CN108628263A (en) | Control system, control device, computer readable storage medium and control method | |
JP2013196698A (en) | System monitoring | |
CN105468507B (en) | Branch standard reaching detection method and device | |
CN109324956A (en) | System detection method, equipment and computer readable storage medium | |
CN110490132B (en) | Data processing method and device | |
CN117421152A (en) | Container abnormality detection method and device | |
CN114896168B (en) | Quick debugging system, method and memory for automatic driving algorithm development | |
US9274515B2 (en) | Systems and methods for recording data associated with the operation of foundation fieldbus devices | |
CN116833998A (en) | Inspection method and device of robot, storage medium and electronic equipment | |
CN110399301A (en) | A kind of code test method, device, equipment and readable storage medium storing program for executing | |
CN109271309B (en) | Method and device for automatically testing software, server, equipment and storage medium | |
Kurtoglu et al. | Towards a framework for evaluating and comparing diagnosis algorithms | |
CN113127362A (en) | Object testing method, object testing device, electronic device, and readable storage medium | |
CN113595763B (en) | Fault-tolerant control method and device, fault-tolerant controller and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190528 |