CN111310163B - Authorization management method, device and equipment for configuration software and readable storage medium - Google Patents

Authorization management method, device and equipment for configuration software and readable storage medium Download PDF

Info

Publication number
CN111310163B
CN111310163B CN202010065261.7A CN202010065261A CN111310163B CN 111310163 B CN111310163 B CN 111310163B CN 202010065261 A CN202010065261 A CN 202010065261A CN 111310163 B CN111310163 B CN 111310163B
Authority
CN
China
Prior art keywords
authorization
software
software package
configuration
item
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.)
Active
Application number
CN202010065261.7A
Other languages
Chinese (zh)
Other versions
CN111310163A (en
Inventor
张哲�
夏爱玲
官亚娟
刘奋民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hollysys Automation Co Ltd
Original Assignee
Hangzhou Hollysys Automation 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 Hangzhou Hollysys Automation Co Ltd filed Critical Hangzhou Hollysys Automation Co Ltd
Priority to CN202010065261.7A priority Critical patent/CN111310163B/en
Publication of CN111310163A publication Critical patent/CN111310163A/en
Application granted granted Critical
Publication of CN111310163B publication Critical patent/CN111310163B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication

Abstract

The invention discloses an authorization management method of configuration software, which comprises the following steps: analyzing the received configuration software authorization management request to obtain an authorization configuration file; reading each software package authorization item in the authorization configuration file, and sending each software package authorization item to a configuration software authorization burning tool; burning operation is carried out on each software package authorization item by utilizing a configuration software authorization burning tool to obtain an authorization burning result; and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result. By applying the technical scheme provided by the embodiment of the invention, redundant codes are greatly reduced, the authorization complexity of configuration software is reduced, and the maintenance cost is saved. The invention also discloses an authorization management device, equipment and a storage medium of the configuration software, and the device has corresponding technical effects.

Description

Authorization management method, device and equipment for configuration software and readable storage medium
Technical Field
The present invention relates to the field of industrial control technologies, and in particular, to an authorization management method, an authorization management device, an authorization management apparatus, and a computer-readable storage medium for configuration software.
Background
As general configuration software in the field of industrial control, when the software runs, a basis for judging whether the software can be completely used needs to be provided, so that authorization management is needed, and various industrial versions need to be supported at present and other industrial versions may appear in the future.
The existing configuration software authorization is mainly specific to specific authorization function items, such as: the authorization of the history library function, the AI point limit, the authorization of the operator downloading and the like, the firing authorization is complex, and each authorization content needs to be checked manually. Different industries have different industry standards, so that different algorithm blocks and function blocks need to be developed, and newly added functions related to the algorithm and continuously developed are changed most along with the development of time, so that problems are brought about from the authorization perspective. And for newly added authorization items, codes need to be continuously modified, and development and maintenance costs are multiplied.
In summary, how to effectively solve the problems of complicated authorization of configuration software, continuous modification of codes, high development and maintenance costs, and the like, is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide an authorization management method of configuration software, which greatly reduces redundant codes, reduces the authorization complexity of the configuration software and saves the maintenance cost; another object of the present invention is to provide an authorization management apparatus, device and computer readable storage medium for configuration software.
In order to solve the technical problems, the invention provides the following technical scheme:
an authorization management method for configuration software comprises the following steps:
analyzing the received configuration software authorization management request to obtain an authorization configuration file;
reading each software package authorization item in the authorization configuration file, and sending each software package authorization item to a configuration software authorization burning tool;
burning operation is carried out on each software package authorized item by using the configuration software authorized burning tool to obtain an authorized burning result;
and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result.
In a specific embodiment of the present invention, each of the software package authorization items includes each of the basic software package authorization items and each of the industry software package authorization items;
and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result, wherein the authorization management operation comprises the following steps:
and carrying out authorization management operation on the basic software package and the software packages in various industries in the configuration software according to the authorization burning result.
In a specific embodiment of the present invention, reading each software package authorization item in the authorization configuration file includes:
reading basic authorization type information in the authorization configuration file;
and reading each basic software package authorization item according to the basic authorization type information.
In a specific embodiment of the present invention, reading each software package authorization item in the authorization configuration file includes:
reading the industry software package name in the authorization configuration file;
searching a target industry software package identification number corresponding to the industry software package name from an industry software package identification number list; the industry software package identification number list stores the corresponding relation between the name of each industry software package and the identification number of each industry software package;
and reading the authorized items of the industry software packages according to the identification numbers of the target industry software packages.
In a specific embodiment of the present invention, reading each software package authorization item in the authorization configuration file includes:
reading each basic software package authorization item in the authorization configuration file through a uniform basic authorization item interface, and reading each industry software package authorization item in the authorization configuration file through a uniform industry authorization item interface.
In an embodiment of the present invention, after parsing the received configuration software authorization management request to obtain an authorization configuration file, the method further includes:
obtaining authorization mode identification information in the authorization configuration file;
burning operation is carried out on each software package authorized item by using the configuration software authorized burning tool to obtain an authorized burning result, and the method comprises the following steps:
burning each software package authorization item by using the configuration software authorization burning tool according to the authorization mode identification information to obtain a corresponding dongle or an electronic authorization file;
and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result, wherein the authorization management operation comprises the following steps:
and carrying out authorization management operation on each software package in the configuration software by using the dongle or the electronic authorization file.
An authorization management device for configuration software, comprising:
the configuration file obtaining module is used for analyzing the received configuration software authorization management request to obtain an authorization configuration file;
the authorization item obtaining module is used for reading each software package authorization item in the authorization configuration file and sending each software package authorization item to a configuration software authorization burning tool;
the authorized item burning module is used for burning each software package authorized item by using the configuration software authorized burning tool to obtain an authorized burning result;
and the authorization management module is used for carrying out authorization management operation on each software package in the configuration software according to the authorization burning result.
In a specific embodiment of the present invention, each of the software package authorization items includes each of the basic software package authorization items and each of the industry software package authorization items;
the authorization management module is specifically a module for performing authorization management operation on the basic software package and the software packages of various industries in the configuration software according to the authorization burning result.
An authorization management device for configuration software, comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the authorization management method of the configuration software when executing the computer program.
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 for managing the authorization of configuration software as described above.
By applying the method provided by the embodiment of the invention, the received configuration software authorization management request is analyzed to obtain an authorization configuration file; reading each software package authorization item in the authorization configuration file, and sending each software package authorization item to a configuration software authorization burning tool; burning operation is carried out on each software package authorization item by utilizing a configuration software authorization burning tool to obtain an authorization burning result; and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result. The method comprises the steps that an authorization configuration file containing configuration software authorization items is preset, when the configuration software needs to be authorized and managed, the software package authorization items are automatically read from the configuration file, and authorization management operation on the software packages is completed according to the software package authorization items. Compared with the existing configuration software authorization management mode of continuously modifying codes, the configuration software authorization management method has the advantages that redundant codes are greatly reduced, the configuration software authorization complexity is reduced, and the maintenance cost is saved.
Accordingly, embodiments of the present invention further provide an authorization management apparatus, a device, and a computer-readable storage medium for configuration software corresponding to the above authorization management method for configuration software, which have the above technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating an embodiment of a method for managing authorization of configuration software;
FIG. 2 is a flowchart illustrating another embodiment of a method for managing authorization of configuration software according to the present invention;
FIG. 3 is a block diagram of an authorization management device of configuration software according to an embodiment of the present invention;
fig. 4 is a block diagram of an authorization management device of configuration software according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a method for authorization management of configuration software according to an embodiment of the present invention, where the method includes the following steps:
s101: and analyzing the received configuration software authorization management request to obtain an authorization configuration file.
When the software package or the function module installed at a certain user side needs to be authorized and managed, a configuration software authorization management request can be sent to a configuration software authorization management center, and the configuration software authorization management request can include an authorization configuration file. After receiving the configuration software authorization management request, the configuration software authorization management request can be analyzed to obtain an authorization configuration file.
S102: and reading each software package authorization item in the authorization configuration file, and sending each software package authorization item to the configuration software authorization burning tool.
The authorization configuration file contains all software package authorization items, such as a basic software package authorization item and an industry software package authorization item. The basic software package authorization item is an authorization item formed by extracting basic functions in Distributed Control System (DCS) platform software. The industry software package authorization item is an authorization item formed by extracting relevant algorithm libraries or function authorizations of different industries. After the authorization configuration file is obtained through analysis, each software package authorization item in the authorization configuration file can be read, and each software package authorization item is sent to the configuration software authorization burning tool. By presetting the authorization configuration file containing each configuration software authorization item, when configuration software authorization management needs to be carried out on a certain user side, each software package authorization item can be directly read from the authorization configuration file without continuously modifying codes, redundant codes are greatly reduced, the configuration software authorization complexity is reduced, and the maintenance cost is saved.
S103: and burning each software package authorization item by using a configuration software authorization burning tool to obtain an authorization burning result.
And after each software package authorization item is sent to the configuration software authorization burning tool, the configuration software authorization burning tool is used for burning each software package authorization item to obtain an authorization burning result. For example, each software package authorization item can be burned into a dongle or an electronic authorization file according to the actual requirements of the user terminal.
S104: and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result.
After obtaining the authorized burning result, performing authorized management operation on each software package in the configuration software according to the authorized burning result. The software packages are subjected to authorization management operation by directly reading the authorization items of the software packages in the authorization configuration file, so that redundant codes are greatly reduced, the development complexity is reduced, and the maintenance cost is saved.
By applying the method provided by the embodiment of the invention, the received configuration software authorization management request is analyzed to obtain an authorization configuration file; reading each software package authorization item in the authorization configuration file, and sending each software package authorization item to a configuration software authorization burning tool; burning operation is carried out on each software package authorization item by utilizing a configuration software authorization burning tool to obtain an authorization burning result; and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result. The method comprises the steps that an authorization configuration file containing configuration software authorization items is preset, when the configuration software needs to be authorized and managed, the software package authorization items are automatically read from the configuration file, and authorization management operation on the software packages is completed according to the software package authorization items. Compared with the existing configuration software authorization management mode of continuously modifying codes, the configuration software authorization management method has the advantages that redundant codes are greatly reduced, the configuration software authorization complexity is reduced, and the maintenance cost is saved.
It should be noted that, based on the first embodiment, the embodiment of the present invention further provides a corresponding improvement scheme. In the following embodiments, steps that are the same as or correspond to those in the first embodiment may be referred to each other, and corresponding advantageous effects may also be referred to each other, which are not described in detail in the following modified embodiments.
Example two:
referring to fig. 2, fig. 2 is a flowchart illustrating another implementation of the authorization management method for configuration software according to an embodiment of the present invention, where the method includes the following steps:
s201: and analyzing the received configuration software authorization management request to obtain an authorization configuration file.
S202: and reading basic authorization type information in the authorization configuration file.
The authorization configuration file comprises a basic software package authorization item and an industry software package authorization item, wherein the basic software package authorization item is authorized by a fixed function block, and a user is guaranteed to have a basic platform function. The industry software package authorization item belongs to value-added service, and for different industries such as electric power, chemical industry, simulation and the like, a special industry software package is set, and an algorithm library and a customization function which are special for each industry are put into industry authorization. The industry software package authorization item is made into a standard format through a configuration mode. In addition, according to the currently common configuration authority categories, the basic software package authorization items can be divided into a plurality of categories, such as engineer station authorization, historical station authorization and operator station authorization. Thus, after obtaining the authorization profile, the basic authorization type information in the authorization profile is read.
S203: and reading the authorization items of each basic software package through the unified basic authorization item interface according to the basic authorization type information.
A universal unified basic authorization item interface can be preset, and after basic authorization type information in an authorization configuration file is read, all basic software package authorization items can be read through the unified basic authorization item interface according to the basic authorization type information. By setting the universal unified basic authorization item interface, different basic authorization item interfaces do not need to be set for different basic software package authorization items, and the reading efficiency of the software package authorization items is greatly improved.
S204: and reading the industry software package name in the authorization configuration file.
For authorization management of an industry software package authorization item, the industry software package authorization item can be made into a standard format through a configuration mode, such as taking the name of the industry software package as an abstract 'protocol' for identifying the industry software package. When the industry software package authorization item is subjected to authorization management, the industry software package name in the authorization configuration file can be read.
S205: and searching the target industry software package identification number corresponding to the industry software package name from the industry software package identification number list.
The industry software package identification number list stores the corresponding relation between the name of each industry software package and the identification number of each industry software package.
An industry software package identification number list can be preset, and the corresponding relation between the name of each industry software package and the identification number of each industry software package is stored in the industry software package identification number list. After the industry software package name in the authorization configuration file is read, the target industry software package identification number corresponding to the industry software package name can be searched from the industry software package identification number list.
S206: and reading the authorization items of the software packages of all industries through the uniform industry authorization item interface according to the identification number of the target industry software package.
And a universal uniform industry authorization item interface can be preset, and after the target industry software package identification number is found, all industry software package authorization items can be read through the uniform industry authorization item interface according to the target industry software package identification number. By setting the universal uniform industry authorization item interface, different industry authorization item interfaces do not need to be set for different industry software package authorization items, and the reading efficiency of the software package authorization items is further improved.
The industry software package authorization item can also define multiple authorization types, each authorization type can be identified by the name of the industry software package as a unique identifier, one or more algorithm libraries and the authorization item are included, and specific authorization content is also user-configurable. If authorization needs to be added or expanded, only the authorization configuration file needs to be modified, codes do not need to be modified, a new version or a single function authorization item is added, the configuration software platform is basically unaffected, the work needing to be added is clear and clear, and multiple authorization versions do not have any coupling. The method and the system are convenient for authorizing the software package versions and the function modules in different industries for different scenes, greatly improve the flexibility of configuration software authorization, support the expansion of new functions and version authorization, reduce the development complexity, save the maintenance cost and reduce redundant codes.
S207: and sending the authorization items of each basic software package and the authorization items of each industry software package to a configuration software authorization burning tool.
After reading the basic software package authorization items and the industry software package authorization items, the basic software package authorization items and the industry software package authorization items can be sent to a configuration software authorization burning tool.
S208: and obtaining the authorization mode identification information in the authorization configuration file.
The authorization mode for authorizing and managing the configuration software generally comprises a hardware-form dongle mode or a software-form electronic authorization file mode, and authorization mode identification information of the dongle mode and the electronic authorization file mode is set respectively. And acquiring the authorization mode identification information in the authorization configuration file before the configuration software authorization burning tool is used for burning the authorization item of the software package.
S209: and burning each software package authorization item by using the configuration software authorization burning tool according to the authorization mode identification information to obtain a corresponding dongle or an electronic authorization file.
After the authorization mode identification information in the authorization configuration file is obtained, a configuration software authorization burning tool can be used for burning the authorization items of the software packages according to the authorization mode identification information to obtain the corresponding dongle or electronic authorization file. Namely, when the authorization mode identification information is in the dongle mode, each software package authorization item is burned into the dongle, and when the authorization mode identification information is the electronic authorization file, each software package authorization item is burned into the electronic authorization file.
S210: and carrying out authorization management operation on the basic software package and the software packages in various industries in the configuration software by using the dongle or the electronic authorization file.
When the software package authorization items are burned into the dongle or the electronic authorization file, the dongle or the electronic authorization file can be used for carrying out authorization management operation on the basic software package and the industry software packages in the configuration software.
According to the method, basic functions in distributed control system platform software are extracted as basic software package authorization items in a mode of basic authorization and industry authorization, besides, related algorithm libraries or function authorizations of different industries are placed in the industry software package authorization items, and the industry software package authorization items can be expanded through configuration, so that development and maintenance costs related to configuration software authorization are independent of specific authorization items.
In a specific example, the format of the authorization configuration file is as follows:
configuration file format:
1) basic authorization
1. Basic function authorization file format
[BaseInfo]
Counter=4
Name_0=HOLLiAS MACS V6-ENG
Name_1=HOLLiAS MACS V6-HIS
Name_2=HOLLiAS MACS V6-OPS
Name_3=HOLLiAS MACS V6-TEST
The three files of Name _0, Name _1 and Name _2 are basic software package authorization items, and the names support modification; if the authorization type needs to be increased, the Name _3 and the like can be added, then the content authorized by the Name _3 needs to be added, the authorized content needs to be added, and the content which is not added is defaulted as unauthorized.
2. Basic item authorization format
typedef struct
{
bool m _ offlineHelp; // offline configuration on-line help system authorization
// engineering general control
long m _ AIPointLimit; // AI Point Limit
long m _ AOPointLimit; // AO Point Limit
long m _ DIPointLimit; // DI point number limiting
long m _ DOPointLimit; // DO Point Limit
long m _ modulepoint limit; // Module communication points Limit
Cool m _ operator download access; v/operator download authorization
Pool m _ CalStaDownload Access; v/authorization of computer installation
Pool m _ HDBServersistaDownload Access; v/History service station download authorization
Pool m _ SimStaDownload Access; v/authorization of installation under simulation station
long m _ SCADAPointLimit; // SCADA Point Limit
BYTE m _ SISStaLimit; // SIS station number Limit, 2014-4-8, lx
BYTE m _ ITCCStaLimit; // ITCC number of stations limitation, 2014-4-8, lx
Pool m _ HisCapacityLimit; // History library capacity Limit
Pool m _ SecurityLevel; // information security authorization
// AT configuration
boool m _ ATConfigAccess; // AT configuration authorization
boool m _ CFCConfigAccess; // CFC language configuration authorization
Pool m _ STConfigAccess; v/ST language configuration authorization
Pool m _ LDConfigAccess; v/LD language configuration authorization
bool m _ SFCConfigAccess; v/SFC language configuration authorization
boool m _ CustomErithmeticiAccess; // user-defined Algorithm library Authority
Cool m _ custom deviceaccess; // user-defined DP/PA device permissions
unsigned char m_strAirthmeticAccess[AES_AIRTHDATA_TOLLEN];
// algorithm library module authorization
Pool m _ CtrStaDownload Access; v/control station download authorization
int m _ UseAirthNum; // number of algorithm libraries actually authorized
// graphic configuration
boool m _ graphcnfigAccess; v/graphic configuration authorization
Cool m _ VBAAccess; // whether VBA is allowed
boool m _ CustomOperationPanelAccess; // whether to allow custom operation Panel
Pool m _ CustomPagModelaccess; // whether custom page templates are allowed
Pool m _ CustomSymbolAccess; // whether custom symbols are allowed
Cool m _ TempLateAccess; v/template configuration authorization
Cool m _ InstanceAccess; // template instance import export authorization
// History service station
long m _ RTDBAccess; v/real-time library function authorization
long m _ HDBAccess; // History library function authorization
Pool m _ SwitchAccess; // switch authorization
Cool m _ hdbadvanceacess; // History library advanced function authorization
Pool m _ HistStaRunAccess; v/History station operational authorization
//OPS
Pool m _ OPSRunaccess; // OPS operation authorization
Pool m _ OnlineHelpAccess; // Online Help authorization for Online runs
Pool m _ Alarmaccess; v/alarm management authorization
Pool m _ AlarmAdvanceacess; // advanced alarm function authorization
// other
Pool m _ CalStaRunAccess; v/authorization of operation of computing station
Pool m _ SimStaRunAccess; v/simulation station operation authorization
Pool m _ OPCRunaccess; v/OPC client run authorization
bool m _ WriteOperLogAccess; // offline log switch authorization
AuDocInfo; // authorization information Structure
2) Industry authorization
The industry authorization mainly comprises contents such as an algorithm library, authorization items and the like related to a specific industry, and a user who burns the authorization information can set the authorization information according to actual conditions and then burns the authorization information.
The authorization profile format is as follows:
1. industry package authorization base content
[Profession]
Counter=5
Name_0=HOLLiAS MACS V6-P
Name_0_1=M6_ISPK_P
Name_1=HOLLiAS MACS V6-UP
Name_1_1=M6_ISPK_UP
Name_2=HOLLiAS MACS V6-ITCC
Name_2_1=M6_ISPK_ITCC
Name_3=HOLLiAS MACS V6-SIS
Name_3_1=M6_ISPK_SIS
The three files of Name _0, Name _1 and Name _2 are current industry software package authorization items, and the Name supports modification; name0_1, Name1_1 and Name2_1 represent current industry software package authorized item names; if the authorized items of the industry software package need to be added, the Name _3 and the like can be added, then the content authorized by the Name _3 needs to be added, the authorized content needs to be added, and the content which is not added is not authorized by default.
2. Adding new industry software package authorization items
[Profession_Change_3]
Counter=3
AirthMetic1=BASETEST
AirthMetic2=CTRLTEST
AirthMetic3=COMPARETEST
3. Industry software package authorization item information display format
[Profession_Des]
Counter=6
Name — 0 ═ Name: hollias MACS V6.5.2 thermal power industry package authorization
Name _1 ═ Name: hollias MACS V6.5.2 overseas thermal power industry package authorization
Definition of related operation interface (configuration software burning tool read-write authorization is main)
Pool ReadDongleData (DONGLE _ stuct × pDongleData); // read basic authorization content
Cool readdongpoda (char pDongleData); v/reading industry authorization content
void InitUIInfo (); v/initialize UI interface
int ReadSetM6ConFile (); analysis at the firing interface SetM6Con
void List BoxInit (); v/initialize authorization Page
int IsMakeDogRegistered (); checking whether the machine can fire the dongle
void InitRijndaelKey (char pBuffer, CRijndael ORijndael); v/initialization Key
int ReadFromDog (); // reading information from hardware dongle
int ReadDongleSerial (); v/obtaining the dongle Serial number
void ReadProjectInfo (); // obtaining engineering information in dongle
UINT GetStartAddr (LPCTSTR product name, int iCount ═ 0); v/obtaining the head Address in the dongle
void ReadDogDataInfo (); v/reading specific authorization content and filling out authorization values
CString GetVersionValue (UINT usVersion); // get version number
void displaydoclnfo (AuDocInfo @ LoadInfo, int ItemNum, int type); // display authorization content
int GetInPutInfo(int iMode=0);
int checkpoint dogputinfo (); // check input information before firing
int WriteCheckDogPutInfo (); v/authorized burn-in inspection
BOOL IsTimeValid (COleDateTime tmTime); v/determining if authorization is due
void foamtdogitem (char ItemDate, char AuItemDate, char ProDate, char pDogSerial); // formatted dongle
int GetVersion (CString Version); // get version number
BYTE GetHexValue(unsigned char*pBuffer);
VOID DisPlayProInfo (); // displaying industry information
BOOL ShowStatic(UINT unResourceID);
void GetProInfo (AuDocInfo LoadInfo, int ItemNum, int type, long lPos); v/get the industry package authorization information.
Corresponding to the above method embodiments, the embodiment of the present invention further provides an authorization management device for configuration software, and the authorization management device for configuration software described below and the authorization management method for configuration software described above may be referred to correspondingly.
Referring to fig. 3, fig. 3 is a block diagram of an authorization management apparatus for configuration software according to an embodiment of the present invention, where the apparatus may include:
a configuration file obtaining module 31, configured to analyze the received configuration software authorization management request to obtain an authorization configuration file;
the authorization item obtaining module 32 is configured to read each software package authorization item in the authorization configuration file, and send each software package authorization item to the configuration software authorization burning tool;
the authorized item burning module 33 is configured to burn each software package authorized item by using the configuration software authorized burning tool to obtain an authorized burning result;
and the authorization management module 34 is used for performing authorization management operation on each software package in the configuration software according to the authorization burning result.
The device provided by the embodiment of the invention is applied to analyze the received configuration software authorization management request to obtain an authorization configuration file; reading each software package authorization item in the authorization configuration file, and sending each software package authorization item to a configuration software authorization burning tool; burning operation is carried out on each software package authorization item by utilizing a configuration software authorization burning tool to obtain an authorization burning result; and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result. The method comprises the steps that an authorization configuration file containing configuration software authorization items is preset, when the configuration software needs to be authorized and managed, the software package authorization items are automatically read from the configuration file, and authorization management operation on the software packages is completed according to the software package authorization items. Compared with the existing configuration software authorization management mode of continuously modifying codes, the configuration software authorization management method has the advantages that redundant codes are greatly reduced, the configuration software authorization complexity is reduced, and the maintenance cost is saved.
In a specific embodiment of the invention, each software package authorization item comprises each basic software package authorization item and each industry software package authorization item;
the authorization management module 34 is specifically a module that performs authorization management operations on the basic software package and the industry software packages in the configuration software according to the authorization burning result.
In one embodiment of the present invention, the authorization item obtaining module 32 includes:
the basic authorization type reading submodule is used for reading basic authorization type information in the authorization configuration file;
and the basic authorization item reading submodule is used for reading the authorization items of each basic software package according to the basic authorization type information.
In one embodiment of the present invention, the authorization item obtaining module 32 includes:
the industry package name reading submodule is used for reading the industry software package name in the authorization configuration file;
the industry package identification number searching submodule is used for searching a target industry software package identification number corresponding to the industry software package name from the industry software package identification number list; the industry software package identification number list stores the corresponding relation between the name of each industry software package and the identification number of each industry software package;
and the industry package authorization item reading submodule is used for reading the authorization items of the various industry software packages according to the identification numbers of the target industry software packages.
In a specific embodiment of the present invention, the authorization item obtaining module 32 is a module that reads each basic software package authorization item in the authorization configuration file through the unified basic authorization item interface, and reads each industry software package authorization item in the authorization configuration file through the unified industry authorization item interface.
In one embodiment of the present invention, the apparatus may further include:
the authorization mode identification obtaining module is used for analyzing the received configuration software authorization management request to obtain an authorization configuration file and then obtaining authorization mode identification information in the authorization configuration file;
the authorization item burning module 33 is specifically a module that uses a configuration software authorization burning tool to burn each software package authorization item according to the authorization mode identification information to obtain a corresponding dongle or an electronic authorization file;
the authorization management module 34 is specifically a module that performs authorization management operation on each software package in the configuration software by using a dongle or an electronic authorization file.
In response to the above method embodiment, referring to fig. 4, fig. 4 is a schematic diagram of an authorization management device for configuration software provided in the present invention, where the authorization management device may include:
a memory 41 for storing a computer program;
the processor 42, when executing the computer program stored in the memory 41, may implement the following steps:
analyzing the received configuration software authorization management request to obtain an authorization configuration file; reading each software package authorization item in the authorization configuration file, and sending each software package authorization item to a configuration software authorization burning tool; burning operation is carried out on each software package authorization item by utilizing a configuration software authorization burning tool to obtain an authorization burning result; and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result.
For the introduction of the device provided by the present invention, please refer to the above method embodiment, which is not described herein again.
Corresponding to the above method embodiment, the present invention further provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of:
analyzing the received configuration software authorization management request to obtain an authorization configuration file; reading each software package authorization item in the authorization configuration file, and sending each software package authorization item to a configuration software authorization burning tool; burning operation is carried out on each software package authorization item by utilizing a configuration software authorization burning tool to obtain an authorization burning result; and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device, the apparatus and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. A method for managing authorization of configuration software, comprising:
analyzing the received configuration software authorization management request to obtain an authorization configuration file;
reading each software package authorization item in the authorization configuration file, and sending each software package authorization item to a configuration software authorization burning tool;
burning operation is carried out on each software package authorized item by using the configuration software authorized burning tool to obtain an authorized burning result;
carrying out authorization management operation on a basic software package and software packages in various industries in the configuration software according to the authorization burning result;
wherein, each software package authorization item comprises each basic software package authorization item and each industry software package authorization item; the basic software package authorization item is an authorization item formed by extracting basic functions in the platform software of the distributed control system; the industry software package authorization items are authorization items formed by extracting relevant algorithm libraries or function authorizations of different industries.
2. The method of claim 1, wherein reading the authorization entry of each software package in the authorization configuration file comprises:
reading basic authorization type information in the authorization configuration file;
and reading each basic software package authorization item according to the basic authorization type information.
3. The method of claim 1, wherein reading the authorization entry of each software package in the authorization configuration file comprises:
reading the industry software package name in the authorization configuration file;
searching a target industry software package identification number corresponding to the industry software package name from an industry software package identification number list; the industry software package identification number list stores the corresponding relation between the name of each industry software package and the identification number of each industry software package;
and reading the authorized items of the industry software packages according to the identification numbers of the target industry software packages.
4. The method of any of claims 1 to 3, wherein reading each software package authorization entry in the authorization configuration file comprises:
reading each basic software package authorization item in the authorization configuration file through a uniform basic authorization item interface, and reading each industry software package authorization item in the authorization configuration file through a uniform industry authorization item interface.
5. The method of claim 1, wherein after parsing the received configuration software authorization management request to obtain an authorization configuration file, the method further comprises:
obtaining authorization mode identification information in the authorization configuration file;
burning operation is carried out on each software package authorized item by using the configuration software authorized burning tool to obtain an authorized burning result, and the method comprises the following steps:
burning each software package authorization item by using the configuration software authorization burning tool according to the authorization mode identification information to obtain a corresponding dongle or an electronic authorization file;
and carrying out authorization management operation on each software package in the configuration software according to the authorization burning result, wherein the authorization management operation comprises the following steps:
and carrying out authorization management operation on each software package in the configuration software by using the dongle or the electronic authorization file.
6. An authorization management device for configuration software, comprising:
the configuration file obtaining module is used for analyzing the received configuration software authorization management request to obtain an authorization configuration file;
the authorization item obtaining module is used for reading each software package authorization item in the authorization configuration file and sending each software package authorization item to a configuration software authorization burning tool;
the authorized item burning module is used for burning each software package authorized item by using the configuration software authorized burning tool to obtain an authorized burning result;
the authorization management module is used for carrying out authorization management operation on the basic software package and the software packages of various industries in the configuration software according to the authorization burning result;
wherein, each software package authorization item comprises each basic software package authorization item and each industry software package authorization item; the basic software package authorization item is an authorization item formed by extracting basic functions in the platform software of the distributed control system; the industry software package authorization items are authorization items formed by extracting relevant algorithm libraries or function authorizations of different industries.
7. An authorization management device for configuration software, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for authorization management of configuration software according to any of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for authorization management of configuration software according to any of claims 1 to 5.
CN202010065261.7A 2020-01-20 2020-01-20 Authorization management method, device and equipment for configuration software and readable storage medium Active CN111310163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010065261.7A CN111310163B (en) 2020-01-20 2020-01-20 Authorization management method, device and equipment for configuration software and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010065261.7A CN111310163B (en) 2020-01-20 2020-01-20 Authorization management method, device and equipment for configuration software and readable storage medium

Publications (2)

Publication Number Publication Date
CN111310163A CN111310163A (en) 2020-06-19
CN111310163B true CN111310163B (en) 2022-02-22

Family

ID=71158391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010065261.7A Active CN111310163B (en) 2020-01-20 2020-01-20 Authorization management method, device and equipment for configuration software and readable storage medium

Country Status (1)

Country Link
CN (1) CN111310163B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101213557A (en) * 2005-06-30 2008-07-02 先进微装置公司 Anti-hack protection to restrict installation of operating systems and other software
CN101866404A (en) * 2010-06-13 2010-10-20 用友软件股份有限公司 Software system module independent authorization control method and device
CN101996293A (en) * 2010-12-13 2011-03-30 深圳市江波龙电子有限公司 Software authentication method based on softdog
CN102063597A (en) * 2010-12-29 2011-05-18 东莞市创锐电子技术有限公司 Method for authenticating software by utilizing softdog
CN104050397A (en) * 2013-03-11 2014-09-17 钱景 Method and system for controlling and managing software
CN107018028A (en) * 2017-05-24 2017-08-04 核工业理化工程研究院 Data acquisition monitoring system and acquisition monitoring method based on CAN and OPC technology
CN109416824A (en) * 2016-06-24 2019-03-01 安维智有限公司 For passing through the email client framework that execution acts in third party's service
CN109831426A (en) * 2019-01-28 2019-05-31 广东省智能制造研究所 A kind of heterogeneous system based on ARM kernel internet of things data agreement
CN109840397A (en) * 2018-12-27 2019-06-04 北京奇安信科技有限公司 Terminal software authorization processing method and device
CN110414262A (en) * 2019-06-28 2019-11-05 浙江中烟工业有限责任公司 A kind of implementation method of configuration software subscriber management function

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10361859B2 (en) * 2017-10-06 2019-07-23 Stealthpath, Inc. Methods for internet communication security

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101213557A (en) * 2005-06-30 2008-07-02 先进微装置公司 Anti-hack protection to restrict installation of operating systems and other software
CN101866404A (en) * 2010-06-13 2010-10-20 用友软件股份有限公司 Software system module independent authorization control method and device
CN101996293A (en) * 2010-12-13 2011-03-30 深圳市江波龙电子有限公司 Software authentication method based on softdog
CN102063597A (en) * 2010-12-29 2011-05-18 东莞市创锐电子技术有限公司 Method for authenticating software by utilizing softdog
CN104050397A (en) * 2013-03-11 2014-09-17 钱景 Method and system for controlling and managing software
CN109416824A (en) * 2016-06-24 2019-03-01 安维智有限公司 For passing through the email client framework that execution acts in third party's service
CN107018028A (en) * 2017-05-24 2017-08-04 核工业理化工程研究院 Data acquisition monitoring system and acquisition monitoring method based on CAN and OPC technology
CN109840397A (en) * 2018-12-27 2019-06-04 北京奇安信科技有限公司 Terminal software authorization processing method and device
CN109831426A (en) * 2019-01-28 2019-05-31 广东省智能制造研究所 A kind of heterogeneous system based on ARM kernel internet of things data agreement
CN110414262A (en) * 2019-06-28 2019-11-05 浙江中烟工业有限责任公司 A kind of implementation method of configuration software subscriber management function

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《An Effective Evolutionary Analysis Scheme for Industrial Software Access Control Models》;Zhuobing Han等;《IEEE Transactions on Industrial Informatics》;20190627;第16卷(第2期);第1024-1034页 *
《一种使用伪随机分块和SVD的图像Hash方法》;张亚玲等;《计算机工程与应用》;20120229;第48卷(第4期);第186-189页 *
《基于动态链接库的组态软件工程授权方法》;王继文等;《电子设计工程》;20190228;第27卷(第4期);第52-55页 *
《配电运维生产中的相关问题的探究》;徐鹏等;《中小企业管理与科技(中旬刊)》;20191115(第11期);86-87页 *

Also Published As

Publication number Publication date
CN111310163A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN106156186B (en) Data model management device, server and data processing method
CN109542445A (en) A kind of method and apparatus that Android plug-in unit melts hair
CN105645202B (en) A kind of password authority control method, system and remote server and electric life controller
CN102867010A (en) Systems and methods of extracting, storing, and serving device definition file information
CN110554675B (en) Method and system for constructing, synchronizing, presenting and analyzing nuclear power DCS (distributed control System) offline database
CN111209001A (en) Method, system, equipment and medium for batch generation of APKs of android channels
CN108255708A (en) Method, apparatus, storage medium and the equipment of production file are accessed in test environment
CN115098186A (en) Project processing method and device, computer equipment and storage medium
CN111310163B (en) Authorization management method, device and equipment for configuration software and readable storage medium
CN103379145B (en) The method, apparatus and system of information processing
CN111865905B (en) Ukey-based communication method, device and storage medium
CN113111281A (en) DWG drawing preview service method, system and storage medium
US7698003B2 (en) System for generating standard operating procedure(SOP) files
CN100573376C (en) The factory information system and the method for new data more thereof
CN115617780A (en) Data import method, device, equipment and storage medium
CN115203697A (en) File detection method, device and equipment and readable storage medium
CN105938337B (en) Secondary development cloud platform of microcomputer controller and use method
CN111860732A (en) Method, device and system for processing secondary system drawing file data of transformer substation
CN112988193B (en) Code update identification method and device, computer equipment and readable storage medium
CN116263866B (en) Automatic burning method and equipment
CN113127054B (en) File processing method and related device
CN113778503A (en) Software maintenance method and device
CN113867742A (en) Application processing method, installation method and uninstallation method
CN117332418A (en) Method, device and system for acquiring operating system information and terminal equipment
CN115586918A (en) Online packaging system and method for relay protection device program package

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
GR01 Patent grant
GR01 Patent grant