CN113569222A - Single sign-on method for windows program - Google Patents

Single sign-on method for windows program Download PDF

Info

Publication number
CN113569222A
CN113569222A CN202110785701.0A CN202110785701A CN113569222A CN 113569222 A CN113569222 A CN 113569222A CN 202110785701 A CN202110785701 A CN 202110785701A CN 113569222 A CN113569222 A CN 113569222A
Authority
CN
China
Prior art keywords
login
program
attribute
mouse
window
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.)
Granted
Application number
CN202110785701.0A
Other languages
Chinese (zh)
Other versions
CN113569222B (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.)
Chengdu DBAPPSecurity Co Ltd
Original Assignee
Chengdu DBAPPSecurity 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 Chengdu DBAPPSecurity Co Ltd filed Critical Chengdu DBAPPSecurity Co Ltd
Priority to CN202110785701.0A priority Critical patent/CN113569222B/en
Publication of CN113569222A publication Critical patent/CN113569222A/en
Application granted granted Critical
Publication of CN113569222B publication Critical patent/CN113569222B/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/31User authentication
    • G06F21/41User authentication where a single sign-on provides access to a plurality of computers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a single sign-on method for windows programs. The invention provides a method for solving the contradiction between password management and program login by means of the bottom capability of the operating system, solves the password use problem in a special scene, and also improves the program login efficiency in a whole scene.

Description

Single sign-on method for windows program
Technical Field
The invention belongs to the technical field of computer private account information management, and particularly relates to a single sign-on method for a windows program.
Background
In some scenarios, the password administrator is in a different role than the program log-in person, who is responsible for keeping the password and providing it to the program log-in person for use when needed. The program login personnel need login information to log in the program, but passwords cannot be informed to the program login personnel, which is a requirement that the traditional method for the program login personnel to know and use the login information cannot meet.
The existing mode of directly filling in the account password manually has a complex process, and the whole set of login information needs to be manually input every time the system is started. And some rights are discrete, and the scenes needing password management cannot be met.
Disclosure of Invention
The invention provides a single sign-on method for windows programs based on the problems in the prior art, realizes programs which can be logged in by manual actions by directly simulating manual operations, and logs in by the method. The invention provides a method for solving the contradiction between password management and program login by means of the bottom capability of the operating system, solves the password use problem in a special scene, and also improves the program login efficiency in a whole scene.
The specific implementation content of the invention is as follows:
the invention provides a single sign-on method for a windows program, which is used for carrying out single sign-on in the windows program, firstly, a single sign-on auxiliary program is constructed, a sign-on information entry module, a sign-on information use module and a program attribute acquisition module are arranged in the single sign-on auxiliary program, then, the single sign-on is carried out in the windows program based on the single sign-on auxiliary program, and the method specifically comprises the following steps:
step 1: opening a program to be subjected to single sign-on, and then acquiring attribute information of a mouse on the program to be subjected to sign-on entry by using a program attribute acquisition module; constructing an attribute structure table of a window corresponding to the current position of the mouse; the attribute structure table includes
Step 2: using a login information entry module, based on the attribute structure table obtained in the step 1, performing login operation of an account on a program to be subjected to single-point login, recording login operation information, and storing the login operation information in the login information entry module;
and step 3: when the single sign-on is carried out on the program to be subjected to the single sign-on the windows program, the login operation information stored in the login information entry module is pulled through the login information use module, and the single sign-on is carried out through the login operation information.
In order to better implement the present invention, further, the step 1 specifically includes the following steps:
step 1.1: acquiring the current mouse position by using a program attribute acquisition module;
step 1.2: clicking a window acquisition function of a mouse, placing the mouse on a program to be subjected to single sign-on, and acquiring a window attribute of a current mouse position through a program attribute acquisition module;
step 1.3: and (3) acquiring the control attribute of the current mouse position through a program attribute acquisition module according to the window attribute of the mouse position acquired in the step (1.2).
In order to better implement the present invention, further, the specific operations of step 1.1 are: calling a GetCursorPos method of a win32API (application program interface) of a windows program through a program attribute acquisition module to acquire the current position of the mouse, wherein the current position of the mouse is represented in an XY two-dimensional coordinate axis form;
the specific operation of the step 1.2 is as follows: firstly, calling a GetDesktop Window method of a win32API of a windows program by using a program attribute acquisition module to acquire an ID of a desktop window; then, calling an EnumWindowsProc method in a Win32API interface through the desktop window ID, traversing all desktop windows through the EnumWindowsProc method, and sequentially acquiring the ID of each desktop window; then, according to the window ID, calling a GetWindowPlacement method in a Win32API interface, and acquiring the upper, lower, left and right coordinate attributes of the current desktop window through the GetWindowPlacement method; when the current position of the mouse is located in the current desktop window through the EnumWindowsProc method, stopping traversing; and finally, acquiring the title of the traversed current desktop window by a GetWindowText method, acquiring the class name of the traversed current desktop window by a GetClassName method, and then constructing an overall attribute structure table.
In order to better implement the present invention, further, the specific operations of step 1.3 are: traversing the child windows of the current desktop window which is traversed in the step 1.2 and contains the current position of the mouse by adopting an EnumWindowsProc method; until finding the child window containing the current position of the mouse in the current desktop window, then finding the child window ID of the traversed child window containing the current position of the mouse; then, acquiring the title of the traversed child window by a GetWindowText method, and acquiring the class name of the traversed child window by a GetClassName method; and finally, establishing an attribute structure table of the child window.
In order to better implement the present invention, further, the step 2 specifically includes the following steps:
step 2.1: the method comprises the steps that a program attribute acquisition module is used for acquiring the attribute of a control clicked in each step of account login operation of a mouse on a program to be subjected to single sign-on, generating an attribute structure table and generating a login data table for inputting login data;
step 2.2: using a login information input module to obtain information in an input box of login information, recording the attribute corresponding to the input box, and correspondingly filling the attribute of the input box and the content in the input box into a login data table; the information in the input box comprises an account, a password and a login address;
step 2.3: and recording operation steps required by login by adopting a login information input module, and corresponding to the attribute of the input box and the content of the input box.
In order to better implement the present invention, further, the step 3 specifically includes the following steps:
step 3.1: a user opens a program to be subjected to single sign-on;
step 3.2: displaying a data list of a corresponding program to be subjected to single sign-on through a sign-on information using module;
step 3.3: the user selects the corresponding login information data stored in the login information input module;
step 3.4: analyzing login information data by using a login information using module;
step 3.5: using the analyzed login information data to execute the relevant steps of inputting login information;
step 3.6: and finishing the single sign-on operation.
In order to better implement the present invention, further, the specific operations of step 3.4 are: acquiring information content in a login data table through a login information using module; and then executing the operation of opening a login interface, and performing the following operations according to different conditions:
if the operation required to be performed is a click operation: reading values in the attribute structure table through a login information using module, and calculating a coordinate position needing to be clicked; then moving the mouse to the calculated coordinate position by using a SetCursorPos method; finally, simulating Mouse click by using a Mouse _ event method;
if the operation required to be carried out is the operation of sending the text: the login information using module firstly obtains a file handle according to the attribute, then traverses all windows by using an EnumWindowsProc method, and sends a text to the window conforming to the attribute by using a SendMessage after finding the window conforming to the attribute.
In order to better implement the present invention, further, the operation of step 3.5 is: the login information using module reads the relevant information input in the login step in the login data table, and the operation of inputting the login information interface is as follows according to the situation:
if the operation required to be performed is a click operation: reading values in the attribute structure table through a login information using module, and calculating a coordinate position needing to be clicked; then moving the mouse to the calculated coordinate position by using a SetCursorPos method; finally, simulating Mouse click by using a Mouse _ event method;
if the operation required to be carried out is the operation of sending the text: the login information using module firstly obtains a file handle according to the attribute, then traverses all windows by using an EnumWindowsProc method, and sends a text to the window conforming to the attribute by using a SendMessage after finding the window conforming to the attribute.
In order to better implement the present invention, further, the specific operations of step 3.6 are: the login information using module reads the relevant information for initiating login in the login data table, and the operation for initiating login is as follows according to the situation:
if the operation required to be performed is a click operation: reading values in the attribute structure table through a login information using module, and calculating a coordinate position needing to be clicked; then moving the mouse to the calculated coordinate position by using a SetCursorPos method; finally, simulating Mouse click by using a Mouse _ event method;
if the operation required to be carried out is the operation of sending the text: the login information using module firstly obtains a file handle according to the attribute, then traverses all windows by using an EnumWindowsProc method, and sends a text to the window conforming to the attribute by using a SendMessage after finding the window conforming to the attribute.
Compared with the prior art, the invention has the following advantages and beneficial effects:
in the existing single sign-on technology, single sign-on a software level is basically realized, and a single sign-on method provided by software is relied on, but in practical application, the situation that the existing software is unusable always occurs, and manual operation is still required; the invention depends on the capability of the bottommost operating system and can be compatible with all windows operating system software. In all login scenes, particularly in password management, the scene with discrete authority requirements can obviously meet the scene requirements and obviously improve the efficiency. Besides meeting the login scene, the method also meets the login requirement of most programs.
Drawings
FIG. 1 is a schematic diagram of the operation of a program attribute acquisition module according to the present invention;
FIG. 2 is a schematic view of the workflow of the login information entry module of the present invention;
FIG. 3 is a flowchart illustrating the operation of the login information application module according to the present invention.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and therefore should not be considered as a limitation to the scope of protection. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Example 1:
the embodiment provides a single sign-on method for a windows program, which is used for performing single sign-on in the windows program, and as shown in fig. 1, fig. 2, and fig. 3, a single sign-on auxiliary program is first constructed, a login information entry module, a login information use module, and a program attribute acquisition module are set in the single sign-on auxiliary program, and then single sign-on is performed in the windows program based on the single sign-on auxiliary program, and the specific steps are as follows:
step 1: opening a program to be subjected to single sign-on, and then acquiring attribute information of a mouse on the program to be subjected to sign-on entry by using a program attribute acquisition module; constructing an attribute structure table of a window corresponding to the current position of the mouse; the attribute structure table includes
Step 2: using a login information entry module, based on the attribute structure table obtained in the step 1, performing login operation of an account on a program to be subjected to single-point login, recording login operation information, and storing the login operation information in the login information entry module;
and step 3: when the single sign-on is carried out on the program to be subjected to the single sign-on the windows program, the login operation information stored in the login information entry module is pulled through the login information use module, and the single sign-on is carried out through the login operation information.
The working principle is as follows: the Windows platform system calls provide a great number of system calls, wherein some system calls can acquire messages received by Windows, the attributes of the Windows and the attributes of controls in the Windows, the attributes of the Windows are unique, and the attributes of the Windows cannot be changed when Windows systems of different versions are replaced or the versions of the Windows systems are replaced. This is an important technical background and theoretical basis for the process.
Example 2:
based on the foregoing embodiment 1, as shown in fig. 1, the working flow of the program attribute obtaining module specifically includes:
1. after a user opens a certain program needing login entry, the current mouse position is obtained by using the module
The module uses a GetCursorPos method in a Win32API, and the obtained current position of the mouse is represented in a two-dimensional coordinate system coordinate mode (an X-axis Y-axis).
2. After the user clicks the window acquiring function of the mouse and the mouse is placed on a program, the module can acquire the attribute of the window at the current mouse position through system call
The module uses a GetDesktop Window method in a Win32API, and the method obtains the ID of a desktop window
The EnumWindowsProc method in the Win32API is called through the desktop window ID, the method traverses all the desktop windows, sequentially acquires the ID of each window,
and calling a GetWindowPlacement method in the Win32API according to the window ID, wherein the method can acquire the attributes of the upper, lower, left and right coordinates of the current window.
If the window is in the current mouse position, stopping executing the EnumWindowsProc method, and finding out the window ID where the mouse is positioned
Window title can be obtained through GetWindowText method
Obtaining a window class name by a GetClassName method;
the overall attributes are shown in the attribute structure table.
3. After a user clicks an acquisition control window of a mouse, when the mouse is placed on a control of a program, the module can acquire the control attribute of the current mouse position through system call.
The application window ID has been taken in step 2 above,
the module will invoke the EnumWindowsProc method, which will traverse all the child windows of the application window.
If the attribute of the child window is in accordance with the current mouse position, stopping executing the EnumWindowsProc method, and then finding the ID of the child window where the mouse is positioned
The window title can be obtained by a GetWindowText method;
and obtaining the window class name by a GetClassName method.
The resulting attribute structure table is shown in table 1 below:
Figure BDA0003158661260000061
table 1 attribute structure table
The relative position of the window on the display and the central position of the window can be calculated through simple addition, subtraction, multiplication and division according to the upper, lower, left and right coordinates.
Other parts of this embodiment are the same as those of embodiment 1, and thus are not described again.
Example 3:
in this embodiment, on the basis of any one of the foregoing embodiments 1-2, in order to better implement the present invention, as shown in fig. 2, a specific processing flow of the login information entry module is as follows:
1. the user (who is a person with the authority to know the password in the scene with the password management requirement) opens the software, records the step of opening the login interface and inputs the module,
when the user uses the module, the attribute acquisition module can be used for acquiring the attributes of the control clicked in each step in the step of opening the software login interface from the software interface, and the attributes are the same as those in the table 1: attribute structure table, data entry as table 2: and logging in a data entry table.
2. And the user inputs information on the login interface, records the attribute of the input box and the corresponding login information and inputs the information into the module.
The information input by the user in each input box is recorded, the user uses the attribute acquisition module to acquire the information of the login information input box, acquire the attribute of the input box, record the attribute of the input box and the corresponding text, and the data entry is as shown in table 2: and logging in a data entry table.
And (5) repeating the step (2), and sequentially inputting the attributes and texts of the input items such as the account, the password, the login address and the like.
3. And the user performs a process of initiating login, records the steps and inputs the steps into the module.
After the user login information is input, the user also needs to carry out click login operation, and the user records the steps needed by login and carries out record related operation. Data entry is as in table 2: and logging in a data entry table.
4. And the module records all the input information, manages and stores the information with the client.
Figure BDA0003158661260000071
TABLE 2 Login entry datasheet
Other parts of this embodiment are the same as any of embodiments 1-2 described above, and thus are not described again.
Example 4:
in this embodiment, on the basis of any one of the foregoing embodiments 1 to 3, in order to better implement the present invention, as shown in fig. 3, a specific processing flow of the login information using module is as follows:
1. and the user opens a program needing to be logged in.
2. The module will show the user the client that the user can use and the list of the corresponding information;
table 2: the software for logging in the information entry form and the account are the same, and the set of a series of steps is one item in the list. The user can select one of the items for single sign-on.
3. A user selects a certain client and a login information item;
4. the module analyzes and executes the relevant steps of opening the login information;
the module can take the relevant information of the step of opening the login interface in the login information entry table in the table 2;
the step of opening the login interface comprises one or more operations, specifically:
if the operation is a click operation, the module reads the value in the attribute to calculate the coordinate position needing to be clicked, moves the Mouse to the calculated left position by using SetCursorPos, and simulates Mouse clicking by using Mouse _ event.
If the operation is the operation of sending the text, a file handle is obtained according to the attribute, all windows are traversed by using the EnumWindowsProc, and the text is sent to the window by using the SendMessage after the window which accords with the attribute is found.
5. The module analyzes and executes the relevant steps of inputting login information
The module will take the relevant information of the step of inputting login information in the login information entry form of table 2.
The step of inputting the login information interface comprises one or more operations, which specifically comprise the following steps:
if the operation is a click operation, the module reads the value in the attribute to calculate the coordinate position needing to be clicked, moves the Mouse to the calculated left position by using SetCursorPos, and simulates Mouse clicking by using Mouse _ event.
If the operation is the operation of sending the text, a file handle is obtained according to the attribute, all windows are traversed by using the EnumWindowsProc, and the text is sent to the window by using the SendMessage after the window which accords with the attribute is found.
6. The module analyzes and executes the relevant steps of initiating login
The module will take the relevant information of table 2 login information entry table to initiate the login step.
The step of initiating the login interface comprises one or more operations, which specifically comprise the following steps:
if the operation is a click operation, the module reads the value in the attribute to calculate the coordinate position needing to be clicked, moves the Mouse to the calculated left position by using SetCursorPos, and simulates Mouse clicking by using Mouse _ event.
If the operation is the operation of sending the text, a file handle is obtained according to the attribute, all windows are traversed by using the EnumWindowsProc, and the text is sent to the window by using the SendMessage after the window which accords with the attribute is found.
Other parts of this embodiment are the same as any of embodiments 1 to 3, and thus are not described again.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, and all simple modifications and equivalent variations of the above embodiments according to the technical spirit of the present invention are included in the scope of the present invention.

Claims (9)

1. A single sign-on method for a windows program is used for single sign-on in the windows program, and is characterized in that a single sign-on auxiliary program is firstly constructed, a sign-on information entry module, a sign-on information use module and a program attribute acquisition module are arranged in the single sign-on auxiliary program, and then single sign-on is carried out in the windows program based on the single sign-on auxiliary program, and the method comprises the following specific steps:
step 1: opening a program to be subjected to single sign-on, and then acquiring attribute information of a mouse on the program to be subjected to sign-on entry by using a program attribute acquisition module; constructing an attribute structure table of a window corresponding to the current position of the mouse; the attribute structure table includes
Step 2: using a login information entry module, based on the attribute structure table obtained in the step 1, performing login operation of an account on a program to be subjected to single-point login, recording login operation information, and storing the login operation information in the login information entry module;
and step 3: when the single sign-on is carried out on the program to be subjected to the single sign-on the windows program, the login operation information stored in the login information entry module is pulled through the login information use module, and the single sign-on is carried out through the login operation information.
2. The single sign-on method for a windows program of claim 1, wherein the step 1 specifically comprises the steps of:
step 1.1: acquiring the current mouse position by using a program attribute acquisition module;
step 1.2: clicking a window acquisition function of a mouse, placing the mouse on a program to be subjected to single sign-on, and acquiring a window attribute of a current mouse position through a program attribute acquisition module;
step 1.3: and (3) acquiring the control attribute of the current mouse position through a program attribute acquisition module according to the window attribute of the mouse position acquired in the step (1.2).
3. The single sign-on method for windows program of claim 2, characterized in that the specific operation of step 1.1 is: calling a GetCursorPos method of a win32API (application program interface) of a windows program through a program attribute acquisition module to acquire the current position of the mouse, wherein the current position of the mouse is represented in an XY two-dimensional coordinate axis form;
the specific operation of the step 1.2 is as follows: firstly, calling a GetDesktop Window method of a win32API of a windows program by using a program attribute acquisition module to acquire an ID of a desktop window; then, calling an EnumWindowsProc method in a Win32API interface through the desktop window ID, traversing all desktop windows through the EnumWindowsProc method, and sequentially acquiring the ID of each desktop window; then, according to the window ID, calling a GetWindowPlacement method in a Win32API interface, and acquiring the upper, lower, left and right coordinate attributes of the current desktop window through the GetWindowPlacement method; when the current position of the mouse is located in the current desktop window through the EnumWindowsProc method, stopping traversing; and finally, acquiring the title of the traversed current desktop window by a GetWindowText method, acquiring the class name of the traversed current desktop window by a GetClassName method, and then constructing an overall attribute structure table.
4. The single sign-on method for windows program of claim 3, characterized in that the specific operation of step 1.3 is: traversing the child windows of the current desktop window which is traversed in the step 1.2 and contains the current position of the mouse by adopting an EnumWindowsProc method; until finding the child window containing the current position of the mouse in the current desktop window, then finding the child window ID of the traversed child window containing the current position of the mouse; then, acquiring the title of the traversed child window by a GetWindowText method, and acquiring the class name of the traversed child window by a GetClassName method; and finally, establishing an attribute structure table of the child window.
5. The single sign-on method for a windows program of claim 1, wherein the step 2 specifically comprises the steps of:
step 2.1: the method comprises the steps that a program attribute acquisition module is used for acquiring the attribute of a control clicked in each step of account login operation of a mouse on a program to be subjected to single sign-on, generating an attribute structure table and generating a login data table for inputting login data;
step 2.2: using a login information input module to obtain information in an input box of login information, recording the attribute corresponding to the input box, and correspondingly filling the attribute of the input box and the content in the input box into a login data table; the information in the input box comprises an account, a password and a login address;
step 2.3: and recording operation steps required by login by adopting a login information input module, and corresponding to the attribute of the input box and the content of the input box.
6. The single sign-on method for a windows program of claim 5, wherein the step 3 specifically comprises the steps of:
step 3.1: a user opens a program to be subjected to single sign-on;
step 3.2: displaying a data list of a corresponding program to be subjected to single sign-on through a sign-on information using module;
step 3.3: the user selects the corresponding login information data stored in the login information input module;
step 3.4: analyzing login information data by using a login information using module;
step 3.5: using the analyzed login information data to execute the relevant steps of inputting login information;
step 3.6: and finishing the single sign-on operation.
7. The single sign-on method for windows program of claim 6, characterized in that the specific operation of step 3.4 is: acquiring information content in a login data table through a login information using module; and then executing the operation of opening a login interface, and performing the following operations according to different conditions:
if the operation required to be performed is a click operation: reading values in the attribute structure table through a login information using module, and calculating a coordinate position needing to be clicked; then moving the mouse to the calculated coordinate position by using a SetCursorPos method; finally, simulating Mouse click by using a Mouse _ event method;
if the operation required to be carried out is the operation of sending the text: the login information using module firstly obtains a file handle according to the attribute, then traverses all windows by using an EnumWindowsProc method, and sends a text to the window conforming to the attribute by using a SendMessage after finding the window conforming to the attribute.
8. The single sign-on method for a windows program of claim 7, wherein the operation of step 3.5 is: the login information using module reads the relevant information input in the login step in the login data table, and the operation of inputting the login information interface is as follows according to the situation:
if the operation required to be performed is a click operation: reading values in the attribute structure table through a login information using module, and calculating a coordinate position needing to be clicked; then moving the mouse to the calculated coordinate position by using a SetCursorPos method; finally, simulating Mouse click by using a Mouse _ event method;
if the operation required to be carried out is the operation of sending the text: the login information using module firstly obtains a file handle according to the attribute, then traverses all windows by using an EnumWindowsProc method, and sends a text to the window conforming to the attribute by using a SendMessage after finding the window conforming to the attribute.
9. The single sign-on method for windows program of claim 8, characterized in that the concrete operation of step 3.6 is: the login information using module reads the relevant information for initiating login in the login data table, and the operation for initiating login is as follows according to the situation:
if the operation required to be performed is a click operation: reading values in the attribute structure table through a login information using module, and calculating a coordinate position needing to be clicked; then moving the mouse to the calculated coordinate position by using a SetCursorPos method; finally, simulating Mouse click by using a Mouse _ event method;
if the operation required to be carried out is the operation of sending the text: the login information using module firstly obtains a file handle according to the attribute, then traverses all windows by using an EnumWindowsProc method, and sends a text to the window conforming to the attribute by using a SendMessage after finding the window conforming to the attribute.
CN202110785701.0A 2021-07-12 2021-07-12 Single sign-on method for windows program Active CN113569222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110785701.0A CN113569222B (en) 2021-07-12 2021-07-12 Single sign-on method for windows program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110785701.0A CN113569222B (en) 2021-07-12 2021-07-12 Single sign-on method for windows program

Publications (2)

Publication Number Publication Date
CN113569222A true CN113569222A (en) 2021-10-29
CN113569222B CN113569222B (en) 2024-04-05

Family

ID=78164477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110785701.0A Active CN113569222B (en) 2021-07-12 2021-07-12 Single sign-on method for windows program

Country Status (1)

Country Link
CN (1) CN113569222B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404314A (en) * 2010-09-30 2012-04-04 微软公司 Remote resources single-point sign on
CN102413125A (en) * 2011-11-02 2012-04-11 深圳中兴力维技术有限公司 Single-point login method and system
US20120102560A1 (en) * 2010-04-21 2012-04-26 Randall Arms Synchronized sign-on methods for non-programmatic integration systems
CN103401883A (en) * 2013-08-16 2013-11-20 深信服网络科技(深圳)有限公司 Single sign-on method and system
US20170195415A1 (en) * 2016-01-06 2017-07-06 Ca, Inc. Identity-to-account correlation and synchronization
CN107395613A (en) * 2017-08-09 2017-11-24 上海织语网络科技有限公司 A kind of self-adapted service system single-sign-on accessory system and single-point logging method
CN108718301A (en) * 2018-05-09 2018-10-30 广州市冰海网络技术有限公司 A kind of method of remote system single-sign-on
CN109614169A (en) * 2018-12-29 2019-04-12 上海上讯信息技术股份有限公司 Window client application program automatic operation method based on pixel coordinate mode
CN110035088A (en) * 2019-04-26 2019-07-19 厦门商集网络科技有限责任公司 Method and apparatus based on RPA remote control operation system automated log on
CN111460356A (en) * 2020-04-23 2020-07-28 北京信安世纪科技股份有限公司 Automatic login method, device, medium and equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120102560A1 (en) * 2010-04-21 2012-04-26 Randall Arms Synchronized sign-on methods for non-programmatic integration systems
CN102404314A (en) * 2010-09-30 2012-04-04 微软公司 Remote resources single-point sign on
US20120084570A1 (en) * 2010-09-30 2012-04-05 Microsoft Corporation Remote Resources Single Sign On
CN102413125A (en) * 2011-11-02 2012-04-11 深圳中兴力维技术有限公司 Single-point login method and system
CN103401883A (en) * 2013-08-16 2013-11-20 深信服网络科技(深圳)有限公司 Single sign-on method and system
US20170195415A1 (en) * 2016-01-06 2017-07-06 Ca, Inc. Identity-to-account correlation and synchronization
CN107395613A (en) * 2017-08-09 2017-11-24 上海织语网络科技有限公司 A kind of self-adapted service system single-sign-on accessory system and single-point logging method
CN108718301A (en) * 2018-05-09 2018-10-30 广州市冰海网络技术有限公司 A kind of method of remote system single-sign-on
CN109614169A (en) * 2018-12-29 2019-04-12 上海上讯信息技术股份有限公司 Window client application program automatic operation method based on pixel coordinate mode
CN110035088A (en) * 2019-04-26 2019-07-19 厦门商集网络科技有限责任公司 Method and apparatus based on RPA remote control operation system automated log on
CN111460356A (en) * 2020-04-23 2020-07-28 北京信安世纪科技股份有限公司 Automatic login method, device, medium and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭建伟: "系统登录 如此简便又安全", 电脑爱好者, no. 14, 15 July 2012 (2012-07-15), pages 78 *

Also Published As

Publication number Publication date
CN113569222B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
US11620602B2 (en) Application usage and process monitoring in an enterprise environment having agent session recording for process definition
CN110045953B (en) Method and computing device for generating business rule expression
US20020062367A1 (en) Opportunity tracking information system
US9442618B2 (en) Mobile device interface generator
CN103559445B (en) A kind of application program interaction control method and device
WO2011091163A1 (en) Metadata-configurable systems and methods for network services
US20130110588A1 (en) Application usage and process monitoring in an enterprise environment
US20120179503A1 (en) Dynamic web services work flow system and method
US20130085811A1 (en) Work product transparency
US20110202384A1 (en) Enterprise Rendering Platform
EP3387519A1 (en) Creating notes on lock screen
US11755698B2 (en) Systems, methods, and devices for automation and integration of credentialing and authentication in workflows associated with computing platforms
US20120166983A1 (en) Integrated metadata and nested authorizations in a user interface framework
US20080155480A1 (en) Methods and apparatus for generating workflow steps using gestures
EP3846092A1 (en) Device and method for promoting eco-friendly actions and helping to achieve predetermined environmental goals
CN113569222B (en) Single sign-on method for windows program
US20150317721A1 (en) Enterprise mobile application for managing sales activites
CN106570699A (en) Client contact information excavation method and server
US20220337569A1 (en) Systems, methods, and devices for automation and integration of credentialing and authentication in workflows associated with computing platforms
WO2014138271A2 (en) Cloud-based real-time value stream mapping system and method
US20180136791A1 (en) Conversation connected visualization of items based on a user created list
CN111176982A (en) Test interface generation method and device
US11100449B1 (en) Systems and methods for efficiency management
TW201627938A (en) Social media environment data processing system and method
Familiar et al. Data visualizations, alerts, and notifications with power BI

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