Application system login method, device and system, computer equipment, readable storage medium and program product
By obtaining the login page URL and code information of the web application system, combining the system environment information, and calling a large language model to generate automatic login scripts, it solves the cumbersome problem of users remembering and entering credentials when frequently logging into different web application systems, and realizes the application system Automatic login improves user experience and operation continuity.
Patent Information
- Application Number
- CN202411958550.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-02-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When users frequently log in to different web application systems, they need to remember and enter a large number of user names and passwords, which leads to cumbersome and time-consuming login process, affecting the sustainability of computer operations and the user experience of the application system.
By periodically obtaining the URL of the login page of the operating system accessing the Web application system, obtaining the code information of the login page and the system environment information, determining the matching login credential information, and calling the large language model to generate an automatic login script to achieve no need for user input credentials Automatically log in.
It realizes automatic login of the application system, reduces the burden of user memory and input credentials, improves the convenience of login and the sustainability of computer operations, and improves the user experience of the application system.
Smart Images

Figure CN119397513A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an application system login method, apparatus, system, computer equipment, readable storage medium and program product. Background Art
[0002] When people use computers, they often need to frequently log in to various Web (World Wide Web, also known as the World Wide Web) application systems. These application systems include not only external application systems (such as online mailboxes, network disks, third-party cloud services, etc.), but also internal enterprise application systems (such as financial systems, attendance systems, performance systems, OA (Office Automation) systems, etc.).
[0003] In traditional technology, users generally log in to a Web application system by using a username and password, that is, they enter their username and password on the login interface of the application system and then click the login button to complete the login process. In daily work, people often need to frequently switch between different application systems, so they need to enter different credentials (such as different usernames and passwords).
[0004] However, faced with numerous Web application systems, users not only need to remember a large number of combinations of usernames and passwords, but the process of entering credentials is cumbersome and time-consuming. Summary of the invention
[0005] Based on this, it is necessary to provide an application system login method, device, system, computer equipment, computer-readable storage medium and computer program product that can automatically log in to the above technical problems.
[0006] In a first aspect, the present application provides an application system login method, comprising:
[0007] Periodically obtain the URL of the login page for the operating system to access the Web application system;
[0008] When it is determined that the URL of the login page exists in the pre-configured automatic login application list, obtaining code information corresponding to the login page of the Web application system;
[0009] Obtaining system environment information of the operating system, and determining login credential information matching the URL of the login page and the system environment information;
[0010] Invoke the large language model to generate an automatic login script for the Web application system according to the code information corresponding to the login page of the Web application system and the login credential information;
[0011] Log in to the Web application system according to the automatic login script.
[0012] In one of the embodiments, calling a large language model to generate an automatic login script for the Web application system according to the code information corresponding to the login page of the Web application system and the login credential information includes: determining prompt information for instructing the large language model to generate an automatic login script for the Web application system according to the code information corresponding to the login page of the Web application system and the login credential information; the prompt information is used to instruct the large language model to perform reasoning according to the code information and the login credential information and generate an automatic login script for the Web application system; and calling the large language model to generate an automatic login script for the Web application system according to the prompt information.
[0013] In one embodiment, the automatic login script includes the login credential information, and the login credential information includes a login account and a login password; logging into the Web application system according to the automatic login script includes: executing the automatic login script to automatically fill in the login account and login password on the login page of the Web application system, and logging into the Web application system.
[0014] In one of the embodiments, determining the login credential information that matches the URL of the login page and the system environment information includes: querying the login credential information that matches the URL of the login page and the system environment information in a local database or a remote server, the local database or the remote server storing a mapping relationship between the URL of the login page, the system environment information, and the login credential information, the system environment information including the user name for logging into the operating system, the network IP address and MAC address of the computer running the operating system; when the login credential information that matches the URL of the login page and the system environment information is queried, determining the queried login credential information.
[0015] In one embodiment, the obtaining of code information corresponding to the login page of the Web application system includes: calling a browser interface to obtain the source code of the login page of the Web application system to obtain the code information corresponding to the login page.
[0016] In a second aspect, the present application provides an application system login device, the device comprising:
[0017] The URL acquisition module is used to periodically acquire the URL of the login page for the operating system to access the Web application system;
[0018] A code acquisition module, used to acquire code information corresponding to the login page of the Web application system when it is determined that the URL of the login page exists in the pre-configured automatic login application list;
[0019] An information determination module, configured to obtain system environment information of the operating system and determine login credential information matching the URL of the login page and the system environment information;
[0020] A script determination module, configured to call a large language model to generate an automatic login script for the Web application system according to the code information corresponding to the login page of the Web application system and the login credential information;
[0021] The login module is used to log in to the Web application system according to the automatic login script.
[0022] In a third aspect, the present application provides a login system, the system comprising a login application, an operating system, and a large language model running in a computer device:
[0023] The operating system is used to respond to a login operation for accessing the Web application system and access a login page of the Web application system according to the login operation;
[0024] The login application is used to periodically obtain the URL of the login page of the operating system to access the Web application system; when it is determined that the URL of the login page exists in the pre-configured automatic login application list, obtain the code information corresponding to the login page of the Web application system; and obtain the system environment information of the operating system to determine the login credential information matching the URL of the login page and the system environment information; according to the code information corresponding to the login page of the Web application system and the login credential information, determine the prompt information for instructing the large language model to generate the automatic login script of the Web application system;
[0025] The large language model generates an automatic login script for the Web application system according to the prompt information;
[0026] The login application is also used to log in to the Web application system according to the automatic login script.
[0027] In a fourth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described in the first aspect when executing the computer program.
[0028] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0029] In a sixth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect above.
[0030] The above-mentioned application system login method, device, system, computer equipment, computer-readable storage medium and computer program product, the login client software periodically obtains the URL of the login page of the Web application system accessed by the operating system, and obtains the code information corresponding to the login page of the Web application system when it is determined that the URL of the login page exists in the pre-configured automatic login application list, and obtains the system environment information of the operating system, determines the login credential information matching the URL of the login page and the system environment information, and calls the large language model to generate the automatic login script of the Web application system according to the code information and login credential information corresponding to the login page of the Web application system, and then logs in to the Web application system according to the automatic login script. Thereby, the automatic login is realized without the user having to remember and enter the login credentials, making the login of the application system simpler and more portable, which is not only conducive to improving the user experience of the application system, but also can improve the continuity of computer operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments of the present application or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A schematic diagram of a flow chart of a method for logging into an application system in an embodiment;
[0033] Figure 2 A schematic diagram of a flow chart of a step of determining login credential information in one embodiment;
[0034] Figure 3 A schematic diagram of a flow chart of steps for generating an automatic login script in one embodiment;
[0035] Figure 4 A schematic diagram of the architecture of an application system login method in one embodiment;
[0036] Figure 5 It is a structural block diagram of an application system login device in an embodiment;
[0037] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0039] In the process of daily computer use, people need to frequently log in to different Web application systems to carry out corresponding work, production, communication, social interaction and learning, etc. Usually, when logging in to a Web application system, in order to improve security, it is necessary to enter a username and password combination (i.e., credentials) for identity authentication. However, with the increasing number of application systems, not only does it cause inconvenience to users every time they log in to an application system, but it is also not easy for users to remember a large number of credentials in their minds. As time goes by, users often forget their usernames or passwords and are unable to log in to the application system. Moreover, the process of entering credentials is cumbersome and time-consuming, which seriously affects the continuity of computer operations and the user experience of the application system.
[0040] To deal with the above problems, traditional technologies mainly adopt the following solutions:
[0041] 1) Record the user name and password of the application system in a computer (such as a text file). Each time the user logs into the application system, they copy and paste the relevant application credentials from the text file. Although this approach can reduce the burden of remembering credentials for users, once the file recording the credentials is lost, the entire application system will be exposed to risks and there is a risk of data theft.
[0042] 2) Some commonly used browsers also provide the function of automatically recording login credentials. This method stores the application system credentials in the user's browser cache. When the user logs into the application system, the user name and password can be automatically filled in from the cache. However, the browser is not a secure storage location, making the credentials easy to be stolen.
[0043] 3) There is also a method of automatically logging into the application system by modifying the application system's own code. This method requires a certain amount of modification, configuration, and integration work on the application system. However, since the development languages, programming frameworks, and UI (User Interface) used by each application system are completely different, it is necessary to customize and modify the application system one by one, resulting in a large amount of modification work, and thus it is not scalable and applicable.
[0044] Based on this, the present application provides an application system login method, which obtains the current status data of the browser, including the URL (uniform resource locator) and HTML (HyperText Mark-up Language) source code of the current login page. When it is determined that the URL is in the automatic login application list, the source code is analyzed and inferred using the LLM model (Large Language Model) based on the queried login credential information, and an automatic login script is fed back. By executing the automatic login script, the browser is guided and controlled to complete the automatic login of the application system, thereby eliminating the need for the user to remember and enter the login credentials, making the login of the application system simpler and more portable, which is conducive to improving the user experience of the application system and the continuity of computer operations.
[0045] In one embodiment, Figure 1 As shown, a method for logging into an application system is provided. This embodiment uses the method applied to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method can include the following steps:
[0046] Step 102: Periodically obtain the URL of the login page for the operating system to access the Web application system.
[0047] Among them, the operating system is a very important software component in the computer system. Its main function is to manage various hardware and software of the computer system and provide underlying services to applications, such as processor scheduling, memory management, file management, etc.
[0048] A Web application system is an application that can be accessed through the Web. Its characteristic is that users can easily access the application. They only need a browser and do not need to install other software. The login page is a page for logging into the Web application system through a browser. URL is a representation method for specifying the location of information on the World Wide Web service program of the Internet. In this embodiment, the URL of the login page refers to the page for logging into the Web application system through a browser, which is based on the representation of the World Wide Web service program of the Internet for specifying the location of information.
[0049] In this embodiment, a login client software may be installed in the terminal, and the login client software may be a computer program for executing the login method of the application system of the present application. Specifically, the login client software automatically runs in the background process after the terminal is started, and periodically obtains the URL of the login page of the operating system to access the Web application system. Among them, the period can be achieved by timing, such as timing 500ms (milliseconds), then the login client listens to the operating system's operating behavior every 500ms, and obtains the URL of the login page of the operating system to access the Web application system. Specifically, the login client software can obtain the URL of the login page of the operating system to access the Web application system by calling the browser interface.
[0050] Step 104: when it is determined that the URL of the login page exists in the pre-configured automatic login application list, code information corresponding to the login page of the Web application system is obtained.
[0051] The automatic login application list may be a list of pre-configured Web application systems that can be automatically logged in. The list may be stored in a local database or in a remote server. The code information may be the HTML source code of the login page of the currently accessed Web application system.
[0052] In this embodiment, after the login client software obtains the URL of the login page for accessing the Web application system based on the above steps, it can query whether the URL of the login page exists based on the pre-configured automatic login application list, and obtain the code information corresponding to the login page of the Web application system when it is determined that the URL of the login page exists in the pre-configured automatic login application list. Specifically, the login client software can obtain the HTML source code of the login page of the Web application system by calling the browser interface, thereby obtaining the code information corresponding to the login page.
[0053] It is understandable that if the login client software fails to query the URL of the login page based on the pre-configured automatic login application list, that is, the URL of the login page does not exist in the pre-configured automatic login application list, it means that the corresponding Web application system cannot perform automatic login, so it can be processed in the conventional login method.
[0054] Step 106, obtaining system environment information of the operating system, and determining login credential information that matches the URL of the login page and the system environment information.
[0055] The system environment information may include the user name for logging into the operating system, the IP (Internet Protocol) address and MAC address (Media Access Control or Medium Access Control, which is translated as media access control, or called physical address, hardware address, used to define the location of network devices) of the computer network running the operating system, etc. The login credential information may include the login account and login password.
[0056] Specifically, when the login client software determines based on the above steps that there is a login page URL in the pre-configured automatic login application list, it further obtains system environment information of the operating system, and uses the system environment information and the URL of the login page as query parameters to query matching login credential information, that is, to query the login account and login password corresponding to a specific user of a specific computer in a specific application system.
[0057] Step 108, based on the code information and login credential information corresponding to the login page of the Web application system, the large language model is called to generate an automatic login script for the Web application system.
[0058] Among them, the large language model LLM refers to a deep learning model with large-scale parameters and complex computing structure, usually built by a deep neural network. This model performs unsupervised learning through a large amount of text data and can handle complex natural language processing tasks such as text generation, question-answering systems, semantic understanding and reasoning.
[0059] The automatic login script is an executable file for automatic login written in a certain format using a specific descriptive language. In this embodiment, the automatic login script can be an executable file for automatic login to a Web application system generated by a large language model.
[0060] Specifically, after the login client software determines the login credential information that matches the URL of the login page and the system environment information based on the above steps, it can also call the large language model to generate an automatic login script for automatically logging into the Web application system based on the login credential information and the code information corresponding to the login page of the Web application system.
[0061] Step 110: Log in to the Web application system according to the automatic login script.
[0062] In this embodiment, the login client software can log in to the Web application system according to the automatic login script generated above, thereby realizing automatic login without user operation.
[0063] In the above application system login method, the login client software periodically obtains the URL of the login page of the Web application system accessed by the operating system, and when it is determined that the URL of the login page exists in the pre-configured automatic login application list, obtains the code information corresponding to the login page of the Web application system, obtains the system environment information of the operating system, determines the login credential information matching the URL of the login page and the system environment information, and calls the large language model to generate the automatic login script of the Web application system according to the code information and login credential information corresponding to the login page of the Web application system, and then logs in to the Web application system according to the automatic login script. Thus, the user does not need to remember and enter the login credentials to realize automatic login, making the login of the application system simpler and more portable, which is not only conducive to improving the user experience of the application system, but also can improve the continuity of computer operation.
[0064] In an exemplary embodiment, Figure 2 As shown, in step 106, determining the login credential information that matches the URL of the login page and the system environment information may specifically include:
[0065] Step 202, query the local database or remote server for login credential information that matches the URL of the login page and the system environment information.
[0066] The local database or remote server stores the pre-configured URL of the login page of the Web application system that can automatically log in, the system environment information that can automatically log in to the Web application system, and the mapping relationship between the login credential information. The system environment information may include the user name for logging in to the operating system, the computer network IP address and MAC address of the operating system. The specific mapping relationship may be as shown in the following table:
[0067]
[0068] Specifically, the above mapping relationship can be stored in a local database or a remote server. When the login client software determines that the URL of the login page exists in the pre-configured automatic login application list, it further obtains the system environment information of the operating system, and uses the system environment information and the URL of the login page as query parameters to query whether there is login credential information with a mapping relationship between the system environment information and the URL of the login page in the local database or the remote server, that is, to query the matching login credential information.
[0069] Step 204: when the login credential information matching the URL of the login page and the system environment information is found, the found login credential information is determined.
[0070] Specifically, when the login client software queries for login credential information that matches the URL of the login page and the system environment information, the queried login credential information can be determined and acquired.
[0071] For example, if the URL of the login page is "URL 2", and the system environment information is "2", the IP address is "IP 2", and the MAC address is "MAC 2", based on this query, the login credential information that matches the URL of the login page and the system environment information is "Username: name 2, Password: XXX2". Among them, "name 2" is the corresponding login account, and "XXX2" is the login password. That is, the login credential information that matches the URL of the login page and the system environment information can be queried in the table, and the queried login credential information is determined and obtained.
[0072] It is understandable that if no login credential information matching the URL of the login page and the system environment information is found in the table, it means that the system environment information does not match the URL of the login page, that is, the current operating system cannot automatically log in to the corresponding Web application system. Therefore, it can be processed in the conventional login method to further improve the security of automatic login.
[0073] In an exemplary embodiment, Figure 3 As shown, in step 108, according to the code information and login credential information corresponding to the login page of the Web application system, the large language model is called to generate an automatic login script for the Web application system, which may specifically include:
[0074] Step 302: Determine corresponding prompt information according to the code information and login credential information corresponding to the login page of the Web application system.
[0075] The prompt information is used to instruct the large language model to generate an automatic login script for the Web application system. Specifically, the prompt information is used to instruct the large language model to perform reasoning based on the code information and the login credential information and generate an automatic login script for the Web application system.
[0076] In this embodiment, there is no fixed format requirement for the text of the prompt information, and its purpose is to tell the large language model the task to be performed, that is, to generate an automatic login script that can be used for the browser web page. Specifically, the login client software determines the prompt information for instructing the large language model to generate the automatic login script of the Web application system according to the code information and login credential information corresponding to the login page of the Web application system.
[0077] Step 304: according to the prompt information, call the large language model to generate an automatic login script for the Web application system.
[0078] In this embodiment, the login client software calls the large language model to generate an automatic login script for the Web application system based on the prompt information determined in the above steps.
[0079] Specifically, the prompt information can be expressed as follows:
[0080] Based on the HTML source code snippet of the following web page (i.e. the specific code information corresponding to the login page) and the login credential information (including the login account and login password), a browser automatic login script is generated, which can automatically complete the login operation of the web page. The following steps need to be performed:
[0081] 1. Open the login page of the web page.
[0082] 2. Find the login account and password input boxes, and fill in the login account and password.
[0083] 3. Find the login button and simulate a click.
[0084] 4. Verify successful login (by checking the URL of the page or other post-login elements).
[0085] 5. If you need to process additional verification steps, try to process them.
[0086] The large language model can infer based on the above prompt information and generate an automatic login script that can be executed by the browser. Specifically, frameworks such as Puppeteer (a Node.js tool library developed by Google that provides a set of high-level interfaces to control Chromium or Chrome browsers through the DevTools protocol for automated testing, web crawling, etc.), Selenium (a tool for Web application testing), or Playwright (an open source library for automating Web browser interactions) can be used to generate automatic login scripts for Web application systems.
[0087] Then the login client software can execute the automatic login script to automatically fill in the login account and login password of the login page of the Web application system, and automatically click the login button to log in to the Web application system, thereby realizing automatic login of the Web application system.
[0088] In an exemplary embodiment, Figure 4 As shown, the above application system login method is further described, which may specifically include:
[0089] 1. When a user needs to log in to a Web application system, he or she can access the login page of the Web application system through a browser.
[0090] 2. When the login client software, i.e., the client program, monitors the login behavior, it obtains the URL of the login page and determines whether the URL of the login page exists in the pre-configured automatic login application list.
[0091] 3. When the client program determines that the URL of the login page exists in the pre-configured automatic login application list, it requests status information, that is, requests code information corresponding to the login page of the Web application system.
[0092] 4. The browser interface sends status information, that is, sends the code information corresponding to the login page of the Web application system.
[0093] 5. The client program obtains the system environment information of the operating system and searches the database for login credential information that matches the URL of the login page and the system environment information.
[0094] 6. The client program sends the queried login credential information and the code information corresponding to the login page to the large language model LLM.
[0095] 7. The large language model LLM generates an automatic login script for the Web application system and returns the automatic login script to the client program.
[0096] 8. The client program executes the automatic login script to automatically complete the login process of the Web application system.
[0097] In the above embodiment, the automatic login script of the Web application system is generated by calling the large language model to realize the automatic login of the Web application system, so that the user does not need to remember and enter the login credentials to realize the automatic login, making the login of the application system simpler and more portable. Compared with the traditional method of traversing and searching for controls by programming, it is more convenient and flexible. By combining the large language model with AI (Artificial Intelligence) technology, the "fuzziness" of the algorithm makes it suitable for wide compatibility with automatic login of various types of Web application systems, and there is no need to debug and adapt Web applications one by one, which can significantly improve the fluency of daily computer use.
[0098] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0099] Based on the same inventive concept, the embodiment of the present application also provides an application system login device for implementing the application system login method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more application system login device embodiments provided below can refer to the limitations on the application system login method above, and will not be repeated here.
[0100] In an exemplary embodiment, Figure 5 As shown, an application system login device is provided, including: a URL acquisition module 502, a code acquisition module 504, an information determination module 506, a script determination module 508 and a login module 510, wherein:
[0101] URL acquisition module 502, used to periodically acquire the URL of the login page for the operating system to access the Web application system;
[0102] The code acquisition module 504 is used to acquire the code information corresponding to the login page of the Web application system when it is determined that the URL of the login page exists in the pre-configured automatic login application list;
[0103] An information determination module 506 is used to obtain system environment information of the operating system and determine login credential information matching the URL of the login page and the system environment information;
[0104] A script determination module 508, configured to call a large language model to generate an automatic login script for the Web application system according to the code information corresponding to the login page of the Web application system and the login credential information;
[0105] The login module 510 is used to log in to the Web application system according to the automatic login script.
[0106] In an exemplary embodiment, the script determination module is also used to: determine prompt information for instructing the large language model to generate an automatic login script for the Web application system based on the code information corresponding to the login page of the Web application system and the login credential information; the prompt information is used to instruct the large language model to perform reasoning based on the code information and the login credential information and generate an automatic login script for the Web application system; and according to the prompt information, call the large language model to generate an automatic login script for the Web application system.
[0107] In an exemplary embodiment, the automatic login script includes the login credential information, and the login credential information includes a login account and a login password; the login module is also used to: execute the automatic login script to automatically fill in the login account and login password of the login page of the Web application system, and log in to the Web application system.
[0108] In an exemplary embodiment, the information determination module is also used to: query the local database or remote server for login credential information that matches the URL of the login page and the system environment information, the local database or remote server stores a mapping relationship between the URL of the login page, the system environment information, and the login credential information, the system environment information includes the user name for logging into the operating system, the network IP address and MAC address of the computer running the operating system; when the login credential information that matches the URL of the login page and the system environment information is queried, determine the queried login credential information.
[0109] In an exemplary embodiment, the code acquisition module is further used to: call a browser interface to acquire the source code of the login page of the Web application system, and obtain code information corresponding to the login page.
[0110] Based on the same inventive concept, the embodiment of the present application also provides a login system for implementing the above-mentioned application system login method, including a login application, an operating system and a large language model running in a computer device, wherein:
[0111] The operating system is used to respond to a login operation for accessing the Web application system and access a login page of the Web application system according to the login operation;
[0112] The login application is used to periodically obtain the URL of the login page of the operating system to access the Web application system; when it is determined that the URL of the login page exists in the pre-configured automatic login application list, obtain the code information corresponding to the login page of the Web application system; and obtain the system environment information of the operating system to determine the login credential information matching the URL of the login page and the system environment information; according to the code information corresponding to the login page of the Web application system and the login credential information, determine the prompt information for instructing the large language model to generate the automatic login script of the Web application system;
[0113] The large language model generates an automatic login script for the Web application system according to the prompt information;
[0114] The login application is also used to log in to the Web application system according to the automatic login script.
[0115] The above-mentioned application system login device and each module in the login system can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0116] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a method for logging into an application system is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0117] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0118] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0119] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0120] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0121] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0122] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0123] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0124] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for logging into an application system, characterized in that: The method comprises: Periodically obtain the URL of the login page for the operating system to access the Web application system; When it is determined that the URL of the login page exists in the pre-configured automatic login application list, obtaining code information corresponding to the login page of the Web application system; Obtaining system environment information of the operating system, and determining login credential information matching the URL of the login page and the system environment information; Invoke the large language model to generate an automatic login script for the Web application system according to the code information corresponding to the login page of the Web application system and the login credential information; Log in to the Web application system according to the automatic login script.
2. The method according to claim 1, characterized in that The step of calling a large language model to generate an automatic login script for the Web application system according to the code information corresponding to the login page of the Web application system and the login credential information includes: Determine, according to the code information corresponding to the login page of the Web application system and the login credential information, prompt information for instructing the large language model to generate an automatic login script for the Web application system; the prompt information is used to instruct the large language model to perform reasoning according to the code information and the login credential information, and generate an automatic login script for the Web application system; According to the prompt information, the large language model is called to generate an automatic login script for the Web application system.
3. The method according to claim 1, characterized in that The automatic login script includes the login credential information, and the login credential information includes a login account and a login password; the step of logging into the Web application system according to the automatic login script includes: The automatic login script is executed to automatically fill in the login account and login password of the login page of the Web application system, and log in to the Web application system.
4. The method according to claim 1, characterized in that: The determining of login credential information matching the URL of the login page and the system environment information includes: Querying a local database or a remote server for login credential information that matches the URL of the login page and the system environment information, wherein the local database or the remote server stores a mapping relationship between the URL of the login page, the system environment information, and the login credential information, wherein the system environment information includes a user name for logging into the operating system, and a network IP address and MAC address of a computer running the operating system; In the case where login credential information matching the URL of the login page and the system environment information is queried, the queried login credential information is determined.
5. The method according to any one of claims 1 to 4, characterized in that: The obtaining of code information corresponding to the login page of the Web application system includes: The browser interface is called to obtain the source code of the login page of the Web application system, and the code information corresponding to the login page is obtained.
6. An application system login device, characterized in that: The device comprises: The URL acquisition module is used to periodically acquire the URL of the login page for the operating system to access the Web application system; A code acquisition module, used to acquire code information corresponding to the login page of the Web application system when it is determined that the URL of the login page exists in the pre-configured automatic login application list; An information determination module, configured to obtain system environment information of the operating system and determine login credential information matching the URL of the login page and the system environment information; A script determination module, configured to call a large language model to generate an automatic login script for the Web application system according to the code information corresponding to the login page of the Web application system and the login credential information; The login module is used to log in to the Web application system according to the automatic login script.
7. A login system, characterized in that: The system includes a login application, an operating system, and a large language model running in a computer device: The operating system is used to respond to a login operation for accessing the Web application system and access a login page of the Web application system according to the login operation; The login application is used to periodically obtain the URL of the login page of the operating system to access the Web application system; when it is determined that the URL of the login page exists in the pre-configured automatic login application list, obtain the code information corresponding to the login page of the Web application system; and obtaining system environment information of the operating system, and determining login credential information matching the URL of the login page and the system environment information; Determining prompt information for instructing the large language model to generate an automatic login script for the Web application system according to the code information corresponding to the login page of the Web application system and the login credential information; The large language model generates an automatic login script for the Web application system according to the prompt information; The login application is also used to log in to the Web application system according to the automatic login script.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
System logging method and system logging device based on Web
CN101588348A
Browser-based automatic login account security protection method and device
CN109409045A
An intelligent integration and sharing device between information systems
CN109446429A
Processing method for automatically logging in webpage
CN117240568A
Test method and device, computing equipment and storage medium
CN117632763A