CN107729458A - The method for visually monitoring of instrument license - Google Patents

The method for visually monitoring of instrument license Download PDF

Info

Publication number
CN107729458A
CN107729458A CN201710935814.8A CN201710935814A CN107729458A CN 107729458 A CN107729458 A CN 107729458A CN 201710935814 A CN201710935814 A CN 201710935814A CN 107729458 A CN107729458 A CN 107729458A
Authority
CN
China
Prior art keywords
license
instrument
data
sub
visually monitoring
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
CN201710935814.8A
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.)
Chinese Hangfa Control System Research Institute
Original Assignee
Chinese Hangfa Control System Research Institute
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 Chinese Hangfa Control System Research Institute filed Critical Chinese Hangfa Control System Research Institute
Priority to CN201710935814.8A priority Critical patent/CN107729458A/en
Publication of CN107729458A publication Critical patent/CN107729458A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of method for visually monitoring of instrument license, comprises the following steps:Step S1, the interface provided according to instrument use data to obtain license;Step S2, timed task is established, obtain permitting occupied information after the inquiry real time data relevant with instrument license and processing, and store;Step S3, the exploitation of visualization interface, permit the situation of occupancy is visual to show instrument.The real-time occupancy situation and history that the present invention is used to show instrument license take trend, facilitate tool-user to check, and provide data for the buying dilatation that instrument is permitted and support.

Description

The method for visually monitoring of instrument license
Technical field
The present invention relates to the visual control field of software license, especially a kind of reality of business software license service condition When method for visually monitoring.
Background technology
The use of business software instrument, generally it is subjected to the limitation of licensed number.User buys certain type business software work Tool, actual is exactly according to self-demand, buys a number of authorization, additional extra technological service.These licenses are normal Often it is arranged in the form of license file on permit server, when instrument client terminal application uses the instrument, one will be taken Individual license, untill all licenses are all occupied, as shown in Figure 1;
The permit server of instrument would generally open some useful inquiries to user, and the most frequently used is exactly the real-time of occupancy license Information, whom includes and taken, have several licenses can use etc. information;These inquiries can be by query script, with timing The form of task is recorded Query Result to carry out in private database, as historical data.
The content of the invention
It is an object of the invention to provide a kind of method for visually monitoring of instrument license, for showing the reality of instrument license When occupancy situation and history take trend, facilitate tool-user to check, and for instrument permit buying dilatation data branch is provided Hold.The technical solution adopted by the present invention is:
A kind of method for visually monitoring of instrument license, comprises the following steps:
Step S1, the interface provided according to instrument use data to obtain license;
Step S2, timed task is established, obtains permitting occupied information after the inquiry real time data relevant with instrument license and processing, And store;
Step S3, the exploitation of visualization interface, permit the situation of occupancy is visual to show instrument.
Further, step S2 is specifically included:
Step S201, interface command is saved as into autoexec, the plan target function of being carried by windows operating systems To run, be set, and operation result is first kept in text the cycle of operation;
Step S202, next the initial data in text is further handled, obtain including total license number, current License occupied information including occupied license number;
Step S203, finally establish license data private database;Establish two tables in license data private database, one Real-time license occupied information after the per cycle of operation query processing of table storage;Another table is permitted by setting time interval storage instrument Can occupancy data.
Further,
The cycle of operation in step S201 is arranged to 1 minute.
Further,
Step S202 includes following sub-step:
Sub-step S202a, processing routine/processing script read in the initial data text of the collection per the cycle of operation;
Sub-step S202b, processing routine/processing script find the useful row for including license occupied information according to keyword;
Sub-step S202c, total license number is extracted using regular expression in useful row;
Sub-step S202d, the current occupied license number of regular expression extraction is utilized in useful row.
Further, the data in license data private database are presented to by visualization interface in a manner of chart etc. in real time User.
The advantage of the invention is that:The automatically license occupancy situation of monitoring of software instrument, there is provided real-time monitoring data, To facilitate tool-user to check;And the dilatation that can permit for instrument provides data and supported.
Brief description of the drawings
Fig. 1 is the permit server and instrument client terminal schematic diagram of the present invention.
Fig. 2 is the network architecture diagram of embodiments of the invention.
Fig. 3 is the original data processing flow chart of the present invention.
The visualization interface that Fig. 4 is the present invention shows one of example schematic diagram.
Fig. 5 is that the visualization interface of the present invention shows two schematic diagrames of example.
Embodiment
With reference to specific drawings and examples, the invention will be further described.
The present invention proposes a kind of method for visually monitoring of instrument license, reads instrument by timing and permits occupied information, And real-time storage carrys out the visual control of implementation tool license to license data private database, design front-end interface displaying.This Invention is applied in the network architecture of the instrument license shown in Fig. 2, and the network architecture includes the user visitor connected by Ethernet Family end(That is instrument client terminal), permit server, query with permission machine, license data private database;
The present invention specifically includes following steps:
Step S1, the interface provided according to instrument use data to obtain license;This step is to license by query with permission machine Server obtains license and uses data;
The interface must be asked for when buying the instrument to supplier, the letter that typically a kind of commercial license management system provides Single command;Such as the interface command that certain instrument provides is as follows:
lmutil lmstat -a -c 27103@192.168.1.13
The interface command is run directly under cmd windows can obtain result, wherein, lmutil is the license clothes that the instrument uses The querying command that business device provides, is followed by query argument, is finally permit server and its port numbers;
Step S2, timed task is established, obtains permitting occupied information after the inquiry real time data relevant with instrument license and processing, And store;Specifically include:
Step S201, interface command is saved as into autoexec, the plan target function of being carried by windows operating systems To run, the cycle of operation is arranged to 1 minute, and operation result is first kept in text;Instrument has thus been obtained to be permitted The initial data of data can be used;
Step S202, next need further to handle the initial data in text, because comprising big in initial data The information of amount, wherein there are many useless.In order to realize target, it is necessary to which handle to obtain is total license number, currently quilt License number of occupancy etc. permits occupied information;This processing procedure can generally select High level Script Language(Such as Python) Either high-level programming language(Such as C#)Operated Deng regular expression is combined, as shown in figure 3, including following sub-step:
Sub-step S202a, processing routine/processing script read in the initial data text of collection per minute;
Sub-step S202b, the row where useful information to be obtained, generally can all there are some keywords, processing routine/processing pin Originally the useful row for including license occupied information must be found according to these keywords;
Sub-step S202c, total license number is extracted using regular expression in useful row;
Sub-step S202d, the current occupied license number of regular expression extraction is utilized in useful row;
Step S203, finally establish license data private database;Establish two tables in license data private database, one Table stores the real-time license occupied information after query processing per minute;Another table stores instrument license occupancy number by the hour According to;
Step S3, the exploitation of visualization interface, permit the situation of occupancy is visual to show instrument;
Data in license data private database are presented to user by visualization interface with intuitive ways such as charts in real time.
After the exploitation of visualization interface can use very flexible mode, such as license data private database is read in programming Shown with chart control, or commercial using some/data sheet instrument for increasing income is directly profiling, latter provides friend Good database interface and B/S frameworks, it is easier to be directly perceived;Such as the present invention is opened by means of the report tool Grafana to increase income The situation that two tables take to demonstration tool license is sent out;
First table shows that all monitored instruments currently permit occupancy situation, refreshing information per minute;As shown in Figure 4;
Second table shows the variation tendency of each each instrument license occupancy of integral point in nearest 12 hours, such as Fig. 5 It is shown.

Claims (5)

1. a kind of method for visually monitoring of instrument license, it is characterised in that comprise the following steps:
Step S1, the interface provided according to instrument use data to obtain license;
Step S2, timed task is established, obtains permitting occupied information after the inquiry real time data relevant with instrument license and processing, And store;
Step S3, the exploitation of visualization interface, permit the situation of occupancy is visual to show instrument.
2. the method for visually monitoring of instrument license as claimed in claim 1, it is characterised in that step S2 is specifically included:
Step S201, interface command is saved as into autoexec, the plan target function of being carried by windows operating systems To run, be set, and operation result is first kept in text the cycle of operation;
Step S202, next the initial data in text is further handled, obtain including total license number, current License occupied information including occupied license number;
Step S203, finally establish license data private database;Establish two tables in license data private database, one Real-time license occupied information after the per cycle of operation query processing of table storage;Another table is permitted by setting time interval storage instrument Can occupancy data.
3. the method for visually monitoring of instrument license as claimed in claim 2, it is characterised in that
The cycle of operation in step S201 is arranged to 1 minute.
4. the method for visually monitoring of instrument license as claimed in claim 2, it is characterised in that
Step S202 includes following sub-step:
Sub-step S202a, processing routine/processing script read in the initial data text of the collection per the cycle of operation;
Sub-step S202b, processing routine/processing script find the useful row for including license occupied information according to keyword;
Sub-step S202c, total license number is extracted using regular expression in useful row;
Sub-step S202d, the current occupied license number of regular expression extraction is utilized in useful row.
5. the method for visually monitoring of instrument license as claimed in claim 1, it is characterised in that
Data in license data private database are presented to user by visualization interface with graph mode in real time.
CN201710935814.8A 2017-10-10 2017-10-10 The method for visually monitoring of instrument license Pending CN107729458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710935814.8A CN107729458A (en) 2017-10-10 2017-10-10 The method for visually monitoring of instrument license

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710935814.8A CN107729458A (en) 2017-10-10 2017-10-10 The method for visually monitoring of instrument license

Publications (1)

Publication Number Publication Date
CN107729458A true CN107729458A (en) 2018-02-23

Family

ID=61210092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710935814.8A Pending CN107729458A (en) 2017-10-10 2017-10-10 The method for visually monitoring of instrument license

Country Status (1)

Country Link
CN (1) CN107729458A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635437A (en) * 2003-12-25 2005-07-06 英业达股份有限公司 Software use monitoring system and method
CN1996332A (en) * 2006-09-30 2007-07-11 华为技术有限公司 License control method and device
CN101707632A (en) * 2009-10-28 2010-05-12 浪潮电子信息产业股份有限公司 Method for dynamically monitoring performance of server cluster and alarming real-timely
CN102387146A (en) * 2011-10-21 2012-03-21 张国 Method and system for synergizing floating point type licenses
US20130030956A1 (en) * 2010-04-07 2013-01-31 Kim In-Sang Content open licensing system for application store and method thereof
CN103491354A (en) * 2013-10-10 2014-01-01 国家电网公司 System operation monitoring and controlling visual platform
CN105871779A (en) * 2015-01-20 2016-08-17 黄红进 Method and system for managing permission
CN106411639A (en) * 2016-09-18 2017-02-15 合网络技术(北京)有限公司 Method and system for monitoring access data
CN106547914A (en) * 2016-11-25 2017-03-29 国信优易数据有限公司 A kind of data acquisition management system and its method
CN106549829A (en) * 2016-10-28 2017-03-29 北方工业大学 Big data calculating platform monitoring system and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635437A (en) * 2003-12-25 2005-07-06 英业达股份有限公司 Software use monitoring system and method
CN1996332A (en) * 2006-09-30 2007-07-11 华为技术有限公司 License control method and device
CN101707632A (en) * 2009-10-28 2010-05-12 浪潮电子信息产业股份有限公司 Method for dynamically monitoring performance of server cluster and alarming real-timely
US20130030956A1 (en) * 2010-04-07 2013-01-31 Kim In-Sang Content open licensing system for application store and method thereof
CN102387146A (en) * 2011-10-21 2012-03-21 张国 Method and system for synergizing floating point type licenses
CN103491354A (en) * 2013-10-10 2014-01-01 国家电网公司 System operation monitoring and controlling visual platform
CN105871779A (en) * 2015-01-20 2016-08-17 黄红进 Method and system for managing permission
CN106411639A (en) * 2016-09-18 2017-02-15 合网络技术(北京)有限公司 Method and system for monitoring access data
CN106549829A (en) * 2016-10-28 2017-03-29 北方工业大学 Big data calculating platform monitoring system and method
CN106547914A (en) * 2016-11-25 2017-03-29 国信优易数据有限公司 A kind of data acquisition management system and its method

Similar Documents

Publication Publication Date Title
US20210318851A1 (en) Systems and Methods for Dataset Merging using Flow Structures
US10692030B2 (en) Process visualization platform
CN105868391B (en) A kind of method and apparatus of log recording
US20140215495A1 (en) Task-specific application monitoring and analysis
CA2992444C (en) A system and method of managing data injection into an executing data processing system
Mans et al. Business process mining success
CN105144080A (en) System for metadata management
CN102135911B (en) Method, device and system for starting and stopping server process
CN107169094A (en) information aggregation method and device
CN111859076B (en) Data crawling method, device, computer equipment and computer readable storage medium
US20230073718A1 (en) Information processing system and information processing method
US20230048310A1 (en) System and method for identifying members of a dynamic target segment
US8881018B2 (en) Method and system for remediating nonfunctional website content
CN115017491A (en) Abnormal mail monitoring method and device combining RPA and AI and electronic equipment
CN106648338B (en) Method and device for editing data
CN107729458A (en) The method for visually monitoring of instrument license
CN113672497B (en) Method, device and equipment for generating non-buried point event and storage medium
CN106534341A (en) Method and device for pushing updated news
CN104216986A (en) Device and method for improving data query efficiency through pre-operation according to data update period
CN105225299A (en) A kind of method of university student's residential placement and management
CN102129455A (en) Patent retrieval method and system based on cloud storage
CN105511870A (en) Interface prompting method and device
US20140317154A1 (en) Heterogeneous data management methodology and system
CN112231377A (en) Data mapping method, system, device, server and storage medium
WO2017169403A1 (en) Case history search device, case history search method, and computer-readable recording medium

Legal Events

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

Application publication date: 20180223

RJ01 Rejection of invention patent application after publication