A method for implementing automatic interaction of an account system using a tunnel agent
By using a tunnel proxy to receive and transmit data interaction requests between the client and the server, the problem of easy leakage of account information is solved, and convenient automated interaction and centralized management of the account system are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DEBON SECURITIES CO LTD
- Filing Date
- 2023-07-25
- Publication Date
- 2026-07-10
AI Technical Summary
In existing technologies for automated data interaction between clients and servers on web pages, account information can easily be obtained by third parties, leading to inconvenience in operation and lack of centralized management.
A tunnel proxy is used to receive data interaction requests from clients, access the server and transmit information. After the client successfully logs in, it closes the interaction channel and the tunnel proxy forwards the identifier to the automation server to realize automated interaction between multiple clients and the server.
It protects account information and prevents leaks, while also facilitating automated interaction within the account system and supporting centralized management.
Smart Images

Figure CN116723046B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automated interaction technology, and more specifically, to a method for automating interaction in an account system using a tunnel proxy. Background Technology
[0002] Currently, automated data interaction between clients and servers on web pages can be achieved through two methods: RPA and API. If the interaction requires account access, both methods necessitate knowledge of the account details before implementation. To protect the account from third-party knowledge, a locally deployed service is typically used for the interaction. This tightly couples the account with the automated interaction, requiring the account holder to install the service, which is inconvenient and hinders centralized management. Summary of the Invention
[0003] To address the shortcomings of existing technologies, this invention provides a method for automating interaction in an account system using a tunnel proxy.
[0004] According to one aspect of the present invention, a method for automating interaction in an account system using a tunnel proxy is provided, comprising:
[0005] When multiple clients need to interact with the server through accounts, the tunnel proxy receives data interaction requests from multiple clients and accesses the server.
[0006] The tunnel proxy receives the returned information from the server and transmits it to multiple clients respectively;
[0007] If multiple clients successfully log in to the account, close the interaction channel between the tunnel proxy and the clients;
[0008] The tunnel proxy forwards the client identifier and server identifier to the automation server. The automation server enables automated interaction between multiple clients and the server through the client identifier and server identifier.
[0009] Optionally, it also includes:
[0010] The server obtains the client's login account information from the data interaction request;
[0011] If the account information is correct, the server returns a login success message to the tunnel proxy.
[0012] Optionally, the client can be a mobile device or a PC.
[0013] Optionally, the automated server enables automated interaction between multiple clients and the server through client identifiers and server identifiers, including:
[0014] The automated server receives the information required by the client from the server and returns it to multiple clients.
[0015] According to another aspect of the present invention, an automated interaction device for an account system using a tunnel proxy is provided, comprising:
[0016] The receiving module is used to receive data interaction requests from multiple clients and access the server when multiple clients need to interact with the server through accounts.
[0017] The transmission module is used by the tunnel proxy to receive return information from the server and transmit it to multiple clients respectively;
[0018] The shutdown module is used to close the interaction channel between the tunnel proxy and the client when multiple clients successfully log in to the account.
[0019] The interaction module is used by the tunnel proxy to forward client and server identifiers to the automation server. The automation server enables automated interaction between multiple clients and the server through the client and server identifiers.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, the storage medium storing a computer program for performing the methods described in any of the above aspects of the present invention.
[0021] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: a processor; a memory for storing executable instructions of the processor; the processor being configured to read the executable instructions from the memory and execute the instructions to implement the method described in any of the preceding aspects of the present invention.
[0022] Therefore, this invention provides a method for automating interaction within an account system using a tunnel proxy, employing the tunnel proxy to obtain user interaction identifiers. It efficiently utilizes the basic proxy characteristics of a tunnel proxy. Subsequent operations can be customized downstream of the tunnel proxy, offering flexibility and convenience. It protects user accounts while automating necessary interactions within the account system. Attached Figure Description
[0023] Exemplary embodiments of the present invention can be more fully understood by referring to the following figures:
[0024] Figure 1 This is a flowchart illustrating an exemplary embodiment of the present invention of a method for automating interaction in an account system using a tunnel proxy.
[0025] Figure 2 This is another flowchart illustrating an exemplary embodiment of the present invention for a method of automating interaction in an account system using a tunnel proxy.
[0026] Figure 3 This is a schematic diagram illustrating account login using a tunnel proxy, provided by an exemplary embodiment of the present invention.
[0027] Figure 4 This is a schematic diagram illustrating successful login using a tunnel proxy, provided by an exemplary embodiment of the present invention.
[0028] Figure 5 This is a schematic diagram of an exemplary embodiment of the present invention, illustrating a method for automating interaction in an account system using a tunnel proxy.
[0029] Figure 6 This is a schematic diagram of the structure of an automated interaction device for an account system using a tunnel proxy, provided in an exemplary embodiment of the present invention.
[0030] Figure 7 This is the structure of an electronic device provided in an exemplary embodiment of the present invention. Detailed Implementation
[0031] Hereinafter, exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments of the present invention. It should be understood that the present invention is not limited to the exemplary embodiments described herein.
[0032] It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps described in these embodiments do not limit the scope of the invention.
[0033] Those skilled in the art will understand that the terms "first," "second," etc., in the embodiments of the present invention are only used to distinguish different steps, devices, or modules, and do not represent any specific technical meaning, nor do they indicate a necessary logical order between them.
[0034] It should also be understood that in the embodiments of the present invention, "multiple" can refer to two or more, and "at least one" can refer to one, two or more.
[0035] It should also be understood that any component, data or structure mentioned in the embodiments of the present invention can generally be understood as one or more unless explicitly defined or given contrary instructions in the context.
[0036] Furthermore, the term "and / or" in this invention is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this invention generally indicates that the preceding and following related objects have an "or" relationship.
[0037] It should also be understood that the description of the various embodiments in this invention emphasizes the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, they will not be described in detail.
[0038] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.
[0039] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the invention or its application or use.
[0040] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, they should be considered part of the specification.
[0041] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0042] The embodiments of this invention can be applied to electronic devices such as terminal devices, computer systems, and servers, and can operate together with a wide range of other general-purpose or special-purpose computing system environments or configurations. Well-known examples of terminal devices, computing systems, environments, and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, and servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments including any of the above systems, etc.
[0043] Electronic devices such as terminal devices, computer systems, and servers can be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. Typically, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in distributed cloud computing environments, where tasks are executed by remote processing devices linked through communication networks. In distributed cloud computing environments, program modules can reside on local or remote computing system storage media, including storage devices.
[0044] Exemplary methods
[0045] Figure 1This is a flowchart illustrating an exemplary embodiment of the present invention regarding a method for automating interaction in an account system using a tunnel proxy. This embodiment can be applied to electronic devices, such as… Figure 1 As shown, the automated interaction method 100 for an account system using a tunnel proxy includes the following steps:
[0046] Step 101: When multiple clients need to interact with the server through accounts, the tunnel proxy receives data interaction requests from multiple clients and accesses the server.
[0047] Step 102: The tunnel proxy receives the returned information from the server and transmits it to multiple clients respectively;
[0048] Step 103: If multiple clients successfully log in to their accounts, close the interaction channel between the tunnel proxy and the clients;
[0049] Step 104: The tunnel proxy forwards the client identifier and server identifier to the automation server. The automation server enables automated interaction between multiple clients and the server through the client identifier and server identifier.
[0050] Optionally, it also includes:
[0051] The server obtains the client's login account information from the data interaction request;
[0052] If the account information is correct, the server returns a login success message to the tunnel proxy.
[0053] Optionally, the client can be a mobile device or a PC.
[0054] Optionally, the automated server enables automated interaction between multiple clients and the server through client identifiers and server identifiers, including:
[0055] The automated server receives the information required by the client from the server and returns it to multiple clients.
[0056] Specifically, refer to Figure 2 As shown, the tunnel proxy acts as a forward proxy. Clients log in with their accounts and access the server through the tunnel proxy, without being restricted by IP policies.
[0057] The tunnel proxy receives information returned by the server and sends it back to the client. If the client logs in successfully, it can close the interaction channel.
[0058] After receiving the information returned by the server, the tunnel proxy collects the identifiers required for subsequent interactions.
[0059] Pass this identifier to the automated interaction service.
[0060] The automated interaction service uses identifiers to continue interacting with the server and obtain the information the user needs.
[0061] Specific use cases are as follows: 1. Scenario goal: Team members receive subscription emails from designated subscription accounts at irregular intervals every day. Now, it is necessary to summarize the specified rules in the Excel files attached to these subscription emails and implement some of the indicators.
[0062] 2. Existing strategy:
[0063] a. Members log in to their local email accounts and use automated scripts to retrieve subscribed emails. Pain points: Inflexible third-party support (e.g., requiring script rewriting and local execution to change specified file rules), and network limitations (e.g., members' local networks are incompatible with the database, or members in remote locations need to log in via VPN to use their company email accounts).
[0064] b. Members provide their usernames and passwords, and an automated script on the server retrieves the emails. Pain point: Providing usernames and passwords can easily lead to password leaks.
[0065] 3. Using this method for technical support can resolve the problems caused by the two strategies mentioned above. Please refer to [link / reference] for details. Figures 3-5 As shown:
[0066] 1) The tunnel proxy obtains the client's email login information using the account and provides a proxy IP so that all members can be proxied to the same email environment.
[0067] 2) After successful login on the client, the tunnel proxy obtains the valid user identifier from the login success message returned by the email address.
[0068] 3) The tunnel agent provides a valid user identifier to the downstream automation server.
[0069] 4) The automated server retrieves attachments from the email inbox, collects subscribed emails, and parses and stores them. If email rules or parsing methods change, only the automated service needs to be modified, minimizing costs.
[0070] Solve the following problems:
[0071] 1. Used for automated page interactions that require account login.
[0072] 2. Protect user accounts in interactive scenarios. Since most account systems employ encryption, plaintext is not accessible during communication. This helps protect user accounts from being leaked.
[0073] 3. Tunnel proxies can securely and seamlessly obtain the necessary identifiers for user interaction and perform subsequent automated interactions.
[0074] 4. Account login and automated interaction have been separated for centralized management.
[0075] Therefore, this invention provides a method for automating interaction within an account system using a tunnel proxy, employing the tunnel proxy to obtain user interaction identifiers. It efficiently utilizes the basic proxy characteristics of a tunnel proxy. Subsequent operations can be customized downstream of the tunnel proxy, offering flexibility and convenience. It protects user accounts while automating necessary interactions within the account system.
[0076] Exemplary device
[0077] Figure 6 This is a schematic diagram of the structure of an automated interaction device for an account system using a tunnel proxy, provided in an exemplary embodiment of the present invention. Figure 6 As shown, the device 600 includes:
[0078] The receiving module 610 is used to receive data interaction requests from multiple clients and access the server when multiple clients need to interact with the server through accounts.
[0079] The transmission module 620 is used for the tunnel proxy to receive return information from the server and transmit it to multiple clients respectively;
[0080] Module 630 is used to close the interaction channel between the tunnel proxy and the client when multiple clients successfully log in to the account.
[0081] The interaction module 640 is used by the tunnel proxy to forward the client identifier and server identifier to the automation server. The automation server realizes automated interaction between multiple clients and the server through the client identifier and the server identifier.
[0082] Optionally, the device 600 also includes:
[0083] The acquisition module is used by the server to obtain the client's login account information from the data interaction request;
[0084] The return module is used to return a login success message to the tunnel proxy if the account information is correct.
[0085] Optionally, the client can be a mobile device or a PC.
[0086] Optionally, the interaction module 640 includes:
[0087] The interaction submodule is used to automate the process of the server receiving the information required by the client from the server and returning it to multiple clients.
[0088] Exemplary electronic devices
[0089] Figure 7 This is the structure of an electronic device provided in an exemplary embodiment of the present invention. For example... Figure 7 As shown, the electronic device 70 includes one or more processors 71 and a memory 72.
[0090] The processor 71 may be a central processing unit (CPU) or other form of processing unit with data processing and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
[0091] The memory 72 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 71 may execute the program instructions to implement the methods of the software programs of the various embodiments of the present invention described above, and / or other desired functions. In one example, the electronic device may also include an input device 73 and an output device 74, these components being interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0092] In addition, the input device 73 may also include, for example, a keyboard, a mouse, etc.
[0093] The output device 74 can output various information to the outside. The output device 74 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.
[0094] Of course, for the sake of simplicity, Figure 7 Only some of the components of the electronic device relevant to the present invention are shown, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device may include any other suitable components depending on the specific application.
[0095] Exemplary computer program products and computer-readable storage media
[0096] In addition to the methods and apparatus described above, embodiments of the present invention may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps in the methods according to various embodiments of the present invention described in the "Exemplary Methods" section above.
[0097] The computer program product can be written in any combination of one or more programming languages to perform the operations of the embodiments of the present invention. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0098] Furthermore, embodiments of the present invention may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps of the methods for information mining of historical change records according to various embodiments of the present invention as described in the "Exemplary Methods" section above.
[0099] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.
[0100] The basic principles of the present invention have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in the present invention are merely examples and not limitations, and should not be considered as essential features of each embodiment of the present invention. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the present invention to the necessity of employing the aforementioned specific details.
[0101] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For system embodiments, since they largely correspond to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0102] The block diagrams of devices, systems, devices, and systems involved in this invention are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, systems, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.
[0103] The methods and systems of the present invention may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of the present invention are not limited to the order specifically described above unless otherwise specifically stated. Furthermore, in some embodiments, the present invention may also be implemented as a program recorded on a recording medium, the program comprising machine-readable instructions for implementing the methods according to the present invention. Thus, the present invention also covers recording media storing programs for performing the methods according to the present invention.
[0104] It should also be noted that in the systems, apparatus, and methods of the present invention, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered equivalents of the present invention. The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of the invention. Therefore, the invention is not intended to be limited to the aspects shown herein, but rather to be carried out within the widest scope consistent with the principles and novel features disclosed herein.
[0105] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the invention to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations therein.
Claims
1. A method for automating interaction in an account system using a tunnel proxy, characterized in that, include: When multiple clients need to interact with the server through accounts, the tunnel proxy receives data interaction requests from multiple clients and accesses the server. The tunnel proxy receives the returned information from the server and transmits it to multiple clients respectively; If multiple clients successfully log in to the account, close the interaction channel between the tunnel proxy and the clients; The tunnel proxy forwards the client identifier and server identifier to the automation server, which uses the client identifier and server identifier to enable automated interaction between multiple clients and the server.
2. The method according to claim 1, characterized in that, Also includes: The server obtains the client's login account information from the data interaction request; If the account information is correct, the server returns a login success message to the tunnel proxy.
3. The method according to claim 1, characterized in that, The client can be a mobile device or a PC.
4. The method according to claim 1, characterized in that, The automated server enables automated interaction between multiple clients and the server through the client identifier and the server identifier, including: The automated server receives the information required by the client from the server and returns it to multiple clients.
5. A device for automating the interaction of an account system using a tunnel proxy, characterized in that, include: The receiving module is used to receive data interaction requests from multiple clients and access the server when multiple clients need to interact with the server through accounts. A transmission module is used for the tunnel proxy to receive return information from the server and transmit it to multiple clients respectively; The shutdown module is used to close the interaction channel between the tunnel proxy and the client when multiple clients successfully log in to the account. An interaction module is used by the tunnel proxy to forward the client identifier and server identifier to the automation server, and the automation server realizes automated interaction between multiple clients and the server through the client identifier and the server identifier.
6. The apparatus according to claim 5, characterized in that, Also includes: The acquisition module is used by the server to obtain the client's login account information from the data interaction request; The return module is used to return login success information to the tunnel proxy when the account information is correct.
7. The apparatus according to claim 5, characterized in that, The client can be a mobile device or a PC.
8. The apparatus according to claim 5, characterized in that, Interactive modules, including: The interaction submodule is used by the automation server to receive the information required by the client from the server and return it to multiple clients.
9. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the method described in any one of claims 1-4.
10. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the method described in any one of claims 1-4.