CN110414262A - A kind of implementation method of configuration software subscriber management function - Google Patents

A kind of implementation method of configuration software subscriber management function Download PDF

Info

Publication number
CN110414262A
CN110414262A CN201910574528.2A CN201910574528A CN110414262A CN 110414262 A CN110414262 A CN 110414262A CN 201910574528 A CN201910574528 A CN 201910574528A CN 110414262 A CN110414262 A CN 110414262A
Authority
CN
China
Prior art keywords
user
operating right
rcs
control system
robot control
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
CN201910574528.2A
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 Tobacco Zhejiang Industrial Co Ltd
Original Assignee
China Tobacco Zhejiang Industrial 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 Tobacco Zhejiang Industrial Co Ltd filed Critical China Tobacco Zhejiang Industrial Co Ltd
Priority to CN201910574528.2A priority Critical patent/CN110414262A/en
Publication of CN110414262A publication Critical patent/CN110414262A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Abstract

The invention discloses a kind of implementation method of configuration software subscriber management function, including defining operation permission, reads user right and judge three steps of user right;It is a kind of suitable for commonly using configuration software, there are the implementation methods of the configuration software subscriber management function for the operating right that when multiple sub- robot control system(RCS)s, can flexibly, easily manage operation user in centralized control system.

Description

A kind of implementation method of configuration software subscriber management function
Technical field
The present invention relates to a kind of implementation methods of subscriber management function, and in particular to a kind of configuration software subscriber management function Implementation method.
Background technique
Configuration software, one kind of upper computer software, also known as configuration monitoring software.It is one kind can data acquisition with The special-purpose software of process control may be implemented remotely to monitor, control and manage field device by computer instruction.Configuration is soft These features of part help to improve production efficiency, protection practitioner's health, provide the monitoring of special equipment real-time high-efficiency Deng.
Due to the complexity and diversity of the supply of tobacco business power source, kinetic energy monitoring system may include multiple automatic controls System, such as automatic boiler control, vacuum auto-control system, compressed air robot control system(RCS), Air-conditioning system and sewage treatment system System etc..When remote centralized monitoring control, it is desirable that each robot control system(RCS) needs different operating rights, guarantees equipment operation with this Safety;And to guarantee that the same operator user possesses the operating right for controlling multiple robot control system(RCS)s simultaneously, it is protected with this Card control is flexibly and conveniently.Under this design requirement background, monitoring system possesses an operation flexibly, reliable, safe Member's user authority management function is particularly important.
The included subscriber management function of common configuration software respectively has superiority and inferiority, but the subscriber management function of each configuration software There is its limitation, it is difficult to deal with the requirement under the conditions of complex control for user management.
Summary of the invention
To solve above-mentioned the technical problems existing in the prior art, the present invention provides one kind to be suitable for common configuration software , there are the groups for the operating right that when multiple sub- robot control system(RCS)s, can flexibly, easily manage operation user in centralized control system The implementation method of state software users management function.
The present invention solves its technical problem and is achieved through the following technical solutions:
A kind of implementation method of configuration software subscriber management function, comprising the following steps:
Step S1, defining operation permission
An one-dimensional character array is defined, is denoted as customized array QX (), each in the customized array QX () The operating right of a sub- robot control system(RCS) is represented, the operating right is stored in the relevant database of server-side and client In;
Step S2, user right is read
On the basis of step S1, according to the user name of the login user of client, from the relationship of server-side and client The operating right of login user is read in the user information of type database, and by the character in the character string of login user permission, It is corresponding in turn in the operating right for the sub- robot control system(RCS) for being saved in customized array QX ();
Step S3, judge user right
After completing step S2, whether there is or not the power operations for controlling corresponding robot control system(RCS) by user of the triggering for detecting client login The detection of limit judges script.
Preferably, in the step S2, relationship type of the SQL query statement from server-side and client is write using VB language Database obtains reading login user permission character string in user message table.
Preferably, in the step S1, the sub- robot control system(RCS) includes boiler system, vacuum system and air compression system, and Define that the QX (1) in customized array QX () represents boiler system operating right, QX (2) represents vacuum system operating right, QX (3) air compression system operating right is represented.
Further, the local client data library in the step S2 stores the character of each sub- robot control system(RCS) operating right The end value of string, the end value include 1 and 0.
Further, the step S3 specifically includes the following steps:
Step S3.1, selection needs the sub- robot control system(RCS) controlled, and detection trigger judges script;
Step S3.2, the detection in the described step S3.1 judges that script carries out the operating right of corresponding sub- robot control system(RCS) Judgement, and end value is exported, if end value is 1, determine that the user logged in has the operating right for operating the sub- robot control system(RCS), it can To carry out the movement of next step, if end value is 0, determine that the user logged in does not operate the operating rights of the sub- robot control system(RCS) Limit refuses the operation requests of the user logged in.
Preferably, in the step S1, customized array QX () includes that QX (1)~QX (16) has 16 characters, last bit altogether QX (16) is used for spare dilatation.
Further, the relevant database of the server-side and client is for saving user information, user's letter Breath includes user name, login name, login password, operating right and permission description, and the relevant database of the server-side is SQL SERVER, the relevant database of client are ACCESS.
Compared with prior art, the invention has the benefit that
(1) method provided by the invention has scalability, is not limited by configuration software itself operating area quantity, can To create operating area quantity, operator's quantity, authority classification quantity etc. according to the demand of system.
(2) method provided by the invention has flexibility, and not by the setting of configuration software itself operating right, developer can To carry out one-to-one, one-to-many flexible configurations between operation user and operating area according to the actual demand of project.
Detailed description of the invention
Fig. 1 is flow chart of the invention;
Fig. 2 is the process flow diagram flow chart that the operating right of the embodiment of the present invention reads, is written, verifies.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical", The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" is to be based on the orientation or positional relationship shown in the drawings, or be somebody's turn to do Invention product using when the orientation or positional relationship usually put, be merely for convenience of description of the present invention and simplification of the description, without It is that the device of indication or suggestion meaning or element must have a particular orientation, be constructed and operated in a specific orientation, therefore not It can be interpreted as limitation of the present invention.In addition, term " first ", " second ", " third " etc. are only used for distinguishing description, and cannot manage Solution is indication or suggestion relative importance.
In addition, the terms such as term "horizontal", "vertical", " pendency " are not offered as requiring component abswolute level or pendency, and It is that can be slightly tilted.It is not to indicate the structure if "horizontal" only refers to that its direction is more horizontal with respect to for "vertical" It has to fully horizontally, but can be slightly tilted.
In the description of the present invention, it is also necessary to which explanation is unless specifically defined or limited otherwise, term " setting ", " installation ", " connected ", " connection " shall be understood in a broad sense, for example, it may be fixedly connected, may be a detachable connection or one Connect to body;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, it can also be indirect by intermediary It is connected, can be the connection inside two elements.For the ordinary skill in the art, on being understood with concrete condition State the concrete meaning of term in the present invention.
Embodiment
A kind of implementation method of configuration software subscriber management function, includes the following steps, as shown in Figure 1:
Step S1, defining operation permission
An one-dimensional character array is defined, customized array QX () is denoted as, each representative in customized array QX () The operating right of one sub- robot control system(RCS), operating right are stored in the relevant database of server-side and client, such as Fig. 2 institute Show, sub- robot control system(RCS) includes boiler system, vacuum system and air compression system, and defines QX (1) generation in customized array QX () Table boiler system operating right, QX (2) represent vacuum system operating right, QX (3) represents air compression system operating right;
It should be noted that user's operation permission is stored in the operating rights of the user information of database in the form of character string In limit column, e.g., the operating right string content of user is if " 1010101010100100 ", each character pair from left to right A robot control system(RCS) is answered, first corresponding boiler system indicates that the user possesses the operation of control boiler system when character is 1 Permission;On the contrary, if character indicates that the user does not control the operating right of boiler system for 0.And so on, it can recorde each Operating right of a user for each robot control system(RCS).
Step S2, user right is read
When operator's login user, the relevant database that script is connected to local client is write by VB language, Corresponding login password is inquired in relevant database by the user's name that operator inputs, and close with operator's input Code is made comparisons, and content unanimously then logs in success, otherwise login failure.This process is the verifying process that user logs in.Then exist again On the basis of step S1, according to the user name of the login user of client, from the relevant database of server-side and client The operating right of login user is read in user information, and by the character in the character string of login user permission, is corresponding in turn to guarantor It is stored in the operating right of the sub- robot control system(RCS) of customized array QX ();
Step S3, judge user right
After completing step S2, whether there is or not the power operations for controlling corresponding robot control system(RCS) by user of the triggering for detecting client login The detection of limit judges script.
In step S2, SQL query statement is write from the user message table of local client data library using VB language and is read Login user permission character string.
Further, the local client data library in step S2 stores the character string of each sub- robot control system(RCS) operating right True-false value.
Further, step S3 specifically includes the following steps:
Step S3.1, selection needs the sub- robot control system(RCS) controlled, and detection trigger judges script;
Step S3.2, the detection in step S3.1 judges that script sentences the operating right of corresponding sub- robot control system(RCS) It is disconnected, and export end value, if end value is 1, determine that the user logged in has the operating right for operating the sub- robot control system(RCS), it can be with The movement of next step is carried out, if end value is 0, determines that the user logged in does not operate the operating right of the sub- robot control system(RCS), Refuse the operation requests of the user logged in.
Preferably, in step S1, customized array QX () includes that QX (1)~QX (16) has 16 characters, last bit QX altogether (16) it is used for spare dilatation.
The relevant database of server-side and client includes user name, logs in for saving user information, user information Name, login password, operating right and permission description, the relevant database of server-side are SQL SERVER, the relationship of client Type database is ACCESS.
It should be noted that writing script when newly-built user, modification user information by VB language and being connected to server-side Database, the content of user message table in more new database.After the modification user information movement of each operator is completed, all can The background script of chain triggering configuration software, the content of modification is automatically updated into the database of every client, so that objective The user information of family end and server-side is consistent.
The above is only the preferred embodiment of the present invention, it is noted that those skilled in the art are come It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (7)

1. a kind of implementation method of configuration software subscriber management function, which comprises the following steps:
Step S1, defining operation permission
An one-dimensional character array is defined, customized array QX () is denoted as, each representative in the customized array QX () The operating right of one sub- robot control system(RCS), the operating right are stored in the relevant database of server-side and client;
Step S2, user right is read
On the basis of step S1, according to the user name of the login user of client, from the relationship type number of server-side and client According to the operating right for reading login user in the user information in library, and by the character in the character string of login user permission, successively In the operating right of the corresponding sub- robot control system(RCS) for being saved in customized array QX ();
Step S3, judge user right
After completing step S2, whether there is or not the power for controlling corresponding robot control system(RCS) to operate limit by user of the triggering for detecting client login Detection judges script.
2. a kind of implementation method of configuration software subscriber management function according to claim 1, which is characterized in that the step In rapid S2, SQL query statement is write from the user message table of the relevant database of server-side and client using VB language Read login user permission character string.
3. a kind of implementation method of configuration software subscriber management function according to claim 1, which is characterized in that the step In rapid S1, sub- robot control system(RCS) includes boiler system, vacuum system and air compression system, and defines the QX in customized array QX () (1) boiler system operating right is represented, QX (2) represents vacuum system operating right, QX (3) represents air compression system operating right.
4. a kind of implementation method of configuration software subscriber management function according to claim 1, which is characterized in that the step Local client data library in rapid S2 stores the true-false value of the character string of each sub- robot control system(RCS) operating right.
5. a kind of implementation method of configuration software subscriber management function according to claim 4, which is characterized in that the step Rapid S3 specifically includes the following steps:
Step S3.1, selection needs the sub- robot control system(RCS) controlled, and detection trigger judges script;
Step S3.2, the detection in the described step S3.1 judges that script sentences the operating right of corresponding sub- robot control system(RCS) It is disconnected, and export end value, if end value is 1, determine that the user logged in has the operating right for operating the sub- robot control system(RCS), it can be with The movement of next step is carried out, if end value is 0, determines that the user logged in does not operate the operating right of the sub- robot control system(RCS), Refuse the operation requests of the user logged in.
6. a kind of implementation method of configuration software subscriber management function according to claim 1, which is characterized in that the step In rapid S1, customized array QX () includes that QX (1)~QX (16) has 16 characters altogether, and last bit QX (16) is used for spare dilatation.
7. a kind of implementation method of configuration software subscriber management function according to claim 1, which is characterized in that the clothes For the relevant database of business end and client for saving user information, the user information includes user name, login name, login Password, operating right and permission description, the relevant database of the server-side are SQL SERVER, the relationship type number of client It is ACCESS according to library.
CN201910574528.2A 2019-06-28 2019-06-28 A kind of implementation method of configuration software subscriber management function Pending CN110414262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910574528.2A CN110414262A (en) 2019-06-28 2019-06-28 A kind of implementation method of configuration software subscriber management function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910574528.2A CN110414262A (en) 2019-06-28 2019-06-28 A kind of implementation method of configuration software subscriber management function

Publications (1)

Publication Number Publication Date
CN110414262A true CN110414262A (en) 2019-11-05

Family

ID=68358474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910574528.2A Pending CN110414262A (en) 2019-06-28 2019-06-28 A kind of implementation method of configuration software subscriber management function

Country Status (1)

Country Link
CN (1) CN110414262A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111310163A (en) * 2020-01-20 2020-06-19 杭州和利时自动化有限公司 Authorization management method, device and equipment for configuration software and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571705A (en) * 2010-12-24 2012-07-11 联想(北京)有限公司 Information processing method and server
CN105608366A (en) * 2014-11-18 2016-05-25 华为软件技术有限公司 User permission control method and device
CN106682487A (en) * 2016-11-04 2017-05-17 浙江蘑菇加电子商务有限公司 User authority management method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571705A (en) * 2010-12-24 2012-07-11 联想(北京)有限公司 Information processing method and server
CN105608366A (en) * 2014-11-18 2016-05-25 华为软件技术有限公司 User permission control method and device
CN106682487A (en) * 2016-11-04 2017-05-17 浙江蘑菇加电子商务有限公司 User authority management method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111310163A (en) * 2020-01-20 2020-06-19 杭州和利时自动化有限公司 Authorization management method, device and equipment for configuration software and readable storage medium
CN111310163B (en) * 2020-01-20 2022-02-22 杭州和利时自动化有限公司 Authorization management method, device and equipment for configuration software and readable storage medium

Similar Documents

Publication Publication Date Title
CN1048100C (en) Method for generating and executing complicated operation process
CN101354758B (en) System and method for integrating real-time data and relationship data
WO2005013175A2 (en) A workflow compatible healthcare information message communication system
CN107766448A (en) Rule-based satellite telemetering data analysis system
CN102105843B (en) Plant monitoring control system
CN110414262A (en) A kind of implementation method of configuration software subscriber management function
CN106201608A (en) Computer UEFI firmware update
CN101807156A (en) Equipment and method for maintaining and updating system through interface medium
CN112863071A (en) Intelligent material management device
WO2024032644A1 (en) Nuclear fuel charging/discharging and position automatic tracking system and method
CN110009260B (en) Method and device for processing shift-switching information of sewage treatment plant
CN100428095C (en) Method for generating a structure representation which describes a specific automation system
CN107562433B (en) Automatic multiprocessor program updating system and program updating method
CN103679368A (en) Wafer CMP processing information management system
CN106846673B (en) Multi-language environment TMS system
CN103678974B (en) Remote access client terminal of chemico-mechanical polishing control system
CN106672886B (en) The hang-up method in short-term of oiling oil gun
KR100293219B1 (en) Method and apparatus for diagnosing plc(programmable logic controller) self fault and plc external fault
CN110812220A (en) Safe and intelligent medicine storage control system and method and medicine storage basket
CN105991664A (en) Storage method and storage device for prescriptions
CN210172080U (en) Whole process management and control system for endoscope cleaning
JPH10222220A (en) Remote diagnostic system
CN107679264A (en) A kind of method that auxiliary examination position number misplaces in PCB design
US8705863B1 (en) Method and system for providing a computer implemented control system for an automated system
CN111831313B (en) Air conditioner monitoring management method, device and system

Legal Events

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

Application publication date: 20191105