[go: up one dir, main page]

CN109120498B - Method and device for sending information - Google Patents

Method and device for sending information Download PDF

Info

Publication number
CN109120498B
CN109120498B CN201710482292.0A CN201710482292A CN109120498B CN 109120498 B CN109120498 B CN 109120498B CN 201710482292 A CN201710482292 A CN 201710482292A CN 109120498 B CN109120498 B CN 109120498B
Authority
CN
China
Prior art keywords
information
matching
sent
classification
label
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.)
Expired - Fee Related
Application number
CN201710482292.0A
Other languages
Chinese (zh)
Other versions
CN109120498A (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.)
Miaomiaoce Technology Beijing Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Miaomiaoce Technology Beijing Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Miaomiaoce Technology Beijing Co ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Miaomiaoce Technology Beijing Co ltd
Priority to CN201710482292.0A priority Critical patent/CN109120498B/en
Publication of CN109120498A publication Critical patent/CN109120498A/en
Application granted granted Critical
Publication of CN109120498B publication Critical patent/CN109120498B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/08Annexed information, e.g. attachments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure provides a method and an apparatus for sending information, wherein the method includes: determining classification information of information to be sent and label information of a target contact person; matching the classification information with the label information to obtain a matching result; and if the matching result indicates that the information is successfully matched, sending the information to be sent to the target contact person. By adopting the method for sending the information, the user can be prevented from sending the information to wrong contacts in advance, and the terminal user experience is improved.

Description

发送信息的方法及装置Method and device for sending information

技术领域technical field

本公开涉及计算机通信技术领域,尤其涉及一种发送信息的方法及装置。The present disclosure relates to the field of computer communication technologies, and in particular, to a method and apparatus for sending information.

背景技术Background technique

随着计算机通信技术的发展,即时通信应用比如米聊、微信等已成为人们日常通信的重要工具,其信息发送的即时性给人们带来了极好的通信体验。With the development of computer communication technology, instant messaging applications such as Michat and WeChat have become important tools for people's daily communication, and the immediacy of information sending brings people an excellent communication experience.

然而上述即时通信工具也存在两面性,当信息发送方发送了错误信息或者误将信息发错对象时,存在对已发送信息修改困难的问题,信息接收方查看到上述误发信息后,可能导致对发送方的不良评价,或者导致秘密信息泄漏等不良影响。However, the above instant messaging tools also have two sides. When the information sender sends the wrong information or sends the information to the wrong object, it is difficult to modify the sent information. Bad evaluation of the sender, or lead to adverse effects such as leakage of secret information.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本公开提供一种发送信息的方法及装置,可以有效预防信息发送方误将信息发送给不相关联系人,减少因信息误发对信息发送方造成的不良影响。In view of this, the present disclosure provides a method and device for sending information, which can effectively prevent the information sender from sending information to irrelevant contacts by mistake, and reduce the adverse impact on the information sender caused by the wrong sending of information.

根据本公开实施例的第一方面,提供了一种发送信息的方法,所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a method for sending information, the method comprising:

确定待发送信息的分类信息和目标联系人的标签信息;Determine the classification information of the information to be sent and the label information of the target contact;

将所述分类信息与所述标签信息进行匹配,获得匹配结果;Matching the classification information with the label information to obtain a matching result;

若所述匹配结果指示信息匹配成功,将所述待发送信息发送给所述目标联系人。If the matching result indicates that the information is successfully matched, the information to be sent is sent to the target contact.

可选地,所述方法还包括:Optionally, the method also includes:

若所述匹配结果指示信息匹配失败,输出用于提醒用户审核联系人是否正确的提醒信息。If the matching result indicates that information matching fails, output reminding information for reminding the user to check whether the contact is correct.

可选地,所述待发送信息为待发送文件;Optionally, the information to be sent is a file to be sent;

所述确定待发送信息的分类信息,包括:Described determining the classification information of the information to be sent, including:

从所述待发送文件的预设属性字段中读取所述分类信息;或者,Read the classification information from the preset attribute field of the file to be sent; or,

实时确定所述待发送文件的分类信息。The classification information of the file to be sent is determined in real time.

可选地,所述确定目标联系人的标签信息,包括:Optionally, the determining the tag information of the target contact includes:

从所述目标联系人的名片信息中获取标签信息;或者,Obtain label information from the business card information of the target contact; or,

根据当前用户与所述目标联系人的历史通信记录,确定所述目标联系人的标签信息。The tag information of the target contact is determined according to the historical communication record between the current user and the target contact.

可选地,所述将所述分类信息与所述标签信息进行匹配,获得匹配结果,包括:Optionally, the matching of the classification information with the label information to obtain a matching result includes:

确定所述待发送信息的重要程度类别;determining the importance category of the information to be sent;

根据所述重要程度类别确定目标匹配模式;determining a target matching mode according to the importance category;

按照所述目标匹配模式将所述分类信息与所述标签信息进行匹配,获得匹配结果。The classification information and the label information are matched according to the target matching mode to obtain a matching result.

可选地,所述将分类信息与所述标签信息进行匹配,获得匹配结果,包括:Optionally, the matching of the classification information and the label information to obtain a matching result includes:

确定所述分类信息与所述标签信息之间的匹配度;determining the degree of matching between the classification information and the label information;

若所述匹配度超过预设阈值,确定信息匹配成功;If the matching degree exceeds a preset threshold, it is determined that the information is successfully matched;

若所述匹配度不超过所述预设阈值,确定信息匹配失败。If the matching degree does not exceed the preset threshold, it is determined that the information matching fails.

根据本公开实施例的第二方面,提供了一种发送信息的装置,所述装置包括:According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for sending information, the apparatus comprising:

信息确定模块,被配置为确定待发送信息的分类信息和目标联系人的标签信息;an information determination module, configured to determine the classification information of the information to be sent and the label information of the target contact;

匹配模块,被配置为将所述分类信息与所述标签信息进行匹配,获得匹配结果;a matching module, configured to match the classification information with the label information to obtain a matching result;

发送模块,被配置为在所述匹配结果指示信息匹配成功的情况下,将所述待发送信息发送给所述目标联系人。The sending module is configured to send the information to be sent to the target contact when the matching result indicates that the information is successfully matched.

可选的,所述装置还包括:Optionally, the device also includes:

提醒模块,被配置为在所述匹配结果指示信息匹配失败的情况下,输出用于提醒用户审核联系人是否正确的提醒信息。The reminding module is configured to output reminding information for reminding the user to check whether the contact is correct when the matching result indicates that information matching fails.

可选的,所述待发送信息为待发送文件;Optionally, the information to be sent is a file to be sent;

所述信息确定模块包括:分类信息确定子模块;The information determination module includes: a classification information determination submodule;

所述分类信息确定子模块包括:The classification information determination submodule includes:

第一确定单元,被配置为从所述待发送文件的预设属性字段中读取所述分类信息;a first determining unit, configured to read the classification information from a preset attribute field of the file to be sent;

第二确定单元,被配置为实时确定所述待发送文件的分类信息。The second determining unit is configured to determine the classification information of the file to be sent in real time.

可选的,所述信息确定模块包括:标签信息确定子模块;Optionally, the information determination module includes: a label information determination submodule;

所述标签信息确定子模块包括:The label information determination submodule includes:

第一标签确定单元,被配置为从所述目标联系人的名片信息中获取标签信息;a first label determination unit, configured to obtain label information from business card information of the target contact;

第二标签确定单元,被配置为根据当前用户与所述目标联系人的历史通信记录,确定所述目标联系人的标签信息。The second tag determining unit is configured to determine the tag information of the target contact according to the historical communication record between the current user and the target contact.

可选的,所述匹配模块包括:Optionally, the matching module includes:

重要类别确定子模块,被配置为确定所述待发送信息的重要程度类别;an important category determination submodule, configured to determine the importance category of the information to be sent;

模式确定子模块,被配置为根据所述重要程度类别确定目标匹配模式;a pattern determination submodule, configured to determine a target matching pattern according to the importance category;

匹配子模块,被配置为按照所述目标匹配模式将所述分类信息与所述标签信息进行匹配,获得匹配结果。The matching submodule is configured to match the classification information with the label information according to the target matching mode to obtain a matching result.

可选的,所述匹配子模块包括:Optionally, the matching submodule includes:

匹配度确定单元,被配置为确定所述分类信息与所述标签信息之间的匹配度;a matching degree determination unit, configured to determine the matching degree between the classification information and the label information;

第一判定单元,被配置为在所述匹配度超过预设阈值的情况下,确定信息匹配成功;a first determination unit, configured to determine that the information is successfully matched when the degree of matching exceeds a preset threshold;

第二判定单元,被配置为在所述匹配度不超过所述预设阈值的情况下,确定信息匹配失败。The second determination unit is configured to determine that the information matching fails when the matching degree does not exceed the preset threshold.

根据本公开实施例的第三方面,提供了一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述第一方面任一所述方法的步骤。According to a third aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, implements the steps of any one of the methods described in the first aspect above.

根据本公开实施例的第四方面,提供了一种发送信息的装置,包括:According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for sending information, including:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:wherein the processor is configured to:

确定待发送信息的分类信息和目标联系人的标签信息;Determine the classification information of the information to be sent and the label information of the target contact;

将所述分类信息与所述标签信息进行匹配,获得匹配结果;Matching the classification information with the label information to obtain a matching result;

若所述匹配结果指示信息匹配成功,将所述待发送信息发送给所述目标联系人。本公开实施例提供的技术方案可以包括以下有益效果:If the matching result indicates that the information is successfully matched, the information to be sent is sent to the target contact. The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

本公开中,信息发送端在执行信息发送指令之前,可以根据待发送信息的分类信息与指定联系人的标签信息,智能判断待发送文件与指定联系人是否相关;在确定待发送信息与联系人相关的情况下,执行信息发送指令,有效防范用户将信息误发给不相关的联系人,避免因发送错误信息对信息发送方造成不良影响,提高了信息安全度,提升了信息发送的用户体验。In the present disclosure, before executing the information sending instruction, the information sending end can intelligently determine whether the file to be sent is related to the designated contact according to the classification information of the information to be sent and the label information of the designated contact; If relevant, execute information sending instructions to effectively prevent users from sending information by mistake to irrelevant contacts, avoid adverse effects on the information sender due to sending wrong information, improve information security, and improve the user experience of information sending. .

本公开中,在待发送信息的分类信息与联系人的标签信息匹配失败的情况下,可以输出提醒信息,提醒用户审核联系人信息是否正确,使得用户可以及时发现错误联系人,进而及时纠正联系人信息,提高信息安全,提升用户体验。In the present disclosure, in the case where the classification information of the information to be sent fails to match the label information of the contact, reminder information can be output to remind the user to check whether the contact information is correct, so that the user can find the wrong contact in time, and then correct the contact in time information, improve information security, and enhance user experience.

本公开中,还可以采用预设联系人信息提醒界面的方式提醒用户审核联系人信息,并在上述提醒界面中设置有人机交互接口,用于接收用户针对上述提醒信息触发的反馈信息。当接收到确认反馈信息即确认操作信息时,再根据用户触发的发送操作将待发信息发送给指定联系人对应的通信对端,避免对信息的错误拦截。当接收到否认信息时,拒绝执行信息发送指令,尤其是在用户已经触发发送操作的情况下,可以有效拦截信息发送,提高用户终端或应用服务器的智能化程度,提升用户体验。In the present disclosure, a preset contact information reminder interface can also be used to remind the user to review the contact information, and a human-computer interaction interface is set in the reminder interface for receiving feedback information triggered by the user for the reminder information. When the confirmation feedback information is received, that is, the operation information is confirmed, the to-be-sent information is sent to the communication peer corresponding to the designated contact according to the sending operation triggered by the user, so as to avoid wrong interception of the information. When a negative message is received, it refuses to execute the message sending instruction, especially when the user has triggered the sending operation, which can effectively intercept the message sending, improve the intelligence of the user terminal or the application server, and improve the user experience.

本公开中,当待发送信息为事先存储的文件时,用户终端可以事先获取文件的分类信息并存储在该文件的预设属性字段中,以便后续作为待发送信息被调用时,信息发送端快速获取该文件的分类信息,减少信息发送时延。In the present disclosure, when the information to be sent is a file stored in advance, the user terminal can obtain the classification information of the file in advance and store it in the preset attribute field of the file, so that when the information to be sent is subsequently called as the information to be sent, the information sending end can quickly Obtain the classification information of the file to reduce the information sending delay.

本公开中,信息发送端在进行信息匹配之前,可以首先根据待发送信息的重要程度类别确定合适的匹配模式,重要程度越高,匹配条件越严苛,既可以有效防范重要信息的误发又可以合理缩短信息传输时延,进一步提升信息发送端即发送方终端或应用服务器的智能化程度。In the present disclosure, before performing information matching, the information sending end can first determine a suitable matching mode according to the importance category of the information to be sent. The information transmission delay can be reasonably shortened, and the intelligence of the information sender, that is, the sender terminal or the application server, can be further improved.

本公开中,在进行信息匹配时,可以首先确定所述分类信息与所述标签信息之间的匹配度,然后将上述匹配度与预设阈值进行比较,确定信息匹配结果,提高信息匹配效率。In the present disclosure, when performing information matching, the matching degree between the classification information and the label information may be determined first, and then the matching degree is compared with a preset threshold to determine the information matching result, thereby improving the information matching efficiency.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1-1是本公开根据一示例性实施例示出的一种发送信息的应用场景示意图;1-1 is a schematic diagram of an application scenario of sending information according to an exemplary embodiment of the present disclosure;

图1-2是本公开根据一示例性实施例示出的另一种发送信息的应用场景示意图;1-2 are schematic diagrams of another application scenario of sending information according to an exemplary embodiment of the present disclosure;

图2是本公开根据一示例性实施例示出的一种发送信息的方法流程图;FIG. 2 is a flowchart of a method for sending information according to an exemplary embodiment of the present disclosure;

图3是本公开根据一示例性实施例示出的另一种发送信息的方法流程图;3 is a flowchart of another method for sending information according to an exemplary embodiment of the present disclosure;

图4是本公开根据一示例性实施例示出的另一种发送信息的方法流程图;FIG. 4 is a flowchart of another method for sending information according to an exemplary embodiment of the present disclosure;

图5是本公开根据一示例性实施例示出的另一种发送信息的方法流程图;5 is a flowchart of another method for sending information according to an exemplary embodiment of the present disclosure;

图6-1是本公开根据一示例性实施例示出的一种发送信息的应用场景示意图;6-1 is a schematic diagram of an application scenario of sending information according to an exemplary embodiment of the present disclosure;

图6-2是本公开根据一示例性实施例示出的另一种发送信息的应用场景示意图;6-2 is a schematic diagram of another application scenario of sending information according to an exemplary embodiment of the present disclosure;

图7是本公开根据一示例性实施例示出的另一种发送信息的方法流程图;7 is a flowchart of another method for sending information according to an exemplary embodiment of the present disclosure;

图8是本公开根据一示例性实施例示出的一种发送信息的装置框图;8 is a block diagram of an apparatus for sending information according to an exemplary embodiment of the present disclosure;

图9是本公开根据一示例性实施例示出的另一种发送信息的装置框图;FIG. 9 is a block diagram of another apparatus for sending information according to an exemplary embodiment of the present disclosure;

图10是本公开根据一示例性实施例示出的另一种发送信息的装置框图;10 is a block diagram of another apparatus for sending information according to an exemplary embodiment of the present disclosure;

图11是本公开根据一示例性实施例示出的另一种发送信息的装置框图;11 is a block diagram of another apparatus for sending information according to an exemplary embodiment of the present disclosure;

图12是本公开根据一示例性实施例示出的另一种发送信息的装置框图;12 is a block diagram of another apparatus for sending information according to an exemplary embodiment of the present disclosure;

图13是本公开根据一示例性实施例示出的另一种发送信息的装置框图;13 is a block diagram of another apparatus for sending information according to an exemplary embodiment of the present disclosure;

图14是本公开根据一示例性实施例示出的另一种发送信息的装置框图;14 is a block diagram of another apparatus for sending information according to an exemplary embodiment of the present disclosure;

图15是本公开根据一示例性实施例示出的一种用于发送信息的装置的一结构示意图;15 is a schematic structural diagram of an apparatus for sending information according to an exemplary embodiment of the present disclosure;

图16是本公开根据一示例性实施例示出的另一种用于发送信息的装置的一结构示意图。FIG. 16 is a schematic structural diagram of another apparatus for sending information according to an exemplary embodiment of the present disclosure.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various pieces of information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information, without departing from the scope of the present disclosure. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."

参照图1-1、1-2根据一示例性实施例示出的一种发送信息的应用场景示意图,在本公开实施例中,涉及到的执行主体包括:信息发送方的用户终端和信息接收方的用户终端,比如图1-1中的发送方手机100、接收方手机300,还可以包括:应用服务器,如图1-2中的云端服务器200。上述用户终端可以是智能手机、个人电脑、个人数字助理、可穿戴设备如智能手表、智能手环等。上述用户终端中安装有通信应用APP,比如即时通信工具:米聊、微信、QQ等应用软件,也可以是Outlook等邮件收发应用软件;用户终端可以通过内置的通信模块与通信对端建立通信连接,如图1-1所示,或者,通过应用服务器进行信息交互,如图1-2所示。上述应用服务器可以接收通信参与者任一方发送的信息比如文件或会话信息,将上述信息发送给通信对端。本公开实施例中,信息接收方可以是一个或者多个,相应的接收方的用户终端也可以是一个或多个。在具体实现过程中,用户终端、应用服务器各自独立,同时又相互联系,共同实现本公开提供的技术方案。下面结合附图,对本公开提供的发送信息的方法进行详细说明。1-1 and 1-2 are schematic diagrams of an application scenario for sending information according to an exemplary embodiment. In this embodiment of the present disclosure, the involved execution bodies include: a user terminal of an information sender and an information receiver The user terminal, such as the sender's mobile phone 100 and the receiver's mobile phone 300 in Fig. 1-1, may also include: an application server, such as the cloud server 200 in Fig. 1-2. The above-mentioned user terminal may be a smart phone, a personal computer, a personal digital assistant, a wearable device such as a smart watch, a smart bracelet, and the like. A communication application APP is installed in the above-mentioned user terminal, such as an instant communication tool: application software such as Michat, WeChat, QQ, etc., or mail sending and receiving application software such as Outlook; the user terminal can establish a communication connection with the communication peer through the built-in communication module , as shown in Figure 1-1, or through the application server for information exchange, as shown in Figure 1-2. The above-mentioned application server may receive information such as file or session information sent by any one of the communication participants, and send the above-mentioned information to the communication peer. In this embodiment of the present disclosure, there may be one or more information recipients, and there may also be one or more user terminals of the corresponding recipients. In the specific implementation process, the user terminal and the application server are independent of each other, and at the same time are connected with each other to jointly realize the technical solution provided by the present disclosure. The method for sending information provided by the present disclosure will be described in detail below with reference to the accompanying drawings.

参照图2根据一示例性实施例示出的一种发送信息的方法流程图,应用于信息发送方的用户终端或应用服务器中,上述方法可以包括以下步骤:2 shows a flowchart of a method for sending information according to an exemplary embodiment, applied to a user terminal or application server of an information sender, the above method may include the following steps:

在步骤11中,确定待发送信息的分类信息和目标联系人的标签信息;In step 11, determine the classification information of the information to be sent and the label information of the target contact;

本公开实施例中,上述待发送信息是指发送方准备发送的信息或者处于待发送状态的信息等。In the embodiment of the present disclosure, the above-mentioned information to be sent refers to information that the sender is about to send or information that is in a state to be sent, and the like.

上述信息可以是输入信息或者调用文件。其中,上述输入信息可以是在当前应用的会话界面中输入的文字信息、音频信息等。上述文件可以是从存储介质中调用的文本、音频、视频、多媒体文件等。比如,从本端存储资源中调用的word文档、PDF文件、PPT文件等。The above information can be input information or call file. Wherein, the above-mentioned input information may be text information, audio information, etc. input in the session interface of the current application. The above-mentioned files may be text, audio, video, multimedia files and the like called from the storage medium. For example, word documents, PDF files, PPT files, etc. are called from the local storage resources.

发送方终端可以根据在目标应用比如即时通信应用处于激活状态下,监测到用户触发的一系列动作信息,确定用户当前选中的文件属于用户准备发送的信息,比如,用户触发“附件文件”操作之后,通过插入文件窗口选中的一个word文档。The sender terminal can determine that the file currently selected by the user belongs to the information that the user intends to send according to the information about a series of actions triggered by the user when the target application such as the instant messaging application is active, for example, after the user triggers the "attach file" operation. , a word document selected through the Insert File window.

上述待发送状态是指没有将信息发送给通信对端的状态,例如,可以是用户在触发“发送”按钮之前的状态;也可以是应用服务器在接收到用户触发的发送指令后,还未执行发送指令的状态。The above-mentioned pending state refers to the state in which information is not sent to the communication peer. For example, it may be the state before the user triggers the "Send" button; or the application server has not executed the sending instruction after receiving the sending instruction triggered by the user. The status of the command.

本公开实施例中,在待发送信息属于文件的情况下,可以采用以下任一方式确定待发送文件的分类信息:In the embodiment of the present disclosure, when the information to be sent belongs to a file, the classification information of the file to be sent may be determined in any of the following ways:

第一种方式,从目标文件的预设分类属性字段中读取该文件的分类信息。The first way is to read the classification information of the target file from the preset classification attribute field of the target file.

以word文件为例,每个文件数据中设置有用于描述文件属性信息的预设字段,上述文件属性可以是文档的作者、保存时间等信息,本公开实施例中,上述文件属性还包括:文件的分类信息。该分类信息可以包括一个主分类信息和至少一个子分类信息,其中,上述主分类信息可以是根据文档内容确定的主技术领域,比如通信,上述子分类信息可以是用户终端根据文档关键词确定的上述主技术领域下的具体技术方向,比如,通信领域中的光信息处理技术。Taking a word file as an example, each file data is provided with a preset field for describing file attribute information, and the above-mentioned file attribute may be information such as the author of the document, the storage time, etc. In the embodiment of the present disclosure, the above-mentioned file attribute further includes: file classification information. The classification information may include one main classification information and at least one sub-classification information, wherein the above-mentioned main classification information may be a main technical field determined according to the content of the document, such as communication, and the above-mentioned sub-classification information may be determined by the user terminal according to the document keywords The specific technical direction under the above-mentioned main technical field, for example, the optical information processing technology in the communication field.

也就是说,上述分类信息是预先设置好的文件属性信息。当用户终端确定该文件属于待发送文件时,可以直接从上述预设字段中读取分类信息。That is to say, the above classification information is preset file attribute information. When the user terminal determines that the file belongs to the file to be sent, it can directly read the classification information from the above-mentioned preset field.

第二种方式,实时确定待发送文件的分类信息。In the second method, the classification information of the file to be sent is determined in real time.

仍以待发送文件为word文档为例,发送方用户终端在获取到用户选择的word文档后,若在预设属性字段中没有查找到该文件的分类信息,可以实时根据文档内容确定该文档的分类信息。Still taking the file to be sent as a word document as an example, after acquiring the word document selected by the user, if the user terminal of the sender does not find the classification information of the file in the preset attribute field, it can determine the document content in real time according to the content of the document. Classified information.

在具体确定分类信息的过程中,可以根据文档的名称、文档内容的主题名称等信息确定该文档的主分类信息,比如所属领域;还可以根据文档关键词或语义分析结果确定至少一个子分类信息。In the process of specifically determining the classification information, the main classification information of the document, such as the field to which it belongs, may be determined according to information such as the name of the document, the subject name of the document content, etc.; at least one sub-category information may also be determined according to the document keywords or the results of semantic analysis .

用户终端或应用服务器中可以预置有分类信息数据库,采用智能分析方式或人机交互方式,根据文档内容查询上述分类信息数据库,确定该文档的分类信息。在本公开一实施例中,通过人机交互方式确定分类信息时,如果预置分类信息数据库中不存在准确的预设分类信息,还可以允许用户以自定义方式输入准确的类别信息,并将用户自定义的类别信息存入上述分类信息数据库中,丰富数据库中的可选分类类别,以便在后续确定分类信息时,提高准确性和便利性。A classification information database may be preset in the user terminal or the application server, and the classification information of the document is determined by querying the above classification information database according to the content of the document by adopting an intelligent analysis method or a human-computer interaction method. In an embodiment of the present disclosure, when the classification information is determined through human-computer interaction, if there is no accurate preset classification information in the preset classification information database, the user can also be allowed to input accurate classification information in a custom way, and the The user-defined category information is stored in the above-mentioned classification information database, and the optional classification categories in the database are enriched, so as to improve the accuracy and convenience when the classification information is subsequently determined.

关于确定目标联系人的标签信息,上述联系人的标签信息可以反映联系人与发送方的社会关系,比如可以是联系人的职业信息、所属行业信息、专业信息、与发送方的人物关系等信息。Regarding the determination of the tag information of the target contact, the tag information of the above-mentioned contact may reflect the social relationship between the contact and the sender, for example, the contact's occupational information, industry information, professional information, personal relationship with the sender, etc. .

同理,本公开中,发送方终端也可以采用以下至少两种方式确定目标联系人的标签信息:Similarly, in the present disclosure, the sender terminal can also determine the tag information of the target contact in at least two of the following ways:

方式一、从所述目标联系人的名片信息中获取标签信息;Method 1: Obtain label information from the business card information of the target contact;

目标联系人的标签信息也可以是预先确定好的,例如,用户在设置联系人的名片信息时,以备注方式记录有用于表示联系人类别的标签信息。其中,上述联系人类别可以是同事、领导、朋友、客户等分类类别。The tag information of the target contact may also be predetermined. For example, when the user sets the business card information of the contact, the tag information used to indicate the category of the contact is recorded in the form of remarks. Wherein, the above contact categories may be classified categories such as colleagues, leaders, friends, and customers.

上述目标联系人的名片信息,可以是当前应用中的名片信息,也可以是关联应用中的名片信息。The business card information of the target contact may be business card information in the current application or business card information in a related application.

假设,备注名为小白的联系人属于米聊应用中的联系人,则在米聊应用中,小白的名片信息除了包括:备注名小白、米聊账号,还可以包括:电话号码、微信账号、QQ账号关联联系方式。则,发送方终端还可以根据上述关联联系方式如电话号码,从电话通讯录应用中获取相关名片信息;根据微信账号获取微信应用中的相关名片信息;以及根据QQ账号从QQ应用中获取相关名片信息;在微信名片信息中未设置标签信息的情况下,发送方终端可以从上述任一相关名片信息中获取与米聊账户小白对应的标签信息。Assuming that the contact named Xiaobai belongs to the contacts in the Mi Chat application, then in the Mi Chat application, the business card information of Xiao Bai includes: the note name Xiaobai and the Mi Chat account, and can also include: phone number, WeChat account, QQ account associated contact information. Then, the sender terminal can also obtain the relevant business card information from the phone address book application according to the above-mentioned associated contact information such as the phone number; obtain the relevant business card information in the WeChat application according to the WeChat account; and obtain the relevant business card from the QQ application according to the QQ account information; in the case where label information is not set in the WeChat business card information, the sender terminal can obtain the label information corresponding to the Mi Chat account Xiaobai from any of the above-mentioned relevant business card information.

方式二、根据当前用户与所述目标联系人的历史通信记录,确定所述目标联系人的标签信息;Method 2: Determine the tag information of the target contact according to the historical communication record between the current user and the target contact;

上述目标联系人的标签信息也可以是实时确定的。比如在通过邮件发送文件时,用户在收件人一栏添加收件人邮箱地址后,发送方终端可以根据历史通信记录实时确定目标联系人的标签信息。The tag information of the target contact may also be determined in real time. For example, when sending a file by email, after the user adds the recipient's email address in the recipient column, the sender terminal can determine the tag information of the target contact in real time according to the historical communication record.

在确定联系人标签信息的过程中,可以根据当前用户与目标联系人的历史通信记录内容,比如历史往来邮件内容、即时通信的历史会话记录等信息,确定联系人的标签信息。In the process of determining the contact tag information, the tag information of the contact can be determined according to the content of the historical communication record between the current user and the target contact, such as the content of historical emails, the historical session record of instant messaging and other information.

以邮箱服务器或用户终端在发送邮件时实时确定目标联系人的标签信息为例进行说明,假设目标联系人A的邮箱地址为:AAA@xiaomi.com,发送方B的邮箱地址为:BBB@best.com。则域名为best.com的邮箱服务器在检测到用户添加的邮箱地址AAA@xiaomi.com后,可以获取发件人邮箱地址和/或收件人邮箱地址为:AAA@xiaomi.com的所有历史往来邮件或者预设时间周期比如本年度内的往来邮件内容,采用机器学习方式对往返邮件内容进行自然语言语义提取,智能分析目标联系人A的标签信息。本公开另一实施例中,联系人的标签信息也可以包括主标签信息和至少一个辅助标签信息,比如,联系人A的主标签信息为:客户;辅助标签信息包括:小米、发明人等。Take the email server or user terminal as an example to determine the tag information of the target contact in real time when sending emails. Suppose the email address of target contact A is: AAA@xiaomi.com, and the email address of sender B is: BBB@best .com. After detecting the email address AAA@xiaomi.com added by the user, the email server whose domain name is best.com can obtain the sender's email address and/or the recipient's email address: AAA@xiaomi.com All historical contacts For emails or preset time periods, such as the content of incoming and outgoing emails in this year, machine learning is used to extract natural language semantics from the content of round-trip emails, and intelligently analyze the label information of target contact A. In another embodiment of the present disclosure, the tag information of the contact may also include main tag information and at least one auxiliary tag information. For example, the main tag information of contact A is: customer; the auxiliary tag information includes: Xiaomi, inventor, etc.

此处需要说明的是,上述目标联系人可以是一个或多个。例如,在发送邮件时,可以将邮件内容和加载附件同时发送给多个联系人。在即时通信应用比如米聊、微信等应用中,也可以通过预设选择联系人的方式如“多选”方式,将待发送信息同时发送给多个联系人。当目标联系人为多个时,可以按照上述获取标签信息的方法确定每一个目标联系人的标签信息。It should be noted here that the above target contacts may be one or more. For example, when sending an email, you can send the email content and loaded attachments to multiple contacts at the same time. In instant messaging applications such as Michat, WeChat and other applications, it is also possible to send the information to be sent to multiple contacts at the same time through a preset method of selecting contacts, such as a "multiple selection" method. When there are multiple target contacts, the label information of each target contact can be determined according to the above method for obtaining label information.

若步骤11的执行主体为应用服务器,如图1-2所示的应用场景,则上述步骤11的实施过程可以包括:If the execution body of step 11 is an application server, as shown in the application scenario shown in Figure 1-2, the implementation process of the above step 11 may include:

步骤A、接收发送方终端发送的待发送信息和目标联系人信息;Step A, receiving the information to be sent and the target contact information sent by the sender terminal;

步骤B、根据所述待发送信息确定所述待发送信息的分类信息;Step B, determining the classification information of the information to be sent according to the information to be sent;

步骤C、根据所述目标联系人信息确定所述目标联系人的标签信息。Step C: Determine the tag information of the target contact according to the target contact information.

在步骤12中,将所述分类信息与所述标签信息进行匹配,获得匹配结果;In step 12, the classification information is matched with the label information to obtain a matching result;

参照图3根据一示例性实施例示出的另一种发送信息的方法流程图,上述步骤12可以包括:Referring to the flowchart of another method for sending information shown in FIG. 3 according to an exemplary embodiment, the foregoing step 12 may include:

在步骤121中,确定待发送信息的重要程度类别;In step 121, determine the importance category of the information to be sent;

仍以待发送信息是word文档为例,用户将该文件载入待发送界面之前,可以根据该文件内容的重要程度,采用预设方式标记该文件的重要程度类别。其中,待发送文件的重要程度类别可以具体为:需要引起联系人的关注度、保密级别等分类信息。假设上述重要程度类别为保密级别,本公开实施例中,保密级别按照从高到低的顺序进行排列,可以包括:绝密文件、机密文件、秘密文件、公开性文件、宣传资料。Still taking the information to be sent as a word document as an example, before loading the file into the to-be-sent interface, the user can mark the importance category of the file in a preset manner according to the importance of the content of the file. Wherein, the importance category of the file to be sent may specifically be classified information such as the degree of attention that needs to be aroused by the contact person, the level of confidentiality, and the like. Assuming that the above-mentioned importance category is a security level, in the embodiment of the present disclosure, the security levels are arranged in descending order, and may include: top secret documents, confidential documents, secret documents, public documents, and publicity materials.

在本公开另一实施例中,可以根据待发送信息所属行业、其包含的内容等信息确定待发送信息的重要程度类别,比如,当发送方终端确定待发送文件属于财务现金流方面的文件时,按照预设策略自动将上述待发送文件的重要程度类别确定为最高级别,比如一级重要文件。In another embodiment of the present disclosure, the importance category of the information to be sent may be determined according to information such as the industry to which the information to be sent belongs and the content it contains. , and automatically determine the above-mentioned importance category of the file to be sent as the highest level according to a preset strategy, such as a first-level important file.

在步骤122中,根据所述重要程度类别确定目标匹配模式;In step 122, a target matching mode is determined according to the importance category;

本公开实施例中,不同类别的重要程度对应的匹配方式不同,重要程度级别越高,在对文件分类信息与联系人标签信息进行匹配时,要求的匹配条件越严苛。本公开实施例中,发送方终端或应用服务器中可以预设有匹配模式列表,该列表记录了重要程度类别、匹配模式标识、匹配条件信息之间的对应关系,示例性的,可以如以下表一所示:In the embodiment of the present disclosure, the matching methods corresponding to the importance levels of different categories are different, and the higher the importance level, the stricter the matching conditions required when the file classification information and the contact label information are matched. In this embodiment of the present disclosure, a matching pattern list may be preset in the sender terminal or the application server, and the list records the correspondence between the importance category, the matching pattern identifier, and the matching condition information. Exemplarily, the following table may be used. One shows:

重要程度类别Importance category 匹配模式标识match pattern identifier 匹配条件match condition 绝密top secret 模式一Mode one 匹配度=100%Matching degree = 100% 机密confidential 模式二Mode two 匹配度≥90%Matching degree≥90% 秘密secret 模式三Mode three 匹配度≥80%Matching degree≥80% 内部公开Internal disclosure 模式四Mode four 匹配度≥50%Matching degree≥50% 宣传publicity none 00

表一Table I

如上述表一所示,本公开实施例中,待发送文件的保密级别越高,要求的信息匹配度也越高。As shown in Table 1 above, in the embodiment of the present disclosure, the higher the security level of the file to be sent, the higher the required information matching degree.

在本公开另一实施例中,不同匹配模式需要考虑的因素也可以不同,比如,对于公开性文件,在确定匹配度时,可以主要考虑主分类信息与主标签的匹配度。而对于秘密级别及以上级别的文件,在确定匹配度时,不仅要考虑主分类信息与主标签信息间的匹配程度,还要考虑子分类信息与辅助标签之间的匹配程度。In another embodiment of the present disclosure, factors that need to be considered for different matching modes may also be different. For example, for a public document, when determining the matching degree, the matching degree between the main classification information and the main tag may be mainly considered. For files of secret level and above, when determining the matching degree, not only the matching degree between the main classification information and the main label information, but also the matching degree between the sub-classification information and the auxiliary label should be considered.

在步骤123中,按照所述目标匹配模式对所述分类信息与所述标签信息进行匹配,获得匹配结果。In step 123, the classification information and the label information are matched according to the target matching mode to obtain a matching result.

本公开实施例中,在确定匹配模式的情况下,发送方终端或应用服务器可以按照预设策略判断待发送信息与目标联系人是否相关,比如判断待发送信息的分类信息与目标联系人的标签信息是否符合预设匹配条件;若符合,判定信息匹配成功,进而确定发送信息与目标联系人相关;若不符合,可以判定信息匹配失败,可以进而确定发送信息与目标联系人不相关。In the embodiment of the present disclosure, in the case of determining the matching mode, the sender terminal or the application server can determine whether the information to be sent is related to the target contact according to a preset strategy, for example, determine the classification information of the information to be sent and the label of the target contact Whether the information meets the preset matching conditions; if so, it is determined that the information is successfully matched, and then it is determined that the sent information is related to the target contact;

参照图4根据一示例性实施例示出的另一种发送信息的方法流程图,上述步骤123可以包括:Referring to the flowchart of another method for sending information shown in FIG. 4 according to an exemplary embodiment, the foregoing step 123 may include:

在步骤1231中,确定所述分类信息与所述标签信息之间的匹配度;In step 1231, determine the degree of matching between the classification information and the label information;

本公开实施例中,可以采用匹配度作为判断待发送信息与联系人是否相关的具体判断依据。其中,可以按照预设算法计算待发送信息的主分类信息、多个子分类信息与目标联系人的主标签信息、多个辅助标签信息之间的匹配度。例如,如上所述,在分别考虑主分类信息与主标签信息间的匹配程度、子分类信息与辅助标签之间的匹配程度的基础上,可以按照预设权重因子综合计算匹配度。In the embodiment of the present disclosure, the matching degree may be used as a specific judgment basis for judging whether the information to be sent is related to a contact. Wherein, the matching degree between the main category information and the multiple sub-category information of the information to be sent and the main tag information and the multiple auxiliary tag information of the target contact can be calculated according to a preset algorithm. For example, as described above, the matching degree can be comprehensively calculated according to a preset weight factor on the basis of respectively considering the matching degree between the main classification information and the main label information and the matching degree between the sub-classification information and the auxiliary label.

在步骤1232中,若所述匹配度超过预设阈值,确定信息匹配成功;In step 1232, if the matching degree exceeds a preset threshold, it is determined that the information is successfully matched;

将步骤1231确定的匹配度数值与预设阈值做比较,若上述匹配度数值大于等于上述预设阈值,执行步骤1232;反之,执行步骤1233。The matching degree value determined in step 1231 is compared with the preset threshold value. If the matching degree value is greater than or equal to the preset threshold value, step 1232 is performed; otherwise, step 1233 is performed.

以上述表一所示的模式三为例,若步骤1231确定的匹配度大于等于80%,则确定信息匹配成功,即目标联系人为相关联系人。Taking Mode 3 shown in Table 1 above as an example, if the matching degree determined in step 1231 is greater than or equal to 80%, it is determined that the information is successfully matched, that is, the target contact is a relevant contact.

在步骤1233中,若所述匹配度不超过所述预设阈值,确定信息匹配失败。In step 1233, if the matching degree does not exceed the preset threshold, it is determined that the information matching fails.

反之,若步骤1231确定的匹配度小于80%,可以确定信息匹配失败,即判定目标联系人属于不相关联系人。On the contrary, if the matching degree determined in step 1231 is less than 80%, it can be determined that the information matching fails, that is, it is determined that the target contact is an irrelevant contact.

在步骤13中,若所述匹配结果指示信息匹配成功,将所述待发送信息发送给所述目标联系人。In step 13, if the matching result indicates that the information is successfully matched, the information to be sent is sent to the target contact.

对应上述步骤1232,发送方终端在确定待发送信息与目标联系人相关的情况下,可以根据用户触发的发送操作信息执行发送指令,将待发送信息发送给目标联系人所在的对端设备。Corresponding to the above step 1232, when determining that the information to be sent is related to the target contact, the sender terminal can execute the sending instruction according to the sending operation information triggered by the user, and send the information to be sent to the opposite terminal device where the target contact is located.

可见,采用本公开提供的发送信息的方法,在执行信息发送指令之前,可以根据待发送信息的分类信息与指定联系人的标签信息,智能判断待发送文件与指定联系人是否相关;在确定待发送信息与联系人相关的情况下,执行信息发送指令,有效防范了错发信息的意外事件发生,提高了信息安全度,提升了信息发送的用户体验。It can be seen that, using the method for sending information provided by the present disclosure, before executing the information sending instruction, it is possible to intelligently judge whether the file to be sent is related to the designated contact according to the classification information of the information to be sent and the label information of the designated contact; In the case that the information sent is related to the contact, the information sending instruction is executed, which effectively prevents the accident of sending the wrong information, improves the information security, and improves the user experience of information sending.

相应的,在上述信息匹配失败的情况下,可以采用以下几种方式处理待发送信息:Correspondingly, in the case that the above information matching fails, the following methods can be used to process the information to be sent:

第一种方式,自动放弃信息发送The first way is to automatically give up sending information

若用户已触发发送操作,为确保信息安全,尤其是待发送信息属于重要程度级别较高的信息,比如上述表一中的机密文件,发送方终端或应用服务器可以在确定信息匹配失败的情况下,自动放弃信息发送,以保障信息安全。进一步地,可以将放弃信息发送的操作通知用户。If the user has triggered the sending operation, in order to ensure the security of the information, especially the information to be sent belongs to the information with a high level of importance, such as the confidential documents in the above table 1, the sender terminal or the application server can determine that the information matching fails in the case of , automatically give up information transmission to ensure information security. Further, the user may be notified of the operation of abandoning the information transmission.

第二种方式,在发送信息之前,提醒用户审核联系人信息The second way, before sending the information, remind the user to review the contact information

参照图5根据一示例性实施例示出的另一种发送信息的方法流程图,在图2所示实施例的基础上,上述方法还可以包括:Referring to the flowchart of another method for sending information shown in FIG. 5 according to an exemplary embodiment, on the basis of the embodiment shown in FIG. 2 , the above method may further include:

在步骤14中,若所述匹配结果指示信息匹配失败,输出用于提醒用户审核联系人是否正确的提醒信息。In step 14, if the matching result indicates that the information is not matched, output reminding information for reminding the user to check whether the contact is correct.

本公开实施例中,可以采用以下至少一种方式提醒用户审核联系人信息:In this embodiment of the present disclosure, at least one of the following methods may be used to remind the user to review the contact information:

第一提醒方式,以高亮、变换字体颜色、动画、放大显示联系人头像等方式突出显示匹配失败的联系人信息;The first reminder method is to highlight the contact information that fails to match by means of highlighting, changing font color, animation, and zooming in on the contact avatar;

第二提醒方式,以声音方式提醒,比如,语音输出“请审核***是否属于发送对象”,还可以采用震动方式辅助提醒。The second reminder method is to remind by voice, for example, the voice output "Please check whether the *** belongs to the sender", and vibration can also be used to assist the reminder.

用户在接收到上述提醒信息后,若当前联系人信息错误,可以删除该被审核联系人信息,以及重新加载正确的目标联系人信息,确保信息发送的准确性。After receiving the above reminder information, if the current contact information is incorrect, the user can delete the reviewed contact information and reload the correct target contact information to ensure the accuracy of information transmission.

第三提醒方式,输出联系人信息提醒界面The third reminder method, output the contact information reminder interface

在确定信息匹配失败时,可以在待发送页面或当前会话界面的基础上,弹出联系人信息提醒界面。如图6-1根据一示例性实施例提供的一种发送信息的应用场景示意图,以米聊会话界面101为例,当信息匹配失败时,可以弹出联系人信息提醒界面102,该提醒界面内除了显示待审核联系人信息,如联系人的米聊账户名称“小白”,还可以提供人机交互接口,比如分别为“是”和“否”的两个虚拟按钮,以供用户通过上述人机交互接口告诉终端待审核联系人信息是否正确。When it is determined that the information matching fails, a contact information reminder interface may pop up based on the page to be sent or the current conversation interface. Figure 6-1 is a schematic diagram of an application scenario for sending information according to an exemplary embodiment. Taking the Michat conversation interface 101 as an example, when the information fails to match, a contact information reminder interface 102 may pop up. In addition to displaying the contact information to be reviewed, such as the contact's Michat account name "Xiaobai", it can also provide a human-computer interaction interface, such as two virtual buttons for "Yes" and "No", for users to pass the above The human-computer interaction interface tells the terminal whether the contact information to be reviewed is correct.

针对上述第三种提醒方式,本公开还提供了另一种发送信息的方法,参照图7根据一示例性实施例示出的另一种发送信息的方法流程图,在图5所示实施例的基础上,上述方法还可以包括:For the above-mentioned third reminder mode, the present disclosure also provides another method for sending information. Referring to the flowchart of another method for sending information shown in FIG. 7 according to an exemplary embodiment, in the embodiment shown in FIG. Based on this, the above method may also include:

在步骤15中,监测针对所述提醒信息的用户操作信息;In step 15, monitor user operation information for the reminder information;

发送方终端可以在联系人信息提醒界面中监测用户操作信息,比如,触发按钮的动作信息、针对提醒界面所做的手势动作等。The sender terminal may monitor user operation information in the contact information reminder interface, for example, the action information of the trigger button, the gesture actions performed on the reminder interface, and the like.

在步骤16中,若接收到用户触发的确认操作信息,将所述待发送信息发送给被审核联系人。In step 16, if the confirmation operation information triggered by the user is received, the information to be sent is sent to the contact person to be reviewed.

发送方终端或应用服务器中,预置有用户操作信息与控制信息的对应关系,当检测到用户触发的确认操作时,比如用户触发了确认按钮,或者,检测到了表示确认的动作信息,例如,在当前提醒界面中感测到用户比划的“√”手势,则表示用户确认被审核联系人信息是正确的,进而将待发送信息发送给该联系人。In the sender terminal or application server, the corresponding relationship between user operation information and control information is preset. When a confirmation operation triggered by the user is detected, for example, the user triggers the confirmation button, or the action information indicating confirmation is detected, for example, If the "√" gesture of the user's gesture is sensed in the current reminder interface, it means that the user confirms that the reviewed contact information is correct, and then sends the to-be-sent information to the contact.

如上述图6-2所示,智能手机100检测到用户触发确认按钮“是”之后,可以根据用户触发的发送信息将名称为“1”的word文档发送给联系人小白所使用的通信对端。As shown in Figure 6-2 above, after detecting that the user triggers the confirmation button "Yes", the smartphone 100 can send the word document named "1" to the communication pair used by the contact Xiaobai according to the sending information triggered by the user. end.

本公开实施例中,在待发送文件的分类信息与联系人的标签信息匹配失败的情况下,还可以通过提醒界面有效提醒用户审核联系人信息,并提供人机交互接口接收用户针对上述提醒的反馈信息,在接收到用户反馈的确认信息后将待发送信息发送给被审核联系人。通过此种提醒方式,使得信息提醒更加人性化,既可以保障信息安全,又可以避免信息被错误拦截,提高信息发送的可靠性。In the embodiment of the present disclosure, in the case where the classification information of the file to be sent fails to match the label information of the contact, the user can also be effectively reminded to review the contact information through a reminder interface, and a human-computer interaction interface is provided to receive the user's response to the above reminder. Feedback information, after receiving the confirmation information fed back by the user, the information to be sent will be sent to the audited contact. Through this reminder method, the information reminder is more humanized, which can not only ensure the information security, but also prevent the information from being wrongly intercepted, and improve the reliability of the information transmission.

在步骤17中,若检测到否认信息,拒绝将所述待发送信息发送给所述被审核联系人。In step 17, if a negative message is detected, the message to be sent is refused to be sent to the contact person to be reviewed.

反之,若检测到用户的否认信息,该否认信息表示被审核联系人信息是错误的,比如,用户误将与目标联系人信息相似的信息当作目标联系人信息的情况,则拒绝执行发送指令。其中,确定检测到否认信息的方式可以是检测到了用户反馈的否认信息,或者,在预设时长比如30秒内未接收到用户针对提醒信息的反馈信息。Conversely, if the user's denial information is detected, the denial information indicates that the contact information being reviewed is wrong. For example, if the user mistakenly regards information similar to the target contact information as the target contact information, then refuse to execute the sending instruction. . Wherein, the way of determining that the negative information is detected may be that the negative information fed back by the user is detected, or the user's feedback information for the reminder information is not received within a preset time period such as 30 seconds.

对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本公开并不受所描述的动作顺序的限制,因为依据本公开,某些步骤可以采用其他顺序或者同时进行。For the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited by the described action sequence, because according to the present disclosure, Certain steps may be performed in other orders or simultaneously.

其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本公开所必须的。Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.

与前述应用功能实现方法实施例相对应,本公开还提供了应用功能实现装置及相应的终端的实施例。Corresponding to the foregoing application function implementation method embodiments, the present disclosure further provides embodiments of an application function implementation apparatus and a corresponding terminal.

参照图8根据一示例性实施例示出的一种发送信息的装置框图,所述装置可以包括:8 shows a block diagram of an apparatus for sending information according to an exemplary embodiment, the apparatus may include:

信息确定模块21,被配置为确定待发送信息的分类信息和目标联系人的标签信息;The information determination module 21 is configured to determine the classification information of the information to be sent and the label information of the target contact;

匹配模块22,被配置为将所述分类信息与所述标签信息进行匹配,获得匹配结果;a matching module 22, configured to match the classification information with the label information to obtain a matching result;

发送模块23,被配置为在所述匹配结果指示信息匹配成功的情况下,将所述待发送信息发送给所述目标联系人。The sending module 23 is configured to send the information to be sent to the target contact when the matching result indicates that the information is successfully matched.

参照图9根据一示例性实施例示出的另一种发送信息的装置框图,在图8所示装置实施例的基础上,所述装置还可以包括:Referring to the block diagram of another apparatus for sending information shown in FIG. 9 according to an exemplary embodiment, on the basis of the apparatus embodiment shown in FIG. 8 , the apparatus may further include:

提醒模块24,被配置为在所述匹配结果指示信息匹配失败的情况下,输出用于提醒用户审核联系人是否正确的提醒信息。The reminding module 24 is configured to output reminding information for reminding the user to check whether the contact is correct when the matching result indicates that the information matching fails.

参照图10根据一示例性实施例示出的另一种发送信息的装置框图,在图8所示装置实施例的基础上,信息确定模块21可以包括:分类信息确定子模块211和标签信息确定子模块212,其中,分类信息确定子模块211用于确定待发送信息的分类信息;标签信息确定子模块212用于确定目标联系人的标签信息。Referring to the block diagram of another apparatus for sending information shown in FIG. 10 according to an exemplary embodiment, on the basis of the apparatus embodiment shown in FIG. 8 , the information determination module 21 may include: a classification information determination sub-module 211 and a label information determination sub-module Module 212, wherein the classification information determination sub-module 211 is used to determine the classification information of the information to be sent; the label information determination sub-module 212 is used to determine the label information of the target contact.

参照图11根据一示例性实施例示出的另一种发送信息的装置框图,在图10所示装置实施例的基础上,若待发送信息为待发送文件,则所述分类信息确定子模块211可以包括:Referring to the block diagram of another apparatus for sending information shown in FIG. 11 according to an exemplary embodiment, on the basis of the apparatus embodiment shown in FIG. 10 , if the information to be sent is a file to be sent, the classification information determination sub-module 211 Can include:

第一确定单元2111,被配置为从所述待发送文件的预设属性字段中读取所述分类信息;The first determining unit 2111 is configured to read the classification information from the preset attribute field of the file to be sent;

第二确定单元2112,被配置为实时确定所述待发送文件的分类信息。The second determining unit 2112 is configured to determine the classification information of the file to be sent in real time.

参照图12根据一示例性实施例示出的另一种发送信息的装置框图,在图10所示装置实施例的基础上,所述标签信息确定子模块212可以包括:Referring to the block diagram of another apparatus for sending information shown in FIG. 12 according to an exemplary embodiment, on the basis of the apparatus embodiment shown in FIG. 10 , the label information determination sub-module 212 may include:

第一标签确定单元2121,被配置为从所述目标联系人的名片信息中获取标签信息;The first label determination unit 2121 is configured to obtain label information from the business card information of the target contact;

第二标签确定单元2122,被配置为根据当前用户与所述目标联系人的历史通信记录,确定所述目标联系人的标签信息。The second label determining unit 2122 is configured to determine the label information of the target contact according to the historical communication record between the current user and the target contact.

参照图13根据一示例性实施例示出的另一种发送信息的装置框图,在图8所示装置实施例的基础上,所述匹配模块22可以包括:Referring to the block diagram of another apparatus for sending information shown in FIG. 13 according to an exemplary embodiment, on the basis of the apparatus embodiment shown in FIG. 8 , the matching module 22 may include:

重要类别确定子模块221,被配置为确定所述待发送信息的重要程度类别;an important category determination sub-module 221, configured to determine the importance category of the information to be sent;

模式确定子模块222,被配置为根据所述重要程度类别确定目标匹配模式;a pattern determination sub-module 222, configured to determine a target matching pattern according to the importance category;

匹配子模块223,被配置为按照所述目标匹配模式将所述分类信息与所述标签信息进行匹配,获得匹配结果。The matching sub-module 223 is configured to match the classification information with the label information according to the target matching mode to obtain a matching result.

参照图14根据一示例性实施例示出的另一种发送信息的装置框图,在图13所示装置实施例的基础上,所述匹配子模块223可以包括:Referring to the block diagram of another apparatus for sending information shown in FIG. 14 according to an exemplary embodiment, on the basis of the apparatus embodiment shown in FIG. 13 , the matching sub-module 223 may include:

匹配度确定单元2231,被配置为确定所述分类信息与所述标签信息之间的匹配度;A matching degree determining unit 2231, configured to determine the matching degree between the classification information and the label information;

第一判定单元2232,被配置为在所述匹配度超过预设阈值的情况下,确定信息匹配成功;The first determination unit 2232 is configured to determine that the information is successfully matched when the matching degree exceeds a preset threshold;

第二判定单元2233,被配置为在所述匹配度不超过所述预设阈值的情况下,确定信息匹配失败。The second determining unit 2233 is configured to determine that the information matching fails when the matching degree does not exceed the preset threshold.

对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the apparatus embodiments, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in a local, or it can be distributed over multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present disclosure. Those of ordinary skill in the art can understand and implement it without creative effort.

相应的,一方面,本公开实施例提供了一种发送信息的装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,上述处理器被配置为:Correspondingly, on the one hand, an embodiment of the present disclosure provides an apparatus for sending information, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured as:

确定待发送信息的分类信息和目标联系人的标签信息;Determine the classification information of the information to be sent and the label information of the target contact;

将所述分类信息与所述标签信息进行匹配,获得匹配结果;Matching the classification information with the label information to obtain a matching result;

若所述匹配结果指示信息匹配成功,将所述待发送信息发送给所述目标联系人。If the matching result indicates that the information is successfully matched, the information to be sent is sent to the target contact.

图15是根据一示例性实施例示出的一种发送信息的装置1500的结构示意图。例如,装置1500可以是用户设备,可以具体为移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理,可穿戴设备如智能手表、智能眼镜、智能手环、智能跑鞋等。FIG. 15 is a schematic structural diagram of an apparatus 1500 for sending information according to an exemplary embodiment. For example, the apparatus 1500 may be user equipment, which may be specifically a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, a smart Glasses, smart bracelets, smart running shoes, etc.

参照图15,装置1500可以包括以下一个或多个组件:处理组件1502,存储器1504,电源组件1506,多媒体组件1508,音频组件1510,输入/输出(I/O)的接口1512,传感器组件1514,以及通信组件1516。15, the apparatus 1500 may include one or more of the following components: a processing component 1502, a memory 1504, a power supply component 1506, a multimedia component 1508, an audio component 1510, an input/output (I/O) interface 1512, a sensor component 1514, and communication component 1516.

处理组件1502通常控制装置1500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1502可以包括一个或多个处理器1520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1502可以包括一个或多个模块,便于处理组件1502和其他组件之间的交互。例如,处理组件1502可以包括多媒体模块,以方便多媒体组件1508和处理组件1502之间的交互。The processing component 1502 generally controls the overall operation of the device 1500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1502 can include one or more processors 1520 to execute instructions to perform all or some of the steps of the methods described above. Additionally, processing component 1502 may include one or more modules that facilitate interaction between processing component 1502 and other components. For example, processing component 1502 may include a multimedia module to facilitate interaction between multimedia component 1508 and processing component 1502.

存储器1504被配置为存储各种类型的数据以支持在设备1500的操作。这些数据的示例包括用于在装置1500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 1504 is configured to store various types of data to support operation at device 1500 . Examples of such data include instructions for any application or method operating on device 1500, contact data, phonebook data, messages, pictures, videos, and the like. Memory 1504 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件1506为装置1500的各种组件提供电力。电源组件1506可以包括电源管理系统,一个或多个电源,及其他与为装置1500生成、管理和分配电力相关联的组件。Power supply assembly 1506 provides power to various components of device 1500 . Power components 1506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 1500 .

多媒体组件1508包括在上述装置1500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。上述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与上述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1508包括一个前置摄像头和/或后置摄像头。当设备1500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1508 includes a screen that provides an output interface between the aforementioned device 1500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The above-mentioned touch sensor may not only sense the boundary of the touch or swipe action, but also detect the duration and pressure associated with the above-mentioned touch or swipe action. In some embodiments, the multimedia component 1508 includes a front-facing camera and/or a rear-facing camera. When the device 1500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件1510被配置为输出和/或输入音频信号。例如,音频组件1510包括一个麦克风(MIC),当装置1500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1504或经由通信组件1516发送。在一些实施例中,音频组件1510还包括一个扬声器,用于输出音频信号。Audio component 1510 is configured to output and/or input audio signals. For example, audio component 1510 includes a microphone (MIC) that is configured to receive external audio signals when device 1500 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 1504 or transmitted via communication component 1516 . In some embodiments, audio component 1510 also includes a speaker for outputting audio signals.

I/O接口1512为处理组件1502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1512 provides an interface between the processing component 1502 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件1514包括一个或多个传感器,用于为装置1500提供各个方面的状态评估。例如,传感器组件1514可以检测到设备1500的打开/关闭状态,组件的相对定位,例如上述组件为装置1500的显示器和小键盘,传感器组件1514还可以检测装置1500或装置1500一个组件的位置改变,用户与装置1500接触的存在或不存在,装置1500方位或加速/减速和装置1500的温度变化。传感器组件1514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1514 includes one or more sensors for providing status assessment of various aspects of device 1500 . For example, the sensor assembly 1514 can detect the open/closed state of the device 1500, the relative positioning of the components, such as the display and keypad of the device 1500, the sensor assembly 1514 can also detect the position change of the device 1500 or a component of the device 1500, Presence or absence of user contact with device 1500, device 1500 orientation or acceleration/deceleration and temperature changes of device 1500. Sensor assembly 1514 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件1516被配置为便于装置1500和其他设备之间有线或无线方式的通信。装置1500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,上述通信组件1516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 1516 is configured to facilitate wired or wireless communication between apparatus 1500 and other devices. Device 1500 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1516 described above also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置1500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1500 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.

在示例性实施例中,还提供了一种非临时性计算机可读存储介质,例如包括指令的存储器1504,当存储介质中的指令由装置1500的处理器1520执行时,使得装置1500能够执行发送信息的方法,该方法包括:In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as a memory 1504 including instructions that, when executed by the processor 1520 of the apparatus 1500, enable the apparatus 1500 to execute sending method of information, which includes:

确定待发送信息的分类信息和目标联系人的标签信息;Determine the classification information of the information to be sent and the label information of the target contact;

将所述分类信息与所述标签信息进行匹配,获得匹配结果;Matching the classification information with the label information to obtain a matching result;

若所述匹配结果指示信息匹配成功,将所述待发送信息发送给所述目标联系人。If the matching result indicates that the information is successfully matched, the information to be sent is sent to the target contact.

所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。The non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

如图16所示,图16是根据一示例性实施例示出的一种用于发送信息的装置1600的一结构示意图。例如,装置1600可以被提供为一应用服务器。参照图16,装置1600包括处理组件1622,其进一步包括一个或多个处理器,以及由存储器1616所代表的存储器资源,用于存储可由处理部件1622的执行的指令,例如应用程序。存储器1616中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1622被配置为执行指令,以执行上述发送信息的方法。As shown in FIG. 16 , FIG. 16 is a schematic structural diagram of an apparatus 1600 for sending information according to an exemplary embodiment. For example, apparatus 1600 may be provided as an application server. 16, apparatus 1600 includes a processing component 1622, which further includes one or more processors, and a memory resource, represented by memory 1616, for storing instructions executable by processing component 1622, such as an application program. An application program stored in memory 1616 may include one or more modules, each corresponding to a set of instructions. Additionally, the processing component 1622 is configured to execute instructions to perform the above-described method of sending information.

装置1600还可以包括一个电源组件1626被配置为执行装置1600的电源管理,一个有线或无线网络接口1650被配置为将装置1600连接到网络,和一个输入输出(I/O)接口1658。装置1600可以操作基于存储在存储器1616的操作系统,例如Android、iOS、WindowsServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。The device 1600 may also include a power supply assembly 1626 configured to perform power management of the device 1600, a wired or wireless network interface 1650 configured to connect the device 1600 to a network, and an input output (I/O) interface 1658. Device 1600 may operate based on an operating system stored in memory 1616, such as Android, iOS, WindowsServer , Mac OS X , Unix , Linux , FreeBSD or the like.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1616,上述指令可由装置1600的处理组件1622执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 1616 including instructions, executable by the processing component 1622 of the apparatus 1600 to accomplish the method described above is also provided. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

其中,当所述存储器1616中的指令由所述处理组件1622执行时,使得装置1600能够执行一种发送信息的方法,包括:Wherein, when the instructions in the memory 1616 are executed by the processing component 1622, the apparatus 1600 is enabled to execute a method for sending information, including:

确定待发送信息的分类信息和目标联系人的标签信息;Determine the classification information of the information to be sent and the label information of the target contact;

将所述分类信息与所述标签信息进行匹配,获得匹配结果;Matching the classification information with the label information to obtain a matching result;

若所述匹配结果指示信息匹配成功,将所述待发送信息发送给所述目标联系人。If the matching result indicates that the information is successfully matched, the information to be sent is sent to the target contact.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common general knowledge or techniques in the technical field not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1.一种发送信息的方法,其特征在于,所述方法包括:1. A method for sending information, wherein the method comprises: 确定待发送信息的分类信息和目标联系人的标签信息;Determine the classification information of the information to be sent and the label information of the target contact; 将所述分类信息与所述标签信息进行匹配,获得匹配结果;Matching the classification information with the label information to obtain a matching result; 若所述匹配结果指示信息匹配成功,将所述待发送信息发送给所述目标联系人;If the matching result indicates that the information is successfully matched, send the to-be-sent information to the target contact; 所述将所述分类信息与所述标签信息进行匹配,获得匹配结果,包括:The matching of the classification information and the label information to obtain a matching result includes: 确定所述待发送信息的重要程度类别;determining the importance category of the information to be sent; 根据所述重要程度类别确定目标匹配模式;determining a target matching mode according to the importance category; 按照所述目标匹配模式将所述分类信息与所述标签信息进行匹配,获得匹配结果;所述匹配结果是基于所述分类信息与所述标签信息之间的匹配度,与预设阈值之间的比较结果而确定的,所述预设阈值与重要程度类别指示的重要程度呈正相关。The classification information and the label information are matched according to the target matching mode to obtain a matching result; the matching result is based on the matching degree between the classification information and the label information, and a preset threshold The preset threshold is positively correlated with the importance level indicated by the importance level category. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. method according to claim 1, is characterized in that, described method also comprises: 若所述匹配结果指示信息匹配失败,输出用于提醒用户审核联系人是否正确的提醒信息。If the matching result indicates that information matching fails, output reminding information for reminding the user to check whether the contact is correct. 3.根据权利要求1所述的方法,其特征在于,所述待发送信息为待发送文件;所述确定待发送信息的分类信息,包括:3. The method according to claim 1, wherein the information to be sent is a file to be sent; and the classification information for determining the information to be sent comprises: 从所述待发送文件的预设属性字段中读取所述分类信息;或者,Read the classification information from the preset attribute field of the file to be sent; or, 实时确定所述待发送文件的分类信息。The classification information of the file to be sent is determined in real time. 4.根据权利要求1所述的方法,其特征在于,确定目标联系人的标签信息,包括:4. The method according to claim 1, wherein determining the tag information of the target contact comprises: 从所述目标联系人的名片信息中获取标签信息;或者,Obtain label information from the business card information of the target contact; or, 根据当前用户与所述目标联系人的历史通信记录,确定所述目标联系人的标签信息。The tag information of the target contact is determined according to the historical communication record between the current user and the target contact. 5.根据权利要求1所述的方法,其特征在于,所述将分类信息与所述标签信息进行匹配,获得匹配结果,包括:5. The method according to claim 1, wherein the matching of the classification information with the label information to obtain a matching result comprises: 确定所述分类信息与所述标签信息之间的匹配度;determining the degree of matching between the classification information and the label information; 若所述匹配度超过预设阈值,确定信息匹配成功;If the matching degree exceeds a preset threshold, it is determined that the information is successfully matched; 若所述匹配度不超过所述预设阈值,确定信息匹配失败。If the matching degree does not exceed the preset threshold, it is determined that the information matching fails. 6.一种发送信息的装置,其特征在于,所述装置包括:6. A device for sending information, wherein the device comprises: 信息确定模块,被配置为确定待发送信息的分类信息和目标联系人的标签信息;an information determination module, configured to determine the classification information of the information to be sent and the label information of the target contact; 匹配模块,被配置为将所述分类信息与所述标签信息进行匹配,获得匹配结果;a matching module, configured to match the classification information with the label information to obtain a matching result; 发送模块,被配置为在所述匹配结果指示信息匹配成功的情况下,将所述待发送信息发送给所述目标联系人;a sending module, configured to send the information to be sent to the target contact when the matching result indicates that the information is successfully matched; 所述匹配模块包括:The matching module includes: 重要类别确定子模块,被配置为确定所述待发送信息的重要程度类别;an important category determination submodule, configured to determine the importance category of the information to be sent; 模式确定子模块,被配置为根据所述重要程度类别确定目标匹配模式;a pattern determination submodule, configured to determine a target matching pattern according to the importance category; 匹配子模块,被配置为按照所述目标匹配模式将所述分类信息与所述标签信息进行匹配,获得匹配结果;所述匹配结果是基于所述分类信息与所述标签信息之间的匹配度,与预设阈值之间的比较结果而确定的,所述预设阈值与重要程度类别指示的重要程度呈正相关。a matching sub-module, configured to match the classification information and the label information according to the target matching mode to obtain a matching result; the matching result is based on the matching degree between the classification information and the label information , and is determined by the comparison result with a preset threshold, and the preset threshold is positively correlated with the importance level indicated by the importance level category. 7.根据权利要求6所述的装置,其特征在于,所述装置还包括:7. device according to claim 6, is characterized in that, described device also comprises: 提醒模块,被配置为在所述匹配结果指示信息匹配失败的情况下,输出用于提醒用户审核联系人是否正确的提醒信息。The reminding module is configured to output reminding information for reminding the user to check whether the contact is correct when the matching result indicates that the information matching fails. 8.根据权利要求6所述的装置,其特征在于,所述待发送信息为待发送文件;8. The device according to claim 6, wherein the information to be sent is a file to be sent; 所述信息确定模块包括:分类信息确定子模块;The information determination module includes: a classification information determination submodule; 所述分类信息确定子模块包括:The classification information determination submodule includes: 第一确定单元,被配置为从所述待发送文件的预设属性字段中读取所述分类信息;a first determining unit, configured to read the classification information from a preset attribute field of the file to be sent; 第二确定单元,被配置为实时确定所述待发送文件的分类信息。The second determining unit is configured to determine the classification information of the file to be sent in real time. 9.根据权利要求6所述的装置,其特征在于,所述信息确定模块包括:标签信息确定子模块;9. The apparatus according to claim 6, wherein the information determination module comprises: a label information determination submodule; 所述标签信息确定子模块包括:The label information determination submodule includes: 第一标签确定单元,被配置为从所述目标联系人的名片信息中获取标签信息;a first label determination unit, configured to obtain label information from business card information of the target contact; 第二标签确定单元,被配置为根据当前用户与所述目标联系人的历史通信记录,确定所述目标联系人的标签信息。The second tag determining unit is configured to determine the tag information of the target contact according to the historical communication record between the current user and the target contact. 10.根据权利要求6所述的装置,其特征在于,所述匹配子模块包括:10. The apparatus according to claim 6, wherein the matching submodule comprises: 匹配度确定单元,被配置为确定所述分类信息与所述标签信息之间的匹配度;a matching degree determination unit, configured to determine the matching degree between the classification information and the label information; 第一判定单元,被配置为在所述匹配度超过预设阈值的情况下,确定信息匹配成功;a first determination unit, configured to determine that the information is successfully matched when the degree of matching exceeds a preset threshold; 第二判定单元,被配置为在所述匹配度不超过所述预设阈值的情况下,确定信息匹配失败。The second determination unit is configured to determine that the information matching fails when the matching degree does not exceed the preset threshold. 11.一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1~5任一所述方法的步骤。11. A non-transitory computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the steps of any one of the methods of claims 1-5 are implemented. 12.一种发送信息的装置,其特征在于,包括:12. A device for sending information, comprising: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:wherein the processor is configured to: 确定待发送信息的分类信息和目标联系人的标签信息;Determine the classification information of the information to be sent and the label information of the target contact; 将所述分类信息与所述标签信息进行匹配,获得匹配结果;Matching the classification information with the label information to obtain a matching result; 若所述匹配结果指示信息匹配成功,将所述待发送信息发送给所述目标联系人;If the matching result indicates that the information is successfully matched, send the to-be-sent information to the target contact; 所述将所述分类信息与所述标签信息进行匹配,获得匹配结果,包括:The matching of the classification information and the label information to obtain a matching result includes: 确定所述待发送信息的重要程度类别;determining the importance category of the information to be sent; 根据所述重要程度类别确定目标匹配模式;determining a target matching mode according to the importance category; 按照所述目标匹配模式将所述分类信息与所述标签信息进行匹配,获得匹配结果;所述匹配结果是基于所述分类信息与所述标签信息之间的匹配度,与预设阈值之间的比较结果而确定的,所述预设阈值与重要程度类别指示的重要程度呈正相关。Match the classification information with the label information according to the target matching mode to obtain a matching result; the matching result is based on the matching degree between the classification information and the label information, and a preset threshold The preset threshold is positively correlated with the importance level indicated by the importance level category.
CN201710482292.0A 2017-06-22 2017-06-22 Method and device for sending information Expired - Fee Related CN109120498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710482292.0A CN109120498B (en) 2017-06-22 2017-06-22 Method and device for sending information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710482292.0A CN109120498B (en) 2017-06-22 2017-06-22 Method and device for sending information

Publications (2)

Publication Number Publication Date
CN109120498A CN109120498A (en) 2019-01-01
CN109120498B true CN109120498B (en) 2022-01-18

Family

ID=64732800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710482292.0A Expired - Fee Related CN109120498B (en) 2017-06-22 2017-06-22 Method and device for sending information

Country Status (1)

Country Link
CN (1) CN109120498B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113271247B (en) * 2020-02-14 2023-05-23 钉钉控股(开曼)有限公司 Information processing method, apparatus, device and storage medium
CN116489047B (en) * 2023-03-30 2024-02-23 索提斯云智控科技(上海)有限公司 Intelligent communication management system and method based on edge calculation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099853A (en) * 2014-04-25 2015-11-25 国际商业机器公司 Erroneous message sending preventing method and system
CN106375377A (en) * 2016-08-25 2017-02-01 深圳市金立通信设备有限公司 Data processing method and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4742618B2 (en) * 2005-02-28 2011-08-10 富士ゼロックス株式会社 Information processing system, program, and information processing method
US20150026004A1 (en) * 2013-07-17 2015-01-22 Craig Fok Internet System for users to send tangible items to a recipient with just the recipient's email address and without providing the mailing address.
CN105472118A (en) * 2014-09-09 2016-04-06 北京金山安全软件有限公司 Method and device for delaying information sending of terminal and mobile terminal
CN105187622A (en) * 2015-06-25 2015-12-23 小米科技有限责任公司 Information prompt method and information prompt device
CN105450853B (en) * 2015-11-02 2018-11-23 广东欧珀移动通信有限公司 A kind of method, device and mobile terminal preventing chat message and mistaking
CN105282016A (en) * 2015-11-25 2016-01-27 魅族科技(中国)有限公司 Email prompting method and email prompting apparatus
CN106454755A (en) * 2016-06-29 2017-02-22 努比亚技术有限公司 Information group sending method and apparatus, and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099853A (en) * 2014-04-25 2015-11-25 国际商业机器公司 Erroneous message sending preventing method and system
CN106375377A (en) * 2016-08-25 2017-02-01 深圳市金立通信设备有限公司 Data processing method and terminal

Also Published As

Publication number Publication date
CN109120498A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN106605224B (en) Information searching method and device, electronic equipment and server
WO2018058728A1 (en) Content sharing method and apparatus
WO2017016148A1 (en) Image-based communication method and device
US9716789B2 (en) Method, device, terminal and server for replying call
HK1213676A1 (en) Method and device for processing enterprise approval event
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
WO2017092121A1 (en) Information processing method and device
WO2017088247A1 (en) Input processing method, device and apparatus
WO2018094911A1 (en) Multimedia file sharing method and terminal device
WO2016173246A1 (en) Telephone call method and device based on name card in cloud
WO2015039517A1 (en) Multimedia file search method, apparatus, and terminal device
WO2017219497A1 (en) Message generation method and apparatus
KR20190134316A (en) Electronic device and methof for processing message data
WO2016029638A1 (en) Method and device for processing communication identification
US10263925B2 (en) Method, device and medium for sending message
CN109120498B (en) Method and device for sending information
CN105101121B (en) A kind of method and device that information is sent
WO2017219536A1 (en) Application switching method and device
CN103970831B (en) Recommend the method and apparatus of icon
CN107908522B (en) Information display method and device and computer readable storage medium
CN104219360B (en) Information processing method and device
CN114124866A (en) Session processing method, device, electronic equipment and storage medium
CN105391620B (en) Information cuing method and device
CN112800084A (en) A data processing method and device
WO2020078092A1 (en) Information processing method and apparatus, server, terminal 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220118