[go: up one dir, main page]

CN116112457A - Method, device, computer equipment and storage medium for message notification - Google Patents

Method, device, computer equipment and storage medium for message notification Download PDF

Info

Publication number
CN116112457A
CN116112457A CN202310108758.6A CN202310108758A CN116112457A CN 116112457 A CN116112457 A CN 116112457A CN 202310108758 A CN202310108758 A CN 202310108758A CN 116112457 A CN116112457 A CN 116112457A
Authority
CN
China
Prior art keywords
message
component
template component
message notification
message template
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
CN202310108758.6A
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.)
Yuanguang Software Co Ltd
Original Assignee
Yuanguang Software 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 Yuanguang Software Co Ltd filed Critical Yuanguang Software Co Ltd
Priority to CN202310108758.6A priority Critical patent/CN116112457A/en
Publication of CN116112457A publication Critical patent/CN116112457A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application belongs to the technical field of computers, and relates to a method, a device, computer equipment and a storage medium for notifying messages, wherein the method comprises the following steps: selecting a corresponding message notification component and a message template component, and extracting a word segment to be filled of the message template component as a variable to be acquired, wherein the message notification component and the message template component are in one-to-many relation; acquiring a variable value corresponding to the variable to be acquired from a database, and filling the variable value into the message template component to acquire a message to be transmitted; and sending the message to be sent to a corresponding receiver according to the message notification component. The method and the device improve the notification efficiency of the computer sending message.

Description

消息通知的方法、装置、计算机设备及存储介质Method, device, computer equipment and storage medium for message notification

技术领域technical field

本申请涉及计算机技术领域,尤其涉及消息通知的方法、装置、计算机设备及存储介质。The present application relates to the field of computer technology, and in particular to a message notification method, device, computer equipment and storage medium.

背景技术Background technique

人工智能快速发展,PRA(机器人流程自动化,Robotic Process Automation)应运而生,RPA主要的功能就是将工作信息与业务交互通过机器人来按照自先设计的流程去执行。这样如果当工作信息与业务交互过多时,RPA就可以高效解决这些复杂的流程,节约人工成本。RPA主要通过各种封装好的控件,让用户能利用拖拉拽控件,简单的操作生成自动化流程,在电脑上实现浏览器应用程序自动鼠标点击、键盘输入、excel操作、数据处理、定时执行、自动生成界面交互。With the rapid development of artificial intelligence, PRA (Robotic Process Automation) came into being. The main function of RPA is to interact with work information and business through robots to execute according to the pre-designed process. In this way, if there are too many interactions between work information and business, RPA can efficiently solve these complex processes and save labor costs. RPA mainly uses various packaged controls to allow users to use drag-and-drop controls to generate automated processes with simple operations, and realize automatic mouse clicks, keyboard input, excel operations, data processing, timing execution, and automatic automation of browser applications on the computer. Generate interface interactions.

但是,目前的机器人流程自动化中没有配置实时高效的发送机器人执行结果的消息通知给接收人,亟需一种高效的消息通知的发送方式。However, the current robotic process automation is not configured to send real-time and efficient message notifications of robot execution results to recipients, and an efficient method of sending message notifications is urgently needed.

发明内容Contents of the invention

本申请实施例的目的在于提出一种消息通知的方法、装置、计算机设备及存储介质,提高计算机发送消息通知的效率。The purpose of the embodiments of the present application is to provide a message notification method, device, computer equipment, and storage medium, so as to improve the efficiency of sending a message notification by a computer.

为了解决上述技术问题,本申请实施例提供一种消息通知的方法,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiment of this application provides a message notification method, which adopts the following technical solution:

一种消息通知的方法,包括下述步骤:A method for message notification, comprising the steps of:

选择对应的消息通知组件和消息模板组件,提取所述消息模板组件的待填字段作为待获取变量,其中,所述消息通知组件和所述消息模板组件为一对多的关系;Selecting the corresponding message notification component and message template component, extracting the to-be-filled field of the message template component as a variable to be obtained, wherein the message notification component and the message template component are in a one-to-many relationship;

从数据库中获取所述待获取变量对应的变量值,将所述变量值填入所述消息模板组件中,获得待发送消息;Obtain the variable value corresponding to the variable to be obtained from the database, fill the variable value into the message template component, and obtain the message to be sent;

根据所述消息通知组件将所述待发送消息发送给对应的接收人。The to-be-sent message is sent to a corresponding recipient according to the message notification component.

进一步的,所述根据所述消息通知组件将所述待发送消息发送给对应的接收人的步骤包括:Further, the step of sending the message to be sent to the corresponding recipient according to the message notification component includes:

根据所述消息通知组件调用对应的消息发送接口;calling a corresponding message sending interface according to the message notification component;

通过所述消息发送接口将所述待发送消息发送给对应的接收人。Send the message to be sent to a corresponding recipient through the message sending interface.

进一步的,所述根据所述消息通知组件将所述待发送消息发送给对应的接收人的步骤包括:Further, the step of sending the message to be sent to the corresponding recipient according to the message notification component includes:

根据接收人ID和所述消息通知组件,确定对应的接收人的账号信息;Determine the account information of the corresponding recipient according to the recipient ID and the message notification component;

基于所述账号信息将所述待发送消息发送给对应的接收人。The to-be-sent message is sent to a corresponding recipient based on the account information.

进一步的,所述根据接收人ID和所述消息通知组件,确定对应的接收人的账号信息的步骤包括:Further, the step of determining the account information of the corresponding recipient according to the recipient ID and the message notification component includes:

基于接收人ID,从数据库中确定与所述接收人ID对应的各备选账号信息;Based on the recipient ID, determine each candidate account information corresponding to the recipient ID from the database;

识别所述消息通知组件的类型,作为目标类型;identifying the type of the message notification component as the target type;

将类型为所述目标类型的备选账号信息作为所述接收人的账号信息。The candidate account information whose type is the target type is used as the recipient's account information.

进一步的,所述选择对应的消息通知组件和消息模板组件的步骤包括:Further, the step of selecting the corresponding message notification component and message template component includes:

根据预先配置的指定消息通知组件和指定消息模板组件选择对应的消息通知组件和消息模板组件;或者,Select the corresponding message notification component and message template component according to the pre-configured specified message notification component and specified message template component; or,

接收选择指令,根据所述选择指令确定对应的消息通知组件和消息模板组件。A selection instruction is received, and a corresponding message notification component and message template component are determined according to the selection instruction.

进一步的,在所述选择对应的消息通知组件和消息模板组件的步骤之前,还包括:Further, before the step of selecting the corresponding message notification component and message template component, it also includes:

循环监测待办列表数据,判断所述待办列表数据是否改变,若所述待办列表数据改变,则选择对应的消息通知组件和消息模板组件;或者Cyclic monitoring of the to-do list data, judging whether the to-do list data changes, if the to-do list data changes, then select the corresponding message notification component and message template component; or

循环读取待办列表数据,对所述待办列表数据中的数据进行处理操作,处理操作完成后,选择对应的消息通知组件和消息模板组件。The to-do list data is cyclically read, and the data in the to-do list data is processed. After the processing operation is completed, the corresponding message notification component and message template component are selected.

进一步的,在选择对应的消息通知组件和消息模板组件的步骤之后,还包括:Further, after the step of selecting the corresponding message notification component and message template component, it also includes:

从所述消息模板组件中选择默认的消息模板组件名称或自定义的消息模板组件名称;Select a default message template component name or a custom message template component name from the message template components;

在选择所述默认的消息模板组件名称时,根据预设路径获取对应所述默认的消息模板组件名称的默认的消息模板组件,作为目标消息模板组件;When selecting the default message template component name, obtain a default message template component corresponding to the default message template component name according to a preset path as a target message template component;

在选择所述自定义的消息模板组件名称时,接收用户编写的HTML模板,作为目标消息模板组件;When selecting the custom message template component name, receive an HTML template written by the user as the target message template component;

所述将所述变量值填入所述消息模板组件中,获得待发送消息的步骤包括:The step of filling the variable value into the message template component and obtaining the message to be sent includes:

将所述变量值填入所述目标消息模板组件中,获得待发送消息。Fill the variable value into the target message template component to obtain the message to be sent.

为了解决上述技术问题,本申请实施例还提供一种消息通知的装置,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiment of the present application also provides a device for message notification, which adopts the following technical solution:

一种消息通知的装置,包括:A device for message notification, comprising:

选择模块,用于选择对应的消息通知组件和消息模板组件,提取所述消息模板组件的待填字段作为待获取变量,其中,所述消息通知组件和所述消息模板组件为一对多的关系;A selection module, configured to select a corresponding message notification component and a message template component, and extract the fields to be filled in the message template component as variables to be obtained, wherein the message notification component and the message template component are in a one-to-many relationship ;

获取模块,用于从数据库中获取所述待获取变量对应的变量值,将所述变量值填入所述消息模板组件中,获得待发送消息;An acquisition module, configured to acquire the variable value corresponding to the variable to be acquired from the database, fill the variable value into the message template component, and obtain the message to be sent;

发送模块,用于根据所述消息通知组件将所述待发送消息发送给对应的接收人。A sending module, configured to send the message to be sent to a corresponding recipient according to the message notification component.

为了解决上述技术问题,本申请实施例还提供一种计算机设备,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiment of the present application also provides a computer device, which adopts the following technical solutions:

一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述处理器执行所述计算机可读指令时实现上述的消息通知的方法的步骤。A computer device includes a memory and a processor, where computer-readable instructions are stored in the memory, and the processor implements the steps of the above message notification method when executing the computer-readable instructions.

为了解决上述技术问题,本申请实施例还提供一种计算机可读存储介质,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiment of the present application also provides a computer-readable storage medium, which adopts the following technical solution:

一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现上述的消息通知的方法的步骤。A computer-readable storage medium, where computer-readable instructions are stored on the computer-readable storage medium, and when the computer-readable instructions are executed by a processor, the steps of the above message notification method are realized.

与现有技术相比,本申请实施例主要有以下有益效果:Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects:

本申请通过使用消息通知组件和消息模板组件进行待发送消息的生成,通知消息通知组件将待发送消息通过多种消息通知的方式发送给接收人。在使用消息通知组的过程中可以生成待发送消息,并设置消息的接收人,在消息通知组运行过程中直接通调用消息发送接口将生成的待发送消息发送给接收人,有效提高消息通知的发送效率,实现高效、便捷的自动化消息通知的发送。In this application, the message to be sent is generated by using the message notification component and the message template component, and the notification message notification component sends the message to be sent to the receiver through various message notification methods. In the process of using the message notification group, a message to be sent can be generated and the recipient of the message can be set. During the operation of the message notification group, the generated message to be sent can be directly sent to the recipient by calling the message sending interface, which effectively improves the efficiency of message notification. Sending efficiency, realizing efficient and convenient automatic message notification sending.

附图说明Description of drawings

为了更清楚地说明本申请中的方案,下面将对本申请实施例描述中所需要使用的附图作一个简单介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the solution in this application more clearly, a brief introduction will be given below to the accompanying drawings that need to be used in the description of the embodiments of the application. Obviously, the accompanying drawings in the following description are some embodiments of the application. Ordinary technicians can also obtain other drawings based on these drawings on the premise of not paying creative work.

图1是本申请可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which the present application can be applied;

图2是根据本申请的消息通知的方法的一个实施例的流程图;Fig. 2 is a flowchart of an embodiment of the method for message notification according to the present application;

图3是根据本申请的消息通知的装置的一个实施例的结构示意图;FIG. 3 is a schematic structural diagram of an embodiment of a device for message notification according to the present application;

图4是根据本申请的计算机设备的一个实施例的结构示意图。Fig. 4 is a schematic structural diagram of an embodiment of a computer device according to the present application.

附图标记:200、计算机设备;201、存储器;202、处理器;203、网络接口;300、消息通知的装置;301、选择模块;302、获取模块;303、发送模块。Reference numerals: 200, computer equipment; 201, memory; 202, processor; 203, network interface; 300, device for message notification; 301, selection module; 302, acquisition module; 303, sending module.

具体实施方式Detailed ways

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同;本文中在申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请;本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the application; the terms used herein in the description of the application are only to describe specific embodiments The purpose is not to limit the present application; the terms "comprising" and "having" and any variations thereof in the specification and claims of the present application and the description of the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second" and the like in the description and claims of the present application or the above drawings are used to distinguish different objects, rather than to describe a specific order.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

为了使本技术领域的人员更好地理解本申请方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , a system architecture 100 may include terminal devices 101 , 102 , 103 , a network 104 and a server 105 . The network 104 is used as a medium for providing communication links between the terminal devices 101 , 102 , 103 and the server 105 . Network 104 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.

用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。Users can use terminal devices 101 , 102 , 103 to interact with server 105 via network 104 to receive or send messages and the like. Various communication client applications can be installed on the terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, and the like.

终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture ExpertsGroup Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving PictureExperts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。The terminal devices 101, 102, 103 can be various electronic devices that have display screens and support web browsing, including but not limited to smartphones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic image Expert Compression Standard Audio Layer 3), MP4 (Moving PictureExperts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) players, laptops and desktop computers, etc.

服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103上显示的页面提供支持的后台服务器。The server 105 may be a server that provides various services, such as a background server that provides support for pages displayed on the terminal devices 101 , 102 , 103 .

需要说明的是,本申请实施例所提供的消息通知的方法一般由服务器/终端设备执行,相应地,消息通知的装置一般设置于服务器/终端设备中。It should be noted that the message notification method provided in the embodiment of the present application is generally executed by the server/terminal device, and correspondingly, the message notification device is generally set in the server/terminal device.

应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.

继续参考图2,示出了根据本申请的消息通知的方法的一个实施例的流程图。所述的消息通知的方法,包括以下步骤:Continue referring to FIG. 2 , which shows a flow chart of an embodiment of a message notification method according to the present application. The method for message notification includes the following steps:

S1:选择对应的消息通知组件和消息模板组件,提取所述消息模板组件的待填字段作为待获取变量,其中,所述消息通知组件和所述消息模板组件为一对多的关系;S1: Select the corresponding message notification component and message template component, and extract the to-be-filled fields of the message template component as variables to be acquired, wherein the message notification component and the message template component have a one-to-many relationship;

S2:从数据库中获取所述待获取变量对应的变量值,将所述变量值填入所述消息模板组件中,获得待发送消息;S2: Obtain the variable value corresponding to the variable to be obtained from the database, fill the variable value into the message template component, and obtain the message to be sent;

S3:根据所述消息通知组件将所述待发送消息发送给对应的接收人。S3: Send the message to be sent to a corresponding recipient according to the message notification component.

在本实施例中,RPA(机器人流程自动化,Robotic Process Automation)主要的功能就是将工作信息与业务交互通过机器人来按照自先设计的流程去执行。这样如果当工作信息与业务交互过多时,RPA就可以高效解决这些复杂的流程,节约人工成本。RPA主要通过各种封装好的控件,让用户能利用拖拉拽控件,简单的操作生成自动化流程,在电脑上实现浏览器应用程序自动鼠标点击、键盘输入、excel操作、数据处理、定时执行、自动生成界面交互。本申请涉及RPA中消息通知的方式。In this embodiment, the main function of RPA (Robotic Process Automation) is to execute the interaction between work information and business through robots according to the pre-designed process. In this way, if there are too many interactions between work information and business, RPA can efficiently solve these complex processes and save labor costs. RPA mainly uses various packaged controls to allow users to use drag-and-drop controls to generate automated processes with simple operations, and realize automatic mouse clicks, keyboard input, excel operations, data processing, timing execution, and automatic automation of browser applications on the computer. Generate interface interactions. This application relates to the way of message notification in RPA.

本申请基于预先搭建的RPA云平台,在RPA云平台的流程自动化应用程序中,在RPA云平台的设计中心调用消息通知组件,通过消息通知组件设置消息通知内容和接收人,根据不同业务场景进行灵活配置。具体的:This application is based on the pre-built RPA cloud platform. In the process automation application program of the RPA cloud platform, call the message notification component in the design center of the RPA cloud platform, set the message notification content and recipients through the message notification component, and implement according to different business scenarios. Flexible configuration. specific:

在流程自动化设计过程中使用消息通知组件,例如:将消息通知组件的属性值设置为可修改的参数,参数可以配置参数默认值,属性值包括消息的接收人、抄送人、背景图、发件人显示名称等,可以根据用户的不同设置对应的消息的接收人。消息通知组件的执行的过程中通过先读取消息通知组件的属性对应的参数,再读取参数的默认值。流程自动化应用程序在运行的时候根据设置的消息通知组件、属性、参数、参数值与页面功能进行交互进行自动化流程的运行。Use the message notification component in the process automation design process, for example: set the attribute value of the message notification component as a modifiable parameter, the parameter can configure the default value of the parameter, and the attribute value includes the recipient, copy, background image, sender The display name of the sender, etc., can be set according to the different recipients of the corresponding message. During the execution of the message notification component, the parameter corresponding to the property of the message notification component is read first, and then the default value of the parameter is read. When the process automation application is running, it interacts with the page function according to the set message notification components, attributes, parameters, and parameter values to run the automation process.

本申请通过使用多种消息通知组件的配置方法,在RPA云平台设计中心流程自动化机器人设计过程中,将机器人执行反馈的结果报告,通过消息通知发送给用户。组件执行的过程中读取消息通知类组件的配置信息,通过对应的消息通知应用发送机器人执行结果报告。从而实现根据用户的实际业务环境、业务场景进行灵活使用消息通知反馈机器人执行结果报告的功能装置。This application uses a variety of message notification component configuration methods to send the result report of robot execution feedback to the user through message notification during the process automation robot design process of the RPA cloud platform design center. Read the configuration information of the message notification component during component execution, and send the robot execution result report through the corresponding message notification application. In this way, a functional device for flexibly using the message notification feedback robot execution result report according to the user's actual business environment and business scenarios is realized.

本申请提供多种消息通知组件,用于在RPA进程中进行消息通知的配置。消息通知组件包括家园APP消息组件、邮箱消息组件、微信公众号消息组件、短信消息组件以及QQ消息组件。每种消息通知组件对应一种消息通知的方式,消息通知的方式包括家园app消息通知、邮箱消息通知、微信公众号消息通知、短信消息通知以及QQ消息通知,共五个消息通知分类。This application provides various message notification components for configuring message notification in the RPA process. The message notification component includes home APP message component, mailbox message component, WeChat official account message component, SMS message component and QQ message component. Each message notification component corresponds to a message notification method. The message notification methods include Homeland app message notification, email message notification, WeChat official account message notification, SMS message notification, and QQ message notification. There are five message notification categories in total.

对于短信消息通知的自动发送,本申请通过在RPA过程中使用短信消息组件,短信消息组件对应有短信的文本消息组件和短信的卡片消息组件;通过短信的文本消息组件或者短信的卡片消息组件生成待发送消息。For the automatic sending of SMS message notification, this application uses the SMS message component in the RPA process, and the SMS message component corresponds to the text message component of the SMS and the card message component of the SMS; it is generated by the text message component of the SMS or the card message component of the SMS Pending message.

需要说明的是,在实际应用中,消息通知的方式可以根据用户的需求进行扩展。It should be noted that, in practical applications, the manner of message notification can be expanded according to user requirements.

以审批流程为例,所述消息模板组件的待填字段包括审批总数、审批成功数、审批失败数、传递总数、传递成功数、传递失败数等;本申请通过根据所述消息通知组件将所述待发送消息发送给对应的接收人,便于在自动化执行过程中实时将RPA的执行情况和执行结果反馈给用户。支持相同RPA的执行结果同时反馈给多个用户或者不同用户。Taking the approval process as an example, the fields to be filled in the message template component include the total number of approvals, the number of successful approvals, the number of failed approvals, the total number of transfers, the number of successful transfers, the number of failed transfers, etc.; The message to be sent is sent to the corresponding recipient, so that the execution status and execution result of RPA can be fed back to the user in real time during the automated execution process. Support the execution results of the same RPA to be fed back to multiple users or different users at the same time.

所述消息通知组件和所述消息模板组件为一对多的关系;即一个消息通知组件对应多个消息模板组件,具体的:所述消息模板组件包括文本消息模板组件和卡片消息模板组件,即每种消息通知组件均分别对应有文本消息组件和卡片消息组件,例如,家园APP消息组件对应有家园的文本消息组件和家园的卡片消息组件;邮箱消息组件对应有邮箱的文本消息组件和邮箱的卡片消息组件;微信公众号消息组件对应有微信公众号的文本消息组件和微信公众号的卡片消息组件;短信消息组件对应有短信的文本消息组件和短信的卡片消息组件;QQ消息组件对应有QQ的文本消息组件和QQ的卡片消息组件。本申请的消息模板组件为预先定义的消息通知的模板,用于待发送消息的快速生成。The message notification component and the message template component are in a one-to-many relationship; that is, one message notification component corresponds to multiple message template components, specifically: the message template component includes a text message template component and a card message template component, namely Each message notification component corresponds to a text message component and a card message component. For example, the message component of Homeland APP corresponds to the text message component of Homeland and the card message component of Homeland; the mailbox message component corresponds to the text message component of mailbox and the message component of mailbox. Card message component; WeChat official account message component corresponds to WeChat official account text message component and WeChat official account card message component; SMS message component corresponds to SMS text message component and SMS card message component; QQ message component corresponds to QQ The text message component of QQ and the card message component of QQ. The message template component of the present application is a pre-defined message notification template, which is used for quick generation of messages to be sent.

作为本申请可选的,所述选择对应的消息通知组件和消息模板组件的步骤包括:As an option in this application, the step of selecting the corresponding message notification component and message template component includes:

接收选择指令,根据所述选择指令确定对应的消息通知组件和消息模板组件,其中,所述选择指令包括用户选择的消息通知组件和用户选择的消息模板组件。A selection instruction is received, and a corresponding message notification component and a message template component are determined according to the selection instruction, wherein the selection instruction includes a message notification component and a message template component selected by the user.

在本实施例中,用户选择不同的消息通知组件和消息模板组件,用户可以通过在设计中心拖动不同的消息通知组件进行实现。例如,用户拖动家园APP消息组件,在家园APP消息组件中设置APP的ID、PC端网址、接口密钥、访问地址、机器人标识、卡片标题、卡片内容、移动端网址、发送人邮箱地址等信息。In this embodiment, the user selects different message notification components and message template components, and the user can drag different message notification components in the design center to implement. For example, the user drags the message component of Homeland APP, and sets APP ID, PC-side URL, interface key, access address, robot ID, card title, card content, mobile terminal URL, sender’s email address, etc. in the Homeland APP message component. information.

在本实施例中,消息通知的方法运行于其上的电子设备(例如图1所示的服务器/终端设备)可以通过有线连接方式或者无线连接方式接收选择指令。需要指出的是,上述无线连接方式可以包括但不限于3G/4G连接、WiFi连接、蓝牙连接、WiMAX连接、Zigbee连接、UWB(ultra wideband)连接、以及其他现在已知或将来开发的无线连接方式。In this embodiment, the electronic device (such as the server/terminal device shown in FIG. 1 ) on which the message notification method runs may receive the selection instruction through a wired connection or a wireless connection. It should be pointed out that the above wireless connection methods may include but not limited to 3G/4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods known or developed in the future .

作为本申请可选的,所述选择对应的消息通知组件和消息模板组件的步骤包括:As an option in this application, the step of selecting the corresponding message notification component and message template component includes:

根据预先配置的指定消息通知组件和指定消息模板组件选择对应的消息通知组件和消息模板组件。The corresponding message notification component and message template component are selected according to the preconfigured specified message notification component and specified message template component.

在本实施例中,本申请可以预先配置指定消息通知组件和指定消息模板组件,在需要发送通知消息时,直接根据预先的配置,选择对应的消息通知组件和消息模板组件。便于计算机的快速选择,节约流程时间,提高效率。In this embodiment, the application can pre-configure the specified message notification component and the specified message template component, and select the corresponding message notification component and message template component directly according to the pre-configuration when a notification message needs to be sent. It is convenient for quick selection of computers, saving process time and improving efficiency.

作为本申请可选的,所述根据所述消息通知组件将所述待发送消息发送给对应的接收人的步骤包括:Optionally in this application, the step of sending the message to be sent to a corresponding recipient according to the message notification component includes:

根据所述消息通知组件调用对应的消息发送接口;calling a corresponding message sending interface according to the message notification component;

通过所述消息发送接口将所述待发送消息发送给对应的接收人。Send the message to be sent to a corresponding recipient through the message sending interface.

在本实施例中,不同的消息通知组件调用对应的消息发送接口;消息发送接口包括家园app接口、邮箱接口、微信公众号接口、短信接口以及QQ接口;例如,短信消息组件在通过调用短信接口将待发送消息发送给对应的接收人,以实现消息的发送功能。In this embodiment, different message notification components call the corresponding message sending interface; the message sending interface includes home app interface, mailbox interface, WeChat official account interface, SMS interface and QQ interface; for example, the SMS message component calls the SMS interface Send the message to be sent to the corresponding recipient to realize the message sending function.

作为本申请可选的,所述根据所述消息通知组件将所述待发送消息发送给对应的接收人的步骤包括:Optionally in this application, the step of sending the message to be sent to a corresponding recipient according to the message notification component includes:

根据接收人ID和所述消息通知组件,确定对应的接收人的账号信息;Determine the account information of the corresponding recipient according to the recipient ID and the message notification component;

根据所述账号信息将所述待发送消息发送给对应的接收人。Sending the message to be sent to a corresponding recipient according to the account information.

在本实施例中,根据接收人ID和消息通知组件,确定接收人的账号信息,例如,接收人ID为张工,消息通知组件为QQ消息组件,则确定的对应的接收人的账号信息属于QQ类,为张工的QQ账号。根据张工的QQ账号将待发送消息发送给对应的接收人(即张工)。若消息通知组件为家园APP消息组件,则确定张工的家园账号,使用家园APP的消息助手将待发送消息发送至张工的家园账号,以实现发送给对应的接收人。若消息通知组件为微信公众号消息组件,则通过微信公众号将待发送消息发送至张工。In this embodiment, the account information of the recipient is determined according to the recipient ID and the message notification component. For example, if the recipient ID is Zhang Gong and the message notification component is a QQ message component, then the determined account information of the corresponding recipient belongs to The QQ category is Mr. Zhang’s QQ account. According to Mr. Zhang's QQ account, the message to be sent is sent to the corresponding recipient (ie Mr. Zhang). If the message notification component is the message component of Homeland APP, determine Zhanggong’s Homeland account, and use the message assistant of Homeland APP to send the message to be sent to Zhanggong’s Homeland account, so as to send it to the corresponding recipient. If the message notification component is a WeChat official account message component, the message to be sent is sent to Zhang Gong through the WeChat official account.

此外,若使用邮箱消息组件,则可以在邮箱消息组件中预先设置邮箱服务器:smtp.ygsoft.com、邮件账号:pengbang@ygsoft.com、邮箱密码:******、是否启用SSL:是、端口:465、邮件主题、邮件附件、邮件内容、收件人、抄送人、密送人等,此处多个收件人、抄送人、密送人可以通过;分隔。本申请支持多种邮箱服务器,包括远光邮箱、163邮箱、126邮箱、139邮箱、QQ邮箱等。In addition, if you use the mailbox message component, you can pre-set the mailbox server in the mailbox message component: smtp.ygsoft.com, email account: pengbang@ygsoft.com, email password: ****, whether to enable SSL: yes , Port: 465, email subject, email attachment, email content, recipient, cc, bcc, etc., where multiple recipients, cc, and bcc can pass; separated. This application supports a variety of mailbox servers, including Yuanguang mailbox, 163 mailbox, 126 mailbox, 139 mailbox, QQ mailbox, etc.

其中,所述根据接收人ID和所述消息通知组件,确定对应的接收人的账号信息的步骤包括:Wherein, the step of determining the account information of the corresponding recipient according to the recipient ID and the message notification component includes:

基于接收人ID,从数据库中确定与所述接收人ID对应的各备选账号信息;Based on the recipient ID, determine each candidate account information corresponding to the recipient ID from the database;

识别所述消息通知组件的类型,作为目标类型;identifying the type of the message notification component as the target type;

将类型为所述目标类型的备选账号信息作为所述接收人的账号信息。The candidate account information whose type is the target type is used as the recipient's account information.

在本实施例中,根据接收人ID,确定对应的备选账号信息,例如:张工的QQ账号、张工的邮箱地址、张工的微信账号等。确定消息通知组件的类型,例如,目标类型为邮箱。进而将类型为邮箱的张工的邮箱地址作为接收人的账号信息。通过接收人ID实现快速确定出对应的各备选账号信息,进而根据目标类型能够准确的确定出对应类型的接收人的账号信息,保证消息通知组件的类型与接收人的账号信息的类型完全一致;防止由于类型不一致,待发送消息在接收人的前端页面中显示错乱的情况。In this embodiment, according to the recipient ID, the corresponding candidate account information is determined, for example: Mr. Zhang's QQ account, Mr. Zhang's email address, Mr. Zhang's WeChat account, etc. Determine the type of message notification component, for example, the destination type is Mailbox. Furthermore, Zhang Gong's email address whose type is email is used as the account information of the recipient. Quickly determine the corresponding alternative account information through the recipient ID, and then accurately determine the corresponding type of recipient account information according to the target type, ensuring that the type of the message notification component is completely consistent with the type of the recipient's account information ; Prevent messages to be sent from being displayed in confusion on the front-end page of the recipient due to inconsistent types.

作为本申请可选的,在所述选择对应的消息通知组件和消息模板组件的步骤之前,还包括:As an option in this application, before the step of selecting the corresponding message notification component and message template component, it also includes:

循环读取待办列表数据,对所述待办列表数据中的数据进行处理操作;cyclically read the to-do list data, and process the data in the to-do list data;

处理操作完成后,则选择对应的消息通知组件和消息模板组件。After the processing operation is completed, select the corresponding message notification component and message template component.

在本实施例中,本申请循环读取待办列表数据,对所述待办列表数据中的数据进行处理(例如,审批处理),处理完成后,则选择对应的消息通知组件和消息模板组件;具体的,以智能审批机器人的自动化流程为例:智能审批机器人的业务场景用户需要先打开浏览器、在浏览器中输入财务系统的访问地址、在登录页面输入用户名、密码、单位名称、点击登录、进入财务系统中;智能审批机器人通过待办接口获取当前登录用户的待办列表数据,并循环读取待办列表数据,调用知识图谱的稽核规则,对待办列表数据中的每条待审批数据进行自动审批,将待办列表数据中的每条待审批数据进行传递或回退,通过变量的方式记录待办列表数据的单据总数(已审批单据)、传递成功数(审批通过)、已回退(审批不通过)、未处理(审批失败)数据。审批完成以后,需要将审批单据总数,审批成功数,审批失败数,以及审批失败的原因通过本申请的消息通知组件和消息模板组件反馈给用户,通知用户单据的审批总数、审批成功数、审批失败数等。In this embodiment, the application cyclically reads the to-do list data, processes the data in the to-do list data (for example, approval processing), and selects the corresponding message notification component and message template component after the processing is completed ; Specifically, take the automation process of the intelligent approval robot as an example: in the business scenario of the intelligent approval robot, the user needs to open the browser first, enter the access address of the financial system in the browser, and enter the user name, password, unit name, Click Login to enter the financial system; the intelligent approval robot obtains the to-do list data of the currently logged-in user through the to-do interface, reads the to-do list data cyclically, invokes the audit rules of the knowledge graph, and checks each to-do list data in the to-do list data. The approval data is automatically approved, and each piece of data to be approved in the to-do list data is transferred or rolled back, and the total number of documents in the to-do list data (approved documents), the number of successful transfers (approved), and Rolled back (approval failed), unprocessed (approval failed) data. After the approval is completed, the total number of approved documents, the number of approved documents, the number of failed approvals, and the reasons for the failed approvals need to be fed back to the user through the message notification component and message template component of this application, and the user will be notified of the total number of documents approved, the number of successful approvals, and the number of approved documents. Number of failures etc.

此外,本申请还可以,在所述选择对应的消息通知组件和消息模板组件的步骤之前,还包括:In addition, the present application may also, before the step of selecting the corresponding message notification component and message template component, further include:

循环监测待办列表数据,判断所述待办列表数据是否改变;Cyclic monitoring of the to-do list data to determine whether the to-do list data has changed;

若所述待办列表数据改变,则选择对应的消息通知组件和消息模板组件。If the to-do list data changes, then select the corresponding message notification component and message template component.

在本实施例中,本申请循环监测待办列表数据,若待办列表数据中的某些数据被用户主动删除或者修改,进而导致待办列表数据改变,则选择对应的消息通知组件和消息模板组件。具体的,监测的具体过程为:根据预设时间间隔循环获取待办列表数据,将当前获取的待办列表数据与上一次获取的待办列表数据进行对比,若数据完全相同,则确定所述待办列表数据未改变,继续进行监测,若数据存在不同,则确定所述待办列表数据改变。In this embodiment, the application cyclically monitors the to-do list data, and if some data in the to-do list data is actively deleted or modified by the user, thereby causing the to-do list data to change, then select the corresponding message notification component and message template components. Specifically, the specific monitoring process is as follows: cyclically obtain the to-do list data according to the preset time interval, compare the currently obtained to-do list data with the last obtained to-do list data, and if the data are completely the same, determine the The to-do list data has not changed, and the monitoring is continued, and if the data is different, it is determined that the to-do list data has changed.

作为本申请可选的,在选择对应的消息通知组件和消息模板组件的步骤之后,还包括:As an option for this application, after the step of selecting the corresponding message notification component and message template component, it also includes:

从所述消息模板组件中选择默认的消息模板组件名称或自定义的消息模板组件名称;Select a default message template component name or a custom message template component name from the message template components;

在选择所述默认的消息模板组件名称时,根据预设路径获取对应所述默认的消息模板组件名称的默认的消息模板组件,作为目标消息模板组件;When selecting the default message template component name, obtain a default message template component corresponding to the default message template component name according to a preset path as a target message template component;

在选择所述自定义的消息模板组件名称时,接收用户编写的HTML模板,作为目标消息模板组件;When selecting the custom message template component name, receive an HTML template written by the user as the target message template component;

所述将所述变量值填入所述消息模板组件中,获得待发送消息的步骤包括:The step of filling the variable value into the message template component and obtaining the message to be sent includes:

将所述变量值填入所述目标消息模板组件中,获得待发送消息。Fill the variable value into the target message template component to obtain the message to be sent.

在本实施例中,从所述消息模板组件中选择自定义的消息模板组件或默认的消息模板组件可以是根据预先接收到的指令进行选择,或者根据预先的配置进行选择。本申请的消息模板组件有HTML模板属性,属性中提供下拉选项可以选择自定义的消息模板组件和默认的消息模板组件,即消息模板组件包括自定义的消息模板组件和默认的消息模板组件。并且默认的消息模板组件可以根据用户需求进行扩展。默认的消息通知模板保存在\YG-RPA\Studio\MailTemplate路径。根据预设路径调取默认的消息模板组件。在选择默认的消息模板组件的情况下,自动读取\YG-RPA\Studio\MailTemplate路径的模板文件发送消息。在选择自定义的消息模板组件的情况下,支持使用调用代码的方式读取调用代码组件中的HTML模板发送消息通知。In this embodiment, selecting a custom message template component or a default message template component from the message template components may be selected according to a pre-received instruction or according to a pre-configured configuration. The message template component of this application has an HTML template attribute, and a drop-down option is provided in the attribute to select a custom message template component and a default message template component, that is, the message template component includes a custom message template component and a default message template component. And the default message template component can be extended according to user needs. The default message notification template is saved in the \YG-RPA\Studio\MailTemplate path. Call the default message template component according to the preset path. When the default message template component is selected, the template file in the path \YG-RPA\Studio\MailTemplate is automatically read to send the message. In the case of selecting a custom message template component, it is supported to use the calling code to read the HTML template in the calling code component and send the message notification.

其中,自定义的消息模板组件是通过设计中心调用代码组件,使用HTML语言定义所述自定义的消息通知模板,具体的:用户在调用的代码组件中编写HTML模板,在HTML模板中引用变量,发送消息通知过程中计算机即可自动读取变量中存储的值,动态发送消息。将编写完成的HTML模板存储至数据库中,作为消息模板组件。Among them, the custom message template component is to call the code component through the design center, and use the HTML language to define the custom message notification template. Specifically: the user writes the HTML template in the called code component, and refers to the variable in the HTML template. During the process of sending message notification, the computer can automatically read the value stored in the variable and send the message dynamically. Store the completed HTML template in the database as a message template component.

本申请的有益效果:本申请通过使用消息通知组件和消息模板组件进行待发送消息的生成,通知消息通知组件将待发送消息通过多种消息通知的方式发送给接收人。在使用消息通知组的过程中可以生成待发送消息,并设置消息的接收人,在消息通知组运行过程中直接通调用消息发送接口将生成的待发送消息发送给接收人,有效提高消息通知的发送效率,实现高效、便捷的自动化消息通知的发送。Beneficial effects of the application: the application uses the message notification component and the message template component to generate messages to be sent, and the notification message notification component sends the messages to be sent to recipients in a variety of message notification ways. In the process of using the message notification group, a message to be sent can be generated and the recipient of the message can be set. During the operation of the message notification group, the generated message to be sent can be directly sent to the recipient by calling the message sending interface, which effectively improves the efficiency of message notification. Sending efficiency, realizing efficient and convenient automatic message notification sending.

以消息通知的方式展现自动化流程的消息通知结果反馈,便于在自动化流程中实时将机器人执行结果反馈给用户。并且支持多种消息通知的方式,实现高效、便捷的自动化流程配置。The message notification result feedback of the automation process is displayed in the form of message notification, which facilitates the real-time feedback of the robot execution result to the user in the automation process. And it supports multiple message notification methods to realize efficient and convenient automatic process configuration.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,该计算机可读指令可存储于一计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. , when the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Wherein, the aforementioned storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM).

应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart of the accompanying drawings are displayed sequentially according to the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the flowcharts of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages may not necessarily be executed at the same time, but may be executed at different times, and the order of execution is also It is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

进一步参考图3,作为对上述图2所示方法的实现,本申请提供了一种消息通知的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 3 , as an implementation of the method shown in FIG. 2 above, the present application provides an embodiment of a device for message notification. The device embodiment corresponds to the method embodiment shown in FIG. 2 , and the device specifically It can be applied to various electronic devices.

如图3所示,本实施例所述的消息通知的装置300包括:选择模块301、获取模块302以及发送模块303。其中:选择模块301,用于选择对应的消息通知组件和消息模板组件,提取所述消息模板组件的待填字段作为待获取变量,其中,所述消息通知组件和所述消息模板组件为一对多的关系;获取模块302,用于从数据库中获取所述待获取变量对应的变量值,将所述变量值填入所述消息模板组件中,获得待发送消息;发送模块303,用于根据所述消息通知组件将所述待发送消息发送给对应的接收人。As shown in FIG. 3 , the message notification apparatus 300 in this embodiment includes: a selection module 301 , an acquisition module 302 and a sending module 303 . Wherein: the selection module 301 is used to select the corresponding message notification component and the message template component, and extract the to-be-filled fields of the message template component as variables to be acquired, wherein the message notification component and the message template component are a pair many relationships; the acquisition module 302 is used to acquire the variable value corresponding to the variable to be acquired from the database, and fills the variable value into the message template component to obtain the message to be sent; the sending module 303 is used to obtain the message according to The message notification component sends the to-be-sent message to a corresponding recipient.

在本实施例中,本申请通过使用消息通知组件和消息模板组件进行待发送消息的生成,通知消息通知组件将待发送消息通过多种消息通知的方式发送给接收人。在使用消息通知组的过程中可以生成待发送消息,并设置消息的接收人,在消息通知组运行过程中直接通调用消息发送接口将生成的待发送消息发送给接收人,有效提高消息通知的发送效率,实现高效、便捷的自动化消息通知的发送。In this embodiment, the application uses the message notification component and the message template component to generate the message to be sent, and the notification message notification component sends the message to be sent to the recipient through various message notification methods. In the process of using the message notification group, a message to be sent can be generated and the recipient of the message can be set. During the operation of the message notification group, the generated message to be sent can be directly sent to the recipient by calling the message sending interface, which effectively improves the efficiency of message notification. Sending efficiency, realizing efficient and convenient automatic message notification sending.

在本实施例的一些可选的实现方式中,所述选择模块301进一步用于:接收选择指令,根据所述选择指令确定对应的消息通知组件和消息模板组件,其中,所述选择指令包括用户选择的消息通知组件和用户选择的消息模板组件。In some optional implementations of this embodiment, the selection module 301 is further configured to: receive a selection instruction, and determine a corresponding message notification component and a message template component according to the selection instruction, wherein the selection instruction includes a user The selected message notification component and the user selected message template component.

在本实施例的一些可选的实现方式中,所述选择模块301还用于:根据预先配置的指定消息通知组件和指定消息模板组件选择对应的消息通知组件和消息模板组件。In some optional implementation manners of this embodiment, the selection module 301 is further configured to: select a corresponding message notification component and a message template component according to a preconfigured specified message notification component and a specified message template component.

所述发送模块303包括调用子模块和第一发送子模块,其中,所述调用子模块用于根据所述消息通知组件调用对应的消息发送接口;所述第一发送子模块用于通过所述消息发送接口将所述待发送消息发送给对应的接收人。The sending module 303 includes a calling submodule and a first sending submodule, wherein the calling submodule is used to call a corresponding message sending interface according to the message notification component; the first sending submodule is used to pass the The message sending interface sends the message to be sent to a corresponding recipient.

所述发送模块303还包括确定子模块和第二发送子模块,其中,所述确定子模块用于根据接收人ID和所述消息通知组件,确定对应的接收人的账号信息;所述第二发送子模块用于根据所述账号信息将所述待发送消息发送给对应的接收人。The sending module 303 also includes a determination submodule and a second sending submodule, wherein the determination submodule is used to determine the account information of the corresponding recipient according to the recipient ID and the message notification component; the second The sending submodule is used for sending the message to be sent to a corresponding recipient according to the account information.

所述确定子模块还包括第一确定单元、识别单元和第二确定单元,其中,所述第一确定单元用于基于接收人ID,从数据库中确定与所述接收人ID对应的各备选账号信息;识别单元用于识别所述消息通知组件的类型,作为目标类型;第二确定单元用于将类型为所述目标类型的备选账号信息作为所述接收人的账号信息。The determination sub-module also includes a first determination unit, an identification unit and a second determination unit, wherein the first determination unit is used to determine from the database each candidate corresponding to the recipient ID based on the recipient ID. Account information; the identification unit is used to identify the type of the message notification component as the target type; the second determination unit is used to use the candidate account information whose type is the target type as the account information of the recipient.

在本实施例的一些可选的实现方式中,上述装置300还包括:循环模块,用于循环读取待办列表数据,对所述待办列表数据中的数据进行处理操作,处理操作完成后,则选择对应的消息通知组件和消息模板组件。In some optional implementations of this embodiment, the above-mentioned device 300 further includes: a loop module, configured to read the to-do list data in a loop, and perform processing operations on the data in the to-do list data. After the processing operation is completed, , select the corresponding message notification component and message template component.

所述循环模块还用于循环监测待办列表数据,判断所述待办列表数据是否改变,若所述待办列表数据改变,则选择对应的消息通知组件和消息模板组件。The cyclic module is also used to cyclically monitor the to-do list data, determine whether the to-do list data has changed, and select the corresponding message notification component and message template component if the to-do list data changes.

在本实施例的一些可选的实现方式中,上述装置300还包括:名称选择模块、默认模块以及自定义模块,其中,名称选择模块用于从所述消息模板组件中选择默认的消息模板组件名称或自定义的消息模板组件名称;默认模块用于在选择所述默认的消息模板组件名称时,根据预设路径获取对应所述默认的消息模板组件名称的默认的消息模板组件,作为目标消息模板组件;自定义模块用于在选择所述自定义的消息模板组件名称时,接收用户编写的HTML模板,作为目标消息模板组件;所述获取模块302还用于将所述变量值填入所述目标消息模板组件中,获得待发送消息。In some optional implementations of this embodiment, the above device 300 further includes: a name selection module, a default module, and a custom module, wherein the name selection module is used to select a default message template component from the message template components name or a custom message template component name; the default module is used to obtain the default message template component corresponding to the default message template component name according to the preset path as the target message when the default message template component name is selected template component; the custom module is used to receive the HTML template written by the user as the target message template component when selecting the custom message template component name; the acquisition module 302 is also used to fill the variable value into the In the target message template component mentioned above, the message to be sent is obtained.

本申请通过使用消息通知组件和消息模板组件进行待发送消息的生成,通知消息通知组件将待发送消息通过多种消息通知的方式发送给接收人。在使用消息通知组的过程中可以生成待发送消息,并设置消息的接收人,在消息通知组运行过程中直接通调用消息发送接口将生成的待发送消息发送给接收人,有效提高消息通知的发送效率,实现高效、便捷的自动化消息通知的发送。In this application, the message to be sent is generated by using the message notification component and the message template component, and the notification message notification component sends the message to be sent to the receiver through various message notification methods. In the process of using the message notification group, a message to be sent can be generated and the recipient of the message can be set. During the operation of the message notification group, the generated message to be sent can be directly sent to the recipient by calling the message sending interface, which effectively improves the efficiency of message notification. Sending efficiency, realizing efficient and convenient automatic message notification sending.

为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图4,图4为本实施例计算机设备基本结构框图。In order to solve the above technical problems, the embodiment of the present application further provides computer equipment. Please refer to FIG. 4 for details. FIG. 4 is a block diagram of the basic structure of the computer device in this embodiment.

所述计算机设备200包括通过系统总线相互通信连接存储器201、处理器202、网络接口203。需要指出的是,图中仅示出了具有组件201-203的计算机设备200,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。其中,本技术领域技术人员可以理解,这里的计算机设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The computer device 200 includes a memory 201 , a processor 202 , and a network interface 203 connected to each other through a system bus for communication. It should be noted that only the computer device 200 having components 201-203 is shown in the figure, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculation and/or information processing according to preset or stored instructions, and its hardware includes but is not limited to microprocessors, dedicated Integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processor (Digital Signal Processor, DSP), embedded devices, etc.

所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。The computer equipment may be computing equipment such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The computer device can perform human-computer interaction with the user through keyboard, mouse, remote controller, touch panel or voice control device.

所述存储器201至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器201可以是所述计算机设备200的内部存储单元,例如该计算机设备200的硬盘或内存。在另一些实施例中,所述存储器201也可以是所述计算机设备200的外部存储设备,例如该计算机设备200上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器201还可以既包括所述计算机设备200的内部存储单元也包括其外部存储设备。本实施例中,所述存储器201通常用于存储安装于所述计算机设备200的操作系统和各类应用软件,例如消息通知的方法的计算机可读指令等。此外,所述存储器201还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 201 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Magnetic Disk, Optical Disk, etc. In some embodiments, the storage 201 may be an internal storage unit of the computer device 200 , such as a hard disk or memory of the computer device 200 . In some other embodiments, the memory 201 can also be an external storage device of the computer device 200, such as a plug-in hard disk equipped on the computer device 200, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Of course, the storage 201 may also include both the internal storage unit of the computer device 200 and its external storage device. In this embodiment, the memory 201 is generally used to store the operating system and various application software installed on the computer device 200 , such as computer-readable instructions for message notification methods and the like. In addition, the memory 201 can also be used to temporarily store various types of data that have been output or will be output.

所述处理器202在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器202通常用于控制所述计算机设备200的总体操作。本实施例中,所述处理器202用于运行所述存储器201中存储的计算机可读指令或者处理数据,例如运行所述消息通知的方法的计算机可读指令。The processor 202 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chips in some embodiments. The processor 202 is generally used to control the overall operation of the computer device 200 . In this embodiment, the processor 202 is configured to execute computer-readable instructions stored in the memory 201 or process data, for example, computer-readable instructions for executing the message notification method.

所述网络接口203可包括无线网络接口或有线网络接口,该网络接口203通常用于在所述计算机设备200与其他电子设备之间建立通信连接。The network interface 203 may include a wireless network interface or a wired network interface, and the network interface 203 is generally used to establish a communication connection between the computer device 200 and other electronic devices.

本申请还提供了另一种实施方式,即提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令可被至少一个处理器执行,以使所述至少一个处理器执行如上述的消息通知的方法的步骤。The present application also provides another implementation manner, which is to provide a computer-readable storage medium, the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to The at least one processor is caused to execute the steps of the method for message notification as described above.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

显然,以上所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例,附图中给出了本申请的较佳实施例,但并不限制本申请的专利范围。本申请可以以许多不同的形式来实现,相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。尽管参照前述实施例对本申请进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替换。凡是利用本申请说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本申请专利保护范围之内。Apparently, the embodiments described above are only some of the embodiments of the present application, but not all of them. The drawings show preferred embodiments of the present application, but do not limit the patent scope of the present application. The present application can be implemented in many different forms, on the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure content of the present application more thorough and comprehensive. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or perform equivalent replacements for some of the technical features . All equivalent structures made using the contents of the description and drawings of this application, directly or indirectly used in other related technical fields, are also within the scope of protection of this application.

Claims (10)

1. A method of message notification, comprising the steps of:
selecting a corresponding message notification component and a message template component, and extracting a word segment to be filled of the message template component as a variable to be acquired, wherein the message notification component and the message template component are in one-to-many relation;
acquiring a variable value corresponding to the variable to be acquired from a database, and filling the variable value into the message template component to acquire a message to be transmitted;
and sending the message to be sent to a corresponding receiver according to the message notification component.
2. The method of messaging according to claim 1, wherein the step of sending the message to be sent to the corresponding recipient according to the messaging component comprises:
calling a corresponding message sending interface according to the message notification component;
and sending the message to be sent to a corresponding receiver through the message sending interface.
3. The method of messaging according to claim 1, wherein the step of sending the message to be sent to the corresponding recipient according to the messaging component comprises:
determining account information of a corresponding receiver according to the receiver ID and the message notification component;
and sending the message to be sent to a corresponding receiver based on the account information.
4. A method of messaging according to claim 3 wherein the step of determining account information of the corresponding recipient based on the recipient ID and the messaging component comprises:
based on the receiver ID, determining each piece of alternative account information corresponding to the receiver ID from a database;
identifying the type of the message notification component as a target type;
and taking the alternative account information with the type being the target type as the account information of the receiver.
5. The method of messaging according to claim 1, wherein the step of selecting the corresponding messaging component and messaging template component comprises:
selecting a corresponding message notification component and a message template component according to a pre-configured designated message notification component and a designated message template component; or,
and receiving a selection instruction, and determining a corresponding message notification component and a message template component according to the selection instruction.
6. The method of messaging according to claim 1, further comprising, prior to the step of selecting the corresponding messaging component and message template component:
circularly monitoring to-be-handled list data, judging whether the to-be-handled list data is changed, and if the to-be-handled list data is changed, selecting a corresponding message notification component and a message template component; or alternatively
And circularly reading the to-be-handled list data, processing the data in the to-be-handled list data, and selecting a corresponding message notification component and a message template component after the processing operation is completed.
7. The method of messaging according to claim 1, further comprising, after the step of selecting the corresponding messaging component and message template component:
selecting a default message template component name or a custom message template component name from the message template components;
when the default message template component name is selected, acquiring a default message template component corresponding to the default message template component name according to a preset path, and taking the default message template component as a target message template component;
when the name of the customized message template component is selected, an HTML template written by a user is received and used as a target message template component;
the step of filling the variable value into the message template component to obtain the message to be sent comprises the following steps:
and filling the variable value into the target message template component to obtain a message to be sent.
8. An apparatus for message notification, comprising:
the selection module is used for selecting a corresponding message notification component and a message template component, extracting a word segment to be filled of the message template component as a variable to be acquired, wherein the message notification component and the message template component are in one-to-many relation;
the acquisition module is used for acquiring a variable value corresponding to the variable to be acquired from a database, filling the variable value into the message template component and acquiring a message to be transmitted;
and the sending module is used for sending the message to be sent to the corresponding receiver according to the message notification component.
9. A computer device comprising a memory having stored therein computer readable instructions which when executed implement the steps of the method of message notification of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor implement the steps of the method of message notification according to any of claims 1 to 7.
CN202310108758.6A 2023-02-10 2023-02-10 Method, device, computer equipment and storage medium for message notification Pending CN116112457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310108758.6A CN116112457A (en) 2023-02-10 2023-02-10 Method, device, computer equipment and storage medium for message notification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310108758.6A CN116112457A (en) 2023-02-10 2023-02-10 Method, device, computer equipment and storage medium for message notification

Publications (1)

Publication Number Publication Date
CN116112457A true CN116112457A (en) 2023-05-12

Family

ID=86261335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310108758.6A Pending CN116112457A (en) 2023-02-10 2023-02-10 Method, device, computer equipment and storage medium for message notification

Country Status (1)

Country Link
CN (1) CN116112457A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116545977A (en) * 2023-06-06 2023-08-04 北京联客触点智能科技有限公司 RPA operation interaction method based on enterprise micro customization

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070094227A1 (en) * 2005-10-12 2007-04-26 General Electric Company System and method for clinical decision support
CN111614718A (en) * 2020-04-10 2020-09-01 广州市玄武无线科技股份有限公司 Enterprise communication channel fusion method, device, equipment and readable storage medium
CN111651287A (en) * 2020-05-31 2020-09-11 成都新潮传媒集团有限公司 Message notification method, device and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070094227A1 (en) * 2005-10-12 2007-04-26 General Electric Company System and method for clinical decision support
CN111614718A (en) * 2020-04-10 2020-09-01 广州市玄武无线科技股份有限公司 Enterprise communication channel fusion method, device, equipment and readable storage medium
CN111651287A (en) * 2020-05-31 2020-09-11 成都新潮传媒集团有限公司 Message notification method, device and computer readable storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JOHN SHUM: "《网络安全核心技术内幕 Netscape认证管理系统管理员指南》", 31 August 2000, 北京希望电子出版社, pages: 208 *
原雪等: "《C++Builder 6入门提高》", 31 August 2002, 国防科技大学出版社, pages: 1 - 20 *
蒋星辰: "《DevOps落地与转型 提升研发效能的方法与实践》", 31 January 2023, 机械工业出版社, pages: 152 - 154 *
郑阿奇,梁敬东: "《C#程序设计教材 第4版》", 31 January 2022, 机械工业出版社, pages: 1 - 15 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116545977A (en) * 2023-06-06 2023-08-04 北京联客触点智能科技有限公司 RPA operation interaction method based on enterprise micro customization
CN116545977B (en) * 2023-06-06 2024-03-12 北京联客触点智能科技有限公司 RPA operation interaction method based on enterprise micro customization

Similar Documents

Publication Publication Date Title
US10025567B2 (en) Bot creation with workflow development system
CN111552633A (en) Interface abnormal call testing method and device, computer equipment and storage medium
WO2020211745A1 (en) Method and apparatus for notification of online document, terminal, server and storage medium
WO2022078397A1 (en) Communication method and apparatus, device, and storage medium
CN111782304B (en) Paging loading data logic control method, device, computer equipment and medium
CN112732386A (en) Message processing method, device, terminal and storage medium
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN112463799A (en) Data extraction method, device, equipment and storage medium
CN114564294A (en) Intelligent service orchestration method, device, computer equipment and storage medium
CN114528517A (en) View processing method and device, electronic equipment and computer readable medium
CN113343138A (en) Rollback interception method and device, intelligent terminal and storage medium
CN116112457A (en) Method, device, computer equipment and storage medium for message notification
CN113313623A (en) Watermark information display method, watermark information display device, electronic equipment and computer readable medium
EP3713183B1 (en) Network interaction method, electronic device, client, and server
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
CN115794439A (en) Message event delay processing method and device, computer equipment and storage medium
CN115328764A (en) Test code optimization method and related equipment based on automated test
CN115187364A (en) Method and device for monitoring margin risk in bank distributed scenario
CN108011964A (en) Picture upload method, device, electric terminal and readable storage medium storing program for executing
CN115062589A (en) Encyclopedic entry processing method, encyclopedic entry processing device, electronic equipment, medium and program product
CN110597505A (en) A data processing method, device, terminal and storage medium
CN113535421B (en) A business message processing method and device
CN116467145A (en) Page performance data collection method, device, computer equipment and storage medium
CN116303486A (en) Front-end operation interception processing method and device, computer equipment and storage medium
CN115834685A (en) Screen adaptation method and related equipment based on dynamic agent

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