[go: up one dir, main page]

CN115038054B - Automatic sending method and device for short messages and mails - Google Patents

Automatic sending method and device for short messages and mails Download PDF

Info

Publication number
CN115038054B
CN115038054B CN202210502996.0A CN202210502996A CN115038054B CN 115038054 B CN115038054 B CN 115038054B CN 202210502996 A CN202210502996 A CN 202210502996A CN 115038054 B CN115038054 B CN 115038054B
Authority
CN
China
Prior art keywords
sending
operator
container
api
automatic
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.)
Active
Application number
CN202210502996.0A
Other languages
Chinese (zh)
Other versions
CN115038054A (en
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.)
Yunshuzhi Hebei Technology Co ltd
Original Assignee
Tongfang Youyun Beijing Technology 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 Tongfang Youyun Beijing Technology Co ltd filed Critical Tongfang Youyun Beijing Technology Co ltd
Publication of CN115038054A publication Critical patent/CN115038054A/en
Application granted granted Critical
Publication of CN115038054B publication Critical patent/CN115038054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明涉及一种短信和邮件自动发送方法及装置,所述方法包括获取必要信息并进行处理,注册通知处理请求API和告警处理请求API的请求方法、请求的相对路径以及请求的API名称,形成发送服务的自动路由;将代码文件编译成可执行文件上传至部署环境并存储至容器中,对容器开放使用权限;通过面板获取预设发送方和接收方的电话号码和/或邮箱地址,根据预设发送逻辑通过自动路由和服务部署进行短信和邮件的自动发送。本申请通过各大运营商提供的发短信和邮件的API,根据用户的实际需要完成短信和邮件的配置,并且根据短信和邮件的有效配置,实现发送短信和邮件的功能,从而为用户提供高效、快捷、准确、个性化、定制化的短信及电子邮件服务。

Figure 202210502996

The present invention relates to a method and device for automatically sending short messages and emails. The method includes obtaining and processing necessary information, registering the request method of the notification processing request API and the alarm processing request API, the relative path of the request and the name of the requested API, forming Automatic routing of the sending service; compile the code file into an executable file, upload it to the deployment environment and store it in the container, and open the container for use; obtain the phone number and/or email address of the preset sender and receiver through the panel, according to The default sending logic automatically sends text messages and emails through automatic routing and service deployment. This application uses the SMS and email APIs provided by major operators to complete the configuration of SMS and email according to the actual needs of users, and realize the function of sending SMS and email according to the effective configuration of SMS and email, thereby providing users with efficient , fast, accurate, personalized and customized SMS and email services.

Figure 202210502996

Description

短信和邮件的自动发送方法及装置Method and device for automatically sending short messages and emails

技术领域technical field

本发明属于通信技术领域,具体涉及一种短信和邮件的自动发送方法及装置。The invention belongs to the technical field of communication, and in particular relates to a method and a device for automatically sending short messages and mails.

背景技术Background technique

相关技术中,在短信和邮件发送时在面对预设逻辑的情况下,不可以自动化处理相应的逻辑并做出相应的响应,也就是自动化的能力不是很好,比如,在预设逻辑为告警的时候,现有技术没办法自动整合需要告警的内容并送达到指定的终端,以实现自动化告警的功能;且现有技术一般大都支持主流的运营商,但是用户需要使用其他指定的运营商时候,现有技术则没有办法达到要求,这对用户来说,可选择的面就比较狭窄,总的来说就是个性化定制方面比较缺乏,以上说明短信和邮件发送技术存在在现实应用的时候达不到实际需求的问题。In related technologies, in the face of preset logic when sending text messages and emails, it is impossible to automatically process the corresponding logic and make a corresponding response, that is, the ability to automate is not very good. For example, when the preset logic is When an alarm is issued, the existing technology cannot automatically integrate the content that needs to be alarmed and send it to the designated terminal to realize the function of automatic alarm; and the existing technology generally supports mainstream operators, but users need to use other designated operators At that time, the existing technology has no way to meet the requirements. For users, the options are relatively narrow. The problem of not meeting the actual needs.

发明内容Contents of the invention

有鉴于此,本发明的目的在于克服现有技术的不足,提供一种短信和邮件的自动发送方法及装置,以解决现有技术中短信和邮件自动发送在现实应用中达不到实际需求的问题。In view of this, the purpose of the present invention is to overcome the deficiencies in the prior art, and provide a method and device for automatically sending short messages and mails, so as to solve the problem that the automatic sending of short messages and mails in the prior art cannot meet the actual needs in practical applications. question.

为实现以上目的,本发明采用如下技术方案:一种短信和邮件的自动发送方法,包括:In order to achieve the above object, the present invention adopts the following technical solutions: a method for automatically sending short messages and mails, comprising:

必要信息处理:获取必要信息并进行处理,得到通知处理请求API和告警处理请求API,注册所述通知处理请求API和告警处理请求API的请求方法、请求的相对路径以及请求的API名称,形成发送服务的自动路由;所述必要信息包括:发送方和接收方的对接内容、运营商的相关内容、模板内容以及发送标准;Necessary information processing: obtain and process the necessary information, obtain the notification processing request API and alarm processing request API, register the request method, relative path of the request and the API name of the request, and form a sending Automatic routing of services; the necessary information includes: the docking content of the sender and receiver, relevant content of the operator, template content, and sending standards;

服务部署:将代码文件编译成可执行文件,上传至预设的部署环境并存储至预设容器中,调用chmod对所述容器开放使用权限;其中,所述容器用于短信和邮件服务;Service deployment: compile the code file into an executable file, upload it to the preset deployment environment and store it in the preset container, call chmod to open the usage permission of the container; wherein, the container is used for SMS and mail services;

自动发送:通过面板获取预设发送方和接收方的电话号码和/或邮箱地址,根据预设发送逻辑通过自动路由和服务部署进行短信和邮件的自动发送。Automatic sending: Obtain the phone numbers and/or email addresses of the preset sender and receiver through the panel, and automatically send SMS and emails through automatic routing and service deployment according to the preset sending logic.

进一步的,所述获取必要信息并进行处理,包括:Further, the acquisition and processing of necessary information includes:

预设配置对象;所述配置对象包括:主题、名称、运营商、运营商配置、接收方和发送方的信息以及通知内容;其中,接收方和发送方的信息包括接收方和发送方的电话号码或邮箱地址;Preset configuration object; the configuration object includes: subject, name, operator, operator configuration, receiver and sender information, and notification content; wherein, receiver and sender information includes receiver and sender phone numbers number or email address;

对运营商进行配置,构成运营商配置的子自动路由;Configure the operator to form a sub-automatic routing configured by the operator;

采用处理文本字符串的方式处理待发送信息的模板形成标准模板;Process the template of the information to be sent by processing the text string to form a standard template;

配置信息对象;所述信息对象包括主题、接收方和发送方信息以及发送内容;Configure the information object; the information object includes the subject, receiver and sender information, and sending content;

将所述配置对象、子自动路由、标准模板以及信息对象进行组装,形成通知处理请求API和告警处理请求API。The configuration object, sub-automatic routing, standard template and information object are assembled to form a notification processing request API and an alarm processing request API.

进一步的,所述对运营商进行配置,包括:Further, the configuration of the operator includes:

设置5个API,包括:增加一个运营商、展示所有运营商、删除一个运营商、修改一个运营商以及显示指定运营商;Set 5 APIs, including: add an operator, display all operators, delete an operator, modify an operator and display the specified operator;

注册5个API的请求方法、请求的相对路径以及请求的API方法名称,通过gin包形成运营商配置的子自动路由。Register the request method, the relative path of the request, and the name of the requested API method for the 5 APIs, and form a sub-automatic route configured by the operator through the gin package.

进一步的,所述调用chmod对所述容器开放使用权限,包括:Further, the calling chmod opens the usage permission to the container, including:

调用chmod命令对使用者、组具有读写和可执行权限。Call the chmod command to have read, write and execute permissions for users and groups.

进一步的,调用chmod对所述容器开放使用权限,之后还包括:Further, call chmod to open the usage permission to the container, and then include:

重启容器,将所述容器的服务状态修改为开始。Restart the container, and modify the service state of the container to start.

进一步的,每个运营商具有单独的发送路径。Further, each operator has an independent transmission path.

进一步的,所述预设发送逻辑根据应用场景设置。Further, the preset sending logic is set according to the application scenario.

本申请实施例提供一种短信和邮件的自动发送装置,包括:An embodiment of the present application provides an automatic sending device for short messages and emails, including:

处理模块,用于必要信息处理:获取必要信息并进行处理,得到通知处理请求API和告警处理请求API,注册所述通知处理请求API和告警处理请求API的请求方法、请求的相对路径以及请求的API名称,形成发送服务的自动路由;所述必要信息包括:发送方和接收方的对接内容、运营商的相关内容、模板内容以及发送标准;The processing module is used for necessary information processing: obtain and process the necessary information, obtain the notification processing request API and the alarm processing request API, register the request method of the notification processing request API and the alarm processing request API, the relative path of the request, and the requested API name, which forms the automatic routing of the sending service; the necessary information includes: the content of the connection between the sender and the receiver, the relevant content of the operator, the content of the template, and the sending standard;

部署模块,用于服务部署:将代码文件编译成可执行文件,上传至预设的部署环境并存储至预设容器中,调用chmod对所述容器开放使用权限;其中,所述容器用于短信和邮件服务;The deployment module is used for service deployment: compile the code file into an executable file, upload it to the preset deployment environment and store it in the preset container, and call chmod to open the usage permission of the container; wherein, the container is used for SMS and mail services;

发送模块,用于自动发送:通过面板获取预设发送方和接收方的电话号码和/或邮箱地址,通过自动路由和服务部署进行短信和邮件的自动发送。The sending module is used for automatic sending: obtain the phone numbers and/or email addresses of preset senders and receivers through the panel, and automatically send SMS and emails through automatic routing and service deployment.

本申请实施例提供一种计算机设备,包括:存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行上述任一项短信和邮件的自动发送方法的步骤。An embodiment of the present application provides a computer device, including: a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes any one of the above text messages and emails. The steps of the automatic sending method.

本申请实施例还提供一种计算机存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行上述任一项短信和邮件的自动发送方法的步骤。The embodiment of the present application also provides a computer storage medium, which stores a computer program, and when the computer program is executed by a processor, the processor is made to execute the steps of any one of the above methods for automatically sending short messages and emails.

本发明采用以上技术方案,能够达到的有益效果包括:The present invention adopts the above technical scheme, and the beneficial effects that can be achieved include:

本发明提供一种短信和邮件的自动发送方法及装置,本申请通过各大运营商提供的发短信和邮件的API,可以根据用户的实际需要,完成短信和邮件的配置,并且根据短信和邮件的有效配置,实现自动发送短信和邮件的功能,从而为用户提供高效、快捷、准确、个性化、定制化的短信、电子邮件服务。The invention provides a method and device for automatically sending short messages and mails. This application can complete the configuration of short messages and mails according to the actual needs of users through the APIs for sending short messages and mails provided by major operators, and according to the text messages and mails The effective configuration realizes the function of sending SMS and email automatically, so as to provide users with efficient, fast, accurate, personalized and customized SMS and email services.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明短信和邮件的自动发送方法的步骤示意图;Fig. 1 is the step schematic diagram of the automatic sending method of note and mail of the present invention;

图2为本发明短信和邮件的自动发送装置的结构示意图;Fig. 2 is the structural representation of the automatic sending device of note and mail of the present invention;

图3为本发明短信和邮件的自动发送方法执行的硬件设备的结构示意图。FIG. 3 is a schematic structural diagram of hardware devices executed by the method for automatically sending short messages and emails according to the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将对本发明的技术方案进行详细的描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所得到的所有其它实施方式,都属于本发明所保护的范围。In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other implementations obtained by persons of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.

下面结合附图介绍本申请实施例中提供的一个具体的短信和邮件的自动发送方法及装置。A specific method and device for automatically sending short messages and emails provided in the embodiments of the present application will be described below with reference to the accompanying drawings.

如图1所示,本申请实施例中提供的短信和邮件的自动发送方法包括:As shown in Figure 1, the method for automatically sending short messages and mails provided in the embodiment of the present application includes:

S101,必要信息处理:获取必要信息并进行处理,得到通知处理请求API和告警处理请求API,注册所述通知处理请求API和告警处理请求API的请求方法、请求的相对路径以及请求的API名称,形成发送服务的自动路由;所述必要信息包括:发送方和接收方的对接内容、运营商的相关内容、模板内容以及发送标准;S101, necessary information processing: acquire and process necessary information, obtain a notification processing request API and an alarm processing request API, register the request method, relative path of the request and the requested API name of the notification processing request API and the alarm processing request API, Form an automatic route for sending services; the necessary information includes: the content of the connection between the sender and the receiver, the relevant content of the operator, the content of the template, and the sending standard;

S102,服务部署:将代码文件编译成可执行文件,上传至预设的部署环境并存储至预设容器中,调用chmod对所述容器开放使用权限;其中,所述容器用于短信和邮件服务;S102, service deployment: compile the code file into an executable file, upload it to a preset deployment environment and store it in a preset container, call chmod to open the usage permission of the container; wherein, the container is used for SMS and mail services ;

S103,自动发送:通过面板获取预设发送方和接收方的电话号码和/或邮箱地址,根据预设发送逻辑通过自动路由和服务部署进行短信和邮件的自动发送。S103, automatic sending: Obtain the phone numbers and/or email addresses of preset senders and receivers through the panel, and automatically send short messages and emails through automatic routing and service deployment according to preset sending logic.

短信和邮件的自动发送方法的工作原理为:可以理解的是,本申请提供的技术方案是配置必要信息和服务,具有自动发送的功能,也就是说本申请充当一个中间服务的角色:在对接运营商时,可以整合各种各样的运营商插件;在处理发送消息内容时,可以定制化消息发送的模板;在面对各种发送逻辑时,可以通过发送服务API的自动路由来实现对发送逻辑自动化的处理;在串联发送方和接收方时,可以自动整合两者的信息(电话号码或者邮箱地址)继而完成发送的操作。具体的,本申请中的发送服务API具体包括:处理请求API和告警处理请求API。The working principle of the automatic sending method of text messages and emails is: It can be understood that the technical solution provided by this application is to configure necessary information and services, and has the function of automatic sending, which means that this application acts as an intermediate service: in the docking For operators, various operator plug-ins can be integrated; when processing message content, templates for message sending can be customized; when faced with various sending logics, automatic routing of sending service APIs can be used to implement Automatic processing of sending logic; when the sender and receiver are connected in series, the information (phone number or email address) of the two can be automatically integrated to complete the sending operation. Specifically, the sending service API in this application specifically includes: a processing request API and an alarm processing request API.

本发明还解决了支持运营商个性化配置方面的问题,本发明构建的框架整体上比较统一、规范、灵活和松耦合:在整合各个运营商时,本发明抽象出一个统一的运营商对象,考虑到各个运营商之间的差异,形成一个比较规范的发送对象;在支持主流运营商之外,需要扩展用户指定的其他运营商时,因为本发明在处理发送过程中的每一个关键步骤都采用统一、规范的处理,所以就能灵活的实现不同运营商的个性化配置;本发明处理每一个运营商都会有每一个单独的路径,所以各个运营商之间不会互相干扰,也就是松耦合的处理,可以大幅提高发送的稳定性。The present invention also solves the problem of supporting the personalized configuration of operators. The framework constructed by the present invention is generally unified, standardized, flexible and loosely coupled: when integrating various operators, the present invention abstracts a unified operator object, Taking into account the differences between various operators, a more standardized sending object is formed; in addition to supporting mainstream operators, when it is necessary to expand other operators specified by the user, because the present invention handles every key step in the sending process. Uniform and standardized processing is adopted, so the personalized configuration of different operators can be flexibly realized; each operator in the present invention will have a separate path, so each operator will not interfere with each other, that is, loose Coupling processing can greatly improve the stability of sending.

一些实施例中,所述获取必要信息并进行处理,包括:In some embodiments, the acquiring and processing necessary information includes:

预设配置对象;所述配置对象包括:主题、名称、运营商、运营商配置、接收方和发送方的信息以及通知内容;其中,接收方和发送方的信息包括接收方和发送方的电话号码或邮箱地址;Preset configuration object; the configuration object includes: subject, name, operator, operator configuration, receiver and sender information, and notification content; wherein, receiver and sender information includes receiver and sender phone numbers number or email address;

本申请中抽象了一个接收方的配置对象,这个对象里面包含以下内容:主题、名称、运营商、运营商配置、接收者和发送方的信息(电话号码或者邮箱地址)、通知内容。This application abstracts a receiver configuration object, which contains the following contents: subject, name, operator, operator configuration, receiver and sender information (phone number or email address), notification content.

对运营商进行配置,构成运营商配置的子自动路由;Configure the operator to form a sub-automatic routing configured by the operator;

一些实施例中,所述对运营商进行配置,包括:In some embodiments, the configuring the operator includes:

设置5个API,包括:增加一个运营商、展示所有运营商、删除一个运营商、修改一个运营商以及显示指定运营商;Set 5 APIs, including: add an operator, display all operators, delete an operator, modify an operator and display the specified operator;

注册5个API的请求方法、请求的相对路径以及请求的API方法名称,通过gin包形成运营商配置的子自动路由。Register the request method, the relative path of the request, and the name of the requested API method for the 5 APIs, and form a sub-automatic route configured by the operator through the gin package.

具体的,本发明设计了5个API负责在发送前对运营商进行配置和调整工作,分别是:增加一个运营商(createProviderHandler)、展示所有运营商(listProvidersHandler)、删除一个运营商(deleteProviderHandler)、修改一个运营商(updateProviderHandler)、显示指定运营商(showProviderHandler),设计完5个API本身后,注册这5个API的请求方法、请求的相对路径、请求的API方法名称,通过gin包(go语言的Web框架)整合起来形成运营商配置的自动路由。利用这五个API之间的相互配合,用户可以在发送之前把运营商这部分的内容配置好并可以在后面需要的时候及时调整。Specifically, the present invention designs 5 APIs to be responsible for configuring and adjusting operators before sending, namely: adding an operator (createProviderHandler), displaying all operators (listProvidersHandler), deleting an operator (deleteProviderHandler), Modify an operator (updateProviderHandler), display the specified operator (showProviderHandler), and design the 5 APIs themselves, register the request method, the relative path of the request, and the name of the API method of the request, through the gin package (go language Web framework) are integrated to form automatic routing configured by operators. Using the mutual cooperation between these five APIs, users can configure the content of the operator before sending and adjust it in time when needed later.

采用处理文本字符串的方式处理待发送信息的模板形成标准模板;Process the template of the information to be sent by processing the text string to form a standard template;

本申请对模板进行统一处理,本发明借由模板包(template)来统一处理模板,先定义好模板包(template)中的模板对象,借由处理文本字符串(ExecuteTextString)方法来统一处理待发送内容的信息模板。This application processes the templates in a unified manner. The present invention uses the template package (template) to process the templates in a unified manner. Firstly, define the template objects in the template package (template), and process the text strings (ExecuteTextString) to process them in a unified manner. Info template for content.

配置信息对象;所述信息对象包括主题、接收方和发送方信息以及发送内容;Configure the information object; the information object includes the subject, receiver and sender information, and sending content;

本发明抽象出来一个信息对象(Message),里面包含:主题、接收者和发送方的信息、发送内容,这个Message就是前面所说的发送对象,所有运营商都按照这个对象的标准来进行发送操作。The present invention abstracts a message object (Message), which includes: subject, receiver and sender information, and sending content. This Message is the aforementioned sending object, and all operators perform sending operations according to the standard of this object.

将所述配置对象、子自动路由、标准模板以及信息对象进行组装,形成通知处理请求API和告警处理请求API。The configuration object, sub-automatic routing, standard template and information object are assembled to form a notification processing request API and an alarm processing request API.

具体的,把以上配置对象、子自动路由、标准模板以及信息对象的四个板块的内容依次组装起来,就形成了本发明发送服务的两个API,一个是通知处理请求(notifyHandler),另一个是告警处理请求(alertHandler),然后注册这2个API的请求方法、请求的相对路径、请求的API方法名称,通过gin包(go语言的Web框架)整合起来形成发送服务的自动路由,通知处理请求API是为一般性发送场景而设计的,告警处理请求API是为告警发送场景而设计的,这两个API是完成自动化发送的基础。Specifically, the content of the above configuration objects, sub-automatic routing, standard templates, and information objects are assembled sequentially to form two APIs of the sending service of the present invention, one is a notification processing request (notifyHandler), and the other It is an alarm processing request (alertHandler), and then registers the request method of these two APIs, the relative path of the request, and the name of the API method of the request, and integrates them through the gin package (the web framework of the go language) to form an automatic route for sending services and notification processing The request API is designed for general sending scenarios, and the alarm processing request API is designed for alarm sending scenarios. These two APIs are the basis for automatic sending.

需要说明的是,因为每个运营商在发送过程中有如下的差异:所需的发送信息(也就是运营商的配置信息)差异比较大、运营商所提供的发送类型也存在差异(有些运营商可以同时提供短信和邮件两种服务,有些运营商只能提供其中之一的服务)、不同运营商的发送机制也不相同(各自的发送逻辑不一样)。It should be noted that, because each operator has the following differences in the sending process: the required sending information (that is, the configuration information of the operator) is relatively different, and the sending types provided by the operator are also different (some operators Some operators can provide both SMS and email services at the same time, and some operators can only provide one of the services), and the sending mechanisms of different operators are also different (their sending logic is different).

为了解决运营商发送信息的差异,本发明抽象出各自运营商的配置信息对象,把所有关键的配置信息都存到这个配置信息对象里面去,起到一个聚合的作用,方便后面统一处理;为了解决运营商所提供的发送类型的差异,本发明抽象出来各自运营商的对象,把运营商的类型和运营商的配置信息以及其他必要内容放置在这个运营商对象里面,此时前面对运营商配置信息的处理就方便了现在的运营商对象的处理,在新建运营商对象的时候,根据运营商不同的发送逻辑,做出相应的处理,这样就可以把不同的运营商统一起来了;得益于前面抽象出来的信息对象(Message),在各自运营商的发送逻辑中,把各项运营商处理的信息,一一进行解构并聚合到这个信息对象(Message)中来,这样前面发送目的中所说的发送对象就形成了,然后在处理的过程中按照各自运营商的逻辑,在关键地方设置报错处理,方便后面测试各自运营商的发送情况的时候进行必要的提示,根据提示可以做出必要的调整,使得发送测试的成功。解决了如上的差异之后,便可以灵活的调整各个运营商的配置了:再增加一个新运营商的时候,按照这个标准进行规范化操作,便可以很轻松的完成扩展。In order to solve the difference in information sent by operators, the present invention abstracts the configuration information objects of respective operators, and stores all key configuration information in this configuration information object, which plays an aggregation role and facilitates unified processing later; To solve the difference in the transmission types provided by the operators, the present invention abstracts the objects of the respective operators, and places the types of operators, the configuration information of the operators and other necessary content in the operator objects. The processing of the operator configuration information facilitates the processing of the current operator object. When creating a new operator object, according to the different transmission logic of the operator, make corresponding processing, so that different operators can be unified; Thanks to the information object (Message) abstracted above, in the transmission logic of the respective operators, the information processed by each operator is deconstructed one by one and aggregated into this information object (Message), so that the previous transmission The sending object mentioned in the purpose is formed, and then in the process of processing, according to the logic of the respective operators, set up error reporting in key places, so as to facilitate the necessary prompts when testing the sending status of the respective operators later. According to the prompts, you can Make the necessary adjustments to make the send test a success. After solving the above differences, you can flexibly adjust the configuration of each operator: when adding a new operator, standardize the operation according to this standard, and you can easily complete the expansion.

一些实施例中,所述调用chmod对所述容器开放使用权限,包括:In some embodiments, the calling chmod to open the usage permission for the container includes:

调用chmod命令对使用者、组具有读写和可执行权限。Call the chmod command to have read, write and execute permissions for users and groups.

优选的,在调用chmod对所述容器开放使用权限,之后还包括:Preferably, after calling chmod to open the usage permission for the container, it also includes:

重启容器,将所述容器的服务状态修改为开始。Restart the container, and modify the service state of the container to start.

具体的,对环境服务部署具体步骤为:Specifically, the specific steps for environment service deployment are:

(1)本发明的代码开发完毕之后,在本地或者云主机上使用go build命令把代码文件编译成可执行文件,使用Xftp软件把这个可执行文件上传到用户指定的部署环境。(1) After the code development of the present invention is completed, use the go build command on the local or cloud host to compile the code file into an executable file, and use the Xftp software to upload the executable file to the deployment environment specified by the user.

(2)上传到部署环境之后,把可以执行文件放在短信和邮件服务指定的容器里面,然后使用chmod+777命令放开权限,让使用者(user),组(group),其他(others)都有读写和可执行权限,这样就可以放开给其他服务来使用了本发明的服务了。(2) After uploading to the deployment environment, put the executable file in the container specified by the SMS and mail service, and then use the chmod+777 command to release the permissions, allowing the user (user), group (group), and others (others) All have read-write and executable authority, like this just can release to other services to use the service of the present invention.

(3)最后重启容器,把本发明的服务的状态设置为starting(开始)状态,面板通过前面设定的运营商配置的自动路由,完成前后端交互,这样用户就可以通过面板随时配置和修改运营商;发送逻辑(比如:告警发送逻辑,下面会具体讲到)通过前面设定的发送服务的自动路由,可以随时调用那两个发送服务的API进行发送操作,这样就可以随时启用发送服务;从而就可以形成自动化的能力。(3) Restart the container at last, set the state of the service of the present invention to the starting (starting) state, the panel completes the front-end and back-end interaction through the automatic routing configured by the operator set in front, so that the user can configure and modify at any time through the panel Operator; sending logic (for example: alarm sending logic, which will be described in detail below) through the automatic routing of the sending service set earlier, you can call the APIs of the two sending services to perform sending operations at any time, so that the sending service can be enabled at any time ; so that the ability to automate can be formed.

作为一个具体的实施方式,本申请采用实际应用的例子来进一步说明这个自动化的能力,具体以告警的短信和邮件发送为例。As a specific implementation manner, this application uses an example of practical application to further illustrate this automation capability, specifically taking the sending of alarm text messages and emails as an example.

在具体场景发送应用之前,需要先做一些准备工作:用户需要先向运营商申请使用运营商权限,以便获得该运营商的配置信息,这个时候就可以向运营商申请模板报备。在这之后,用户就可以在面板上填写运营商的配置信息,这些配置信息通过后端保存到数据库中;用户在面板上预留接收短信和邮件的电话和邮箱的位置上填写需要接收的电话号码和邮箱地址。Before sending the application in a specific scenario, some preparatory work needs to be done first: the user needs to apply to the operator for permission to use the operator in order to obtain the configuration information of the operator. At this time, the user can apply to the operator for template registration. After that, the user can fill in the operator's configuration information on the panel, and the configuration information is saved to the database through the backend; the user fills in the phone number to be received in the phone and mailbox reserved for receiving text messages and emails on the panel number and email address.

触发告警的条件是:整个系统的部分服务因为自然或者人为原因出现问题甚至停止,当这些服务出现问题的时候,需要进行一个基群告警通知,把告警通知信息发送给管理员,以便管理员进行后续的处理,整个发送过程以自动化的方式来进行。正因为前面在服务部署的时候,告警逻辑和本发明的服务逻辑进行了对接,所以此时告警通知信息才能自动化的向管理员发送;前面抽象了一个接收者配置的对象,里面包含接收者的手机号码和邮箱地址,所以此时在发送的过程中,可以自动化的寻找该管理员的号码和地址,也就知道了发送的目的地;因为前面对模板进行统一处理,所以发送内容才可以自动化的规范显示,最后就形成了一个自动化的过程,形成了自动化能力。The condition for triggering an alarm is: some services of the entire system have problems or even stop due to natural or human reasons. Subsequent processing, the entire sending process is carried out in an automated manner. Just because the alarm logic is docked with the service logic of the present invention when the service is deployed, the alarm notification information can be automatically sent to the administrator at this time; an object of receiver configuration is abstracted earlier, which contains the receiver's Mobile phone number and email address, so in the process of sending at this time, you can automatically find the number and address of the administrator, and you will know the destination of the sending; because the templates are processed in a unified way, the sending content can be The specification of automation shows that in the end, an automated process and automated capabilities are formed.

如图2所示,本申请提供一种短信和邮件的自动发送装置,包括:As shown in Figure 2, the application provides an automatic sending device for short messages and mails, including:

处理模块201,用于必要信息处理:获取必要信息并进行处理,得到通知处理请求API和告警处理请求API,注册所述通知处理请求API和告警处理请求API的请求方法、请求的相对路径以及请求的API名称,形成发送服务的自动路由;所述必要信息包括:发送方和接收方的对接内容、运营商的相关内容、模板内容以及发送标准;The processing module 201 is used for necessary information processing: obtaining and processing necessary information, obtaining notification processing request API and alarm processing request API, registering the request method, relative path of the request and the request method of the notification processing request API and alarm processing request API API name to form an automatic route for sending services; the necessary information includes: the content of the connection between the sender and the receiver, relevant content of the operator, template content, and sending standards;

部署模块202,用于服务部署:将代码文件编译成可执行文件,上传至预设的部署环境并存储至预设容器中,调用chmod对所述容器开放使用权限;其中,所述容器用于短信和邮件服务;The deployment module 202 is used for service deployment: compile the code file into an executable file, upload it to a preset deployment environment and store it in a preset container, and call chmod to open the usage permission for the container; wherein, the container is used for SMS and email services;

发送模块203,用于自动发送:通过面板获取预设发送方和接收方的电话号码和/或邮箱地址,通过自动路由和服务部署进行短信和邮件的自动发送。The sending module 203 is used for automatic sending: obtain the phone numbers and/or email addresses of preset senders and receivers through the panel, and automatically send short messages and emails through automatic routing and service deployment.

本申请提供的短信和邮件的自动发送装置的工作原理为,处理模块201进行必要信息处理:获取必要信息并进行处理,得到通知处理请求API和告警处理请求API,注册所述通知处理请求API和告警处理请求API的请求方法、请求的相对路径以及请求的API名称,形成发送服务的自动路由;所述必要信息包括:发送方和接收方的对接内容、运营商的相关内容、模板内容以及发送标准;部署模块202进行服务部署:将代码文件编译成可执行文件,上传至预设的部署环境并存储至预设容器中,调用chmod对所述容器开放使用权限;其中,所述容器用于短信和邮件服务;发送模块203进行自动发送:通过面板获取预设发送方和接收方的电话号码和/或邮箱地址,通过自动路由和服务部署进行短信和邮件的自动发送。The working principle of the automatic sending device for short messages and mails provided by this application is that the processing module 201 performs necessary information processing: obtains necessary information and processes it, obtains a notification processing request API and an alarm processing request API, registers the notification processing request API and The request method of the alarm processing request API, the relative path of the request, and the name of the requested API form an automatic route for the sending service; the necessary information includes: the content of the connection between the sender and the receiver, the relevant content of the operator, the template content, and the sending Standard; the deployment module 202 performs service deployment: compiles the code file into an executable file, uploads it to a preset deployment environment and stores it in a preset container, and calls chmod to open the usage permission for the container; wherein, the container is used for SMS and email service; sending module 203 for automatic sending: obtain the phone numbers and/or email addresses of preset senders and receivers through the panel, and automatically send SMS and emails through automatic routing and service deployment.

本申请提供一种计算机设备,包括:存储器和处理器,还可以包括网络接口,所述存储器存储有计算机程序,存储器可以包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。该计算机设备存储有操作系统,存储器是计算机可读介质的示例。所述计算机程序被所述处理器执行时,使得所述处理器执行短信和邮件的自动发送方法,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。The present application provides a computer device, including: a memory and a processor, and may also include a network interface, the memory stores a computer program, and the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory such as read-only memory (ROM) or flash memory (flash RAM). The computer device stores an operating system and the memory is an example of a computer readable medium. When the computer program is executed by the processor, the processor executes the method for automatically sending short messages and mails. The structure shown in FIG. As for the limitation of the computer equipment to which the solution of the present application is applied, the specific computer equipment may include more or less components than shown in the figure, or combine some components, or have a different arrangement of components.

在一个实施例中,本申请提供的短信和邮件的自动发送方法可以实现为一种计算机程序的形式,计算机程序可在如图3所示的计算机设备上运行。In one embodiment, the method for automatically sending short messages and emails provided in this application can be implemented in the form of a computer program, and the computer program can be run on the computer device as shown in FIG. 3 .

一些实施例中,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:必要信息处理:获取必要信息并进行处理,得到通知处理请求API和告警处理请求API,注册所述通知处理请求API和告警处理请求API的请求方法、请求的相对路径以及请求的API名称,形成发送服务的自动路由;所述必要信息包括:发送方和接收方的对接内容、运营商的相关内容、模板内容以及发送标准;服务部署:将代码文件编译成可执行文件,上传至预设的部署环境并存储至预设容器中,调用chmod对所述容器开放使用权限;其中,所述容器用于短信和邮件服务;自动发送:通过面板获取预设发送方和接收方的电话号码和/或邮箱地址,根据预设发送逻辑通过自动路由和服务部署进行短信和邮件的自动发送。In some embodiments, when the computer program is executed by the processor, the processor performs the following steps: Necessary information processing: obtaining and processing necessary information, obtaining notification processing request API and alarm processing request API, registering all The request method of the notification processing request API and the alarm processing request API, the relative path of the request, and the name of the requested API form an automatic route for sending services; the necessary information includes: the content of the connection between the sender and the receiver, and the relevant information of the operator. Content, template content and sending standards; service deployment: compile the code file into an executable file, upload it to the preset deployment environment and store it in the preset container, and call chmod to open the use permission of the container; wherein, the container Used for SMS and email services; automatic sending: Obtain the phone numbers and/or email addresses of preset senders and receivers through the panel, and automatically send SMS and emails through automatic routing and service deployment according to preset sending logic.

本申请还提供一种计算机存储介质,计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光光盘(DVD)或其他光学存储、磁盒式磁带存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The present application also provides a computer storage medium. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random Access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital multiplayer Functional Optical Disc (DVD) or other optical storage, magnetic cassette storage or other magnetic storage device, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

一些实施例中,本发明还提出了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,必要信息处理:获取必要信息并进行处理,得到通知处理请求API和告警处理请求API,注册所述通知处理请求API和告警处理请求API的请求方法、请求的相对路径以及请求的API名称,形成发送服务的自动路由;所述必要信息包括:发送方和接收方的对接内容、运营商的相关内容、模板内容以及发送标准;服务部署:将代码文件编译成可执行文件,上传至预设的部署环境并存储至预设容器中,调用chmod对所述容器开放使用权限;其中,所述容器用于短信和邮件服务;自动发送:通过面板获取预设发送方和接收方的电话号码和/或邮箱地址,根据预设发送逻辑通过自动路由和服务部署进行短信和邮件的自动发送。In some embodiments, the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, necessary information processing: acquire necessary information and process it, and get a notification of the processing request API and Alarm processing request API, register the request method of the notification processing request API and alarm processing request API, the relative path of the request and the API name of the request, and form an automatic routing of the sending service; the necessary information includes: the sender and the receiver Docking content, operator-related content, template content, and sending standards; service deployment: compile the code file into an executable file, upload it to the preset deployment environment and store it in the preset container, call chmod to open the container for use Permission; wherein, the container is used for short message and mail services; automatic sending: obtain the phone number and/or email address of the preset sender and receiver through the panel, and perform short message and mail through automatic routing and service deployment according to the preset sending logic Automatic sending of emails.

综上所述,本发明提供一种短信和邮件的自动发送方法及装置,本发明通过自动化地实现各项功能,节省大量的人力物力,让整个短信服务和电子邮件服务更高效;本发明实现的个性化定制这一点,可以更好的服务用户,这样就可以让用户的满意度大增;本发明实现丰富运营商的机制,可以大幅提升短信和邮件服务面,大幅提高用户的选择面。In summary, the present invention provides a method and device for automatically sending short messages and emails. The present invention realizes various functions automatically, saves a lot of manpower and material resources, and makes the entire short message service and email service more efficient; the present invention realizes Personalized customization can better serve users, so that user satisfaction can be greatly increased; the present invention enriches the operator's mechanism, can greatly improve the service area of short messages and emails, and greatly improve the user's choice area.

可以理解的是,上述提供的方法实施例与上述的装置实施例对应,相应的具体内容可以相互参考,在此不再赘述。It can be understood that the method embodiments provided above correspond to the above device embodiments, and the corresponding specific contents can be referred to each other, and will not be repeated here.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令方法的制造品,该指令方法实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising the instructions, the instructions The method implements the function specified in the procedure or procedures of the flowchart and/or the block or blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (10)

1. An automatic sending method of short messages and mails is characterized by comprising the following steps:
and (3) necessary information processing: acquiring and processing necessary information to obtain a notification processing request API and an alarm processing request API, registering request methods of the notification processing request API and the alarm processing request API, a relative path of the request and an API name of the request, and forming an automatic route of a sending service; the necessary information includes: the interfacing contents of the sender and the receiver, the related contents of the operator, the template contents and the sending standard;
service deployment: compiling a code file into an executable file, uploading the executable file to a preset deployment environment, storing the executable file in a preset container, and calling chmod to open a use right for the container; the container is used for short messages and mail services;
automatic transmission: and acquiring telephone numbers and/or mailbox addresses of a preset sender and a preset receiver through a panel, and automatically sending short messages and mails through automatic routing and service deployment according to preset sending logic.
2. The method of claim 1, wherein the obtaining and processing of the necessary information comprises:
presetting a configuration object; the configuration object includes: topic, name, operator configuration, information of receiver and sender, and notification content; the information of the receiver and the sender comprises telephone numbers or mailbox addresses of the receiver and the sender;
configuring operators to form sub-automatic routes configured by the operators;
a template for processing the information to be transmitted in a text string processing mode is adopted to form a standard template;
configuring an information object; the information object comprises a theme, receiver and sender information and a sending content;
and assembling the configuration object, the sub-automatic route, the standard template and the information object to form a notification processing request API and an alarm processing request API.
3. The method of claim 2, wherein the configuring the operator comprises:
setting 5 APIs, including: adding one operator, displaying all operators, deleting one operator, modifying one operator, and displaying the designated operator;
the request method of 5 APIs, the relative path of the request and the name of the requested API method are registered, and the sub-automatic route configured by the operator is formed through gin packets.
4. The method of claim 1, wherein the invoking chmod opens a use right to the container, comprising:
the call chmod command has read-write and executable rights to the user, group.
5. The method of claim 1, wherein invoking chmod opens a use right to the container, further comprising thereafter:
restarting the container, and modifying the service state of the container to be started.
6. The method of claim 1, wherein the step of determining the position of the substrate comprises,
each operator has a separate transmission path.
7. The method of claim 5, wherein the step of determining the position of the probe is performed,
and the preset sending logic is set according to the application scene.
8. An automatic sending device for short messages and mails, which is characterized by comprising:
the processing module is used for processing necessary information: acquiring and processing necessary information to obtain a notification processing request API and an alarm processing request API, registering request methods of the notification processing request API and the alarm processing request API, a relative path of the request and an API name of the request, and forming an automatic route of a sending service; the necessary information includes: the interfacing contents of the sender and the receiver, the related contents of the operator, the template contents and the sending standard;
a deployment module for service deployment: compiling a code file into an executable file, uploading the executable file to a preset deployment environment, storing the executable file in a preset container, and calling chmod to open a use right for the container; the container is used for short messages and mail services;
the sending module is used for automatically sending: and acquiring telephone numbers and/or mailbox addresses of preset senders and receivers through the panel, and automatically sending short messages and mails through automatic routing and service deployment.
9. A computer device, comprising: a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the automatic sending method of short messages and mails according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that a computer program is stored, which computer program, when being executed by a processor, causes the processor to perform the automatic sending method of short messages and mails according to any one of claims 1 to 7.
CN202210502996.0A 2022-01-27 2022-05-09 Automatic sending method and device for short messages and mails Active CN115038054B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210099735 2022-01-27
CN2022100997359 2022-01-27

Publications (2)

Publication Number Publication Date
CN115038054A CN115038054A (en) 2022-09-09
CN115038054B true CN115038054B (en) 2023-05-26

Family

ID=83120742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210502996.0A Active CN115038054B (en) 2022-01-27 2022-05-09 Automatic sending method and device for short messages and mails

Country Status (1)

Country Link
CN (1) CN115038054B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870693A (en) * 2005-05-27 2006-11-29 中国移动通信集团公司 Method receiving short message by E-mail
CN101640647A (en) * 2008-07-31 2010-02-03 中兴通讯股份有限公司 Email sending service device, email sending service system and email sending method
CN101765068A (en) * 2009-12-02 2010-06-30 中兴通讯股份有限公司 Method and system for backing up mobile phone short messages
CN104243282A (en) * 2014-09-12 2014-12-24 深圳创维数字技术有限公司 Message informing method and server
WO2018078517A1 (en) * 2016-10-31 2018-05-03 Rana Mohit System and method for creating an internet identity based on the user's existing verifiable identity
CN108632771A (en) * 2018-04-28 2018-10-09 北京聚通达科技股份有限公司 One kind being based on the novel note systems of OTA
CN109039876A (en) * 2018-09-19 2018-12-18 天津字节跳动科技有限公司 Email processing method and device
WO2019232948A1 (en) * 2018-06-05 2019-12-12 平安科技(深圳)有限公司 Method and system for monitoring automatic sending of email, computer device, and storage medium
CN111083041A (en) * 2019-11-29 2020-04-28 百度在线网络技术(北京)有限公司 Mail processing method and device and electronic equipment
CN113114490A (en) * 2021-03-30 2021-07-13 海信集团控股股份有限公司 API call abnormity warning method, device, equipment and medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8307037B2 (en) * 2000-01-10 2012-11-06 Bump Network, Inc. Inter vehicle communication system
US8880032B2 (en) * 2012-12-07 2014-11-04 At&T Intellectual Property I, L.P. Providing a masked short message service in a wireless network

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870693A (en) * 2005-05-27 2006-11-29 中国移动通信集团公司 Method receiving short message by E-mail
CN101640647A (en) * 2008-07-31 2010-02-03 中兴通讯股份有限公司 Email sending service device, email sending service system and email sending method
CN101765068A (en) * 2009-12-02 2010-06-30 中兴通讯股份有限公司 Method and system for backing up mobile phone short messages
CN104243282A (en) * 2014-09-12 2014-12-24 深圳创维数字技术有限公司 Message informing method and server
WO2018078517A1 (en) * 2016-10-31 2018-05-03 Rana Mohit System and method for creating an internet identity based on the user's existing verifiable identity
CN108632771A (en) * 2018-04-28 2018-10-09 北京聚通达科技股份有限公司 One kind being based on the novel note systems of OTA
WO2019232948A1 (en) * 2018-06-05 2019-12-12 平安科技(深圳)有限公司 Method and system for monitoring automatic sending of email, computer device, and storage medium
CN109039876A (en) * 2018-09-19 2018-12-18 天津字节跳动科技有限公司 Email processing method and device
CN111083041A (en) * 2019-11-29 2020-04-28 百度在线网络技术(北京)有限公司 Mail processing method and device and electronic equipment
CN113114490A (en) * 2021-03-30 2021-07-13 海信集团控股股份有限公司 API call abnormity warning method, device, equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Javamail和Ajax技术在短信推送中的应用;汪志莉;程煊;刘莉;;图书馆学刊(第05期);全文 *

Also Published As

Publication number Publication date
CN115038054A (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN110493067B (en) Method and device for updating API gateway service
US9800673B2 (en) Service compiler component and service controller for open systems interconnection layer 4 through layer 7 services in a cloud computing system
US20080037452A1 (en) Method Supplying Content to a Device
CN113301116B (en) Microservice application cross-network communication method, device, system and equipment
CN106134141B (en) A method and device for updating network service descriptor NSD
US20200112606A1 (en) Synchronizing a device using push notifications
CN107133160B (en) server and client
CN111708619B (en) Distributed transaction processing method and system based on message queue and database
CN109729121B (en) Cloud storage system and method for realizing custom data processing in cloud storage system
CN109344006A (en) An image management method and an image management module
CN110086640A (en) The enabled method and apparatus of business
WO2019062634A1 (en) Communication method and apparatus
CN108833140A (en) Interactive voice response configures system, method, electronic equipment and storage medium
CN111090423A (en) Webhook framework system and method for realizing active calling and event triggering
US20220358108A1 (en) Historical graph database
CN110674153B (en) Data consistency detection method and device and electronic equipment
CN112395340B (en) Data asset management method and device
Vilalta et al. Zero-touch network slicing through multi-domain transport networks
CN116633727B (en) Nacos service-based gateway dynamic routing method, device, computer equipment, and computer-readable storage medium
CN115038054B (en) Automatic sending method and device for short messages and mails
CN115996179B (en) Service node testing method, device, readable medium and electronic device
CN108370329B (en) Management method and device for managing functional objects
US20220053354A1 (en) A Method and Apparatus for Controlling Over Performance Measurements
CN110336712B (en) Method and device for capturing empty packet by mobile terminal, storage medium and mobile terminal
CN117376300B (en) Message all-channel sending method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 100083 Beijing City Haidian District Wangzhuang Road No. 1 Qinghua Tongfang Science and Technology Building D building 17th floor 1711-06.NO

Patentee after: Yunshuzhi (Hebei) Technology Co.,Ltd.

Country or region after: China

Address before: 100083 Beijing City Haidian District Wangzhuang Road No. 1 Qinghua Tongfang Science and Technology Building D building 17th floor 1711-06.NO

Patentee before: Tongfang Youyun (Beijing) Technology Co., Ltd.

Country or region before: China

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 065599 Hebei Province Langfang City Gu'an County Gu'an High-tech Zone Gu'an Science and Technology Innovation Center 606

Patentee after: Yunshuzhi (Hebei) Technology Co.,Ltd.

Country or region after: China

Address before: 100083 Beijing City Haidian District Wangzhuang Road No. 1 Qinghua Tongfang Science and Technology Building D building 17th floor 1711-06.NO

Patentee before: Yunshuzhi (Hebei) Technology Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address