CN109086072A - A kind of scenario generation method and device - Google Patents

A kind of scenario generation method and device Download PDF

Info

Publication number
CN109086072A
CN109086072A CN201810859469.9A CN201810859469A CN109086072A CN 109086072 A CN109086072 A CN 109086072A CN 201810859469 A CN201810859469 A CN 201810859469A CN 109086072 A CN109086072 A CN 109086072A
Authority
CN
China
Prior art keywords
data
parsing
script
item name
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810859469.9A
Other languages
Chinese (zh)
Inventor
王朋飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810859469.9A priority Critical patent/CN109086072A/en
Publication of CN109086072A publication Critical patent/CN109086072A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of scenario generation method and devices, this method comprises: being parsed according to the Simple Network Management Protocol SNMP parameter of input to preset management information bank mib file, the data after extracting one or more parsing;For the data after each parsing, the data after selective goal title and item name from index dictionary library, with this parsing are associated respectively;According to association results, script is generated according to default rule.Manpower, material resources and financial resources have been saved using scenario generation method and device of the invention, the readability of code has been increased, reduces later maintenance pain spot, additionally it is possible to improve Adaption efficiency, be conducive to the marketing speed of PIM platform product.

Description

A kind of scenario generation method and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of scenario generation methods and device.
Background technique
PIM platform, that is, physical infrastructure manages platform, is responsible for each manufacturer's physical equipment such as server, interchanger, fire prevention The unitized management of wall, magnetic battle array etc..Wherein, it is each mainly to pass through the acquisition of bottom shell script for the data acquisition module of the platform The asset data and monitoring data of monitored device.And assets script and monitoring script are deposited often by programmer's manual compiling In following disadvantage: 1. expend a large amount of manpower, material resources and financial resources.It is said from resource input angle, this will increase the operation cost of company;From Time efficiency angle says that this will will affect the marketing speed of product, and then weaken Products competitiveness.2. code spice It is irregular, it is readable not only to influence code, but also the pain spot of middle and later periods maintenance personnel can be stabbed.Therefore, a kind of PIM platform is developed Under script automatically generating device it is very necessary.
Summary of the invention
The main purpose of the present invention is to provide a kind of scenario generation method and devices, and can use manpower and material resources sparingly financial resources, Scripted code readability is increased, later maintenance is conducive to.
In order to solve the above-mentioned technical problems, the present invention provides a kind of scenario generation methods, comprising:
Preset management information bank mib file is parsed according to the Simple Network Management Protocol SNMP parameter of input, Data after extracting one or more parsing;
For the data after each parsing, selective goal title and item name from index dictionary library respectively, with this Data after item parsing are associated;
According to association results, script is generated according to default rule.
Optionally, the Simple Network Management Protocol SNMP parameter according to input is to preset management information bank mib text Before part is parsed, further includes:
Log in web visualized operation interface;
The preset mib file is imported into web visualized operation interface, and in web visualized operation circle Face inputs the SNMP parameter.
Optionally, the data after the parsing include: that object identifier OID, nodename, node paraphrase and SNMP are returned As a result;
Data after parsing for each, respectively from index dictionary library selective goal title and item name with Data after this parsing, which are associated, includes:
Data after each parsing are proceeded as follows respectively: the variable of a predefined type are defined, by this The SNMP of data after item parsing, which is returned the result, to be saved in the variable, and selective goal title and classification from index dictionary library Title, by the data correlation after the index name chosen and item name and this parsing.
Optionally, described to include: according to default rule generation script
For the data after each parsing, a function is generated;Wherein, the title of function is determined by associated item name It is fixed;The variable of each definition is determined by associated index name in function;
It combines the function that the data after all parsings generate in a predefined order, generates script.
Optionally, after the data extracted after one or more parsing, further includes:
Data after one or more parsing extracted described in display on web visualized operation interface;
Data after parsing for each, selective goal title and item name from index dictionary library respectively, It is associated with the data after this parsing and includes:
The index name and item name are selected on web visualized operation interface.
To solve the above-mentioned problems, the present invention also provides a kind of script generation devices, comprising: memory and processor; Wherein:
The memory, for storing the program for being used for script and generating;
The processor executes the program generated for script for reading, performs the following operations:
Preset management information bank mib file is parsed according to the Simple Network Management Protocol SNMP parameter of input, Data after extracting one or more parsing;
For the data after each parsing, selective goal title and item name from index dictionary library respectively, with this Data after item parsing are associated;
According to association results, script is generated according to default rule.
Optionally, the processor reads the execution program generated for script and also performs the following operations:
Preset management information bank mib file is parsed according to the Simple Network Management Protocol SNMP parameter of input Before,
Log in web visualized operation interface;
The preset mib file is imported into web visualized operation interface, and in web visualized operation circle Face inputs the SNMP parameter.
Optionally, the data after the parsing include: that object identifier OID, nodename, node paraphrase and SNMP are returned As a result;
Data after parsing for each, respectively from index dictionary library selective goal title and item name with Data after this parsing, which are associated, includes:
Data after each parsing are proceeded as follows respectively: the variable of a predefined type are defined, by this The SNMP of data after item parsing, which is returned the result, to be saved in the variable, and selective goal title and classification from index dictionary library Title, by the data correlation after the index name chosen and item name and this parsing.
Optionally, described to include: according to default rule generation script
For the data after each parsing, a function is generated;Wherein, the title of function is determined by associated item name It is fixed;The variable of each definition is determined by associated index name in function;
It combines the function that the data after all parsings generate in a predefined order, generates script.
Optionally, the processor reads the execution program generated for script and also performs the following operations:
After the data extracted after one or more parsing,
Data after one or more parsing extracted described in display on web visualized operation interface;
Data after parsing for each, selective goal title and item name from index dictionary library respectively, It is associated with the data after this parsing and includes:
The index name and item name are selected on web visualized operation interface.
To sum up, the scenario generation method and script generation device proposed according to embodiments of the present invention, according to the simple of input Network Management Protocols SNMP parameter parses preset management information bank mib file, after extracting one or more parsing Data;For the data after each parsing, selective goal title and item name from index dictionary library respectively, with this Data after parsing are associated;According to association results, script is generated according to default rule.The script of the embodiment of the present invention is raw Manpower, material resources and financial resources have been saved at method and script generation device, has reduced the workload of developer's live adaptation significantly, improves Adaption efficiency, and the code format automatically generated is regular, annotation is clear, increases code readability, reduces later maintenance pain Point.
Detailed description of the invention
Fig. 1 is the flow chart of the scenario generation method of the embodiment of the present invention.
Fig. 2 is the structural schematic diagram of the script generation device of the embodiment of the present invention.
Fig. 3 is script generation of the invention using exemplary schematic diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Fig. 1 is the flow chart of the scenario generation method of the embodiment of the present invention.According to the flow chart of Fig. 1, the foot of the present embodiment This generation method following steps:
Step S1: according to the Simple Network Management Protocol SNMP parameter of input to preset management information bank mib file into Row parsing, the data after extracting one or more parsing;
Step S2: for the data after each parsing, respectively selective goal title and class name from index dictionary library Claim, is associated with the data after this parsing;
Step S3: according to association results, script is generated according to default rule.
In an exemplary embodiment, the data after the parsing extracted in above-mentioned steps S1 can be one or It is a plurality of, it can be spaced apart from each other between every data with branch.The content that every data includes can be with comma interval.At another In exemplary embodiment, the data after parsing can be one or more, wherein every data is shown separately in a line.When So, pieces of data is identified in the form of number before every data.The present invention is to this and without limitation.
In an exemplary embodiment, the SNMP parameter in above-mentioned steps S1 may include any one in following It is or multiple: private key, identifying algorithm, privacy algorithm, user name, authentication key, authentication grade, device IP.
In another exemplary embodiment, in above-mentioned steps S2, the data after parsing are associated, can be used Parallel form is associated, that is, while being associated for the data after a plurality of parsing to improve efficiency.
Optionally, before step S1, scenario generation method further include:
Log in web visualized operation interface;
The preset mib file is imported into web visualized operation interface, and in web visualized operation circle Face inputs the SNMP parameter.
In an exemplary embodiment, web visualization behaviour can be logged in by inputting IP address in a browser Make interface, naturally it is also possible to log in web visualized operation interface using other modes, the present invention is to this and without limitation.
It, can be to mib file and input before executing above-mentioned steps S1 in another exemplary embodiment SNMP parameter carries out non-empty judgement;Such as both non-emptys, is just parsed, as there is one non-empty in the two, then re-entered SNMP parameter and setting mib file.
In another exemplary embodiment, before executing above-mentioned steps S1, in addition to mib file and input SNMP parameter carries out other than non-empty judgement, can also carry out validation checking according to the information that SNMP parameter specifically includes, if The information that SNMP parameter includes has exceeded preset range, may also require that and re-enters SNMP parameter, to avoid some exceptions The generation of situation.
Optionally, the data after the parsing include: that object identifier OID, nodename, node paraphrase and SNMP are returned As a result;
Data after parsing for each, respectively from index dictionary library selective goal title and item name with Data after this parsing, which are associated, includes:
Data after each parsing are proceeded as follows respectively: the variable of a predefined type are defined, by this The SNMP of data after item parsing, which is returned the result, to be saved in the variable, and selective goal title and classification from index dictionary library Title, by the data correlation after the index name chosen and item name and this parsing.
In an exemplary embodiment, item name can be CPU, memory, fan or temperature, etc. item name It can also be other, other can be some classifications for not including by item name before, when user is in item name When not finding corresponding classification, other can be classified as.Certainly, user can define other subclass alias for including Claim.Specific classification needs to be classified according to equipment operation and user's actual need, and the present invention is to this and without limitation.
In an exemplary embodiment, the variable of above-mentioned predefined type is the change that a PIM platform can identify Amount.Meet can be by PIM land identification in the case where, the type of variable is not specifically limited, can be integer, can be with It is structural body, is also possible to other types.
Optionally, described to include: according to default rule generation script
For the data after each parsing, a function is generated;Wherein, the title of function is determined by associated item name It is fixed;The variable of each definition is determined by associated index name in function;
It combines the function that the data after all parsings generate in a predefined order, generates script.
In an exemplary embodiment, the script of the generation can be shell file, be determined by associated item name Determine the title of function and determined by associated index name, ensure that the function meaning of generation is clear, it is readable strong.According to above-mentioned Default rule automatically generates, and both saves manpower, material resources and financial resources, improves efficiency, and scripted code is also made to unite with style One, format specification annotates clearly a little.Certainly, other kinds of script can also be generated using method of the invention, this hair It is bright to this and without limitation.
In another exemplary embodiment, the generation of each function can be parallel.
In another exemplary embodiment, the generation of script is also possible to parallel.For example, the SNMP parameter of input It can be one or more parts, SNMP parameter 1 or SNMP parameter 1, SNMP parameter 2 ... ..., SNMP parameter N, N > 1;It is preset Mib file is also possible to one or more, mib file 1 or mib file 1, mib file 2 ... ..., mib file M, M > 1.It is multiple The generation of script can be independent of each other, and automatically generating multiple scripts simultaneously can be improved working efficiency, save it is various at This, improves the competitiveness of product.
Optionally, after the data extracted after one or more parsing, further includes:
Data after one or more parsing extracted described in display on web visualized operation interface;
Data after parsing for each, selective goal title and item name from index dictionary library respectively, It is associated with the data after this parsing and includes:
The index name and item name are selected on web visualized operation interface.
In an exemplary embodiment, the selection of index name and item name can carry out Auto-matching, be not necessarily to Manual intervention.For example, the selection of index name and item name can be using the matching rule of default, it can also be according to user's Matching rule is arranged in actual demand, and the present invention is to this and without limitation.
To sum up, the scenario generation method proposed according to embodiments of the present invention is a kind of script automatic generation method, comprising: root Preset management information bank mib file is parsed according to the Simple Network Management Protocol SNMP parameter of input, extracts one Or the data after a plurality of parsing;For the data after each parsing, respectively selective goal title and class from index dictionary library Alias claims, and is associated with the data after this parsing;According to association results, script is generated according to default rule.The present invention The scenario generation method and script generation device of embodiment can bring following three the utility model has the advantages that 1. save human and material resources wealth Power reduces the work of developer's live adaptation significantly, reduces the trip expenses of company's investment.2. the code format automatically generated Regular, annotation is clear, greatly increases code readability, reduces later maintenance pain spot.3. improving Adaption efficiency, it is flat to be conducive to PIM The marketing speed of platform product.
Fig. 2 is the structural schematic diagram of the script generation device of the embodiment of the present invention.Schematic diagram according to Fig.2, this reality Apply the script generation device of example, including memory 100 and processor 200.Wherein:
The memory 100, for storing the program for being used for script and generating;
The processor 200 executes the program generated for script for reading, performs the following operations:
Preset management information bank mib file is parsed according to the Simple Network Management Protocol SNMP parameter of input, Data after extracting one or more parsing;
For the data after each parsing, selective goal title and item name from index dictionary library respectively, with this Data after item parsing are associated;
According to association results, script is generated according to default rule.
In an exemplary embodiment, in aforesaid operations, the data after the parsing extracted can be one or It is a plurality of, it can be spaced apart from each other between every data with branch.The content that every data includes can be with comma interval.At another In exemplary embodiment, the data after parsing can be one or more, wherein every data is shown separately in a line.When So, pieces of data is identified in the form of number before every data.The present invention is to this and without limitation.
In an exemplary embodiment, the SNMP parameter in aforesaid operations may include any one in following or It is multiple: private key, identifying algorithm, privacy algorithm, user name, authentication key, authentication grade, device IP.
In another exemplary embodiment, in aforesaid operations, the data after parsing are associated, it can be using simultaneously Capable mode is associated, that is, while being associated for the data after a plurality of parsing to improve efficiency.
Optionally, the processor reads the execution program generated for script and also performs the following operations:
Preset management information bank mib file is parsed according to the Simple Network Management Protocol SNMP parameter of input Before,
Log in web visualized operation interface;
The preset mib file is imported into web visualized operation interface, and in web visualized operation circle Face inputs the SNMP parameter.
In an exemplary embodiment, web visualization behaviour can be logged in by inputting IP address in a browser Make interface, naturally it is also possible to log in web visualized operation interface using other modes, the present invention is to this and without limitation.
In another exemplary embodiment, the program for executing and generating for script is read in processor, for executing Before carrying out parsing operation to preset management information bank mib file according to the Simple Network Management Protocol SNMP parameter of input, It can handle device reading and execute the program generated for script for executing the SNMP parameter progress non-empty to mib file and input The operation of judgement;It such as the equal non-empty of the SNMP parameter of mib file and input, is just parsed, as there is one for sky in the two, is then weighed New input SNMP parameter and setting mib file.
In another exemplary embodiment, the program for executing and generating for script is read in processor, for executing Before carrying out parsing operation to preset management information bank mib file according to the Simple Network Management Protocol SNMP parameter of input, Other than the SNMP parameter to mib file and input carries out non-empty judgement, the letter that specifically can also include according to SNMP parameter Breath, which carries out validation checking, may also require that and re-enter if the information that SNMP parameter includes has exceeded preset range SNMP parameter, to avoid some unusual conditions.
Optionally, the data after the parsing include: that object identifier OID, nodename, node paraphrase and SNMP are returned As a result;
Data after parsing for each, respectively from index dictionary library selective goal title and item name with Data after this parsing, which are associated, includes:
Data after each parsing are proceeded as follows respectively: the variable of a predefined type are defined, by this The SNMP of data after item parsing, which is returned the result, to be saved in the variable, and selective goal title and classification from index dictionary library Title, by the data correlation after the index name chosen and item name and this parsing.
In an exemplary embodiment, item name can be CPU, memory, fan or temperature, etc. item name It can also be other, some classifications that other item names before can be do not include, when user does not have in item name When finding corresponding classification, other can be classified as.Certainly, user can define other subclass titles for including. Specific classification needs to be classified according to equipment operation and user's actual need, and the present invention is to this and without limitation.
In an exemplary embodiment, the variable of above-mentioned predefined type is the change that a PIM platform can identify Amount.Meet can be by PIM land identification in the case where, the type of variable is not specifically limited, can be integer, can be with It is structural body, is also possible to other types.
Optionally, described to include: according to default rule generation script
For the data after each parsing, a function is generated;Wherein, the title of function is determined by associated item name It is fixed;The variable of each definition is determined by associated index name in function;
It combines the function that the data after all parsings generate in a predefined order, generates script.
In an exemplary embodiment, the script of the generation can be shell file, be determined by associated item name Determine the title of function and determined by associated index name, ensure that the function meaning of generation is clear, it is readable strong.According to above-mentioned Default rule automatically generates, and both saves manpower, material resources and financial resources, improves efficiency, and scripted code is also made to unite with style One, format specification annotates clearly a little.Certainly, other kinds of script can also be generated using method of the invention, this hair It is bright to this and without limitation.
In another exemplary embodiment, the generation of each function can be parallel.
In another exemplary embodiment, the generation of script is also possible to parallel.For example, the SNMP parameter of input It can be one or more parts, SNMP parameter 1 or SNMP parameter 1, SNMP parameter 2 ... ..., SNMP parameter N, N > 1;It is preset Mib file is also possible to one or more, mib file 1 or mib file 1, mib file 2 ... ..., mib file M, M > 1.It is multiple The generation of script can be independent of each other, and automatically generating multiple scripts simultaneously can be improved working efficiency, save it is various at This, improves the competitiveness of product.
Optionally, the processor reads the execution program generated for script and also performs the following operations:
After the data extracted after one or more parsing,
Data after one or more parsing extracted described in display on web visualized operation interface;
Data after parsing for each, selective goal title and item name from index dictionary library respectively, It is associated with the data after this parsing and includes:
The index name and item name are selected on web visualized operation interface.
In an exemplary embodiment, the selection of index name and item name can carry out Auto-matching, be not necessarily to Manual intervention.For example, the selection of index name and item name can be using the matching rule of default, it can also be according to user's Matching rule is arranged in actual demand, and the present invention is to this and without limitation.
Above-mentioned scenario generation method is further described with concrete application example below.
It is to be illustrated as example using automatically generating shell script using example that this is specific, specifically includes following step Suddenly.
Step 1) logs in: inputting a specific IP address in a browser, inputs user's name and password, logging in web can Depending on changing operation interface.
Initialization: preset mib file is imported the web visualized operation interface, and in specified position by step 2) SNMP parameter is inputted, which specifically includes: private key, privacy algorithm, user name, authentication key, is recognized identifying algorithm Demonstrate,prove grade, device IP.
Wherein, detected rule and script create-rule can be configured in this step by user according to actual needs.With Family can also be without setting, then the subsequent rule according to default is detected and generated.Certainly, user can also be to others Rule is configured, and is not limited to detected rule and script create-rule herein.
Step 3) parsing: between being parsed, detects mib file and SNMP parameter, if not both being Sky, then handled and extracted OID to mib file and SNMP parameter, nodename, node paraphrase, SNMP are returned the result, and It shows on web visual page, wherein the data after every parsing individually show a line.
Step 4), association: on web visual page, for the data after independent every parsing for showing a line, definition SNMP is returned the result and is stored in the variable by the variable that one PIM platform can identify, and is chosen in select choice box Index name and item name in index dictionary library, the index name chosen and item name will be with the variable associations.
Step 5) generates shell file: generating the shell script being made of several functions, wherein function name is by step 4) associated class name determines in, and the variable of each definition is determined by index name associated in step 4) in function.
Those of ordinary skill in the art will appreciate that all or part of the steps in the above method can be instructed by program Related hardware is completed, and described program can store in computer readable storage medium, such as read-only memory, disk or CD Deng.Optionally, one or more integrated circuits can be used also to realize in all or part of the steps of above-described embodiment.Accordingly Ground, each module/unit in above-described embodiment can take the form of hardware realization, can also use the shape of software function module Formula is realized.The present invention is not limited to the combinations of the hardware and software of any particular form.
The above is only a preferred embodiment of the present invention, and certainly, the invention may also have other embodiments, without departing substantially from this In the case where spirit and its essence, those skilled in the art make various corresponding changes in accordance with the present invention And deformation, but these corresponding changes and modifications all should fall within the scope of protection of the appended claims of the present invention.

Claims (10)

1. a kind of scenario generation method, comprising:
Preset management information bank mib file is parsed according to the Simple Network Management Protocol SNMP parameter of input, is extracted Data after one or more parsing out;
For the data after each parsing, selective goal title and item name from index dictionary library, solve with this respectively Data after analysis are associated;
According to association results, script is generated according to default rule.
2. the method as described in claim 1, which is characterized in that the Simple Network Management Protocol SNMP parameter according to input Before being parsed to preset management information bank mib file, further includes:
Log in web visualized operation interface;
The preset mib file is imported into web visualized operation interface, and defeated at web visualized operation interface Enter the SNMP parameter.
3. the method as described in claim 1, which is characterized in that the data after the parsing include: object identifier OID, section Point title, node paraphrase and SNMP are returned the result;
Data after parsing for each, respectively from index dictionary library selective goal title and item name and this Data after parsing, which are associated, includes:
Data after each parsing are proceeded as follows respectively: defining the variable of a predefined type, this is solved The SNMP of data after analysis, which is returned the result, to be saved in the variable, and selective goal title and class name from index dictionary library Claim, by the data correlation after the index name chosen and item name and this parsing.
4. method as claimed in claim 3, which is characterized in that described to include: according to default rule generation script
For the data after each parsing, a function is generated;Wherein, the title of function is determined by associated item name; The variable of each definition is determined by associated index name in function;
It combines the function that the data after all parsings generate in a predefined order, generates script.
5. method according to claim 2, it is characterised in that:
After the data extracted after one or more parsing, further includes:
Data after one or more parsing extracted described in display on web visualized operation interface;
Data after parsing for each, selective goal title and item name from index dictionary library respectively, with this Data after item parsing, which are associated, includes:
The index name and item name are selected on web visualized operation interface.
6. a kind of script generation device, comprising: memory and processor;Wherein:
The memory, for storing the program for being used for script and generating;
The processor executes the program generated for script for reading, performs the following operations:
Preset management information bank mib file is parsed according to the Simple Network Management Protocol SNMP parameter of input, is extracted Data after one or more parsing out;
For the data after each parsing, selective goal title and item name from index dictionary library, solve with this respectively Data after analysis are associated;
According to association results, script is generated according to default rule.
7. device as claimed in claim 6, which is characterized in that the processor, which is read, executes the journey generated for script Sequence also performs the following operations:
Preset management information bank mib file is carried out parsing it according to the Simple Network Management Protocol SNMP parameter of input Before,
Log in web visualized operation interface;
The preset mib file is imported into web visualized operation interface, and defeated at web visualized operation interface Enter the SNMP parameter.
8. device as claimed in claim 6, which is characterized in that the data after the parsing include: object identifier OID, section Point title, node paraphrase and SNMP are returned the result;
Data after parsing for each, respectively from index dictionary library selective goal title and item name and this Data after parsing, which are associated, includes:
Data after each parsing are proceeded as follows respectively: defining the variable of a predefined type, this is solved The SNMP of data after analysis, which is returned the result, to be saved in the variable, and selective goal title and class name from index dictionary library Claim, by the data correlation after the index name chosen and item name and this parsing.
9. device as claimed in claim 8, it is characterised in that: described to include: according to default rule generation script
For the data after each parsing, a function is generated;Wherein, the title of function is determined by associated item name; The variable of each definition is determined by associated index name in function;
It combines the function that the data after all parsings generate in a predefined order, generates script.
10. device as claimed in claim 7, which is characterized in that
The processor reads the execution program generated for script and also performs the following operations:
After the data extracted after one or more parsing,
Data after one or more parsing extracted described in display on web visualized operation interface;
Data after parsing for each, selective goal title and item name from index dictionary library respectively, with this Data after item parsing, which are associated, includes:
The index name and item name are selected on web visualized operation interface.
CN201810859469.9A 2018-08-01 2018-08-01 A kind of scenario generation method and device Pending CN109086072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810859469.9A CN109086072A (en) 2018-08-01 2018-08-01 A kind of scenario generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810859469.9A CN109086072A (en) 2018-08-01 2018-08-01 A kind of scenario generation method and device

Publications (1)

Publication Number Publication Date
CN109086072A true CN109086072A (en) 2018-12-25

Family

ID=64831131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810859469.9A Pending CN109086072A (en) 2018-08-01 2018-08-01 A kind of scenario generation method and device

Country Status (1)

Country Link
CN (1) CN109086072A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913460A (en) * 2006-08-28 2007-02-14 华为技术有限公司 Method and system of network equipment detection
CN1959717A (en) * 2006-10-09 2007-05-09 北京道达天际软件技术有限公司 System and method for preprocessing mass remote sensing data collection driven by order form
CN101102226A (en) * 2007-06-28 2008-01-09 华为技术有限公司 A general configuration method and device based on SNMP
CN102546260A (en) * 2012-02-06 2012-07-04 烽火通信科技股份有限公司 Simulator based on SNMP (Simple Network Management Protocol) network management
CN103268226A (en) * 2013-05-17 2013-08-28 瑞斯康达科技发展股份有限公司 Test script file generation method and device
CN104104546A (en) * 2014-07-23 2014-10-15 浪潮电子信息产业股份有限公司 SNMP network management system based on scripts
CN104660447A (en) * 2015-01-29 2015-05-27 杭州初灵信息技术股份有限公司 SNMP node information management method and management system
CN104717103A (en) * 2013-12-13 2015-06-17 中国移动通信集团公司 Method and device for testing network device
CN107370631A (en) * 2017-09-06 2017-11-21 郑州云海信息技术有限公司 A kind of monitoring method and system of snmp protocol information

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913460A (en) * 2006-08-28 2007-02-14 华为技术有限公司 Method and system of network equipment detection
CN1959717A (en) * 2006-10-09 2007-05-09 北京道达天际软件技术有限公司 System and method for preprocessing mass remote sensing data collection driven by order form
CN101102226A (en) * 2007-06-28 2008-01-09 华为技术有限公司 A general configuration method and device based on SNMP
CN102546260A (en) * 2012-02-06 2012-07-04 烽火通信科技股份有限公司 Simulator based on SNMP (Simple Network Management Protocol) network management
CN103268226A (en) * 2013-05-17 2013-08-28 瑞斯康达科技发展股份有限公司 Test script file generation method and device
CN104717103A (en) * 2013-12-13 2015-06-17 中国移动通信集团公司 Method and device for testing network device
CN104104546A (en) * 2014-07-23 2014-10-15 浪潮电子信息产业股份有限公司 SNMP network management system based on scripts
CN104660447A (en) * 2015-01-29 2015-05-27 杭州初灵信息技术股份有限公司 SNMP node information management method and management system
CN107370631A (en) * 2017-09-06 2017-11-21 郑州云海信息技术有限公司 A kind of monitoring method and system of snmp protocol information

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JAMES KNAPP: "《Nortel网络技术大全》", 30 September 2001 *
姜旭平: "《电子商务实用全书 第一卷》", 31 January 2001 *
本丛书编委会: "《UNIX网络程序设计与管理》", 31 October 2000 *
王劲松: "《网络互联协议TCP/IP详解》", 31 May 1993 *

Similar Documents

Publication Publication Date Title
CN105224606B (en) A kind of processing method and processing device of user identifier
CN107943949A (en) A kind of method and server of definite web crawlers
CN109587125A (en) Network security big data analysis method, system and related device
CN110189220A (en) A kind of risk analysis decision-making technique, device, system and storage medium
CN107302586A (en) A kind of Webshell detection methods and device, computer installation, readable storage medium storing program for executing
CN106528391A (en) Recording method of operating log by management platform on SSR
CN108600270A (en) A kind of abnormal user detection method and system based on network log
CN108228875A (en) Daily record analysis method and device based on perfect Hash
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN112148343A (en) Rule issuing method and device and terminal equipment
JP2019159431A (en) Evaluation program, evaluation method, and evaluation device
CN109711849B (en) Ether house address portrait generation method and device, electronic equipment and storage medium
CN114385437A (en) Data quality analysis system and method
CN110443044A (en) Block chain client bug excavation method, device, equipment and storage medium
CN110135814A (en) The correlating method of BIM and project data, system and terminal device
CN101937395B (en) Detected object program feature extraction method for vulnerability detection
CN105207829A (en) Intrusion detection data processing method, device and system
CN111443615A (en) Electric equipment control system, method and equipment
JP2018133044A (en) Webapi execution flow generation device and webapi execution flow generation method
CN109086072A (en) A kind of scenario generation method and device
US20230306343A1 (en) Business process management system and method thereof
CN113568656A (en) Configuration data processing method and device, storage medium and equipment
CN107766216A (en) It is a kind of to be used to obtain the method and apparatus using execution information
CN107609401A (en) Automatic test approach and device
CN112561538A (en) Risk model creation method and device, computer equipment and readable 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

Application publication date: 20181225

RJ01 Rejection of invention patent application after publication