A webpage scan code login method and system based on RPA technology
By creating an RPA execution environment and a cloud browser isolation environment in the business system, and combining RPA driver modules and status monitoring, the problems of automation stability and anti-scraping interception in the process of binding accounts on third-party platforms are solved. This enables automated QR code login and persistent information storage for user terminals, and is suitable for batch account binding scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG ZHIXING HEYI TECH CO LTD
- Filing Date
- 2026-05-26
- Publication Date
- 2026-07-31
AI Technical Summary
In scenarios where business systems are bound to third-party platform accounts, existing RPA technologies suffer from problems such as the easy failure of dynamic QR code positioning, the difficulty in synchronizing the strong binding between cloud browser sessions and user mobile scanning, and the low degree of automation and easy interception caused by the anti-crawling detection mechanism of third-party platforms. There is also a lack of a complete authorization binding strategy.
By creating a Chromium kernel virtualized RPA execution environment in the business system, utilizing an isolated environment with an independent cloud browser, and combining RPA driver modules for automatic navigation, status monitoring, and exception control, it achieves QR code capture, persistent information storage, and automated login. It also features HTTP request interception and dynamic element recognition, and supports QR code timeout refresh and authorization failure retries.
It achieves full-process cloud automation for binding third-party platform accounts, improving stability and applicability, reducing the risk of anti-scraping and interception, and is suitable for batch account binding and long-term operation. Users only need to scan a code to complete the operation.
Smart Images

Figure CN122496286A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of RPA process automation technology, specifically relating to a web page QR code login method and system based on RPA technology. Background Technology
[0002] In scenarios where business systems are linked to accounts on third-party platforms (such as short video platforms), users typically need to initiate authorization within the business system and then manually open the third-party platform's web login page and use a mobile app to scan a QR code to complete the authorization. However, in scenarios involving bulk account binding, manual operation is inefficient, error-prone, and cannot achieve scalability or continuous 24 / 7 execution.
[0003] While traditional RPA technology can automate some web page processes, it suffers from the following technical problems in third-party authorization binding scenarios: 1. QR codes on third-party platforms are dynamic, real-time resources; ordinary element positioning is prone to failure. 2. The cloud browser session is strongly bound to the user's mobile device QR code scan, making it difficult for information to be automatically synchronized; 3. Third-party platforms have anti-scraping and anomaly detection mechanisms, and simple simulation operations can easily lead to authorization restrictions; 4. Lacks a complete closed-loop strategy including QR code timeout refresh, QR code scanning status monitoring, and authorization exception retry.
[0004] Therefore, the existing third-party platform authorization binding technology suffers from problems such as reliance on manual operation, low automation, poor stability, and susceptibility to platform identification and interception. It is necessary to develop a stable, universal, efficient, and detection-avoidable RPA automated authorization binding solution. Summary of the Invention
[0005] To overcome the shortcomings of existing technologies, this invention provides a webpage QR code login method and corresponding system based on RPA technology, so as to achieve the above-mentioned advantages such as stability, universality, efficiency, and detection avoidance.
[0006] The technical solution of this invention is as follows: A web page QR code login method based on RPA technology enables the binding and automated login of user third-party platform accounts through a business system, including: Step 1: Preparatory work for authorization by the business system; Step 2: The user initiates an account binding authorization request, and the business system obtains the QR code from the third-party platform; Step 3: The user scans the code to authorize and confirm, and the business system automatically completes the binding of the business system account and the third-party platform account in the cloud; Step 4: The business system implements persistent storage of user authorization information and subsequent automated login.
[0007] Preferably, step 1 includes: (1) The business system creates an RPA execution environment based on Chromium kernel virtualization; (2) The business system creates a cloud browser isolation environment with an independent, clean IP address; (3) The business system completes the initialization of basic data, including authorization policies and account configurations; (4) The business system completes the preparation of cloud device resources related to RPA function.
[0008] Preferably, step 2 includes: (1) The user initiates an authorization binding request for a third-party platform in the business system; (2) The business system sends the authorization request to the cloud server; (3) The cloud server schedules idle devices and starts the Chromium cloud browser; (4) The RPA driver module automatically navigates to the third-party platform's authorized login page and loads the QR code; (5) The QR code capture module captures the QR code image and session identifier and reports it to the cloud server; (6) The cloud server sends the QR code to the front end of the business system for display, waiting for users to scan the code using the corresponding APP.
[0009] Preferably, step 3 includes: (1) Use a third-party platform's APP on the user terminal to scan the QR code displayed in the business system; (2) After the user terminal completes the authorization confirmation, the status monitoring module listens to the authorization success status in the cloud browser in real time; (3) The RPA driver module automatically confirms the authorization result and completes the login to the third-party platform; (4) The business system automatically establishes a binding relationship between the business system account and the third-party platform account.
[0010] Preferably, step 4 includes: (1) The cloud server of the business system records and persistently stores user information, including binding relationship, login status, and session cookies; (2) When users need to use a third-party platform later, the business system will directly call the already bound account information; (3) The RPA driver module injects cookies into the cloud browser to complete the login directly without scanning the code again; (4) Once the user terminal is logged in, the subsequent automated business process will be executed.
[0011] Preferably, the business system relies on the RPA-driven module to load the authorization login page of the third-party platform in the cloud browser. The QR code capture module captures the platform's authorization QR code and session identifier in real time and sends the QR code content to the front end of the business system for users to scan. After the user completes the QR code authorization using the third-party platform's mobile APP, the status monitoring module monitors the browser's login and authorization results, and the exception control module implements fault tolerance functions including QR code timeout refresh and automatic retry for authorization failure.
[0012] Preferably, the RPA driver module has an HTTP request interception function, which can filter AJAX requests during the automation process and intercept key information including authorization sessions and tokens to support subsequent account binding processes.
[0013] Preferably, the RPA driver module has XPath and CSS element search functions, which can identify dynamic HTML elements and accurately locate QR code areas and session-related nodes.
[0014] Preferably, the RPA driver module has a Web element interaction simulation function, which can perform various operations simulating natural human behavior, including mouse clicks, page loading, and DOM reading, based on the WebDriver protocol.
[0015] This invention also provides a web page QR code login system based on RPA technology, including a user terminal, a business system, a cloud browser, and a third-party platform. The user terminal sends an authorization binding request to the third-party platform account through the business system and performs QR code confirmation, as well as subsequent automated login operations. The business system includes a front-end, a cloud server, and a storage database. The front-end receives instructions from the user terminal and transmits them to the cloud server to obtain the login QR code of the third-party platform through the cloud browser. The cloud server, based on user confirmation, binds the third-party platform account with the business system account and performs subsequent automated login operations. The storage database persistently stores information including user binding relationships, login status, and session cookies. The third-party platform provides users with services including information delivery, video playback, and product purchase.
[0016] Preferably, the business system further includes an authorization proxy module, an RPA driver module, a QR code capture module, a status monitoring module, and an exception control module. The authorization proxy module can handle the user's authorization binding request and QR code scanning status on the corresponding platform's mobile APP, providing a foundation for the operation of other modules. The RPA driver module loads the authorization login page of the third-party platform in the cloud browser, and captures the platform's authorization QR code and session identifier in real time through the QR code capture module, and sends the QR code content to the business system for users to scan. The status monitoring module monitors the login and authorization results of the cloud browser in real time after the user issues an authorization request and confirms the QR code. The exception control module has fault-tolerant functions including QR code timeout refresh and automatic retry for authorization failure.
[0017] The beneficial effects of this invention are as follows: 1. Achieve end-to-end cloud-based automation of the authorization and binding process from business systems to third-party platforms; users only need to scan a code and do not need to operate a browser. 2. Adapts to complex scenarios such as dynamic QR codes, session binding, and timeout expiration, with high stability; 3. By using behavioral simulation and frequency control, the probability of anti-scraping interception by third-party platforms can be reduced; 4. It has a complete status monitoring and exception retry mechanism, suitable for batch account binding and long-term operation; 5. Highly versatile, compatible with various third-party web platforms that use QR code authorization, such as TikTok. Attached Figure Description
[0018] Figure 1 This is a diagram illustrating the overall system architecture and workflow of the present invention; Figure 2 This is a flowchart illustrating the pre-authorization preparation process for step S1 of the present invention. Figure 3 This is a flowchart of step S2 of the present invention, which involves user authorization and RPA obtaining a QR code from a third-party platform. Figure 4 This is a flowchart illustrating step S3 of the present invention, which involves user QR code authorization and automatic binding by the business system in the cloud. Figure 5 This is a flowchart illustrating the persistence of user authorization information and subsequent automated login in step S4 of the present invention. Detailed Implementation
[0019] The present invention will be further described below with reference to specific embodiments and accompanying drawings: like Figure 1-5 As shown, this invention provides a webpage QR code login method based on RPA technology, which realizes the binding and automated login of users' third-party platform accounts through a business system. The process includes the following steps: Step 1: Preparations before authorization: (1) The business system creates an RPA execution environment based on Chromium kernel virtualization technology; (2) The business system creates a cloud browser isolation environment with an independent, clean IP address; (3) The business system completes the initialization of basic data such as authorization policies and account configurations; (4) The business system completes the preparation of cloud device resources related to RPA function.
[0020] Step 2: User authorization and obtaining the third-party platform QR code: (1) The user initiates an authorization binding request for a third-party platform (such as Douyin) in the business system that is connected to the user terminal (mobile terminal); (2) The business system sends the authorization request to the cloud server; (3) The cloud server schedules idle devices and starts the Chromium cloud browser; (4) The RPA driver module automatically navigates to the third-party platform's authorized login page and loads the QR code; (5) The QR code capture module captures the QR code image and session identifier and reports it to the cloud server; (6) The cloud server sends the QR code to the front end of the business system for display, waiting for users to scan the code using the corresponding APP.
[0021] Step 3: User scans QR code and account binding is automatically completed in the cloud: (1) Users scan the QR code displayed by the business system using a third-party platform (such as Douyin) APP on their user terminal (mobile terminal); (2) After the user completes the authorization confirmation on the user terminal, the status monitoring module listens to the authorization success status in the cloud browser in real time. When the authorization is successful, the page status change event in the cloud browser is triggered. (3) The RPA driver module of the business system automatically confirms the authorization result, completes the login to the third-party platform, and completes the callback after login; (4) The business system automatically establishes a binding relationship between the business system account and the third-party platform account.
[0022] Step 4: Persistent storage of user authorization information and subsequent automated login: (1) The business system records and persistently stores information such as binding relationships, login status, and session cookies in the cloud. (2) When users need to use a third-party platform later, the business system will directly call the already bound account information; (3) The RPA driver module injects cookies into the cloud browser to complete the login directly without scanning the code again; (4) Once the user terminal is logged in, the subsequent automated business process will be executed.
[0023] Specifically, this method relies on the RPA-driven module to load the authorization login page of a third-party platform (such as Douyin) in the cloud browser. The QR code capture module captures the platform's authorization QR code and session identifier in real time, and sends the QR code content to the business system for users to scan. After the user completes the authorization by scanning the code using the corresponding platform's mobile APP, the status monitoring module monitors the login and authorization results. The exception control module can realize fault-tolerant control such as QR code timeout refresh and automatic retry for authorization failure.
[0024] Specifically, the RPA driver module has an HTTP request interception function, which can filter AJAX requests during the automation process, intercept key information such as authorization sessions and tokens, and support the subsequent account binding process.
[0025] Specifically, the RPA driver module has XPath and CSS element search functions, which can identify dynamic HTML elements and accurately locate QR code areas and session-related nodes.
[0026] Specifically, the RPA driver module has a Web element interaction simulation function, which can perform operations such as mouse clicks, page loading, and DOM reading based on the WebDriver protocol, simulating natural human behavior and reducing the detection risk of third-party platforms.
[0027] Based on the above method, the present invention realizes browser automation service through business system, which can listen for authorization requests initiated by the front end of business system, remotely start cloud browser through RPA driver module, automatically access third-party platform authorization page and obtain authorization QR code information.
[0028] This invention also provides a web page QR code login system based on RPA technology to implement the above method. The system includes a user terminal, a business system, a cloud browser, and a third-party platform. The user terminal sends an authorization binding request to the third-party platform account through the business system and performs QR code scanning confirmation, and subsequently performs automatic login operations through the business system. The business system has an RPA function module. The RPA, upon user request, obtains the login QR code of the third-party platform through the cloud browser and, upon user confirmation, binds the third-party platform account to the business system account, and subsequently performs automated login upon user request. The third-party platform provides users with services such as information transmission, video playback, and product purchase.
[0029] Specifically, the business system includes a front-end, a cloud server, and a storage database. The front-end receives various instructions from the user terminal and transmits them to the cloud server for operation. The cloud server uses a cloud browser to bind third-party platform accounts with business system accounts and automate login operations. The storage database persistently stores information such as user binding relationships, login status, and session cookies.
[0030] More specifically, the business system includes an authorization agent module, an RPA driver module, a QR code capture module, a status monitoring module, and an exception control module. These modules work together to automate the entire account authorization and binding process, wherein: The authorization agent module can handle the authorization binding requests and QR code scanning status of users on the corresponding platform's mobile APP, providing a foundation for the operation of other modules; The RPA driver module loads the authorization login page of the third-party platform in the cloud browser, and captures the platform authorization QR code and session identifier in real time through the QR code capture module, and sends the QR code content to the business system for users to scan. The status monitoring module can monitor the login and authorization results of the cloud browser after the user sends an authorization request and completes the QR code authorization using the mobile APP of the corresponding platform. The exception control module can realize fault-tolerant control such as QR code timeout refresh and automatic retry for authorization failure.
[0031] In summary, this invention enables automated authorization binding between business system accounts and third-party platform accounts without requiring manual operation of the cloud browser. It is stable, reliable, and highly resistant to detection throughout the process, making it suitable for batch account authorization binding scenarios and effectively improving the efficiency of automated operations.
[0032] It should be noted that the above embodiments are merely preferred embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Equivalent modifications made based on the above embodiments are all within the scope of protection of the present invention.
Claims
1. A webpage QR code login method based on RPA technology, which realizes the binding and automated login of user third-party platform accounts through a business system, characterized in that... The specific steps include: Step 1: Preparatory work for authorization by the business system; Step 2: The user initiates an account binding authorization request, and the business system obtains the QR code from the third-party platform; Step 3: The user scans the code to authorize and confirm, and the business system automatically completes the binding of the business system account and the third-party platform account in the cloud; Step 4: The business system implements persistent storage of user authorization information and subsequent automated login.
2. The webpage QR code login method based on RPA technology according to claim 1, characterized in that, Step 1 includes: (1) The business system creates an RPA execution environment based on Chromium kernel virtualization; (2) The business system creates a cloud browser isolation environment with an independent, clean IP address; (3) The business system completes the initialization of basic data, including authorization policies and account configurations; (4) The business system completes the preparation of cloud device resources related to RPA function.
3. The webpage QR code login method based on RPA technology according to claim 1, characterized in that, Step 2 includes: (1) The user initiates an authorization binding request for a third-party platform in the business system; (2) The business system sends the authorization request to the cloud server; (3) The cloud server schedules idle devices and starts the Chromium cloud browser; (4) The RPA driver module automatically navigates to the third-party platform's authorized login page and loads the QR code; (5) The QR code capture module captures the QR code image and session identifier and reports it to the cloud server; (6) The cloud server sends the QR code to the front end of the business system for display, waiting for users to scan the code using the corresponding APP.
4. The webpage QR code login method based on RPA technology according to claim 1, characterized in that, Step 3 includes: (1) Use a third-party platform's APP on the user terminal to scan the QR code displayed in the business system; (2) After the user terminal completes the authorization confirmation, the status monitoring module listens to the authorization success status in the cloud browser in real time; (3) The RPA driver module automatically confirms the authorization result and completes the login to the third-party platform; (4) The business system automatically establishes a binding relationship between the business system account and the third-party platform account.
5. The webpage QR code login method based on RPA technology according to claim 1, characterized in that, Step 4 includes: (1) The cloud server of the business system records and persistently stores user information, including binding relationship, login status, and session cookies; (2) When users need to use a third-party platform later, the business system will directly call the already bound account information; (3) The RPA driver module injects cookies into the cloud browser to complete the login directly without scanning the code again; (4) Once the user terminal is logged in, the subsequent automated business process will be executed.
6. A webpage QR code login method based on RPA technology according to any one of claims 1-5, characterized in that: The business system relies on the RPA-driven module to load the authorization login page of the third-party platform in the cloud browser. The QR code capture module captures the platform's authorization QR code and session identifier in real time and sends the QR code content to the front end of the business system for users to scan. After the user completes the authorization by scanning the code using the third-party platform's mobile APP, the status monitoring module monitors the browser's login and authorization results, and the exception control module implements fault tolerance functions including QR code timeout refresh and automatic retry for authorization failure.
7. The webpage QR code login method based on RPA technology according to claim 1, characterized in that: The RPA driver module has functions such as HTTP request interception, XPath and CSS element lookup, and Web element interaction simulation.
8. A webpage QR code login system based on RPA technology, characterized in that: The system includes a user terminal, a business system, a cloud browser, and a third-party platform. The user terminal sends an authorization binding request to the third-party platform account through the business system and performs QR code confirmation, as well as subsequent automated login operations. The business system includes a front-end, a cloud server, and a storage database. The front-end receives instructions from the user terminal and transmits them to the cloud server to obtain the login QR code of the third-party platform through the cloud browser. The cloud server, based on user confirmation, binds the third-party platform account with the business system account and performs subsequent automated login operations. The storage database persistently stores information including user binding relationships, login status, and session cookies. The third-party platform provides users with services including information delivery, video playback, and product purchase.
9. A webpage QR code login system based on RPA technology according to claim 8, characterized in that: The business system also includes an authorization proxy module, an RPA driver module, a QR code capture module, a status monitoring module, and an exception control module. The authorization proxy module can handle the authorization binding requests and QR code scanning status of users on the corresponding platform's mobile APP, providing a foundation for the operation of other modules. The RPA driver module loads the authorization login page of the third-party platform in the cloud browser, and captures the platform's authorization QR code and session identifier in real time through the QR code capture module, and sends the QR code content to the business system for users to scan. The status monitoring module monitors the login and authorization results of the cloud browser in real time after the user issues an authorization request and confirms the QR code. The exception control module has fault-tolerant functions including QR code timeout refresh and automatic retry for authorization failure.