CN109446103A - A kind of CIM Provider test method and device - Google Patents
A kind of CIM Provider test method and device Download PDFInfo
- Publication number
- CN109446103A CN109446103A CN201811354525.XA CN201811354525A CN109446103A CN 109446103 A CN109446103 A CN 109446103A CN 201811354525 A CN201811354525 A CN 201811354525A CN 109446103 A CN109446103 A CN 109446103A
- Authority
- CN
- China
- Prior art keywords
- order
- target formation
- cim provider
- configuration file
- data configuration
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of CIM Provider test methods, method includes the following steps: receiving the call request that CIM Provider is sent, and determine the corresponding target formation order of call request;Judge the whether defined target formation order of Mock data configuration file;If it is, reading analog result corresponding with target formation order from Mock data configuration file;CIM Provider is returned to using analog result as the operation result obtained after system or equipment performance objective bottom order.The problem of dependence of actual test system or equipment to bottom order can be got rid of, the development efficiency of CIM Provider can be improved, find CIM Provider program in time, improve delivery quality.The invention also discloses a kind of CIM Provider test device, equipment and readable storage medium storing program for executing, have corresponding technical effect.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of CIM Provider test method, device, equipment
And readable storage medium storing program for executing.
Background technique
CIM provides a kind of generic definition to all system or equipment information.User uses the client for following CIM model
End, can manage all system or equipments for following CIM model standard.Management based on CIM model includes following several parts:
CIM client, CIM server-side, CIM Provider.
User passes through CIM client management system or equipment;The operation that CIM client issues user is transmitted to CIM clothes
Business end;The management of CIM server-side and operation information model object, management and operation are realized by CIM Provider.Therefore,
Operation and management of the CIM client to system or equipment can all give CIM Provide finally to handle.For system or set
Standby provider, the groundwork for developing the model for meeting CIM standard is exploitation CIM Provider.In CIM Provider journey
In the development process of sequence, some development is encapsulation and conversion to bottom order (such as CLI).For example, will pass through
The object information that bottom order checks out is converted into meeting the format of CIM model standard, or the operation of CIM client is converted
At corresponding bottom order.
During practical item development, for some reason (such as bottom command development progress is slow), lead to system
Or equipment does not support bottom order or can not return to required information.This will lead to CIM Provider program development completion
Afterwards, it can not normally be debugged or test job, influence development progress and delivery quality.
In conclusion the problems such as how efficiently solving the test of CIM Provider, is current those skilled in the art
Technical problem urgently to be solved.
Summary of the invention
The object of the present invention is to provide a kind of CIM Provider test method, device, equipment and readable storage medium storing program for executing, with
In the case where the information required for system or equipment is not supported bottom order or can not be returned, CIM Provider is surveyed
Examination.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of CIM Provider test method, comprising:
The call request that CIM Provider is sent is received, and determines the corresponding target formation order of the call request;
Judge the whether defined target formation order of Mock data configuration file;Wherein, the Mock data are matched
It sets file and matches with the design document for developing bottom order;
If it is, reading simulation knot corresponding with the target formation order from the Mock data configuration file
Fruit;
The operation result obtained after the analog result is executed the target formation order as system or equipment returns
To the CIM Provider.
Preferably, it is described judge the whether defined target formation order of Mock data configuration file after, also
Include:
If it is not, then the target formation order is sent to the system or the equipment;
The operation result is received, and the operation result is returned into the CIM Provider.
Preferably, it is described judge the whether defined target formation order of Mock data configuration file before, also
Include:
The configuration file of specified format is created, wherein the specified format is JSON or xml;
According to the design document, the bottom order that the CIM Provider is called, and with the bottom order
The configuration file is written in corresponding analog result, obtains Mock data configuration file.
Preferably, according to the design document, the bottom order that the CIM Provider is called, and with the bottom
Layer orders corresponding analog result that the configuration file is written, and obtains Mock data configuration file, comprising:
Using label, the bottom order analog result corresponding with the bottom order is marked;
After the completion of label, the configuration file is written into the bottom order and the analog result.
Preferably, judge the whether defined target formation order of Mock data configuration file, comprising:
Traversal queries are carried out to the Mock data configuration file;
If inquiring the target formation order, it is determined that the Mock data configuration file is defined after traversal
The target formation order;
If not inquiring the target formation order, it is determined that the Mock data configuration file is uncertain after traversal
The justice target formation order.
Preferably, the call request that CIM Provider is sent is received, comprising:
The call request is received, and determines the corresponding target formation order of the call request;Wherein, the tune
Order with request for the target formation order is packaged or is converted.
Preferably, analog result corresponding with the target formation order is read from the Mock data configuration file,
Include:
According to the default rule of correspondence, the analog result is read from the Mock data configuration file.
A kind of CIM Provider test device, comprising:
Target formation order determining module for receiving the call request of CIM Provider transmission, and determines the tune
With the corresponding target formation order of request;
Judgment module, for judging the whether defined target formation order of Mock data configuration file;
Analog result obtains module, is used for if it is, reading and the target from the Mock data configuration file
The corresponding analog result of bottom order;
Operation result feedback module, for executing the target formation order for the analog result as system or equipment
The operation result obtained afterwards returns to the CIM Provider.
A kind of CIM Provider test equipment, comprising:
Memory, for storing computer program;
Processor, the step of above-mentioned CIM Provider test method is realized when for executing the computer program.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing
The step of processor realizes above-mentioned CIM Provider test method when executing.
Using method provided by the embodiment of the present invention, the call request that CIM Provider is sent is received, and determines and adjusts
With the corresponding target formation order of request;Judge the whether defined target formation order of Mock data configuration file;If so,
Analog result corresponding with target formation order is then read from Mock data configuration file;Analog result as system or is set
The operation result obtained after standby performance objective bottom order returns to CIM Provider.
When testing CIM Provider, according to the operation requests of CIM client, CIM Provider can send with
Order management module is given in the call request of the corresponding target formation order of operation requests.Order management module receives the calling and asks
When asking, it is first determined the corresponding target formation order of call request.Then, whether judge in Mock data configuration file with definition
Target formation order.If it is judged that be it is yes, then can be read directly in Mock data configuration file with target formation order
Enable corresponding analog result.It, can be according to being written with the bottom order being pre-designed and mould in the development process to bottom order
The design document of the corresponding relationship of quasi- result is developed.That is, really being transported in the case where the design of bottom command development is errorless
Row result should be consistent with analog result, therefore can be using analog result as obtaining after system or equipment performance objective bottom order
Operation result returns to CIM Provider.That is, after defining bottom order in Mock data configuration file,
CIM Provider is carried out in test or debugging process, can get rid of actual test system or equipment to bottom order according to
The problem of relying, the development efficiency of CIM Provider can be improved, finding CIM Provider program in time, improve delivery quality.
Correspondingly, the embodiment of the invention also provides CIMs corresponding with above-mentioned CIM Provider test method
Provider test device, equipment and readable storage medium storing program for executing, have above-mentioned technique effect, and details are not described herein.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of CIM Provider test method in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of CIM Provider test device in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of CIM Provider test equipment in the embodiment of the present invention;
Fig. 4 is a kind of concrete structure schematic diagram of CIM Provider test equipment in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to FIG. 1, Fig. 1 is a kind of flow chart of CIM Provider test method in the embodiment of the present invention, this method
It can be applied to order management module, method includes the following steps:
S101, the call request that CIM Provider is sent is received, and determines the corresponding target formation order of call request.
In general, tester operates CIM client in carrying out test or debugging process to CIM Provider, it is allowed to
Issue operation requests.After CIM server-side receives operation requests, corresponding CIM is selected according to the particular situation of operation requests
Provider.CIM Provider then sends call request to order management module according to operation requests, to call bottom to order
It enables.It can refer to current realization step or process for the concrete implementation step or process of this process, no longer go to live in the household of one's in-laws on getting married one by one herein
It states.
It can be asked according to calling based on this when order management module receives the call request of CIM Provider transmission
It asks and determines the corresponding target formation order of call request.For example, can bottom order is named or be numbered, be ordered according to bottom
The command name or number of order can call bottom order.
Wherein, call request is the order that target formation order is packaged or is converted.For example, will be by calling bottom
It orders the object information checked out to be converted into meeting the format of CIM model standard, or the operation of CIM client is converted into phase
The bottom order answered.
S102, judge the whether defined target formation order of Mock data configuration file.
Wherein, Mock data configuration file and the design document of exploitation bottom order match.
In embodiments of the present invention, a Mock data configuration file can be preset, and in Mock data configuration file
In bottom order is defined, specific bottom order definition need to exploitation bottom order design document match.
Specifically, judging the whether defined target formation order of Mock data configuration file, comprising:
Step 1: carrying out traversal queries to Mock data configuration file;
Step 2: if inquiring target formation order, it is determined that Mock data configuration file is defined after traversal
Target formation order;
Step 3: if not inquiring target formation order, it is determined that Mock data configuration file is undefined after traversal
Target formation order.
For ease of description, above three step is combined below and is illustrated.
Ergodic algorithm can be used, traversal queries are carried out to Mock data configuration file, if being inquired after traversal
Target formation order, it is determined that the defined target formation order of Mock data configuration file;If not inquired after traversal
Target formation order, it is determined that the undefined target formation order of Mock data configuration file.It should be noted that inquiring target
Bottom order can be specially the title or number for inquiring target formation order.
It preferably, can also be by Mock data configuration file for the ease of reading the corresponding analog result of target formation order
It is configured according to specified format.The mode that Mock data configuration file is arranged is to execute and sentence before executing step S102
Before the whether defined target formation order of disconnected Mock data configuration file, following steps are executed:
Step 1: the configuration file of creation specified format, wherein specified format is JSON or xml;
Step 2: according to design document, the bottom order that CIM Provider is called, and it is corresponding with bottom order
Configuration file is written in analog result, obtains Mock data configuration file.
For ease of description, above-mentioned two step is combined below and is illustrated.
The configuration file of JSON format can be created, the configuration file of xml format can also be created.The embodiment of the present invention is to configuration
The format of file does not limit.Wherein, JSON (JavaScript Object Notation) format is in a kind of lightweight
Indicate in JavaScript object one group of data can be converted to character string by object and array, then can be in letter
This character string is easily transmitted between number, or character string is passed into service from Web client in asynchronous application
Device end program.
Then, according to design bottom order design document, the bottom order that CIM Provider is called, and with bottom
Layer orders corresponding analog result that configuration file is written, and obtains Mock data configuration file.That is, in Mock data configuration
In file, it is not only written with the bottom order called for CIM Provider, also writes the corresponding analog result of bottom order
Enter.
According to the judging result for the judgment step for executing step S102, it may be determined that subsequent operation.Specifically, if it is determined that knot
Fruit be it is yes, that is, show that the corresponding analog result of target formation order can be read from Mock data configuration file, then can be performed
The operation of step S103;If it is judged that be it is no, then according to common test mode carry out, can be performed S105 operation.
S103, analog result corresponding with target formation order is read from Mock data configuration file.
Specifically, analog result can be read from Mock data configuration file according to the default rule of correspondence.For example,
In Mock data configuration file, bottom order is adjacent with analog result, as followed its corresponding simulation closely after each bottom order
As a result, in this way, target formation order can be found, and read the analog result followed closely after target formation order.
Preferably, can also to set convenient for the corresponding relationship between the different bottom order of determination and corresponding analog result
During setting Mock data configuration file, according to design document, the bottom order that CIM Provider is called, Yi Jiyu
Configuration file is written in the corresponding analog result of bottom order, obtains Mock data configuration file.Can be specially to bottom order and
It is marked between analog result using label.Specifically, label is used, by bottom order simulation corresponding with bottom order
As a result it is marked, after the completion of label, configuration file is written into bottom order and analog result.In this way, reading bottom life
When enabling corresponding analog result, then corresponding analog result can be fast and accurately found according to label information.
S104, it is returned to analog result as the operation result obtained after system or equipment performance objective bottom order
CIM Provider。
It, can be according to being written with the bottom order and analog result that are pre-designed due in the development process to bottom order
The design document of corresponding relationship developed.That is, in the case where the design of bottom command development is errorless, real operation result
Should be consistent with analog result, therefore can be using analog result as the operation knot obtained after system or equipment performance objective bottom order
Fruit returns to CIM Provider.
S105, it enables system or equipment operational objective bottom instruct, obtain operation result and returns to CIM Provider.
Wherein, the test process of common test mode includes:
Step 1: target formation order is sent to system or equipment;
Step 2: receiving operation result, and operation result is returned into CIM Provider.
That is, after the program development for completing bottom order, actual motion target formation order in system or equipment,
And operation result is obtained, operation result is then returned into CIM Provider and is operated.
After performing step S104 or step S105, i.e., after operation result being returned to CIM Provider, CIM
Provider can carry out follow-up test according to the CIM Provider program of exploitation design or debugging is handled.
Using method provided by the embodiment of the present invention, the call request that CIM Provider is sent is received, and determines and adjusts
With the corresponding target formation order of request;Judge the whether defined target formation order of Mock data configuration file;If so,
Analog result corresponding with target formation order is then read from Mock data configuration file;Analog result as system or is set
The operation result obtained after standby performance objective bottom order returns to CIM Provider.
When testing CIM Provider, according to the operation requests of CIM client, CIM Provider can send with
Order management module is given in the call request of the corresponding target formation order of operation requests.Order management module receives the calling and asks
When asking, it is first determined the corresponding target formation order of call request.Then, whether judge in Mock data configuration file with definition
Target formation order.If it is judged that be it is yes, then can be read directly in Mock data configuration file with target formation order
Enable corresponding analog result.It, can be according to being written with the bottom order being pre-designed and mould in the development process to bottom order
The design document of the corresponding relationship of quasi- result is developed.That is, really being transported in the case where the design of bottom command development is errorless
Row result should be consistent with analog result, therefore can be using analog result as obtaining after system or equipment performance objective bottom order
Operation result returns to CIM Provider.That is, after defining bottom order in Mock data configuration file,
CIM Provider is carried out in test or debugging process, can get rid of actual test system or equipment to bottom order according to
The problem of relying, the development efficiency of CIM Provider can be improved, finding CIM Provider program in time, improve delivery quality.
Embodiment two:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of CIM Provider test device,
CIM Provider test device described below can correspond to each other reference with above-described CIM Provider test method.
Shown in Figure 2, which comprises the following modules:
Target formation order determining module 101 for receiving the call request of CIM Provider transmission, and is determined and is called
Request corresponding target formation order;
Judgment module 102, for judging the whether defined target formation order of Mock data configuration file;
Analog result obtains module 103, is used to order if it is, reading from Mock data configuration file with target formation
Enable corresponding analog result;
Operation result feedback module 104, for being obtained using analog result as after system or equipment performance objective bottom order
To operation result return to CIM Provider.
Using device provided by the embodiment of the present invention, the call request that CIM Provider is sent is received, and determines and adjusts
With the corresponding target formation order of request;Judge the whether defined target formation order of Mock data configuration file;If so,
Analog result corresponding with target formation order is then read from Mock data configuration file;Analog result as system or is set
The operation result obtained after standby performance objective bottom order returns to CIM Provider.
When testing CIM Provider, according to the operation requests of CIM client, CIM Provider can send with
Order management module is given in the call request of the corresponding target formation order of operation requests.Order management module receives the calling and asks
When asking, it is first determined the corresponding target formation order of call request.Then, whether judge in Mock data configuration file with definition
Target formation order.If it is judged that be it is yes, then can be read directly in Mock data configuration file with target formation order
Enable corresponding analog result.It, can be according to being written with the bottom order being pre-designed and mould in the development process to bottom order
The design document of the corresponding relationship of quasi- result is developed.That is, really being transported in the case where the design of bottom command development is errorless
Row result should be consistent with analog result, therefore can be using analog result as obtaining after system or equipment performance objective bottom order
Operation result returns to CIM Provider.That is, after defining bottom order in Mock data configuration file,
CIM Provider is carried out in test or debugging process, can get rid of actual test system or equipment to bottom order according to
The problem of relying, the development efficiency of CIM Provider can be improved, finding CIM Provider program in time, improve delivery quality.
In a kind of specific embodiment of the invention, further includes:
Routine test module, for after judging the whether defined target formation order of Mock data configuration file,
If it is not, then target formation order is sent to system or equipment;Operation result is received, and operation result is returned into CIM
Provider。
In a kind of specific embodiment of the invention, Mock data configuration file setup module, for judging Mock
Before the whether defined target formation order of data configuration file, the configuration file of specified format is created, wherein specified format
For JSON or xml;According to design document, the bottom order that CIM Provider is called, and mould corresponding with bottom order
Configuration file is written in quasi- result, obtains Mock data configuration file.
In a kind of specific embodiment of the invention, Mock data configuration file setup module is specifically used for using mark
Label, bottom order analog result corresponding with bottom order is marked;After the completion of label, bottom order and simulation are tied
Configuration file is written in fruit.
In a kind of specific embodiment of the invention, judgment module 102, be specifically used for Mock data configuration file into
Row traversal queries;If inquiring target formation order after traversal, it is determined that the defined target of Mock data configuration file
Bottom order;If not inquiring target formation order, it is determined that the undefined target bottom of Mock data configuration file after traversal
Layer order.
In a kind of specific embodiment of the invention, target formation order determining module 101 is specifically used for receiving and call
Request, and determine the corresponding target formation order of call request;Wherein, call request be target formation order is packaged or
The order of conversion.
In a kind of specific embodiment of the invention, analog result obtains module 103, for according to default corresponding rule
Then, analog result is read from Mock data configuration file.
Embodiment three:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of CIM Provider test equipment,
A kind of CIM Provider test equipment described below can be mutual with a kind of above-described CIM Provider test method
To should refer to.
Show referring to Fig. 3, which includes:
Memory D1, for storing computer program;
Processor D2 realizes the CIM Provider test method of above method embodiment when for executing computer program
The step of.
Specifically, referring to FIG. 4, Fig. 4 is a kind of tool of CIM Provider test equipment provided in an embodiment of the present invention
Body structural schematic diagram, the CIM Provider test equipment can generate bigger difference because configuration or performance are different, can be with
Including one or more processors (central processing units, CPU) 322 (for example, one or more
Processor) and memory 332, the storage medium 330 (such as one of one or more storage application programs 342 or data 344
A or more than one mass memory unit).Wherein, memory 332 and storage medium 330 can be of short duration storage or persistently deposit
Storage.The program for being stored in storage medium 330 may include one or more modules (diagram does not mark), and each module can be with
Including being operated to the series of instructions in data processing equipment.Further, central processing unit 322 can be set to and store
Medium 330 communicates, and the series of instructions operation in storage medium 330 is executed in CIM Provider test equipment 301.
CIM Provider test equipment 301 can also include one or more power supplys 326, one or more
Wired or wireless network interface 350, one or more input/output interfaces 358, and/or, one or more operations
System 341.For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Step in CIM Provider test method as described above can be by CIM Provider test equipment
Structure is realized.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, are described below
A kind of readable storage medium storing program for executing can correspond to each other reference with a kind of above-described CIM Provider test method.
A kind of readable storage medium storing program for executing is stored with computer program on readable storage medium storing program for executing, and computer program is held by processor
The step of CIM Provider test method of above method embodiment is realized when row.
The readable storage medium storing program for executing be specifically as follows USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), the various program storage generations such as random access memory (Random Access Memory, RAM), magnetic or disk
The readable storage medium storing program for executing of code.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
Claims (10)
1. a kind of CIM Provider test method characterized by comprising
The call request that CIM Provider is sent is received, and determines the corresponding target formation order of the call request;
Judge the whether defined target formation order of Mock data configuration file;Wherein, the Mock data configuration text
Part and the design document of exploitation bottom order match;
If it is, reading analog result corresponding with the target formation order from the Mock data configuration file;
The operation result obtained after the analog result is executed the target formation order as system or equipment returns to institute
State CIM Provider.
2. CIM Provider test method according to claim 1, which is characterized in that match in the judgement Mock data
After setting the whether defined target formation order of file, further includes:
If it is not, then the target formation order is sent to the system or the equipment;
The operation result is received, and the operation result is returned into the CIM Provider.
3. CIM Provider test method according to claim 1, which is characterized in that match in the judgement Mock data
Before setting the whether defined target formation order of file, further includes:
The configuration file of specified format is created, wherein the specified format is JSON or xml;
According to the design document, the bottom order that the CIM Provider is called, and it is corresponding with the bottom order
Analog result the configuration file is written, obtain Mock data configuration file.
4. CIM Provider test method according to claim 3, which is characterized in that, will according to the design document
The configuration text is written in the bottom order that the CIM Provider is called, and analog result corresponding with the bottom order
Part obtains Mock data configuration file, comprising:
Using label, the bottom order analog result corresponding with the bottom order is marked;
After the completion of label, the configuration file is written into the bottom order and the analog result.
5. CIM Provider test method according to claim 1, which is characterized in that judge Mock data configuration file
The whether defined target formation order, comprising:
Traversal queries are carried out to the Mock data configuration file;
If inquiring the target formation order after traversal, it is determined that the defined institute of the Mock data configuration file
State target formation order;
If not inquiring the target formation order, it is determined that the undefined institute of Mock data configuration file after traversal
State target formation order.
6. CIM Provider test method according to claim 1, which is characterized in that receive CIM Provider and send
Call request, comprising:
The call request is received, and determines the corresponding target formation order of the call request;Wherein, the calling is asked
Ask the order for the target formation order is packaged or is converted.
7. CIM Provider test method according to any one of claims 1 to 6, which is characterized in that from the Mock
Analog result corresponding with the target formation order is read in data configuration file, comprising:
According to the default rule of correspondence, the analog result is read from the Mock data configuration file.
8. a kind of CIM Provider test device characterized by comprising
Target formation order determining module for receiving the call request of CIM Provider transmission, and determines that the calling is asked
Ask corresponding target formation order;
Judgment module, for judging the whether defined target formation order of Mock data configuration file;
Analog result obtains module, is used for if it is, reading and the target formation from the Mock data configuration file
Order corresponding analog result;
Operation result feedback module, for being obtained after the analog result is executed the target formation order as system or equipment
To operation result return to the CIM Provider.
9. a kind of CIM Provider test equipment characterized by comprising
Memory, for storing computer program;
Processor realizes that CIM Provider is surveyed as described in any one of claim 1 to 7 when for executing the computer program
The step of method for testing.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter on the readable storage medium storing program for executing
It is realized when calculation machine program is executed by processor as described in any one of claim 1 to 7 the step of CIM Provider test method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811354525.XA CN109446103A (en) | 2018-11-14 | 2018-11-14 | A kind of CIM Provider test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811354525.XA CN109446103A (en) | 2018-11-14 | 2018-11-14 | A kind of CIM Provider test method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109446103A true CN109446103A (en) | 2019-03-08 |
Family
ID=65552331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811354525.XA Pending CN109446103A (en) | 2018-11-14 | 2018-11-14 | A kind of CIM Provider test method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109446103A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113038068A (en) * | 2019-12-24 | 2021-06-25 | 浙江宇视科技有限公司 | Analog camera control method, device, equipment and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070240104A1 (en) * | 2006-04-10 | 2007-10-11 | Dell Products L.P. | System and method for validating common information model (CIM) compliance |
CN101110709A (en) * | 2006-07-20 | 2008-01-23 | 国际商业机器公司 | Automated discovery and configuration of components on a computer network |
CN101520739A (en) * | 2008-02-26 | 2009-09-02 | 国际商业机器公司 | Method and system for building simulator of device based on storage management plan specification |
CN101594376A (en) * | 2008-05-26 | 2009-12-02 | 国际商业机器公司 | The method and the corresponding device thereof of device are provided to the CIMOM registering CIM |
CN102891763A (en) * | 2011-07-21 | 2013-01-23 | 华为技术有限公司 | Method and device for acquiring CIM (Common Information Model) resource |
US8495657B1 (en) * | 2009-06-12 | 2013-07-23 | American Megatrends, Inc. | Virtualized management objects |
US20140037650A1 (en) * | 2009-07-24 | 2014-02-06 | University Of Chicago | Compositions and methods related to antibodies to staphylococcal proteins isda or isdb |
CN104461553A (en) * | 2014-12-18 | 2015-03-25 | 山东超越数控电子有限公司 | Storage management method in conformity with SMI-S (storage management initiative specification) standard |
CN105404543A (en) * | 2015-10-19 | 2016-03-16 | 浪潮(北京)电子信息产业有限公司 | Simulation machine |
CN106027330A (en) * | 2016-05-23 | 2016-10-12 | 中国银行股份有限公司 | Message testing method for front-end system, and simulation baffle system |
CN106681974A (en) * | 2016-12-26 | 2017-05-17 | 国网河北省电力公司电力科学研究院 | Method for automatically and movably simulating master station information point table solidification |
CN108427644A (en) * | 2018-03-27 | 2018-08-21 | 深圳市买买提信息科技有限公司 | Service test method, service testing system and service testing device |
US10089219B1 (en) * | 2017-01-20 | 2018-10-02 | Intuit Inc. | Mock server for testing |
US20180307594A1 (en) * | 2015-10-20 | 2018-10-25 | China Electric Power Research Institute Company Limited | System, method and storage device for cim/e model standard compliance test |
-
2018
- 2018-11-14 CN CN201811354525.XA patent/CN109446103A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070240104A1 (en) * | 2006-04-10 | 2007-10-11 | Dell Products L.P. | System and method for validating common information model (CIM) compliance |
CN101110709A (en) * | 2006-07-20 | 2008-01-23 | 国际商业机器公司 | Automated discovery and configuration of components on a computer network |
CN101520739A (en) * | 2008-02-26 | 2009-09-02 | 国际商业机器公司 | Method and system for building simulator of device based on storage management plan specification |
CN101594376A (en) * | 2008-05-26 | 2009-12-02 | 国际商业机器公司 | The method and the corresponding device thereof of device are provided to the CIMOM registering CIM |
US8495657B1 (en) * | 2009-06-12 | 2013-07-23 | American Megatrends, Inc. | Virtualized management objects |
US20140037650A1 (en) * | 2009-07-24 | 2014-02-06 | University Of Chicago | Compositions and methods related to antibodies to staphylococcal proteins isda or isdb |
CN102891763A (en) * | 2011-07-21 | 2013-01-23 | 华为技术有限公司 | Method and device for acquiring CIM (Common Information Model) resource |
CN104461553A (en) * | 2014-12-18 | 2015-03-25 | 山东超越数控电子有限公司 | Storage management method in conformity with SMI-S (storage management initiative specification) standard |
CN105404543A (en) * | 2015-10-19 | 2016-03-16 | 浪潮(北京)电子信息产业有限公司 | Simulation machine |
US20180307594A1 (en) * | 2015-10-20 | 2018-10-25 | China Electric Power Research Institute Company Limited | System, method and storage device for cim/e model standard compliance test |
CN106027330A (en) * | 2016-05-23 | 2016-10-12 | 中国银行股份有限公司 | Message testing method for front-end system, and simulation baffle system |
CN106681974A (en) * | 2016-12-26 | 2017-05-17 | 国网河北省电力公司电力科学研究院 | Method for automatically and movably simulating master station information point table solidification |
US10089219B1 (en) * | 2017-01-20 | 2018-10-02 | Intuit Inc. | Mock server for testing |
CN108427644A (en) * | 2018-03-27 | 2018-08-21 | 深圳市买买提信息科技有限公司 | Service test method, service testing system and service testing device |
Non-Patent Citations (1)
Title |
---|
高智闻: "基于SMI-S标准的通用存储设备CIM Agent模拟机", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113038068A (en) * | 2019-12-24 | 2021-06-25 | 浙江宇视科技有限公司 | Analog camera control method, device, equipment and storage medium |
CN113038068B (en) * | 2019-12-24 | 2024-02-06 | 浙江宇视科技有限公司 | Analog camera control method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109542791B (en) | A kind of program large-scale concurrent evaluating method based on container technique | |
CN104541247B (en) | System and method for adjusting cloud computing system | |
CN108959059B (en) | Test method and test platform | |
CN102693183B (en) | Method and system for realizing automatic software testing | |
CN104978258B (en) | Automatic software test method and system | |
AU2021240156B2 (en) | Quantum Control Pulse Generation Method And Apparatus, Device, And Storage Medium | |
CN108492005B (en) | Project data processing method and device, computer equipment and storage medium | |
CN103180834B (en) | Automatic operation system test frame | |
CN105389261B (en) | The method and device of asynchronous test | |
CN106897107B (en) | implementation system and method for web remote data calculation and simulation | |
CN112559525B (en) | Data checking system, method, device and server | |
US20240036563A1 (en) | Method and system for determining maintenance time of pipe networks of natural gas | |
CN110955600A (en) | Interface test method and device | |
CN107807841B (en) | Server simulation method, device, equipment and readable storage medium | |
CN107276842A (en) | Interface test method and device and electronic equipment | |
CN106897920A (en) | A kind of automatic measures and procedures for the examination and approval of operation flow and system | |
US20120226484A1 (en) | Calculation simulation system and method thereof | |
CN110532182A (en) | A kind of automated testing method and device of virtual platform | |
CN109460365B (en) | A kind of system performance testing method, apparatus, equipment and storage medium | |
JP2023086678A (en) | Method and apparatus for generating and applying deep learning model based on deep learning framework | |
CN104536745B (en) | Task amending method and task modification device | |
CN106201865A (en) | A kind of application programming interface API method of testing, device and terminal unit | |
CN112559343B (en) | Test path generation method and related equipment | |
CN109446103A (en) | A kind of CIM Provider test method and device | |
CN112445514B (en) | Code review method and related products |
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: 20190308 |