CN114417275A - RPA-based automatic login method and device and storage medium - Google Patents
RPA-based automatic login method and device and storage medium Download PDFInfo
- Publication number
- CN114417275A CN114417275A CN202111653414.0A CN202111653414A CN114417275A CN 114417275 A CN114417275 A CN 114417275A CN 202111653414 A CN202111653414 A CN 202111653414A CN 114417275 A CN114417275 A CN 114417275A
- Authority
- CN
- China
- Prior art keywords
- login
- information
- rpa
- period
- account
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000012544 monitoring process Methods 0.000 claims description 42
- 238000012795 verification Methods 0.000 claims description 28
- 238000004364 calculation method Methods 0.000 claims description 24
- 238000012417 linear regression Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 13
- 238000012423 maintenance Methods 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000002093 peripheral effect Effects 0.000 description 25
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本申请涉及人工智能领域,尤其是基于RPA的自动化登录方法、装置及存储介质。The present application relates to the field of artificial intelligence, in particular to an automated login method, device and storage medium based on RPA.
背景技术Background technique
随着现代信息化技术的不断发展,社会中各行各业都产生了多种产品满足需要。为了满足各行业的个性化需求,每种软件都千差万别,而且也随着业务不同而变得复杂,其中有很多的操作是重复的、数量多的,在此情景下为了提高员工效率,就产生了RPA产品,现有的RPA产品通过可允许用户通过编写自动化脚本自动运行业务流程,而当需要跨系统使用RPA产品运品进行自动化管理时,就必须先由人工去登录对应的系统,这就造成了在用户在需要通过RPA产品在进行多系统管理时需要对各个系统的系统账户进行人手行登录,并且在当系统账户掉线时手动对系统账户进行重新登陆,降低了系统的运行效率。With the continuous development of modern information technology, all walks of life in the society have produced a variety of products to meet the needs. In order to meet the individual needs of various industries, each software is very different, and it also becomes complicated with different businesses. Many operations are repeated and the number is large. In this scenario, in order to improve the efficiency of employees, the With the introduction of RPA products, existing RPA products allow users to automatically run business processes by writing automated scripts. When it is necessary to use RPA products to transport products across systems for automated management, it is necessary to manually log in to the corresponding system. As a result, users need to manually log in to the system accounts of each system when they need to manage multiple systems through RPA products, and manually re-login to the system accounts when the system accounts are disconnected, which reduces the operating efficiency of the system.
发明内容SUMMARY OF THE INVENTION
本申请的目的为提供一种基于RPA的自动化登录方法、装置及存储介质,旨在解决现有技术中,RPA产品在进行多系统管理时需要对各个系统的系统账户进行人手行登录,并且在当系统账户掉线时需要手动对系统账户进行重新登陆的问题。The purpose of this application is to provide an automatic login method, device and storage medium based on RPA, which aims to solve the problem that in the prior art, when an RPA product performs multi-system management, it is necessary to manually log in the system accounts of each system, and in the When the system account is disconnected, it is necessary to manually re-login the system account.
为实现上述目的,本申请采取的技术方案为:To achieve the above purpose, the technical scheme adopted in this application is:
本申请提供一种基于RPA的自动化登录方法,包括:The application provides an automated login method based on RPA, including:
获取用户录入的账户信息,所述账户信息内包含密保信息以及登陆方式;Obtain the account information entered by the user, where the account information includes confidential information and login methods;
根据所述登陆方式使用所述密保信息发送登录请求;Send a login request using the secret information according to the login method;
根据所述登录请求对所述账户信息进行登录;log in to the account information according to the login request;
判断所述账户信息是否处于登陆状态,若否,则将所述账户信息进行重新登录。It is judged whether the account information is in the login state, and if not, the account information is re-login.
进一步的,所述根据所述登陆方式使用所述密保信息发送登录请求之后,还包括:Further, after the login request is sent using the confidential information according to the login method, the method further includes:
获取与当前时间节点匹配的监控时段;Get the monitoring period that matches the current time node;
获取与所述监控时段匹配的预设预警值;obtaining a preset warning value matching the monitoring period;
判断所述监控时段是否为闲时时段,若是,则以所述当前时间节点为原点生成预测时段,并将所述预测时段拆分为计算时段以及监控时段,Judging whether the monitoring period is an idle period, and if so, generating a forecast period with the current time node as the origin, and splitting the forecast period into a calculation period and a monitoring period,
基于所述计算时段以及所述监控时段使用线性回归直线方程推算所述登录请求的预测发送次数;Using a linear regression equation to calculate the predicted number of times the login request is sent based on the calculation period and the monitoring period;
判断所述预测发送次数是否大于与所述预设预警值;Judging whether the predicted sending times is greater than and equal to the preset warning value;
若是,则发送报警信息。If so, send an alarm message.
进一步的,所述基于所述计算时段以及所述监控时段使用线性回归直线方程推算所述登录请求的预测发送次数,具体包括:Further, calculating the predicted sending times of the login request by using a linear regression equation based on the calculation period and the monitoring period specifically includes:
获取在所述计算时段结束后的所述登录请求的发送次数,并将所述登录请求的发送次数记为Y序列值;Obtain the number of times of sending the login request after the end of the calculation period, and record the number of times of sending the login request as the Y sequence value;
将所述计算时段记为X序列值;Denote the calculation period as the X series value;
根据所述X序列值以及所述Y序列值构造线性回归直线方程;Construct a linear regression line equation according to the X series value and the Y series value;
根据所述线性回归直线方程推算在所述监控时段结束后所述Y序列值的预算值;Calculate the budget value of the Y series value after the monitoring period ends according to the linear regression equation;
将所述Y序列值的预算值记为所述预测发送次数。The budget value of the Y sequence value is recorded as the predicted number of transmissions.
进一步的,所述获取与当前时间匹配的监控时段之后,还包括:Further, after the acquisition of the monitoring period matching the current time, the method further includes:
判断所述监控时段是否为忙时时段;judging whether the monitoring period is a busy time period;
若是,则获取虚拟IP地址库;If so, obtain the virtual IP address library;
获取在所述忙时时段内所述虚拟IP地址库中各IP地址的登录成功率;Obtain the login success rate of each IP address in the virtual IP address database in the busy time period;
根据所述登录成功率将所述虚拟IP地址库的IP地址进行排序,生成待登录IP库;Sorting the IP addresses of the virtual IP address library according to the login success rate to generate an IP library to be logged in;
获取预设切换周期;Get the preset switching period;
根据所述预设切换周期按照所述待登录IP库中IP地址顺序进行IP地址切换。According to the preset switching period, IP address switching is performed according to the sequence of the IP addresses in the to-be-registered IP database.
进一步的,所述根据所述登陆方式使用所述密保信息发送登录请求包括:Further, the sending a login request using the confidential information according to the login method includes:
判断所述登陆方式是否为账号密码登录;Determine whether the login method is an account and password login;
若是,则获取所述密保信息内的账号密码信息;If so, obtain the account password information in the confidential information;
根据所述账号密码信息发送登录请求。Send a login request according to the account password information.
进一步的,所述根据所述登陆方式使用所述密保信息发送登录请求还包括:Further, the sending a login request using the confidential information according to the login method further includes:
判断所述登陆方式是否为登录凭证登录;Determine whether the login method is login credential login;
若是,则获取所述密保信息内的登陆凭证信息;If so, obtain the login credential information in the confidential information;
根据所述登陆凭证信息发送登录请求。Send a login request according to the login credential information.
进一步的,判断所述登陆方式是否为验证码登录;Further, determine whether the login method is a verification code login;
若是,获取验证密保;If so, obtain the verification secret;
根据所述验证密保生成对应的验证答案;Generate a corresponding verification answer according to the verification secret;
根据所述验证答案信息发送登录请求。Send a login request according to the verification answer information.
本申请还提供一种基于RPA的自动化登录装置,包括web管理系统模块、自动化登陆模块以及登录维持模块;The application also provides an RPA-based automated login device, including a web management system module, an automated login module, and a login maintenance module;
所述web管理系统模块、所述自动化登陆模块以及所述登录维持模块之间相互相连;The web management system module, the automatic login module and the login maintenance module are connected to each other;
其中,所述web管理系统模块内设有信息录入单元,所述自动化登陆模块内设有控制单元以及登录单元,所述登录维持模块内设有判断单元;Wherein, the web management system module is provided with an information input unit, the automatic login module is provided with a control unit and a login unit, and the login maintenance module is provided with a judgment unit;
所述信息录入单元用于获取用户录入的账户信息,所述账户信息内包含密保信息以及登陆方式;The information entry unit is used to obtain account information entered by the user, and the account information includes confidential information and a login method;
所述控制单元用于根据所述登陆方式使用所述密保信息发送登录请求;The control unit is configured to use the secret information to send a login request according to the login method;
所述登录单元用于根据所述登录请求对所述账户信息进行登录;The login unit is configured to log in the account information according to the login request;
所述判断单元用于判断所述账户信息是否处于登陆状态,若否,则将所述账户信息进行重新登录。The judging unit is used for judging whether the account information is in a login state, and if not, re-login the account information.
本申请还提供一种存储介质,其为计算机可读的存储介质,其上存储有计算机程序,所述计算机程序被执行时实现如上述任一项所述的基于RPA的自动化登录方法。The present application also provides a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, implements the RPA-based automatic login method described in any of the above.
本申请还提供一种计算机设备,其包括处理器、存储器及存储于所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述的基于RPA的自动化登录方法。The present application also provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, when the processor executes the computer program, the above-mentioned based Automated login methods for RPA.
本申请的有益效果:本申请通过识别外围系统的登陆方式后自动匹配密保信息进行统一登录,实现了无需通过人工方式来对各个系统的系统账户进登录实现了系统登录的自动化,并且在识别到系统账户掉线后对所述账号信息自动进行重新登录,实现了无需通过人工方式来对掉线的系统账户进行二次登录,解决了现有技术当中RPA产品在进行多系统管理时需要对各个系统的系统账户进行人手行登录,并且在当系统账户掉线时需要手动对系统账户进行重新登陆的问题,提升了系统的运行效率。Beneficial effects of the present application: The present application automatically matches the confidential information for unified login after identifying the login method of the peripheral system, and realizes the automation of system login without manually logging in to the system accounts of each system, and in the identification After the system account is disconnected, the account information is automatically re-login, which realizes that there is no need to manually re-login the disconnected system account, and solves the need for RPA products in the prior art to perform multi-system management. The system account of each system is manually logged in, and when the system account is disconnected, the system account needs to be manually re-login, which improves the operating efficiency of the system.
附图说明Description of drawings
图1为本申请一种基于RPA的自动化登录方法的方法流程图;Fig. 1 is the method flow chart of a kind of automatic login method based on RPA of the application;
图2为本申请一种基于RPA的自动化登录装置的结构示意图;Fig. 2 is the structural representation of a kind of RPA-based automatic login device of the application;
图3为本申请一实施例中web管理系统模块的结构示意图;3 is a schematic structural diagram of a web management system module in an embodiment of the application;
图4为本申请一实施例中自动化登陆模块的结构示意图;4 is a schematic structural diagram of an automated login module in an embodiment of the application;
图5为本申请一实施例中登录维持模块的结构示意图;5 is a schematic structural diagram of a login maintenance module in an embodiment of the application;
图6为本申请的存储介质一实施例的结构框图;FIG. 6 is a structural block diagram of an embodiment of a storage medium of the present application;
图7为本申请的计算机设备一实施例的结构框图;FIG. 7 is a structural block diagram of an embodiment of a computer device of the present application;
图中标号名称为:1-web管理系统模块、2-自动化登陆模块、3-登录维持模块、11-信息录入单元、21-控制单元、22-登录单元、31-判断单元。The label names in the figure are: 1-web management system module, 2-automatic login module, 3-login maintenance module, 11-information input unit, 21-control unit, 22-login unit, 31-judgment unit.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。It will be understood by those skilled in the art that the singular forms "a", "an", "the" and "the" as used herein can include the plural forms as well, unless expressly stated otherwise. It should be further understood that the word "comprising" used in the specification of this application refers to the presence of stated features, integers, steps, operations, elements and/or components, but does not preclude the presence or addition of one or more other features, Integers, steps, operations, elements, components and/or groups thereof. As used herein, the term "and/or" includes all or any element and all combination of one or more of the associated listed items.
参考图1,本申请提供一种基于RPA的自动化登录方法,包括:Referring to Fig. 1, the present application provides an automated login method based on RPA, including:
S1、获取用户录入的账户信息,所述账户信息内包含密保信息以及登陆方式;S1. Obtain the account information entered by the user, where the account information includes confidential information and a login method;
S2、根据所述登陆方式使用所述密保信息发送登录请求;S2. Send a login request by using the confidential information according to the login method;
S3、根据所述登录请求对所述账户信息进行登录;S3. Log in the account information according to the login request;
S4、判断所述账户信息是否处于登陆状态,若否,则将所述账户信息进行重新登录。S4. Determine whether the account information is in a login state, and if not, log in the account information again.
如上述步骤S1所述,RPA系统获取用户手动录入的账户信息,所述账户信息用于登录用户所需要通过RPA系统进行登录及监控的各类外围系统,所述账户信息内包含用于登录系统的密保信息以及与所述密保信息匹配的登陆方式,其中所述密保信息与所述登陆方式一一对应。As described in the above step S1, the RPA system obtains account information manually entered by the user, and the account information is used to log in to various peripheral systems that the user needs to log in and monitor through the RPA system, and the account information contains information for logging in to the system The secret information and the login method matching the secret information, wherein the secret information and the login method are in one-to-one correspondence.
如上述步骤S2所述,所述RPA系统获取需要登录系统的对应登陆方式,如密码登录、密保登录或验证码登录等,之后所述RPA系统获取与所述登陆方式匹配的密保信息进行发送,如登录密码、登陆密保及登录验证码等,从而实现发送登录请求的功能;As described in the above step S2, the RPA system acquires the corresponding login method that needs to log in to the system, such as password login, password security login or verification code login, etc., and then the RPA system acquires the security information matching the login method. Send, such as login password, login password and login verification code, etc., so as to realize the function of sending login request;
可以理解的是,所述登陆方式并不仅限于密码登录、密保登录或验证码登录三种,与所述登陆方式匹配的所述密保信息并不仅限于登陆密码、登陆密保或登录验证码三种,本申请对此不做限定。It can be understood that the login method is not limited to password login, password security login or verification code login, and the security information matching the login method is not limited to login password, login password security or login verification code. There are three types, which are not limited in this application.
如上述步骤S3所述,所述RPA系统根据所述密保信息以及登陆方式登录对应的外围系统,从而实现PRA系统自动登录对应外围系统的功能。As described in the above step S3, the RPA system logs in to the corresponding peripheral system according to the confidential information and the login method, thereby realizing the function of the PRA system automatically logging in to the corresponding peripheral system.
如上述步骤S4所述,所述RPA系统实时获取所述账号信息的登录情况,并判断所述账号信息是否在对应外围系统中处于登陆状态,若否,则所述RPA系统将所述账号信息在所述外围系统中自动进行重新登录,从而实现维持所述账号信息在所述外围系统中登陆状态,无需通过人工方式来对掉线的系统账户进行二次登录的功能。As described in the above step S4, the RPA system obtains the login status of the account information in real time, and judges whether the account information is in the login state in the corresponding peripheral system, and if not, the RPA system records the account information Re-login is automatically performed in the peripheral system, so as to maintain the login state of the account information in the peripheral system, and the function of re-login to the disconnected system account by manual means is not required.
本申请通过上述方法,通过识别外围系统的登陆方式后自动匹配密保信息进行统一登录,实现了无需通过人工方式来对各个系统的系统账户进登录实现了系统登录的自动化,并且在识别到系统账户掉线后对所述账号信息自动进行重新登录,实现了无需通过人工方式来对掉线的系统账户进行二次登录,解决了现有技术当中RPA产品在进行多系统管理时需要对各个系统的系统账户进行人手行登录,并且在当系统账户掉线时需要手动对系统账户进行重新登陆的问题,提升了系统的运行效率。Through the above method, the present application automatically matches the confidential information for unified login after identifying the login method of the peripheral system, and realizes the automation of system login without manually logging in to the system accounts of each system. After the account is disconnected, the account information is automatically re-login, which realizes that there is no need to manually log in to the system account that is disconnected, and solves the need for RPA products in the prior art to perform multi-system management. The problem of manually logging in the system account of the system account, and manually re-login the system account when the system account is disconnected, improves the operating efficiency of the system.
一实施例中,所述步骤S2之后,还包括:In an embodiment, after the step S2, it further includes:
S21、获取与当前时间节点匹配的监控时段,获取与所述监控时段匹配的预设预警值,判断所述监控时段是否为闲时时段,若是,则以所述当前时间节点为原点获取预测时段,并将所述预测时段拆分为计算时段以及监控时段,基于所述计算时段以及所述监控时段使用线性回归直线方程推算所述登录请求的预测发送次数,判断所述预测发送次数是否大于与所述预设预警值,若是,则发送报警信息。S21. Obtain a monitoring period matching the current time node, obtain a preset early warning value matching the monitoring period, and determine whether the monitoring period is an idle time period, and if so, obtain a prediction period with the current time node as the origin , and split the forecast period into a calculation period and a monitoring period, and use a linear regression equation to calculate the predicted sending times of the login request based on the computing period and the monitoring period, and determine whether the predicted sending times is greater than and equal to The preset warning value, if yes, sends an alarm message.
如上述实施例所述,所述监控时段包括闲时时段以及忙时时段,所述RPA系统根据所述监控时段的区分来执行不同的账户信息操作指令,则所述RPA系统获取当前的时间,并根据所述当前时间获取与当前时间匹配的监控时段,之后所述RPA系统判断所述监控时段是否为闲时时段,若是,则所述RPA系统以当前时间节点为原点生成预测时段,所述预测时段用于根据所述登录请求在所述预测时段内的发送次数来对所述登录请求后续的发送次数进行预测,As described in the above embodiment, the monitoring period includes a free time period and a busy time period, the RPA system executes different account information operation instructions according to the distinction of the monitoring period, and the RPA system obtains the current time, And obtain the monitoring period that matches the current time according to the current time, and then the RPA system judges whether the monitoring period is an idle time period, and if so, the RPA system generates a prediction period with the current time node as the origin, and the The prediction period is used to predict the number of subsequent sending times of the login request according to the number of times the login request is sent within the prediction period,
之后所述RPA系统将所述监控时段拆分为所述计算时段以及所述监控时段,并根据所述计算时段以及所述监控时段使用线性回归直线方程推算所述登录请求的预测发送次数,并判断所述预测发送次数是否大于与所述预设预警值,若是,则向后台系统发送报警信息,从而提醒后台系统的工作人员当前所述自动发送的登录请求的发送次数过多并进行相应调整,从而实现了PRA系统可根据当前的时段调整所述登录请求的自动发送次数,避免由于所述登录请求的自动发送次数过多或系统被恶意攻击导致RPA系统崩溃,从而在保证了RPA系统的自动化登录功能正常运行同时提升了所述RPA系统的自动化登录效率。Afterwards, the RPA system divides the monitoring period into the calculation period and the monitoring period, and uses a linear regression equation to calculate the predicted sending times of the login request according to the calculation period and the monitoring period, and Determine whether the predicted sending times are greater than and the preset warning value, and if so, send alarm information to the background system, thereby reminding the staff of the background system that the currently automatically sent login request is sent too many times and adjust accordingly , so that the PRA system can adjust the number of automatic sending times of the login request according to the current time period, avoiding the crash of the RPA system due to the excessive automatic sending times of the login request or the system being maliciously attacked, thereby ensuring the RPA system. The normal operation of the automatic login function also improves the automatic login efficiency of the RPA system.
可以理解的是,所述预测时段的时长以及所述预设预警值的预警值可由用户自行设定,本申请对此不作限定。It can be understood that the duration of the prediction period and the pre-warning value of the preset pre-warning value can be set by the user, which is not limited in this application.
在本实施例一具体应用场景中,当前的时间节点为10点,10点对应的9点至11点的监控时段为闲时时段,则所述RPA系统判断所述监控时段为闲时时段,之后所述RPA系统以10点为时间节点获取后续30分钟的时间段为预测时段,之后所述RPA系统将所述预测时段的前10分钟记为计算时段,并将所述预测时段的后20分钟记为监控时段,之后根据所述登录请求的自动发送次数以及所述计算时段构造线性回归直线方程,从而得到直线拟合方程,从而对所述预测发送次数进行推算,并判断所述预测发送次数是否大于与所述预设预警值,若是,则向后台系统发送报警信息In a specific application scenario of this embodiment, the current time node is 10 o'clock, and the monitoring period from 9 o'clock to 11 o'clock corresponding to 10 o'clock is an idle time period, and the RPA system determines that the monitoring period is an idle time period, After that, the RPA system uses 10 o'clock as the time node to obtain the subsequent 30-minute time period as the prediction period, and then the RPA system records the first 10 minutes of the prediction period as the calculation period, and the last 20 minutes of the prediction period. The minute is recorded as the monitoring period, and then a linear regression line equation is constructed according to the number of automatic sending times of the login request and the calculation period, so as to obtain a straight line fitting equation, so as to estimate the number of predicted sending times, and determine the predicted sending times. Whether the number of times is greater than the preset warning value, if so, send an alarm message to the background system
即在本申请实际的应用场景中,所述RPA系统使用线性回归直线方程推算在30分钟后的预测发送次数,可以理解的是,所述预测发送次数的推算方式可为结合推算模型进行推算或使用TREND函数进行计算,本申请对此不做限定。That is, in the actual application scenario of the present application, the RPA system uses the linear regression equation to estimate the number of predicted sending times after 30 minutes. The calculation is performed using the TREND function, which is not limited in this application.
S22、获取在所述计算时段结束后的所述登录请求的发送次数,并将所述登录请求的发送次数记为Y序列值,将所述计算时段记为X序列值,根据所述X序列值以及所述Y序列值构造线性回归直线方程,根据所述线性回归直线方程推算在所述监控时段结束后所述Y序列值的预算值,将所述Y序列值的预算值记为所述预测发送次数。S22. Acquire the number of times of sending the login request after the calculation period ends, and denote the number of times of sending the login request as a Y sequence value, and denote the calculation period as an X sequence value, according to the X sequence value value and the Y series value to construct a linear regression line equation, calculate the budget value of the Y series value after the monitoring period ends according to the linear regression line equation, and record the budget value of the Y series value as the Predicted send times.
如上述实施例所述,预测时段为30分钟,计算时段为0分钟—10分钟(y≤10),则监控时段为20—30分钟(20<y≤30);As described in the above embodiment, the prediction period is 30 minutes, the calculation period is 0 minutes-10 minutes (y≤10), and the monitoring period is 20-30 minutes (20<y≤30);
所述RPA系统在所述计算时段结束后(即y≤10)获取自动发送的所述登录请求发送次数,之后根据所述自动发送的所述登录请求发送次数以及所述计算时段(y≤10)构造线性回归直线方程,从而得到直线拟合方程,之后使用所述直线拟合方程推算出在所述监控时段(20<y≤30)结束后所述Y序列值的预算值,并将所述Y序列值的预算值记为所述登录请求的所述预测发送次数,则所述RPA系统推测出在30分钟结束后系统通过自动化登录功能发送的登录请求次数为Y序列值的预算值。The RPA system obtains the number of times of sending the login request automatically sent after the calculation period ends (ie y≤10), and then according to the number of times of sending the login request automatically sent and the calculation period (y≤10) ) to construct a linear regression line equation to obtain a straight line fitting equation, and then use the straight line fitting equation to calculate the budget value of the Y sequence value after the monitoring period (20<y≤30) ends, and calculate the If the budget value of the Y sequence value is recorded as the predicted number of times of sending the login request, the RPA system infers that the number of login requests sent by the system through the automatic login function after 30 minutes is the budget value of the Y sequence value.
在本申请具体的应用场景中,所述RPA系统在所述当前时间节点的10分钟后获取所述登录请求的自动发送次数为20次,之后根据所述登录请求的自动发送次数(Y序列值=50)以及所述计算时段(X序列值<10)进行构造线性回归直线方程,之后使用所述线性回归直线方程推算出在所述监控时段结束后所述Y序列值的预算值为140,则所述RPA系统推测出在30分钟结束后系统通过自动化登录功能发送的所述登录请求的自动发送次数为140次。In the specific application scenario of the present application, the RPA system obtains 20 automatic sending times of the login request after 10 minutes of the current time node, and then according to the automatic sending times of the login request (Y sequence value = 50) and the calculation period (X series value < 10) to construct a linear regression line equation, and then use the linear regression line equation to calculate the budget value of the Y series value after the monitoring period ends to 140, Then, the RPA system infers that the number of automatic sending times of the login request sent by the system through the automatic login function is 140 after the end of 30 minutes.
一实施例中,所述获取与当前时间匹配的监控时段之后,还包括:In one embodiment, after acquiring the monitoring period matching the current time, the method further includes:
S23、判断所述监控时段是否为忙时时段,若是,则获取虚拟IP地址库,获取在所述忙时时段内所述虚拟IP地址库中各IP地址的登录成功率,根据所述登录成功率将所述虚拟IP地址库的IP地址进行排序,生成待登录IP库,获取预设切换周期,根据所述预设切换周期按照所述待登录IP库中IP地址顺序进行IP地址切换。S23. Determine whether the monitoring period is a busy time period, and if so, obtain a virtual IP address database, obtain the login success rate of each IP address in the virtual IP address database during the busy time period, and obtain the login success rate according to the login success rate. The IP addresses of the virtual IP address library are sorted at a rate, an IP library to be logged in is generated, a preset switching period is obtained, and the IP address switching is performed according to the order of the IP addresses in the IP library to be logged according to the preset switching period.
如上述实施例所述,所述预设切换周期为10分钟,As described in the above embodiment, the preset switching period is 10 minutes,
则所述RPA系统判断当前的时间是否为忙时时段,若是,则所述RPA系统获取虚拟IP地址库,所述虚拟IP地址库用于替换所述账号信息登陆时的IP地址,从而避免由于相同IP地址登录次数过多导致账号封禁,之后所述RPA系统获取所述虚拟IP地址库内的IP地址在所述忙时时段内的登陆成功率,并以所述登陆成功率为依据将所述虚拟IP地址库内的IP地址从高到低进行重新排序,从而生成待登录IP库,之后所述RPA系统每10分钟根据所述虚拟IP地址库内的IP地址的顺序循环切换所述IP地址,从而实现可根据所述IP地址的成功率周期性切换所述账号信息在进行自动化登陆时的IP地址,提升所述账号信息在进行自动化登录时的成功率。Then the RPA system judges whether the current time is a busy time period, and if so, the RPA system obtains a virtual IP address library, and the virtual IP address library is used to replace the IP address when the account information is logged in, thereby avoiding due to Excessive login times with the same IP address lead to account banning, and then the RPA system obtains the login success rate of the IP address in the virtual IP address database within the busy time period, and assigns the login success rate based on the login success rate. The IP addresses in the virtual IP address library are reordered from high to low, thereby generating the IP library to be logged in, after which the RPA system cyclically switches the IP address according to the sequence of the IP addresses in the virtual IP address library every 10 minutes address, so that the IP address of the account information during automatic login can be periodically switched according to the success rate of the IP address, and the success rate of the account information during automatic login is improved.
一实施例中,所述步骤S2具体包括:In one embodiment, the step S2 specifically includes:
S24、判断所述登陆方式是否为账号密码登录,若是,则获取所述密保信息内的账号密码信息,根据所述账号密码信息发送登录请求。S24. Determine whether the login method is account and password login, and if so, acquire account and password information in the secret security information, and send a login request according to the account and password information.
如上述实施例所述,所述RPA系统判断所述外围系统的登陆方式是否为账号密码登录,若是,则所述RPA系统获取所述密保信息内的账号密码信息,并根据所述账号密码信息发送登录请求,使所述RPA系统通过所述账号密码信息登入所述外围系统,从而实现所述RPA系统与所述外围系统的账号自动化登录以及自动连接。As described in the above embodiment, the RPA system determines whether the login method of the peripheral system is account and password login. The information sends a login request, so that the RPA system logs in to the peripheral system through the account password information, so as to realize the automatic login and automatic connection of the account of the RPA system and the peripheral system.
一实施例中,所述步骤S2还包括:In one embodiment, the step S2 further includes:
S25、判断所述登陆方式是否为登录凭证登录,若是,则获取所述密保信息内的登陆凭证信息,根据所述登陆凭证信息发送登录请求。S25. Determine whether the login method is login credential login, and if so, acquire login credential information in the confidential information, and send a login request according to the login credential information.
如上述实施例所述,所述RPA系统判断所述外围系统的登陆方式是否为登录凭证登录,若是,则所述RPA系统获取所述密保信息内的登录凭证信息,并根据所述登录凭证信息发送登录请求,使所述RPA系统通过所述账号密码信息登入所述外围系统,从而实现所述RPA系统与所述外围系统的账号自动化登录以及自动连接。As described in the above embodiment, the RPA system determines whether the login method of the peripheral system is login credential login; The information sends a login request, so that the RPA system logs in to the peripheral system through the account password information, so as to realize the automatic login and automatic connection of the account of the RPA system and the peripheral system.
一实施例中,所述步骤S2还包括:In one embodiment, the step S2 further includes:
S26、判断所述登陆方式是否为验证码登录,若是,获取验证密保,根据所述验证密保生成对应的验证答案,根据所述验证答案信息发送登录请求。S26: Determine whether the login method is a verification code login, and if so, obtain a verification secret, generate a corresponding verification answer according to the verification secret, and send a login request according to the verification answer information.
如上述实施例所述,所述RPA系统判断所述外围系统的登陆方式是否为验证码登录,若是,则所述RPA系统获取所述验证密保,并根据所述验证密保发送到后台管理系统,所述后台管理系统的工作人员根据所述验证密保人工输入验证答案,之后所述RPA系统根据所述验证答案发送登录请求,使所述RPA系统通过所述账号密码信息登入所述外围系统,从而实现所述RPA系统与所述外围系统的账号自动化登录以及自动连接。As described in the above embodiment, the RPA system determines whether the login method of the peripheral system is a verification code login, and if so, the RPA system obtains the verification secret, and sends it to the background management according to the verification secret System, the staff of the background management system manually enters the verification answer according to the verification secret, and then the RPA system sends a login request according to the verification answer, so that the RPA system logs in to the peripheral through the account password information. system, so as to realize the automatic login and automatic connection of the accounts of the RPA system and the peripheral system.
可以理解的使,所述验证答案的生成方法还可为图像算法自动识别所述验证密保生成,对于所述验证答案的生成方法,本申请对此不作限定。It can be understood that the method for generating the verification answer can also be generated by automatically identifying the verification secret by an image algorithm, and the present application does not limit the method for generating the verification answer.
如上述实施例所述,本申请具体的具体应用场景为:RPA系统获取用户手动录入的账户信息以及需要登录的所述外围系统的对应登陆方式,此时所述RPA系统判断所述外围系统的登陆方式为账号密码登录,则所述RPA系统获取所述密保信息内的账号密码信息,并根据所述账号密码信息发送登录请求,此时当前的时间节点为10点,则所述RPA系统判断10点对应的9点至11点的监控时段为闲时时段,则当前的所述监控时段为闲时时段,之后所述RPA系统以10点为时间节点获取后续30分钟的时间段为预测时段,并将所述预测时段的前10分钟记为计算时段,并将所述预测时段的后20分钟记为监控时段,之后所述RPA系统根据所述登录请求的自动发送次数以及所述计算时段构造线性回归直线方程,并将推算得出一个直线拟合方程,并利用所述直线拟合方程对所述登录请求的预测发送次数进行推算,并在得出所述预测发送次数的具体值后将所述预测发送次数与当前所述闲时时段匹配的预设预警值进行对比,并判断所述预测发送次数小于所述预设预警值后,所述RPA系统根据所述登录请求使用账号密码信息登录对应的外围系统,从而实现PRA系统自动登录对应外围系统同时防止由于所述登录请求的自动发送次数过多导致RPA系统崩溃,从而在保证了RPA系统的自动化登录功能正常运行同时提升了所述RPA系统的自动化登录效率,之后所述RPA系统实时获取所述账号信息的登录情况,并判断所述账号信息是否在对应外围系统中处于登陆状态,若否,则所述RPA系统将所述账号信息在所述外围系统中自动进行重新登录,从而实现维持所述账号信息在所述外围系统中登陆状态,无需通过人工方式来对掉线的系统账户进行二次登录的功能的功能。As described in the above embodiment, the specific application scenario of the present application is: the RPA system obtains the account information manually entered by the user and the corresponding login method of the peripheral system that needs to be logged in. At this time, the RPA system judges the peripheral system. If the login method is account and password login, the RPA system obtains the account and password information in the secret security information, and sends a login request according to the account and password information. At this time, the current time node is 10:00, then the RPA system Judging that the monitoring period from 9:00 to 11:00 corresponding to 10:00 is an idle time period, then the current monitoring period is an idle time period, and then the RPA system uses 10:00 as the time node to obtain the subsequent 30-minute time period as a prediction period, and the first 10 minutes of the forecast period are recorded as the calculation period, and the last 20 minutes of the forecast period are recorded as the monitoring period, after which the RPA system automatically sends the login request according to the number of times and the calculation period Construct a linear regression line equation for a period of time, and calculate a straight line fitting equation, and use the straight line fitting equation to calculate the predicted sending times of the login request, and obtain the specific value of the predicted sending times. Then, the predicted sending times are compared with the preset warning value matching the current idle time period, and after judging that the predicted sending times is less than the preset warning value, the RPA system uses the account according to the login request. The password information is used to log in to the corresponding peripheral system, so that the PRA system can automatically log in to the corresponding peripheral system and prevent the RPA system from crashing due to the excessive number of automatic sending of the login request, thereby ensuring the normal operation of the automatic login function of the RPA system. The automatic login efficiency of the RPA system, then the RPA system obtains the login status of the account information in real time, and determines whether the account information is in the login state in the corresponding peripheral system, if not, the RPA system will The account information is automatically re-login in the peripheral system, thereby realizing the function of maintaining the login state of the account information in the peripheral system without manually re-login to the disconnected system account.
参考图2,本申请还提供一种基于RPA的自动化登录装置,包括web管理系统模块1、自动化登陆模块2以及登录维持模块3;Referring to FIG. 2 , the present application also provides an RPA-based automated login device, including a web
web管理系统模块1、自动化登陆模块2以及登录维持模块3之间相互相连;The web
参考图3、图4及图5,其中,web管理系统模块1内设有信息录入单元11,自动化登陆模块2内设有控制单元21以及登录单元22,登录维持模块3内设有判断单元31;3, 4 and 5, wherein, the web
信息录入单元11,用于获取用户录入的账户信息,所述账户信息内包含密保信息以及登陆方式;The information entry unit 11 is used to obtain account information entered by the user, and the account information includes confidential information and a login method;
控制单元21,用于根据所述登陆方式使用所述密保信息发送登录请求;a
登录单元22,用于根据所述登录请求对所述账户信息进行登录;a
判断单元31,用于判断所述账户信息是否处于登陆状态,若否,则将所述账户信息进行重新登录。The judging
上述各模块为执行上述基于RPA的自动化登录装置,在此不再一一介绍。The above modules are for executing the above RPA-based automatic login device, and will not be introduced one by one here.
参考图6,本申请还提供一种存储介质100,其为计算机可读的存储介质,其上存储有计算机程序200,所述计算机程序被执行时实现如上述任一项所述的基于RPA的自动化登录方法。Referring to FIG. 6 , the present application also provides a
参考图7,本申请还提供一种计算机设备,其包括处理器300、存储器及存储于所述存储器上并可在处理器300上运行的计算机程序,处理器400执行计算机程序200时实现如上述的基于RPA的自动化登录方法。7 , the present application also provides a computer device, which includes a
综合上述实施例可知,本申请最大的有益效果在于:通过识别外围系统的登陆方式后自动匹配密保信息进行统一登录,实现了无需通过人工方式来对各个系统的系统账户进登录实现了系统登录的自动化,并且在识别到系统账户掉线后对所述账号信息自动进行重新登录,实现了无需通过人工方式来对掉线的系统账户进行二次登录,解决了现有技术当中RPA产品在进行多系统管理时需要对各个系统的系统账户进行人手行登录,并且在当系统账户掉线时需要手动对系统账户进行重新登陆的问题,提升了系统的运行效率。It can be seen from the above-mentioned embodiments that the greatest beneficial effect of the present application is that: after identifying the login method of the peripheral system, the security information is automatically matched to perform unified login, which realizes the system login without manually logging into the system accounts of each system. automatic, and automatically re-login the account information after recognizing that the system account is disconnected, realizes the need to manually re-login the disconnected system account, and solves the problem that the RPA product in the prior art In multi-system management, it is necessary to manually log in to the system account of each system, and when the system account is disconnected, it is necessary to manually re-login the system account, which improves the operating efficiency of the system.
本领域技术人员可以理解,本申请所述的智能设备的操作方法和上述所涉及用于执行本申请中所述方法中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序或应用程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随机存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。Those skilled in the art can understand that the operation method of the smart device described in this application and the above-mentioned device for performing one or more of the methods described in this application. These devices may be specially designed and manufactured for the required purposes, or they may include those known in general purpose computers. These devices have computer programs or applications stored in them that are selectively activated or reconfigured. Such a computer program may be stored in a device (eg, computer) readable medium including, but not limited to, any type of medium suitable for storing electronic instructions and coupled to a bus, respectively Types of disks (including floppy disks, hard disks, CD-ROMs, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, random access memory), EPROM (Erasable Programmable Read-Only Memory) , Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, a readable medium includes any medium that stores or transmits information in a form that can be read by a device (eg, a computer).
以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the scope of the patent of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied to other related The technical field is similarly included in the scope of patent protection of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111653414.0A CN114417275A (en) | 2021-12-30 | 2021-12-30 | RPA-based automatic login method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111653414.0A CN114417275A (en) | 2021-12-30 | 2021-12-30 | RPA-based automatic login method and device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114417275A true CN114417275A (en) | 2022-04-29 |
Family
ID=81269391
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111653414.0A Pending CN114417275A (en) | 2021-12-30 | 2021-12-30 | RPA-based automatic login method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114417275A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115688759A (en) * | 2022-11-07 | 2023-02-03 | 北京北明数科信息技术有限公司 | Method, system, computer equipment and medium for classifying reported information |
US20240430245A1 (en) * | 2023-06-22 | 2024-12-26 | International Business Machines Corporation | Robotic process automation log-in method for authentication |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035088A (en) * | 2019-04-26 | 2019-07-19 | 厦门商集网络科技有限责任公司 | Method and apparatus based on RPA remote control operation system automated log on |
CN111885001A (en) * | 2020-06-24 | 2020-11-03 | 国家计算机网络与信息安全管理中心 | Abnormal login behavior recognition method, controller and medium |
CN112714093A (en) * | 2019-10-25 | 2021-04-27 | 深信服科技股份有限公司 | Account abnormity detection method, device and system and storage medium |
CN113194077A (en) * | 2021-04-19 | 2021-07-30 | 中国建设银行股份有限公司 | Login method and device, computer equipment and computer readable storage medium |
CN113765898A (en) * | 2021-08-20 | 2021-12-07 | 北京来也网络科技有限公司 | Login method, device, equipment and medium based on AI and RPA |
-
2021
- 2021-12-30 CN CN202111653414.0A patent/CN114417275A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035088A (en) * | 2019-04-26 | 2019-07-19 | 厦门商集网络科技有限责任公司 | Method and apparatus based on RPA remote control operation system automated log on |
CN112714093A (en) * | 2019-10-25 | 2021-04-27 | 深信服科技股份有限公司 | Account abnormity detection method, device and system and storage medium |
CN111885001A (en) * | 2020-06-24 | 2020-11-03 | 国家计算机网络与信息安全管理中心 | Abnormal login behavior recognition method, controller and medium |
CN113194077A (en) * | 2021-04-19 | 2021-07-30 | 中国建设银行股份有限公司 | Login method and device, computer equipment and computer readable storage medium |
CN113765898A (en) * | 2021-08-20 | 2021-12-07 | 北京来也网络科技有限公司 | Login method, device, equipment and medium based on AI and RPA |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115688759A (en) * | 2022-11-07 | 2023-02-03 | 北京北明数科信息技术有限公司 | Method, system, computer equipment and medium for classifying reported information |
CN115688759B (en) * | 2022-11-07 | 2023-11-07 | 北京北明数科信息技术有限公司 | Method, system, computer equipment and medium for classifying reported information |
US20240430245A1 (en) * | 2023-06-22 | 2024-12-26 | International Business Machines Corporation | Robotic process automation log-in method for authentication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8875267B1 (en) | Active learning-based fraud detection in adaptive authentication systems | |
CN114417275A (en) | RPA-based automatic login method and device and storage medium | |
CN105988910A (en) | Storage device life monitoring system and storage device life monitoring method thereof | |
CN112395133B (en) | Data backup method and device based on virtual machine and computer equipment | |
CN114090408B (en) | Data monitoring and analysis method, device, computer equipment and storage medium | |
CN102624865A (en) | Cluster load forecasting method and distributed cluster management system | |
CN104156297A (en) | Warning method and device | |
CN118484151B (en) | Data reading method and system of memory chip | |
CN111784472A (en) | Risk control method, device, system and readable storage medium based on consumption data | |
CN114461507A (en) | Method, apparatus, device, medium and program product for responding to an alarm event | |
CN114328132A (en) | Method, device, equipment and medium for monitoring state of external data source | |
Krasov et al. | Behavioral analysis of resource allocation systems in cloud infrastructure | |
WO2023222109A1 (en) | Network wakeup management method and apparatus, electronic device, and storage medium | |
TW202010292A (en) | Method and apparatus for predicting target device, and electronic device and storage medium | |
CN103235754A (en) | Method and device for processing requests in distributed file system | |
CN109062920B (en) | Memory-based data fast collision subsystem for data mining system | |
CN116302580B (en) | Method and device for scheduling calculation force resources of nano relay | |
CN118537946A (en) | Method and device for predicting abnormality of door lock, electronic equipment and storage medium | |
CN116319080B (en) | Safe operation method and device for electric power nano relay | |
US20240098629A1 (en) | Systems and methods for retrieving ran information | |
US20230370959A1 (en) | Systems and methods for retrieving ran information | |
CN116032585A (en) | Remote batch management method, device and equipment for simulator equipment and storage medium | |
Fang et al. | Early identification of critical blocks: Making replicated distributed storage systems reliable against node failures | |
CN115221125A (en) | File processing method and device, electronic equipment and readable storage medium | |
CN108268662B (en) | Social graph generation method based on H5 page, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |