技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种消息提醒方法及装置。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a message reminder method and device.
背景技术Background technique
随着智能手机的普及,以及应用软件、即时通讯应用、运营商的消息业务等的发展,终端能够接收到各种类型的文字消息。消息的类型可以包括:应用软件推送给终端的消息;即时通讯应用中发送给终端登录用户的消息;运营商的消息业务中发送给终端所属号码的消息。本质上,这些消息均是从发送端,如应用对应的服务器或终端,经由消息服务器转发至接收端的。With the popularization of smart phones and the development of application software, instant messaging applications, and operator message services, terminals can receive various types of text messages. The types of messages may include: messages pushed to the terminal by the application software; messages sent to the terminal logged-in user in the instant messaging application; messages sent to the number to which the terminal belongs in the operator's message service. Essentially, these messages are forwarded from the sender, such as the server or terminal corresponding to the application, to the receiver via the message server.
现有技术中,终端可以监测即时通讯应用包括的社交群聊,并在确定社交群聊的未读通讯消息中的特征信息与预设筛选元素匹配时,对该未读通讯消息进行提醒处理,以提醒用户查看,从而协助用户有针对性的查看未读通讯消息。In the prior art, the terminal can monitor the social group chat included in the instant messaging application, and when it is determined that the feature information in the unread communication message of the social group chat matches the preset screening element, the terminal can perform a reminder processing on the unread communication message, To remind users to check, so as to assist users to check unread communication messages in a targeted manner.
现有技术中至少存在以下技术问题:由于进行消息提醒的消息为即时通讯应用中的群聊消息,该种消息仅为终端接收的消息的一部分,从而无法实现对终端接收的所有消息的提醒;且仅能在接收端进行消息提醒,无法实现对第三方用户的消息提醒,使得无法由人为进行把控接收端用户,可能会导致接收端用户受到不法分子的诱导消息的蛊惑,造成钱财损失。There are at least the following technical problems in the prior art: since the message for message reminder is a group chat message in an instant messaging application, this kind of message is only a part of the message received by the terminal, so that it is impossible to remind all messages received by the terminal; In addition, message reminders can only be performed on the receiving end, and message reminders to third-party users cannot be realized, making it impossible to manually control the receiving end users, which may cause the receiving end users to be deceived by the inducement messages of criminals, resulting in financial losses.
发明内容SUMMARY OF THE INVENTION
本发明提供一种消息提醒方法及装置,实现了对终端接收的所有消息的提醒,且实现了对第三方用户的消息提醒。The present invention provides a message reminding method and device, which realizes the reminding of all messages received by the terminal, and realizes the message reminding for third-party users.
为达到上述目的,本发明采用如下技术方案:To achieve the above object, the present invention adopts the following technical solutions:
第一方面,本发明提供一种消息提醒方法,该方法可以包括:接收发送端通过消息服务器发送的消息,消息中包括目标接收端的地址;根据预存的消息接收端的地址与关键词的对应关系,获取与目标接收端的地址对应的目标关键词;将消息与目标关键词进行匹配,确定消息满足提醒条件;获取目标关键词对应的提醒接收端的地址,提醒接收端为除目标接收端外的接收端;向消息服务器发送处理结果,处理结果包括:提醒接收端的地址,以及消息满足提醒条件的指示信息,以便消息服务器向提醒接收端的地址对应的接收端发送提醒消息,向目标接收端发送消息。In a first aspect, the present invention provides a message reminder method. The method may include: receiving a message sent by a sender through a message server, where the message includes an address of a target receiver; Obtain the target keyword corresponding to the address of the target receiver; match the message with the target keyword to determine that the message meets the reminder condition; obtain the address of the reminder receiver corresponding to the target keyword, and the reminder receiver is a receiver other than the target receiver ; Send a processing result to the message server, where the processing result includes: the address of the reminder receiver, and the indication information that the message satisfies the reminder condition, so that the message server sends the reminder message to the recipient corresponding to the address of the reminder recipient, and sends the message to the target recipient.
结合第一方面,在一种可能的实现方式中,在接收发送端通过消息服务器发送的消息之前,还可以包括:接收目标接收端通过消息服务器发送的提醒请求,提醒请求中包括目标接收端的地址、目标关键词和提醒接收端的地址;根据提醒请求,在关键词提醒原则中保存目标接收端的地址、目标关键词和提醒接收端的地址的对应关系。In combination with the first aspect, in a possible implementation manner, before receiving the message sent by the sending end through the message server, the method may further include: receiving a reminder request sent by the target receiving end through the message server, and the reminder request includes the address of the target receiving end , target keyword and address of the reminder receiver; according to the reminder request, the corresponding relationship between the address of the target receiver, the target keyword and the address of the reminder receiver is saved in the keyword reminder principle.
结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,在向消息服务器发送处理结果之后,还可以包括:接收目标接收端通过消息服务器发送的取消请求,取消请求用于请求删除包括有目标接收端的地址的对应关系;根据取消请求,从关键词提醒原则中删除目标接收端的地址、目标关键词和提醒接收端的地址的对应关系。In combination with the first aspect and the above possible implementation manner, in another possible implementation manner, after sending the processing result to the message server, it may further include: receiving a cancellation request sent by the target receiving end through the message server, and the cancellation request is used for The request to delete includes the corresponding relationship of the address of the target receiving end; according to the cancellation request, the corresponding relationship between the address of the target receiving end, the target keyword and the address of the reminding receiving end is deleted from the keyword reminder principle.
结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,确定消息满足提醒条件,具体的可以包括:确定消息包含目标关键词中的任意一个;或者,确定消息包含全部的目标关键词。In combination with the first aspect and the above possible implementation manner, in another possible implementation manner, determining that the message satisfies the reminder condition may specifically include: determining that the message contains any one of the target keywords; or, determining that the message contains all of the target keywords.
第二方面,本发明提供一种消息提醒装置,该消息提醒装置可以包括:接收单元、获取单元、确定单元和发送单元。接收单元,用于接收发送端通过消息服务器发送的消息,消息中包括目标接收端的地址。获取单元,用于根据预存的消息接收端的地址与关键词的对应关系,获取与目标接收端的地址对应的目标关键词。确定单元,用于将消息与目标关键词进行匹配,确定消息满足提醒条件。获取单元,还用于获取目标关键词对应的提醒接收端的地址,提醒接收端为除目标接收端外的接收端。发送单元,用于向消息服务器发送处理结果,处理结果包括:提醒接收端的地址,以及消息满足提醒条件的指示信息,以便消息服务器向提醒接收端的地址对应的接收端发送提醒消息,向目标接收端发送消息。In a second aspect, the present invention provides a message reminder device, the message reminder device may include: a receiving unit, an obtaining unit, a determining unit and a sending unit. The receiving unit is used for receiving the message sent by the sender through the message server, and the message includes the address of the target receiver. The obtaining unit is configured to obtain the target keyword corresponding to the address of the target receiver according to the pre-stored correspondence between the address of the message receiver and the keyword. The determining unit is used to match the message with the target keyword, and determine that the message satisfies the reminder condition. The obtaining unit is further configured to obtain the address of the reminder receiver corresponding to the target keyword, and the reminder receiver is a receiver other than the target receiver. The sending unit is used to send a processing result to the message server, where the processing result includes: the address of the reminder receiver, and the indication information that the message satisfies the reminder condition, so that the message server sends the reminder message to the recipient corresponding to the address of the reminder recipient, and sends the reminder message to the target recipient Send a message.
结合第二方面,在一种可能的实现方式中,消息提醒装置还可以包括:存储单元。接收单元,还用于接收目标接收端通过消息服务器发送的提醒请求,提醒请求中包括目标接收端的地址、目标关键词和提醒接收端的地址。存储单元,用于根据提醒请求,在关键词提醒原则中保存目标接收端的地址、目标关键词和提醒接收端的地址的对应关系。With reference to the second aspect, in a possible implementation manner, the message reminding apparatus may further include: a storage unit. The receiving unit is further configured to receive a reminder request sent by the target recipient through the message server, where the reminder request includes the address of the target recipient, the target keyword and the address of the reminder recipient. The storage unit is used for storing the correspondence between the address of the target recipient, the target keyword and the address of the reminder recipient in the keyword reminder principle according to the reminder request.
结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,消息提醒装置还包括:删除单元。接收单元,还用于接收目标接收端通过消息服务器发送的取消请求,取消请求用于请求删除包括有目标接收端的地址的对应关系。删除单元,用于根据取消请求,从关键词提醒原则中删除目标接收端的地址、目标关键词和提醒接收端的地址的对应关系。With reference to the second aspect and the above possible implementation manner, in another possible implementation manner, the message reminding apparatus further includes: a deletion unit. The receiving unit is further configured to receive a cancellation request sent by the target receiver through the message server, where the cancellation request is used to request to delete the correspondence including the address of the target receiver. The deletion unit is used for deleting the correspondence between the address of the target recipient, the target keyword and the address of the reminder recipient from the keyword reminder principle according to the cancellation request.
结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,确定单元,具体用于:确定消息包含目标关键词中的任意一个;或者,确定消息包含全部的目标关键词。With reference to the second aspect and the above possible implementation manner, in another possible implementation manner, the determining unit is specifically configured to: determine that the message contains any one of the target keywords; or, determine that the message contains all the target keywords.
具体的实现方式可以参考第一方面或第一方面的可能的实现方式提供的消息提醒方法中消息提醒装置的行为功能。For a specific implementation manner, reference may be made to the behavior function of the message alerting device in the message alerting method provided in the first aspect or possible implementation manners of the first aspect.
第三方面,提供一种消息提醒装置,该消息提醒装置包括:至少一个处理器、存储器、通信接口和通信总线。处理器与存储器、通信接口通过通信总线连接,存储器用于存储计算机执行指令,当消息提醒装置运行时,处理器执行存储器存储的计算机执行指令,以使消息提醒装置执行如第一方面或第一方面的可能的实现方式中任意一项的消息提醒方法。In a third aspect, a message reminder device is provided, the message reminder device includes: at least one processor, a memory, a communication interface and a communication bus. The processor is connected to the memory and the communication interface through a communication bus, and the memory is used to store the computer-executed instructions. When the message reminding device is running, the processor executes the computer-executed instructions stored in the memory, so that the message reminding device executes the first aspect or the first. The message reminding method of any one of the possible implementation manners of the aspect.
第四方面,提供一种计算机存储介质,其上存储有计算机执行指令,当计算机执行指令在消息提醒装置上运行时,使得消息提醒装置执行如第一方面或第一方面的可能的实现方式中任意一项的消息提醒方法。In a fourth aspect, a computer storage medium is provided, on which computer-executable instructions are stored, and when the computer-executed instructions are run on a message reminder device, the message reminder device executes the first aspect or a possible implementation manner of the first aspect. Any message reminder method.
本发明提供的消息提醒方法,消息提醒装置在接收到包括有目标接收端的地址的消息后,获取与目标接收端的地址对应的目标关键词,将消息与目标关键词进行匹配,确定消息满足提醒条件,获取目标关键词对应的提醒接收端的地址,向消息服务器发送处理结果,该处理结果包括:提醒接收端的地址,以及消息满足提醒条件的指示信息,消息服务器便可以向提醒接收端发送提醒消息,向目标接收端发送消息。这样,通过由消息提醒装置对消息进行处理,在该消息满足提醒条件时,向消息服务器发送处理结果,由消息服务器向提醒接收端发送提醒消息,不仅实现了对目标接收端接收的所有消息的提醒处理,且实现了对第三方用户,即提醒接收端的消息提醒,使得提醒接收端用户能够根据提醒消息对目标接收端用户进行说服,防止目标接收端用户受到不法分子的诱导。In the message reminder method provided by the present invention, after receiving the message including the address of the target recipient, the message reminder device obtains the target keyword corresponding to the address of the target recipient, matches the message with the target keyword, and determines that the message satisfies the reminder condition , obtain the address of the reminder receiver corresponding to the target keyword, and send the processing result to the message server, where the processing result includes: the address of the reminder recipient, and the indication information that the message satisfies the reminder condition, and the message server can send the reminder message to the reminder recipient, Send a message to the target recipient. In this way, by processing the message by the message reminder device, when the message satisfies the reminder condition, the processing result is sent to the message server, and the message server sends the reminder message to the reminder receiver, which not only realizes all messages received by the target receiver. Reminder processing, and realizes the message reminder to the third-party user, that is, the reminder recipient, so that the reminder recipient user can persuade the target recipient user according to the reminder message, preventing the target recipient user from being induced by criminals.
附图说明Description of drawings
图1为本发明实施例提供的一种可以应用本发明实施例的系统架构的简化示意图;FIG. 1 is a simplified schematic diagram of a system architecture to which an embodiment of the present invention can be applied according to an embodiment of the present invention;
图2为本发明实施例提供的一种消息提醒装置的组成示意图;FIG. 2 is a schematic diagram of the composition of a message reminder device provided by an embodiment of the present invention;
图3为本发明实施例提供的一种消息提醒方法的流程图;3 is a flowchart of a message reminder method provided by an embodiment of the present invention;
图4为本发明实施例提供的另一种消息提醒方法的流程图;4 is a flowchart of another message reminder method provided by an embodiment of the present invention;
图5为本发明实施例提供的另一种消息提醒装置的组成示意图;5 is a schematic diagram of the composition of another message reminder device provided by an embodiment of the present invention;
图6为本发明实施例提供的另一种消息提醒装置的组成示意图;6 is a schematic diagram of the composition of another message reminder device provided by an embodiment of the present invention;
图7为本发明实施例提供的另一种消息提醒装置的组成示意图。FIG. 7 is a schematic diagram of the composition of another message reminding apparatus according to an embodiment of the present invention.
具体实施方式Detailed ways
本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "system" and "network" are often used interchangeably herein. The term "and/or" in this article is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, and A and B exist independently B these three cases. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.
图1为本发明实施例提供的一种可以应用本发明实施例的系统架构的简化示意图,如图1所示,该系统架构可以包括:发送端11、消息服务器12、消息提醒装置13、目标接收端14和提醒接收端15。FIG. 1 is a simplified schematic diagram of a system architecture to which an embodiment of the present invention can be applied provided by an embodiment of the present invention. As shown in FIG. 1 , the system architecture may include: a sender 11 , a message server 12 , a message reminder device 13 , a target The receiving end 14 and the reminder receiving end 15.
其中,发送端11向消息服务器12发送消息,该消息中包括目标接收端14的地址。消息服务器12向消息提醒装置13发送该消息,消息提醒装置13将该消息和预存的目标接收端14的地址对应的目标关键词进行匹配,若确定该消息满足提醒条件,则向消息服务器12发送包括有提醒接收端15的地址,以及消息满足提醒条件的指示信息的处理结果。消息服务器12向提醒接收端15发送提醒消息,向目标接收端14发送该消息。The sender 11 sends a message to the message server 12 , and the message includes the address of the target receiver 14 . The message server 12 sends the message to the message reminder device 13, and the message reminder device 13 matches the message with the target keyword corresponding to the address of the pre-stored target receiver 14. If it is determined that the message satisfies the reminder condition, it sends the message to the message server 12. It includes the address of the reminder receiver 15 and the processing result of the indication information that the message satisfies the reminder condition. The message server 12 sends a reminder message to the reminder receiver 15 and sends the message to the target receiver 14 .
发送端11,指消息发送的主体,发送端11可以为应用对应的服务器,或者用户使用的终端。The sender 11 refers to the subject of message sending, and the sender 11 may be a server corresponding to an application or a terminal used by a user.
消息服务器12,用于将发送端11发送的消息转发至目标接收端14,还用于接收消息提醒装置13发送的处理结果,若根据处理结果确定消息满足提醒条件,则向提醒接收端15发送提醒消息。The message server 12 is used for forwarding the message sent by the sending end 11 to the target receiving end 14, and is also used for receiving the processing result sent by the message reminding device 13. If it is determined according to the processing result that the message meets the reminding condition, it is sent to the reminding receiving end 15. Alert message.
消息提醒装置13,用于存储目标接收端14的地址、目标关键词、提醒接收端15的对应关系,并根据该对应关系对消息进行处理,判断该消息是否满足提醒条件,且根据判断结果向消息服务器12发送处理结果。The message reminding device 13 is used to store the address of the target receiving end 14, the target keyword, and the corresponding relationship of the reminding receiving end 15, and process the message according to the corresponding relationship, judge whether the message satisfies the reminding condition, and send the message to the message according to the judgment result. The message server 12 sends the processing result.
目标接收端14,指的是消息接收的主体,以及用户设置提醒服务、设置取消提醒服务的主体。The target receiving end 14 refers to the subject of message reception, and the subject of the user setting reminder service and setting cancellation reminder service.
提醒接收端15,是提醒消息的接收主体。例如,某用户使用的终端为提醒接收端,其可以在父亲使用的终端,即目标接收端上进行提醒服务的设置。The reminder receiver 15 is the main body of the reminder message. For example, the terminal used by a user is a reminder receiver, and the reminder service can be set on the terminal used by the father, that is, the target receiver.
图2为本发明实施例提供的一种消息提醒装置的组成示意图,如图2所示,该消息提醒装置可以包括:至少一个处理器21、存储器22、通信接口23和通信总线24。FIG. 2 is a schematic diagram of the composition of a message reminder device provided by an embodiment of the present invention. As shown in FIG. 2 , the message reminder device may include: at least one processor 21 , a memory 22 , a communication interface 23 and a communication bus 24 .
其中,处理器21是消息提醒装置的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器21是一个中央处理器(central processing unit,CPU),也可以是特定集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路,例如:一个或多个数字信号处理器(digitalsignal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gatearray,FPGA)。Wherein, the processor 21 is the control center of the message reminder device, which may be one processor, or may be a general term for multiple processing elements. For example, the processor 21 is a central processing unit (CPU), may also be an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention , for example: one or more digital signal processors (digital signal processors, DSP), or, one or more field programmable gate arrays (field programmable gate array, FPGA).
在具体的实现中,作为一种实施例,处理器21可以包括一个或多个CPU,例如图2中所示的CPU0和CPU1。且,作为一种实施例,消息提醒装置可以包括多个处理器,例如图2中所示的处理器21和处理器25。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the processor 21 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 2 . And, as an embodiment, the message reminding apparatus may include multiple processors, such as the processor 21 and the processor 25 shown in FIG. 2 . Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
存储器22可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electricallyerasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器22可以是独立存在,通过通信总线24与处理器21相连接。存储器22也可以和处理器21集成在一起。The memory 22 may be read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (RAM), or other type of static storage device that can store information and instructions It can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disk storage, optical disk storage ( including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being stored by a computer any other medium taken, but not limited to this. The memory 22 may exist independently and is connected to the processor 21 through a communication bus 24 . The memory 22 may also be integrated with the processor 21 .
在具体的实现中,存储器22,用于存储本发明中的数据和执行本发明的软件程序。处理器21可以通过运行或执行存储在存储器22内的软件程序,以及调用存储在存储器22内的数据,执行消息提醒装置的各种功能。In a specific implementation, the memory 22 is used to store the data in the present invention and execute the software program of the present invention. The processor 21 can execute various functions of the message reminder device by running or executing software programs stored in the memory 22 and calling data stored in the memory 22 .
通信接口23,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)、消息服务器等。通信接口23可以包括接收单元实现接收功能,以及发送单元实现发送功能。The communication interface 23, using any transceiver-like device, is used to communicate with other devices or communication networks, such as radio access network (RAN), wireless local area networks (WLAN), message server, etc. . The communication interface 23 may include a receiving unit to implement a receiving function, and a transmitting unit to implement a transmitting function.
通信总线24,可以是工业标准体系结构(industry standard architecture,ISA)总线、外部设备互连(peripheral component interconnect,PCI)总线或扩展工业标准体系结构(extended industry standard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图2中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus 24 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 2, but it does not mean that there is only one bus or one type of bus.
为了实现对终端接收的所有消息的提醒,且实现对第三方用户的消息提醒,本发明实施例提供了一种消息提醒方法,如图3所示,该方法可以包括:In order to realize the reminder of all messages received by the terminal, and to realize the message reminder to third-party users, an embodiment of the present invention provides a message reminder method. As shown in FIG. 3 , the method may include:
301、发送端向消息服务器发送消息。301. The sender sends a message to a message server.
其中,该消息中包括目标接收端的地址。当发送端为应用对应的服务器时,消息可以为应用软件推送的消息。当发送端为终端时,消息可以为即时通讯应用的某登录用户发送的消息,也可以为终端所属号码发出的短消息。Wherein, the message includes the address of the target receiver. When the sender is a server corresponding to the application, the message may be a message pushed by the application software. When the sender is a terminal, the message may be a message sent by a logged-in user of the instant messaging application, or a short message sent by a number to which the terminal belongs.
302、消息服务器接收发送端发送的消息。302. The message server receives the message sent by the sender.
303、消息服务器向消息提醒装置发送消息。303. The message server sends a message to the message reminder device.
304、消息提醒装置接收消息服务器发送的消息。304. The message reminding apparatus receives the message sent by the message server.
305、消息提醒装置根据预存的消息接收端的地址与关键词的对应关系,获取与目标接收端的地址对应的目标关键词。305. The message reminding apparatus acquires the target keyword corresponding to the address of the target receiver according to the pre-stored correspondence between the address of the message receiver and the keyword.
其中,消息提醒装置在接收到消息之后,可以根据目标接收端的地址查找预存的关键词提醒原则,该关键词提醒原则中存储有消息接收端的地址与关键词的对应关系,从而获取与目标接收端的地址对应的目标关键词,目标关键词包括至少一个关键词。Wherein, after receiving the message, the message reminder device can search for a pre-stored keyword reminder principle according to the address of the target receiver, and the keyword reminder principle stores the correspondence between the address of the message receiver and the keyword, so as to obtain the information about the target receiver. The target keyword corresponding to the address, and the target keyword includes at least one keyword.
306、消息提醒装置将消息与目标关键词进行匹配,确定消息满足提醒条件。306. The message reminding device matches the message with the target keyword, and determines that the message satisfies the reminding condition.
其中,消息提醒装置在获取到目标关键词之后,可以将步骤304接收到的消息与目标关键词进行匹配。如果确定该消息包含目标关键词中的任意一个,则确定该消息满足提醒条件,否则不满足提醒条件。或者,如果确定该消息包含全部的目标关键词,则确定消息满足提醒条件,否则不满足提醒条件。Wherein, after acquiring the target keyword, the message reminding device may match the message received in step 304 with the target keyword. If it is determined that the message contains any one of the target keywords, it is determined that the message satisfies the reminder condition; otherwise, the reminder condition is not satisfied. Or, if it is determined that the message contains all the target keywords, it is determined that the message satisfies the reminder condition, otherwise it does not meet the reminder condition.
307、消息提醒装置获取目标关键词对应的提醒接收端的地址。307. The message reminder device acquires the address of the reminder receiver corresponding to the target keyword.
其中,提醒接收端为除目标接收端外的接收端。The reminder receiver is a receiver other than the target receiver.
需要说明的是,在步骤301之前,用户可以在目标接收端上进行消息提醒服务的设置,包括关键词的设置和提醒接收端的设置。设置完成后,目标接收端可以经由消息服务器向消息提醒装置发送提醒请求,该提醒请求中包括目标接收端的地址、目标关键词和提醒接收端的地址,消息提醒装置便可以根据提醒请求,在关键词提醒原则中保存目标接收端的地址、目标关键词和提醒接收端的地址这三者的对应关系。例如,用户A可以在父亲的手机(目标接收端)上设置关键词:“转账”、“促销”、“基金”,并将提醒接收端设置为用户A使用的手机,这样父亲的手机接收到包含上述关键词的消息时,用户A的手机能够接收到提醒消息。It should be noted that, before step 301, the user can set the message reminder service on the target receiving end, including the setting of keywords and the setting of the reminder receiving end. After the setting is completed, the target recipient can send a reminder request to the message reminder device via the message server, and the reminder request includes the address of the target recipient, the target keyword and the address of the reminder recipient, and the message reminder device can be based on the reminder request. The correspondence between the address of the target recipient, the target keyword and the address of the reminder recipient is stored in the reminder principle. For example, user A can set keywords on his father's mobile phone (target receiver): "transfer", "promotion", "fund", and set the reminder receiver as the mobile phone used by user A, so that the father's mobile phone receives When a message contains the above keywords, user A's mobile phone can receive a reminder message.
308、消息提醒装置向消息服务器发送处理结果。308. The message reminding apparatus sends the processing result to the message server.
其中,在步骤306中如果消息满足提醒条件,则消息提醒装置向消息服务器发送包括有提醒接收端的地址,以及消息满足提醒条件的指示信息的处理结果。如果消息不满足提醒条件,则消息提醒装置向消息服务器发送包括有消息不满足提醒条件的指示信息的处理结果。Wherein, in step 306, if the message satisfies the reminder condition, the message reminder device sends to the message server the processing result including the address of the reminder recipient and the indication information that the message satisfies the reminder condition. If the message does not meet the reminder condition, the message reminder device sends a processing result including the indication information that the message does not meet the reminder condition to the message server.
309、消息服务器接收消息提醒装置发送的处理结果。309. The message server receives the processing result sent by the message reminder device.
其中,消息服务器在接收到处理结果后,如果处理结果中包括消息满足提醒条件的指示信息,则执行以下步骤310和步骤311。如果处理结果中包括消息不满足提醒条件的指示信息,则执行以下步骤311。Wherein, after receiving the processing result, the message server executes the following steps 310 and 311 if the processing result includes indication information that the message satisfies the reminder condition. If the processing result includes indication information that the message does not meet the reminder condition, the following step 311 is performed.
310、消息服务器向提醒接收端发送提醒消息。310. The message server sends a reminder message to the reminder receiver.
311、消息服务器向目标接收端发送消息。311. The message server sends a message to the target receiving end.
进一步的,本发明实施例中还可以设置取消消息提醒服务。具体的,如图4所示,还可以包括:Further, in this embodiment of the present invention, a cancellation message reminder service may also be set. Specifically, as shown in Figure 4, it may also include:
312、目标接收端向消息服务器发送取消请求。312. The target receiving end sends a cancellation request to the message server.
其中,取消请求用于请求删除包括有目标接收端的地址的对应关系。The cancellation request is used for requesting to delete the corresponding relationship including the address of the target receiving end.
313、消息服务器接收目标接收端发送的取消请求。313. The message server receives the cancellation request sent by the target receiving end.
314、消息服务器向消息提醒装置发送取消请求。314. The message server sends a cancellation request to the message reminder device.
315、消息提醒装置接收消息服务器发送的取消请求。315. The message reminding apparatus receives the cancellation request sent by the message server.
316、消息提醒装置根据取消请求,从关键词提醒原则中删除目标接收端的地址、目标关键词和提醒接收端的地址的对应关系。316. The message reminding device deletes the correspondence between the address of the target recipient, the target keyword and the address of the reminder recipient from the keyword reminder principle according to the cancellation request.
本发明提供的消息提醒方法,消息提醒装置在接收到包括有目标接收端的地址的消息后,获取与目标接收端的地址对应的目标关键词,将消息与目标关键词进行匹配,确定消息满足提醒条件,获取目标关键词对应的提醒接收端的地址,向消息服务器发送处理结果,该处理结果包括:提醒接收端的地址,以及消息满足提醒条件的指示信息,消息服务器便可以向提醒接收端发送提醒消息,向目标接收端发送消息。这样,通过由消息提醒装置对消息进行处理,在该消息满足提醒条件时,向消息服务器发送处理结果,由消息服务器向提醒接收端发送提醒消息,不仅实现了对目标接收端接收的所有消息的提醒处理,且实现了对第三方用户,即提醒接收端的消息提醒,使得提醒接收端用户能够根据提醒消息对目标接收端用户进行说服,防止目标接收端用户受到不法分子的诱导。In the message reminder method provided by the present invention, after receiving the message including the address of the target recipient, the message reminder device obtains the target keyword corresponding to the address of the target recipient, matches the message with the target keyword, and determines that the message satisfies the reminder condition , obtain the address of the reminder receiver corresponding to the target keyword, and send the processing result to the message server, where the processing result includes: the address of the reminder recipient, and the indication information that the message satisfies the reminder condition, and the message server can send the reminder message to the reminder recipient, Send a message to the target recipient. In this way, by processing the message by the message reminder device, when the message satisfies the reminder condition, the processing result is sent to the message server, and the message server sends the reminder message to the reminder receiver, which not only realizes all messages received by the target receiver. Reminder processing, and realizes the message reminder to the third-party user, that is, the reminder recipient, so that the reminder recipient user can persuade the target recipient user according to the reminder message, preventing the target recipient user from being induced by criminals.
上述主要从消息提醒装置的角度对本发明实施例提供的方案进行了介绍。可以理解的是,消息提醒装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present invention from the perspective of a message reminding device. It can be understood that, in order to realize the above-mentioned functions, the message reminding apparatus includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present invention can be implemented in hardware or a combination of hardware and computer software in conjunction with the algorithm steps of the examples described in the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
本发明实施例可以根据上述方法示例对消息提醒装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present invention, the message reminding device can be divided into functional modules according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiment of the present invention is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图5示出了上述实施例中涉及的消息提醒装置的另一种可能的组成示意图,如图5所示,该消息提醒装置可以包括:接收单元41、获取单元42、确定单元43和发送单元44。In the case where each functional module is divided according to each function, FIG. 5 shows another possible composition diagram of the message reminder device involved in the above embodiment. As shown in FIG. 5 , the message reminder device may include: receiving unit 41 , acquiring unit 42 , determining unit 43 and sending unit 44 .
其中,接收单元41,用于支持消息提醒装置执行图3所示的消息提醒方法中的步骤304,图4所示的消息提醒方法中的步骤315。The receiving unit 41 is configured to support the message reminding device to perform step 304 in the message reminding method shown in FIG. 3 and step 315 in the message reminding method shown in FIG. 4 .
获取单元42,用于支持消息提醒装置执行图3所示的消息提醒方法中的步骤305、步骤307。The obtaining unit 42 is configured to support the message reminding apparatus to perform steps 305 and 307 in the message reminding method shown in FIG. 3 .
确定单元43,用于支持消息提醒装置执行图3所示的消息提醒方法中的步骤306。The determining unit 43 is configured to support the message reminding apparatus to perform step 306 in the message reminding method shown in FIG. 3 .
发送单元44,用于支持消息提醒装置执行图3所示的消息提醒方法中的步骤308。The sending unit 44 is configured to support the message reminding apparatus to perform step 308 in the message reminding method shown in FIG. 3 .
在本发明实施例中,进一步的,如图6所示,消息提醒装置还可以包括:存储单元45和删除单元46。In the embodiment of the present invention, further, as shown in FIG. 6 , the message reminding apparatus may further include: a storage unit 45 and a deletion unit 46 .
存储单元45,用于支持消息提醒装置执行图3所示的消息提醒方法中的在关键词提醒原则中保存目标接收端的地址、目标关键词和提醒接收端的地址的对应关系。The storage unit 45 is used to support the message reminder device to perform the keyword reminder principle in the message reminder method shown in FIG.
删除单元46,用于支持消息提醒装置执行图4所示的消息提醒方法中的步骤316。The deletion unit 46 is configured to support the message reminding apparatus to perform step 316 in the message reminding method shown in FIG. 4 .
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that, all relevant contents of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here.
本发明实施例提供的消息提醒装置,用于执行上述消息提醒方法,因此可以达到与上述消息提醒方法相同的效果。The message reminding device provided in the embodiment of the present invention is used to execute the above-mentioned message reminding method, and thus can achieve the same effect as the above-mentioned message reminding method.
在采用集成的单元的情况下,图7示出了上述实施例中所涉及的消息提醒装置的另一种可能的组成示意图。如图7所示,该消息提醒装置包括:处理模块51、通信模块52和存储模块53。In the case of using an integrated unit, FIG. 7 shows another possible composition diagram of the message reminding device involved in the above embodiment. As shown in FIG. 7 , the message reminder device includes: a processing module 51 , a communication module 52 and a storage module 53 .
处理模块51用于对消息提醒装置的动作进行控制管理,例如,处理模块51用于支持消息提醒装置执行图3中的步骤305、步骤306、步骤307,图4中的步骤316,和/或用于本文所描述的技术的其它过程。通信模块52用于支持消息提醒装置与其他网络实体,如消息服务器的通信。例如,通信模块52用于支持消息提醒装置执行图3中的步骤304、步骤308,图4中的步骤315。存储模块53,用于存储消息提醒装置的程序代码和数据。The processing module 51 is used to control and manage the actions of the message reminder device, for example, the processing module 51 is used to support the message reminder device to perform steps 305, 306, 307 in FIG. 3, step 316 in FIG. 4, and/or Additional procedures for the techniques described herein. The communication module 52 is used to support the communication between the message reminding device and other network entities, such as a message server. For example, the communication module 52 is configured to support the message reminding apparatus to perform steps 304 and 308 in FIG. 3 and step 315 in FIG. 4 . The storage module 53 is used for storing program codes and data of the message reminding device.
其中,处理模块51可以是图2中的处理器。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块52可以是图2中的通信接口。存储模块53可以是图2中的存储器。The processing module 51 may be the processor in FIG. 2 . It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 52 may be the communication interface in FIG. 2 . The storage module 53 may be the memory in FIG. 2 .
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be Incorporation may either be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or may be distributed to multiple different places . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention are essentially or contribute to the prior art, or all or part of the technical solutions may be embodied in the form of software products, and the software products are stored in a storage medium Among them, several instructions are included to cause a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何在本发明揭露的技术范围内的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto, and any changes or substitutions within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention. . Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910458463.5ACN110247839A (en) | 2019-05-29 | 2019-05-29 | A kind of message prompt method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910458463.5ACN110247839A (en) | 2019-05-29 | 2019-05-29 | A kind of message prompt method and device |
| Publication Number | Publication Date |
|---|---|
| CN110247839Atrue CN110247839A (en) | 2019-09-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910458463.5APendingCN110247839A (en) | 2019-05-29 | 2019-05-29 | A kind of message prompt method and device |
| Country | Link |
|---|---|
| CN (1) | CN110247839A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103369486A (en)* | 2013-08-01 | 2013-10-23 | 上海粱江通信系统股份有限公司 | System and method for preventing fraud SMS (Short message Service) message |
| CN103458412A (en)* | 2012-06-04 | 2013-12-18 | 百度在线网络技术(北京)有限公司 | System and method for preventing phone fraud, mobile terminal and cloud terminal analysis server |
| CN104506382A (en)* | 2014-12-17 | 2015-04-08 | 百度在线网络技术(北京)有限公司 | Message monitoring method and system |
| CN105101213A (en)* | 2015-06-26 | 2015-11-25 | 小米科技有限责任公司 | Information processing method and device |
| CN106911845A (en)* | 2017-02-21 | 2017-06-30 | 北京小米移动软件有限公司 | Incoming call reminding method and device |
| US20170371933A1 (en)* | 2008-12-10 | 2017-12-28 | Gartner, Inc. | Implicit profile for use with recommendation engine and/or question router |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170371933A1 (en)* | 2008-12-10 | 2017-12-28 | Gartner, Inc. | Implicit profile for use with recommendation engine and/or question router |
| CN103458412A (en)* | 2012-06-04 | 2013-12-18 | 百度在线网络技术(北京)有限公司 | System and method for preventing phone fraud, mobile terminal and cloud terminal analysis server |
| CN103369486A (en)* | 2013-08-01 | 2013-10-23 | 上海粱江通信系统股份有限公司 | System and method for preventing fraud SMS (Short message Service) message |
| CN104506382A (en)* | 2014-12-17 | 2015-04-08 | 百度在线网络技术(北京)有限公司 | Message monitoring method and system |
| CN105101213A (en)* | 2015-06-26 | 2015-11-25 | 小米科技有限责任公司 | Information processing method and device |
| CN106911845A (en)* | 2017-02-21 | 2017-06-30 | 北京小米移动软件有限公司 | Incoming call reminding method and device |
| Publication | Publication Date | Title |
|---|---|---|
| CN103763690B (en) | Detect the method and apparatus that pseudo-base station sends short message to mobile terminal | |
| CN110839078B (en) | Proxy push | |
| WO2016034063A1 (en) | Method and client for processing malicious short message based on pseudo base station | |
| US10419377B2 (en) | Method and system for categorizing instant messages | |
| KR20180072888A (en) | Techniques for communicating notifications to subscribers | |
| CN103853815A (en) | Searchable peer-to-peer system via instant messaging based topic indexing | |
| CN114679745A (en) | Method, device, equipment and storage medium for terminating wireless sensing measurement process | |
| WO2018068643A1 (en) | File transmission method and apparatus | |
| JP4973912B2 (en) | Mobile terminal, access restriction method | |
| US20030088705A1 (en) | Electronic mail system, mail server and mail terminal | |
| US20230336509A1 (en) | Efficiently handling retained messages in a system with bridged message brokers | |
| CN116016653A (en) | Information pushing method and device of blockchain, electronic equipment and storage medium | |
| KR101243306B1 (en) | Push notification system and method for providing push notification | |
| CN106488422A (en) | A kind of information processing method, mobile terminal, netscape messaging server Netscape | |
| US8428571B2 (en) | Uninterrupted usage and access of physically unreachable handheld device | |
| CN110247839A (en) | A kind of message prompt method and device | |
| CN101662486B (en) | Method and system for subscribing information | |
| CN110213158A (en) | A kind of message screening method and device | |
| KR20030086548A (en) | A method and a system for filtering spam short messages | |
| CN109348053B (en) | Telephone number mark processing method, server, terminal device and computer readable storage medium | |
| CN114157622A (en) | Method, device, server and storage medium for adding friends | |
| JP7018808B2 (en) | Email monitoring device and method | |
| CN101959120A (en) | Communication information query method and device | |
| KR100597808B1 (en) | Method and apparatus for providing spam short message blocking service | |
| US20150304261A1 (en) | Systems and methods for echoing or redirecting electronic messages in a conversation |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20190917 |