CN109814841A - A kind of resource information acquisition method and device - Google Patents

A kind of resource information acquisition method and device Download PDF

Info

Publication number
CN109814841A
CN109814841A CN201811557406.4A CN201811557406A CN109814841A CN 109814841 A CN109814841 A CN 109814841A CN 201811557406 A CN201811557406 A CN 201811557406A CN 109814841 A CN109814841 A CN 109814841A
Authority
CN
China
Prior art keywords
module
acquisition
resource information
intelligent
target resource
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
CN201811557406.4A
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.)
Datang Software Technologies Co Ltd
Original Assignee
Datang Software Technologies 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 Datang Software Technologies Co Ltd filed Critical Datang Software Technologies Co Ltd
Priority to CN201811557406.4A priority Critical patent/CN109814841A/en
Publication of CN109814841A publication Critical patent/CN109814841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of resource information acquisition method and devices, described device includes SHELL Script controlling module and intelligent acquisition module, the SHELL Script controlling module is the control instruction collection using SHELL script edit, and the intelligent acquisition module is the program block including one or more functions function write using JAVA language;The described method includes: the SHELL Script controlling module judges whether data gathering project meets preset acquisition condition by predetermined period, the data gathering project is the principal function for acquiring target resource information;When the data gathering project meets preset acquisition condition, the SHELL Script controlling module calls the intelligent acquisition module to acquire the target resource information.The present invention realizes the automatic collection to data, reduces the manpower consumption in the collection process to the target resource information.

Description

A kind of resource information acquisition method and device
Technical field
The present invention relates to technical field of data processing, and in particular to a kind of resource information acquisition method and device.
Background technique
Today's society, all resource informations are all scarce resources, in order to preferably provide the phase of resource information to public Service is closed, operator increasingly payes attention in terms of the acquisition of resource information.
In the related technology, operator requires to get off for a long time, can expend by manpower during acquiring resource information A large amount of human resources.Therefore, the consumption that human resources how are reduced during acquiring resource information, becomes a urgent need It solves the problems, such as.
Summary of the invention
The present invention provides a kind of resource information acquisition method and device, it is intended to realize the automatic collection of resource information.
In order to solve the problems in the relevant technologies, the present invention provides a kind of technical solutions: a kind of resource information acquisition side Method realizes that the intelligent acquisition device includes SHELL Script controlling module and intelligent acquisition module based on intelligent acquisition device, The SHELL Script controlling module is the control instruction collection using SHELL script edit;The intelligent acquisition module is to use The program block including one or more functions function that JAVA language is write;The described method includes:
The SHELL Script controlling module judges whether data gathering project meets preset pick-up slip by predetermined period Part, the data gathering project are the principal function for acquiring target resource information;
When the data gathering project meets preset acquisition condition, described in the SHELL Script controlling module calling Intelligent acquisition module;
The intelligent acquisition module acquires the target resource information.
Optionally, the intelligent acquisition device further includes newly-built gathering project module, and the newly-built gathering project module is The program block for being used to define the principal function for acquiring the target resource information write using JAVA language;
Judge whether data gathering project meets preset pick-up slip by predetermined period in the SHELL Script controlling module Before part, the method also includes:
The newly-built gathering project module creates the data gathering project, the resource management in resource management system System is for storing the target resource information.
The SHELL Script controlling module judges whether data gathering project meets preset pick-up slip by predetermined period Part, comprising:
The SHELL Script controlling module obtains the preset acquisition condition of the single data gathering project, described pre- If acquisition condition include external acquisition condition and internal acquisition condition, the external acquisition condition includes at least target money Whether source information supports the state of acquisition, and the internal acquisition condition includes at least preset to the target resource information Collection period;
The SHELL Script controlling module judge the single data gathering project the target resource information whether be It can support the state of acquisition;
The SHELL Script controlling module judges whether current time meets the acquisition week of the single data gathering project The condition of phase;
When the target resource information of the single data gathering project is that can support the state and current time of acquisition Meet the condition of the collection period of the single data gathering project, then the SHELL Script controlling module determines single described Data gathering project meets preset acquisition condition.
Optionally, when the data gathering project meets preset acquisition condition, the SHELL Script controlling module tune With the intelligent acquisition module, comprising:
When the single data gathering project meets preset acquisition condition, the SHELL Script controlling module is to institute It states intelligent acquisition module and sends acquisition instructions, the acquisition instructions are for notifying the intelligent acquisition module to acquire the target money Source information.
Optionally, the intelligent acquisition module acquires the target resource information, comprising:
The corba interface of the intelligent acquisition module and target network element management system, which is established, to be communicated to connect;
The intelligent acquisition module acquires the target resource information from the target network element management system.
Optionally, the intelligent acquisition module acquires the target resource information, comprising:
The intelligent acquisition module is linked to the database of the target network element management system using Database Link;
The intelligent acquisition module executes Oracle function and acquires the mesh from the database of the Element management system Mark resource information.
Optionally, the intelligent acquisition module acquires the target resource information, comprising:
The intelligent acquisition module and the destination server foundation communication connection for supporting File Transfer Protocol;
The intelligent acquisition module acquires the target resource information from the destination server.
Optionally, described device further includes intelligent analysis module, and the intelligent analysis module is to be write using JAVA language The program block comprising one or more functions function;
After the intelligent acquisition module acquires the target resource information, the method also includes:
The SHELL Script controlling module judge the intelligent acquisition module to the acquisition of the target resource information whether It is finished;
The SHELL Script controlling module is determining that the intelligent acquisition module holds the acquisition of the target resource information After row, the intelligent analysis module is called;
The intelligent analysis module carries out data processing to the target resource information.
Optionally, comprising:
SHELL Script controlling module, for judging whether the data gathering project meets preset adopt by predetermined period Collection condition, when the data gathering project meets preset acquisition condition, the SHELL Script controlling module calls the intelligence It can acquisition module;
Intelligent acquisition module, for acquiring the target resource information;
Newly-built gathering project module, for creating the data gathering project in the resource management system;
Intelligent analysis module, for carrying out data processing to the target resource information.
Optionally, the SHELL Script controlling module includes:
Module is obtained, for obtaining the preset acquisition condition of the single data gathering project;
First judgment module, for judging whether the target resource information of the single data gathering project is that can prop up Hold the state of acquisition;
Second judgment module, for judging whether current time meets the collection period of the single data gathering project Condition;
First calling module, for when the single data gathering project meets preset acquisition condition, the SHELL Script controlling module sends acquisition instructions to the intelligent acquisition module;
Third judgment module, for judging whether the intelligent acquisition module executes the acquisition of the target resource information It finishes;
Second calling module, for being finished in the intelligent acquisition module to the acquisition of the target resource information Afterwards, the intelligent analysis module is called.
The present invention uses the control instruction collection of SHELL scripting language, judges that data gathering project is by predetermined period It is no to meet preset acquisition condition, it is automatic to call intelligent acquisition module to target when meeting the preset acquisition condition Resource information is acquired.The present invention does not need manually to be acquired, and user is only needed to set the acquisition of the target resource information Period can be automatically performed the acquisition to the target resource information, effectively reduce adopting in the target resource information Manpower consumption during collection.
Detailed description of the invention
Fig. 1 is a kind of flow chart of resource information acquisition method shown in an exemplary embodiment;
Fig. 2 is the flow chart of another resource information acquisition method shown in an exemplary embodiment;
Fig. 3 is that the SHELL Script controlling module shown in an exemplary embodiment judges that data acquire by predetermined period Whether engineering meets the flow chart of preset acquisition condition;
Fig. 4 is that the intelligent acquisition module shown in an exemplary embodiment acquires target resource letter using first method The schematic illustration of breath;
Fig. 5 is that the intelligent acquisition module shown in an exemplary embodiment acquires target resource letter using second method The schematic illustration of breath;
Fig. 6 is that the intelligent acquisition module shown in an exemplary embodiment acquires target resource letter using the third method The schematic illustration of breath;
Fig. 7 is a kind of overall flow figure of resource information acquisition method shown in an exemplary embodiment;
Fig. 8 is process of the intelligent analysis module shown in an exemplary embodiment to the progress data processing of target resource information Figure;
Fig. 9 is a kind of block diagram of resource information acquisition device shown in an exemplary embodiment.
Specific embodiment
A specific embodiment of the invention is described below, which is schematical, it is intended to disclose of the invention Specific work process should not be understood as further limiting scope of protection of the claims.
A kind of resource information acquisition method realizes that the intelligent acquisition device includes SHELL foot based on intelligent acquisition device This control module and intelligent acquisition module, the SHELL Script controlling module are the control instruction using SHELL script edit Collection;The intelligent acquisition module is the program block including one or more functions function write using JAVA language.
Fig. 1 is a kind of flow chart of resource information acquisition method shown according to an exemplary embodiment, referring to Fig.1, packet Include following steps.
In step s 11, it is pre- by predetermined period to judge whether data gathering project meets for the SHELL Script controlling module If acquisition condition, the data gathering project be acquire target resource information principal function.
In step s 12, when the data gathering project meets preset acquisition condition, the SHELL Script controlling Module calls the intelligent acquisition module.
In step s 13, the intelligent acquisition module acquires the target resource information.
In the disclosure, SHELL Script controlling module is the control instruction collection using SHELL script edit, and SHELL script is logical The function of crossing the command interpretation using SHELL, parses the file of a plain text, then executes these functions, can also It include that multiple control target resources are believed to say that SHELL script is exactly the set of series of orders, i.e., in SHELL Script controlling module The instruction of the acquisition of breath;Such as the specific time of acquisition is executed, execute the target database of acquisition, the storage of target resource information Address etc..The intelligent acquisition module is the program block including one or more functions function write using JAVA language, institute The effect for stating intelligent acquisition module is to utilize one or more when receiving the instruction in SHELL Script controlling module Power function specifically executes each step of the acquisition to target resource information.
First in step s 11, the SHELL Script controlling module judges whether data gathering project is full by predetermined period The preset acquisition condition of foot, the data gathering project are the principal function for acquiring target resource information.The SHELL Script controlling Module has been in operating status, and all data gathering projects, example can be scanned according to the pre-set scan period Such as it is scanned every one second or one minute.The SHELL Script controlling module obtains data first during the scanning process and adopts Collect engineering, then judges whether the data gathering project meets preset acquisition condition.For example, the Central Bank in order to acquire branch Information in the data management system of A creates the data gathering project of an acquisition branch A, then the SHELL Script controlling Module judges it and whether meets user and create the data and adopt when getting the data gathering project of the acquisition branch A The acquisition condition being arranged when collecting engineering.
In step s 12, when the data gathering project meets preset acquisition condition, the SHELL Script controlling Module calls the intelligent acquisition module.For example, when the SHELL Script controlling module obtains the acquisition point by judgement The data gathering project of row A meets preset acquisition condition, then calls the intelligent acquisition module.
In step s 13, the intelligent acquisition module acquires the target resource information.For example, for the acquisition The data gathering project of branch A, the intelligent acquisition module is by analyzing preset acquisition condition in the data gathering project, meeting Necessary parameter information in collection process is obtained, establishes and communicates to connect for example, by using which kind of agreement and target resource information, acquisition Which data file etc..
In the disclosure, the intelligent acquisition device further includes newly-built gathering project module, the newly-built gathering project module For the program block for being used to define the principal function for acquiring the target resource information write using JAVA language.
Fig. 2 is the flow chart of another resource information acquisition method shown according to an exemplary embodiment, referring to Fig. 2, Before the SHELL Script controlling module judges whether data gathering project meets preset acquisition condition by predetermined period, The method also includes following steps.
In step slo, the newly-built gathering project module creates the data gathering project in resource management system, The resource management system is for storing the target resource information.
For step S10, the newly-built gathering project module is for creating the data gathering project, for example, center silver Row will create the data gathering project of the acquisition branch A, need to only be used in the newly-built gathering project module definition one The principal function of branch A is acquired, while defining preset acquisition condition, there are one or more numbers in the resource management system According to gathering project, for example, there are also the data gathering projects for acquiring branch B in addition to the data gathering project of the acquisition bank A Deng.
Fig. 3 is that the SHELL Script controlling module shown according to an exemplary embodiment by predetermined period judges data Whether gathering project meets the flow chart of preset acquisition condition, includes the following steps referring to Fig. 3, the step S11.
In step s 110, the SHELL Script controlling module obtains single the preset of data gathering project and adopts Collection condition, the preset acquisition condition include external acquisition condition and internal acquisition condition, and the external acquisition condition is at least The state of acquisition whether is supported including the target resource information, the internal acquisition condition is included at least to the target resource The preset collection period of information.
In step S111, the SHELL Script controlling module judges the target of the single data gathering project Whether resource information is the state that can support acquisition.
In step S112, the SHELL Script controlling module judges whether current time meets the single data and adopt Collect the condition of the collection period of engineering.
In step S113, when the target resource information of the single data gathering project is the shape that can support acquisition State and current time meet the condition of the collection period of the single data gathering project, then the SHELL Script controlling module Determine that the single data gathering project meets preset acquisition condition.
In the step S110, the SHELL Script controlling module obtains the default of the single data gathering project Acquisition condition, due to the resource management system usually be no less than a data gathering project, the SHELL script control Molding block can obtain one by one the preset acquisition condition of each data gathering project according to predetermined period;For example, center silver The data gathering project that row obtains the information of the acquisition branch A first is analyzed, and the acquisition branch B is then obtained Data gathering project analyzed.
The preset acquisition condition includes external acquisition condition and internal acquisition condition, and the external acquisition condition is extremely It less include the state whether the target resource information supports acquisition, such as the data management system of branch A is being safeguarded, is not propped up External acquisition is held, so the target resource information is not support the state of acquisition at this time, in addition, the external acquisition condition is also Whether it is built into including the communications conduit between other conditions, such as the resource management system and the data management system of bank Function etc..The internal acquisition condition is included at least to the preset collection period of target resource information, i.e. user can be with It presets every how long executing the acquisitions of data, in addition, the internal acquisition condition further includes other conditions, for example, Whether the resource management system is ready to receive external data etc..
In the step S111, the SHELL Script controlling module judges the described of the single data gathering project Whether target resource information is the state that can support acquisition.For example, what is run in the resource management system of the Central Bank is described SHELL Script controlling module judges the target of the data gathering project when getting the data gathering project of the branch A Whether resource information is the state that can support acquisition, for example, the cash flow for this month that target resource information herein is branch A Enter situation and customer information, if this partial information is being safeguarded, the Central Bank determines the data gathering project of the branch A Target resource information be do not support acquisition state.
In the step S112, the SHELL Script controlling module judges whether current time meets the single number According to the condition of the collection period of gathering project.For example, data management system of Central Bank's setting every 24 hours acquisition branch A Information, the SHELL Script controlling module gets acquisition time last in the data gathering project of the branch A For 10 minutes 10 points of January 1, then acquisition time was 10 minutes 10 points of January 2 next time, then was next time 10 minutes 10 points of January 3, with This analogizes.
In the step S113, when the target resource information of the single data gathering project is that can support to acquire State and current time meet the single data gathering project collection period condition, then the SHELL Script controlling Module determines that the single data gathering project meets preset acquisition condition.For example, the money in the data management system of branch A Source information can be supported to acquire, and the resource management system of the Central Bank has also reached the time point of acquisition, then SHELL Script controlling Module determines that the data gathering project of the branch A meets preset acquisition condition.
In the disclosure, the step S12 includes the following steps.
In step S121, when the single data gathering project meets preset acquisition condition, the SHELL script Control module sends acquisition instructions to the intelligent acquisition module, and the acquisition instructions are for notifying the intelligent acquisition module to adopt Collect the target resource information.
In step S121, for example, if the SHELL Script controlling module of the Central Bank judges to obtain described point The data gathering project of row A meets preset acquisition condition, then to the intelligent acquisition module of the data gathering project of the branch A Acquisition instructions are sent, the acquisition instructions are for ordering the intelligent acquisition module to start to execute the data management system to branch A The acquisition of target resource information in system.
Fig. 4 is the intelligent acquisition module shown according to an exemplary embodiment using the first method acquisition mesh Mark the schematic illustration of resource information, wherein the intelligent acquisition module executes following steps when called.
In step S131a, the corba interface of the intelligent acquisition module and target network element management system establishes communication link It connects.
In step S132a, the intelligent acquisition module acquires the target money from the target network element management system Source information.
In the disclosure, if the intelligent acquisition module is by the step S131a and the step S132a to the target Resource information is acquired, then when presetting acquisition condition in step S10, other than including this parameter of collection period, is also wrapped Other multiple parameters are included, such as: the IP of target network element management system and port, CORBA usemame/password, target network element management The mark and model of system, the type of target resource and data analyze entrance.The type of the target resource, for example, equipment, Frame, frame, plate, mouth, channel, virtual connections, performance event, warning information etc., be technical field personnel very known to Concept, therefore this will not be repeated here.
In the disclosure, the collection period of the target resource information is all made of the setting of cron expression formula, and cron expression formula is logical It is usually used in configuring the triggered time of plan target, a cron expression formula is one by six or seven subexpressions (field) The character string of composition.The specific value of the pre-set collection period of cron expression formula, the SHELL Script controlling Specific value is passed to the collection period that the data gathering project is defined in creation at runtime by module.
In step S131a, the corba interface of the intelligent acquisition module and target network element management system establishes communication link It connects.Element management system (Element Management System) is the certain types of one or more telecommunication networks of management Unit (Network Element) is professional network management system, it lays particular emphasis on region, network, the NE management inside sub-network. Element management system is the bridge between network unit and Network Management System (Network Management System), it It is connect by northbound interface (such as corba interface) with Network Management System.
In step S132a, the intelligent acquisition module acquires the target money from the target network element management system Source information, i.e., the described intelligent acquisition module acquire under one or more network units of the target network element management system management The specific target resource information.Specific operating process is the prior art, therefore this will not be repeated here.
Fig. 5 is the intelligent acquisition module shown according to an exemplary embodiment using the second method acquisition mesh Mark the schematic illustration of resource information, wherein the intelligent acquisition module executes following steps when called.
In step S131b, the intelligent acquisition module is linked to the target network element management using Database Link The database of system.
In step S132b, the intelligent acquisition module executes data of the Oracle function from the Element management system The target resource information is acquired in library.
In the disclosure, if the intelligent acquisition module is by the step S131b and the step S132b to the target Resource information is acquired, then when presetting acquisition condition in step S10, other than including this parameter of collection period, is also wrapped Other multiple parameters are included, such as: IP, port, Service name, user name, password and the acquisition function of target database.
In step S131b, the intelligent acquisition module is linked to the target network element management using Database Link The database of system.In Oracle, the effect of Database Link is in local area network, above a server The function of database above the other server of database access, such as now with two databases A and B, if certain user steps on Land data A thinks access data B, then user can directly go in database A in the case where creating Database Link Access database B.In practical applications, target network element management system can not pass through service the part target resource information Mode externally provides, but resource management system and the target network element management system at this time may be used in same LAN environment Data are directly acquired by Database Link mode.
In step S132b, the intelligent acquisition module executes data of the Oracle function from the Element management system The target resource information is acquired in library, specific operating process is the prior art, therefore this will not be repeated here.
Fig. 6 is the intelligent acquisition module shown according to an exemplary embodiment using the third method acquisition mesh Mark the schematic illustration of resource information, wherein the intelligent acquisition module executes following steps when called.
In step S131c, the intelligent acquisition module is communicated with the destination server foundation of File Transfer Protocol is supported Connection.
In step S132c, the intelligent acquisition module acquires the target resource information from the destination server.
In the disclosure, if the intelligent acquisition module is by the step S131c and the step S132c to the target Resource information is acquired, then when presetting acquisition condition in step S10, other than including this parameter of collection period, is also wrapped Other multiple parameters are included, such as: IP, port, login username/password, file destination path and the target of destination server File name (may specify format).
In step S131c, the intelligent acquisition module is communicated with the destination server foundation of File Transfer Protocol is supported Connection.Support the destination server of File Transfer Protocol, i.e. ftp server (File Transfer Protocol Server) It is the computer that file is provided on the internet and stores and accesses service, they provide service according to File Transfer Protocol.In practical application In, target network element management system can not externally provide the part resource information by way of service, and resource management The database of system and Element management system may be selected directly not in same LAN environment through access ftp server Obtain the target resource information.
In step S132c, the intelligent acquisition module acquires the target resource information from the destination server. The i.e. described intelligent acquisition module downloads target data file from the destination server, parses target data file and obtains described Target resource information.Specific operating process is the prior art, therefore this will not be repeated here.
In the disclosure, described device further includes intelligent analysis module, and the intelligent analysis module is to be compiled using JAVA language The program block comprising one or more functions function write.
Fig. 7 is a kind of overall flow figure of resource information acquisition method shown according to an exemplary embodiment, described It is further comprising the steps of after step S13.
In step S14, the SHELL Script controlling module judges that the intelligent acquisition module believes the target resource Whether the acquisition of breath is finished.
In step S15, the SHELL Script controlling module is determining the intelligent acquisition module to the target resource After the acquisition of information is finished, the intelligent analysis module is called.
In step s 16, the intelligent analysis module carries out data processing to the target resource information.
Firstly, the SHELL Script controlling module judges the intelligent acquisition module to described in the step S14 Whether the acquisition of target resource information is finished.It, can Xiang Suoshu after the intelligent acquisition mould acquisition target resource information SHELL Script controlling module, which is sent, terminates acquisition instructions, refers to when the SHELL Script controlling module receives the end acquisition When enabling, determine that the intelligent acquisition module is finished to the acquisition of the target resource information.
Then in step S15, the SHELL Script controlling module is determining the intelligent acquisition module to the target After the acquisition of resource information is finished, the intelligent analysis module is called.For example, the Central Bank determines the intelligent acquisition mould After block is to the target resource information collection in the data management system of branch A, Xiang Suoshu intelligent analysis module sends request Call instruction, the request call instruction is for the target resource information in the data management system to the branch A of acquisition It is arranged.
Then in step s 16, the intelligent analysis module carries out data processing to the target resource information.Fig. 8 is The intelligent analysis module shown in one exemplary embodiment carries out the flow chart of data processing, ginseng to the target resource information According to Fig. 8, include the following steps.
In step S161, the intelligent analysis module compares target resource information with resource information, and It is classified as new network Resource information, in net resource information and logout resource information;Described is being described with resource information Already existing resource information in the called foregoing description resource management system of intelligent acquisition module.
In step S162, the intelligent analysis module provides artificial attribute to the new network Resource information and safeguards function Energy.
In step S163, the intelligent analysis module deletes the logout resource information.
First in step S161, for example, the Central Bank acquired January 1 from the data management system of branch A All customer information and the resource management system for being stored in the Central Bank, then this portions of client information is referred to as to believe with resource Breath, when January 2, the Central Bank acquires all customer informations again from the data management system of branch A, then claiming this portion Dividing customer information is target resource information;By all customer informations of all customer informations of acquisition on January 2 and acquisition on January 1 It compares, if discovery has newly increased a collection of client, then this batch of customer information newly increased is known as new network Resource information; If all customer informations that all customer informations that January 2 acquired were acquired with January 1 compared, discovery has a collection of phase Same customer information, then identical this batch of customer information is known as in net resource information;If the institute that January 2 was acquired All customer informations for having customer information to acquire with January 1 compare, and have in all customer informations of discovery acquisition on January 1 A collection of customer information is not in all customer informations of acquisition on January 2, then this batch of customer information of reduction is known as logout Resource information.
Then in step S162, the intelligent analysis module provides artificial attribute to the new network Resource information and safeguards Function.For example, if all customer informations of acquisition on January 2 increase compared with all customer informations that January 1 acquired A collection of client, then the intelligent analysis module is additionally provided artificial attribute maintenance function for this portions of client information, i.e., in Centre bank, which can according to need, to be decided whether to handle this batch of customer information.
Then in step S163, the intelligent analysis module deletes the logout resource information.For example, if January 2, all customer informations of acquisition lacked a collection of client compared with all customer informations that January 1 acquired, then the intelligence Energy analysis module deletes this portions of client information, while also reminding this crowd of client of the Central Bank not in the client of branch A List.
The intelligent analysis module can be acquired target resource information in real time and be updated by the step S161 to S163 To resource management system, when the collection period of setting is shorter, it is more able to maintain the data and the target of the resource management system Resource information is synchronous.For example, the Central Bank acquires target resource information from the data management system of branch A daily, and leads to This batch of target resource information is crossed to carry out the resource information for the branch A of the previous day being stored in Central Bank's resource management system It updates, keeps the information in the resource management system of the Central Bank consistent with actual conditions.Similarly, pass through the intellectual analysis Module, the Central Bank can also be updated the resource information of the branch B in resource management system, believe the resource of branch C Breath is updated etc..
In addition, the target resource information is after being analyzed and being improved by the intelligent analysis module, also in the disclosure Can be stored in a data warehouse, the data warehouse externally provides shared channel, other platforms can by interface or The modes such as person Database Link obtain the resource information respectively needed from the data warehouse, guarantee that external platform obtains Data be data after real-time update, reduce the otherness between the data that each external platform obtains.
Fig. 9 is a kind of block diagram of resource information acquisition device shown according to an exemplary embodiment, described referring to Fig. 9 Device includes:
SHELL Script controlling module 101, it is preset for judging whether the data gathering project meets by predetermined period Acquisition condition, when the data gathering project meets preset acquisition condition, described in the SHELL Script controlling module calling Intelligent acquisition module;
Intelligent acquisition module 102, for acquiring the target resource information;
Newly-built gathering project module 103, for creating the data gathering project in the resource management system;
Intelligent analysis module 104, for carrying out data processing to the target resource information.
In the disclosure, the SHELL Script controlling module 101 includes:
Module 1011 is obtained, for obtaining the preset acquisition condition of the single data gathering project;
First judgment module 1012, for judge the single data gathering project the target resource information whether be It can support the state of acquisition;
Second judgment module 1013, for judging whether current time meets the acquisition week of the single data gathering project The condition of phase;
First calling module 1014, it is described for when the single data gathering project meets preset acquisition condition SHELL Script controlling module sends acquisition instructions to the intelligent acquisition module;
Third judgment module 1015, for judge the intelligent acquisition module to the acquisition of the target resource information whether It is finished;
Second calling module 1016, for having been executed in the intelligent acquisition module to the acquisition of the target resource information Bi Hou calls the intelligent analysis module.
The present invention uses the control instruction collection of SHELL scripting language, judges that data gathering project is by predetermined period It is no to meet preset acquisition condition, it is automatic that intelligent acquisition module is called to believe target resource when meeting preset acquisition condition Breath is acquired.The present invention possesses following advantage: first is that not needing manually to be acquired, user only being needed to set acquisition week Phase can be automatically performed the acquisition to target resource information, in the collection process for effectively reducing the target resource information Manpower consumption;Second is that being avoided a large amount of while manpower consumption in the collection process for reducing the target resource information Mistake;Third is that establishing data warehouse for the data in the intelligent analysis module, can be mentioned for other platforms of periphery For data sharing, and guarantee from the data obtained in the data warehouse and is the data after real-time update.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.

Claims (10)

1. a kind of resource information acquisition method, which is characterized in that realized based on intelligent acquisition device, the intelligent acquisition device packet SHELL Script controlling module and intelligent acquisition module are included, the SHELL Script controlling module is using SHELL script edit Control instruction collection;The intelligent acquisition module is the program including one or more functions function write using JAVA language Block;The described method includes:
The SHELL Script controlling module judges whether data gathering project meets preset acquisition condition, institute by predetermined period Stating data gathering project is the principal function for acquiring target resource information;
When the data gathering project meets preset acquisition condition, the SHELL Script controlling module calls the intelligence Acquisition module;
The intelligent acquisition module acquires the target resource information.
2. the method according to claim 1, wherein the intelligent acquisition device further includes newly-built gathering project mould Block, the newly-built gathering project module are to be write using JAVA language for defining the main letter for acquiring the target resource information Several program blocks;
The SHELL Script controlling module by predetermined period judge data gathering project whether meet preset acquisition condition it Before, the method also includes:
The newly-built gathering project module creates the data gathering project, the resource management system in resource management system For storing the target resource information.
3. method according to claim 1 or 2, which is characterized in that the SHELL Script controlling module is sentenced by predetermined period Whether disconnected data gathering project meets preset acquisition condition, comprising:
The SHELL Script controlling module obtains the preset acquisition condition of the single data gathering project, described preset Acquisition condition includes external acquisition condition and internal acquisition condition, and the external acquisition condition is believed including at least the target resource Whether breath supports the state of acquisition, and the internal acquisition condition is included at least to the preset acquisition of target resource information Period;
The SHELL Script controlling module judges whether the target resource information of the single data gathering project is that can prop up Hold the state of acquisition;
The SHELL Script controlling module judges whether current time meets the collection period of the single data gathering project Condition;
When the target resource information of the single data gathering project is that can support the state and current time satisfaction of acquisition The condition of the collection period of the single data gathering project, then the SHELL Script controlling module determines the single data Gathering project meets preset acquisition condition.
4. according to the method described in claim 3, it is characterized in that, when the data gathering project meets preset acquisition condition When, the SHELL Script controlling module calls the intelligent acquisition module, comprising:
When the single data gathering project meets preset acquisition condition, the SHELL Script controlling module is to the intelligence Energy acquisition module sends acquisition instructions, and the acquisition instructions are for notifying the intelligent acquisition module to acquire the target resource letter Breath.
5. the method according to claim 1, wherein the intelligent acquisition module acquires the target resource letter Breath, comprising:
The corba interface of the intelligent acquisition module and target network element management system, which is established, to be communicated to connect;
The intelligent acquisition module acquires the target resource information from the target network element management system.
6. the method according to claim 1, wherein the intelligent acquisition module acquires the target resource letter Breath, comprising:
The intelligent acquisition module creation Database Link is linked to the database of the target network element management system;
The intelligent acquisition module executes Oracle function and acquires the target money from the database of the Element management system Source information.
7. the method according to claim 1, wherein the intelligent acquisition module acquires the target resource letter Breath, comprising:
The intelligent acquisition module and the destination server foundation communication connection for supporting File Transfer Protocol;
The intelligent acquisition module acquires the target resource information from the destination server.
8. the method according to claim 1, wherein described device further includes intelligent analysis module, the intelligence Analysis module is the program block comprising one or more functions function write using JAVA language;
After the intelligent acquisition module acquires the target resource information, the method also includes:
The SHELL Script controlling module judges whether the intelligent acquisition module executes the acquisition of the target resource information It finishes;
The SHELL Script controlling module is determining that the intelligent acquisition module executed the acquisition of the target resource information Bi Hou calls the intelligent analysis module;
The intelligent analysis module carries out data processing to the target resource information.
9. a kind of intelligent acquisition device characterized by comprising
SHELL Script controlling module, for judging whether the data gathering project meets preset pick-up slip by predetermined period Part, when the data gathering project meets preset acquisition condition, the SHELL Script controlling module calls the intelligence to adopt Collect module;
Intelligent acquisition module, for acquiring the target resource information;
Newly-built gathering project module, for creating the data gathering project in the resource management system;
Intelligent analysis module, for carrying out data processing to the target resource information.
10. device according to claim 9, which is characterized in that the SHELL Script controlling module includes:
Module is obtained, for obtaining the preset acquisition condition of the single data gathering project;
First judgment module, for judging whether the target resource information of the single data gathering project is that can support to adopt The state of collection;
Second judgment module, for judging whether current time meets the item of the collection period of the single data gathering project Part;
First calling module, for when the single data gathering project meets preset acquisition condition, the SHELL script Control module sends acquisition instructions to the intelligent acquisition module;
Third judgment module, for judging whether the intelligent acquisition module has executed the acquisition of the target resource information Finish;
Second calling module, for adjusting after the intelligent acquisition module is finished to the acquisition of the target resource information With the intelligent analysis module.
CN201811557406.4A 2018-12-19 2018-12-19 A kind of resource information acquisition method and device Pending CN109814841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811557406.4A CN109814841A (en) 2018-12-19 2018-12-19 A kind of resource information acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811557406.4A CN109814841A (en) 2018-12-19 2018-12-19 A kind of resource information acquisition method and device

Publications (1)

Publication Number Publication Date
CN109814841A true CN109814841A (en) 2019-05-28

Family

ID=66602161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811557406.4A Pending CN109814841A (en) 2018-12-19 2018-12-19 A kind of resource information acquisition method and device

Country Status (1)

Country Link
CN (1) CN109814841A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312419A (en) * 2021-06-01 2021-08-27 北京思特奇信息技术股份有限公司 Timing scheduling method and system for subscription service

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231676A (en) * 2011-06-23 2011-11-02 中兴通讯股份有限公司 Network management data collecting method and device
JP2014532244A (en) * 2011-10-11 2014-12-04 インテル・コーポレーション Automatic code generation for crowdsourced data collection
CN104216943A (en) * 2014-06-24 2014-12-17 用友优普信息技术有限公司 Method and device for automatically collecting blockage information to facilitate post analysis on database blockage
CN104243185A (en) * 2013-06-06 2014-12-24 神州数码系统集成服务有限公司 Experiential service monitoring system and method
CN109034947A (en) * 2018-06-21 2018-12-18 无锡天脉聚源传媒科技有限公司 A kind of order data acquisition methods, system and the device of electric business platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231676A (en) * 2011-06-23 2011-11-02 中兴通讯股份有限公司 Network management data collecting method and device
JP2014532244A (en) * 2011-10-11 2014-12-04 インテル・コーポレーション Automatic code generation for crowdsourced data collection
CN104243185A (en) * 2013-06-06 2014-12-24 神州数码系统集成服务有限公司 Experiential service monitoring system and method
CN104216943A (en) * 2014-06-24 2014-12-17 用友优普信息技术有限公司 Method and device for automatically collecting blockage information to facilitate post analysis on database blockage
CN109034947A (en) * 2018-06-21 2018-12-18 无锡天脉聚源传媒科技有限公司 A kind of order data acquisition methods, system and the device of electric business platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312419A (en) * 2021-06-01 2021-08-27 北京思特奇信息技术股份有限公司 Timing scheduling method and system for subscription service
CN113312419B (en) * 2021-06-01 2024-07-12 北京思特奇信息技术股份有限公司 Timing scheduling method and system for subscription service

Similar Documents

Publication Publication Date Title
CN110535777A (en) Access request control method, device, electronic equipment and readable storage medium storing program for executing
CN108965381A (en) Implementation of load balancing, device, computer equipment and medium based on Nginx
CN101217400B (en) An integrated intelligent polling method and system
CN110351436A (en) FreeSWITCH monitoring method, equipment, storage medium and device
CN108334370A (en) A kind of software auto-increment update upgrade method of distributed test system
EP2863579A1 (en) Scheduling a device batch reconfiguration event in a network
CN112099844A (en) Multi-kernel compatible intelligent browsing system for state network service system
CN107179977A (en) Database Full-automatic monitoring system based on mpm models
CN114301818A (en) Service flow detection method, device, system, terminal and storage medium
CN109814841A (en) A kind of resource information acquisition method and device
CN117709077B (en) Simulation deduction method and system based on network target range, electronic equipment and medium
CN110187895A (en) Allocating operating system method, apparatus, equipment and computer readable storage medium
CN105391566B (en) A kind of method and device that dynamic network equipments configuration compares
CN109376527A (en) A kind of management method and system based on receipts and trustship in account
CN109450716A (en) A kind of method and system for writing frequency to intercom by IP network
CN113065801A (en) Organization architecture management method, device, equipment and storage medium
CN115865617B (en) VPN remote diagnosis and maintenance system
CN112147962A (en) Communication system and communication method between intelligent casting system and equipment
CN105204892B (en) War packet configuration modification system and methods
CN117149895A (en) Industrial data dynamic display method and device, computer equipment and storage medium
CN111897843A (en) Configuration method and device of data transfer strategy of Internet of things and computer equipment
CN102857939B (en) The collocation method and device of cell parameter
CN110362309A (en) Front end project development method, apparatus, equipment and computer readable storage medium
CN109408314A (en) A kind of catalogue quota automated testing method based on mass memory
CN112420019B (en) Equipment testing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190528