CN109710605A - A kind of facility information automation collection device and method - Google Patents

A kind of facility information automation collection device and method Download PDF

Info

Publication number
CN109710605A
CN109710605A CN201711010732.9A CN201711010732A CN109710605A CN 109710605 A CN109710605 A CN 109710605A CN 201711010732 A CN201711010732 A CN 201711010732A CN 109710605 A CN109710605 A CN 109710605A
Authority
CN
China
Prior art keywords
script
acquisition
collection
access
interface
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.)
Granted
Application number
CN201711010732.9A
Other languages
Chinese (zh)
Other versions
CN109710605B (en
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.)
Aspire Digital Technologies Shenzhen Co Ltd
Original Assignee
Aspire Digital Technologies Shenzhen 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 Aspire Digital Technologies Shenzhen Co Ltd filed Critical Aspire Digital Technologies Shenzhen Co Ltd
Priority to CN201711010732.9A priority Critical patent/CN109710605B/en
Publication of CN109710605A publication Critical patent/CN109710605A/en
Application granted granted Critical
Publication of CN109710605B publication Critical patent/CN109710605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of facility information automation collection and method, device includes: equipment management layer, for configuring acquisition tasks for collected target device and uploading acquisition script;Task process layer is parsed for the configuration to acquisition tasks, and is each target device distribution acquisition script according to the interface that parsing result passes through the script level of access;And collection result is obtained from script level of access and collection result is parsed;Script level of access, the collection result that acquisition script and information collection layer for the distribution of store tasks process layer upload;Information collection layer, the acquisition script for corresponding target device to be obtained and executed using the interface of script level of access obtains collection result, and collection result is uploaded to script level of access.The acquisition that the present invention solves when acquisition number of devices is more issues performance bottleneck;22 ports have been bypassed, versatility is had more in the higher network of computer room of safety standard requirements, there is good scalability.

Description

A kind of facility information automation collection device and method
Technical field
The present invention relates to mobile Internet O&M field more particularly to a kind of facility information automation collection device and sides Method.
Background technique
For automated information acquisition system, basic function be exactly the management for realizing equipment information collection script, The acquisition of acquisition tasks issued with facility information data, existing acquisition method have the following deficiencies:
First is that performance bottleneck, in task process layer, task processor needs the acquisition of real time down processing all devices Task, each equipment be required to the acquisition of carry out task, instruction issue, instruction execution waiting, instruction results return, result treatment, As a result the process time-consuming stored is more, especially the case where certain equipment execute failure there are failure, with number of devices The performance of increase task process layer can be worse and worse.
Second is that scalability is poor, with the variation of equipment acquisition field information, corresponding acquisition script, collection result processing Program is required to carry out corresponding modification, safeguards that cost is larger.
Third is that poor universality, 22 ports that task process layer generally will use device operating system carry out instruction and issue, set Standby information collection, and the higher network of computer room of Generally Recognized as safe code requirement, can disable the use of 22 ports, so that before Equipment information collection device is lack scope for their abilities.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the above drawbacks of the prior art, provide a kind of facility information from Dynamicization acquisition device and method.
The technical solution adopted by the present invention to solve the technical problems is: constructing a kind of facility information automation collection dress It sets, comprising:
Equipment management layer, for configuring acquisition tasks for collected target device and uploading acquisition script;
Task process layer is parsed for the configuration to acquisition tasks, and is deposited according to parsing result by the script The interface for taking layer is each target device distribution acquisition script;And from script level of access acquisition collection result and to collection result It is parsed;
Script level of access, the acquisition knot that acquisition script and information collection layer for the distribution of store tasks process layer upload Fruit;
Information collection layer, the acquisition script for corresponding target device to be obtained and executed using the interface of script level of access are obtained Script level of access is uploaded to collection result, and by collection result.
In facility information automation collection device of the present invention, the script level of access includes:
Mission script storage unit provides each for providing the interface of task process layer and the interface of information collection layer The acquisition script storage catalogue for being used to store its corresponding acquisition script of target device;
Collection result storage unit provides the interface of task process layer and the interface of information collection layer, provides each target The collection result storage catalogue for being used to store its corresponding collection result of equipment.
In facility information automation collection device of the present invention, the task process layer includes:
Task resolution unit obtains grouping information and reads and divide for getting the configuration of acquisition tasks and being parsed All target device informations under group, pull the corresponding acquisition script of acquisition tasks from the script storage unit of equipment management layer;
Script Dispatching Unit is deposited by the interface of the mission script storage unit of the script level of access in mission script Mission script storage catalogue is generated respectively for each target device in task configuration in storage unit, and by each target device Acquisition script is distributed to corresponding mission script storage catalogue;
Destination file acquiring unit, the interface acquisition for the collection result storage unit by the script level of access are adopted Collect destination file corresponding to result;
Collection result processing unit is solved for the collection result to destination file according to the specification of binding character definition Analysis, parses database table information, generation table data, and unite after being assembled into corresponding data-base recording from collection result One ground persistence storage.
In facility information automation collection device of the present invention, the information collection layer includes:
Mission script acquiring unit is obtained for the interface of the mission script storage unit by the script level of access The corresponding acquisition script of target device;
Mission script processing unit, for executing the acquisition script got;
As a result format adaptation unit, for the acquisition item in the implementing result to acquisition script according to its format and content Binding character definition is adapted to;
Destination file generation unit, for the acquisition item of all adaptations is assembled and generate destination file;
Destination file uploading unit, for the interface of the collection result storage unit by the script level of access, raw At destination file upload to the corresponding collection result storage catalogue of target device in collection result storage unit.
In facility information automation collection device of the present invention, the equipment management layer includes:
Device management unit is grouped collected target device for providing visual configuration interface, identical to adopt The target device of collection type is configured to a grouping;
Acquisition tasks configuration unit is configured and is uploaded for each acquisition tasks for being directed to packet configuration acquisition tasks Corresponding acquisition script is to script storage unit;
Script storage unit provides the function of upload and the storage of acquisition script for acquisition tasks configuration unit.
The invention also discloses a kind of facility information automation collection methods, comprising:
S100, equipment management layer are collected target device configuration acquisition tasks and upload acquisition script;
S200, task process layer parse the configuration of acquisition tasks, and are deposited according to parsing result by the script The interface for taking layer is each target device distribution acquisition script, the acquisition script of script level of access store tasks process layer distribution;
S300, information collection layer are obtained using the interface of script level of access and execute the acquisition script of corresponding target device and obtained It is uploaded to script level of access to collection result, and by collection result, script level of access stores the acquisition knot that information collection layer uploads Fruit;
S400, task process layer obtain collection result from script level of access, and store after parsing to collection result.
In facility information automation collection method of the present invention, the script level of access includes:
Mission script storage unit provides each for providing the interface of task process layer and the interface of information collection layer The acquisition script storage catalogue for being used to store its corresponding acquisition script of target device;
Collection result storage unit provides the interface of task process layer and the interface of information collection layer, provides each target The collection result storage catalogue for being used to store its corresponding collection result of equipment.
In facility information automation collection method of the present invention,
Step S200 includes:
S210, task process layer get the configuration of acquisition tasks and are parsed, and obtain grouping information and read grouping Under all target device informations, pull the corresponding acquisition script of acquisition tasks from equipment management layer;
S220, the interface by the mission script storage unit of the script level of access, in mission script storage unit Mission script storage catalogue is generated respectively for each target device in task configuration, and by the acquisition script of each target device It is distributed to corresponding mission script storage catalogue;
Step S400 includes:
S410, task process layer obtain collection result by the interface of the collection result storage unit of the script level of access Corresponding destination file;
S420, the collection result of destination file is parsed according to the specification of binding character definition, is solved from collection result Database table information is precipitated, generates table data, and carries out uniformly persistence storage after being assembled into corresponding data-base recording.
In facility information automation collection method of the present invention, step S300 includes:
S310, information collection layer are obtained target and are set by the interface of the mission script storage unit of the script level of access Standby corresponding acquisition script;
The acquisition script that S320, execution are got;
S330, the acquisition item in the implementing result of acquisition script is adapted to according to binding character definition;
It is S340, the acquisition item of all adaptations is assembled and generate destination file;
S350, the interface by the collection result storage unit of the script level of access upload the destination file of generation The corresponding collection result storage catalogue of target device into collection result storage unit.
In facility information automation collection method of the present invention, step S100 includes:
S110, equipment management layer are used to provide visual configuration interface, are grouped to collected target device, identical The target device of grab type is configured to a grouping;
S120, packet configuration acquisition tasks are directed to, are configured for each acquisition tasks and saves corresponding acquisition script.
Implement facility information automation collection device and method of the invention, has the advantages that of the invention Script level of access, which may be implemented to distribute in script, collection result is synchronous obtains the two and causes acquisition tasks execution performance bottleneck Function is individually stripped out, and since task process layer directly obtains collection result by the script level of access, rather than is passed through Either synchronously or asynchronously the modes such as scheduling wait result to return, and improve the stability and fault-tolerance of acquisition tasks execution, solve and adopt Acquisition of the acquisition means when acquisition number of devices is more issues performance bottleneck;Similarly, information collection layer only needs to deposit by script The interface of layer is taken to directly acquire acquisition script and storage collection result, this greatly simplifies the complexities of information collection layer;And And script level of access can be used as independent utility deployment, it is only necessary to its externally offer meet script storage and collection result storage Interface can preferably decompose the operating pressure of acquisition device;Further, the agreements such as FTP reality can be used in script level of access It is existing, 22 ports have been bypassed, versatility is had more in the higher network of computer room of safety standard requirements, furthermore all requests are equal It is initiated outward by collected target device Intranet, further improves the safety of network of computer room;
Further, the present invention is defined by carrying out the restrictive of format and content to script collection result, at task Reason layer only needs directly parse database table information, generation table from collection result according to the specification of binding character definition Data carry out unified collection result persistence in-stockroom operation;When increasing a capturing service newly, it is only necessary to fixed according to binding character The specification of justice, establishes database table, writes customized acquisition script, generates and adopts for capturing service configuration in acquisition device Set task, so that it may apply new capturing service, there is good scalability.
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 The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings:
Fig. 1 is the structural schematic diagram of the preferred embodiment of present device information automation acquisition device;
Fig. 2 is the call flow in the preferred embodiment course of work;
Fig. 3 is the flow chart of present device information automation acquisition method.
Specific embodiment
To facilitate the understanding of the present invention, a more comprehensive description of the invention is given in the following sections with reference to the relevant attached drawings.In attached drawing Give exemplary embodiments of the invention.But the invention can be realized in many different forms, however it is not limited to this paper institute The embodiment of description.On the contrary, purpose of providing these embodiments is make it is more thorough and comprehensive to the disclosure.
It should be noted that word " equal ", " identical " " simultaneously " or other similar term, are not limited to mathematical term In it is absolute equal or identical, when implementing right described in this patent, can be close on engineering significance or acceptable Error range in.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
The total thinking of the present invention is to construct a kind of facility information automation collection device, comprising:
Equipment management layer, for configuring acquisition tasks for collected target device and uploading acquisition script;
Task process layer is parsed for the configuration to acquisition tasks, and is deposited according to parsing result by the script The interface for taking layer is each target device distribution acquisition script;And from script level of access acquisition collection result and to collection result It is parsed;
Script level of access, the acquisition knot that acquisition script and information collection layer for the distribution of store tasks process layer upload Fruit;
Information collection layer, the acquisition script for corresponding target device to be obtained and executed using the interface of script level of access are obtained Script level of access is uploaded to collection result, and by collection result.
Script level of access of the invention, which may be implemented to synchronize script distribution, collection result to obtain the two and cause to acquire, appoints The function of business execution performance bottleneck is individually stripped out, and obtains acquisition since task process layer directly passes through the script level of access As a result, rather than wait result to return by the modes such as either synchronously or asynchronously dispatching, improve acquisition tasks execution stability and Fault-tolerance solves acquisition of the acquisition device when acquisition number of devices is more and issues performance bottleneck;Similarly, information collection layer Need to directly acquire acquisition script and storage collection result by the interface of script level of access, this greatly simplifies information collections The complexity of layer;And script level of access can be used as independent utility deployment, it is only necessary to its externally offer meet script storage and The interface of collection result storage, can preferably decompose the operating pressure of acquisition device;
Further, the protocol realizations such as FTP can be used in script level of access, 22 ports have been bypassed, in safety standard Versatility is had more in more demanding network of computer room, furthermore all requests are initiated outward by collected target device Intranet, Further improve the safety of network of computer room;
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper It states technical solution to be described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the application The detailed description of technical solution, rather than the restriction to technical scheme, in the absence of conflict, the present invention are implemented Technical characteristic in example and embodiment can be combined with each other.
With reference to Fig. 1, in preferred embodiment, acquisition device includes equipment management layer 10, task process layer 20, script level of access 30 and information collection layer 40, the equipment management layer 10 is connected to the task process layer 20, the task process layer 20 and letter Breath acquisition layer 40 is connected to the script level of access 30.Each layer is described in detail below.
Equipment management layer 10:
Equipment management layer 10 mainly include device management unit 11, acquisition tasks configuration unit 12, script storage unit 13, Wherein the function of each unit is as follows:
Device management unit 11 is grouped collected target device for providing visual configuration interface, identical The target device of grab type is configured to a grouping;
Acquisition tasks configuration unit 12, for be directed to packet configuration acquisition tasks, for each acquisition tasks configuration and on Corresponding acquisition script is passed to script storage unit 13;Wherein, the configuration of acquisition tasks can cache in acquisition device, simultaneously meeting It is persisted in database;
Script storage unit 13 provides the function of upload and the storage of acquisition script for acquisition tasks configuration unit 12.Foot This storage unit 13 specifically can be the computer storage mediums such as disk.
Task process layer 20:
Task process layer 20 includes task resolution unit 21, script Dispatching Unit 22, destination file acquiring unit 23, acquisition Result treatment unit 24, wherein the function of each unit is as follows:
Task resolution unit 21, for getting the configuration of acquisition tasks from database and being parsed, for script point Bill member 22 provides target device information and acquisition script, specifically, parsing includes: to obtain grouping information and read under grouping All target device informations pull the corresponding acquisition script of acquisition tasks from the script storage unit 13 of equipment management layer 10;
Script Dispatching Unit 22, by the interface of the mission script storage unit 31 of the script level of access 30, in task Mission script storage catalogue is generated respectively for each target device in task configuration in script storage unit 31, and by each mesh The acquisition script of marking device is distributed to corresponding mission script storage catalogue;
Destination file acquiring unit 23, the interface for the collection result storage unit 32 by the script level of access 30 Obtain destination file corresponding to collection result;
Collection result processing unit 24 is solved for the collection result to destination file according to the specification of binding character definition Analysis, parses database table information, generation table data, and unite after being assembled into corresponding data-base recording from collection result One ground persistence storage.
Script level of access 30:
Script level of access 30 includes mission script storage unit 31 and collection result storage unit 32, wherein each unit Function is as follows:
Mission script storage unit 31 is mentioned for providing the interface of task process layer 20 and the interface of information collection layer 40 For each target device for storing the acquisition script storage catalogue of its corresponding acquisition script;
Collection result storage unit 32 provides the interface of task process layer 20 and the interface of information collection layer 40, provides each The collection result storage catalogue for being used to store its corresponding collection result of a target device.
Information collection layer 40:
Information collection layer 40 includes mission script acquiring unit 41, mission script processing unit 42, result format adaptation list First 43, destination file generation unit 44, destination file uploading unit 45, wherein the function of each unit is as follows:
Mission script acquiring unit 41, for connecing for the mission script storage unit 31 by the script level of access 30 Mouthful, obtain the corresponding acquisition script of target device;
Mission script processing unit 42, for executing the acquisition script got;
As a result format adaptation unit 43, for the acquisition item in the implementing result to acquisition script according to its format and content Restrictive definition be adapted to;
Destination file generation unit 44, for the acquisition item of all adaptations is assembled and generate destination file;
Destination file uploading unit 45, for connecing for the collection result storage unit 32 by the script level of access 30 Mouthful, the destination file of generation is uploaded to the corresponding collection result storage catalogue of target device in collection result storage unit.
As it can be seen that due to being defined by carrying out the restrictive of format and content to script collection result, task process layer 20 It needs directly parse database table information, generation table data from collection result according to the specification of binding character definition, into The unified collection result persistence in-stockroom operation of row;When increasing a capturing service newly, it is only necessary to according to the rule of binding character definition Model establishes database table, writes customized acquisition script, generates acquisition in acquisition device for capturing service configuration and appoints Business, so that it may apply new capturing service, there is good scalability.
With reference to Fig. 2, the call flow of each unit in the present embodiment is summarized sequentially are as follows: acquisition tasks configuration unit 12, foot This storage unit 13, task resolution unit 21, script Dispatching Unit 22, mission script storage unit 31, mission script obtain single Member 41, mission script processing unit 42, result format adaptation unit 43, destination file generation unit 44, leaflet on destination file First 45, collection result storage unit 32, destination file acquiring unit 23, collection result processing unit 24.As shown in Fig. 2, dashed box A The work of task process layer 20, information collection layer 40 is respectively indicated with dashed box B, it is seen that because of the presence of script level of access 30, appoint Business process layer 20 can work independently between information collection layer 40, not be to wait result by the modes such as either synchronously or asynchronously dispatching Return, task process layer 20, information collection layer 40 operating pressure be eased, task process layer 20, information collection layer 40 Complexity can be greatly reduced.
Based on unified inventive concept, the invention also discloses a kind of facility information automation collection methods, with reference to Fig. 3, side Method includes:
S100, equipment management layer 10 are collected target device configuration acquisition tasks and upload acquisition script;
S200, task process layer 20 parse the configuration of acquisition tasks, and pass through the script according to parsing result The interface of level of access 30 is each target device distribution acquisition script, and the distribution of 30 store tasks process layer 20 of script level of access is adopted Collect script;
S300, information collection layer 40 are obtained using the interface of script level of access 30 and execute the acquisition foot of corresponding target device Originally collection result is obtained, and collection result is uploaded to script level of access 30, script level of access 30 stores on information collection layer 40 The collection result of biography;
S400, task process layer 20 obtain collection result from script level of access 30, and deposit after parsing to collection result Storage.
Wherein, the script level of access 30 includes:
Mission script storage unit 31 is mentioned for providing the interface of task process layer 20 and the interface of information collection layer 40 For each target device for storing the acquisition script storage catalogue of its corresponding acquisition script;
Collection result storage unit 32 provides the interface of task process layer 20 and the interface of information collection layer 40, provides each The collection result storage catalogue for being used to store its corresponding collection result of a target device.
Wherein, specifically, step S100 includes:
S110, equipment management layer 10 are grouped collected target device, phase for providing visual configuration interface Target device with grab type is configured to a grouping;
S120, packet configuration acquisition tasks are directed to, are configured for each acquisition tasks and saves corresponding acquisition script.
Wherein, specifically, step S200 includes:
S210, task process layer 20 get the configuration of acquisition tasks and are parsed, and obtain grouping information and read and divide All target device informations under group, pull the corresponding acquisition script of acquisition tasks from equipment management layer 10;
S220, the interface by the mission script storage unit 31 of the script level of access 30 are stored single in mission script Mission script storage catalogue, and adopting each target device are generated respectively in member 31 for each target device in task configuration Collection script is distributed to corresponding mission script storage catalogue;
Wherein, specifically, step S300 includes:
S310, information collection layer 40 are obtained by the interface of the mission script storage unit 31 of the script level of access 30 The corresponding acquisition script of target device;
The acquisition script that S320, execution are got;
S330, the acquisition item in the implementing result of acquisition script is adapted to according to binding character definition;
It is S340, the acquisition item of all adaptations is assembled and generate destination file;
S350, the interface by the collection result storage unit 32 of the script level of access 30, the destination file of generation Upload to the corresponding collection result storage catalogue of target device in collection result storage unit 32.
Wherein, specifically, step S400 includes:
S410, task process layer 20 are adopted by the interface acquisition of the collection result storage unit 32 of the script level of access 30 Collect destination file corresponding to result;
S420, the collection result of destination file is parsed according to the specification of binding character definition, is solved from collection result Database table information is precipitated, generates table data, and carries out uniformly persistence storage after being assembled into corresponding data-base recording.
In conclusion implementing facility information automation collection device and method of the invention, have the advantages that Script level of access 30 of the invention, which may be implemented to distribute in script, collection result is synchronous obtains the two acquisition tasks is caused to execute The function of performance bottleneck is individually stripped out, since task process layer 20 directly obtains acquisition knot by the script level of access 30 Fruit, rather than wait result to return by the modes such as either synchronously or asynchronously dispatching, improve the stability and appearance of acquisition tasks execution Mistake solves acquisition of the acquisition device when acquisition number of devices is more and issues performance bottleneck;Similarly, 40, information collection layer Need to directly acquire acquisition script and storage collection result by the interface of script level of access 30, this greatly simplifies information to adopt Collect the complexity of layer 40;And script level of access 30 can be used as independent utility deployment, it is only necessary to which externally offer meets script for it The interface of storage and collection result storage, can preferably decompose the operating pressure of acquisition device;Further, script level of access 30 can be used the protocol realizations such as FTP, bypass 22 ports, have more in the higher network of computer room of safety standard requirements Versatility, furthermore all requests are initiated outward by collected target device Intranet, further improve the safety of network of computer room Property;Further, the present invention is defined by carrying out the restrictive of format and content to script collection result, task process layer 20 It only needs directly parse database table information, generation table data from collection result according to the specification of binding character definition, Carry out unified collection result persistence in-stockroom operation;When increasing a capturing service newly, it is only necessary to according to binding character definition Specification, establishes database table, writes customized acquisition script, generates acquisition in acquisition device for capturing service configuration and appoints Business, so that it may apply new capturing service, there is good scalability.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of facility information automation collection device characterized by comprising
Equipment management layer, for configuring acquisition tasks for collected target device and uploading acquisition script;
Task process layer is parsed for the configuration to acquisition tasks, and passes through the script level of access according to parsing result Interface be each target device distribution acquisition script;And collection result is obtained from script level of access and collection result is carried out Parsing;
Script level of access, the collection result that acquisition script and information collection layer for the distribution of store tasks process layer upload;
Information collection layer, the acquisition script for corresponding target device to be obtained and executed using the interface of script level of access are adopted Collection is as a result, and be uploaded to script level of access for collection result.
2. facility information automation collection device according to claim 1, which is characterized in that the script level of access packet It includes:
Mission script storage unit provides each target for providing the interface of task process layer and the interface of information collection layer The acquisition script storage catalogue for being used to store its corresponding acquisition script of equipment;
Collection result storage unit provides each target for providing the interface of task process layer and the interface of information collection layer The collection result storage catalogue for being used to store its corresponding collection result of equipment.
3. facility information automation collection device according to claim 1, which is characterized in that the task process layer packet It includes:
Task resolution unit, for getting the configuration of acquisition tasks and parsed, obtaining grouping information and reading under grouping All target device informations, pull the corresponding acquisition script of acquisition tasks from the script storage unit of equipment management layer;
Script Dispatching Unit is stored single by the interface of the mission script storage unit of the script level of access in mission script In member it is that each target device generates mission script storage catalogue respectively, and the acquisition script of each target device is distributed to pair The mission script storage catalogue answered;
Destination file acquiring unit, the interface for the collection result storage unit by the script level of access obtain acquisition knot Destination file corresponding to fruit;
Collection result processing unit is parsed for the collection result to destination file according to the specification of binding character definition, from Database table information, generation table data are parsed in collection result, and are carried out uniformly after being assembled into corresponding data-base recording Persistence storage.
4. facility information automation collection device according to claim 1, which is characterized in that the information collection layer packet It includes:
Mission script acquiring unit obtains target for the interface of the mission script storage unit by the script level of access The corresponding acquisition script of equipment;
Mission script processing unit, for executing the acquisition script got;
As a result format adaptation unit, for the acquisition item in the implementing result to acquisition script according to the constraint of its format and content Property definition be adapted to;
Destination file generation unit, for the acquisition item of all adaptations is assembled and generate destination file;
Destination file uploading unit, for the interface of the collection result storage unit by the script level of access, generation Destination file uploads to the corresponding collection result storage catalogue of target device in collection result storage unit.
5. facility information automation collection device according to claim 1, which is characterized in that the equipment management layer packet It includes:
Device management unit is grouped collected target device for providing visual configuration interface, identical acquisition class The target device of type is configured to a grouping;
Acquisition tasks configuration unit configures for each acquisition tasks for being directed to packet configuration acquisition tasks and uploads correspondence Acquisition script to script storage unit;
Script storage unit provides the function of upload and the storage of acquisition script for acquisition tasks configuration unit.
6. a kind of facility information automation collection method characterized by comprising
S100, equipment management layer are collected target device configuration acquisition tasks and upload acquisition script;
S200, task process layer parse the configuration of acquisition tasks, and pass through the script level of access according to parsing result Interface be each target device distribution acquisition script, script level of access store tasks process layer distribution acquisition script;
S300, information collection layer are obtained using the interface of script level of access and execute the acquisition script of corresponding target device and adopted Collection is as a result, and be uploaded to script level of access, the collection result that script level of access storage information collection layer uploads for collection result;
S400, task process layer obtain collection result from script level of access, and store after parsing to collection result.
7. facility information automation collection method according to claim 6, which is characterized in that the script level of access packet It includes:
Mission script storage unit provides each target for providing the interface of task process layer and the interface of information collection layer The acquisition script storage catalogue for being used to store its corresponding acquisition script of equipment;
Collection result storage unit provides the interface of task process layer and the interface of information collection layer, provides each target device For storing the collection result storage catalogue of its corresponding collection result.
8. facility information automation collection method according to claim 6, which is characterized in that
Step S200 includes:
S210, task process layer get the configuration of acquisition tasks and are parsed, and obtain grouping information and read under grouping All target device informations pull the corresponding acquisition script of acquisition tasks from equipment management layer;
S220, the interface by the mission script storage unit of the script level of access, are each in mission script storage unit A target device generates mission script storage catalogue respectively, and the acquisition script of each target device is distributed to corresponding task Script storage catalogue;
Step S400 includes:
S410, task process layer are right by the interface acquisition collection result institute of the collection result storage unit of the script level of access The destination file answered;
S420, the collection result of destination file is parsed according to the specification of binding character definition, is parsed from collection result Database table information generates table data, and carries out uniformly persistence storage after being assembled into corresponding data-base recording.
9. facility information automation collection method according to claim 6, which is characterized in that step S300 includes:
S310, information collection layer obtain target device pair by the interface of the mission script storage unit of the script level of access The acquisition script answered;
The acquisition script that S320, execution are got;
S330, the acquisition item in the implementing result of acquisition script is adapted to according to binding character definition;
It is S340, the acquisition item of all adaptations is assembled and generate destination file;
S350, the interface by the collection result storage unit of the script level of access, upload to the destination file of generation and adopt Collect the corresponding collection result storage catalogue of target device in result storage unit.
10. facility information automation collection method according to claim 6, which is characterized in that step S100 includes:
S110, equipment management layer are grouped collected target device, identical acquisition for providing visual configuration interface The target device of type is configured to a grouping;
S120, packet configuration acquisition tasks are directed to, are configured for each acquisition tasks and saves corresponding acquisition script.
CN201711010732.9A 2017-10-25 2017-10-25 Automatic equipment information acquisition device and method Active CN109710605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711010732.9A CN109710605B (en) 2017-10-25 2017-10-25 Automatic equipment information acquisition device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711010732.9A CN109710605B (en) 2017-10-25 2017-10-25 Automatic equipment information acquisition device and method

Publications (2)

Publication Number Publication Date
CN109710605A true CN109710605A (en) 2019-05-03
CN109710605B CN109710605B (en) 2022-12-16

Family

ID=66252527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711010732.9A Active CN109710605B (en) 2017-10-25 2017-10-25 Automatic equipment information acquisition device and method

Country Status (1)

Country Link
CN (1) CN109710605B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008346A (en) * 2019-11-13 2020-04-14 苏宁云计算有限公司 Data acquisition method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0818559A (en) * 1994-07-04 1996-01-19 Matsushita Electric Ind Co Ltd Management processor
CN102456026A (en) * 2010-10-21 2012-05-16 中国移动通信集团浙江有限公司 Data acquisition device and method
CN104461856A (en) * 2013-09-22 2015-03-25 阿里巴巴集团控股有限公司 Performance test method, device and system based on cloud computing platform
CN104536809A (en) * 2014-11-26 2015-04-22 上海瀚之友信息技术服务有限公司 Distributed timing task scheduling system based on client and server system
CN105094961A (en) * 2015-08-11 2015-11-25 北京思特奇信息技术股份有限公司 Task scheduling management system based on quartz frame and method thereof
CN105933139A (en) * 2016-03-30 2016-09-07 广东凯通软件开发有限公司 Data processing method and device
CN106294852A (en) * 2016-08-22 2017-01-04 上海华力微电子有限公司 A kind of method that monitors for a long time to storage data
CN106775799A (en) * 2016-01-29 2017-05-31 新华三技术有限公司 A kind of script acquisition methods and device
CN106990770A (en) * 2015-11-06 2017-07-28 横河电机株式会社 Event resolver, event resolution system, event analytic method and event analysis program
WO2017166644A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Data acquisition method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0818559A (en) * 1994-07-04 1996-01-19 Matsushita Electric Ind Co Ltd Management processor
CN102456026A (en) * 2010-10-21 2012-05-16 中国移动通信集团浙江有限公司 Data acquisition device and method
CN104461856A (en) * 2013-09-22 2015-03-25 阿里巴巴集团控股有限公司 Performance test method, device and system based on cloud computing platform
CN104536809A (en) * 2014-11-26 2015-04-22 上海瀚之友信息技术服务有限公司 Distributed timing task scheduling system based on client and server system
CN105094961A (en) * 2015-08-11 2015-11-25 北京思特奇信息技术股份有限公司 Task scheduling management system based on quartz frame and method thereof
CN106990770A (en) * 2015-11-06 2017-07-28 横河电机株式会社 Event resolver, event resolution system, event analytic method and event analysis program
CN106775799A (en) * 2016-01-29 2017-05-31 新华三技术有限公司 A kind of script acquisition methods and device
CN105933139A (en) * 2016-03-30 2016-09-07 广东凯通软件开发有限公司 Data processing method and device
WO2017166644A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Data acquisition method and system
CN106294852A (en) * 2016-08-22 2017-01-04 上海华力微电子有限公司 A kind of method that monitors for a long time to storage data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
胡雅楠: "天津联通信息采集监控系统的研究", 《万方博硕士论文库》 *
郑学通: "分布式JS解析在web信息采集系统中的研究与应用", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008346A (en) * 2019-11-13 2020-04-14 苏宁云计算有限公司 Data acquisition method and device

Also Published As

Publication number Publication date
CN109710605B (en) 2022-12-16

Similar Documents

Publication Publication Date Title
CN104253831B (en) A kind of method and system for being used for the application deployment in cloud computing environment
CN107317724A (en) Data collecting system and method based on cloud computing technology
CN107506451A (en) abnormal information monitoring method and device for data interaction
SG115362A1 (en) Asset management and scheduling graphical user interface for media streamer
CN102012840A (en) Batch data scheduling method and system
CN107959580A (en) The method and apparatus of configuration service
CN107544984A (en) A kind of method and apparatus of data processing
CN108073402A (en) Kafka clusters automatic deployment method and device based on linux system
CN106708917A (en) Data processing method and device and OLAP system
CN110365536A (en) A kind of the fault cues method and relevant apparatus of internet of things equipment
CN110391949A (en) A kind of method and relevant apparatus of configuration change
CN109697537A (en) The method and apparatus of data audit
US10073895B2 (en) Method for generating an event log
CN104536963B (en) A kind of dispatching method and system of storing process
CN103886491A (en) Mobile phone network invoice system based on IOS operating system
CN106528169A (en) Web system development reusable method based on AnGo dynamic evolution model
US8326588B2 (en) Fair path selection during simulation of decision nodes
CN108156030A (en) The method and device that a kind of configuration strategy synchronizes
CN110083712A (en) A kind of method for reading data, system and terminal device
van Dongen et al. EMiT: A process mining tool
CN108287889B (en) A kind of multi-source heterogeneous date storage method and system based on elastic table model
CN104298671B (en) data statistical analysis method and device
CN109032920A (en) A kind of method and device for being tested protocol interface
CN108804241A (en) Cross-platform method for scheduling task, system, computer equipment and storage medium
CN109710605A (en) A kind of facility information automation collection device and method

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
CB02 Change of applicant information

Address after: 518057 w601, Shenzhen Hong Kong industry university research base, No. 015, Gaoxin South seventh Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Applicant after: ASPIRE TECHNOLOGIES (SHENZHEN) LTD.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District high tech Industrial Park, ier building six floor West Wing

Applicant before: ASPIRE TECHNOLOGIES (SHENZHEN) LTD.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant