CN113239327A - Method, apparatus, computer device and storage medium for monitoring software licenses - Google Patents

Method, apparatus, computer device and storage medium for monitoring software licenses Download PDF

Info

Publication number
CN113239327A
CN113239327A CN202110461777.8A CN202110461777A CN113239327A CN 113239327 A CN113239327 A CN 113239327A CN 202110461777 A CN202110461777 A CN 202110461777A CN 113239327 A CN113239327 A CN 113239327A
Authority
CN
China
Prior art keywords
license
software
standard format
format data
licenses
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
CN202110461777.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.)
China General Nuclear Power Corp
China Nuclear Power Engineering Co Ltd
CGN Power Co Ltd
Shenzhen China Guangdong Nuclear Engineering Design Co Ltd
Original Assignee
China General Nuclear Power Corp
China Nuclear Power Engineering Co Ltd
CGN Power Co Ltd
Shenzhen China Guangdong Nuclear Engineering Design 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 China General Nuclear Power Corp, China Nuclear Power Engineering Co Ltd, CGN Power Co Ltd, Shenzhen China Guangdong Nuclear Engineering Design Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN202110461777.8A priority Critical patent/CN113239327A/en
Publication of CN113239327A publication Critical patent/CN113239327A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a method and a device for monitoring software licenses. The method comprises the following steps: acquiring technical parameters of a software license; extracting standard format data from the technical parameters and storing the standard format data corresponding to the current moment; forming a change curve of the standard format data based on the standard format data stored at all times; and outputting the change curve and the standard format data stored at the current moment to display equipment so as to monitor the software license and then sending an early warning signal to the user with the expired software license. By adopting the method, the required data can be extracted by adopting a corresponding method for different types of licenses which possibly appear, then the license data is integrated and displayed in a centralized manner, a manager can conveniently monitor the license file of the software, judge whether the license validity period of the software expires or not, and send an alarm signal to a user if the license validity period expires, so that the problem that the software cannot be used because an authorized user forgets to add the license validity period can be avoided.

Description

Method, apparatus, computer device and storage medium for monitoring software licenses
Technical Field
The present application relates to the field of software license technologies, and in particular, to a method and an apparatus for monitoring a software license, a computer device, and a storage medium.
Background
With the development of computer software technology, in order to guarantee the intellectual property rights of software developers, software license files are issued to users, so that the software users exercise the use rights of software in an agreed manner.
In the conventional art, the scope of software business is independent of each other, and different software vendors use different types of software licenses to manage software.
However, in the conventional technology, different types of software licenses are used for managing software, data isolation exists among the different types of software licenses, a data island is formed, and data monitoring of the different types of software licenses is inconvenient.
Disclosure of Invention
In view of the above, there is a need to provide a method, an apparatus, a computer device and a storage medium for monitoring software licenses, which can integrate and monitor software data of different types of licenses.
A method of monitoring software licenses, the method comprising: acquiring technical parameters of a software license; extracting standard format data from the technical parameters and storing the standard format data corresponding to the current moment; forming a change curve of the standard format data based on the standard format data stored at all times; and outputting the change curve and the standard format data stored at the current moment to display equipment so as to monitor the software license.
In one embodiment, the acquiring technical parameters of the software license includes: acquiring technical parameters of the software license at fixed time intervals; and storing the technical parameters into a database.
In one embodiment, the extracting standard format data from the technical parameters and storing the standard format data corresponding to the current time includes: determining a license type for the technical parameter; extracting the standard format data by adopting a corresponding instruction according to the license type of the technical parameter; storing the standard format data in a database.
In one embodiment, the license type includes at least one of a FlexNet license type, an LM-X license type, a Sentiniel HASP license type, and an RLM license type.
In one embodiment, the technical parameters include the number of software licenses, the expiration date of the software license, hardware information of the computer to which the software license is bound, the running state of the software license, the daemon of the software license, the file storage directory of the software license, the version of the software license, the acquisition time of the software license, the number of used software licenses, and the number of unused software licenses.
In one embodiment, the standard format data includes: the expiration date of the software license, the running status of the software license, the number of software licenses used, and the number of software licenses unused.
In one embodiment, the method further comprises: and if the license validity period of the software license is smaller than the validity period alarm threshold value, sending an alarm signal.
An apparatus for monitoring software licenses, comprising:
the data acquisition module is used for acquiring technical parameters of the software license;
the data extraction module is used for extracting standard format data from the technical parameters and storing the standard format data corresponding to the current moment;
the data analysis module is used for forming a change curve of the standard format data based on the standard format data stored at all times;
and the data display module is used for displaying the change curve and the standard format data stored at the current moment so as to monitor the software license.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring technical parameters of a software license;
extracting standard format data from the technical parameters and storing the standard format data corresponding to the current moment;
forming a change curve of the standard format data based on the standard format data stored at all times;
and outputting the change curve and the standard format data stored at the current moment to display equipment so as to monitor the software license.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring technical parameters of a software license;
extracting standard format data from the technical parameters and storing the standard format data corresponding to the current moment;
forming a change curve of the standard format data based on the standard format data stored at all times;
and outputting the change curve and the standard format data stored at the current moment to display equipment so as to monitor the software license.
According to the method, the device, the computer equipment and the storage medium for monitoring the software license, the technical parameters of the software license are obtained, the required data in the standard format are extracted from the technical parameters of the software license and stored corresponding to the current moment, the change curve of the data in the standard format is formed based on the data in the standard format stored at all the moments, and the change curve of the data in the standard format and the data in the standard format at the current moment are displayed on the display equipment. The data in the standard format is extracted and integrated and displayed, the data of different types of licenses can be integrated and displayed in a centralized manner, and a manager can conveniently monitor the data of the software licenses.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the descriptions of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following descriptions are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment for a method of monitoring software licenses in one embodiment;
FIG. 2 is a flow diagram of a method of monitoring software licenses in one embodiment;
FIG. 3 is a flow diagram of a method for extracting standard format data in one embodiment;
FIG. 4 is a schematic illustration of a variation curve in one embodiment;
FIG. 5 is a diagram of license expiration time monitoring in one embodiment;
FIG. 6 is a block diagram of an apparatus for monitoring software licenses in one embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment;
FIG. 8 is a state diagram illustrating license operation in one embodiment;
FIG. 9 is a diagram of real-time user states in one embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
In one embodiment, the method for monitoring software licenses provided by the application can be applied to the application environment shown in fig. 1. The license server 601 is connected to the license clients 602 to 606 in communication via a network 607, and the network 607 may be a local area network.
In one embodiment, as shown in FIG. 2, there is provided a method of monitoring software licenses, comprising:
step S100, acquiring technical parameters of the software license.
The technical parameters comprise the number of software licenses, the valid period of the software licenses, hardware information of a computer bound by the software licenses, the running state of the software licenses, real-time users of the software licenses, daemon of the software licenses, a file storage directory of the software licenses, the version of the software licenses, the acquisition time of the software licenses, the used number of the software licenses and the unused number of the software licenses.
And step S110, extracting the standard format data from the technical parameters and storing the standard format data corresponding to the current moment.
The standard format data includes, among other things, the expiration date of the software license, the running status of the software license, the number of used software licenses, and the number of unused software licenses.
Step S120, based on the standard format data stored at all times, a variation curve of the standard format data is formed.
Step S130, outputting the variation curve and the standard format data stored at the current time to a display device to monitor the software license.
According to the method for monitoring the software license, the technical parameters of the license are obtained, then the data in the standard format are extracted and stored at corresponding moments, then the change curve of the data in the standard format is formed based on the data in the standard format stored at all moments, the change curve of the data in the standard format and the data in the standard format at the current moment are displayed on the display device, and the data in the standard format is extracted and integrated and displayed, so that different types of license data can be integrated and displayed in a centralized manner, and a manager can conveniently monitor the license file of the software.
In one embodiment, step S100 includes:
and step S200, collecting technical parameters of the software license once every fixed time.
Illustratively, if the software provides a heartbeat duration, the fixed time is set according to the heartbeat duration.
After the connection is established between the license client and the license server, if data interaction is not carried out, whether the other party exists or not needs to be confirmed through heartbeat detection, the license client sends a heartbeat packet to the license server at regular intervals, the license server automatically continues to send the license after receiving the heartbeat packet, and the connection state between the license client and the license server is kept; and if the license server does not receive the heartbeat packet of the license client in the specified time, recovering the license. This specified time is the heartbeat duration.
Illustratively, if the software does not provide the heartbeat duration, the fixed time is set according to a preset fixed duration.
Technical parameters of a software license are collected, for example, through a communication interface and a command line interface of the software.
Illustratively, the technical parameters of the Software license are collected using Open source OCS NG (Open Computer and Software Inventory Next Generation, system management Software).
Step S202, storing the collected technical parameters into a database.
In this embodiment, the technical parameters of the software license are collected by setting a fixed time interval and stored in the database, so that the technical parameters of the license at the corresponding time are obtained.
In one embodiment, as shown in fig. 3, step S110 includes:
in step S1101, the license type of the technical parameter is determined.
Illustratively, the type of software license includes at least one of FlexNet, LM-X, Sentinal HASP, RLM.
Exemplarily, the step S1101 includes: determining a daemon process of the software license in the technical parameters; and determining the license type of the technical parameter according to the daemon process. Wherein different daemon processes of the software license correspond to different license types.
For example, as shown in table one below, different software license daemons correspond to different license types, and by looking at the software license daemons in the technical parameter, the license type used by the technical parameter can be determined.
Table-table of correspondence between software license daemon and software license type
vendor _ name (license daemon name) Lic _ tool (license type)
adskflex FlexNet
VITOOLS LM
AFT Impluse Sential HASP
Tecplot360 RLM
Among them, FlexNet is a product under the flag of Flexera Software company, is the most popular license type in the Software industry, and belongs to the most typical floating license. According to incomplete statistics, about 1/3 in large design software adopts FlexNet. FlexNet offers a Windows version and a Linux version. Windows version of the license manager commonly uses a graphical interface for license maintenance and management. The graphical interface has the advantages of simplicity, intuition and easy maintenance. FlexNet is also self-contained with the command line tool lmutil in addition to the graphical interface. The lmutil may query license data and monitor the operating state when the license is validated. The Linux command is rich, the needed information can be stored as a text through the script, the text is cached in the database, and the analysis and the processing are carried out again later.
LM-X is a flag product from X-Formation. LM-X offers Windows and Linux versions. The Windows version of the LM-X license manager provides a graphical interface and a command line interface for management of licenses. The Linux version of the LM-X license manager only provides a command management approach. LM-X carries the command line tool lmxenduil in addition to the graphical interface. lmxendutil can query license data and monitor the running state when the license is confirmed. The Linux command is rich, the needed information can be stored as a text through the script, the text is cached in the database, and the analysis and the processing are carried out again later.
Sentinel HASP (santa dono license type), is a flagging product from the company softnet. The Sentinel HASP currently supports only Windows platforms. The Sentinel HASP has the advantages of being easy to install and maintain, and being capable of checking the use conditions of the same type of licenses on a plurality of servers on one device. The Sentinel HASP has the defects that the function is simple, the encryption lock is displayed by the lock ID, and the name of software cannot be visually displayed. The Sentinel HASP lacks a command line tool.
RLM (repeat License Manager) provides Windows version and Linux version. The Windows version of RLM provides two ways of WEB graphical interface and command line for license management. In addition to the graphical interface, RML also carries a command line tool Rlmutil. Rlmutil can query license data and monitor the running state when the license is confirmed. The Linux command is rich, the needed information can be stored as a text through the script, the text is cached in the database, and the analysis and the processing are carried out again later.
Step S1102, corresponding to different types of license technical parameters, extracting standard format data by using corresponding instructions.
Illustratively, for FlexNet-type license technology parameters, using the command line tool lmutil, which the license manager of FlexNet is equipped with, the instructions are entered in the command line tool: the license technical parameters of the software can be checked by adding the port number and the server name of the target software after the port number-a-cPort @ HOST; the shell (computer shell) script is then used to extract the standard format data from the license technology parameters.
For example, using the instruction lmutil lmstat-a-c POST @ HOST | grep "Users of VISUAL _ FULLSTS:" | awk '{ printf "issued:" $6"used:" $11 }'; information on the number of licenses and the current number of uses of this module of "VISUAL _ fullss" in the target software can be extracted.
Illustratively, for LM-X type license data, using the LM-X's license manager's own command line tool lmxenduil, the instructions are entered in the command line tool: the lmxendtoil-licstat-HOST-PORT is added with the PORT number and the server name of the target software, so that the technical parameter of the license of the software can be checked; the shell (computer shell) script is then used to extract the standard format data from the license technology parameters.
For example, using the instruction lmxendutol-splice-HOST HOST-PORT PORT | grep "Users of VIUAL _ FULLSTS:" | awk '{ printf "issued:" $6"used:" $11 }'; information on the number of licenses and the current number of uses of this module of "VISUAL _ fullss" in the target software can be extracted.
Illustratively, for the Sentinel HASP type license technical parameters, because the Sentinel HASP has no command line tool, a log file of the Sentinel HASP type license technical parameters is collected and stored in a database, and then the license technical parameters are viewed from the database; and uses shell (computer shell) scripts to extract the standard format data from the license technology parameters.
For example, using the instruction: EGREP STAT LIC _ LOG | AWK' BEGIN { FN ═ } { PRINT $ LICENESERVER, $ TOTAL, $ USEAGE }; all technical parameters of the target software can be viewed and then, using the instructions: grep "Users of VISUAL _ FULLSTS:" | awk '{ printf "issued:" $6"used:" $11 }'; information on the number of licenses and the current number of uses of this module of "VISUAL _ fullss" in the target software can be extracted.
Illustratively, for RML type license technology parameters, using the RML's license manager's own command line tool Rlmutil, the instructions are entered in the command line tool: the license technical parameters of the software can be checked by adding a port number and a server name of the target software to the rlmutil rlmstat-cPPT @ HOST-l ISV; the shell (computer shell) script is then used to extract the standard format data from the license technology parameters.
For example, using the instruction rlmutil rlmstat-c POST @ HOST-l ISV | grep "Users of VISUAL _ FULLSTS:" | awk '{ printf "issued:" $6"used:" $11 }'; information on the number of licenses and the current number of uses of this module of "VISUAL _ fullss" in the target software can be extracted.
Java (data formatting module) converts the extracted data into a standard format data table and a license running state table of a license for the data extracted by the corresponding instruction.
For example, as shown in table 2 below, table 2 is a standard format data table for licenses.
Table two license standard format data table
Serial number Name of field Field name annotation
1 addon_server_ip Current server IP address
2 addon_server_name Current server machine name
3 vendor_port Application port deployed by current server
4 vendor_name Software service name on current server
5 lic_monitor_server_ip License monitoring server IP address
6 lic_monitor_server_port Communication port with permission monitoring server
7 Module_name Software module name
8 Module_sum Number of software modules
9 Module_exp_time Software module expiration time
For example, as shown in table 3 below, table 3 is a license operation state table.
Running state table for three-list license
Figure BDA0003042554000000081
Figure BDA0003042554000000091
Step S1103, storing the standard format data in a database.
In this embodiment, the types of the license technical parameters are determined by different daemon processes of licenses in the license technical parameters corresponding to different license types, then, for the different types of license technical parameters, the required standard format data is extracted by a corresponding method, the standard format data is stored in a database, and the standard format data is extracted and integrated and displayed, so that the different types of license data can be integrated and displayed in a centralized manner, and a manager can monitor the license files of software conveniently.
In one embodiment, step S120 includes:
step S1201, standard format data is extracted from the database.
Illustratively, the standard format data is read using JDBC (JAVA DataBase Connectivity) Connectivity to a DataBase using JAVA programming language.
Java (data monitoring module) reads and exposes table 2, table 3, table 4, exemplarily by a program code block.
For example, as shown in table 4 below, table 4 is a basic person information table.
Staff information table with four basic tables
Serial number Name of field Field name annotation
1 user_name User name
2 user_dep User department
3 user_id User's job number
4 user_client_name User computer name
5 user_client_IP User IP address
For example, fig. 8 is a license operation state diagram in one embodiment, and fig. 9 is a real-time user state diagram in one embodiment.
And step S1202, drawing the standard format data by using a visual drawing tool by taking the time and the value of the standard format data as an X axis and a Y axis of drawing to obtain a change curve of the standard format data.
For example, fig. 4 is a graph showing the number of software use licenses and the time variation of the software use licenses in a period of time, and according to fig. 4, the manager can monitor the use of the licenses in the software in a period of time.
Illustratively, the standard format data is processed and plotted in a change graph using a data processing plug-in NumPy and a third party, a data analysis plug-in SciPy, and a drawing plug-in matplotlib.
Illustratively, NumPy is a scientific computing package implemented with Python, SciPy is a Python toolkit designed specifically for science and engineering including statistics, optimization, integration, linear algebra modules, and matplotlib is a 2D mapping library that generates publication quality levels in various hardcopy formats and cross-platform interactive environments. It should be noted that Numpy can be replaced with a pandas library to process data.
Illustratively, the change profile is plotted using RRDTOOL (Round Robin Database Tool). RRDTOOL (Round Robin Database Tool) is an open source Tool that includes its own RDD Database and can represent a time series of data in a standard format in a curve.
In this embodiment, the value and time of the standard format data are extracted, a change curve between the standard format data and the time is established, the change curve is drawn, and the standard format data is visualized into an image form, so that the license file of the software can be monitored more conveniently.
In one embodiment, step S130 includes:
step S1301, displaying the change curve and the standard format data stored at the current time on the display device.
Illustratively, the browser is used for displaying a variation curve and the standard format data stored at the current moment, the running state of the software license is monitored according to the standard format data of the current moment displayed by the browser in real time, and the use condition of the license in a period of time is monitored according to the variation curve.
Step S1302, monitoring the software usage and operating status by using the change curve displayed on the display device and the standard format data stored at the current time.
For example, fig. 5 is a diagram of monitoring the expiration times of software licenses, and a manager may monitor the expiration times of the licenses of the software according to the contents shown in fig. 5.
In this embodiment, if the license server determines that the license validity period of the software license is smaller than the validity period alarm threshold value according to the standard format data, an alarm signal is sent.
The alarm signal may be, for example, a short message or a mail.
Illustratively, the licenses are classified into different types according to their license validity periods, e.g., permanent licenses having a license validity period of more than 20 years, official licenses having a license validity period of less than 20 years, trial licenses having a license validity period of less than 90 days, etc., so as to facilitate management of authorized customers of different license types.
In the embodiment, the change curve and the current numerical value of the data in the standard format of the software license are displayed through the browser, whether the valid period of the license in the software license is expired or not is judged, if yes, an alarm signal is sent to a user, a manager can conveniently monitor the license file of the software, and the problem that the software cannot be used because an authorized user forgets to add the valid period of the license is solved.
It should be understood that although the steps in the flowcharts of fig. 2 and 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in FIG. 6, an apparatus for monitoring software licenses is provided, which may be used in various applications, such as office systems, management systems, etc., which may be installed in various electronic devices, such as computers, mobile phones, Personal Digital Assistants (PDAs), etc. The device for monitoring software licenses can be a software unit, a hardware unit or a combination of software and hardware unit running on the electronic device, or can be integrated into the electronic device as a separate pendant or run in an application system of the electronic device. The device includes: data acquisition module 901, data extraction module 902, data analysis module 903 and data presentation module 904, wherein:
and the data acquisition module 901 is used for acquiring technical parameters of the software license.
And the data extraction module 902 is configured to extract the standard format data from the technical parameters and store the standard format data corresponding to the current time.
And the data analysis module 903 is used for forming a change curve of the standard format data based on the standard format data stored at all times.
And the data display module 904 is used for displaying the change curve and the standard format data stored at the current moment so as to monitor the software license.
For specific limitations of the means for monitoring a software license, reference may be made to the above limitations of the method for monitoring a software license, which are not described in detail herein. The various modules in the above-described apparatus for monitoring software licenses can be implemented in whole or in part in software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In one embodiment, the data acquisition module 901 further comprises: regularly acquisition module, storage module, wherein:
and the timing acquisition module is used for acquiring the technical parameters of the software license once every fixed time.
The first storage module is used for storing the technical parameters into the database.
In one embodiment, the data extraction module 902 further comprises: judge module, extraction module, storage module, wherein:
and the judging module is used for determining the license type of the technical parameter.
And the extraction module is used for extracting the standard format data by adopting a corresponding instruction according to the license type of the technical parameter.
And the second storage module is used for storing the standard format data in the database.
In one embodiment, the data analysis module 903 further comprises: transfer module, drawing module, wherein:
and the calling module is used for calling the data in the standard format from the database.
The drawing module is used for taking the time and the value of the standard format data as an X axis and a Y axis of drawing; and drawing the standard format data by using a visual drawing tool to obtain a change curve of the standard format data.
In one embodiment, the data presentation module 904 further comprises: show module, comparison module, early warning module, wherein:
and the display module is used for displaying the change curve and the standard format data stored at the current moment on the display equipment.
And the comparison module is used for comparing the license validity period of the license in the standard format data with the validity period alarm threshold value.
And the early warning module is used for sending out an early warning signal when the license validity period of the software license is smaller than the validity period warning threshold value.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of monitoring software licenses.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above-described method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The control or realized switching function mentioned in this Application is realized by a controller, and the control Unit may be a Central Processing Unit (CPU), or other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA), or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
In the description herein, references to the description of "some embodiments," "other embodiments," "desired embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of monitoring software licenses, the method comprising:
acquiring technical parameters of a software license;
extracting standard format data from the technical parameters and storing the standard format data corresponding to the current moment;
forming a change curve of the standard format data based on the standard format data stored at all times;
and outputting the change curve and the standard format data stored at the current moment to display equipment so as to monitor the software license.
2. The method of claim 1, wherein obtaining technical parameters of the software license comprises:
acquiring technical parameters of the software license at fixed time intervals;
and storing the technical parameters into a database.
3. The method of claim 1, wherein extracting the standard format data from the technical parameters and storing the standard format data corresponding to the current time comprises:
determining a license type for the technical parameter;
extracting the standard format data by adopting a corresponding instruction according to the license type of the technical parameter;
storing the standard format data in a database.
4. The method of claim 3, wherein the license type comprises at least one of FlexNet, LM-X, Sentiniel HASP, and RLM.
5. The method of any one of claims 1 to 4, wherein the technical parameters comprise the number of software licenses, the valid period of the software licenses, hardware information of the computer to which the software licenses are bound, the running state of the software licenses, a daemon of the software licenses, a file storage directory of the software licenses, the version of the software licenses, the acquisition time of the software licenses, the number of used software licenses, and the number of unused software licenses.
6. The method of any of claims 1 to 4, wherein the standard format data comprises an expiration date of the software license, a running status of the software license, a number of used software licenses, and a number of unused software licenses.
7. The method of any one of claims 1 to 4, further comprising:
and if the license validity period of the software license is smaller than the validity period alarm threshold value, sending an alarm signal.
8. An apparatus for monitoring software licenses, the apparatus comprising:
the data acquisition module is used for acquiring technical parameters of the software license;
the data extraction module is used for extracting standard format data from the technical parameters and storing the standard format data corresponding to the current moment;
the data analysis module is used for forming a change curve of the standard format data based on the standard format data stored at all times;
and the data display module is used for displaying the change curve and the standard format data stored at the current moment so as to monitor the software license.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110461777.8A 2021-04-27 2021-04-27 Method, apparatus, computer device and storage medium for monitoring software licenses Pending CN113239327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110461777.8A CN113239327A (en) 2021-04-27 2021-04-27 Method, apparatus, computer device and storage medium for monitoring software licenses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110461777.8A CN113239327A (en) 2021-04-27 2021-04-27 Method, apparatus, computer device and storage medium for monitoring software licenses

Publications (1)

Publication Number Publication Date
CN113239327A true CN113239327A (en) 2021-08-10

Family

ID=77129584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110461777.8A Pending CN113239327A (en) 2021-04-27 2021-04-27 Method, apparatus, computer device and storage medium for monitoring software licenses

Country Status (1)

Country Link
CN (1) CN113239327A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115146252A (en) * 2022-09-05 2022-10-04 深圳高灯计算机科技有限公司 Authorization authentication method, system, computer device and storage medium
CN116561713A (en) * 2023-05-18 2023-08-08 合芯科技(苏州)有限公司 License dynamic allocation management method and system based on database

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359988A (en) * 2007-07-31 2009-02-04 华为技术有限公司 Method, equipment and system acquiring domain license
US20100251379A1 (en) * 2009-03-31 2010-09-30 Bmc Software, Inc. Method and System for Configuration Management Database Software License Compliance
US20110202433A1 (en) * 2010-02-16 2011-08-18 Akira Yokoyama License management system, license management method, and computer program product
CN109086576A (en) * 2018-07-27 2018-12-25 迈普通信技术股份有限公司 Licensing dissemination method, License Authentication method, system and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359988A (en) * 2007-07-31 2009-02-04 华为技术有限公司 Method, equipment and system acquiring domain license
US20100251379A1 (en) * 2009-03-31 2010-09-30 Bmc Software, Inc. Method and System for Configuration Management Database Software License Compliance
US20110202433A1 (en) * 2010-02-16 2011-08-18 Akira Yokoyama License management system, license management method, and computer program product
CN109086576A (en) * 2018-07-27 2018-12-25 迈普通信技术股份有限公司 Licensing dissemination method, License Authentication method, system and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115146252A (en) * 2022-09-05 2022-10-04 深圳高灯计算机科技有限公司 Authorization authentication method, system, computer device and storage medium
CN115146252B (en) * 2022-09-05 2023-02-21 深圳高灯计算机科技有限公司 Authorization authentication method, system, computer device and storage medium
CN116561713A (en) * 2023-05-18 2023-08-08 合芯科技(苏州)有限公司 License dynamic allocation management method and system based on database
CN116561713B (en) * 2023-05-18 2024-03-19 合芯科技(苏州)有限公司 License dynamic allocation management method and system based on database

Similar Documents

Publication Publication Date Title
CN108304704B (en) Authority control method and device, computer equipment and storage medium
US11188619B2 (en) Single click delta analysis
US7765460B2 (en) Out-of-band change detection
CN106599713A (en) Database masking system and method based on big data
CN105183625A (en) Log data processing method and apparatus
US11783349B2 (en) Compliance management system
CN113239327A (en) Method, apparatus, computer device and storage medium for monitoring software licenses
CN113489713A (en) Network attack detection method, device, equipment and storage medium
US20210256120A1 (en) Utilization of deceptive decoy elements to identify data leakage processes invoked by suspicious entities
CN109684863B (en) Data leakage prevention method, device, equipment and storage medium
CN112395157A (en) Audit log obtaining method and device, computer equipment and storage medium
US8745010B2 (en) Data storage and archiving spanning multiple data storage systems
CN115357590A (en) Recording method and device for data change, electronic device and storage medium
Seenivasan ETL (extract, transform, load) best practices
CN113850065A (en) Report generation method and device, computer equipment and storage medium
CN114003568A (en) Data processing method and related device
CN111782481B (en) Universal data interface monitoring system and monitoring method
CN103414735A (en) Website content classified inspection system
US20210067554A1 (en) Real-time notifications on data breach detected in a computerized environment
CN115221136A (en) Log tamper-proof verification system, method and device and computer equipment
CN112527595A (en) Monitoring method and device for Greenplus cluster database and computer equipment
CN111259383A (en) Safety management center system
US11741409B1 (en) Compliance management system
CN116932077A (en) Event processing method, device and storage medium
CN114253955A (en) Database operation blocking method and device, electronic equipment and 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