CN115037714A - Method and device for controlling mail trigger based on RPA and AI - Google Patents

Method and device for controlling mail trigger based on RPA and AI Download PDF

Info

Publication number
CN115037714A
CN115037714A CN202210266638.4A CN202210266638A CN115037714A CN 115037714 A CN115037714 A CN 115037714A CN 202210266638 A CN202210266638 A CN 202210266638A CN 115037714 A CN115037714 A CN 115037714A
Authority
CN
China
Prior art keywords
mail
trigger
target
condition
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210266638.4A
Other languages
Chinese (zh)
Inventor
李青
王瑞丰
罗亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Laiye Technology Beijing Co Ltd
Original Assignee
Laiye Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Laiye Technology Beijing Co Ltd filed Critical Laiye Technology Beijing Co Ltd
Priority to CN202210266638.4A priority Critical patent/CN115037714A/en
Publication of CN115037714A publication Critical patent/CN115037714A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Abstract

The disclosure provides a control method of a mail trigger based on RPA and AI. Wherein, the method comprises the following steps: when the first control in the mail trigger configuration interface is triggered, a target mailbox address and a trigger condition corresponding to a mail trigger can be acquired from the mail trigger configuration interface, then a test mail can be generated and sent according to the target mailbox address and the trigger condition, and a mail trigger is generated according to the target mailbox address and the trigger condition when the test mail is monitored.

Description

Method and device for controlling mail trigger based on RPA and AI
Technical Field
The present disclosure relates to the field of automation technologies, and in particular, to a method and an apparatus for controlling a mail trigger based on RPA and AI.
Background
Robot Process Automation (RPA), which simulates the operation of a human on a computer through specific robot software and automatically executes Process tasks according to rules.
Artificial Intelligence (AI) is a technical science that studies and develops theories, methods, techniques and application systems for simulating, extending and expanding human Intelligence.
With the continuous development of automation technology, the automation degree of the business process is higher and higher. However, the execution scenarios corresponding to different services may be different, for example, some services need to be triggered to execute at a specific time, some services need to be triggered to execute at a specific environment, and thus, a time trigger, a mail trigger, and the like exist. How to generate a reliable mail trigger is a problem that needs to be solved at present.
Disclosure of Invention
The embodiment of the application provides a control method of a mail trigger based on RPA and AI to generate a reliable mail trigger, and the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for controlling a mail trigger based on an RPA and an AI, including:
under the condition that a first control in a mail trigger configuration interface is monitored to be triggered, acquiring a target mailbox address and a triggering condition corresponding to a mail trigger from the mail trigger configuration interface;
generating and sending a test mail according to the target mailbox address and the trigger condition;
and under the condition of monitoring the test mail, generating a mail trigger according to the target mailbox address and the trigger condition.
In one embodiment, generating and sending a test mail according to a target mailbox address and a trigger condition comprises:
acquiring the incidence relation among a plurality of trigger conditions under the condition that the number of the trigger conditions is multiple;
and respectively generating and sending a plurality of test mails according to the plurality of trigger conditions, the incidence relation among the plurality of trigger conditions and the target mailbox address.
In one embodiment, before it is monitored that the first control in the mail trigger configuration interface is triggered, the method further comprises:
in response to the fact that the second control in the configuration interface is triggered, calling a Natural Language Processing (NLP) service to acquire a target business name corresponding to the mail trigger from the configuration interface;
matching the target service name with each candidate service name to determine the matching degree corresponding to each candidate service;
and determining the candidate service with the highest matching degree as the target service corresponding to the mail trigger.
In one embodiment, before it is monitored that the first control in the mail trigger configuration interface is triggered, the method further comprises:
determining a target mailbox address corresponding to a trigger;
acquiring attribute information of a target server associated with a target mailbox address from a preset association relation list of the mailbox address and server attribute information;
and inputting the attribute information of the target server into a corresponding input control in the configuration interface.
In one embodiment, after generating and sending the test mail, the method further comprises:
and under the condition that the test mail is not monitored in a preset time period, displaying a test failure message on a popup window on the upper layer of the configuration interface.
In one embodiment, after generating the mail trigger, the method further comprises:
monitoring a target mailbox corresponding to the target mailbox address;
responding to the detection period in the arrival triggering condition, and acquiring each mail in the current detection period from the target mailbox;
according to the trigger condition, each mail is subjected to NLP processing to determine the number of first mails of which the fields contained in the mails meet the reference fields in the trigger condition in the current detection period;
and under the condition that the number of the first mails meets the reference number in the trigger condition, triggering to execute the target service corresponding to the mail trigger.
In one embodiment, after acquiring each mail piece received in the current detection period from the target mailbox, the method further comprises the following steps:
determining the number of second mails of which the fields contained in the mails do not meet the reference field in the current detection period;
and determining whether to trigger and execute the target service corresponding to the mail trigger according to the quantity relation among the first mail, the second mail and the triggering condition.
In one embodiment, obtaining each mail piece in the current detection period from the target mailbox comprises:
responding to the mail type included in the trigger condition as a received mail, and acquiring each mail received in the current detection period from the target mailbox;
and/or, in response to the mail type included in the trigger condition being a sending mail, acquiring each mail sent in the current detection period from the target mailbox.
In one embodiment, the above method is applied to any one of:
a robot process automation RPA robot, an RPA system, and an RPA program editor.
In a second aspect, an embodiment of the present application provides a control device for an RPA and AI based mail trigger, including:
the acquisition module is used for acquiring a target mailbox address and a trigger condition corresponding to the mail trigger from the mail trigger configuration interface under the condition that the first control in the mail trigger configuration interface is monitored to be triggered;
the test module is used for generating and sending a test mail according to the target mailbox address and the trigger condition;
and the generating module is used for generating a mail trigger according to the target mailbox address and the trigger condition under the condition of monitoring the test mail.
In an embodiment, the test module is specifically configured to:
acquiring an incidence relation among a plurality of trigger conditions under the condition that the number of the trigger conditions is multiple;
and respectively generating and sending a plurality of test mails according to the plurality of trigger conditions, the incidence relation among the plurality of trigger conditions and the target mailbox address.
In one embodiment, the system further comprises a configuration module configured to:
in response to the fact that the second control in the configuration interface is triggered, calling a Natural Language Processing (NLP) service to acquire a target business name corresponding to the mail trigger from the configuration interface; matching the target service name with each candidate service name to determine the matching degree corresponding to each candidate service;
and determining the candidate service with the highest matching degree as the target service corresponding to the mail trigger.
In an embodiment, the configuration module is further configured to:
determining a target mailbox address corresponding to a trigger;
acquiring attribute information of a target server associated with a target mailbox address from a preset association relation list of the mailbox address and server attribute information;
and inputting the attribute information of the target server into a corresponding input control in the configuration interface.
In an embodiment, the generating module is further configured to:
and under the condition that the test mail is not monitored in a preset time period, displaying a test failure message on a popup window on the upper layer of the configuration interface.
In one embodiment, the method further comprises:
the monitoring module is used for monitoring a target mailbox corresponding to the target mailbox address;
the acquiring module is further configured to acquire, in response to reaching the detection period in the trigger condition, each mail in the current detection period from the target mailbox;
the processing module is used for performing NLP processing on each mail according to the trigger condition so as to determine the number of first mails of which the fields contained in the mails meet the reference fields in the trigger condition in the current detection period;
and the triggering module is used for triggering and executing the target service corresponding to the mail trigger under the condition that the number of the first mails meets the reference number in the triggering condition.
In an embodiment, the processing module is further configured to:
determining the number of second mails of which the fields contained in the mails do not meet the reference field in the current detection period;
and determining whether to trigger the target service corresponding to the mail trigger according to the quantity of the first mails, the quantity of the second mails and the quantity relation in the trigger condition.
In an embodiment, the obtaining module is specifically configured to:
responding to the mail type included in the trigger condition as a received mail, and acquiring each mail received in the current detection period from the target mailbox;
and/or, in response to the mail type included in the trigger condition being the sending mail, acquiring each mail sent in the current detection period from the target mailbox.
In one embodiment, the above apparatus is applied to any one of:
a robot process automation RPA robot, an RPA system, and an RPA program editor.
In a third aspect, an embodiment of the present application provides a control device for an email trigger based on RPA and AI, including: a memory and a processor. Wherein the memory and the processor are in communication with each other via an internal connection path, the memory is configured to store instructions, the processor is configured to execute the instructions stored by the memory, and the processor is configured to perform the method of any of the above aspects when the processor executes the instructions stored by the memory.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, which stores a computer program, and when the computer program runs on a computer, the method in any one of the above-mentioned aspects is executed.
The advantages or beneficial effects in the above technical solution at least include: when the first control in the mail trigger configuration interface is triggered, a target mailbox address and a trigger condition corresponding to a mail trigger can be acquired from the mail trigger configuration interface, then a test mail can be generated and sent according to the target mailbox address and the trigger condition, and a mail trigger is generated according to the target mailbox address and the trigger condition when the test mail is monitored.
The foregoing summary is provided for the purpose of description 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 drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
Fig. 1 is a schematic flowchart of a method for controlling a mail trigger based on RPA and AI according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a trigger generation interface provided in an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a mail trigger configuration interface according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another control method for an email trigger based on RPA and AI according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of another email trigger configuration interface provided by an embodiment of the present disclosure;
fig. 6 is a schematic flowchart of another control method for an RPA and AI based mail trigger according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of another control method for an RPA and AI based mail trigger according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of an add mailbox management window according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram of a mailbox management window provided in the embodiment of the present disclosure;
fig. 10 is a schematic flowchart of another control method for an RPA and AI based mail trigger according to an embodiment of the present disclosure;
FIG. 11 is a schematic diagram of another email trigger configuration interface provided by an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a control device of an email trigger based on RPA and AI according to an embodiment of the present disclosure;
fig. 13 is a block diagram of a computer device of a control method of a mail trigger based on RPA and AI according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of illustrating the present disclosure and should not be construed as limiting the same.
In the description of the present disclosure, the term "plurality" means two or more.
In the description of the present disclosure, the term "RPA robot" is any robot that can call an RPA program to implement a corresponding service or function.
In the description of the present disclosure, the term "flow" is a series of activities associated with the satisfaction of customer value, and is a work process composed of ordered process nodes and execution modes.
In the description of the present disclosure, the term "mail trigger" is a real-time monitoring function that receives a certain instruction from a certain mail immediately.
In the description of the present disclosure, the term "trigger condition" may be a matching condition that triggers the service to run.
In the description of the present disclosure, the term "target service" may be a task that the RPA robot performs when a mail trigger is triggered, and the task may be performed by a program according to a fixed flow.
In the description of the present disclosure, the term "target mailbox" may be a mailbox to be monitored to which a mail trigger corresponds.
In the description of the present disclosure, the term "server attribute information" may be information for characterizing attributes of a server, such as a protocol type, a port number, an encryption type, and the like.
In the description of the present disclosure, the term "test mail" may be a mail used to test whether a mail trigger can reliably monitor a target mail at a target mailbox address.
In the description of the present disclosure, the term "RPA system" may be a system provided with an RPA robot.
In the description of the present disclosure, the term "RPA program editor" may be a tool for editing an RPA program, and a user may edit and configure a corresponding RPA flow for an RPA robot in the RPA program editor.
These and other aspects of embodiments of the disclosure will be apparent with reference to the following description and attached drawings. In the description and drawings, particular embodiments of the disclosure have been disclosed in detail as being indicative of some of the ways in which the principles of the embodiments of the disclosure may be practiced, but it is understood that the scope of the embodiments of the disclosure is not limited thereby. On the contrary, the embodiments of the disclosure include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
In the method, under the scene that a certain service is required to be triggered to execute by a mail of a specified type in a specified mailbox, a corresponding mail trigger can be firstly created based on RPA and AI, and then the created mail trigger is automatically tested, and then the monitored mailbox can be monitored by using the mail trigger passing the test so as to detect whether the mail meets the specified condition or not.
The following describes a method and an apparatus for controlling an RPA and AI based mail trigger according to an embodiment of the present disclosure with reference to the drawings.
It should be noted that the control method of the mail trigger based on Robot Process Automation (RPA) and Artificial Intelligence (AI) provided by the present disclosure may be executed by an RPA robot, or the method may also be executed by an RPA system. The RPA robot or the RPA system can monitor the mail trigger configuration interface in the RPA program editor in real time, and when the mail trigger is monitored to be created through the configuration interface, the newly created mail trigger can be triggered to be tested.
Alternatively, the method may be performed by an RPA program editor. The RPA program editor monitors the configuration interface of the email trigger, and when it is monitored that the email trigger is created through the configuration interface, the newly created email trigger can be triggered to be tested, which is not limited by the disclosure.
Fig. 1 is a flowchart of a control method of a mail trigger based on a Robot Process Automation (RPA) and an Artificial Intelligence (AI) according to an embodiment of the present disclosure, and as shown in fig. 1, the method may include the following steps:
step S101: and under the condition that the first control in the mail trigger configuration interface is monitored to be triggered, acquiring a target mailbox address and a triggering condition corresponding to the mail trigger from the mail trigger configuration interface.
The first control may be any control for identifying that the configuration of the email trigger is completed, for example, it may be a "complete" control in the configuration interface, or may also be a "save" control, and so on. When the RPA robot client monitors that a first control in the mail trigger configuration interface is triggered, the current mail trigger configuration can be determined to be finished, so that the automatic test of the mail trigger can be triggered to determine whether the mail trigger can be normally used.
In addition, the target mailbox may be a mailbox to be monitored corresponding to the mail trigger, and the trigger condition may be a matching condition for triggering service operation.
Furthermore, the matching rule corresponding to the trigger condition may include, not include, completely equal to, start not equal to, end not equal to, regular, etc., which the present disclosure does not limit.
For example, when the trigger condition is: when the main body comprises the designated character, the mail satisfies the triggering condition when the character of the main body part of the mail comprises the designated character. When the trigger condition is: when the main body does not contain the designated character, the mail satisfies the triggering condition when the character of the main body part of the mail does not contain the designated character. When the trigger condition is: when the text is completely equal to the designated character, the mail satisfies the triggering condition when the character of the text part of the mail is completely equal to the designated character. When the trigger condition is: when the beginning of the text is equal to the designated character, the mail satisfies the triggering condition when the beginning character of the text part of the mail is the designated character. When the trigger condition is: when the text beginning is not equal to the designated character, the mail satisfies the triggering condition when the beginning character of the text part of the mail is not the designated character. When the trigger condition is: and when the text ending is equal to the specified character, the mail satisfies the triggering condition when the ending character of the mail text part is the specified character. When the trigger condition is: when the ending character of the body part of the mail is not the specified character when the ending character of the body part of the mail is not equal to a certain character, the mail meets the triggering condition. When the trigger condition is: and when the text part meets the regular relation, the mail meets the triggering condition when the character of the mail text part is matched with the specified regular relation.
As shown in fig. 2, after a user clicks an "add" button in a trigger generation interface, a column for adding a trigger type selection may be popped up, when the user clicks the "mail trigger" option, a mail trigger configuration interface may be popped up, and the user may configure a target mailbox address and a trigger condition corresponding to a mail trigger as required in the mail trigger configuration interface, and then, when the user clicks a first control, that is, a "test" control or a "save" control in fig. 3, the RPA robot may monitor that the first control is triggered, and at this time, the RPA robot may acquire the target mailbox address and the trigger condition corresponding to a mail configured in the mail trigger configuration interface by the user.
As shown in fig. 3, fig. 3 is a schematic diagram of a configuration interface of a mail trigger, in fig. 3, a "mailbox management" button may be clicked to configure a target mailbox, a trigger condition is configured in a matching rule column, a corresponding service is selected in a "selection flow" column, and a name of the mail trigger is configured in a "trigger name" column. After the relevant content of the mail trigger is configured, a 'test' button can be clicked, and the RPA robot can acquire the trigger condition and the target mailbox address corresponding to the mail trigger from the configuration interface of the mail trigger.
It should be noted that the style of the email trigger configuration interface schematic diagram in fig. 3 and the names of the controls in the diagram are only schematic illustrations, and the names, positions, display styles, and the like of the controls in the email trigger configuration interface are not limited by this disclosure.
Step S102: and generating and sending a test mail according to the target mailbox address and the trigger condition.
In the present disclosure, the RPA robot may generate a test mail according to the specific content of the trigger condition, and send the test mail to the target mailbox.
It can be understood that the purpose of generating and sending the test mail is to test whether the mail trigger can reliably monitor the target mail at the target mailbox address, so as to avoid the situation that the generated mail trigger is triggered by mistake or by omission, and ensure the reliability of the generated mail trigger.
Step S103: and under the condition of monitoring the test mail, generating a mail trigger according to the target mailbox address and the trigger condition.
In the disclosure, after the sending of the test mail is confirmed, the RPA robot may start to monitor the target mailbox, and when it is monitored that the target mailbox receives the test mail, it may be stated that the target mailbox can be normally used and the configured trigger condition is correct. Therefore, the situation that the mail trigger is unavailable or inaccurate in configuration can be avoided, and the reliability of the mail trigger is improved.
Optionally, the test mail may be analyzed when the test mail is monitored, and the current configuration information may be determined to be accurate when the test mail meets the trigger condition, so that the mail trigger may be generated according to the target mailbox address and the trigger condition.
Optionally, when it is monitored that the first control in the mail trigger configuration interface is triggered, the RPA robot may further directly test whether the target mailbox is connected through a network diagnosis command according to an Internet Protocol Address (IP) and a port number of a server corresponding to the target mailbox, and may generate the mail trigger according to the Address of the target mailbox and a trigger condition when the target mailbox is connected.
Optionally, when the test email is not monitored within a preset time period, it indicates that the configuration information of the email trigger is incorrect, or the email trigger cannot be connected to the target mailbox server, and at this time, a test failure message may be displayed on a popup window on the configuration interface to indicate that the email trigger is abnormal.
According to the method and the device, under the condition that the first control in the mail trigger configuration interface is triggered, the target mailbox address and the triggering condition corresponding to the mail trigger can be obtained from the mail trigger configuration interface, then the test mail can be generated and sent according to the target mailbox address and the triggering condition, and the mail trigger is generated according to the target mailbox address and the triggering condition under the condition that the test mail is monitored, so that after the mail trigger configuration is determined to be completed, the test mail is generated according to the target mailbox address and the triggering condition, the mail trigger is automatically tested, and the mail trigger is regenerated after the test is passed, and therefore the reliability and the accuracy of the generated mail trigger are guaranteed.
Fig. 4 is a flowchart of a control method of a mail trigger based on a Robot Process Automation (RPA) and an Artificial Intelligence (AI) according to an embodiment of the present disclosure, and as shown in fig. 4, the method may include the following steps:
step S401: and under the condition that the first control in the mail trigger configuration interface is monitored to be triggered, acquiring a target mailbox address and a triggering condition corresponding to the mail trigger from the mail trigger configuration interface.
In this disclosure, the specific implementation process of step 401 may refer to the detailed description of any embodiment in this disclosure, and is not described herein again.
Step S402: and acquiring the association relation among the plurality of trigger conditions under the condition that the number of the trigger conditions is more than one.
The association relationship may include an association relationship such as an or, an and the like, and the disclosure is not limited thereto.
In addition, when the association relationship between any two trigger conditions is an or relationship, the monitored mail satisfies any one of the trigger conditions, and then the corresponding service can be triggered to be executed.
In the present disclosure, a plurality of trigger conditions may be configured for the mail trigger according to the address of the sender, the address of the transcriber, the mail subject, the mail body, the attachment, and the like, and an association relationship may be configured for each trigger condition, so that the RPA robot may determine whether to trigger the corresponding target service according to each trigger condition and the association relationship in each trigger condition. The target service may be a task executed by the RPA robot when the mail trigger is triggered.
As shown in fig. 3, in the column of "matching rule", a relationship may be configured or obtained among the triggering conditions corresponding to the sender address, the carbon copy address, the mail subject, the mail body, and the attachment, and when the mail satisfies any one of the triggering conditions, it may be determined that the mail satisfies the triggering condition.
Optionally, any triggering condition may include a plurality of association conditions, for example, as shown in fig. 5, the triggering condition corresponding to the sender address may include two association conditions, and the two association conditions are in an or association relationship, so that when the sender address of the email satisfies any one of the two association conditions, it may be determined that the email satisfies the triggering condition corresponding to the sender address.
Step S403: and respectively generating and sending a plurality of test mails according to the plurality of trigger conditions, the incidence relation among the plurality of trigger conditions and the target mailbox address.
In the present disclosure, a plurality of trigger conditions and the association relationship corresponding to each trigger condition may be combined to generate a plurality of test mails, and then each test mail may be sent to the target mailbox address.
It can be understood that a plurality of test mails are generated and sent, and scenes of whether the mail trigger can reliably monitor the target mail corresponding to the target mailbox address for testing are enriched, so that the condition that the generated mail trigger is triggered by mistake or by omission is avoided, and the reliability of the generated mail trigger is further ensured.
Step S404: and under the condition of monitoring the test mail, generating a mail trigger according to the target mailbox address and the trigger condition.
In this disclosure, the specific implementation process of step 404 may refer to the detailed description of any embodiment in this disclosure, and is not described herein again.
According to the method and the device, under the condition that it is monitored that a first control in a mail trigger configuration interface is triggered, a target mailbox address and a trigger condition corresponding to a mail trigger can be obtained from the mail trigger configuration interface, and under the condition that the number of the trigger conditions is multiple, the incidence relation among multiple trigger conditions is obtained, then, multiple test mails can be respectively generated and sent according to the multiple trigger conditions, the incidence relation among the multiple trigger conditions and the target mailbox address, and under the condition that the test mails are monitored, a mail trigger is generated according to the target mailbox address and the trigger condition. Therefore, after the mail trigger configuration is determined to be completed, a plurality of test mails are generated according to the target mailbox address and a plurality of trigger conditions, the mail trigger is automatically tested for a plurality of times, and the mail trigger is generated after the test is passed, so that the reliability and the accuracy of the generated mail trigger are ensured.
Fig. 6 is a flowchart of a control method of a mail trigger based on a Robot Process Automation (RPA) and an Artificial Intelligence (AI) according to an embodiment of the present disclosure, and as shown in fig. 6, the method may include the following steps:
step S601: and in response to the fact that the second control in the configuration interface is triggered, calling a Natural Language Processing (NLP) service to acquire a target business name corresponding to the mail trigger from the configuration interface.
The second control can be any control for triggering automatic matching of the target service. The target service may be a task that the RPA robot performs when the mail trigger is triggered.
In the disclosure, the RPA robot may be used to complete different services at different times or in different scenes, and a user may configure the mail trigger according to a requirement, so that the RPA robot executes a specific service at a specific time or in a specific scene. In order to improve flexibility of the configuration of the mail trigger, an association relationship between the name of the mail trigger and the name of the target service may be set, for example, the name of the mail trigger may be set to be the same as the name of the target service, so that after the name of the mail trigger is determined, the corresponding name of the target service may be determined according to the association relationship between the name of the mail trigger and the name of the target service.
In the present disclosure, after the user completes the name configuration of the email trigger in the email trigger configuration interface, the matching of the target service corresponding to the email trigger may be triggered by clicking the second control, "select flow" control in fig. 3, and then the RPA robot may invoke the natural language processing NLP service to resolve the name of the email trigger, so as to determine the name of the target service corresponding to the email trigger.
Step S602: and matching the target service name with each candidate service name to determine the matching degree corresponding to each candidate service.
In the disclosure, after the target service name is determined, the similarity between the target service name and each candidate service name may be calculated, and the matching degree between each candidate service and the mail trigger may be determined according to the similarity between the target service name and each candidate service name. The higher the similarity between the candidate service name and the target service name is, the higher the matching degree between the candidate service corresponding to the candidate service name and the target service is.
Step S603: and determining the candidate service with the highest matching degree as the target service corresponding to the mail trigger.
In the present disclosure, when the matching degree between a certain candidate service and a target service is the highest, the candidate service may be considered as the target service corresponding to the email trigger.
It can be understood that the target service is automatically matched according to the name of the mail trigger, so that the condition of mis-configuration or missing configuration of the manual configuration service is avoided, and the reliability of the generated mail trigger is ensured.
Step S604: and under the condition that the first control in the mail trigger configuration interface is monitored to be triggered, acquiring a target mailbox address and a triggering condition corresponding to the mail trigger from the mail trigger configuration interface.
Step S605: and generating and sending a test mail according to the target mailbox address and the trigger condition.
Step S606: and under the condition of monitoring the test mail, generating a mail trigger according to the target mailbox address and the trigger condition.
In the present disclosure, for a specific implementation process of step S604 to step S606, reference may be made to detailed description of any embodiment of the present disclosure, and details are not repeated here.
In the disclosure, when it is monitored that the second control in the configuration interface is triggered, the natural language processing NLP service may be invoked to obtain the target service name corresponding to the mail trigger from the configuration interface, and after matching the target service name with each candidate service name to determine the matching degree corresponding to each candidate service, the candidate service with the highest matching degree may be determined as the target service corresponding to the mail trigger, and then, under the condition that the first control in the mail trigger configuration interface is monitored to be triggered, a target mailbox address and a trigger condition corresponding to a mail trigger can be obtained from the mail trigger configuration interface, then a test mail is generated and sent according to the target mailbox address and the trigger condition, and under the condition of monitoring the test mail, generating a mail trigger according to the target mailbox address and the trigger condition. Therefore, after the mail trigger configuration is determined to be completed, the test mail is generated according to the target mailbox address and the trigger condition, the mail trigger is automatically tested, and the mail trigger is generated after the test is passed, so that the reliability and the accuracy of the generated mail trigger are ensured.
Fig. 7 is a flowchart of a control method of a mail trigger based on a Robot Process Automation (RPA) and an Artificial Intelligence (AI) according to an embodiment of the present disclosure, and as shown in fig. 7, the method may include the following steps:
step S701: and determining the target mailbox address corresponding to the trigger.
In the present disclosure, a user may perform target mailbox configuration by clicking a "mailbox management" button in a mail trigger interface, as shown in fig. 3, after clicking the "mailbox management" button, a mailbox management window may pop up, as shown in fig. 8, and then, after clicking an "add" button in the mailbox management window, an add mailbox configuration window may pop up, as shown in fig. 9, and then, after clicking the "add" button in the mailbox management window, the user may input a mailbox address in an input box on the right side of the "mailbox account" control, so that the RPA robot may determine the input mailbox address as a target mailbox address corresponding to the trigger.
Alternatively, the user may configure the mail trigger for each target mailbox by clicking the "add" button multiple times.
Step S702: and acquiring attribute information of the target server associated with the target mailbox address from a preset association relation list of the mailbox address and the server attribute information.
The server attribute information may include a protocol type, a port number, an encryption type, and the like, which is not limited in this disclosure.
In the present disclosure, different mailbox types may have different attribute information such as a protocol type, a port number, an encryption type, and the like of a corresponding server, but any mailbox has less change after the attribute information configuration of the corresponding server is completed, so that an association relationship list between a mailbox address and server attribute information may be preset in the system, and then, according to an input target mailbox address, the attribute information of a target server corresponding to the target mailbox address is determined by querying, thereby improving the usability of the system.
Step S703: and inputting the attribute information of the target server into a corresponding input control in the configuration interface.
In the disclosure, after determining the attribute information of the target server, the RPA robot may add the corresponding input control in the mailbox configuration window to supplement the corresponding information. And then, after clicking a 'save' button in the mailbox adding configuration window, saving the added mailbox to complete the configuration of the target mailbox.
It can be understood that the attribute information of the target server associated with the target mailbox address is obtained according to the target mailbox address, so that the condition that the attribute information of the server is configured by manpower in a wrong or missing manner is avoided, and the reliability of the generated mail trigger is ensured.
Optionally, after the attribute information of the target server is input to the corresponding input control in the configuration interface, the attribute information of the server may be modified in the configuration interface, so as to ensure the accuracy of the attribute information of the server.
Step S704: and under the condition that the first control in the mail trigger configuration interface is monitored to be triggered, acquiring a target mailbox address and a triggering condition corresponding to the mail trigger from the mail trigger configuration interface.
Step S705: and generating and sending a test mail according to the target mailbox address and the trigger condition.
Step S706: and under the condition of monitoring the test mail, generating a mail trigger according to the target mailbox address and the trigger condition.
In the present disclosure, the specific implementation process of step S704 to step S706 may refer to the detailed description of any embodiment of the present disclosure, and is not described herein again.
According to the method and the device, after a target mailbox address corresponding to a trigger is determined, attribute information of a target server related to the target mailbox address can be acquired from a preset association relation list of the mailbox address and server attribute information, then the attribute information of the target server can be input into a corresponding input control in a configuration interface, then under the condition that a first control in a mail trigger configuration interface is monitored to be triggered, the target mailbox address and a trigger condition corresponding to the mail trigger can be acquired from the mail trigger configuration interface, a test mail is generated and sent according to the target mailbox address and the trigger condition, and under the condition that the test mail is monitored, a mail trigger can be generated according to the target mailbox and the trigger condition. Therefore, after the mail trigger configuration is determined to be completed, the test mail is generated according to the target mailbox address and the trigger condition, the mail trigger is automatically tested, and the mail trigger is generated after the test is passed, so that the reliability and the accuracy of the generated mail trigger are ensured.
Fig. 10 is a flowchart of a control method of a mail trigger based on a Robot Process Automation (RPA) and an Artificial Intelligence (AI) according to an embodiment of the present disclosure, and as shown in fig. 10, the method may include the following steps:
step S1001: and under the condition that the first control in the mail trigger configuration interface is triggered, acquiring a target mailbox address and a trigger condition corresponding to the mail trigger from the mail trigger configuration interface.
Step S1002: and generating and sending a test mail according to the target mailbox address and the trigger condition.
Step S1003: and under the condition of monitoring the test mail, generating a mail trigger according to the target mailbox address and the trigger condition.
In the present disclosure, the specific implementation process of steps S1001 to S1003 may refer to the detailed description of any embodiment of the present disclosure, and is not repeated herein.
Step S1004: and monitoring a target mailbox corresponding to the target mailbox address.
In the present disclosure, after the mail trigger is generated, the mail trigger may be set to an open state, as shown in fig. 11, the mail trigger is set to be in the open state by clicking the mail trigger named "trigger iteration on-line", and setting the corresponding open button, and then the mail trigger may monitor the target mailbox corresponding to the target mailbox address.
Step S1005: and in response to the detection period in the arrival triggering condition, acquiring each mail in the current detection period from the target mailbox.
In the present disclosure, a user may configure a detection period in an add mailbox configuration interface, for example, as shown in fig. 9, a detection period duration may be set in an input box on the right side of a "detection time" space. Thus, the RPA robot can periodically acquire each mail in the current detection period from the target mailbox.
It should be noted that the style of the schematic diagram of the mailbox addition configuration window in fig. 9 and the names of the controls in the diagram are only schematic illustrations, and the names, positions, display styles, and the like of the controls in the mailbox addition configuration window interface are not limited in this disclosure.
Optionally, the monitored mail type may be set in the trigger condition, and when the mail type included in the trigger condition is a received mail, each mail received in the current detection period may be acquired from the target mailbox.
Alternatively, when the mail type included in the trigger condition is a send mail, each mail sent in the current detection period may be acquired from the target mailbox.
Alternatively, when the mail types included in the trigger condition are the sending mail and the receiving mail, the respective mails sent and received in the current detection period may be acquired from the target mailbox.
Step S1006: and according to the triggering condition, performing NLP processing on each mail to determine the number of the first mails of which the fields contained in the mails meet the reference fields in the triggering condition in the current detection period.
In the present disclosure, after each email in the detection period is acquired, NLP processing may be performed on each email according to the trigger condition to determine whether a field included in each email matches the trigger condition, and in a case where a field included in any email matches the trigger condition, it may be determined that the email is the first email, and then, the number of the first emails in the period may be counted.
Optionally, it may also be determined that, in the current detection period, the number of the second emails in which the fields included in the emails do not satisfy the reference fields, and then, it is determined whether to trigger execution of the target service corresponding to the email trigger according to the number of the first emails, the number of the second emails, and the number relationship in the trigger condition. For example, if the triggering condition is that the mail header includes "urgent going on line", if the number of the received mails that do not include "urgent going on line" in the mail header is less than the number of the received mails that include "urgent going on line" in the mail header within 5 minutes, it may be determined that the triggering condition is satisfied, that is, the target service corresponding to the mail trigger may be triggered and executed.
Step S1007: and under the condition that the number of the first mails meets the reference number in the trigger condition, triggering and executing the target service corresponding to the mail trigger.
In the disclosure, the number of the first mails may be compared with the reference number in the trigger condition, and when the number of the first mails meets the reference number in the trigger condition, the target service corresponding to the mail trigger may be triggered to be executed. For example, the target service corresponding to the mail trigger may be triggered to be executed when the first mail is greater than the reference number, or the target service may be triggered to be executed when the proportion of the first mail to the total mail number in the period reaches a certain ratio. Therefore, the number of the first mails in the detection period is monitored, and the number of the first mails is compared with the reference number in the trigger condition to determine whether the target service is triggered, so that the trigger condition is increased, and the scene requirement of more complex trigger conditions is met.
Optionally, when the first email is detected, the target service corresponding to the email trigger may be triggered to be executed.
Optionally, after the target service corresponding to the mail trigger is triggered and executed, the operation result of the target service may be detected, and the operation result may be displayed on the interface of the mail trigger. For example, as shown in fig. 11, in the trigger recording module, whether the target service is successfully executed, and the start date and the end date of the execution may be shown.
In the disclosure, under the condition that it is monitored that a first control in a mail trigger configuration interface is triggered, after a target mailbox address and a trigger condition corresponding to a mail trigger are acquired from the mail trigger configuration interface, a test mail can be generated and sent according to the target mailbox address and the trigger condition, and under the condition that the test mail is monitored, a mail trigger is generated according to the target mailbox address and the trigger condition, then, the target mailbox corresponding to the target mailbox address can be monitored, when a detection period in the trigger condition is reached, each mail in a current detection period can be acquired from the target mailbox, and according to the trigger condition, each mail is subjected to NLP processing to determine the number of first mails whose fields meet a reference field in the trigger condition in the current detection period, and then, under the condition that the number of the first mails meets the reference number in the trigger condition, and triggering and executing the target service corresponding to the mail trigger. Therefore, after the mail trigger configuration is determined to be completed, the test mail is generated according to the target mailbox address and the trigger condition, the mail trigger is automatically tested, and the mail trigger is generated after the test is passed, so that the reliability and the accuracy of the generated mail trigger are ensured.
In order to implement the foregoing embodiments, an embodiment of the present application further provides a control device for a mail trigger based on RPA and AI. Fig. 12 is a schematic structural diagram of a control device of a mail trigger based on RPA and AI according to an embodiment of the present application.
As shown in fig. 12, the control device 1200 of the mail trigger based on RPA and AI includes: an acquisition module 1210, a test module 1220, and a generation module 1230.
An obtaining module 1210, configured to obtain, from a mail trigger configuration interface, a target mailbox address and a trigger condition corresponding to a mail trigger when it is monitored that a first control in the mail trigger configuration interface is triggered;
the test module 1220 is configured to generate and send a test mail according to the target mailbox address and the trigger condition;
the generating module 1230 is configured to generate a mail trigger according to the target mailbox address and the trigger condition when the test mail is monitored.
Optionally, the test module 1220 is specifically configured to:
acquiring an incidence relation among a plurality of trigger conditions under the condition that the number of the trigger conditions is multiple;
and respectively generating and sending a plurality of test mails according to the plurality of trigger conditions, the incidence relation among the plurality of trigger conditions and the target mailbox address.
Optionally, the system further includes a configuration module, configured to:
in response to the fact that the second control in the configuration interface is triggered, calling a Natural Language Processing (NLP) service to acquire a target business name corresponding to the mail trigger from the configuration interface; matching the target service name with each candidate service name to determine the matching degree corresponding to each candidate service;
and determining the candidate service with the highest matching degree as the target service corresponding to the mail trigger.
Optionally, the configuration module is further configured to:
determining a target mailbox address corresponding to a trigger;
acquiring attribute information of a target server associated with a target mailbox address from a preset association relation list of the mailbox address and server attribute information;
and inputting the attribute information of the target server into a corresponding input control in the configuration interface.
Optionally, the generating module 1230 is further configured to:
and under the condition that the test mail is not monitored in a preset time period, displaying a test failure message on a popup window on the upper layer of the configuration interface.
Optionally, the method further includes:
the monitoring module is used for monitoring a target mailbox corresponding to the target mailbox address;
the obtaining module 1210 is further configured to obtain, in response to the detection period in the trigger condition, each email in the current detection period from the target mailbox;
the processing module is used for performing NLP processing on each mail according to the trigger condition so as to determine the number of first mails of which the fields contained in the mails meet the reference fields in the trigger condition in the current detection period;
and the triggering module is used for triggering and executing the target service corresponding to the mail trigger under the condition that the number of the first mails meets the reference number in the triggering condition.
Optionally, the processing module is further configured to:
determining the number of second mails of which the fields contained in the mails do not meet the reference field in the current detection period;
and determining whether to trigger the target service corresponding to the mail trigger according to the quantity of the first mails, the quantity of the second mails and the quantity relation in the trigger condition.
Optionally, the obtaining module 1210 is specifically configured to:
responding to the mail type included in the trigger condition as a received mail, and acquiring each mail received in the current detection period from the target mailbox;
and/or, in response to the mail type included in the trigger condition being the sending mail, acquiring each mail sent in the current detection period from the target mailbox.
Optionally, the above apparatus is applied to any one of:
robot flow automation RPA robot, RPA system, and RPA program editor.
According to the method and the device, under the condition that the first control in the mail trigger configuration interface is triggered, the target mailbox address and the triggering condition corresponding to the mail trigger can be obtained from the mail trigger configuration interface, then the test mail can be generated and sent according to the target mailbox address and the triggering condition, and the mail trigger is generated according to the target mailbox address and the triggering condition under the condition that the test mail is monitored, so that after the mail trigger configuration is determined to be completed, the test mail is generated according to the target mailbox address and the triggering condition, the mail trigger is automatically tested, and the mail trigger is regenerated after the test is passed, and therefore the reliability and the accuracy of the generated mail trigger are guaranteed.
The functions of each module in each apparatus in the embodiments of the present disclosure may refer to the corresponding description in the above method, and are not described herein again.
Fig. 13 shows a block diagram of a computer device according to an embodiment of the present disclosure. As shown in fig. 13, the computer apparatus includes: a memory 1310 and a processor 1320, memory 1310 having stored therein computer programs that may run on processor 1320. The processor 1320, when executing the computer program, implements the control method of the RPA and AI based mail trigger in the above-described embodiment. The number of the memory 1310 and the processor 1320 may be one or more.
The computer device further includes:
the communication interface 1330 is used for communicating with an external device to perform data interactive transmission.
If the memory 1310, the processor 1320, and the communication interface 1330 are implemented independently, the memory 1310, the processor 1320, and the communication interface 1330 may be connected to each other by a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 13, but this is not intended to represent only one bus or type of bus.
Optionally, in an implementation, if the memory 1310, the processor 1320 and the communication interface 1330 are integrated on a chip, the memory 1310, the processor 1320 and the communication interface 1330 may communicate with each other through an internal interface.
Embodiments of the present disclosure provide a computer-readable storage medium storing a computer program, which when executed by a processor implements the method provided in embodiments of the present application.
The embodiment of the present application further provides a chip, where the chip includes a processor, and is configured to call and execute instructions stored in a memory from the memory, so that a communication device on which the chip is installed executes the method provided in the embodiment of the present application.
An embodiment of the present application further provides a chip, including: the system comprises an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected through an internal connection path, the processor is used for executing codes in the memory, and when the codes are executed, the processor is used for executing the method provided by the embodiment of the application.
It should be understood that the processor may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or any conventional processor or the like. It is noted that the processor may be a processor supporting advanced reduced instruction set machine (ARM) architecture.
Further, optionally, the memory may include a read-only memory and a random access memory, and may further include a nonvolatile random access memory. The memory may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may include a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of example, and 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 SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct memory bus RAM (DR RAM).
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the present application are generated in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process. And the scope of the preferred embodiments of the present application includes other implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. All or part of the steps of the method of the above embodiments may be implemented by hardware that is configured to be instructed to perform the relevant steps by a program, which may be stored in a computer-readable storage medium, and which, when executed, includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module may also be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present application, and these should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. A control method of mail trigger based on RPA and AI is characterized by comprising the following steps:
under the condition that a first control in a mail trigger configuration interface is monitored to be triggered, acquiring a target mailbox address and a triggering condition corresponding to a mail trigger from the mail trigger configuration interface;
generating and sending a test mail according to the target mailbox address and the trigger condition;
and under the condition of monitoring the test mail, generating a mail trigger according to the target mailbox address and the trigger condition.
2. The method of claim 1, wherein generating and sending a test mail according to the target mailbox address and a trigger condition comprises:
acquiring the incidence relation among the plurality of trigger conditions under the condition that the number of the trigger conditions is multiple;
and respectively generating and sending a plurality of test mails according to the plurality of trigger conditions, the incidence relation among the plurality of trigger conditions and the target mailbox address.
3. The method of claim 1, wherein prior to the monitoring that the first control in the mail trigger configuration interface is triggered, further comprising:
in response to the fact that the second control in the configuration interface is triggered, calling a Natural Language Processing (NLP) service to acquire a target business name corresponding to the mail trigger from the configuration interface;
matching the target service name with each candidate service name to determine the matching degree corresponding to each candidate service;
and determining the candidate service with the highest matching degree as the target service corresponding to the mail trigger.
4. The method of claim 1, wherein prior to the monitoring that the first control in the mail trigger configuration interface is triggered, further comprising:
determining a target mailbox address corresponding to the trigger;
acquiring attribute information of a target server associated with the target mailbox address from a preset association relation list of the mailbox address and server attribute information;
and inputting the attribute information of the target server into a corresponding input control in the configuration interface.
5. The method of claim 1, wherein after said generating and sending a test mail, further comprising:
and under the condition that the test mail is not monitored in a preset time period, displaying a test failure message on a popup window on the upper layer of the configuration interface.
6. The method of any of claims 1-5, further comprising, after the generating the mail trigger:
monitoring a target mailbox corresponding to the target mailbox address;
responding to the arrival of the detection period in the trigger condition, and acquiring each mail in the current detection period from the target mailbox;
according to the trigger condition, performing NLP processing on each mail to determine the number of first mails of which the fields contained in the mails meet the reference fields in the trigger condition in the current detection period;
and under the condition that the number of the first mails meets the reference number in the trigger condition, triggering and executing the target service corresponding to the mail trigger.
7. The method of claim 6, wherein after said retrieving from the target mailbox each mail received during a current detection period, further comprising:
determining the number of second mails of which the fields contained in the mails do not meet the reference field in the current detection period;
and determining whether to trigger execution of the target service corresponding to the mail trigger according to the quantity relation among the first mail, the second mail and the triggering condition.
8. The method of claim 6, wherein said retrieving individual mail pieces from said target mailbox during a current detection period comprises:
responding to the mail type included in the trigger condition as a received mail, and acquiring each mail received in the current detection period from the target mailbox;
and/or, in response to the mail type included in the trigger condition being a sent mail, obtaining each mail sent in the current detection period from the target mailbox.
9. A method according to any one of claims 1 to 5, characterized in that the method is applied to any one of the following:
a robot process automation RPA robot, an RPA system, and an RPA program editor.
10. A control apparatus for an RPA and AI based mail trigger, comprising:
the acquisition module is used for acquiring a target mailbox address and a trigger condition corresponding to the mail trigger from the mail trigger configuration interface under the condition that it is monitored that a first control in the mail trigger configuration interface is triggered;
the test module is used for generating and sending a test mail according to the target mailbox address and the trigger condition;
and the generating module is used for generating a mail trigger according to the target mailbox address and the trigger condition under the condition of monitoring the test mail.
11. The apparatus of claim 10, wherein the test module is specifically configured to:
acquiring the incidence relation among the plurality of trigger conditions under the condition that the number of the trigger conditions is multiple;
and respectively generating and sending a plurality of test mails according to the plurality of trigger conditions, the incidence relation among the plurality of trigger conditions and the target mailbox address.
12. The apparatus of claim 10, further comprising a configuration module to:
in response to the fact that the second control in the configuration interface is triggered, invoking a Natural Language Processing (NLP) service to obtain a target business name corresponding to the mail trigger from the configuration interface; matching the target service name with each candidate service name to determine the matching degree corresponding to each candidate service;
and determining the candidate service with the highest matching degree as the target service corresponding to the mail trigger.
13. The apparatus of claim 10, wherein the configuration module is further configured to:
determining a target mailbox address corresponding to the trigger;
acquiring attribute information of a target server associated with the target mailbox address from a preset association relation list of the mailbox address and server attribute information;
and inputting the attribute information of the target server into a corresponding input control in the configuration interface.
14. The apparatus of any of claims 10-13, further comprising:
the monitoring module is used for monitoring a target mailbox corresponding to the target mailbox address;
the acquisition module is further used for responding to the arrival of the detection period in the trigger condition and acquiring each mail in the current detection period from the target mailbox;
a processing module, configured to perform NLP processing on each email according to the trigger condition, so as to determine the number of first emails whose fields included in the email meet the reference field in the trigger condition in the current detection period;
and the triggering module is used for triggering and executing the target service corresponding to the mail trigger under the condition that the number of the first mails meets the reference number in the triggering condition.
15. A computer device, comprising: a processor and a memory, the memory storing instructions therein, the instructions being loaded and executed by the processor to implement the method of any of claims 1 to 9.
16. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-9.
CN202210266638.4A 2022-03-17 2022-03-17 Method and device for controlling mail trigger based on RPA and AI Pending CN115037714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210266638.4A CN115037714A (en) 2022-03-17 2022-03-17 Method and device for controlling mail trigger based on RPA and AI

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210266638.4A CN115037714A (en) 2022-03-17 2022-03-17 Method and device for controlling mail trigger based on RPA and AI

Publications (1)

Publication Number Publication Date
CN115037714A true CN115037714A (en) 2022-09-09

Family

ID=83119966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210266638.4A Pending CN115037714A (en) 2022-03-17 2022-03-17 Method and device for controlling mail trigger based on RPA and AI

Country Status (1)

Country Link
CN (1) CN115037714A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100100436A1 (en) * 2008-10-16 2010-04-22 Bowe Bell + Howell Company Method and system for triggering an automated mailer response action
CN105791083A (en) * 2016-01-07 2016-07-20 浪潮电子信息产业股份有限公司 Test method based on WINDOWS system SMTP
CN106126215A (en) * 2016-06-17 2016-11-16 深圳市麦斯杰网络有限公司 Business rule scenario generation method and device
US20180359266A1 (en) * 2017-06-12 2018-12-13 International Business Machines Corporation Enforcing access control in trigger-action programming using taint analysis
CN110048932A (en) * 2019-04-03 2019-07-23 北京奇安信科技有限公司 Validation checking method, apparatus, equipment and the storage medium of mail Monitoring function
CN110574006A (en) * 2017-11-09 2019-12-13 谷歌有限责任公司 System and method for automatically synchronizing responses and conditions on a device
CN110646838A (en) * 2019-09-17 2020-01-03 东北大学 Method for issuing earthquake alarm in grades based on mail-voice form
US20200227029A1 (en) * 2019-01-14 2020-07-16 Microsoft Technology Licensing, Llc Utilizing rule specificity in conversational ai
CN111813676A (en) * 2020-07-08 2020-10-23 炬星科技(深圳)有限公司 Robot software testing method, device and storage medium
WO2021082484A1 (en) * 2019-11-01 2021-05-06 平安科技(深圳)有限公司 Awr report automatic acquisition method and apparatus, electronic device, and storage medium
CN113315692A (en) * 2021-05-21 2021-08-27 北京来也网络科技有限公司 Mail processing method and device combining RPA and AI and electronic equipment
CN113329016A (en) * 2021-05-28 2021-08-31 北京天空卫士网络安全技术有限公司 Method and device for processing mail
CN113535539A (en) * 2020-04-22 2021-10-22 网易(杭州)网络有限公司 Debugging method, device, equipment and storage medium in game editing

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100100436A1 (en) * 2008-10-16 2010-04-22 Bowe Bell + Howell Company Method and system for triggering an automated mailer response action
CN105791083A (en) * 2016-01-07 2016-07-20 浪潮电子信息产业股份有限公司 Test method based on WINDOWS system SMTP
CN106126215A (en) * 2016-06-17 2016-11-16 深圳市麦斯杰网络有限公司 Business rule scenario generation method and device
US20180359266A1 (en) * 2017-06-12 2018-12-13 International Business Machines Corporation Enforcing access control in trigger-action programming using taint analysis
CN110574006A (en) * 2017-11-09 2019-12-13 谷歌有限责任公司 System and method for automatically synchronizing responses and conditions on a device
US20200227029A1 (en) * 2019-01-14 2020-07-16 Microsoft Technology Licensing, Llc Utilizing rule specificity in conversational ai
CN110048932A (en) * 2019-04-03 2019-07-23 北京奇安信科技有限公司 Validation checking method, apparatus, equipment and the storage medium of mail Monitoring function
CN110646838A (en) * 2019-09-17 2020-01-03 东北大学 Method for issuing earthquake alarm in grades based on mail-voice form
WO2021082484A1 (en) * 2019-11-01 2021-05-06 平安科技(深圳)有限公司 Awr report automatic acquisition method and apparatus, electronic device, and storage medium
CN113535539A (en) * 2020-04-22 2021-10-22 网易(杭州)网络有限公司 Debugging method, device, equipment and storage medium in game editing
CN111813676A (en) * 2020-07-08 2020-10-23 炬星科技(深圳)有限公司 Robot software testing method, device and storage medium
CN113315692A (en) * 2021-05-21 2021-08-27 北京来也网络科技有限公司 Mail processing method and device combining RPA and AI and electronic equipment
CN113329016A (en) * 2021-05-28 2021-08-31 北京天空卫士网络安全技术有限公司 Method and device for processing mail

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭露;范炜;: "日常生活场景中的个人智能连接服务研究", 知识管理论坛, no. 01 *

Similar Documents

Publication Publication Date Title
CN108073519B (en) Test case generation method and device
BR112015017411B1 (en) METHOD AND SYSTEM FOR GUIDING A DISPATCH WHEN COMMUNICATING WITH A PERSON NEEDING ASSISTANCE THROUGH A COMMUNICATION DEVICE REGARDING AN EMERGENCY OCCURRENCE, AND COMPUTER-READABLE NON-TRANSITORY STORAGE MEDIA
US7526722B2 (en) System and method for providing user help according to user category
US7533339B2 (en) System and method for providing user help
US9535821B1 (en) Displaying violated coding rules in source code
US20020111787A1 (en) Client-driven workload environment
CN107909330A (en) Work stream data processing method, device, storage medium and computer equipment
US10616149B2 (en) Optimizing evaluation of effectiveness for multiple versions of electronic messages
CN108319550A (en) A kind of test system and test method
CN114117311A (en) Data access risk detection method and device, computer equipment and storage medium
CN110365573A (en) A kind of recommended method of relational tags, adding method and device
CN107733710A (en) Construction method, device, computer equipment and the storage medium of link call relation
CN115495142A (en) Cloud resource arranging method and device, computer equipment and storage medium
JP6870312B2 (en) Measure introduction effect prediction device, measure introduction effect prediction program and measure introduction effect prediction method
CN111008122A (en) Test data generation method and device, computer equipment and storage medium
CN110232018A (en) Interface test method, device, computer equipment
CN115037714A (en) Method and device for controlling mail trigger based on RPA and AI
CN112911235A (en) Monitoring rule configuration method, device, server and storage medium
CN114077540A (en) Interface test system and interface test method
CN113704114A (en) Automatic testing method, device, equipment and medium for functional interface
US20220321508A1 (en) Method for electronic messaging using image based noisy content
CN114625448A (en) Flow generation method and device combining RPA and AI, electronic equipment and storage medium
CN114185798A (en) Interface test case detection method and device, computer equipment and storage medium
CN113886262A (en) Software automation test method and device, computer equipment and storage medium
CN111381836B (en) Application deployment environment switching method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination