CN114579691A - Information processing method and related device - Google Patents

Information processing method and related device Download PDF

Info

Publication number
CN114579691A
CN114579691A CN202011375639.XA CN202011375639A CN114579691A CN 114579691 A CN114579691 A CN 114579691A CN 202011375639 A CN202011375639 A CN 202011375639A CN 114579691 A CN114579691 A CN 114579691A
Authority
CN
China
Prior art keywords
information
terminal device
target information
target
intent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011375639.XA
Other languages
Chinese (zh)
Inventor
付朝阳
梁德明
朱越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011375639.XA priority Critical patent/CN114579691A/en
Publication of CN114579691A publication Critical patent/CN114579691A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3343Query execution using phonetics
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Acoustics & Sound (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an information processing method, which comprises the following steps: after the terminal equipment acquires the target information, the associated information is inquired according to the target information to determine the associated information corresponding to the target information, and the associated information is output. The terminal device can output the relevant information besides the feedback information corresponding to the target information.

Description

一种信息处理方法以及相关装置An information processing method and related device

技术领域technical field

本申请实施例涉及人工智能领域,一种信息处理方法以及相关装置。The embodiments of the present application relate to the field of artificial intelligence, an information processing method and related devices.

背景技术Background technique

随着终端设备的发展和普及,越来越多的人拥有了多个终端设备(比如手机、手表、音箱、大屏等)。不同的终端设备为用户提供了多种多样的技能/服务,比如手表提供了消息通知、心率监测、运动/活动监测、睡眠记录、移动支付、公交卡等服务;智慧大屏提供了视频通话、AI健身、儿童专属、高清视频的服务。With the development and popularization of terminal devices, more and more people own multiple terminal devices (such as mobile phones, watches, speakers, large screens, etc.). Different terminal devices provide users with a variety of skills/services. For example, watches provide services such as message notification, heart rate monitoring, exercise/activity monitoring, sleep recording, mobile payment, and bus cards; smart large screens provide video calls, AI fitness, children's exclusive, high-definition video services.

当终端设备获取到目标信息后,终端设备可以进行相对应的答复操作,以终端设备为手机,目标信息为语言“我的步数是多少”为例,终端设备获取到目标信息后可以向用户反馈当前步数。After the terminal device obtains the target information, the terminal device can perform the corresponding reply operation. Taking the terminal device as a mobile phone and the target information as the language "How many steps are I?" for example, after the terminal device obtains the target information, it can send the Feedback the current number of steps.

不同目标信息之间可能具有关联关系,如当目标信息为语言“我的步数是多少”时,与之对应的关联信息可以为心率数据,健康饮食,运动时间等等,终端设备如何合理确定并输出关联信息为需待解决的问题。There may be correlations between different target information. For example, when the target information is the language "How many steps are I?", the corresponding correlation information can be heart rate data, healthy diet, exercise time, etc. How can the terminal device reasonably determine And output the related information as the problem to be solved.

发明内容SUMMARY OF THE INVENTION

本申请实施例第一方面提供了一种信息处理方法,包括:A first aspect of the embodiments of the present application provides an information processing method, including:

终端设备获取目标信息后,根据该目标信息查询关联信息,以终端设备为手机,目标信息为语音“我的步数是多少”为例,终端设备获取到目标信息后,确定其隐式意图为运动健康,该隐式意图为用户的行为类别,终端设备查询该隐式意图与之对应的关联信息,如心率数据,健康饮食,运动时间等等,终端设备输出该关联信息。After the terminal device obtains the target information, it queries the associated information according to the target information. Taking the terminal device as a mobile phone and the target information as the voice "How many steps are I?" as an example, after the terminal device obtains the target information, it determines its implicit intention as Exercise health, the implicit intent is the user's behavior category, the terminal device queries the associated information corresponding to the implicit intent, such as heart rate data, healthy diet, exercise time, etc., and the terminal device outputs the associated information.

本申请实施例中,终端设备除了输出目标信息对应的反馈信息外,还可以输出关联信息。In this embodiment of the present application, in addition to outputting feedback information corresponding to the target information, the terminal device may also output associated information.

基于本申请实施例第一方面,本申请实施例第一方面的第一种实施方式中,终端设备可以从关联终端获取目标信息,或者,终端设备通过传感器采集目标信息。Based on the first aspect of the embodiments of the present application, in the first implementation manner of the first aspect of the embodiments of the present application, the terminal device may acquire target information from an associated terminal, or the terminal device may collect target information through a sensor.

本申请实施例中,提供了多种获取目标信息的途径,提高了方案的灵活性。In the embodiments of the present application, a variety of ways to obtain target information are provided, which improves the flexibility of the solution.

基于本申请实施例第一方面或第一方面的第一种实施方式,本申请实施例第一方面的第二种实施方式中,终端设备在目标场景内输出关联信息,其中目标场景和获取目标信息的时刻可以没有关联关系。以目标信息为语言“我的步数是多少”为例,终端设备获取到目标信息后,确定与之对应的关联信息,如健康饮食,终端设备在就餐时间段输出健康饮食。Based on the first aspect of the embodiments of the present application or the first implementation manner of the first aspect, in the second implementation manner of the first aspect of the embodiments of the present application, the terminal device outputs associated information in the target scene, where the target scene and the acquisition target are The moment of information can be unrelated. Taking the target information as the language "how many steps are I" as an example, after the terminal device obtains the target information, it determines the corresponding associated information, such as healthy diet, and the terminal device outputs the healthy diet during the meal time.

本申请实施例中,终端设备可以记录目标信息或隐式意图,在不同场景确定不同的关联信息,提高方案的可靠性。In this embodiment of the present application, the terminal device may record target information or implicit intention, and determine different associated information in different scenarios, thereby improving the reliability of the solution.

基于本申请实施例第一方面至第一方面的第二种实施方式,本申请实施例第一方面的第三种实施方式中,目标信息包括语音信息,文本信息,和\或图像信息。Based on the second implementation manner of the first aspect to the first aspect of the embodiments of the present application, in the third implementation manner of the first aspect of the embodiments of the present application, the target information includes voice information, text information, and\or image information.

本申请实施例中,提供了目标信息的多种形式,提高了方案的可实现性。In the embodiments of the present application, various forms of target information are provided, which improves the achievability of the solution.

本申请实施例第二方面提供了一种终端设备,该终端设备执行前述第一方面以及第一方面任一实施方式的方法。A second aspect of the embodiments of the present application provides a terminal device, where the terminal device executes the foregoing first aspect and the method of any implementation manner of the first aspect.

本申请实施例第三方面提供了一种计算机存储介质,该计算机存储介质中存储有指令,该指令在计算机上执行时,使得计算机执行前述第一方面以及第一方面任一实施方式的方法。A third aspect of the embodiments of the present application provides a computer storage medium, where instructions are stored in the computer storage medium, and when executed on a computer, the instructions cause the computer to execute the first aspect and the method of any embodiment of the first aspect.

本申请实施例第四方面提供了一种计算机软件产品,该计算机程序产品在计算机上执行时,使得计算机执行前述第一方面以及第一方面任一实施方式的方法。A fourth aspect of the embodiments of the present application provides a computer software product, which, when executed on a computer, enables the computer to execute the first aspect and the method of any embodiment of the first aspect.

附图说明Description of drawings

图1为本申请实施例中信息处理方法一个流程示意图;1 is a schematic flowchart of an information processing method in an embodiment of the application;

图2为本申请实施例中多终端设备系统示意图;FIG. 2 is a schematic diagram of a multi-terminal device system in an embodiment of the present application;

图3为本申请实施例中用户操作记录示意图;3 is a schematic diagram of a user operation record in an embodiment of the application;

图4为本申请实施例中意图流转模型的训练示意图;Fig. 4 is the training schematic diagram of the intention flow model in the embodiment of the application;

图5为本申请实施例中信息处理方法一个流程框架图;Fig. 5 is a flow frame diagram of the information processing method in the embodiment of the application;

图6为本申请实施例中终端设备一个结构示意图;FIG. 6 is a schematic structural diagram of a terminal device in an embodiment of the present application;

图7为本申请实施例中终端设备另一个结构示意图。FIG. 7 is another schematic structural diagram of a terminal device in an embodiment of the present application.

具体实施方式Detailed ways

本申请实施例提供了一种信息处理方法。The embodiments of the present application provide an information processing method.

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。在本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c或a和b和c,其中a、b和c可以是单个,也可以是多个。值得注意的是,“至少一项(个)”还可以解释成“一项(个)或多项(个)”。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. In this application, "at least one" means one or more, and "plurality" means two or more. "And/or", which describes the association relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, which can indicate: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (a) of a, b or c, can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b and c can be It can be single or multiple. It is worth noting that "at least one item(s)" can also be interpreted as "one item(s) or more(s)".

需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or illustrations. Any embodiment or design described in this application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

本申请实施例中出现的第一、第二等描述,仅作示意与区分描述对象之用,没有次序之分,也不表示本申请实施例中对设备个数的特别限定,不能构成对本申请实施例的任何限制。The descriptions of the first, second, etc. appearing in the embodiments of the present application are only used for illustration and distinguishing the description objects, and have no order. any limitations of the examples.

本申请实施例提供的技术方案可以应用于各种通信系统,例如:长期演进(longterm evolution,LTE)系统、第五代(5th generation,5G)移动通信系统、第六代(6thgeneration,6G)移动通信系统、无线保真(wireless-fidelity,WiFi)系统、短距通信系统、卫星通信系统、车联网通信系统、非陆地通信系统、未来的通信系统、或者多种通信系统融合的系统等,本申请实施例不做限定。其中,5G还可以称为新无线(new radio,NR)。The technical solutions provided in the embodiments of the present application can be applied to various communication systems, for example, a long term evolution (LTE) system, a fifth generation (5G) mobile communication system, and a sixth generation (6G) mobile communication system. Communication systems, wireless-fidelity (WiFi) systems, short-range communication systems, satellite communication systems, Internet of Vehicles communication systems, non-terrestrial communication systems, future communication systems, or systems that integrate multiple communication systems, etc. The application examples are not limited. Among them, 5G can also be called new radio (NR).

本申请实施例提供的技术方案可以应用于各种通信场景,例如可以应用于以下通信场景中的一种或多种:增强移动宽带(enhanced mobile broadband,eMBB)、超可靠低时延通信(ultra-reliable low-latency communication,URLLC)、机器类型通信(machinetype communication,MTC)、大规模机器类型通信(massive machine typecommunications,mMTC)、设备到设备(device-to-device,D2D)、车辆外联(vehicle toeverything,V2X)、车辆到车辆(vehicle to vehicle,V2V)、和物联网(internet ofthings,IoT)、虚拟现实(Virtual Reality,VR)、增强现实(Augmented Reality,AR)、客户前置设备(Customer Premise Equipment,CPE)、传感器等。The technical solutions provided in the embodiments of the present application can be applied to various communication scenarios, for example, can be applied to one or more of the following communication scenarios: enhanced mobile broadband (eMBB), ultra-reliable and low-latency communication (ultra-reliable and low-latency communication) -reliable low-latency communication (URLLC), machine type communication (MTC), massive machine type communication (mMTC), device-to-device (D2D), vehicle outreach ( Vehicle toeverything (V2X), vehicle to vehicle (V2V), and Internet of things (IoT), Virtual Reality (VR), Augmented Reality (AR), customer premises equipment ( Customer Premise Equipment, CPE), sensors, etc.

本发明实施例对同构网络与异构网络的场景均适用,同时对于传输点也无限制,可以是宏基站与宏基站、微基站与微基站和宏基站与微基站间的多点协同传输,对频分复用系统,时分复用系统,双工系统,接入回传系统,中继系统等均适用。本发明实施例适用于低频场景(sub 6G),也适用于高频场景(6G以上),太赫兹,光通信等。The embodiments of the present invention are applicable to both homogeneous network and heterogeneous network scenarios, and also have no limitation on transmission points, which may be multi-point coordinated transmission between macro base station and macro base station, micro base station and micro base station, and macro base station and micro base station , applicable to frequency division multiplexing system, time division multiplexing system, duplex system, access backhaul system, relay system, etc. The embodiments of the present invention are applicable to low-frequency scenarios (sub 6G) and high-frequency scenarios (above 6G), terahertz, optical communication, and the like.

终端设备,又称之为用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等,是指向用户提供语音和/或数据连通性的设备。例如,具有无线连接功能的手持式设备、车载设备等。终端设备也可以简称为终端。目前,一些终端的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、传感器、蜂窝电话、无绳电话、会话启动协议(SIP,session initiation protocol)电话、无线本地环路(WLL,wireless local loop)站、个人数字助理(PDA,personal digital assistant)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的终端设备或者未来演进的公用陆地移动通信网络(PLMN,publicland mobile network)中的终端设备等。Terminal equipment, also known as user equipment (UE), mobile station (MS), mobile terminal (MT), etc., is a device that provides voice and/or data connectivity to users. For example, handheld devices, in-vehicle devices, etc. with wireless connectivity. A terminal device may also be simply referred to as a terminal. At present, some examples of terminals are: mobile phone (mobile phone), tablet computer, notebook computer, palmtop computer, mobile internet device (mobile internet device, MID), wearable device, virtual reality (virtual reality, VR) device, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, and smart grids wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, sensor, cellular phone, cordless phone, Session Initiation Protocol (SIP) , session initiation protocol) telephones, wireless local loop (WLL, wireless local loop) stations, personal digital assistants (PDAs, personal digital assistants), handheld devices with wireless communication capabilities, computing devices, or other processing devices connected to a wireless modem , in-vehicle equipment, wearable equipment, terminal equipment in 5G network or terminal equipment in the future evolved public land mobile communication network (PLMN, publicland mobile network), etc.

其中,可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。Among them, wearable devices can also be called wearable smart devices, which is a general term for the intelligent design of daily wear and the development of wearable devices using wearable technology, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories.

可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full functions, large sizes, and can achieve complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to cooperate with other devices such as smart phones. Use, such as all kinds of smart bracelets, smart jewelry, etc. for physical sign monitoring.

此外,终端设备还可以是物联网(IoT,internet of things)系统中的终端设备。IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。IoT技术可以通过例如窄带(NB,narrowband)技术,做到海量连接,深度覆盖,终端省电。In addition, the terminal device may also be a terminal device in an Internet of Things (IoT, internet of things) system. IoT is an important part of the development of information technology in the future. Its main technical feature is to connect items to the network through communication technology, so as to realize the intelligent network of human-machine interconnection and interconnection of things. IoT technology can achieve massive connections, deep coverage, and terminal power saving through, for example, narrowband (NB, narrowband) technology.

此外,终端设备还可以包括智能打印机、火车探测器、加油站等传感器,主要功能包括收集数据、接收网络设备的控制信息与下行数据,并发送电磁波,向网络设备传输上行数据。In addition, terminal equipment can also include sensors such as smart printers, train detectors, and gas stations. The main functions include collecting data, receiving control information and downlink data from network equipment, and sending electromagnetic waves to transmit uplink data to network equipment.

参阅图1,本申请实施例中信息处理方法,包括:Referring to FIG. 1, the information processing method in the embodiment of the present application includes:

101、终端设备获取目标信息;101. The terminal device obtains target information;

终端设备可以通过多种途径获取目标信息,如通过终端设备的传感器采集,也可以从其他终端设备获取。The terminal device can obtain target information in various ways, such as through the sensor collection of the terminal device, or from other terminal devices.

以多个终端设备相连接构成终端设备系统为例,当终端设备获取目标信息后,可以向与之关联的终端设备广播该目标信息,参阅图2,手机终端的音频传感器采集到目标信息:“小艺小艺,我的心率是多少”后,向其他终端设备如智能手表终端,大屏终端等广播该目标信息。此时手机终端通过音频传感器采集目标信息,其他终端设备如智能手表终端,大屏终端等从与之关联的终端设备(手机终端)中获取目标信息。Taking the connection of multiple terminal devices to form a terminal device system as an example, after the terminal device obtains the target information, it can broadcast the target information to the associated terminal devices. See Figure 2. The audio sensor of the mobile phone terminal collects the target information: " Xiaoyi Xiaoyi, what is my heart rate", broadcast the target information to other terminal devices such as smart watch terminals, large-screen terminals, etc. At this time, the mobile phone terminal collects target information through the audio sensor, and other terminal devices such as smart watch terminals and large-screen terminals obtain target information from the associated terminal devices (mobile phone terminals).

可以理解的是,目标信息的形式可以有多种,如语音信息,文本信息,图像信息等。It can be understood that the target information can be in various forms, such as voice information, text information, image information, and the like.

可选的,参阅图3,目标信息还可以是用户的操作记录(打点数据),如浏览记录,搜索记录,软件使用记录等。在用户日常使用终端设备的过程中,会产生意图序列打点数据,例如,用户在一段时间内,使用终端设备进行了听音乐、聊天、点外卖、刷抖音等操作,产生了一段意图序列,该意图序列包括听音乐、聊天、点外卖、刷抖音等操作记录。同时,用户对于设备的操作如手机软件(application,APP)的查看、点击、忽视、关闭等反馈也可以作为操作记录,即有用户反馈的打点数据。Optionally, referring to FIG. 3 , the target information may also be the user's operation records (dot data), such as browsing records, search records, software usage records, and the like. During the user's daily use of the terminal device, an intent sequence will be generated to check data. For example, the user uses the terminal device to perform operations such as listening to music, chatting, ordering takeout, and swiping Douyin for a period of time, resulting in a sequence of intents. The intent sequence includes operation records such as listening to music, chatting, ordering takeout, and swiping Douyin. At the same time, the user's feedback on the operation of the device, such as viewing, clicking, ignoring, and closing the mobile phone software (application, APP), can also be used as an operation record, that is, the management data with the user's feedback.

102、终端设备根据所述目标信息确定隐式意图;102. The terminal device determines an implicit intent according to the target information;

终端设备可以得到目标信息的隐式意图,该隐式意图为用户的意图分类,参阅图2,意图分类包括运动健康,出行等,如目标信息为“小艺小艺,我的心率是多少”,此时的隐式意图为运动健康,运动健康所对应的显式意图包括查心率、轻食、运动等,终端设备可以向之关联的终端设备广播隐式意图,此时该关联的终端设备获取到的目标信息为隐式意图。The terminal device can obtain the implicit intent of the target information. The implicit intent is the user's intent classification. See Figure 2. The intent classification includes sports health, travel, etc., for example, the target information is "Xiaoyi Xiaoyi, what is my heart rate" , the implicit intention at this time is exercise health, and the explicit intentions corresponding to exercise health include checking heart rate, light meal, exercise, etc. The terminal device can broadcast the implicit intention to the associated terminal device. At this time, the associated terminal device The acquired target information is an implicit intent.

可以理解的是,一个目标信息可以对应多个隐式意图如当目标信息为听音乐时,对应的隐式意图可以为娱乐休闲,还可以为运动健康。It can be understood that one target information may correspond to multiple implicit intentions. For example, when the target information is listening to music, the corresponding implicit intention may be entertainment and leisure, and may also be sports and health.

103、终端设备基于隐式意图查询关联信息;103. The terminal device queries the associated information based on the implicit intent;

终端设备可以根据隐式意图查询到与之对应的关联信息,以目标信息为“小艺小艺,我的心率是多少”为例,该目标信息的隐式意图为运动健康,可以得到关联信息如运动(运动时长,运动强度),轻食,卡路里查询等。The terminal device can query the corresponding associated information according to the implicit intent. Taking the target information as "Xiaoyi Xiaoyi, what is my heart rate" as an example, the implicit intent of the target information is sports health, and the associated information can be obtained. Such as exercise (exercise duration, exercise intensity), light food, calorie query, etc.

可以理解的是,关联信息的设置可以由用户预先定义系统预先配置等,还可以由终端设备通过历史记录得到,如:查阅历史信息中终端设备获取该目标信息后的相关搜索等,例如,历史记录中保存用户选择点外卖后会搜索电视剧,此时可以认为点外卖和观看电视剧相关联。It can be understood that the setting of the associated information can be pre-defined by the user and pre-configured by the system, etc., and can also be obtained by the terminal device through historical records. It is saved in the record that the user will search for TV dramas after choosing to order takeout. At this time, it can be considered that ordering takeout and watching TV series are related.

104、终端设备输出关联信息。104. The terminal device outputs the associated information.

终端设备输出步骤102中获取的关联信息,本申请实施例中,关联信息的输出时刻可以根据场景而定,如轻食可以在就餐时间段进行输出。终端设备可以记录目标信息或隐式意图,在不同场景确定不同的关联信息,提高方案的可靠性。The terminal device outputs the associated information obtained in step 102. In this embodiment of the present application, the output timing of the associated information may be determined according to the scene, for example, light food may be output during the meal time period. The terminal device can record target information or implicit intentions, and determine different associated information in different scenarios to improve the reliability of the solution.

可以理解的是,目标信息的关联信息可能有多种,具体推荐的优先级可以通过智能模块进行判断,具体的判断方式本申请实施例中不做限定,如仅输出在历史记录中存在的关联信息,还可以通过其他方式,下面介绍一种通过意图流转模型进行判断的方式:It can be understood that there may be various kinds of related information of the target information, and the specific recommended priority can be judged by the intelligent module. The specific judgment method is not limited in the embodiment of this application. For example, only the association existing in the historical record is output. Information can also be used in other ways. Here is a way to judge through the intent flow model:

意图流转模型的训练由两部分组成,如图4所示:The training of the intent flow model consists of two parts, as shown in Figure 4:

意图嵌入模块,基于无监督的意图序列的打点数据进行训练。输入为序列中的第一意图,输出为意图序列中的其他意图,即预测与第一意图有共现关系的其他意图。通过这种方式可以得到意图嵌入。The intent embedding module is trained based on the dotted data of unsupervised intent sequences. The input is the first intent in the sequence, and the output is other intents in the intent sequence, that is, predicting other intents that have a co-occurrence relationship with the first intent. Intent embedding can be obtained in this way.

状态嵌入模块,用户状态包括感知项和隐式意图,在进行推送时,输入感知项数据和隐式意图,进过特征提取模块得到与意图嵌入维度相同的状态嵌入,然后意图嵌入和状态嵌入做内积作为用户反馈得分的预测值,与真实的用户反馈得分计算损失,使用梯度下降方法进行训练。In the state embedding module, the user state includes perception items and implicit intentions. When pushing, input the perception item data and implicit intentions, go through the feature extraction module to get the same state embedding dimension as the intention embedding, and then do the intention embedding and state embedding. The inner product is used as the predicted value of the user feedback score, and the loss is calculated with the real user feedback score, and the gradient descent method is used for training.

终端设备可以利用多种关联的终端设备包含的传感器获取用户动作、位置、时间、情绪等感知目标信息,基于目标信息和隐式意图的关联,确定缓存的隐式意图对应的关联信息。将目标信息和隐式意图作为用户状态输入状态嵌入模块,提取状态嵌入,与关联信息的嵌入做内积得到候选意图的得分,选择得分最高的作为流转意图。即得分高的意图(关联信息)优先输出。The terminal device can use the sensors included in a variety of associated terminal devices to obtain perceptual target information such as user action, location, time, and emotion, and determine the association information corresponding to the cached implicit intent based on the association between the target information and the implicit intent. The target information and implicit intent are input into the state embedding module as the user state, the state embedding is extracted, and the inner product of the embedding of the associated information is used to obtain the score of the candidate intent, and the highest score is selected as the flow intent. That is, intents (related information) with high scores are output first.

对于用户的操作记录(打点数据),如图3所示,该意图序列包括听音乐、聊天、点外卖、刷抖音等操作记录。利用意图序列的操作记录可以训练意图嵌入。同时,根据感知项(比如用户动作、位置、时间等)和隐式意图,意图流转模型做出决策为用户推荐技能/服务,用户可能会有查看、点击、忽视、关闭等反馈,利用用户反馈数据训练意图流转模型。For the user's operation record (dotting data), as shown in Figure 3, the intent sequence includes operation records such as listening to music, chatting, ordering takeout, and swiping Douyin. Intent embeddings can be trained with action records of intent sequences. At the same time, based on perception items (such as user action, location, time, etc.) and implicit intent, the intent flow model makes decisions to recommend skills/services for users. Users may have feedback such as viewing, clicking, ignoring, closing, etc., using user feedback Data training intent flow model.

举例说明:当前记忆的隐式意图有减脂和娱乐,感知项包括但不限与手表感知的用户压力、用户心率,手机感知的用户位置等数据,这些感知项和隐式意图表示为向量s,每个候选意图表示为向量t(比如使用独热编码),设特征提取函数为f,意图的嵌入函数为g,则s′=f(s)为用户状态嵌入,则t′=g(t)为意图嵌入,则s′与t′的内积为候选意图(关联信息)t的得分,对于每个候选意图求出得分并排序,得到最终输出的候选意图。在本发明的实施例中,函数f和g是矩阵乘法,即f(s)=As,g(t)=Bs,其中A,B分别为特征提取矩阵和意图嵌入矩阵。For example: The implicit intentions of the current memory are fat loss and entertainment. The perception items include but are not limited to data such as user pressure perceived by the watch, user heart rate, and user location perceived by the mobile phone. These perception items and implicit intentions are expressed as a vector s. , each candidate intent is represented as a vector t (such as using one-hot encoding), and the feature extraction function is f, the intent embedding function is g, then s′=f(s) is the user state embedding, then t′=g( t) is the intent embedding, then the inner product of s' and t' is the score of the candidate intent (related information) t, and the score for each candidate intent is calculated and sorted to obtain the final output candidate intent. In the embodiment of the present invention, the functions f and g are matrix multiplication, that is, f(s)=As, g(t)=Bs, where A and B are the feature extraction matrix and the intent embedding matrix, respectively.

可以理解的是,候选意图的确定也可以是其他机器学习模型,本实施例只是其中一种实现方式。It can be understood that the determination of the candidate intent may also be other machine learning models, and this embodiment is only one of the implementation manners.

参阅图5为本申请实施例中信息处理方法一个流程框架图,该系统架构图包括感知模块、显式意图识别、隐式意图管理、数据搜集模块、意图流转模型、意图推送展示等模块。其中,感知模块通过传感器感知用户状态、环境状态(如天气状态,地理位置信息等)、设备状态(用户是否携带终端设备、终端设备的运行、待机等状态等)。显式意图识别模块通过规则或自然语言理解技术识别用户操作或语音对应的显式意图。隐式意图管理模块负责保存一段时间内用户暴露出的显式意图对应的隐式意图,并同步到用户的所有终端设备。数据搜集模块负责收集带用户反馈的信息及用户意图序列,用于意图流转模型的更新。意图流转模型负责模型的训练更新和预测。输入用户当前的目标信息和隐式意图,返回候选意图的得分。包含预先设置的多种展示方式,包括但不限于通知、弹出卡片等方式。5 is a flow frame diagram of the information processing method in the embodiment of the present application. The system architecture diagram includes modules such as perception module, explicit intention recognition, implicit intention management, data collection module, intention flow model, and intention push display. The sensing module senses user status, environmental status (such as weather status, geographic location information, etc.), and device status (whether the user carries a terminal device, running, standby, etc. status of the terminal device, etc.) through sensors. The explicit intent recognition module identifies explicit intents corresponding to user actions or speech through rules or natural language understanding techniques. The implicit intent management module is responsible for saving the implicit intent corresponding to the explicit intent exposed by the user for a period of time, and synchronizing it to all terminal devices of the user. The data collection module is responsible for collecting information with user feedback and user intent sequences for updating the intent flow model. The intent flow model is responsible for model training updates and predictions. Input the user's current goal information and implicit intent, and return the score of the candidate intent. Contains a variety of pre-set display methods, including but not limited to notifications, pop-up cards, etc.

上面对本申请实施例中的信息处理方法进行了描述,下面对本申请实施例中的装置进行描述,请参阅图6,本申请实施例中终端设备一个实施例包括:The information processing method in the embodiment of the present application is described above, and the apparatus in the embodiment of the present application is described below. Please refer to FIG. 6 . An embodiment of the terminal device in the embodiment of the present application includes:

获取单元601,用于获取目标信息;an obtaining unit 601, configured to obtain target information;

确定单元602,用于根据所述目标信息确定隐式意图;a determining unit 602, configured to determine an implicit intent according to the target information;

查询单元603,用于基于所述隐式意图查询关联信息;a query unit 603, configured to query associated information based on the implicit intent;

输出单元604,用于输出关联信息。The output unit 604 is used for outputting the associated information.

各单元可以执行前述图1所示实施例中终端设备所执行的操作,具体此处不再赘述。Each unit can perform the operations performed by the terminal device in the foregoing embodiment shown in FIG. 1 , and details are not repeated here.

请参阅图7,本申请实施例提供了一种终端设备700,该终端设备可以作为第一通信装置,终端设备700可以包括一个或一个以上处理器701和存储器705,该存储器705中存储有程序代码,进一步地,存储器705中还可以存储数据。Referring to FIG. 7 , an embodiment of the present application provides a terminal device 700. The terminal device may serve as a first communication device. The terminal device 700 may include one or more processors 701 and a memory 705, where a program is stored in the memory 705. Code, and further, data may also be stored in the memory 705 .

其中,存储器705可以是易失性存储器或非易失性存储器或持久存储器。存储在存储器705的程序代码可以包括一个或一个以上模块,每个模块可以包括对终端设备中的一系列指令操作。更进一步地,处理器701可以设置为与存储器705通信,在终端设备700上执行存储器705中的一系列指令操作。Among them, the memory 705 may be volatile memory or non-volatile memory or persistent memory. The program code stored in the memory 705 may include one or more modules, and each module may include a series of instructions to operate on the terminal device. Furthermore, the processor 701 may be configured to communicate with the memory 705 to execute a series of instruction operations in the memory 705 on the terminal device 700 .

终端设备700还可以包括一个或一个以上电源702,一个或一个以上有线或无线网络接口703,一个或一个以上输入输出接口704。The terminal device 700 may also include one or more power supplies 702 , one or more wired or wireless network interfaces 703 , and one or more input and output interfaces 704 .

该处理器701可以执行前述图1所示实施例中终端设备所执行的操作,具体此处不再赘述。The processor 701 can perform the operations performed by the terminal device in the foregoing embodiment shown in FIG. 1 , and details are not repeated here.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, 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 components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. 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 application 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.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,read-onlymemory)、随机存取存储器(RAM,random access memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), magnetic disk or optical disk and other media that can store program codes.

Claims (10)

1.一种信息处理方法,其特征在于,包括:1. an information processing method, is characterized in that, comprises: 终端设备获取目标信息;The terminal device obtains target information; 所述终端设备根据所述目标信息确定隐式意图,所述隐式意图为所述目标信息对应的行为意图;The terminal device determines an implicit intent according to the target information, where the implicit intent is a behavioral intent corresponding to the target information; 所述终端设备根据所述隐式意图查询关联信息;The terminal device queries the associated information according to the implicit intent; 所述终端设备输出所述关联信息。The terminal device outputs the association information. 2.根据权利要求1所述的信息处理方法,其特征在于,所述终端设备获取目标信息包括:2 . The information processing method according to claim 1 , wherein, acquiring the target information by the terminal device comprises: 2 . 所述终端设备从关联终端获取所述目标信息;The terminal device acquires the target information from an associated terminal; 或者,or, 所述终端设备通过传感器采集所述目标信息。The terminal device collects the target information through a sensor. 3.根据权利要求1或2所述的信息处理方法,其特征在于,所述终端设备输出所述关联信息包括:3. The information processing method according to claim 1 or 2, wherein the output of the associated information by the terminal device comprises: 所述终端设备在目标场景内输出所述关联信息,所述目标场景和所述获取目标信息的时刻没有关联关系。The terminal device outputs the associated information in the target scene, and the target scene is not associated with the time when the target information is acquired. 4.根据权利要求1至3中任一项所述的信息处理方法,其特征在于,所述目标信息包括语音信息,文本信息,和\或图像信息。4. The information processing method according to any one of claims 1 to 3, wherein the target information includes voice information, text information, and/or image information. 5.一种终端设备,其特征在于,包括:5. A terminal device, comprising: 获取单元,用于获取目标信息;an acquisition unit for acquiring target information; 确定单元,用于根据所述目标信息确定隐式意图,所述隐式意图为所述目标信息对应的行为意图;a determining unit, configured to determine an implicit intention according to the target information, where the implicit intention is a behavioral intention corresponding to the target information; 查询单元,用于基于所述隐式意图查询关联信息;a query unit, configured to query the associated information based on the implicit intent; 输出单元,用于输出所述关联信息。An output unit, configured to output the associated information. 6.根据权利要求5所述的设备,其特征在于,所述获取单元具体用于,从关联终端获取所述目标信息,或者,通过传感器采集所述目标信息。6 . The device according to claim 5 , wherein the obtaining unit is specifically configured to obtain the target information from an associated terminal, or collect the target information through a sensor. 7 . 7.根据权利要求5或6所述的设备,其特征在于,所述输出单元具体用于,在目标场景内输出所述关联信息,所述目标场景和所述获取目标信息的时刻没有关联关系。7. The device according to claim 5 or 6, wherein the output unit is specifically configured to output the associated information in a target scene, and the target scene is not associated with the moment when the target information is acquired . 8.根据权利要求5至7中任一项所述设备,其特征在于,所述目标信息包括语音信息,文本信息,和\或图像信息。8. The device according to any one of claims 5 to 7, wherein the target information includes voice information, text information, and/or image information. 9.一种计算机存储介质,其特征在于,所述计算机存储介质中存储有指令,所述指令在计算机上执行时,使得所述计算机执行如权利要求1至4中任一项所述的方法。9. A computer storage medium, characterized in that the computer storage medium stores instructions that, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 4 . 10.一种计算机程序产品,其特征在于,所述计算机程序产品在计算机上执行时,使得所述计算机执行如权利要求1至4中任一项所述的方法。10. A computer program product, characterized in that, when executed on a computer, the computer program product causes the computer to execute the method according to any one of claims 1 to 4.
CN202011375639.XA 2020-11-30 2020-11-30 Information processing method and related device Pending CN114579691A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011375639.XA CN114579691A (en) 2020-11-30 2020-11-30 Information processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011375639.XA CN114579691A (en) 2020-11-30 2020-11-30 Information processing method and related device

Publications (1)

Publication Number Publication Date
CN114579691A true CN114579691A (en) 2022-06-03

Family

ID=81767954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011375639.XA Pending CN114579691A (en) 2020-11-30 2020-11-30 Information processing method and related device

Country Status (1)

Country Link
CN (1) CN114579691A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109964271A (en) * 2016-11-16 2019-07-02 三星电子株式会社 Apparatus and method for providing a response message to a user's voice input
CN110111795A (en) * 2019-04-23 2019-08-09 维沃移动通信有限公司 A kind of method of speech processing and terminal device
CN111581361A (en) * 2020-04-22 2020-08-25 腾讯科技(深圳)有限公司 Intention identification method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109964271A (en) * 2016-11-16 2019-07-02 三星电子株式会社 Apparatus and method for providing a response message to a user's voice input
CN110111795A (en) * 2019-04-23 2019-08-09 维沃移动通信有限公司 A kind of method of speech processing and terminal device
CN111581361A (en) * 2020-04-22 2020-08-25 腾讯科技(深圳)有限公司 Intention identification method and device

Similar Documents

Publication Publication Date Title
WO2021018154A1 (en) Information representation method and apparatus
EP3937073A1 (en) Method for video classification, method and device for model training, and storage medium
US10970523B2 (en) Terminal and server for providing video call service
CN113723159B (en) Scene recognition model training method, scene recognition method and model training device
US10949654B2 (en) Terminal and server for providing video call service
CN104079640B (en) A kind of user service provides method and system
CN112203115B (en) Video identification method and related device
CN111428091A (en) Encoder training method, information recommendation method and related device
CN114722937B (en) Abnormal data detection method and device, electronic equipment and storage medium
CN113254684A (en) Content aging determination method, related device, equipment and storage medium
WO2015043547A1 (en) A method, device and system for message response cross-reference to related applications
CN103729476A (en) Method and system for correlating contents according to environmental state
WO2022199500A1 (en) Model training method, scene recognition method, and related device
CN110046571B (en) Method and device for identifying age
US20250139663A1 (en) Search Method, Terminal, Server, and System
CN105117608A (en) Information interaction method and device
CN106131296B (en) Information displaying method and device
CN117807123A (en) Service card recommendation method and electronic equipment
CN104601717A (en) Communication information processing method, device and system
CN113127740A (en) Information recommendation method, electronic device and storage medium
CN114579691A (en) Information processing method and related device
CN108154165A (en) Love and marriage object matching data processing method, device, computer equipment and storage medium based on big data and deep learning
CN114245206B (en) Video processing method and device
KR102541692B1 (en) Method and device for recommneding real estates for sale to lesssee
WO2023179490A1 (en) Application recommendation method and an electronic device

Legal Events

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