CN116680671A - User management method, device and computer medium of human-computer interface - Google Patents

User management method, device and computer medium of human-computer interface Download PDF

Info

Publication number
CN116680671A
CN116680671A CN202310614265.XA CN202310614265A CN116680671A CN 116680671 A CN116680671 A CN 116680671A CN 202310614265 A CN202310614265 A CN 202310614265A CN 116680671 A CN116680671 A CN 116680671A
Authority
CN
China
Prior art keywords
user
interface
file
user management
human
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
CN202310614265.XA
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.)
Siemens Ltd China
Original Assignee
Siemens Ltd China
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 Siemens Ltd China filed Critical Siemens Ltd China
Priority to CN202310614265.XA priority Critical patent/CN116680671A/en
Publication of CN116680671A publication Critical patent/CN116680671A/en
Pending legal-status Critical Current

Links

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/31User 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
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The invention provides a user management method of a human-computer interface, which comprises the following steps: creating a table file for storing user information including an associated user name, password and permission code; creating a script file, wherein the running script file can read or modify the table file; creating a user management interface, and running a script file to display or modify the contents of the form file according to operations on the user management interface; a user login interface is created, and a script file is run to react to and display operations on the user login interface according to the contents of the form file. The user management method of the man-machine interface provided by the invention can be used for managing the user on the man-machine interface equipment more flexibly. The invention also provides human-computer interface equipment and a computer medium related to the user management method.

Description

User management method, device and computer medium of human-computer interface
Technical Field
The present invention relates to the field of man-machine interface technologies, and in particular, to a user management method for a man-machine interface, a man-machine interface device, and a computer medium.
Background
Human-machine interfaces (Human Machine Interaction, HMI for short), also known as user interfaces or user interfaces, are media and dialog interfaces for transferring and exchanging information between a person and a computer, and are an important component of computer systems. Is the medium of interaction and information exchange between the system and the user, which enables the conversion between the internal form of the information and the human acceptable form. Human-computer interfaces exist in all fields participating in human-computer information exchange. In order to ensure the safety, the man-machine interface device needs to be provided with a user management system, and only users with rights are allowed to perform related operations on the man-machine interface device after logging in. The existing man-machine interface device is provided with a user management system, but cannot flexibly manage users.
Disclosure of Invention
The invention aims to provide a user management method, equipment and a computer medium of a human-computer interface, which can more flexibly manage users on the human-computer interface equipment.
The invention provides a user management method of a human-computer interface, which comprises the following steps:
creating a table file for storing user information including an associated user name, password and permission code;
creating a script file, wherein the running script file can read or modify the table file;
creating a user management interface, and running a script file to display or modify the contents of the form file according to operations on the user management interface; and
a user login interface is created, and a script file is run to react to and display operations on the user login interface according to the contents of the form file.
The user management method of the human-computer interface provided by the invention comprises the steps of creating a script file, a form file, a user management interface and a user login interface on human-computer interface equipment, reading or modifying the form file by running the script file when user information is managed on the user management interface, and verifying by reading the form file by running the script file when login is performed on the user login interface. Compared with a user management system with a man-machine interface, the user management method of the man-machine interface provided by the invention can browse all user information, independently modify the user information and manage the user on man-machine interface equipment more flexibly.
In one exemplary embodiment of a user management method of a human-machine interface, creating a user login interface, running a script file to react to and display operations on the user login interface according to the contents of a form file, comprising:
creating a user login interface;
running script files to read form files;
judging whether a user name input by a user login interface exists in the table file;
if not, displaying a useless prompt on the user login interface;
if yes, judging whether the user name and the password input by the user login interface correspond to the user information;
if not, displaying a password error prompt on a user login interface;
if yes, entering an interface related to the authority codes in the user information.
In an exemplary embodiment of the user management method of a human-machine interface, the user information further includes an authorization time, the user login interface is created, the script file is run to react to and display operations on the user login interface according to contents of the form file, and further comprising:
the script file is run to determine if it is a temporary user and react according to the authorized time.
In an exemplary embodiment of a user management method of a human-machine interface, running a script file to determine whether it is a temporary user and react according to an authorized time includes:
running a script file after entering an interface related to the authority code to judge whether the authorization time is 0;
if yes, judging that the user is not a temporary user;
if not, judging as a temporary user and starting timing, and returning to the user login interface when the timing reaches the authorized time; and
user information in the table file that the timer reaches the authorized time is deleted.
In one exemplary embodiment of a user management method of a human-machine interface, creating a user management interface, running a script file to display or modify the contents of a form file according to operations on the user management interface, comprising:
creating a user management interface;
running script files to read form files;
displaying the contents of the form file according to the operation on the user management interface; and
the contents of the form file are modified according to the operations on the user management interface.
In an exemplary embodiment of a user management method of a human-machine interface, displaying contents of a form file according to an operation on the user management interface includes:
and searching and displaying the user names related to the characters in the table file according to the characters input on the user management interface, wherein the user names can be directly input by clicking the user names on the user management interface.
In an exemplary embodiment of a user management method of a human-machine interface, displaying contents of a form file according to an operation on the user management interface includes:
and converting the corresponding authority codes into graphic information according to the user names input on the user management interface and displaying the graphic information on the user management interface.
In an exemplary embodiment of the user management method of the human-computer interface, the permission code is a binary number with the same number of bits, each bit of the permission code represents a permission, each character of each bit represents whether a corresponding permission exists, and the script file judges whether a user corresponding to the user name has an associated permission by reading each character of the permission code.
The invention also provides a man-machine interface device which is configured to realize the user management function by using the user management method.
The invention also provides a computer readable storage medium, wherein the computer readable storage medium is stored with a computer program, and the computer program can be used by human-machine interface equipment to execute the user management method of the human-machine interface.
Drawings
The following drawings are only illustrative of the invention and do not limit the scope of the invention.
FIG. 1 is a flow diagram of one illustrative embodiment of a user management method for a human-machine interface.
FIG. 2 is a flow chart of a portion of a user management method for a human-machine interface.
FIG. 3 is a schematic diagram of an implementation of a user management method for a human-machine interface.
FIG. 4 is a flow chart of another portion of a user management method for a human-machine interface.
FIG. 5 is a schematic diagram of another implementation of a user management method for a human-machine interface.
FIG. 6 is a flow chart of another portion of a user management method for a human-machine interface.
Description of the reference numerals
10 user name text box
20 cipher text box
30 authorized time text box
40 rights display area
41 rights block
50 confirm button
60 exit button
Detailed Description
For a clearer understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described with reference to the drawings, in which like reference numerals refer to identical or structurally similar but functionally identical components throughout the separate views.
In this document, "schematic" means "serving as an example, instance, or illustration," and any illustrations, embodiments described herein as "schematic" should not be construed as a more preferred or advantageous solution.
FIG. 1 is a flow diagram of one illustrative embodiment of a user management method for a human-machine interface. With reference to figure 1 of the drawings,
step S10: a table file is created for storing user information including an associated user name, password and permission code. Specifically, the table file is in a CSV format and includes a plurality of rows of data, each row of data is a piece of user information, and the user name, the password and the permission code are stored in a cell mode.
Step S20: a script file is created and the running script file can read or modify the table file. The human-machine interface device is typically provided with VBScript script programming functionality, and the script file may be a VBS script edited with the human-machine interface device.
Step S30: a user management interface is created, and a script file is run to display or modify the contents of the form file according to operations on the user management interface. FIG. 2 is a flow chart of a portion of a user management method for a human-machine interface. FIG. 3 is a schematic diagram of an implementation of a user management method for a human-machine interface. Referring to fig. 2, step S30 specifically includes:
step S31: a user management interface is created. The WinCC application program of the man-machine interface device can be used for creating a user management interface as shown in fig. 3 and associating script files. The user management interface includes a user name text box 10 for inputting and displaying a user name, a password text box 20 for inputting and displaying a password, a confirm button 50, and an exit button 60. The confirm button 50 is used to confirm the operation and the exit button 60 is used to exit the user management interface. In addition, the user management interface includes a rights display area 40 capable of displaying a rights code in the form of graphic information.
Step S32: the running script file reads the form file.
Step S33: and displaying the contents of the table file according to the operation on the user management interface. Specifically, the user may input a user name in the user name text box 10 and click the confirm button 50, and the password associated with the input user name may be displayed in the password text box 20, and the permission code is displayed through the permission display area. In step S33, the user name related to the text in the text search table file input on the user management interface may be searched and displayed, and clicking the user name on the user management interface may directly input the user name, thereby simplifying the operation.
In the illustrative embodiment, the authority code is a binary number with the same bit number, each bit of the authority code represents one authority, character 0 or 1 of each bit represents whether the corresponding authority exists, and the script file judges whether the user corresponding to the user name has the associated authority by reading each bit character of the authority code. The rights display area 40 of the user management interface comprises a plurality of rights blocks 41, and each rights block 41 corresponds to one bit of a rights code, namely, corresponds to and represents one kind of rights. The script file controls the authority block 41 to display two different colors according to the character 0 or 1 of each bit of the authority code, for example, the character 0 represents no authority, the authority block 41 is displayed in red, the character 1 represents authority, and the authority block 41 is displayed in green. The authority codes are converted into graphic information to be displayed on a user management interface, so that the authority content represented by the authority codes can be intuitively displayed.
Step S34: the contents of the form file are modified according to the operations on the user management interface. Specifically, the contents may be added or modified in the user name text box 10 and the password text box 20 on the user management interface, the colors are switched by touching the authority block 41, and the contents of the table file are modified according to the contents on the user management interface after clicking the confirm button 50.
Step S40: a user login interface is created, and a script file is run to react to and display operations on the user login interface according to the contents of the form file. FIG. 4 is a flow chart of another portion of a user management method for a human-machine interface. FIG. 5 is a schematic diagram of another implementation of a user management method for a human-machine interface. Referring to fig. 4 and 5, step S40 specifically includes:
step S41: a user login interface is created. The WinCC application program of the man-machine interface device can be used for creating a user management interface as shown in fig. 3 and associating script files. The user login interface includes a user name text box 10 for entering and displaying a user name, a password text box 20 for entering and displaying a password, a confirm button 50, and an exit button 60. The confirm button 50 is used to confirm the operation and the exit button 60 is used to exit the user login interface.
Step S42: the running script file reads the form file.
Step S43: and judging whether the user name input by the user login interface exists in the table file. The script file compares the user name input by the user login interface with each user name of the table file one by one.
Step S44: if not, displaying a useless prompt on the user login interface.
Step S45: if yes, judging whether the user name and the password input by the user login interface correspond to the user information. And the script file compares and judges the password input by the user login interface with the password associated with the table file.
Step S46: if not, displaying a password error prompt on the user login interface.
Step S47: if yes, entering an interface related to the authority codes in the user information. The rights code related interfaces include various operator interfaces or data presentation interfaces, but may also include user management interfaces.
The user management method of the human-computer interface provided by the invention comprises the steps of creating a script file, a form file, a user management interface and a user login interface on human-computer interface equipment, reading or modifying the form file by running the script file when user information is managed on the user management interface, and verifying by reading the form file by running the script file when login is performed on the user login interface. Compared with a user management system with a man-machine interface, the user management method of the man-machine interface provided by the invention can browse all user information, independently modify the user information and manage the user on man-machine interface equipment more flexibly.
Referring to fig. 4, in an exemplary embodiment, the user information further includes an authorization time, and step S40 further includes:
step S48: the script file is run to determine if it is a temporary user and react according to the authorized time. The temporary user can operate the human-machine interface device in a limited time, and cannot continue to operate after the time expires. FIG. 6 is a flow chart of another portion of a user management method for a human-machine interface. Referring to fig. 6, step S48 specifically includes:
step S481: and after entering an interface related to the authority code, running a script file to judge whether the authorization time is 0. Specifically, the permission code is used not only for recording the authorization time of the temporary user, but also for distinguishing the temporary user from the non-temporary user.
Step S482: if yes, judging that the user is not a temporary user. An authorization time of 0 represents a non-temporary user and no other operations are needed.
Step S483: if not, judging as a temporary user, starting timing, and returning to the user login interface when the timing reaches the authorized time. A specific value of the authorization time greater than 0 represents a temporary user and a specific value of the authorization time greater than 0.
Step S484: user information in the table file that the timer reaches the authorized time is deleted. Thereby completing the automatic logout of the temporary user.
The invention also provides a man-machine interface device which has WinCC application program and VBScript script programming functions, and the man-machine interface device is configured to realize the user management function by using the user management method.
The invention also provides a computer readable storage medium, wherein the computer readable storage medium is stored with a computer program, and the computer program can be used by human-machine interface equipment to execute the user management method of the human-machine interface.
It should be understood that although the present disclosure has been described in terms of various embodiments, not every embodiment is provided with a separate technical solution, and this description is for clarity only, and those skilled in the art should consider the disclosure as a whole, and the technical solutions in the various embodiments may be combined appropriately to form other embodiments that will be understood by those skilled in the art.
The above list of detailed descriptions is only specific to practical examples of the present invention, and they are not intended to limit the scope of the present invention, and all equivalent embodiments or modifications, such as combinations, divisions or repetitions of features, without departing from the technical spirit of the present invention are included in the scope of the present invention.

Claims (10)

1. The user management method of the human-computer interface is characterized by comprising the following steps of:
creating a table file for storing user information including an associated user name, password and permission code;
creating a script file, and running the script file can read or modify the table file;
creating a user management interface, and running the script file to display or modify the content of the form file according to the operation on the user management interface; and
and creating a user login interface, and running the script file to react to and display the operation on the user login interface according to the content of the table file.
2. The method of user management of a human-machine interface of claim 1, wherein creating a user login interface, running the script file to react to and display operations on the user login interface according to the contents of the form file, comprises: creating a user login interface;
running the script file to read the table file;
judging whether the user name input by the user login interface exists in the table file or not;
if not, displaying a useless prompt on the user login interface;
if yes, judging whether the user name and the password input by the user login interface correspond to the user information;
if not, displaying a password error prompt on the user login interface;
if yes, entering an interface related to the permission code in the user information.
3. The method of user management of a human-machine interface of claim 2, wherein the user information further includes an authorized time, creating a user login interface, running the script file to react to and display operations on the user login interface according to the contents of the form file, further comprising:
and running the script file to judge whether the script file is a temporary user or not according to the authorized time and reacting.
4. A user management method of a human-machine interface according to claim 3, wherein running the script file to determine whether it is a temporary user and react according to the authorization time comprises:
running the script file after entering an interface related to the authority code to judge whether the authorization time is 0;
if yes, judging that the user is not a temporary user;
if not, judging as a temporary user and starting timing, and returning to the user login interface when the timing reaches the authorized time; and
and deleting the user information of which the timing reaches the authorized time in the table file.
5. The method of user management of a human-machine interface of claim 1, wherein creating a user management interface, running the script file to display or modify the contents of the form file according to operations on the user management interface, comprises: creating a user management interface;
running the script file to read the table file;
displaying the contents of the table file according to the operation on the user management interface; and
and modifying the contents of the table file according to the operation on the user management interface.
6. The method of claim 5, wherein displaying the contents of the form file according to an operation on the user management interface, comprises:
searching and displaying the user names related to the characters in the table file according to the characters input on the user management interface, and clicking the user names on the user management interface can directly input the user names.
7. The method of claim 5, wherein displaying the contents of the form file according to an operation on the user management interface, comprises:
and converting the corresponding authority codes into graphic information according to the user names input on the user management interface and displaying the graphic information on the user management interface.
8. The method for managing a user of a human-computer interface according to claim 1, wherein the authority code is a binary number having the same number of bits, each bit of the authority code represents one authority, each bit of the character represents whether a corresponding authority exists, and the script file judges whether a user corresponding to the user name has an associated authority by reading each bit of the character of the authority code.
9. Human-machine interface device, characterized in that it is configured to implement user management functions using a user management method according to any of claims 1 to 8.
10. Computer readable storage medium, characterized in that it has stored thereon a computer program that is executable by a human interface device and implements the user management method of a human interface according to any of claims 1 to 8.
CN202310614265.XA 2023-05-29 2023-05-29 User management method, device and computer medium of human-computer interface Pending CN116680671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310614265.XA CN116680671A (en) 2023-05-29 2023-05-29 User management method, device and computer medium of human-computer interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310614265.XA CN116680671A (en) 2023-05-29 2023-05-29 User management method, device and computer medium of human-computer interface

Publications (1)

Publication Number Publication Date
CN116680671A true CN116680671A (en) 2023-09-01

Family

ID=87780260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310614265.XA Pending CN116680671A (en) 2023-05-29 2023-05-29 User management method, device and computer medium of human-computer interface

Country Status (1)

Country Link
CN (1) CN116680671A (en)

Similar Documents

Publication Publication Date Title
US5928364A (en) Secret data storage device, secret data reading method, and control program storing medium
US8281286B2 (en) Methods and systems for automated testing of applications using an application independent GUI map
CN101075873B (en) Method and system for inputting content
CN100423610C (en) User identifying module service and method and system for using personalized tailered issuing
CN104123227A (en) Method for automatically generating testing cases
CN111767095A (en) Micro-service generation method and device, terminal equipment and storage medium
CN101297310A (en) Contents management system, and management method therefor
WO2019144547A1 (en) Data entry method and apparatus, computer device and storage medium
CN112149109A (en) Modularized authority control management method and system
CN111931160B (en) Authority verification method, authority verification device, terminal and storage medium
CN108500469A (en) A kind of laser marking barcode scanning is anti-to repeat system
US7233949B2 (en) System and method for controlling user authorities to access one or more databases
CN113064562A (en) Man-machine interaction printing method and system based on block chain
JP2009252041A (en) Business form image management system, method, and program
JP2002366202A (en) Security system
KR100635733B1 (en) A Proposal Making System And The Method Using The Same
CN116680671A (en) User management method, device and computer medium of human-computer interface
US11954008B2 (en) User action generated process discovery
Li Jira 8 Essentials: Effective issue management and project tracking with the latest Jira features
US7472355B2 (en) Computer-implemented method for managing commands for a terminal session
CN110544092A (en) Dynamic newly-added multi-type database data operation chaining method for block chain
US8000681B2 (en) System and method for managing communication records
JP4887735B2 (en) Information processing apparatus, information processing system, and program
CN108540426A (en) A kind of method, apparatus and server for realizing data processing
JP2013196229A (en) Information processor and information processing program

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