System login method and related equipment

By obtaining the cookies and executable login files of the tax system, and using the robot shell program to call the robot in the pure state of the browser, the problem of users repeatedly logging in and secondary password verification in the tax system is solved, automatic login is achieved, and user experience is improved.

CN115361162BActive Publication Date: 2025-05-13HUAMENG TECH CONSULTING (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210800201.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-06
Publication Date
2025-05-13
Estimated Expiration
2042-07-06

AI Technical Summary

Technical Problem

When using the tax system, users need to log in repeatedly or perform secondary password verification multiple times, resulting in a long time and high failure rate, which makes the user experience poor.

Method used

By obtaining the cookies and executable login files generated by the user logging into the target system, the robot shell program calls the robot in the pure state of the browser, and executes the executable login files regularly to maintain the login state.

Benefits of technology

During the cookie valid time, the robot is mobilized through the timer to automatically log in to the target system, avoiding the problems of multiple repeated logins and secondary password verification, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115361162B_ABST
    Figure CN115361162B_ABST
Patent Text Reader

Abstract

The embodiment of the present application belongs to the field of artificial intelligence technology, and relates to a system login method, including: obtaining cookies and executable login files generated after a user logs in to a target system; the cookies include the account and password used by the user when logging in to the target system; when it is determined that the browser that the target system relies on is in a pure state, starting the robot shell program and calling the robot; when it is determined that the timer reaches the timing time and the cookie is valid, the robot executes the executable login file, calls the account and password in the cookie to log in to the target system, so as to maintain the login status of the target system. The present application also provides a system login method and related equipment. The present application can avoid the problem of users having to repeatedly log in to the tax system during the use of the tax system, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a system login method and related equipment. Background Art

[0002] Currently, in the process of helping users to complete tax returns through Robotic Process Automation (RPA), when multiple companies with the same tax number want to complete operations such as declaration, payment, cancellation, and data collection for multiple tax types, users are required to repeatedly log in to the tax system multiple times, or perform secondary password verification (such as SMS verification), which is time-consuming and has a high failure rate, resulting in a poor user experience. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a system login method and related equipment to at least solve the problem that the user needs to repeatedly log in to the tax system during the use of the tax system.

[0004] In order to solve the above technical problems, the present application embodiment provides a system login method, which adopts the following technical solutions:

[0005] Obtain the cookie and executable login file generated after the user logs into the target system; the cookie includes the account and password used by the user to log in to the target system; when it is determined that the browser relied on by the target system is in a pure state, start the robot shell program and call the robot; when it is determined that the timer reaches the timing time and the cookie is valid, execute the executable login file through the robot, call the account and password in the cookie to log in to the target system, so as to maintain the login status of the target system.

[0006] Furthermore, the obtaining of the cookie generated after the user logs into the target system includes: crawling the cookie generated after the user logs into the target system through a web crawler.

[0007] Furthermore, obtaining the executable login file includes: writing a login script program; encapsulating the login script program to obtain an executable login file; and the executable login file is used to log in to the target system.

[0008] Further, the determining that the browser that the target system depends on is in a pure state includes: when the driver of the browser is a target driver, determining that the browser is in a pure state; the target driver is used to open the pure state of the browser.

[0009] Furthermore, before starting the robot shell program, the system login method also includes: when it is determined that the browser that the target system relies on is not in a pure state, opening the pure state of the browser.

[0010] Furthermore, after calling the robot, the system login method also includes: when the cookie is invalid, displaying a prompt message to prompt the user to enter an account number and password to log in to the target system.

[0011] Furthermore, the system login method also includes: obtaining a cookie status corresponding to the cookie in the database; the cookie status is valid or invalid; when the cookie status is valid, determining that the cookie is valid; when the cookie status is invalid, determining that the cookie is invalid.

[0012] In order to solve the above technical problems, the embodiment of the present application also provides a system login device, which adopts the following technical solutions:

[0013] An acquisition module is used to obtain cookies and executable login files generated after a user logs into a target system; the cookies include the account and password used by the user to log into the target system; a startup module is used to start the robot shell program and call the robot when it is determined that the browser relied on by the target system is in a pure state; a processing module is used to execute the executable login file through the robot when it is determined that the timer reaches the timing time and the cookie is valid, and call the account and password in the cookie to log in to the target system to maintain the login status of the target system.

[0014] Furthermore, the acquisition module includes an acquisition submodule; the acquisition submodule is used to crawl the cookies generated after the user logs into the target system through a network crawler.

[0015] Furthermore, the acquisition module also includes a writing submodule and a packaging submodule; the writing submodule is used to write a login script program; the packaging submodule is used to package the login script program to obtain an executable login file; the executable login file is used to log in to the target system.

[0016] Furthermore, the startup module includes a determination submodule; the determination submodule is used to determine that the browser is in a pure state when the driver of the browser is a target driver; the target driver is used to open the pure state of the browser.

[0017] Furthermore, the startup module is further configured to open the pure state of the browser when it is determined that the browser that the target system relies on is not in a pure state.

[0018] Furthermore, the system login device also includes a prompt module; the prompt module is used to display a prompt message when the cookie is invalid, so as to prompt the user to enter an account number and password to log in to the target system.

[0019] Furthermore, the system login device also includes a determination module; the acquisition module is also used to obtain the cookie status corresponding to the cookie in the database; the cookie status is valid or invalid; the determination module is used to determine that the cookie is valid when the cookie status is valid; and determine that the cookie is invalid when the cookie status is invalid.

[0020] In order to solve the above technical problems, an embodiment of the present application further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the system login method as described above are implemented.

[0021] In order to solve the above technical problems, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the system login method as described above are implemented.

[0022] Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects: obtaining the cookies and executable login files generated after the user logs in to the target system; when it is determined that the browser that the target system relies on is in a pure state, starting the robot shell program and calling the robot; when it is determined that the timer reaches the timing time and the cookie is valid, the robot executes the executable login file and calls the account and password in the cookie to log in to the target system to maintain the login status of the target system. In this way, within the effective time of the cookie, the robot can be mobilized by the timer to automatically log in to the target system according to the account and password in the cookie, avoiding the problem of users having to repeatedly log in to the tax system or perform secondary password verification during the use of the tax system, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0025] Figure 2 is a flow chart of an embodiment of the system login method of the present application;

[0026] Figure 3 It is a structural diagram of the first embodiment of the system login device of the present application;

[0027] Figure 4 It is a structural diagram of a second embodiment of the system login device of the present application;

[0028] Figure 5 It is a structural diagram of the third embodiment of the system login device of the present application;

[0029] Figure 6 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0031] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0033] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0034] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0035] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, etc.

[0036] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0037] It should be noted that the system login method provided in the embodiment of the present application is generally executed by a terminal device, and accordingly, the system login device is generally set in the terminal device.

[0038] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0039] Continue to refer Figure 2 , shows a flow chart of an embodiment of a system login method according to the present application. The system login method comprises the following steps:

[0040] Step S21, obtaining the cookie and executable login file generated after the user logs into the target system.

[0041] Among them, cookies include the account and password used by users to log in to the target system. The target system is a system that requires users to repeat or perform secondary password verification during use, such as a tax system.

[0042] Specifically, when a user successfully logs in to the target system, a corresponding cookie will be generated in the terminal device. Afterwards, a web crawler is used to crawl data in the terminal device to obtain the cookie generated after the user logs in to the target system.

[0043] In this embodiment, the cookies generated after the user logs into the target system are crawled by a web crawler to facilitate the subsequent maintenance of the user's login status in the target system and provide a login account and password, thereby avoiding the problem of the user repeatedly logging into the tax system multiple times or performing secondary password verification during the use of the tax system, thereby improving the user experience.

[0044] Afterwards, an executable login file is obtained, wherein the executable login file is used to log in to the target system.

[0045] Specifically, a login script program is written and encapsulated to obtain an executable login file. For example, based on multiple frameworks such as Selenium and Uipath, a login script program is written and encapsulated to obtain an executable login file.

[0046] In this embodiment, a login script program is written and encapsulated to obtain an executable login file, so that the robot can subsequently execute the executable login file to maintain the user's login status in the target system, avoiding the problem of the user repeatedly logging into the tax system multiple times or performing secondary password verification during the use of the tax system, thereby improving the user experience.

[0047] Step S22, when it is determined that the browser that the target system relies on is in a pure state, the robot shell program is started and the robot is called.

[0048] Specifically, when the driver of the browser is a target driver, the browser is determined to be in a pure state, and the target driver is used to open the pure state of the browser. For example, the target driver may be a Webdriver.

[0049] In this embodiment, when it is determined that the browser is in a pure state, the robot is called to maintain the login status of the target system, thereby ensuring that the user's login status in the target system continues to be maintained while the user account is safe.

[0050] In some optional implementations of this embodiment, before starting the robot shell program, the system login method further includes: when it is determined that the browser that the target system relies on is not in a pure state, opening the pure state of the browser. Specifically, when the driver of the browser is not the target driver, it is determined that the browser is not in a pure state, and then the pure state of the browser is opened.

[0051] In this embodiment, when it is determined that the browser that the target system relies on is not in a pure state, opening the pure state of the browser can ensure that the user's login status in the target system continues to be maintained while the user account is safe.

[0052] Afterwards, the robot shell program is started to call the robot, where the robot is a robot that can automatically execute executable files, such as an RPA robot.

[0053] Specifically, when it is determined that the browser that the target system relies on is in a pure state, the robot shell program is started to call the corresponding script service on the server where the robot is located to implement the calling of the robot.

[0054] Step S23, when it is determined that the timer reaches the timing time and the cookie is valid, the robot executes the executable login file, calls the account and password in the cookie to log in to the target system, so as to maintain the login status of the target system.

[0055] In some optional implementations of this embodiment, the cookie status corresponding to the cookie in the database is obtained, and when the cookie status is valid, the cookie is determined to be valid; when the cookie status is invalid, the cookie is determined to be invalid. The cookie status is valid or invalid.

[0056] In this embodiment, the validity of the cookie is judged according to the cookie status corresponding to the cookie in the database, thereby avoiding the error situation that may occur when the robot still uses the cookie to maintain the user's login status in the target system when the cookie is invalid.

[0057] In some optional implementations of this embodiment, when the cookie is invalid, a prompt message is displayed to prompt the user to enter an account number and password to log in to the target system.

[0058] In this embodiment, when the cookie is invalid, the user is reminded to log in to the target system again, thereby avoiding the error situation that may be caused when the robot still uses the cookie to maintain the user's login status in the target system when the cookie is invalid.

[0059] Afterwards, when it is determined that the timer has reached the timing time and the cookie is valid, the robot executes the executable login file, calls the account and password in the cookie to log in to the target system, so as to maintain the login status of the target system.

[0060] In this embodiment, the cookie and executable login file generated after the user logs in to the target system are obtained; when it is determined that the browser that the target system relies on is in a pure state, the robot shell program is started and the robot is called; when it is determined that the timer reaches the timing time and the cookie is valid, the robot executes the executable login file and calls the account and password in the cookie to log in to the target system to maintain the login status of the target system. In this way, within the effective time of the cookie, the robot can be mobilized by the timer to automatically log in to the target system according to the account and password in the cookie, avoiding the problem that the user needs to repeatedly log in to the tax system or perform secondary password verification during the use of the tax system, thereby improving the user experience.

[0061] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0062] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0063] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a system login device, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0064] like Figure 3 As shown, the system login device 30 described in this embodiment includes: an acquisition module 31, a startup module 32 and a processing module 33. Among them:

[0065] The acquisition module 31 is used to obtain the cookie and executable login file generated after the user logs into the target system; the cookie includes the account and password used by the user when logging into the target system; the startup module 32 is used to start the robot shell program and call the robot when it is determined that the browser relied on by the target system is in a pure state; the processing module 33 is used to execute the executable login file through the robot when it is determined that the timer reaches the timing time and the cookie is valid, and call the account and password in the cookie to log in to the target system to maintain the login status of the target system.

[0066] In this embodiment, the cookie and executable login file generated after the user logs in to the target system are obtained; when it is determined that the browser that the target system relies on is in a pure state, the robot shell program is started and the robot is called; when it is determined that the timer reaches the timing time and the cookie is valid, the robot executes the executable login file and calls the account and password in the cookie to log in to the target system to maintain the login status of the target system. In this way, within the effective time of the cookie, the robot can be mobilized by the timer to automatically log in to the target system according to the account and password in the cookie, avoiding the problem that the user needs to repeatedly log in to the tax system or perform secondary password verification during the use of the tax system, thereby improving the user experience.

[0067] In some optional implementations of this embodiment, the acquisition module 31 includes an acquisition submodule; the acquisition submodule is used to crawl the cookies generated after the user logs into the target system through a network crawler.

[0068] In this embodiment, the cookies generated after the user logs into the target system are crawled by a web crawler to facilitate the subsequent maintenance of the user's login status in the target system and provide a login account and password, thereby avoiding the problem of the user repeatedly logging into the tax system multiple times or performing secondary password verification during the use of the tax system, thereby improving the user experience.

[0069] In some optional implementations of this embodiment, the acquisition module 31 also includes a writing submodule and a packaging submodule; the writing submodule is used to write a login script program; the packaging submodule is used to package the login script program to obtain an executable login file; the executable login file is used to log in to the target system.

[0070] In this embodiment, a login script program is written and encapsulated to obtain an executable login file, so that the robot can subsequently execute the executable login file to maintain the user's login status in the target system, avoiding the problem of the user repeatedly logging into the tax system multiple times or performing secondary password verification during the use of the tax system, thereby improving the user experience.

[0071] In some optional implementations of this embodiment, the startup module 32 includes a determination submodule; the determination submodule is used to determine that the browser is in a pure state when the driver of the browser is a target driver; the target driver is used to open the pure state of the browser.

[0072] In this embodiment, when it is determined that the browser is in a pure state, the robot is called to maintain the login status of the target system, thereby ensuring that the user's login status in the target system continues to be maintained while the user account is safe.

[0073] In some optional implementations of this embodiment, the startup module 32 is further configured to open the pure state of the browser when it is determined that the browser that the target system relies on is not in a pure state.

[0074] In this embodiment, when it is determined that the browser that the target system relies on is not in a pure state, opening the pure state of the browser can ensure that the user's login status in the target system continues to be maintained while the user account is safe.

[0075] Further references Figure 4 In some optional implementations of this embodiment, the system login device also includes a prompt module 34; the prompt module 34 is used to display a prompt message when the cookie is invalid, so as to prompt the user to enter an account number and password to log in to the target system.

[0076] In this embodiment, when the cookie is invalid, the user is reminded to log in to the target system again, thereby avoiding the error situation that may be caused when the robot still uses the cookie to maintain the user's login status in the target system when the cookie is invalid.

[0077] Further references Figure 5 In some optional implementations of this embodiment, the system login device also includes a determination module 35; the acquisition module 31 is also used to obtain the cookie status corresponding to the cookie in the database; the cookie status is valid or invalid; the determination module 35 is used to determine that the cookie is valid when the cookie status is valid; and determine that the cookie is invalid when the cookie status is invalid.

[0078] In this embodiment, the validity of the cookie is judged according to the cookie status corresponding to the cookie in the database, thereby avoiding the error situation that may occur when the robot still uses the cookie to maintain the user's login status in the target system when the cookie is invalid.

[0079] To solve the above technical problems, the present application also provides a computer device. Figure 6 , Figure 6 This is a basic structural block diagram of the computer device in this embodiment.

[0080] The computer device 6 includes a memory 61, a processor 62, and a network interface 63 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 6 with components 61-63, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0081] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0082] The memory 61 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 61 can be an internal storage unit of the computer device 6, such as a hard disk or memory of the computer device 6. In other embodiments, the memory 61 can also be an external storage device of the computer device 6, such as a plug-in hard disk equipped on the computer device 6, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Of course, the memory 61 can also include both the internal storage unit of the computer device 6 and its external storage device. In this embodiment, the memory 61 is generally used to store the operating system and various application software installed on the computer device 6, such as the program code of the system login method, etc. In addition, the memory 61 can also be used to temporarily store various types of data that have been output or are to be output.

[0083] The processor 62 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 62 is generally used to control the overall operation of the computer device 6. In this embodiment, the processor 62 is used to run the program code stored in the memory 61 or process data, such as running the program code of the system login method.

[0084] The network interface 63 may include a wireless network interface or a wired network interface. The network interface 63 is generally used to establish a communication connection between the computer device 6 and other electronic devices.

[0085] In this embodiment, the cookie and executable login file generated after the user logs in to the target system are obtained; when it is determined that the browser that the target system relies on is in a pure state, the robot shell program is started and the robot is called; when it is determined that the timer reaches the timing time and the cookie is valid, the robot executes the executable login file and calls the account and password in the cookie to log in to the target system to maintain the login status of the target system. In this way, within the effective time of the cookie, the robot can be mobilized by the timer to automatically log in to the target system according to the account and password in the cookie, avoiding the problem that the user needs to repeatedly log in to the tax system or perform secondary password verification during the use of the tax system, thereby improving the user experience.

[0086] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores a system login program, and the system login program can be executed by at least one processor so that the at least one processor performs the steps of the system login method as described above.

[0087] In this embodiment, the cookie and executable login file generated after the user logs in to the target system are obtained; when it is determined that the browser that the target system relies on is in a pure state, the robot shell program is started and the robot is called; when it is determined that the timer reaches the timing time and the cookie is valid, the robot executes the executable login file and calls the account and password in the cookie to log in to the target system to maintain the login status of the target system. In this way, within the effective time of the cookie, the robot can be mobilized by the timer to automatically log in to the target system according to the account and password in the cookie, avoiding the problem that the user needs to repeatedly log in to the tax system or perform secondary password verification during the use of the tax system, thereby improving the user experience.

[0088] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0089] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A system login method, characterized in that: The steps include: Obtaining cookies and executable login files generated after a user logs into a target system; the cookies include the account number and password used by the user to log into the target system; Identify the driver of the browser that the target system depends on, and determine whether the browser that the target system depends on is in a pure state according to the driver of the browser; When it is determined that the browser that the target system relies on is in a clean state, the robot shell program is started to call the robot; When it is determined that the timer reaches the timing time and the cookie is valid, the robot executes the executable login file, calls the account and password in the cookie to log in to the target system, so as to maintain the login status of the target system.

2. The system login method according to claim 1, characterized in that: The method of obtaining the cookies generated after the user logs into the target system includes: Use a web crawler to crawl the cookies generated after the user logs into the target system.

3. The system login method according to claim 1, characterized in that: Get the executable login file, including: Write a login script program; The login script program is encapsulated to obtain an executable login file; the executable login file is used to log in to the target system.

4. The system login method according to claim 1, characterized in that: Determining that the browser that the target system relies on is in a pure state includes: In the case that the driver of the browser is a target driver, it is determined that the browser is in a pure state; the target driver is used to open the pure state of the browser.

5. The system login method according to claim 1, characterized in that: Before starting the robot shell program, the system login method further includes: When it is determined that the browser that the target system relies on is not in a pure state, the pure state of the browser is opened.

6. The system login method according to claim 1, characterized in that: After calling the robot, the system login method further includes: When the cookie is invalid, a prompt message is displayed to prompt the user to enter the account number and password to log in to the target system.

7. The system login method according to claim 1 or 6, characterized in that: The system login method also includes: Get the cookie status corresponding to the cookie in the database; the cookie status is valid or invalid; When the cookie status is valid, determining that the cookie is valid; When the cookie status is invalid, it is determined that the cookie is invalid.

8. A system login device, characterized in that: include: The acquisition module is used to obtain the cookies and executable login files generated after the user logs into the target system; The cookie includes the account number and password used by the user to log in to the target system; A startup module, used to identify the driver of the browser on which the target system depends, and determine whether the browser on which the target system depends is in a pure state according to the driver of the browser; and also used to start the robot shell program and call the robot when it is determined that the browser on which the target system depends is in a pure state; The processing module is used to execute the executable login file through the robot when it is determined that the timer reaches the timing time and the cookie is valid, and call the account and password in the cookie to log in to the target system to maintain the login status of the target system.

9. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the system login method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the system login method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method, device and system for automatically acquiring webpage information by web crawler

    CN111191097A

  • Multi-system single sign-on method and device based on RPA, equipment and medium

    CN113660229A

  • A method for automatically executing log-in indistributed netwokrk

    KR1020020026753A

  • Technique for facilitating auto login to a website

    US10069812B1