Traffic ticket purchase method, device and system based on RPA and AI to achieve IA

Through the collaboration of RPA robots and AI technology, an efficient and secure ticket purchasing process has been achieved, solving the problems of low ticket purchasing efficiency and information leakage, improving the ticket purchase success rate and ensuring user information security.

CN115017397BActive Publication Date: 2025-09-23BEIJING BENYING NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210585006.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-27
Publication Date
2025-09-23
Estimated Expiration
2042-05-27

AI Technical Summary

Technical Problem

The existing ticket purchasing technology is inefficient and has the risk of information leakage, especially during holidays when it is difficult to successfully purchase train tickets and user information is easily leaked.

Method used

RPA robots are used to regularly refresh the ticket purchase website. Combined with AI's natural language processing (NLP) services and communication client and server architecture, a human-machine collaborative ticket purchase process is implemented. Key information is sent to the user's communication software through the communication client, and ticket purchase operations are automatically executed according to user instructions, avoiding the need to save user information.

Benefits of technology

It improves the success rate of ticket purchase, saves users' time, ensures information security, avoids the risk of information leakage, and meets users' personalized ticket purchase needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115017397B_ABST
    Figure CN115017397B_ABST
Patent Text Reader

Abstract

The present application proposes a method, device, system, equipment, server and medium for purchasing transportation tickets based on RPA and AI to implement IA. The method includes: S1, obtaining key information of the target transportation that meets the preset travel needs; S2, based on the first communication relationship between the communication client and the communication server, sending a first message containing key information to the communication server through the communication client to instruct the communication server to send the key information to the communication software; S3, receiving a second message sent by the communication server through the communication client; S4, if it is parsed that the second message contains a purchase instruction about the target identification information, then executing a purchase operation on the transportation ticket corresponding to the target identification information on the target ticket purchase website. By adopting the above-mentioned technical solution combining RPA and AI, the purchase of transportation tickets is realized in an intelligent and automated manner, solving the problems of low ticket purchase efficiency and the risk of information leakage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of process automation technology, and in particular to a method, device, system, equipment, server and medium for purchasing transportation tickets based on RPA and AI to implement IA. Background Art

[0002] Robotic Process Automation (RPA) is the abbreviation of Robotic Process Automation. It uses specific "robot software" to simulate human operations on computers and automatically execute process tasks according to rules.

[0003] Artificial Intelligence (AI) is a technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.

[0004] Intelligent Automation (IA) is a general term for a range of technologies, from robotic process automation to artificial intelligence. It combines RPA with a variety of AI technologies, including optical character recognition (OCR), intelligent character recognition (ICR), process mining, deep learning (DL), machine learning (ML), natural language processing (NLP), automatic speech recognition (ASR), text-to-speech (TTS), and computer vision (CV), to create end-to-end business processes that think, learn, and adapt. This encompasses the entire process, from process discovery and automation to automatic and continuous data collection, understanding the meaning of that data, and using that data to manage and optimize business processes. Currently, economic development has greatly facilitated travel for users. When users need to travel, they can choose a mode of transportation based on their needs, such as airplane, car, train, or ship. There are corresponding ticket purchasing websites for different means of transportation. After users successfully purchase tickets from the ticket purchasing website, they can use the tickets to take the corresponding means of transportation.

[0005] However, during holidays, due to the large number of travelers, users often face the problem of "tickets are hard to come by." Take train tickets, for example. During holidays, train tickets are often out of stock. To successfully purchase a ticket during holidays, users must frequently monitor ticket purchasing websites and constantly refresh the website to check the ticket status, which is a relatively inefficient operation. In addition, some users purchase train tickets through third-party ticket purchasing software. During the ticket purchase process, users need to enter the account and password required for the purchase, as well as the passenger's ID card, phone number, and other information into the third-party ticket purchasing software. This operation poses a serious risk of information leakage. Summary of the Invention

[0006] The present application provides a method, apparatus, system, device, server, and medium for purchasing transportation tickets based on RPA and AI to implement IA, addressing the problems of low ticket purchase efficiency and information leakage risks in related technologies. The technical solution is as follows:

[0007] In a first aspect, an embodiment of the present application provides a method for purchasing transportation tickets for IA based on RPA and AI, including:

[0008] S1. Obtain key information of a target transportation vehicle that meets preset travel requirements, where the preset travel requirements include a departure location, a destination, and a departure date; the key information includes identification information of the target transportation vehicle for which tickets can be purchased, travel time period information, and fare information;

[0009] S2. Based on a first communication relationship between the communication client and the communication server, sending a first message containing key information to the communication server through the communication client, where the first message is used to instruct the communication server to send the key information to the user's communication software based on a second communication relationship between the communication client and the communication server; wherein the communication client is configured in the platform where the RPA robot is located;

[0010] S3. Receiving, through the communication client, a second message sent by the communication server;

[0011] S4. If the second message is parsed to contain a ticket purchase instruction related to the target identification information, a purchase operation is performed on the target ticket purchase website for the transportation ticket corresponding to the target identification information;

[0012] The ticket purchase instruction is a ticket purchase instruction sent to the communication server through the communication software after the user determines the target identification information of the transportation ticket to be purchased from the key information.

[0013] Optionally, step S1 specifically includes:

[0014] S11. Log in to the target ticket purchasing website;

[0015] S12. Searching for information on target transportation that meets the preset travel requirements on the target ticket purchasing website according to the command parameter value corresponding to the preset travel requirements in the current process;

[0016] S13. Obtain search results, and select travel information of a target transportation vehicle for which tickets can be purchased from the search results as key information.

[0017] Optionally, step S4 specifically includes:

[0018] S41. Perform semantic recognition on the second message based on a natural language processing (NLP) service.

[0019] S42: Based on the semantic recognition result, if it is determined that the second message contains a ticket purchase instruction related to the target identification information, a purchase operation is performed on the target ticket purchase website for the transportation ticket corresponding to the target identification.

[0020] Optionally, step S42 specifically includes:

[0021] S421: If it is determined that the second message contains a ticket purchase instruction related to the target identification information, triggering a submission instruction for the transportation ticket order corresponding to the target identification information on the target ticket purchase website;

[0022] S422. After the order is successfully submitted, obtain the payment code corresponding to the order;

[0023] S423. Send a third message containing the payment code to the communication server through the communication client. The third message is used to instruct the communication server to send the payment code to the user's communication software to instruct the user to complete the payment of the bill amount on the communication software according to the payment code.

[0024] Optionally, the communication client includes a message sending interface and a message receiving interface;

[0025] Accordingly, step S2 specifically includes:

[0026] Based on the first communication relationship between the communication client and the communication server, calling the message sending interface corresponding to the message sending command, and sending the first message containing the key information to the communication server;

[0027] Accordingly, step S3 specifically includes:

[0028] Calling the message receiving interface corresponding to the message receiving command to receive the second message sent by the communication server;

[0029] The parameters of the message sending command and the message receiving command both include the user's communication software identifier and the user's corresponding identity identifier in the communication software.

[0030] In a second aspect, an embodiment of the present application provides a method for purchasing transportation tickets based on RPA and AI to implement IA, which is applied to a communication server. The method includes:

[0031] S5. Based on the first communication relationship with the communication client, receiving a first message containing key information sent by the RPA robot through the communication client, the key information being information obtained by the RPA robot about a target transportation vehicle that meets the preset travel requirements and for which a ticket can be purchased; wherein the communication client is configured in the platform where the RPA robot resides;

[0032] S6. Sending the first message to the user's communication software based on the second communication relationship with the user's communication software;

[0033] S7. Receive a second message sent by the communication software, and send the second message to the RPA robot through the communication client. If the second message contains a ticket purchase instruction related to the target identification information, the second message is used to instruct the RPA robot to perform a purchase operation on the target ticket purchase website for the transportation ticket corresponding to the target identification information.

[0034] Optionally, the method provided in the embodiment of the present application further includes:

[0035] receiving a third message including a payment code sent by the RPA robot through the communication client, wherein the payment code is generated by the target ticket purchasing website after receiving an order submission instruction, and the order submission instruction is an order submission instruction triggered by the RPA robot for the transportation ticket corresponding to the target identification information;

[0036] A third message is sent to the user's communication software, where the third message is used to instruct the user to complete payment of the bill amount on the communication software according to the payment code.

[0037] Optionally, the second communication relationship is implemented by calling an application programming interface API.

[0038] In a third aspect, an embodiment of the present application provides a transportation ticket purchase system for implementing IA based on RPA and AI, including: a communication client and a communication server, wherein:

[0039] a communication client, configured in the platform to which the RPA robot belongs, and configured to establish a first communication relationship with the communication server to send a first message containing key information to the communication server, wherein the key information is travel information of a target transportation vehicle obtained by the RPA robot that meets the preset travel needs and for which tickets can be purchased;

[0040] The communication server is configured to receive a first message based on the first communication relationship, and send the first message to the communication software based on the second communication relationship between the communication software and the communication software; and, upon receiving a second message sent by the communication software, send the second message to the RPA robot via the communication client;

[0041] Among them, if the second message contains a ticket purchase instruction regarding the target identification information, the second message is used to instruct the RPA robot to perform a purchase operation on the transportation ticket corresponding to the target identification information on the target ticket purchase website.

[0042] In a fourth aspect, an embodiment of the present application provides a device for purchasing transportation tickets for IA based on RPA and AI, including:

[0043] a key information acquisition module configured to acquire key information of a target transportation vehicle that meets preset travel requirements, wherein the preset travel requirements include a departure place, a destination, and a departure date; and key information includes identification information of the target transportation vehicle for which tickets can be purchased, travel time period information, and fare information;

[0044] A first message sending module is configured to send a first message containing key information to the communication server via the communication client based on a first communication relationship between the communication client and the communication server, wherein the first message is used to instruct the communication server to send the key information to the user's communication software based on a second communication relationship between the communication client and the communication server; wherein the communication client is configured in the platform where the RPA robot is located;

[0045] A second message receiving module is configured to receive a second message sent by the communication server through the communication client;

[0046] a transportation ticket purchasing module configured to, if parsing the second message to contain a purchase instruction related to the target identification information, execute a purchase operation on the target ticket purchasing website for the transportation ticket corresponding to the target identification information;

[0047] The ticket purchase instruction is a ticket purchase instruction sent to the communication server through the communication software after the user determines the target identification information of the transportation ticket to be purchased from the key information.

[0048] Optionally, the key information acquisition module is specifically configured as follows:

[0049] Log in to the target ticket purchasing website;

[0050] According to the command parameter value corresponding to the preset travel demand in the current process, search for information of target transportation that meets the preset travel demand on the target ticket purchasing website;

[0051] The search results are obtained, and travel information of a target transportation vehicle for which a ticket can be purchased is selected from the search results as key information.

[0052] Optional, transportation ticket purchase module, including:

[0053] a semantic recognition unit configured to perform semantic recognition on the second message based on a natural language processing (NLP) service;

[0054] The ticket purchasing unit is configured to, based on the semantic recognition result, if it is determined that the second message contains a ticket purchasing instruction related to the target identification information, execute a purchase operation on the transportation ticket corresponding to the target identification on the target ticket purchasing website.

[0055] Optionally, the bill purchasing unit is specifically configured to:

[0056] If it is determined that the second message contains a ticket purchase instruction related to the target identification information, triggering a submission instruction for the transportation ticket order corresponding to the target identification information on the target ticket purchase website;

[0057] After the order is submitted successfully, obtain the payment code corresponding to the order;

[0058] A third message containing the payment code is sent to the communication server through the communication client. The third message is used to instruct the communication server to send the payment code to the user's communication software to instruct the user to complete the payment of the bill amount on the communication software according to the payment code.

[0059] Optionally, the communication client includes a message sending interface and a message receiving interface;

[0060] Accordingly, the first message sending module is specifically configured as follows:

[0061] Based on the first communication relationship between the communication client and the communication server, calling the message sending interface corresponding to the message sending command, and sending the first message containing the key information to the communication server;

[0062] Accordingly, the second message receiving module is specifically configured to:

[0063] Calling the message receiving interface corresponding to the message receiving command to receive the second message sent by the communication server;

[0064] The parameters of the message sending command and the message receiving command both include the user's communication software identifier and the user's corresponding identity identifier in the communication software.

[0065] In a fifth aspect, an embodiment of the present application provides a transportation ticket purchasing device for implementing IA based on RPA and AI, including:

[0066] A first message receiving module is configured to receive, based on a first communication relationship with a communication client, a first message containing key information sent by the RPA robot via the communication client, the key information being information obtained by the RPA robot about a target transportation vehicle that meets preset travel needs and for which tickets can be purchased; wherein the communication client is configured in the platform where the RPA robot resides;

[0067] a message forwarding module, configured to send the first message to the user's communication software based on the second communication relationship between the module and the user's communication software;

[0068] The second message sending module is configured to receive a second message sent by the communication software and send the second message to the RPA robot through the communication client. If the second message contains a ticket purchase instruction related to the target identification information, the second message is used to instruct the RPA robot to perform a purchase operation on the target ticket purchase website for the transportation ticket corresponding to the target identification information.

[0069] Optionally, the apparatus provided in the embodiment of the present application further includes:

[0070] a third message receiving module configured to receive a third message including a payment code sent by the RPA robot via the communication client, wherein the payment code is generated by the target ticket purchasing website after receiving an order submission instruction, and the order submission instruction is an order submission instruction triggered by the RPA robot for a transportation ticket corresponding to the target identification information;

[0071] The payment module is configured to send a third message to the user's communication software, where the third message is used to instruct the user to complete payment of the bill amount according to the payment code on the communication software.

[0072] Optionally, the second communication relationship is implemented by calling an application programming interface API.

[0073] In a sixth aspect, embodiments of the present application provide a device for purchasing transportation tickets, comprising: a memory and a processor. The memory and the processor communicate with each other via an internal connection path, the memory is configured to store instructions, and the processor is configured to execute the instructions stored in the memory. When the processor executes the instructions stored in the memory, the processor executes the method for purchasing transportation tickets based on RPA and AI for implementing IA, as described in any of the aforementioned embodiments, applied to an RPA robot.

[0074] In a seventh aspect, embodiments of the present application provide a server for purchasing transportation tickets, the server comprising: a memory and a processor. The memory and the processor communicate with each other via an internal connection path, the memory being configured to store instructions, and the processor being configured to execute the instructions stored in the memory. When the processor executes the instructions stored in the memory, the processor executes the method for purchasing transportation tickets based on RPA and AI for implementing IA, as applied to a communication server, as described in any of the aforementioned embodiments.

[0075] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the method in any one of the above-mentioned embodiments is executed.

[0076] The technical solution provided by the embodiment of the present application uses an RPA robot to regularly refresh the ticket purchase website corresponding to the target transportation tool, saving the user the time of continuously paying attention to the ticket purchase website during the ticket purchase process. Since the RPA robot can work efficiently and uninterruptedly 24 hours a day, when transportation tickets are in short supply during holidays and it is difficult to purchase successfully, the automatic ticket purchase method based on the RPA robot can effectively improve the success rate of ticket purchase. In addition, in the technical solution provided by the embodiment of the present application, a communication connection is established between the RPA robot and the user's communication software by adopting the architecture of the communication client and the corresponding communication server, and the communication relationship between the communication server and the user's communication software. Based on this communication connection, the RPA robot can send the key information of the target transportation tool obtained to the user. The user can select the target identification information of the transportation tool that meets their actual needs from the received information, and can send the ticket purchase instruction corresponding to the target identification information to the RPA robot. The RPA robot can execute subsequent process actions based on the semantic recognition results of NLP to complete the automatic ticket purchase operation. By adopting the above-mentioned human-machine combined ticket purchase technical solution, the intelligent and automated ticket purchase process can better meet the actual needs of users. Moreover, during the entire automatic ticket purchase process, the RPA robot does not need to access and save user passwords, passenger information, and other information, avoiding the risk of software leakage and information retention in the middle links, and improving the security of user information during the automatic ticket purchase process.

[0077] The advantages or beneficial effects of the above technical solution include at least:

[0078] 1. By using RPA robots to continuously refresh the target ticket purchase website instead of manually, users save time by continuously visiting the ticket purchase website. This effectively improves the success rate of ticket purchases during holidays when transportation tickets are in short supply.

[0079] 2. A communication connection is established between the RPA robot and the user's communication software by establishing a first communication relationship between the communication server and the communication client within the RPA robot's platform, and a second communication relationship between the communication server and the user's communication software. Based on this communication connection, the RPA robot can send the user key information it has obtained about the target vehicle. The user can then send a ticket purchase instruction to the RPA robot based on their actual needs. After receiving this instruction, the RPA robot automatically purchases the ticket on the target ticketing website. During the entire automated ticket purchase process, the RPA robot does not need to access or store user passwords, passenger information, or other information. This avoids the risk of software leakage and information retention in the middle, ensures the security of user information during the ticket purchase process, and reduces ticket purchase costs.

[0080] 3. By combining the AI ​​platform's NLP service to perform semantic recognition on user responses, the RPA robot can execute subsequent process actions based on the semantic recognition results, making the intelligent and automated ticket purchasing process more able to meet users' ticket purchasing needs.

[0081] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar components or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in this application and should not be construed as limiting the scope of this application.

[0083] Figure 1a A flowchart of a method for purchasing transportation tickets based on RPA and AI to implement IA, provided in Example 1 of this application;

[0084] Figure 1b This is a screenshot of the effect of the data capture function in the intelligent automation platform provided in Example 1 of this application;

[0085] Figure 2a This is a flow chart of a method for purchasing transportation tickets based on RPA and AI to implement IA in the second embodiment;

[0086] Figure 2b This is a rendering of the interaction between the RPA and user software during the ticket purchase process provided in Example 2 of this application;

[0087] Figure 3This is a flowchart of a method for purchasing transportation tickets based on RPA and AI to implement IA, provided in Example 3 of this application;

[0088] Figure 4 This is a structural block diagram of a transportation ticket purchasing system for implementing IA based on RPA and AI, provided in Example 4 of the present application;

[0089] Figure 5 This is a block diagram of a device for purchasing transportation tickets for IA based on RPA and AI, provided in Example 5 of the present application;

[0090] Figure 6 This is a block diagram of a device for purchasing transportation tickets for IA based on RPA and AI, provided in Example 6 of the present application;

[0091] Figure 7 This is a structural block diagram of a server for purchasing transportation tickets provided in Example 7 of the present application. DETAILED DESCRIPTION

[0092] The following describes in detail embodiments of the present application. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application.

[0093] In this application, a "first message" refers to a message sent by an RPA robot to a communication server via a communication client. The "first message" contains key information about a target transportation vehicle that meets the preset travel requirements, as found by the RPA robot.

[0094] In this application, a "second message" refers to a message sent by a user's communication software and received by the communication server based on a second communication relationship between the communication server and the user's communication software. This "second message" contains the user's ticket purchase request, for example, a request to purchase tickets for train number XX, or a request to purchase tickets for that number.

[0095] In the description of this application, the "third message" refers to the message sent by the RPA robot to the communication server through the communication client after the ticket purchase order is successfully submitted. The message contains a payment code for paying the ticket price.

[0096] In the description of this application, "first", "second" and "third" are only used to distinguish different messages and different communication relationships, and do not have any limiting effect.

[0097] In the description of this application, the "communication client" is an IM (Instant Messaging) communication module configured in the platform (intelligent automation platform) to which the RPA robot belongs. The "communication server" is configured in the cloud and is a server with a temporary file storage function corresponding to the "communication client". The communication server includes a "message sending interface" and a "message receiving interface". These two interfaces are standardized interfaces provided by the intelligent automation platform and are embodied in the form of commands. Among them, the "message sending interface" corresponds to the "message sending command" and the "message receiving interface" corresponds to the "message receiving command". Each command has a corresponding command name and parameters. Among them, the parameters corresponding to the "message sending command" include the message, that is, the content to be sent, as well as the identifier of the communication software and the user's identity in the communication software (such as user name, user account), etc., that is, the sending location. The parameters of the "message receiving command" include the identifier of the user's communication software and the user's corresponding identity in the communication software, that is, the source of the message.

[0098] In the description of this application, the "intelligent automation platform" can achieve seamless integration of multiple capabilities such as RPA, intelligent document processing (IDP), conversational AI (CoAI), process mining (Process Mining), etc., and has five major functions: "business understanding", "process creation", "run anywhere", "centralized control" and "human-machine collaboration". It enables enterprises to achieve end-to-end intelligent automation of business processes, replace manual operations, further improve business efficiency, and accelerate digital transformation.

[0099] In this application, "intelligent document processing" is one of the core capabilities of the intelligent automation platform. Intelligent document processing is a next-generation automation technology that uses AI technologies such as optical character recognition (OCR), computer vision (CV), natural language processing (NLP), and knowledge graphs (KG) to identify, classify, extract features, verify, compare, and correct errors in various documents, helping enterprises achieve intelligent and automated document processing.

[0100] In this application, a "ticket purchase instruction" is a purchase instruction triggered by a user on their communication app for a transportation ticket corresponding to target identification information. This instruction includes the identification information of the transportation vehicle to be purchased. For example, the "G1230" in "Purchase G1230" is the identification information of the transportation vehicle to be purchased.

[0101] In the description of this application, the "order submission instruction" is an instruction triggered by the RPA robot on the ticket purchase page of the target ticket purchase website by clicking the "Order Submit" button on the page. After the instruction is triggered, the target ticket purchase website can generate the payment code required to purchase transportation tickets.

[0102] In this application, the "Transportation Ticket Purchasing System" supports a client / server (C / S) architecture. This architecture reduces system communication overhead by rationally distributing tasks between the client and server. In this application, the client is deployed within the intelligent automation platform, and its communication functions are implemented through commands.

[0103] In the description of this application, the term "NLP" refers to Natural Language Processing, which is a discipline that studies language issues in human-computer interaction. In the embodiments of this application, it is applied to the semantic recognition process of the content of user replies.

[0104] In the description of this application, the term "OCR" refers to Optical Character Recognition, which specifically refers to the process in which an electronic device examines characters printed on paper, determines their shapes by detecting dark and light patterns, and then translates the shapes into computer text using character recognition methods; that is, for printed characters, an optical method is used to convert the text in a paper document into a black and white dot matrix image file, and recognition software is used to convert the text in the image into text format for further editing and processing by word processing software.

[0105] In this application, a "process" is the execution process of an RPA (Robotic Process Automation) robot. This "process" consists of multiple "process blocks," which represent the process blocks of the process in a flowchart. The RPA robot performs the corresponding actions according to the flowchart. The flowchart is created on the intelligent automation platform.

[0106] In the description of this application, "application programming interface", referred to as API (Application Programming Interface), refers to the agreement between different components of the software system. In this embodiment, it refers to the agreement between the interface provided by the communication server and the user communication software open platform.

[0107] These and other aspects of the embodiments of the present application will become apparent with reference to the following description and accompanying drawings. In these descriptions and accompanying drawings, some specific implementations of the embodiments of the present application are disclosed to illustrate some ways of implementing the principles of the embodiments of the present application, but it should be understood that the scope of the embodiments of the present application is not limited thereby. On the contrary, the embodiments of the present application include all changes, modifications and equivalents that fall within the spirit and scope of the appended claims.

[0108] The following describes in detail a method, device, system, equipment, server and medium for purchasing transportation tickets based on RPA and AI to implement IA according to an embodiment of the present application, in conjunction with the accompanying drawings.

[0109] Example 1

[0110] Figure 1a The flowchart of a method for purchasing transportation tickets based on RPA and AI to implement IA is provided in the first embodiment of the present application. The method can be applied to the application scenario of automatic ticket purchase. The technical solution of this embodiment is executed by an RPA robot. The RPA robot can be mounted on an intelligent automation platform. The intelligent automation platform is a professional and powerful robot production tool that provides a good carrier for robots. In this embodiment, when the user has a ticket purchase demand, the RPA robot can be set to start at a scheduled time, and log in to the target ticket purchase website to inquire whether there is ticket purchase information for the target transportation that meets the preset travel needs, thereby realizing a fully automated ticket purchase process. Figure 1a As shown, the method provided in this embodiment includes:

[0111] S110: Obtain key information of a target transportation vehicle that meets preset travel needs.

[0112] The preset travel requirements include the departure place, destination, departure date and the type of target transportation to be taken, such as airplane, train, ship or car.

[0113] In this embodiment, the RPA robot can log in to the target ticket purchase website and automatically query travel information for target transportation that meets the preset travel requirements. The target ticket purchase website corresponds to the type of target transportation to be boarded in the preset travel requirements. For example, if the target transportation to be boarded is an airplane, the corresponding target ticket purchase website is a website for purchasing airplane tickets; if the target transportation to be boarded is a train, the corresponding target ticket purchase website is a website for purchasing train tickets. In this embodiment, the target ticket purchase website for ticket purchase can be set during the ticket purchase process. To prevent the leakage of user information during the ticket purchase process, the target ticket purchase website in this embodiment is the official ticket purchase website.

[0114] In this embodiment, the key information about target transportation vehicles that meet the preset travel requirements and are retrieved by the RPA robot from the target ticket purchase website refers to travel information for target transportation vehicles for which tickets can be purchased. This information includes the target transportation's identification information, such as the train number or flight number. This key information also includes the target transportation's travel time period and fare information. The RPA robot can automatically filter out travel information for target transportation vehicles found on the target ticket purchase website that meet the preset travel requirements but have sold-out tickets.

[0115] It should be noted that the RPA robot completes the key information acquisition operation based on the created process. The process contains the relevant instructions for the RPA robot to perform actions, that is, the process is created to set the execution command of the RPA robot. In this embodiment, the process used to implement automatic ticket purchase can be a process that is pre-created and successfully published by the developer. When the user uses the process to automatically query the ticket, the command parameter value corresponding to the travel demand can be modified to the parameter value that meets his own needs. In this way, the RPA robot can automatically query the key information of the target transportation that meets the preset travel needs according to the command parameter value in the flowchart. Alternatively, the user can create a process according to his actual needs, and after the creation is successful, the key information of the target transportation can be obtained by running the process.

[0116] During the process creation process for an RPA robot to retrieve key information about target transportation that meets preset travel requirements from a target ticket purchasing website, the process developer or user can customize variables, such as the departure point, destination, and departure date, as search criteria for the RPA robot. Furthermore, the RPA robot can be configured to continuously search the target ticket purchasing website based on the search criteria at a fixed frequency. Specifically, during the process command configuration process, the variable information in the search criteria can be entered into the corresponding input boxes on the ticket purchasing website using input commands provided by the intelligent automation platform. The RPA robot's search operation can also be configured using mouse movement commands, click commands, and other commands provided by the intelligent automation platform. With this setup, during subsequent process execution, the RPA robot can simulate the manual process of querying train tickets, i.e., entering the search criteria into the corresponding input boxes and triggering the relevant buttons on the page to search the target ticket purchasing website, thereby obtaining travel information for target transportation that meets the preset travel requirements.

[0117] Furthermore, for the processing of search results, during the process creation process, the process developer or user can set the RPA robot to use the data crawling function provided by the intelligent automation platform to obtain the information in the search results. After obtaining the search results, the travel information of the target transportation in the search results is traversed, and the travel information of the target transportation that is in a ticketless state is filtered out, and the travel information of the target transportation that can purchase tickets is obtained as key information.

[0118] The following describes the process of creating an RPA robot to query train tickets, using the application scenario where the target transportation is a train.

[0119] First, process developers or users can define custom variables, including departure location, destination, departure date, and the option to view only high-speed trains, as filtering criteria for the RPA robot. Then, process staff or users can use the "Enter in Target" command provided by the intelligent automation platform to enter the departure location variable in the "Departure Location" input box on the target ticket purchasing website. They can also use the same "Enter in Target" command to enter the destination variable in the "Destination" input box on the target ticket purchasing website. Furthermore, they can use the "Move to Target" and "Simulate Click" commands provided by the intelligent automation platform to select the "View only high-speed trains" option and click the "Query" button. With these settings, during subsequent process execution, the RPA robot can simulate a human querying for train tickets on the ticket purchasing website and retrieve travel information for train tickets that meet the pre-defined travel requirements.

[0120] Secondly, Figure 1b This is a screenshot of the effect of the data capture function in the intelligent automation platform provided in Example 1 of this application. For the travel information of train tickets searched by the RPA robot, it can be obtained by using Figure 1b The webpage data crawling method shown above acquires all information about target transportation vehicles that meet the preset travel requirements. The RPA robot filters out unavailable train ticket information from all acquired information, retaining the identification information, time period information, and fare information of available train tickets as key information. By employing this configuration, this embodiment enables the RPA robot to continuously refresh the target ticket purchasing website instead of manually, thereby obtaining key information about target transportation vehicles that meet the preset travel requirements in real time. Because the RPA robot operates efficiently and continuously 24 / 7, this saves users the time of visiting the ticket purchasing website. This effectively improves ticket purchase success rates, especially during holidays when transportation ticket shortages make purchases difficult. Furthermore, because the RPA robot logs in to the official ticket purchasing website to purchase tickets, passenger information is already stored there, thus avoiding the risk of user information leakage during the ticket purchase process.

[0121] S120: Based on the first communication relationship between the communication client and the communication server, send a first message containing key information to the communication server through the communication client.

[0122] The first message is used to instruct the communication server to send the key information to the user's communication software based on the second communication relationship between the communication server and the user's communication software. The user's communication software can be WeChat, WeChat for Business, or Feishu, etc.

[0123] In this embodiment, the communication client is an IM communication module, which is configured within the platform that hosts the RPA robot. Specifically, the IM communication module is configured as a communication client within the intelligent automation platform and exists as a software command. This communication module has a corresponding communication server, which is configured in the cloud. During the initialization of the communication module, information such as the communication server address and key can be written into the initialization command, thereby initially establishing a communication connection between the communication client and the communication server.

[0124] It should be noted that the communication server provides corresponding message communication interfaces to the communication client, including a message sending interface for sending RPA robot messages and a message receiving interface for the communication client to receive messages from external communication software. Accordingly, the commands included in the communication client correspond to the message communication interfaces exposed by the communication server. For example, the message sending command in the communication client corresponds to the message sending interface on the communication server, and the message receiving command in the communication client corresponds to the message receiving interface on the communication server. Each command has a corresponding command name and parameters. The parameters corresponding to the message sending command include the message, i.e., the content to be sent, and the user's identity in the communication software (e.g., the user's username and account number used to log in to the communication software), i.e., the sending location. The parameters corresponding to the message receiving command include the user's communication software identifier and the user's corresponding identity in the communication software, i.e., the message source. With the above settings, a first communication relationship is established between the communication client and the communication server. Thus, during the execution of the process, the RPA robot can invoke the corresponding interface exposed by the communication server by invoking the communication client's commands, thereby enabling message exchange with the communication server.

[0125] In this embodiment, the RPA robot can send a first message containing key information to the communication server by calling the corresponding message sending interface of the message sending command. The parameters of the message sending command include the message (i.e., the recipient), the communication software identifier, and the user's identity within the communication software (i.e., the recipient). For example, when the RPA robot obtains train information that meets the preset travel requirements, it can call the "Send XX message to user" command to send the first message containing the train information to the user.

[0126] It should also be noted that for the data to be sent, the RPA robot can first call the Construct File Message command corresponding to the file type based on the data type to obtain the attribute information of the data to be sent, which includes the file address, quantity, and data type. The Construct File Message command is a command belonging to the communication client and is a standardized command provided by the platform (intelligent automation platform) where the RPA robot resides. Specifically, if the message to be sent is a text message, the Construct Text Message command is called; if the message to be sent is an image message, the Construct Image Message command is called. After calling this command, the RPA robot can use the attribute information and the identification information of the internal communication software as parameters, and by calling the message sending interface corresponding to the message sending command, send the message containing the data to be sent to the communication server. In this embodiment, before sending the first message, the RPA robot calls the Construct Text Message command to obtain the attribute information of the key information, thereby sending the first message containing the key information to the communication server.

[0127] In this embodiment, the second communication relationship is the communication relationship between the communication server and the user communication software. Before the second communication relationship is established, the developer must first register a developer account on the open platform of the user communication software to be communicated (the software system enables external programs to increase the functionality of the software system or use the resources of the software system by exposing its application programming interface (API) or function without changing the source code of the software system). Then, the application can be created on the open platform. By obtaining the configuration information of the created application, such as the ID (Identity Document) number and key, and writing this configuration information to the communication server, and at the same time writing the domain name or IP address (Internet Protocol Address) of the communication server to the open platform of the communication software, the communication server can obtain the right to use the application programming interface in the open platform. That is, the communication server can call the application programming interface opened by the user's communication software platform to realize interaction with the server corresponding to the user's communication software, and then realize interaction with the user's communication software. The specific interaction process is that the communication server first sends the first message to the server corresponding to the user's communication software according to the user's communication software identifier, and the server corresponding to the user's communication software then pushes the first message to the user's communication software client according to the user's identity information identifier in the communication software.

[0128] S130. Receive, through the communication client, a second message sent by the communication server.

[0129] The second message is a reply from the user to the RPA robot via their communication software. The communication software sends this message to the communication server based on the second communication relationship. The communication server then sends this message to the RPA robot via the communication client. The second message contains the user's ticket purchase request, such as "purchase XX ticket," "ticket shortage," or "exit from the ticket purchase process."

[0130] In this embodiment, the RPA robot also receives the second message through the communication client. The RPA robot invokes the message receiving interface corresponding to the message receiving command to receive the second message sent by the communication server. The parameters corresponding to the message receiving command include the user's communication software identifier and the user's corresponding identity within the communication software, indicating the sender of the message. Specifically, after the RPA robot sends the first message containing the train information to the communication server, it invokes the "Receive User Message" command, waits for the user's response, and then receives the second message containing the user's ticket purchase instructions.

[0131] In this embodiment, a time threshold for waiting for user replies can be set during the process creation process. If the time threshold is reached but no message is received from the communication server, the RPA robot can be configured to end the current process and send a notification message to the user through the communication server indicating the end of the ticket purchase process, to remind the user that if they want to continue purchasing tickets, they need to run the ticket purchase process again.

[0132] This embodiment establishes a communication connection between the RPA robot and the user's communication software by utilizing a client-server architecture consisting of a communication client and a corresponding communication server, as well as a communication relationship between the communication server and the user's communication software. Based on this communication connection, the RPA robot can send the user key information about the target vehicle it has acquired. The user can then select the target identification information of the vehicle that meets their actual needs from the received information and send the purchase instructions corresponding to this target identification information to the RPA robot, instructing the RPA robot to complete the automated ticket purchase operation. By employing this human-machine integrated ticket purchasing technology, the automated ticket purchasing process can better meet the actual needs of users.

[0133] S140: If it is found that the second message contains a ticket purchase instruction related to the target identification information, a purchase operation is performed on the target ticket purchase website for the transportation ticket corresponding to the target identification information.

[0134] The ticket purchase instruction is a ticket purchase instruction sent to the communication server via the communication software after the user determines the target identification information of the transportation ticket to be purchased from the key information of the target transportation vehicle that meets the preset travel needs. This ticket purchase instruction usually has a corresponding keyword identifier, such as "purchase XXX flight" or "order XX train". After receiving the second message, the RPA robot can determine whether the second message contains a ticket purchase instruction with the target identification information based on the keywords therein. If the ticket purchase instruction containing the target identification information is parsed, the purchase operation for the transportation ticket corresponding to the target identification information is executed on the target ticket purchase website.

[0135] Specifically, when executing the purchase operation of a transportation ticket, the RPA robot can simulate manual mouse clicks to complete the order submission operation of the transportation ticket corresponding to the target identification information. After completing the order submission, the RPA robot can obtain the payment code generated by the target ticket purchase website for the order, and can send the payment code to the communication server through the communication client, and the communication server will then send the payment code to the user's communication software. When the user receives the payment code, he can complete the payment operation according to the payment code. In this process, the user does not need to pay any other additional fees. In the related art, when using third-party ticket purchase software, the third-party ticket purchase software often charges a service fee ranging from 50 yuan to several hundred yuan or requires users to purchase an "acceleration package" to successfully purchase tickets. Compared with the ticket purchase method provided by the related art, the automated ticket purchase method provided by this embodiment improves the success rate of ticket purchases while also achieving the effect of saving ticket purchase costs.

[0136] The technical solution provided in this embodiment uses an RPA robot to periodically refresh the ticket purchase website corresponding to the target transportation tool, saving the user the time of continuously paying attention to the ticket purchase website during the ticket purchase process. Since the RPA robot can work efficiently and continuously 24 hours a day, when transportation tickets are in short supply during holidays and it is difficult to purchase successfully, the success rate of ticket purchase can be effectively improved by adopting an automatic ticket purchase method based on the RPA robot. In addition, in the technical solution provided in the embodiment of the present application, a communication connection between the RPA robot and the user's communication software is established by adopting the architecture of the communication client and the corresponding communication server, as well as the communication relationship between the communication server and the user's communication software. Based on this communication connection, the RPA robot can send the key information of the target transportation tool obtained to the user. The user can select the target identification information of the transportation tool that meets his or her actual needs from the received information, and can send the ticket purchase instruction corresponding to the target identification information to the RPA robot to instruct the RPA robot to complete the automatic ticket purchase operation. By adopting the above-mentioned human-machine combined ticket purchase technical solution, the automated ticket purchase process can better meet the actual needs of users. Moreover, during the entire automatic ticket purchase process, the RPA robot does not need to access and save user passwords, passenger information, and other information, avoiding the risk of software leakage and information retention in the middle links, and improving the security of user information during the automatic ticket purchase process.

[0137] Example 2

[0138] Figure 2a This is a flowchart of a method for purchasing transportation tickets based on RPA and AI to implement IA in this second embodiment. Based on the above embodiment, this second embodiment refines the automated ticket purchasing operation of the RPA robot, such as Figure 2a As shown, the method provided in this embodiment includes:

[0139] S210. Log in to the target ticket purchasing website.

[0140] Specifically, the RPA robot opens a browser and identifies the HTML tags on the page to obtain the link identifier of the current webpage. Based on this link identifier, the RPA robot enters the address link of the target ticket purchasing website, thereby opening the login interface of the target ticket purchasing website. The RPA robot then identifies the username and password controls on the login interface and enters the username and password information to log in to the target ticket purchasing website.

[0141] During the process of logging into the target ticket purchasing website, if a verification code image to be identified is detected, the verification code image can be identified based on the OCR function of the AI ​​platform to obtain the verification code content in the image, and the identified verification code content can be filled in the corresponding input box.

[0142] In this embodiment, the AI ​​platform with image recognition capabilities is an intelligent document processing platform. This intelligent document processing platform is a tool-based product that primarily provides AI capabilities for RPA robot developers. Both this platform and the RPA robots rely on the intelligent automation platform, a process automation expert that provides intelligent robot services for a wide range of needs and throughout the entire business process. The AI ​​platform can be deployed locally or in a cloud server.

[0143] Specifically, you can use a target account that logs into both the RPA and AI platforms simultaneously to integrate the RPA platform with the AI ​​platform. After logging into both the RPA platform and the AI ​​platform using the target account, the RPA platform establishes a communication connection with the AI ​​platform. This allows the RPA robot to directly use the published OCR component to recognize the content of the verification code image and obtain the verification code information contained in the image.

[0144] S220. Search the target transportation means that meet the preset travel demand on the target ticket purchase website according to the command parameter value corresponding to the preset travel demand in the current process.

[0145] S230: Obtain search results, and select travel information of a target transportation vehicle for which tickets can be purchased from the search results as key information.

[0146] Specifically, Figure 2b This is a diagram showing the interaction between RPA and user software during the ticket purchase process provided in Example 2 of this application. Figure 2b The method provided in this embodiment is introduced in detail.

[0147] like Figure 2bAs shown in the figure, the RPA robot can run on the user's personal computer. The RPA robot logs into the target ticket purchase website and simulates manual operations, namely, searching for trains that meet the user's travel needs and have tickets available, as well as their key information.

[0148] S240: Based on the first communication relationship between the communication client and the communication server, call the message sending interface corresponding to the message sending command to send the first message containing the key information to the communication server.

[0149] The first message is used to instruct the communication server to send key information to the user's communication software based on the second communication relationship between the communication server and the user's communication software.

[0150] like Figure 2b As shown, the RPA robot can first send key information to the communication server. Based on the second communication relationship between the communication server and the user's communication software, the communication server sends the RPA robot's search results, namely the train information available for the user, to the user's mobile phone. For example, the RPA robot can send the following key information to the user's communication software: "Available trains: G1001, travel time 18:30-22:45, fare 190 yuan; and G1021, travel time 09:00-12:00, fare 185 yuan."

[0151] S250: Call the message receiving interface corresponding to the message receiving command to receive the second message sent by the communication server.

[0152] In this embodiment, the message sending command and message receiving command are pre-created on the intelligent automation platform. Both the message sending command and the message receiving command have corresponding command names and parameters. The command names can correspond to the type of user's communication software. For example, the message sending command can be "Send XX message to user" or "Send XX to user," and the message receiving command can be "Receive XX message" or "Receive XX message." "XX" represents the identifier of the user's communication software. Furthermore, the parameters corresponding to the message sending command include the message, i.e., the recipient, as well as the identifier of the user's communication software and the user's identity within the communication software, i.e., the sender. The parameters corresponding to the message receiving command include the identifier of the user's communication software and the user's identity within the communication software, i.e., the sender. For example, when an RPA robot obtains train information that meets pre-set travel requirements, it can invoke the "Send WeChat Enterprise Message to User" command to send a first message containing the train information to the user, and then invoke the "Receive User Message" command to await the user's response.

[0153] S260: Perform semantic recognition on the second message based on a natural language processing (NLP) service.

[0154] For example, upon receiving a user's reply, the RPA robot can perform semantic recognition based on the AI ​​platform's NLP service. If the recognition result indicates an order instruction from the user, such as "buy a ticket for train number XX," the order process begins.

[0155] Exemplarily, if the ticket checking process is not received or is received in response to the user's insufficient purchase instruction, the process is re-entered; or if the process exit instruction is received in response to the user, the current process is ended.

[0156] S270: If it is determined that the second message contains a ticket purchase instruction related to the target identification information, triggering a submission instruction for the transportation ticket order corresponding to the target identification information on the target ticket purchase website.

[0157] S280. After the order is successfully submitted, obtain the payment code corresponding to the order.

[0158] Specifically, the RPA robot can use the "browser screenshot" command provided by the intelligent automation platform to take a screenshot of the payment code corresponding to the order.

[0159] S290: Send a third message containing the payment code to the communication server via the communication client, wherein the third message is used to instruct the user to complete the payment of the bill amount according to the payment code on the communication software, thereby completing the ticket purchase process.

[0160] Specifically, such as Figure 2b As shown, in response to the user's reply message "Purchase G1021," the RPA robot recognizes the target identifier "G1021" and the ticket purchase instructions. After parsing the purchase instructions for train G1021, the RPA robot triggers an order submission instruction for the G1021 train on the target ticket purchasing website and sends a prompt message to the user via the communication client and communication server, stating "Order in progress, please wait." After the RPA robot completes the order submission, the target ticket purchasing website generates a payment code. The RPA robot sends the payment code to the communication server via the communication client, which then sends the payment code to the server corresponding to the user's communication software. The server corresponding to the user's communication software then pushes the payment code to the user's communication software, prompting the user to scan and pay. After the user successfully pays, the robot sends a "purchase completed" message to the user via the communication client and communication server. During this automated ticket purchase process, the RPA robot does not access any user information, ensuring the security of the purchase information. Furthermore, no additional fees are incurred during the purchase process, ensuring cost-effectiveness.

[0161] In this embodiment, by combining the AI ​​platform's NLP service with semantic recognition of user responses, the RPA robot can execute subsequent process actions based on the semantic recognition results, such as re-querying transportation tickets or purchasing tickets for a specific train. This allows the automated ticket purchase process to better meet the user's actual ticket purchasing needs. Furthermore, during the automated ticket purchase process, the user completes the payment of the ticket amount based on the payment code obtained by the RPA robot on the target ticket purchase website. This process does not involve any additional fees and does not pose any risk of user information leakage. Compared to the related art method of using third-party software to purchase tickets, the technical solution provided by this embodiment ensures the security of user information during the ticket purchase process.

[0162] Example 3

[0163] Figure 3 This is a flow chart of a method for purchasing transportation tickets based on RPA and AI to implement IA in Example 3 of this application. The execution subject of this method is a communication server, which is configured in the cloud. Figure 3 As shown, the method provided in this embodiment includes:

[0164] S310: Based on a first communication relationship with a communication client, receive a first message containing key information sent by the RPA robot through the communication client.

[0165] The key information is the information obtained by the RPA robot about the target transportation that meets the preset travel needs and can be used to purchase tickets. The RPA robot's query operation for key information can be found in the description of the above embodiment and will not be repeated here.

[0166] S320: Send the first message to the user's communication software based on the second communication relationship between the communication software and the user.

[0167] The second communication relationship is implemented by calling an application programming interface. In this embodiment, the establishment of the first communication relationship and the second communication relationship can refer to the description of the above embodiment, and will not be repeated here.

[0168] S330: Receive a second message sent by the communication software, and send the second message to the RPA robot through the communication client.

[0169] Among them, if the second message contains a ticket purchase instruction regarding the target identification information, the second message is used to instruct the RPA robot to perform a purchase operation on the transportation ticket corresponding to the target identification information on the target ticket purchase website.

[0170] Specifically, the communication server may receive a third message containing a payment code, sent by the RPA robot via the communication client. The payment code is generated by the target ticket purchasing website after receiving an order submission instruction. This order submission instruction triggers the RPA robot to submit an order for a transportation ticket corresponding to the target identification information. The communication server may first send the third message to the server corresponding to the user's communication software, which then pushes the third message to the user's communication software. This third message instructs the user to complete payment of the ticket amount on the communication software according to the payment code.

[0171] In this embodiment, based on the first communication relationship between the communication server and the communication client in the platform to which the RPA robot belongs, and the second communication relationship between the communication server and the user's communication software, the RPA robot can send the key information of the target transportation vehicle it has obtained to the user. The user can select the information that meets their actual needs from the received information and send the ticket purchase instruction to the RPA robot to instruct the RPA robot to complete the automatic ticket purchase operation. By adopting the above-mentioned human-machine combination to carry out automated ticket purchase, the automated ticket purchase process can be made to better meet the actual needs of users. Moreover, during the entire automatic ticket purchase process, the RPA robot will not access or save user passwords, passenger information, etc., avoiding the risk of software leakage and information retention in the intermediate links, so that information security during the ticket purchase process is guaranteed.

[0172] Example 4

[0173] Figure 4 A structural block diagram of a transportation ticket purchasing system for implementing IA based on RPA and AI is provided in Example 4 of this application, as shown in FIG. Figure 4 As shown, the system provided by this embodiment includes: a communication client 410 and a communication server 420, wherein:

[0174] The communication client 410 is configured in the platform to which the RPA robot belongs, and is used to establish a first communication connection with the communication server 420 to send a first message containing key information to the communication server 420. The key information is the information of the target transportation vehicle obtained by the RPA robot that meets the preset travel needs and for which tickets can be purchased.

[0175] The communication server 420 is used to receive the first message based on the first communication relationship, and send the first message to the user's communication software based on the second communication relationship between the communication software; when receiving the second message sent by the communication software, the second message is sent to the RPA robot through the communication client 410.

[0176] Among them, if the second message contains a ticket purchase instruction regarding the target identification information, the second message is used to instruct the RPA robot to perform a purchase operation on the transportation ticket corresponding to the target identification information on the target ticket purchase website.

[0177] Specifically, the interaction process between the RPA robot and the communication client, and between the communication server and the user's communication software can refer to the description of the above embodiment and will not be repeated here.

[0178] In this embodiment, the interaction between the RPA robot and the user's communication software is realized through the communication client and communication server in the transportation ticket purchase system. The RPA robot can send the key information of the target transportation that meets the preset travel needs found on the target ticket purchase website to the user's communication software. The user can send a ticket purchase instruction about the target identification information of the transportation to the RPA robot according to their actual needs. After receiving the instruction, the RPA robot will perform the automatic ticket purchase operation on the target ticket purchase website. During the entire automatic ticket purchase process, the RPA robot will not access and save user passwords, passenger information, etc., avoiding the risk of software leakage and retention in the intermediate links. Compared with the method of using third-party software to purchase tickets in related technologies, the technology provided by this embodiment not only improves the success rate of ticket purchase, but also ensures the security of user information during the ticket purchase process and saves ticket purchase costs.

[0179] Example 5

[0180] Figure 5 This is a structural block diagram of a device for purchasing transportation tickets based on RPA and AI for implementing IA in Example 5 of this application. The device provided in this embodiment can be implemented in the form of software and / or hardware, such as Figure 5 As shown, the device includes: a key information acquisition module 510, a first message sending module 520, a second message receiving module 530 and a transportation ticket purchasing module 540; wherein,

[0181] Key information acquisition module 510 is configured to acquire key information of target transportation vehicles that meet preset travel requirements, wherein the preset travel requirements include a departure location, a destination, and a departure date; key information includes identification information of the target transportation vehicles for which tickets can be purchased, travel time information, and fare information;

[0182] A first message sending module 520 is configured to send a first message containing key information to the communication server via the communication client based on a first communication relationship between the communication client and the communication server, wherein the first message is used to instruct the communication server to send the key information to the user's communication software based on a second communication relationship between the communication client and the communication server; wherein the communication client is configured in the platform where the RPA robot is located;

[0183] The second message receiving module 530 is configured to receive a second message sent by the communication server through the communication client;

[0184] The transportation ticket purchasing module 540 is configured to, if the second message is parsed to contain a purchase instruction related to the target identification information, execute a purchase operation on the target ticket purchasing website for the transportation ticket corresponding to the target identification information;

[0185] The ticket purchase instruction is a ticket purchase instruction sent to the communication server through the communication software after the user determines the target identification information of the transportation ticket to be purchased from the key information.

[0186] Optionally, the key information acquisition module 510 is specifically configured to:

[0187] Log in to the target ticket purchasing website;

[0188] According to the command parameter value corresponding to the preset travel demand in the current process, search for information of target transportation that meets the preset travel demand on the target ticket purchasing website;

[0189] The search results are obtained, and travel information of a target transportation vehicle for which a ticket can be purchased is selected from the search results as key information.

[0190] Optionally, the transportation ticket purchasing module 540 includes:

[0191] a semantic recognition unit configured to perform semantic recognition on the second message based on a natural language processing (NLP) service;

[0192] The ticket purchasing unit is configured to, based on the semantic recognition result, if it is determined that the second message contains a ticket purchasing instruction related to the target identification information, execute a purchase operation on the transportation ticket corresponding to the target identification on the target ticket purchasing website.

[0193] Optionally, the bill purchasing unit is specifically configured to:

[0194] If it is determined that the second message contains a ticket purchase instruction related to the target identification information, triggering a submission instruction for the transportation ticket order corresponding to the target identification information on the target ticket purchase website;

[0195] After the order is submitted successfully, obtain the payment code corresponding to the order;

[0196] A third message containing the payment code is sent to the communication server through the communication client. The third message is used to instruct the communication server to send the payment code to the user's communication software to instruct the user to complete the payment of the bill amount on the communication software according to the payment code.

[0197] Optionally, the communication client includes a message sending interface and a message receiving interface;

[0198] Accordingly, the first message sending module 510 is specifically configured to:

[0199] Based on the first communication relationship between the communication client and the communication server, calling the message sending interface corresponding to the message sending command, and sending the first message containing the key information to the communication server;

[0200] Accordingly, the second message receiving module 520 is specifically configured to:

[0201] Calling the message receiving interface corresponding to the message receiving command to receive the second message sent by the communication server;

[0202] The parameters of the message sending command and the message receiving command both include the user's communication software identifier and the user's corresponding identity identifier in the communication software.

[0203] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method and will not be repeated here.

[0204] Example 6

[0205] Figure 6 This is a structural block diagram of a device for purchasing transportation tickets based on RPA and AI for implementing IA in Example 6 of this application. The device provided in this embodiment can be implemented in the form of software and / or hardware, such as Figure 6 As shown, the device includes: a first message receiving module 610, a message forwarding module 620 and a second message sending module 630, wherein:

[0206] The first message receiving module 610 is configured to receive, based on a first communication relationship with the communication client, a first message containing key information sent by the RPA robot via the communication client. The key information is information obtained by the RPA robot about target transportation vehicles that meet preset travel requirements and for which tickets can be purchased.

[0207] The message forwarding module 620 is configured to send the first message to the user's communication software based on the second communication relationship between the module and the user's communication software;

[0208] The second message sending module 630 is configured to receive a second message sent by the communication software and send the second message to the RPA robot through the communication client. If the second message contains a ticket purchase instruction related to the target identification information, the second message is used to instruct the RPA robot to perform a purchase operation on the target ticket purchase website for the transportation ticket corresponding to the target identification information.

[0209] Optionally, the apparatus provided in the embodiment of the present application further includes:

[0210] a third message receiving module configured to receive a third message including a payment code sent by the RPA robot via the communication client, wherein the payment code is generated by the target ticket purchasing website after receiving an order submission instruction, and the order submission instruction is an order submission instruction triggered by the RPA robot for a transportation ticket corresponding to the target identification information;

[0211] The payment module is configured to send a third message to the user's communication software, where the third message is used to instruct the user to complete payment of the bill amount according to the payment code on the communication software.

[0212] Optionally, the second communication relationship is implemented by calling an application programming interface API.

[0213] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method and will not be repeated here.

[0214] Example 7

[0215] Figure 7 This is a structural block diagram of a server for purchasing transportation tickets provided in Example 7 of this application. Figure 7 As shown, the server includes a memory 910 and a processor 920. The memory 910 stores a computer program executable on the processor 920. When the processor 920 executes the computer program, it implements the transportation ticket purchase method for implementing IA using RPA and AI applied to the communication server in the above-described embodiment. The number of memory 910 and processor 920 can be one or more.

[0216] The server also includes:

[0217] The communication interface 930 is used to communicate with external devices and perform data exchange transmission.

[0218] If the memory 910, processor 920, and communication interface 930 are implemented independently, the memory 910, processor 920, and communication interface 930 can be connected to each other via a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0219] Optionally, in a specific implementation, if the memory 910, the processor 920 and the communication interface 930 are integrated on a chip, the memory 910, the processor 920 and the communication interface 930 can communicate with each other through an internal interface.

[0220] In addition, an embodiment of the present application further provides a device for purchasing transportation tickets, comprising: a memory and a processor. The memory and the processor communicate with each other via an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory. When the processor executes the instructions stored in the memory, the processor executes the transportation ticket purchasing method for RPA and AI-enabled IA applied to an RPA robot according to any of the above-described embodiments.

[0221] The device also includes:

[0222] The communication client is used to communicate with the communication server and perform data exchange. The communication client includes a message sending interface and a message receiving interface;

[0223] Correspondingly, the RPA robot sends the first message containing the key information to the communication server by calling the message sending interface corresponding to the message sending command, and receives the second message sent by the communication server by calling the message receiving interface corresponding to the message receiving command.

[0224] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present application when the program is executed by a processor.

[0225] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided in the embodiment of the present application.

[0226] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory. The input interface, the output interface, the processor and the memory are connected through an internal connection path. The processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.

[0227] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor that supports the Advanced RISC Machines (ARM) architecture.

[0228] Furthermore, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0229] In the above embodiments, all or part of the embodiments may be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another.

[0230] In the description of this specification, the reference terms "one embodiment," "some embodiments," "example," "specific example," or "some examples" mean that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials, or characteristics described may be combined in any appropriate manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification, as well as features of different embodiments or examples, unless they are mutually inconsistent.

[0231] Any process or method description in a flow chart or otherwise described herein can be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process. The scope of the preferred embodiments of the present application includes additional implementations in which the functions may be performed in a different order than shown or discussed, including in a substantially simultaneous manner or in a reverse order depending on the functions involved.

[0232] The logic and / or steps represented in the flowchart or otherwise described herein may be considered, for example, as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device).

[0233] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.

[0234] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing module, or each unit may exist physically separately, or two or more units may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or in the form of software functional modules. If the aforementioned integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a magnetic disk, or an optical disk, etc.

[0235] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily conceive of various modifications or substitutions within the technical scope disclosed in this application, and such modifications or substitutions should be included within the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A method for purchasing transportation tickets based on Robotic Process Automation (RPA) and Artificial Intelligence (AI) to implement IA, applied to an RPA robot, characterized in that: include: S1. Obtain key information of a target transportation vehicle that meets preset travel requirements, wherein the preset travel requirements include a departure location, a destination, and a departure date; the key information includes identification information of the target transportation vehicle for which tickets can be purchased, travel time information, and fare information; S2. Based on a first communication relationship between the communication client and the communication server, sending a first message containing the key information to the communication server through the communication client, where the first message is used to instruct the communication server to send the key information to the user's communication software based on a second communication relationship between the communication client and the communication server; wherein the communication client is configured in the platform where the RPA robot is located, and the communication server is a server corresponding to the communication client and has a temporary file storage function; S3. Receiving, through the communication client, a second message sent by the communication server; S4. If the second message is parsed to contain a ticket purchase instruction related to the target identification information, a purchase operation is performed on the target ticket purchase website for the transportation ticket corresponding to the target identification information; The ticket purchase instruction is a ticket purchase instruction sent to the communication server through the communication software after the user determines the target identification information of the transportation ticket to be purchased from the key information; The communication client includes a message sending interface and a message receiving interface, wherein the message sending interface corresponds to a message sending command of the communication client, and the message receiving interface corresponds to a message receiving command of the communication client; Accordingly, the step S2 specifically includes: Before sending the first message, the RPA robot first calls the construct file message command corresponding to the file type based on the data type to obtain attribute information of the data to be sent, including the file address, quantity, and data type. The construct file message command belongs to the communication client and is a standardized command provided by the platform where the RPA robot is located. After calling the construct text message command, the RPA robot uses the attribute information and identification information of the internal communication software as parameters, and based on the first communication relationship between the communication client and the communication server, calls the message sending interface corresponding to the message sending command to send the first message containing the key information to the communication server. Accordingly, the step S3 specifically includes: Calling the message receiving interface corresponding to the message receiving command to receive the second message sent by the communication server; The parameters of the message sending command and the message receiving command both include the user's communication software identifier and the user's corresponding identity identifier in the communication software.

2. The method according to claim 1, characterized in that The step S1 specifically includes: S11. Log in to the target ticket purchasing website; S12. Searching for information on target transportation that meets the preset travel requirements on the target ticket purchase website according to the command parameter value corresponding to the preset travel requirements in the current process; S13. Obtain search results, and select travel information of a target transportation vehicle for which tickets can be purchased from the search results as key information.

3. The method according to claim 1, characterized in that The step S4 specifically includes: S41. Perform semantic recognition on the second message based on a natural language processing (NLP) service. S42: If it is determined, based on the semantic recognition result, that the second message contains a ticket purchase instruction related to the target identification information, a purchase operation is performed on the target ticket purchase website for the transportation ticket corresponding to the target identification.

4. The method according to claim 3, characterized in that The step S42 specifically includes: S421. If it is determined, based on the semantic recognition result, that the second message contains a ticket purchase instruction related to the target identification information, triggering a submission instruction for the transportation ticket order corresponding to the target identification information on the target ticket purchase website; S422. After the order is successfully submitted, obtain the payment code corresponding to the order; S423. Send a third message containing the payment code to the communication server through the communication client, where the third message is used to instruct the communication server to send the payment code to the user's communication software to instruct the user to complete the payment of the bill amount on the communication software according to the payment code.

5. A method for purchasing transportation tickets based on RPA and AI to implement IA, applied to a communication server, characterized in that: include: S5. Based on a first communication relationship with a communication client, receiving a first message containing key information sent by the RPA robot through the communication client, where the key information is travel information of a target means of transportation that meets preset travel needs and for which tickets can be purchased, obtained by the RPA robot; wherein the communication client is configured in the platform where the RPA robot is located, and the communication server is a server corresponding to the communication client and having a temporary file storage function; before the RPA robot sends the first message, the RPA robot first calls a construct file message command corresponding to the type of file based on the data type of the data to obtain attribute information of the data to be sent, where the attribute information includes the file address, quantity, and data type; the construct file message command is a command belonging to the communication client and is a standardized command provided by the platform where the RPA robot is located; after calling the construct text message command, the RPA robot uses the attribute information and identification information of the internal communication software as parameters, and based on the first communication relationship between the communication client and the communication server, calls a message sending interface corresponding to the message sending command to send the first message containing the key information to the communication server; S6. Sending the first message to the user's communication software based on the second communication relationship between the first message and the user's communication software; S7. Receive the second message sent by the communication software, and send the second message to the RPA robot through the communication client. The RPA robot calls the message receiving interface corresponding to the message receiving command to receive the second message sent by the communication server, wherein the parameters of the message sending command and the message receiving command both include the user's communication software identifier and the user's corresponding identity identifier in the communication software. If the second message includes a ticket purchase instruction regarding the target identification information, the second message is used to instruct the RPA robot to perform a purchase operation on the target ticket purchase website for the transportation ticket corresponding to the target identification information.

6. The method according to claim 5, characterized in that The method further comprises: receiving a third message including a payment code sent by the RPA robot through the communication client, wherein the payment code is generated by the target ticket purchasing website after receiving an order submission instruction, and the order submission instruction is an order submission instruction triggered by the RPA robot for the transportation ticket corresponding to the target identification information; The third message is sent to the user's communication software, where the third message is used to instruct the user to complete payment of the bill amount according to the payment code on the communication software.

7. The method according to claim 5 or 6, characterized in that The second communication relationship is achieved by calling an application programming interface API.

8. A transportation ticket purchasing system based on RPA and AI to achieve IA, characterized by: include: A communication client and a communication server, wherein The communication client is configured in the platform to which the RPA robot belongs, and is used to establish a first communication relationship with a communication server to send a first message containing key information to the communication server. The communication server is a server with a temporary file storage function corresponding to the communication client. The key information is the travel information of the target transportation vehicle that meets the preset travel needs and for which tickets can be purchased, obtained by the RPA robot. Before the RPA robot sends the first message, the RPA robot first calls the construct file message command corresponding to the file type according to the data type of the data to obtain attribute information of the data to be sent. The attribute information includes the file address, quantity and data type. The construct file message command is a command belonging to the communication client and is a standardized command provided by the platform where the RPA robot is located. After calling the construct text message command, the RPA robot uses the attribute information and the identification information of the internal communication software as parameters, and based on the first communication relationship between the communication client and the communication server, calls the message sending interface corresponding to the message sending command to send the first message containing the key information to the communication server; The communication server is configured to receive the first message based on a first communication relationship, and send the first message to the communication software based on a second communication relationship with the communication software; and, when receiving a second message sent by the communication software, send the second message to the RPA robot through the communication client, and the RPA robot calls the message receiving interface corresponding to the message receiving command to receive the second message sent by the communication server, wherein the parameters of the message sending command and the message receiving command both include the user's communication software identifier and the user's corresponding identity identifier in the communication software; Among them, if the second message contains a ticket purchase instruction regarding the target identification information, the second message is used to instruct the RPA robot to perform a purchase operation on the target ticket purchase website for the transportation ticket corresponding to the target identification information.

9. A device for purchasing transportation tickets for IA based on RPA and AI, characterized in that: include: a key information acquisition module configured to acquire key information of a target transportation vehicle that meets preset travel requirements, wherein the preset travel requirements include a departure place, a destination, and a departure date; and the key information includes identification information of the target transportation vehicle for which tickets can be purchased, travel time period information, and fare information; A first message sending module is configured to send a first message containing the key information to the communication server through the communication client based on a first communication relationship between the communication client and the communication server, wherein the first message is used to instruct the communication server to send the key information to the user's communication software based on a second communication relationship between the communication client and the communication server; wherein the communication client is configured in the platform where the RPA robot is located, and the communication server is a server corresponding to the communication client and has a temporary file storage function; A second message receiving module is configured to receive a second message sent by the communication server through the communication client; a transportation ticket purchasing module configured to, if parsing the second message to contain a purchase instruction related to the target identification information, execute a purchase operation on a target ticket purchasing website for the transportation ticket corresponding to the target identification information; The ticket purchase instruction is a ticket purchase instruction sent to the communication server through the communication software after the user determines the target identification information of the transportation ticket to be purchased from the key information; The communication client includes a message sending interface and a message receiving interface; wherein the message sending interface corresponds to a message sending command of the communication client, and the message receiving interface corresponds to a message receiving command of the communication client; Accordingly, the first message sending module is specifically configured to: Before the RPA robot sends the first message, the RPA robot first calls the construct file message command corresponding to the file type based on the data type to obtain attribute information of the data to be sent, including the file address, quantity, and data type. The construct file message command belongs to the communication client and is a standardized command provided by the platform where the RPA robot is located. After calling the construct text message command, the RPA robot uses the attribute information and identification information of the internal communication software as parameters, and based on the first communication relationship between the communication client and the communication server, calls the message sending interface corresponding to the message sending command to send the first message containing the key information to the communication server. Accordingly, the second message receiving module is specifically configured to: Calling the message receiving interface corresponding to the message receiving command to receive the second message sent by the communication server; The parameters of the message sending command and the message receiving command both include the user's communication software identifier and the user's corresponding identity identifier in the communication software.

10. The device according to claim 9, characterized in that The transportation ticket purchasing module includes: a semantic recognition unit, configured to perform semantic recognition on the second message based on a natural language processing (NLP) service; The ticket purchasing unit is configured to, based on the semantic recognition result, if it is determined that the second message contains a ticket purchasing instruction related to the target identification information, execute a purchase operation on the transportation ticket corresponding to the target identification on the target ticket purchasing website.

11. A transportation ticket purchasing device based on RPA and AI to achieve IA, characterized in that: include: A first message receiving module is configured to receive, based on a first communication relationship with a communication client, a first message containing key information sent by an RPA robot through the communication client, the key information being information obtained by the RPA robot about a target means of transportation that meets preset travel needs and for which tickets can be purchased; wherein the communication client is configured in the platform where the RPA robot is located, and the communication server is a server corresponding to the communication client and having a temporary file storage function; before the RPA robot sends the first message, the RPA robot first calls a construct file message command corresponding to the type of file based on the data type of the data to obtain attribute information of the data to be sent, the attribute information including the file address, quantity, and data type; the construct file message command is a command belonging to the communication client and is a standardized command provided by the platform where the RPA robot is located; after calling the construct text message command, the RPA robot uses the attribute information and identification information of the internal communication software as parameters, and based on the first communication relationship between the communication client and the communication server, calls a message sending interface corresponding to the message sending command to send the first message containing the key information to the communication server; a message forwarding module, configured to send the first message to the user's communication software based on a second communication relationship between the module and the user's communication software; The second message sending module is configured to receive the second message sent by the communication software, and send the second message to the RPA robot through the communication client. The RPA robot calls the message receiving interface corresponding to the message receiving command to receive the second message sent by the communication server, wherein the parameters of the message sending command and the message receiving command both include the user's communication software identifier and the user's corresponding identity identifier in the communication software. If the second message includes a ticket purchase instruction about the target identification information, the second message is used to instruct the RPA robot to perform a purchase operation on the transportation ticket corresponding to the target identification information on the target ticket purchase website.

12. A device for purchasing transportation tickets, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method for purchasing a traffic ticket based on RPA and AI for implementing IA applied to an RPA robot as described in any one of claims 1 to 4; the device further comprising: The communication client is used to communicate with the communication server and perform data exchange and transmission.

13. A server for purchasing transportation tickets, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method for purchasing a transportation ticket based on RPA and AI for implementing IA applied to a communication server as described in any one of claims 6-7; The server further includes: Communication interface, used to communicate with the user's communication software and perform data exchange and transmission.

14. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the method for purchasing a transportation ticket based on RPA and AI to implement IA applied to an RPA robot as described in any one of claims 1 to 4 is implemented, or the method for purchasing a transportation ticket based on RPA and AI to implement IA applied to a communication server as described in any one of claims 6-7 is implemented.

Citation Information

Patent Citations

  • A system and method for interactive recommendation and systematic preferential assistance purchase of ticket information

    CN109508803A

  • Ticket information processing method and device combining RPA and AI, electronic equipment and storage medium

    CN114265969A