[go: up one dir, main page]

CN111914134A - Association recommendation method, intelligent device and service device - Google Patents

Association recommendation method, intelligent device and service device Download PDF

Info

Publication number
CN111914134A
CN111914134A CN202010692647.0A CN202010692647A CN111914134A CN 111914134 A CN111914134 A CN 111914134A CN 202010692647 A CN202010692647 A CN 202010692647A CN 111914134 A CN111914134 A CN 111914134A
Authority
CN
China
Prior art keywords
entity
target entity
query statement
service device
target
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.)
Granted
Application number
CN202010692647.0A
Other languages
Chinese (zh)
Other versions
CN111914134B (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202010692647.0A priority Critical patent/CN111914134B/en
Publication of CN111914134A publication Critical patent/CN111914134A/en
Priority to PCT/CN2021/099448 priority patent/WO2022012234A1/en
Application granted granted Critical
Publication of CN111914134B publication Critical patent/CN111914134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9032Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种关联推荐方法、智能设备及服务设备,用以依据查询语句进行关联推荐。一种智能设备,包括:输入接口和控制器;所述控制器被配置用于:将通过所述输入接口输入的查询语句发送至服务设备,以使服务设备在已建立的知识图谱中查找目标实体对应的关联实体,所述知识图谱用于表示实体之间的语义关系,所述目标实体为依据所述查询语句确定的实体;从所述服务设备获取所述关联实体并输出。

Figure 202010692647

The present application discloses an association recommendation method, an intelligent device and a service device, which are used for association recommendation according to a query sentence. An intelligent device, comprising: an input interface and a controller; the controller is configured to: send a query sentence input through the input interface to a service device, so that the service device searches for a target in an established knowledge graph An associated entity corresponding to an entity, the knowledge graph is used to represent the semantic relationship between entities, and the target entity is an entity determined according to the query statement; the associated entity is acquired from the service device and output.

Figure 202010692647

Description

一种关联推荐方法、智能设备及服务设备A kind of association recommendation method, intelligent device and service device

技术领域technical field

本申请实施例涉及计算机技术领域。更具体的讲,涉及一种关联推荐方法、智能设备及服务设备。The embodiments of the present application relate to the field of computer technology. More specifically, it relates to an association recommendation method, a smart device and a service device.

背景技术Background technique

目前,用户可以通过智能电视、智能音箱等智能设备查询并获取信息,为了更好地满足用户对信息的获取需求,推荐系统应运而生。推荐系统能够对用户查询的信息进行关联推荐,从而向用户提供所查询信息的相关信息。At present, users can query and obtain information through smart devices such as smart TVs and smart speakers. In order to better meet users' needs for information acquisition, recommendation systems emerge as the times require. The recommendation system can perform associated recommendation on the information queried by the user, so as to provide the user with relevant information of the queried information.

关联推荐具有多种优点,比如,在这个信息过载的时代,面对海量数据,用户难以逐一查询所有可能感兴趣的信息,在这种情况下,如果对用户已查询的信息进行关联推荐,可以帮助用户快速发现更多可能感兴趣的信息;又如,当用户查询某些信息比如查询指定人物时,若未查找到该指定人物,推荐该指定人物的相关人物比单纯返回“查询失败”这一结果更能提升用户体验。Relevant recommendation has many advantages. For example, in this era of information overload, in the face of massive data, it is difficult for users to query all the information that may be of interest one by one. Help users to quickly find more information that may be of interest; for another example, when a user queries for some information, such as querying a specified person, if the specified person is not found, it is recommended to recommend related people of the specified person rather than simply returning "query failure". The result is a better user experience.

为进一步提升用户体验,如何提供更加全面、丰富的关联推荐是目前仍需解决的问题。In order to further improve the user experience, how to provide a more comprehensive and rich association recommendation is a problem that still needs to be solved.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种关联推荐方法、智能设备及服务设备,用以依据查询语句进行关联推荐。Embodiments of the present application provide an association recommendation method, an intelligent device, and a service device, which are used for association recommendation according to a query sentence.

第一方面,提供一种智能设备,包括:输入接口和控制器;In a first aspect, an intelligent device is provided, including: an input interface and a controller;

上述控制器被配置用于:The above controller is configured to:

将通过上述输入接口输入的查询语句发送至服务设备,以使服务设备在已建立的知识图谱中查找目标实体对应的关联实体,上述知识图谱用于表示实体之间的语义关系,上述目标实体为依据上述查询语句确定的实体;Send the query statement input through the above input interface to the service device, so that the service device searches for the associated entity corresponding to the target entity in the established knowledge graph, the above knowledge graph is used to represent the semantic relationship between entities, and the above target entity is The entity determined according to the above query statement;

从上述服务设备获取上述关联实体并输出。Obtain the above-mentioned associated entity from the above-mentioned service device and output it.

第二方面,提供一种服务设备,包括:In a second aspect, a service device is provided, including:

接收模块,用于接收来自智能设备的当前查询语句;The receiving module is used to receive the current query statement from the smart device;

关联推荐模块,用于在已建立的知识图谱中查找目标实体对应的关联实体,上述知识图谱用于表示实体之间的语义关系,上述目标实体为依据上述当前查询语句确定的实体。The association recommendation module is used to find the associated entity corresponding to the target entity in the established knowledge graph, the knowledge graph is used to represent the semantic relationship between the entities, and the target entity is the entity determined according to the current query sentence.

第三方面,提供一种关联推荐方法,应用于智能设备,包括:In a third aspect, a method for association recommendation is provided, applied to a smart device, including:

将通过输入接口输入的查询语句发送至服务设备,以使服务设备在已建立的知识图谱中查找目标实体对应的关联实体,上述知识图谱用于表示实体之间的语义关系,上述目标实体为依据上述查询语句确定的实体;Send the query statement input through the input interface to the service device, so that the service device searches for the associated entity corresponding to the target entity in the established knowledge graph. The above knowledge graph is used to represent the semantic relationship between entities, and the above target entity is based on The entity identified by the above query statement;

从上述服务设备获取上述关联实体并输出。Obtain the above-mentioned associated entity from the above-mentioned service device and output it.

第四方面,提供一种关联推荐方法,应用于服务设备,包括:In a fourth aspect, an association recommendation method is provided, applied to a service device, including:

接收来自智能设备的当前查询语句;Receive the current query statement from the smart device;

在已建立的知识图谱中查找目标实体对应的关联实体,上述知识图谱用于表示实体之间的语义关系,上述目标实体为依据上述当前查询语句确定的实体。The associated entity corresponding to the target entity is searched in the established knowledge graph, the above knowledge graph is used to represent the semantic relationship between entities, and the above target entity is the entity determined according to the above current query sentence.

上述实施例中,智能设备可将接收到的查询语句发送到服务设备,以获取服务设备依据该查询语句确定的目标实体对应的关联实体并输出。由此,可在智能设备与用户的交互过程中,针对用户输入的查询语句实现较为全面的关联推荐。In the above embodiment, the smart device may send the received query statement to the service device, so as to obtain and output the associated entity corresponding to the target entity determined by the service device according to the query statement. Therefore, in the interaction process between the smart device and the user, a relatively comprehensive association recommendation can be implemented for the query statement input by the user.

附图说明Description of drawings

为了更清楚地说明本申请实施例或相关技术中的实施方式,下面将对实施例或相关技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the implementations in the related technologies, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or related technologies. Obviously, the drawings in the following description are the For some embodiments of the application, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings.

图1中示例性示出了根据一些实施例的显示设备与控制装置之间操作场景的示意图;FIG. 1 exemplarily shows a schematic diagram of an operation scene between a display device and a control apparatus according to some embodiments;

图2中示例性示出了根据一些实施例的显示设备200的硬件配置框图;FIG. 2 exemplarily shows a hardware configuration block diagram of a display device 200 according to some embodiments;

图3中示例性示出了根据一些实施例的控制设备100的硬件配置框图;FIG. 3 exemplarily shows a hardware configuration block diagram of the control device 100 according to some embodiments;

图4中示例性示出了根据一些实施例的显示设备200中软件配置示意图;FIG. 4 exemplarily shows a schematic diagram of software configuration in the display device 200 according to some embodiments;

图5中示例性示出了根据一些实施例的显示设备200中应用程序的图标控件界面显示示意图;FIG. 5 exemplarily shows a schematic diagram of displaying an icon control interface of an application in the display device 200 according to some embodiments;

图6中示例性示出了本申请实施例提供的一种网络架构示意图;FIG. 6 exemplarily shows a schematic diagram of a network architecture provided by an embodiment of the present application;

图7中示例性示出了本申请实施例提供的关联推荐方法流程图;FIG. 7 exemplarily shows a flowchart of the association recommendation method provided by the embodiment of the present application;

图8A-8G中示例性示出了输出关联实体时显示器显示画面的示意图;8A-8G exemplarily show a schematic diagram of a display screen when outputting an associated entity;

图9中示例性示出了应用于服务设备的关联推荐方法流程图。FIG. 9 exemplarily shows a flowchart of an association recommendation method applied to a service device.

具体实施方式Detailed ways

为使本申请的目的、实施例和优点更加清楚,下面将结合本申请示例性实施例中的附图,对本申请示例性实施例进行清楚、完整地描述,显然,所描述的示例性实施例仅是本申请一部分实施例,而不是全部的实施例。In order to make the purpose, embodiments and advantages of the present application clearer, the exemplary embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the exemplary embodiments of the present application. Obviously, the exemplary embodiments described It is only a part of the embodiments of the present application, but not all of the embodiments.

基于本申请描述的示例性实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请所附权利要求保护的范围。此外,虽然本申请中公开内容按照示范性一个或几个实例来介绍,但应理解,可以就这些公开内容的各个方面也可以单独构成一个完整实施例。Based on the exemplary embodiments described in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the appended claims of this application. Furthermore, although the disclosure in this application has been presented in terms of illustrative example or instances, it should be understood that various aspects of this disclosure may also constitute a complete embodiment in isolation.

需要说明的是,本申请中对于术语的简要说明,仅是为了方便理解接下来描述的实施例,而不是意图限定本申请的实施例。除非另有说明,这些术语应当按照其普通和通常的含义理解。It should be noted that the brief description of the terms in the present application is only for the convenience of understanding the embodiments described next, and is not intended to limit the embodiments of the present application. Unless otherwise specified, these terms are to be understood according to their ordinary and ordinary meanings.

本申请中说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”等是用于区别类似或同类的对象或实体,而不必然意味着限定特定的顺序或先后次序,除非另外注明(Unless otherwise indicated)。应该理解这样使用的用语在适当情况下可以互换,例如能够根据本申请实施例图示或描述中给出那些以外的顺序实施。The terms "first", "second", "third", etc. in the description and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and are not necessarily meant to limit specific Order or sequence, unless otherwise indicated. It should be understood that the terms so used are interchangeable under appropriate circumstances, eg, can be implemented in an order other than those given in the illustration or description of the embodiments of the present application.

此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖但不排他的包含,例如,包含了一系列组件的产品或设备不必限于清楚地列出的那些组件,而是可包括没有清楚地列出的或对于这些产品或设备固有的其它组件。Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover but not exclusively include, for example, a product or device incorporating a series of components is not necessarily limited to those explicitly listed, but may include No other components are expressly listed or inherent to these products or devices.

本申请中使用的术语“模块”,是指任何已知或后来开发的硬件、软件、固件、人工智能、模糊逻辑或硬件或/和软件代码的组合,能够执行与该元件相关的功能。The term "module" as used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware or/and software code capable of performing the function associated with that element.

本申请中使用的术语“遥控器”,是指电子设备(如本申请中公开的显示设备)的一个组件,通常可在较短的距离范围内无线控制电子设备。一般使用红外线和/或射频(RF)信号和/或蓝牙与电子设备连接,也可以包括WiFi、无线USB、蓝牙、动作传感器等功能模块。例如:手持式触摸遥控器,是以触摸屏中用户界面取代一般遥控装置中的大部分物理内置硬键。As used in this application, the term "remote control" refers to a component of an electronic device, such as the display device disclosed in this application, that can wirelessly control the electronic device, usually over a short distance. Generally, infrared and/or radio frequency (RF) signals and/or Bluetooth are used to connect with electronic devices, and functional modules such as WiFi, wireless USB, Bluetooth, and motion sensors may also be included. For example, a hand-held touch remote control replaces most of the physical built-in hard keys in a general remote control device with a user interface in a touch screen.

本申请中使用的术语“手势”,是指用户通过一种手型的变化或手部运动等动作,用于表达预期想法、动作、目的/或结果的用户行为。The term "gesture" used in this application refers to a user's behavior that is used by a user to express an expected thought, action, purpose/or result through an action such as a change of hand shape or hand movement.

为便于理解本申请实施例提供的方法及智能设备,下面以智能设备中的显示设备为例,对显示设备的结构、显示设备和控制装置的交互进行描述:In order to facilitate the understanding of the method and the smart device provided by the embodiments of the present application, the following takes the display device in the smart device as an example to describe the structure of the display device, the interaction between the display device and the control device:

图1中示例性示出了根据实施例中显示设备与控制装置之间操作场景的示意图。如图1中示出,用户可通过移动终端300和控制装置100操作显示设备200。FIG. 1 exemplarily shows a schematic diagram of an operation scenario between a display device and a control apparatus according to an embodiment. As shown in FIG. 1 , a user may operate the display apparatus 200 through the mobile terminal 300 and the control apparatus 100 .

在一些实施例中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式等,通过无线或其他有线方式来控制显示设备200。用户可以通过遥控器上按键,语音输入、控制面板输入等输入用户指令,来控制显示设备200。如:用户可以通过遥控器上音量加减键、频道控制键、上/下/左/右的移动按键、语音输入按键、菜单键、开关机按键等输入相应控制指令,来实现控制显示设备200的功能。In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, etc., and controls the display device 200 by wireless or other wired methods. The user can control the display device 200 by inputting user instructions through keys on the remote control, voice input, control panel input, and the like. For example, the user can control the display device 200 by inputting corresponding control commands through the volume up/down key, channel control key, up/down/left/right movement keys, voice input key, menu key, power-on/off key, etc. on the remote control. function.

在一些实施例中,也可以使用移动终端、平板电脑、计算机、笔记本电脑、和其他智能设备以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200。该应用程序通过配置可以在与智能设备关联的屏幕上,在直观的用户界面(UI)中为用户提供各种控制。In some embodiments, mobile terminals, tablet computers, computers, notebook computers, and other smart devices may also be used to control the display device 200 . For example, the display device 200 is controlled using an application running on the smart device. The app can be configured to provide users with various controls in an intuitive user interface (UI) on the screen associated with the smart device.

在一些实施例中,移动终端300可与显示设备200安装软件应用,通过网络通信协议实现连接通信,实现一对一控制操作的和数据通信的目的。如:可以实现用移动终端300与显示设备200建立控制指令协议,将遥控控制键盘同步到移动终端300上,通过控制移动终端300上用户界面,实现控制显示设备200的功能。也可以将移动终端300上显示音视频内容传输到显示设备200上,实现同步显示功能。In some embodiments, the mobile terminal 300 may install a software application with the display device 200 to implement connection communication through a network communication protocol, so as to achieve the purpose of one-to-one control operation and data communication. For example, a control command protocol can be established between the mobile terminal 300 and the display device 200, the remote control keyboard can be synchronized to the mobile terminal 300, and the function of controlling the display device 200 can be realized by controlling the user interface on the mobile terminal 300. The audio and video content displayed on the mobile terminal 300 may also be transmitted to the display device 200 to implement a synchronous display function.

如图1中还示出,显示设备200还与服务器400通过多种通信方式进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。示例的,显示设备200通过发送和接收信息,以及电子节目指南(EPG)互动,接收软件程序更新,或访问远程储存的数字媒体库。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。通过服务器400提供视频点播和广告服务等其他网络服务内容。As also shown in FIG. 1 , the display device 200 also performs data communication with the server 400 through various communication methods. The display device 200 may be allowed to communicate via local area network (LAN), wireless local area network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200 . For example, the display device 200 interacts by sending and receiving information, and electronic program guide (EPG), receiving software program updates, or accessing a remotely stored digital media library. The server 400 may be a cluster or multiple clusters, and may include one or more types of servers. Other network service contents such as video-on-demand and advertising services are provided through the server 400 .

显示设备200,可以液晶显示器、OLED显示器、投影显示设备。具体显示设备类型,尺寸大小和分辨率等不作限定,本领技术人员可以理解的是,显示设备200可以根据需要做性能和配置上一些改变。The display device 200 may be a liquid crystal display, an OLED display, or a projection display device. The specific display device type, size and resolution are not limited. Those skilled in the art can understand that the display device 200 can make some changes in performance and configuration as required.

显示设备200除了提供广播接收电视功能之外,还可以附加提供计算机支持功能的智能网络电视功能,包括但不限于,网络电视、智能电视、互联网协议电视(IPTV)等。The display device 200 may additionally provide a smart IPTV function that provides computer-supported functions, including but not limited to, IPTV, smart TV, Internet Protocol TV (IPTV), and the like, in addition to the broadcast receiving TV function.

图2中示例性示出了根据示例性实施例中显示设备200的硬件配置框图。FIG. 2 exemplarily shows a block diagram of the hardware configuration of the display device 200 according to the exemplary embodiment.

在一些实施例中,显示设备200中包括控制器250、调谐解调器210、通信器220、检测器230、输入/输出接口255、显示器275,音频输出接口285、存储器260、供电电源290、用户接口265、外部装置接口240中的至少一种。In some embodiments, the display device 200 includes a controller 250, a tuner 210, a communicator 220, a detector 230, an input/output interface 255, a display 275, an audio output interface 285, a memory 260, a power supply 290, At least one of the user interface 265 and the external device interface 240 .

在一些实施例中,显示器275,用于接收源自第一处理器输出的图像信号,进行显示视频内容和图像以及菜单操控界面的组件。In some embodiments, the display 275, for receiving the image signal from the output of the first processor, performs components for displaying video content and images and a menu manipulation interface.

在一些实施例中,显示器275,包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件。In some embodiments, the display 275 includes a display screen component for presenting pictures, and a driving component for driving image display.

在一些实施例中,显示视频内容,可以来自广播电视内容,也可以是说,可通过有线或无线通信协议接收的各种广播信号。或者,可显示来自网络通信协议接收来自网络服务器端发送的各种图像内容。In some embodiments, the video content displayed may be from broadcast television content or various broadcast signals that may be received via wired or wireless communication protocols. Alternatively, various image contents sent from the network server side can be displayed and received from the network communication protocol.

在一些实施例中,显示器275用于呈现显示设备200中产生且用于控制显示设备200的用户操控UI界面。In some embodiments, display 275 is used to present a user-manipulated UI interface generated in display device 200 and used to control display device 200 .

在一些实施例中,根据显示器275类型不同,还包括用于驱动显示的驱动组件。In some embodiments, depending on the type of display 275, a driving component for driving the display is also included.

在一些实施例中,显示器275为一种投影显示器,还可以包括一种投影装置和投影屏幕。In some embodiments, display 275 is a projection display, and may also include a projection device and projection screen.

在一些实施例中,通信器220是用于根据各种通信协议类型与外部设备或外部服务器进行通信的组件。例如:通信器可以包括Wifi芯片,蓝牙通信协议芯片,有线以太网通信协议芯片等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。In some embodiments, communicator 220 is a component for communicating with external devices or external servers according to various communication protocol types. For example, the communicator may include at least one of a Wifi chip, a Bluetooth communication protocol chip, a wired Ethernet communication protocol chip and other network communication protocol chips or a near field communication protocol chip, and an infrared receiver.

在一些实施例中,显示设备200可以通过通信器220与外部控制设备100或内容提供设备之间建立控制信号和数据信号发送和接收。In some embodiments, the display device 200 may establish control signal and data signal transmission and reception between the communicator 220 and the external control device 100 or the content providing device.

在一些实施例中,用户接口265,可用于接收控制装置100(如:红外遥控器等)红外控制信号。In some embodiments, the user interface 265 may be used to receive infrared control signals from the control device 100 (eg, an infrared remote control, etc.).

在一些实施例中,检测器230是显示设备200用于采集外部环境或与外部交互的信号。In some embodiments, the detector 230 is a signal used by the display device 200 to collect the external environment or interact with the outside.

在一些实施例中,检测器230包括光接收器,用于采集环境光线强度的传感器,可以通过采集环境光可以自适应性显示参数变化等。In some embodiments, the detector 230 includes a light receiver, a sensor for collecting ambient light intensity, and can adaptively display parameter changes and the like by collecting ambient light.

在一些实施例中,检测器230还可以包括图像采集器,如相机、摄像头等,可以用于采集外部环境场景,以及用于采集用户的属性或与用户交互手势,可以自适应变化显示参数,也可以识别用户手势,以实现与用户之间互动的功能。In some embodiments, the detector 230 may also include an image collector, such as a camera, a camera, etc., which can be used to collect external environment scenes, and used to collect user attributes or interactive gestures with the user, and can adaptively change display parameters, User gestures can also be recognized to implement functions that interact with users.

在一些实施例中,检测器230还可以包括温度传感器等,如通过感测环境温度。In some embodiments, detector 230 may also include a temperature sensor or the like, such as by sensing ambient temperature.

在一些实施例中,显示设备200可自适应调整图像的显示色温。如当温度偏高的环境时,可调整显示设备200显示图像色温偏冷色调,或当温度偏低的环境时,可以调整显示设备200显示图像偏暖色调。In some embodiments, the display device 200 can adaptively adjust the display color temperature of the image. For example, when the temperature is relatively high, the display device 200 can be adjusted to display a relatively cool color temperature of the image, or when the temperature is relatively low, the display device 200 can be adjusted to display a warmer color of the image.

在一些实施例中,检测器230还可声音采集器等,如麦克风,可以用于接收用户的声音。示例性的,包括用户控制显示设备200的控制指令的语音信号,或采集环境声音,用于识别环境场景类型,使得显示设备200可以自适应环境噪声。In some embodiments, the detector 230 may also be a sound collector or the like, such as a microphone, which may be used to receive the user's voice. Exemplarily, it includes a voice signal of a control instruction of the user to control the display device 200, or collects ambient sounds, and is used to identify the type of the ambient scene, so that the display device 200 can adapt to the ambient noise.

在一些实施例中,如图2所示,输入/输出接口255被配置为,可进行控制器250与外部其他设备或其他控制器250之间的数据传输。如接收外部设备的视频信号数据和音频信号数据、或命令指令数据等。In some embodiments, as shown in FIG. 2 , the input/output interface 255 is configured to enable data transfer between the controller 250 and other external devices or other controllers 250 . Such as receiving video signal data and audio signal data of external equipment, or command instruction data, etc.

在一些实施例中,外部装置接口240可以包括,但不限于如下:可以高清多媒体接口HDMI接口、模拟或数据高清分量输入接口、复合视频输入接口、USB输入接口、RGB端口等任一个或多个接口。也可以是上述多个接口形成复合性的输入/输出接口。In some embodiments, the external device interface 240 may include, but is not limited to, the following: any one or more of a high-definition multimedia interface HDMI interface, an analog or data high-definition component input interface, a composite video input interface, a USB input interface, an RGB port, etc. interface. It is also possible to form a composite input/output interface by a plurality of the above-mentioned interfaces.

在一些实施例中,如图2所示,调谐解调器210被配置为,通过有线或无线接收方式接收广播电视信号,可以进行放大、混频和谐振等调制解调处理,从多多个无线或有线广播电视信号中解调出音视频信号,该音视频信号可以包括用户所选择电视频道频率中所携带的电视音视频信号,以及EPG数据信号。In some embodiments, as shown in FIG. 2 , the tuner and demodulator 210 is configured to receive broadcast television signals through wired or wireless reception, and can perform modulation and demodulation processing such as amplification, frequency mixing, and resonance, from multiple wireless Or demodulate the audio and video signal from the cable broadcast TV signal, the audio and video signal may include the TV audio and video signal carried in the frequency of the TV channel selected by the user, and the EPG data signal.

在一些实施例中,调谐解调器210解调的频点受到控制器250的控制,控制器250可根据用户选择发出控制信号,以使的调制解调器响应用户选择的电视信号频率以及调制解调该频率所携带的电视信号。In some embodiments, the frequency demodulated by the tuner-demodulator 210 is controlled by the controller 250, and the controller 250 can send a control signal according to the user's selection, so that the modem responds to the user-selected TV signal frequency and modulates and demodulates the frequency. The frequency carried by the television signal.

在一些实施例中,广播电视信号可根据电视信号广播制式不同区分为地面广播信号、有线广播信号、卫星广播信号或互联网广播信号等。或者根据调制类型不同可以区分为数字调制信号,模拟调制信号等。或者根据信号种类不同区分为数字信号、模拟信号等。In some embodiments, broadcast television signals may be classified into terrestrial broadcast signals, cable broadcast signals, satellite broadcast signals, or Internet broadcast signals, etc. according to different broadcast formats of the television signals. Or according to different modulation types, it can be divided into digital modulation signal, analog modulation signal, etc. Or, it can be divided into digital signals, analog signals, etc. according to different types of signals.

在一些实施例中,控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。这样,机顶盒将接收到的广播电视信号调制解调后的电视音视频信号输出给主体设备,主体设备经过第一输入/输出接口接收音视频信号。In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box Wait. In this way, the set-top box outputs the modulated and demodulated television audio and video signals of the received broadcast television signals to the main device, and the main device receives the audio and video signals through the first input/output interface.

在一些实施例中,控制器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。控制器250可以控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器275上显示UI对象的用户命令,控制器250便可以执行与由用户命令选择的对象有关的操作。In some embodiments, the controller 250, through various software control programs stored on the memory, controls the operation of the display device and responds to user operations. The controller 250 may control the overall operation of the display apparatus 200 . For example, in response to receiving a user command for selecting a UI object to be displayed on the display 275, the controller 250 may perform an operation related to the object selected by the user command.

在一些实施例中,所述对象可以是可选对象中的任何一个,例如超链接或图标。与所选择的对象有关操作,例如:显示连接到超链接页面、文档、图像等操作,或者执行与所述图标相对应程序的操作。用于选择UI对象用户命令,可以是通过连接到显示设备200的各种输入装置(例如,鼠标、键盘、触摸板等)输入命令或者与由用户说出语音相对应的语音命令。In some embodiments, the object may be any of the selectable objects, such as a hyperlink or an icon. Operations related to the selected object, such as displaying operations linked to hyperlinked pages, documents, images, etc., or executing operations corresponding to the icon. The user command for selecting the UI object may be an input command through various input devices (eg, a mouse, a keyboard, a touchpad, etc.) connected to the display device 200 or a voice command corresponding to a voice spoken by the user.

如图2所示,控制器250包括随机存取存储器251(Random Access Memory,RAM)、只读存储器252(Read-Only Memory,ROM)、视频处理器270、音频处理器280、其他处理器253(例如:图形处理器(Graphics Processing Unit,GPU)、中央处理器254(CentralProcessing Unit,CPU)、通信接口(Communication Interface),以及通信总线256(Bus)中的至少一种。其中,通信总线连接各个部件。As shown in FIG. 2 , the controller 250 includes a random access memory 251 (Random Access Memory, RAM), a read-only memory 252 (Read-Only Memory, ROM), a video processor 270, an audio processor 280, and other processors 253 (For example: at least one of a graphics processing unit (Graphics Processing Unit, GPU), a central processing unit 254 (Central Processing Unit, CPU), a communication interface (Communication Interface), and a communication bus 256 (Bus). Wherein, the communication bus connects various parts.

在一些实施例中,RAM 251用于存储操作系统或其他正在运行中的程序的临时数据。In some embodiments, RAM 251 is used to store temporary data for the operating system or other running programs.

在一些实施例中,ROM 252用于存储各种系统启动的指令。In some embodiments, ROM 252 is used to store various system startup instructions.

在一些实施例中,ROM 252用于存储一个基本输入输出系统,称为基本输入输出系统(Basic Input Output System,BIOS)。用于完成对系统的加电自检、系统中各功能模块的初始化、系统的基本输入/输出的驱动程序及引导操作系统。In some embodiments, ROM 252 is used to store a basic input output system, referred to as a Basic Input Output System (BIOS). It is used to complete the power-on self-check of the system, the initialization of each functional module in the system, the driver program of the basic input/output of the system, and the boot operating system.

在一些实施例中,在收到开机信号时,显示设备200电源开始启动,CPU运行ROM252中系统启动指令,将存储在存储器的操作系统的临时数据拷贝至RAM 251中,以便于启动或运行操作系统。当操作系统启动完成后,CPU再将存储器中各种应用程序的临时数据拷贝至RAM 251中,然后,以便于启动或运行各种应用程序。In some embodiments, when a power-on signal is received, the power supply of the display device 200 starts, and the CPU executes the system start-up instruction in the ROM 252, and copies the temporary data of the operating system stored in the memory to the RAM 251, so as to facilitate the start-up or running operation system. After the startup of the operating system is completed, the CPU copies the temporary data of various application programs in the memory to the RAM 251, so as to facilitate the startup or operation of various application programs.

在一些实施例中,CPU处理器254,用于执行存储在存储器中操作系统和应用程序指令。以及根据接收外部输入的各种交互指令,来执行各种应用程序、数据和内容,以便最终显示和播放各种音视频内容。In some embodiments, the CPU processor 254 executes operating system and application program instructions stored in memory. And various application programs, data and content are executed according to various interactive instructions received from the external input, so as to finally display and play various audio and video content.

在一些示例性实施例中,CPU处理器254,可以包括多个处理器。多个处理器可包括一个主处理器以及一个或多个子处理器。主处理器,用于在预加电模式中执行显示设备200一些操作,和/或在正常模式下显示画面的操作。一个或多个子处理器,用于在待机模式等状态下一种操作。In some exemplary embodiments, CPU processor 254 may include multiple processors. The plurality of processors may include a main processor and one or more sub-processors. The main processor is used to perform some operations of the display device 200 in the pre-power-on mode, and/or an operation of displaying a picture in the normal mode. One or more sub-processors for an operation in a state such as standby mode.

在一些实施例中,图形处理器253,用于产生各种图形对象,如:图标、操作菜单、以及用户输入指令显示图形等。包括运算器,通过接收用户输入各种交互指令进行运算,根据显示属性显示各种对象。以及包括渲染器,对基于运算器得到的各种对象,进行渲染,上述渲染后的对象用于显示在显示器上。In some embodiments, the graphics processor 253 is used to generate various graphic objects, such as: icons, operation menus, and user input instructions to display graphics and the like. It includes an operator, which performs operations by receiving various interactive instructions input by the user, and displays various objects according to the display properties. and includes a renderer, which renders various objects obtained based on the operator, and the rendered objects are used for displaying on a display.

在一些实施例中,视频处理器270被配置为将接收外部视频信号,根据输入信号的标准编解码协议,进行解压缩、解码、缩放、降噪、帧率转换、分辨率转换、图像合成等等视频处理,可得到直接可显示设备200上显示或播放的信号。In some embodiments, the video processor 270 is configured to receive the external video signal and perform decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image synthesis, etc. according to the standard codec protocol of the input signal. After video processing, a signal that can be directly displayed or played on the display device 200 can be obtained.

在一些实施例中,视频处理器270,包括解复用模块、视频解码模块、图像合成模块、帧率转换模块、显示格式化模块等。In some embodiments, the video processor 270 includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like.

其中,解复用模块,用于对输入音视频数据流进行解复用处理,如输入MPEG-2,则解复用模块进行解复用成视频信号和音频信号等。Wherein, the demultiplexing module is used for demultiplexing the input audio and video data stream. For example, if MPEG-2 is input, the demultiplexing module demultiplexes it into video signals and audio signals.

视频解码模块,则用于对解复用后的视频信号进行处理,包括解码和缩放处理等。The video decoding module is used to process the demultiplexed video signal, including decoding and scaling.

图像合成模块,如图像合成器,其用于将图形生成器根据用户输入或自身生成的GUI信号,与缩放处理后视频图像进行叠加混合处理,以生成可供显示的图像信号。The image synthesizing module, such as an image synthesizer, is used for superimposing and mixing the GUI signal generated by the graphics generator according to the user's input or itself, and the zoomed video image, so as to generate an image signal that can be displayed.

帧率转换模块,用于对转换输入视频帧率,如将60Hz帧率转换为120Hz帧率或240Hz帧率,通常的格式采用如插帧方式实现。The frame rate conversion module is used to convert the input video frame rate, such as converting 60Hz frame rate to 120Hz frame rate or 240Hz frame rate. The usual format is implemented by means of frame insertion.

显示格式化模块,则用于将接收帧率转换后视频输出信号,改变信号以符合显示格式的信号,如输出RGB数据信号。The display formatting module is used for converting the received frame rate into the video output signal, and changing the signal to conform to the display format signal, such as outputting the RGB data signal.

在一些实施例中,图形处理器253可以和视频处理器可以集成设置,也可以分开设置,集成设置的时候可以执行输出给显示器的图形信号的处理,分离设置的时候可以分别执行不同的功能,例如GPU+FRC(Frame Rate Conversion))架构。In some embodiments, the graphics processor 253 may be integrated with the video processor, or may be separately configured. When the integrated setting is performed, the processing of the graphics signal output to the display may be performed. When the separate setting is performed, different functions may be performed respectively. For example, GPU+FRC (Frame Rate Conversion)) architecture.

在一些实施例中,音频处理器280,用于接收外部的音频信号,根据输入信号的标准编解码协议,进行解压缩和解码,以及降噪、数模转换、和放大处理等处理,得到可以在扬声器中播放的声音信号。In some embodiments, the audio processor 280 is configured to receive an external audio signal, perform decompression and decoding, and noise reduction, digital-to-analog conversion, and amplification processing according to a standard codec protocol of the input signal to obtain a The sound signal played in the speaker.

在一些实施例中,视频处理器270可以包括一颗或多颗芯片组成。音频处理器,也可以包括一颗或多颗芯片组成。In some embodiments, the video processor 270 may comprise one or more chips. The audio processor may also include one or more chips.

在一些实施例中,视频处理器270和音频处理器280,可以集成在单独的芯片中,也可以与控制器一起集成在一颗或多颗芯片中。In some embodiments, the video processor 270 and the audio processor 280 may be integrated in a separate chip, or may be integrated in one or more chips together with the controller.

在一些实施例中,音频输出,在控制器250的控制下接收音频处理器280输出的声音信号,如:扬声器286,以及除了显示设备200自身携带的扬声器之外,可以输出至外接设备的发生装置的外接音响输出端子,如:外接音响接口或耳机接口等,还可以包括通信接口中的近距离通信模块,例如:用于进行蓝牙扬声器声音输出的蓝牙模块。In some embodiments, the audio output, under the control of the controller 250, receives the sound signal output by the audio processor 280, such as the speaker 286, and in addition to the speaker carried by the display device 200 itself, can be output to an external device. The external audio output terminal of the device, such as an external audio interface or an earphone interface, etc., may also include a short-range communication module in the communication interface, such as a Bluetooth module for outputting sound from a Bluetooth speaker.

供电电源290,在控制器250控制下,将外部电源输入的电力为显示设备200提供电源供电支持。供电电源290可以包括安装显示设备200内部的内置电源电路,也可以是安装在显示设备200的外部电源,在显示设备200中提供外接电源的电源接口。The power supply 290, under the control of the controller 250, provides power supply support for the display device 200 with the power input from the external power supply. The power supply 290 may include a built-in power supply circuit installed inside the display device 200 , or may be an external power supply installed in the display device 200 , and the display device 200 provides a power interface for external power.

用户接口265,用于接收用户的输入信号,然后,将接收用户输入信号发送给控制器250。用户输入信号可以是通过红外接收器接收的遥控器信号,可以通过网络通信模块接收各种用户控制信号。The user interface 265 is used for receiving user input signals, and then sending the received user input signals to the controller 250 . The user input signal may be a remote control signal received through an infrared receiver, and various user control signals may be received through a network communication module.

在一些实施例中,用户通过控制装置100或移动终端300输入用户命令,用户输入接口则根据用户的输入,显示设备200则通过控制器250响应用户的输入。In some embodiments, the user inputs user commands through the control device 100 or the mobile terminal 300 , the user input interface is based on the user's input, and the display device 200 responds to the user's input through the controller 250 .

在一些实施例中,用户可在显示器275上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。In some embodiments, the user may input user commands on a graphical user interface (GUI) displayed on the display 275, and the user input interface receives the user input commands through the graphical user interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.

在一些实施例中,“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(Graphic User Interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。In some embodiments, a "user interface" is a medium interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user. A commonly used form of user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. visual interface elements.

存储器260,包括存储用于驱动显示设备200的各种软件模块。如:第一存储器中存储的各种软件模块,包括:基础模块、检测模块、通信模块、显示控制模块、浏览器模块、和各种服务模块等中的至少一种。The memory 260 includes storing various software modules for driving the display device 200 . For example, various software modules stored in the first memory include at least one of a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules.

基础模块用于显示设备200中各个硬件之间信号通信、并向上层模块发送处理和控制信号的底层软件模块。检测模块用于从各种传感器或用户输入接口中收集各种信息,并进行数模转换以及分析管理的管理模块。The basic module is used for signal communication between various hardwares in the display device 200, and is a low-level software module that sends processing and control signals to the upper-layer module. The detection module is a management module used to collect various information from various sensors or user input interfaces, perform digital-to-analog conversion, and analyze and manage.

例如,语音识别模块中包括语音解析模块和语音指令数据库模块。显示控制模块用于控制显示器进行显示图像内容的模块,可以用于播放多媒体图像内容和UI界面等信息。通信模块,用于与外部设备之间进行控制和数据通信的模块。浏览器模块,用于执行浏览服务器之间数据通信的模块。服务模块,用于提供各种服务以及各类应用程序在内的模块。同时,存储器260还用存储接收外部数据和用户数据、各种用户界面中各个项目的图像以及焦点对象的视觉效果图等。For example, the speech recognition module includes a speech parsing module and a speech instruction database module. The display control module is a module used to control the display to display image content, and can be used to play information such as multimedia image content and UI interface. Communication module, a module for control and data communication with external devices. The browser module is a module for performing data communication between browsing servers. Service modules are used to provide various services and modules including various applications. At the same time, the memory 260 is also used to store and receive external data and user data, images of various items in various user interfaces, and visual effect diagrams of focus objects, and the like.

图3示例性示出了根据示例性实施例中控制设备100的配置框图。如图3所示,控制设备100包括控制器110、通信接口130、用户输入/输出接口、存储器、供电电源。FIG. 3 exemplarily shows a block diagram of the configuration of the control device 100 according to an exemplary embodiment. As shown in FIG. 3 , the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface, a memory, and a power supply.

控制设备100被配置为控制显示设备200,以及可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起到用户与显示设备200之间交互中介作用。如:用户通过操作控制设备100上频道加减键,显示设备200响应频道加减的操作。The control device 100 is configured to control the display device 200 , and can receive user input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, so as to mediate interaction between the user and the display device 200 . For example, the user operates the channel addition and subtraction keys on the control device 100, and the display device 200 responds to the channel addition and subtraction operations.

在一些实施例中,控制设备100可是一种智能设备。如:控制设备100可根据用户需求安装控制显示设备200的各种应用。In some embodiments, the control device 100 may be a smart device. For example, the control device 100 may install various applications for controlling the display device 200 according to user requirements.

在一些实施例中,如图1所示,移动终端300或其他智能电子设备,可在安装操控显示设备200的应用之后,可以起到控制设备100类似功能。如:用户可以通过安装应用,在移动终端300或其他智能电子设备上可提供的图形用户界面的各种功能键或虚拟按钮,以实现控制设备100实体按键的功能。In some embodiments, as shown in FIG. 1 , the mobile terminal 300 or other intelligent electronic device can perform a similar function of controlling the device 100 after installing an application for operating the display device 200 . For example, the user can install the application, various function keys or virtual buttons of the graphical user interface provided on the mobile terminal 300 or other intelligent electronic devices, so as to realize the function of controlling the physical keys of the device 100 .

控制器110包括处理器112和RAM 113和ROM 114、通信接口130以及通信总线。控制器用于控制控制设备100的运行和操作,以及内部各部件之间通信协作以及外部和内部的数据处理功能。The controller 110 includes a processor 112 and RAM 113 and ROM 114, a communication interface 130, and a communication bus. The controller is used to control the operation and operation of the control device 100, as well as the communication and cooperation among the internal components and the external and internal data processing functions.

通信接口130在控制器110的控制下,实现与显示设备200之间控制信号和数据信号的通信。如:将接收到的用户输入信号发送至显示设备200上。通信接口130可包括WiFi芯片131、蓝牙模块132、NFC模块133等其他近场通信模块中至少之一种。The communication interface 130 realizes the communication of control signals and data signals with the display device 200 under the control of the controller 110 . For example, the received user input signal is sent to the display device 200 . The communication interface 130 may include at least one of other near field communication modules such as a WiFi chip 131 , a Bluetooth module 132 , and an NFC module 133 .

用户输入/输出接口140,其中,输入接口包括麦克风141、触摸板142、传感器143、按键144等其他输入接口中至少一者。如:用户可以通过语音、触摸、手势、按压等动作实现用户指令输入功能,输入接口通过将接收的模拟信号转换为数字信号,以及数字信号转换为相应指令信号,发送至显示设备200。The user input/output interface 140, wherein the input interface includes at least one of other input interfaces such as a microphone 141, a touch panel 142, a sensor 143, and a key 144. For example, the user can implement the user command input function through actions such as voice, touch, gesture, pressing, etc. The input interface converts the received analog signal into a digital signal, and converts the digital signal into a corresponding command signal, and sends it to the display device 200.

输出接口包括将接收的用户指令发送至显示设备200的接口。在一些实施例中,可以是红外接口,也可以是射频接口。如:红外信号接口时,需要将用户输入指令按照红外控制协议转化为红外控制信号,经红外发送模块发送至显示设备200。再如:射频信号接口时,需将用户输入指令转化为数字信号,然后按照射频控制信号调制协议进行调制后,由射频发送端子发送至显示设备200。The output interface includes an interface for transmitting received user instructions to the display device 200 . In some embodiments, it may be an infrared interface or a radio frequency interface. For example, when the infrared signal interface is used, the user input instruction needs to be converted into an infrared control signal according to the infrared control protocol, and sent to the display device 200 through the infrared sending module. For another example, when a radio frequency signal interface is used, the user input command needs to be converted into a digital signal, and then modulated according to the radio frequency control signal modulation protocol, and then sent to the display device 200 by the radio frequency transmission terminal.

在一些实施例中,控制设备100包括通信接口130和输入输出接口140中至少一者。控制设备100中配置通信接口130,如:WiFi、蓝牙、NFC等模块,可将用户输入指令通过WiFi协议、或蓝牙协议、或NFC协议编码,发送至显示设备200.In some embodiments, the control device 100 includes at least one of a communication interface 130 and an input-output interface 140 . The communication interface 130 is configured in the control device 100, such as: WiFi, Bluetooth, NFC and other modules, which can send user input instructions to the display device 200 through WiFi protocol, or Bluetooth protocol, or NFC protocol encoding.

存储器190,用于在控制器的控制下存储驱动和控制控制设备200的各种运行程序、数据和应用。存储器190,可以存储用户输入的各类控制信号指令。The memory 190 is used to store various operating programs, data and applications for driving and controlling the control device 200 under the control of the controller. The memory 190 can store various control signal instructions input by the user.

供电电源180,用于在控制器的控制下为控制设备100各元件提供运行电力支持。可以电池及相关控制电路。The power supply 180 is used to provide operating power support for each element of the control device 100 under the control of the controller. Can battery and related control circuit.

在一些实施例中,系统可以包括内核(Kernel)、命令解析器(shell)、文件系统和应用程序。内核、shell和文件系统一起组成了基本的操作系统结构,它们让用户可以管理文件、运行程序并使用系统。上电后,内核启动,激活内核空间,抽象硬件、初始化硬件参数等,运行并维护虚拟内存、调度器、信号及进程间通信(IPC)。内核启动后,再加载Shell和用户应用程序。应用程序在启动后被编译成机器码,形成一个进程。In some embodiments, a system may include a kernel (Kernel), a command parser (shell), a file system, and applications. Together, the kernel, shell, and file system make up the basic operating system structures that allow users to manage files, run programs, and use the system. After power-on, the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, scheduler, signals and inter-process communication (IPC). After the kernel starts, the shell and user applications are loaded. An application is compiled into machine code after startup, forming a process.

参见图4,在一些实施例中,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。Referring to FIG. 4 , in some embodiments, the system is divided into four layers, from top to bottom, the applications layer (referred to as “application layer”), the application framework layer (referred to as “framework layer”) "), the Android runtime (Android runtime) and the system library layer (referred to as "system runtime library layer"), and the kernel layer.

在一些实施例中,应用程序层中运行有至少一个应用程序,这些应用程序可以是操作系统自带的窗口(Window)程序、系统设置程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如嗨见程序、K歌程序、魔镜程序等。在具体实施时,应用程序层中的应用程序包不限于以上举例,实际还可以包括其它应用程序包,本申请实施例对此不做限制。In some embodiments, at least one application program runs in the application program layer, and these application programs may be a Window program, a system setting program, a clock program, a camera application, etc. built into the operating system; they may also be developed by a third party The application programs developed by the author, such as the Hijian program, the K song program, the magic mirror program, etc. During specific implementation, the application package in the application layer is not limited to the above examples, and may actually include other application packages, which is not limited in this embodiment of the present application.

框架层为应用程序层的应用程序提供应用编程接口(application programminginterface,API)和编程框架。应用程序框架层包括一些预先定义的函数。应用程序框架层相当于一个处理中心,这个中心决定让应用层中的应用程序做出动作。应用程序通过API接口,可在执行中访问系统中的资源和取得系统的服务The framework layer provides an application programming interface (application programming interface, API) and a programming framework for the applications of the application layer. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center, which decides to let the applications in the application layer take action. Through the API interface, the application can access the resources in the system and obtain the services of the system during execution

如图4所示,本申请实施例中应用程序框架层包括管理器(Managers),内容提供者(Content Provider)等,其中管理器包括以下模块中的至少一个:活动管理器(ActivityManager)用与和系统中正在运行的所有活动进行交互;位置管理器(Location Manager)用于给系统服务或应用提供了系统位置服务的访问;文件包管理器(Package Manager)用于检索当前安装在设备上的应用程序包相关的各种信息;通知管理器(NotificationManager)用于控制通知消息的显示和清除;窗口管理器(Window Manager)用于管理用户界面上的括图标、窗口、工具栏、壁纸和桌面部件。As shown in FIG. 4 , the application framework layer in the embodiment of the present application includes managers (Managers), content providers (Content Provider), etc., wherein the manager includes at least one of the following modules: the activity manager (ActivityManager) is used with Interact with all activities running in the system; Location Manager is used to provide system services or applications with access to system location services; Package Manager is used to retrieve files currently installed on the device. Various information related to the application package; Notification Manager (Notification Manager) is used to control the display and clearing of notification messages; Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers and desktops on the user interface part.

在一些实施例中,活动管理器用于:管理各个应用程序的生命周期以及通常的导航回退功能,比如控制应用程序的退出(包括将显示窗口中当前显示的用户界面切换到系统桌面)、打开、后退(包括将显示窗口中当前显示的用户界面切换到当前显示的用户界面的上一级用户界面)等。In some embodiments, the activity manager is used to: manage the life cycle of each application and the usual navigation and fallback functions, such as controlling the exit of the application (including switching the user interface currently displayed in the display window to the system desktop), opening the , back (including switching the currently displayed user interface in the display window to the upper-level user interface of the currently displayed user interface), and the like.

在一些实施例中,窗口管理器用于管理所有的窗口程序,比如获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕,控制显示窗口变化(例如将显示窗口缩小显示、抖动显示、扭曲变形显示等)等。In some embodiments, the window manager is used to manage all window programs, such as obtaining the size of the display screen, judging whether there is a status bar, locking the screen, taking screenshots, and controlling the change of the display window (for example, reducing the display window to display, shaking display, twisting deformation display, etc.), etc.

在一些实施例中,系统运行库层为上层即框架层提供支撑,当框架层被使用时,安卓操作系统会运行系统运行库层中包含的C/C++库以实现框架层要实现的功能。In some embodiments, the system runtime layer provides support for the upper layer, that is, the framework layer. When the framework layer is used, the Android operating system will run the C/C++ library included in the system runtime layer to implement the functions to be implemented by the framework layer.

在一些实施例中,内核层是硬件和软件之间的层。如图4所示,内核层至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,触摸传感器、压力传感器等)等。In some embodiments, the kernel layer is the layer between hardware and software. As shown in Figure 4, the kernel layer at least includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, touch sensors, pressure sensors, etc.), etc.

在一些实施例中,内核层还包括用于进行电源管理的电源驱动模块。In some embodiments, the kernel layer further includes a power driver module for power management.

在一些实施例中,图4中的软件架构对应的软件程序和/或模块存储在图2或图3所示的第一存储器或第二存储器中。In some embodiments, software programs and/or modules corresponding to the software architecture in FIG. 4 are stored in the first memory or the second memory shown in FIG. 2 or FIG. 3 .

在一些实施例中,以魔镜应用(拍照应用)为例,当遥控接收装置接收到遥控器输入操作,相应的硬件中断被发给内核层。内核层将输入操作加工成原始输入事件(包括输入操作的值,输入操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,根据焦点当前的位置识别该输入事件所对应的控件以及以该输入操作是确认操作,该确认操作所对应的控件为魔镜应用图标的控件,魔镜应用调用应用框架层的接口,启动魔镜应用,进而通过调用内核层启动摄像头驱动,实现通过摄像头捕获静态图像或视频。In some embodiments, taking the magic mirror application (photography application) as an example, when the remote control receiving device receives the input operation of the remote control, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the input operation into the original input event (including the value of the input operation, the timestamp of the input operation and other information). Raw input events are stored at the kernel layer. The application framework layer obtains the original input event from the kernel layer, identifies the control corresponding to the input event according to the current position of the focus, and regards the input operation as a confirmation operation, and the control corresponding to the confirmation operation is the control of the magic mirror application icon. The mirror application calls the interface of the application framework layer, starts the mirror application, and then starts the camera driver by calling the kernel layer to capture still images or videos through the camera.

在一些实施例中,对于具备触控功能的显示设备,以分屏操作为例,显示设备接收用户作用于显示屏上的输入操作(如分屏操作),内核层可以根据输入操作产生相应的输入事件,并向应用程序框架层上报该事件。由应用程序框架层的活动管理器设置与该输入操作对应的窗口模式(如多窗口模式)以及窗口位置和大小等。应用程序框架层的窗口管理根据活动管理器的设置绘制窗口,然后将绘制的窗口数据发送给内核层的显示驱动,由显示驱动在显示屏的不同显示区域显示与之对应的应用界面。In some embodiments, for a display device with a touch function, taking a split-screen operation as an example, the display device receives an input operation (such as a split-screen operation) performed by the user on the display screen, and the kernel layer can generate corresponding input operations according to the input operation. Enter an event and report the event to the application framework layer. The window mode (such as multi-window mode) and window position and size corresponding to the input operation are set by the activity manager of the application framework layer. The window management of the application framework layer draws the window according to the settings of the activity manager, and then sends the drawn window data to the display driver of the kernel layer, and the display driver displays the corresponding application interface in different display areas of the display screen.

在一些实施例中,如图5中所示,应用程序层包含至少一个应用程序可以在显示器中显示对应的图标控件,如:直播电视应用程序图标控件、视频点播应用程序图标控件、媒体中心应用程序图标控件、应用程序中心图标控件、游戏应用图标控件等。In some embodiments, as shown in FIG. 5, the application layer contains at least one application that can display corresponding icon controls in the display, such as: live TV application icon control, video on demand application icon control, media center application Program icon controls, application center icon controls, game application icon controls, etc.

为了提供更加全面、丰富的关联推荐,本申请实施例提供一种关联推荐方法,能够在根据用户输入的查询语句(query)确定需要对目标实体进行关联推荐时,依据知识图谱确定该目标实体对应的关联实体,并输出该关联实体。In order to provide a more comprehensive and rich association recommendation, the embodiment of the present application provides an association recommendation method, which can determine the corresponding target entity according to the knowledge graph when it is determined that the target entity needs to be associated recommendation according to the query sentence input by the user. , and output the associated entity.

为清楚说明本申请的实施例,下面给出一些相关名词的解释。In order to clearly illustrate the embodiments of the present application, explanations of some related terms are given below.

实体:是指客观存在并可互相区别的事物,包括具体的人、事、物、机构、抽象的概念等。Entity: refers to things that exist objectively and can be distinguished from each other, including specific people, things, things, institutions, abstract concepts, etc.

知识图谱:本质上是一种语义网络,能够代表实体之间的语义关系。知识图谱中以实体为顶点或节点,以关系为边。知识图谱可通过多种方式构建,本申请实施例的重点并非如何构建知识图谱,所以对此不进行详细描述。Knowledge Graph: Essentially a semantic network that can represent semantic relationships between entities. In the knowledge graph, entities are used as vertices or nodes, and relationships are used as edges. The knowledge graph can be constructed in various ways, and the embodiment of the present application does not focus on how to construct the knowledge graph, so it will not be described in detail.

为清楚说明本申请的实施例,下面结合图6对本申请实施例提供的一种网络架构进行描述。To clearly illustrate the embodiments of the present application, a network architecture provided by the embodiments of the present application is described below with reference to FIG. 6 .

参见图6,图6为本申请实施例提供的一种网络架构示意图。图6中,智能设备用于接收输入的信息以及输出对该信息的处理结果;语音识别服务设备为部署有语音识别服务的电子设备,语义服务设备为部署有语义服务的电子设备,业务服务设备为部署有业务服务的电子设备。这里的电子设备可包括服务器、计算机等,这里的语音识别服务、语义服务(也可称为语义引擎)和业务服务为可部署在电子设备上的web服务,其中,语音识别服务用于将音频识别为文本,语义服务用于对文本进行语义解析,业务服务用于提供具体的服务如墨迹天气的天气查询服务、QQ音乐的音乐查询服务等。在一个实施例中,图6所示架构中可存在部署有不同业务服务的多个业务服务设备。Referring to FIG. 6, FIG. 6 is a schematic diagram of a network architecture provided by an embodiment of the present application. In Figure 6, the smart device is used to receive the input information and output the processing result of the information; the speech recognition service device is an electronic device deployed with a speech recognition service, the semantic service device is an electronic device deployed with a semantic service, and the business service device Electronic devices deployed with business services. The electronic device here may include a server, a computer, etc. Here, the speech recognition service, the semantic service (also referred to as a semantic engine) and the business service are web services that can be deployed on the electronic device, wherein the speech recognition service is used to convert audio Recognized as text, the semantic service is used for semantic analysis of the text, and the business service is used to provide specific services such as the weather query service of Moji Weather and the music query service of QQ Music. In one embodiment, there may be multiple business service devices deployed with different business services in the architecture shown in FIG. 6 .

下面对基于图6所示架构处理输入智能设备的信息的过程进行举例描述,以输入智能设备的信息为通过语音输入的查询语句为例,上述过程可包括如下三个阶段:The following describes the process of processing the information input to the smart device based on the architecture shown in FIG. 6 . Taking the information input to the smart device as an example of a query sentence input by voice, the above process may include the following three stages:

1、语音识别阶段1. Speech recognition stage

智能设备可在接收到通过语音输入的查询语句后,将该查询语句的音频上传至语音识别服务设备,以由语音识别服务设备通过语音识别服务将该音频识别为文本后返回至智能设备。After receiving the query sentence input by voice, the smart device can upload the audio of the query sentence to the voice recognition service device, so that the voice recognition service device can recognize the audio as text through the voice recognition service and return it to the smart device.

在一个实施例中,将查询语句的音频上传至语音识别服务设备前,智能设备可对查询语句的音频进行去噪处理,这里的去噪处理可包括去除回声和环境噪声等步骤。In one embodiment, before uploading the audio of the query sentence to the speech recognition service device, the smart device may perform denoising processing on the audio of the query sentence, where the denoising processing may include steps such as removing echoes and ambient noise.

2、语义理解阶段2. Semantic understanding stage

智能设备将语音识别服务识别出的查询语句的文本上传至语义服务设备,以由语义服务设备通过语义服务对该文本进行语义解析,得到文本的业务领域、意图等。The smart device uploads the text of the query sentence recognized by the speech recognition service to the semantic service device, so that the semantic service device performs semantic analysis on the text through the semantic service to obtain the business field and intent of the text.

3、响应阶段3. Response stage

语义服务设备根据对查询语句的文本的语义解析结果,向相应的业务服务设备下发查询指令以获取业务服务给出的查询结果。智能设备可从语义服务设备获取该查询结果并输出。作为一个实施例,语义服务设备还可将对查询语句的语义解析结果发送至智能设备,以由智能设备输出该语义解析结果中的反馈语句。According to the semantic analysis result of the text of the query sentence, the semantic service device sends a query instruction to the corresponding business service device to obtain the query result given by the business service. The smart device can obtain and output the query result from the semantic service device. As an embodiment, the semantic service device may also send the semantic parsing result of the query statement to the smart device, so that the smart device outputs the feedback statement in the semantic parsing result.

至此,完成对基于图6所示架构处理输入智能设备的信息的过程的描述。So far, the description of the process of processing the information input to the smart device based on the architecture shown in FIG. 6 is completed.

需要说明的是,图6所示架构只是一种示例,并非对本申请保护范围的限定。本申请实施例中,也可采用其他架构来实现类似功能,在此不做赘述。It should be noted that the architecture shown in FIG. 6 is only an example, and does not limit the protection scope of the present application. In the embodiments of the present application, other architectures may also be used to implement similar functions, which will not be repeated here.

下面对本申请实施例提供的关联推荐方法进行描述。在一个实施例中,该方法可应用于智能设备如智能电视、智能音箱、智能手机等。下文描述各实施例时,主要以关联推荐方法应用于智能设备中的显示设备为例进行描述,该关联推荐方法应用于其他智能设备时的具体实现与显示设备类似,下文不再一一举例描述。The association recommendation method provided by the embodiment of the present application is described below. In one embodiment, the method can be applied to smart devices such as smart TVs, smart speakers, smart phones, and the like. When describing the various embodiments below, the description is mainly based on the application of the association recommendation method to a display device in a smart device. .

下面从显示设备的角度,结合图7对本申请实施例提供的关联推荐方法进行描述:From the perspective of a display device, the association recommendation method provided by the embodiment of the present application is described below with reference to FIG. 7 :

图7中示例性示出了本申请实施例提供的关联推荐方法流程图。结合图2所示的显示设备和图7来说,该流程可包括如下步骤:FIG. 7 exemplarily shows a flowchart of the association recommendation method provided by the embodiment of the present application. With reference to the display device shown in FIG. 2 and FIG. 7 , the process may include the following steps:

步骤S51,将接收到的查询语句发送至服务设备,以使服务设备在已建立的知识图谱中查找目标实体对应的关联实体,该目标实体为依据上述查询语句确定的实体。Step S51, sending the received query statement to the service device, so that the service device searches the established knowledge graph for the associated entity corresponding to the target entity, where the target entity is the entity determined according to the query statement.

在一个例子中,上述查询语句可包括:通过语音输入的查询语句、通过控制装置输入的查询语句等。用户可通过向智能设备输入查询语句来获取所需信息,该查询语句可包括多种内容,比如,可为单个实体名称,如“演员A”、“电影B”等;又如,可为一个句子,如“电影B的主演是谁”;又如,可为不具有实际含义的词,如“那个”、“我想”;等等。在一个实施例中,上述查询语句为通过输入接口输入的查询语句In one example, the above query statement may include: a query statement input through voice, a query statement input through a control device, and the like. The user can obtain the required information by entering a query statement into the smart device. The query statement can include various contents, for example, it can be a single entity name, such as "actor A", "movie B", etc.; another example, it can be a Sentences, such as "who is the star of movie B"; another example, can be words without actual meaning, such as "that", "I think"; and so on. In one embodiment, the above query statement is a query statement input through an input interface

在一个例子中,本步骤S51中的服务设备至少部署有语义服务。作为一个实施例,显示设备可调用语音识别服务,将通过语音输入的查询语句识别为文本后发送至该服务设备。In one example, the service device in this step S51 is deployed with at least the semantic service. As an embodiment, the display device may invoke a voice recognition service, and send the query sentence inputted by voice to the service device after recognizing it as text.

本步骤S51中,服务设备具体如何依据查询语句确定目标实体,以及如何查找目标实体对应的关联实体,下文举例描述,在此暂不赘述。In this step S51 , how the service device specifically determines the target entity according to the query statement and how to find the associated entity corresponding to the target entity is described in the following example, and will not be described here.

步骤S52,从服务设备获取上述关联实体并输出。Step S52, the above-mentioned associated entity is acquired from the service device and output.

在一个例子中,显示设备输出关联实体可包括:通过语音输出关联实体、通过显示器显示关联实体等多种方式。下文结合图8A-8G举例描述,在此暂不赘述。In one example, the display device outputting the associated entity may include: outputting the associated entity through a voice, displaying the associated entity through a display, and the like. The following description is given by way of example with reference to FIGS. 8A-8G , and details are not repeated here.

至此,完成对图7所示流程的描述。So far, the description of the flow shown in FIG. 7 is completed.

通过图7所示流程,显示设备可以将接收到的查询语句发送至服务设备,以获取服务设备依据该查询语句查找到的关联实体并输出。由此,可在显示设备与用户的交互过程中,针对输入显示设备的查询语句实现较为全面的关联推荐。Through the process shown in FIG. 7 , the display device can send the received query statement to the service device, so as to obtain and output the associated entity found by the service device according to the query statement. In this way, during the interaction between the display device and the user, a relatively comprehensive association recommendation can be implemented for the query sentence input to the display device.

图8A-8G中示例性示出了输出关联实体时显示器显示画面的示意图,下面结合图8A-8G对上述步骤S52中,显示设备如何输出关联实体进行举例描述:Figures 8A-8G exemplarily show schematic diagrams of the display screen when the associated entity is output. The following describes how the display device outputs the associated entity in the above step S52 with reference to Figures 8A-8G:

在一个例子中,服务设备以实体信息的形式返回关联实体,作为一个实施例,显示设备输出关联实体可包括:通过显示器显示关联实体的实体信息。上述实体信息可包括:实体名称、实体相关图片等等。这里的实体相关图片,例如,当实体为人物时,实体相关图片可以为人物头像、人物近照等;当实体为影视时,实体相关图片可以为影视封面等;当实体为游戏时,实体相关图片可以为游戏图标;等等。In an example, the service device returns the associated entity in the form of entity information. As an embodiment, the displaying device outputting the associated entity may include: displaying the entity information of the associated entity through a display. The above entity information may include: entity name, entity-related pictures, and the like. The entity-related pictures here, for example, when the entity is a person, the entity-related picture can be a person's avatar, a recent photo of the person, etc.; when the entity is a film and television, the entity-related picture can be a film and television cover, etc.; when the entity is a game, the entity-related pictures The image can be a game icon; etc.

图8A中示例性示出了显示设备在输出关联实体时提供的一个GUI的示意图。FIG. 8A exemplarily shows a schematic diagram of a GUI provided by the display device when outputting the associated entity.

如图8A所示,显示设备可向显示器提供GUI600,该GUI600中包括用于展示关联实体的关联实体展示区61,该展示区中包括项目611-618,分别对应关联实体1-8。项目611-618可具体显示为关联实体的名称和/或相关图片。As shown in FIG. 8A , the display device may provide a GUI 600 to the display, the GUI 600 includes an associated entity display area 61 for displaying associated entities, and the display area includes items 611-618, which correspond to associated entities 1-8, respectively. Items 611-618 may be specifically displayed as names and/or related pictures of associated entities.

作为一个实施例,从服务设备获取的关联实体的实体信息中可包括关联实体所属的业务领域,这里的业务领域也可称为实体类别,比如人物、影视、音乐等。显示设备可根据关联实体所属的业务领域,在不同的区域内显示不同业务领域的关联实体。如8B所示,关联实体展示区进一步分为两个区域,分别布置有属于人物的关联实体和属于影视的关联实体,其中,实体1-4均属于人物,实体5-8均属于影视。As an embodiment, the entity information of the associated entity obtained from the service device may include a business domain to which the associated entity belongs, and the business domain here may also be referred to as an entity category, such as characters, movies, music, and so on. The display device may display associated entities of different business fields in different areas according to the business fields to which the associated entities belong. As shown in 8B, the associated entity display area is further divided into two areas, where associated entities belonging to characters and associated entities belonging to movies are arranged respectively, wherein entities 1-4 belong to characters, and entities 5-8 belong to movies.

在一个实施例中,显示设备可将从服务设备获取的关联实体中的至少一个关联实体作为重点显示的关联实体。相比其他关联实体,显示设备可对于重点显示的关联实体显示更多的实体信息、占用更多的显示面积来显示等等。如图8C所示,实体1为重点显示的关联实体。作为一个实施例,可将服务设备返回的关联实体中的首个作为重点显示的关联实体。In one embodiment, the display device may use at least one associated entity among the associated entities acquired from the service device as a focused associated entity to display. Compared with other associated entities, the display device can display more entity information, occupy more display area for display, and so on, for the highlighted associated entities. As shown in FIG. 8C , entity 1 is an associated entity that is highlighted. As an embodiment, the first associated entity among the associated entities returned by the service device may be used as the highlighted associated entity.

在一个例子中,显示设备输出关联实体可包括:通过语音输出关联实体的实体信息。作为一个实施例,显示设备可根据预设的文本模板和关联实体的实体信息,生成待语音输出的文本,并将该文本通过语音输出。以文本模板为“为您推荐[实体名称]”、关联实体的实体名称为“人物A”为例,则根据该文本模板和关联实体的实体名称生成的待语音输出的文本为“为您推荐人物A”。作为另一个实施例,显示设备可从服务设备获取待语音输出的文本并输出。作为一个实施例,显示设备语音输出关联实体时,可在显示器上显示该语音输出对应的文本。In one example, the displaying device outputting the associated entity may include: outputting entity information of the associated entity through voice. As an embodiment, the display device may generate the text to be outputted by voice according to a preset text template and entity information of the associated entity, and output the text by voice. Taking the text template as "recommend [entity name] for you" and the entity name of the associated entity as "person A", the text to be outputted by voice generated according to the text template and the entity name of the associated entity is "recommended for you" Person A". As another embodiment, the display device may acquire and output the text to be outputted by voice from the service device. As an embodiment, when the display device voice outputs the associated entity, the text corresponding to the voice output may be displayed on the display.

在一个例子中,显示设备输出关联实体可包括:通过语音输出关联实体并通过显示器显示关联实体,下面结合图8D-8E进行举例描述。In one example, outputting the associated entity by the display device may include: outputting the associated entity through a voice and displaying the associated entity through a display, which will be described below with reference to FIGS. 8D-8E as examples.

作为一个实施例,通过语音输出的关联实体可为显示器显示的关联实体中的一个。如图8D所示,显示设备向显示器提供的GUI600中还包括语音文本展示区62,用于展示语音输出对应的文本。图8D中,语音文本展示区62所展示的文本为语音输出实体1对应的文本,该实体1为在关联实体展示区61中重点显示的一个关联实体。As an embodiment, the associated entity output through the voice may be one of the associated entities displayed on the display. As shown in FIG. 8D , the GUI 600 provided by the display device to the display further includes a voice text display area 62 for displaying the text corresponding to the voice output. In FIG. 8D , the text displayed in the voice text display area 62 is the text corresponding to the voice output entity 1 , and the entity 1 is an associated entity highlighted in the associated entity display area 61 .

作为一个实施例,通过语音输出的关联实体可为显示器显示的关联实体中的至少两个关联实体。如图8E所示,语音文本展示区62所展示的文本为语音输出实体1-4对应的文本,该实体1-4为在关联实体展示区61中显示的多个关联实体。As an embodiment, the related entities output through voice may be at least two related entities among the related entities displayed on the display. As shown in FIG. 8E , the text displayed in the voice text display area 62 is the text corresponding to the voice output entities 1 - 4 , and the entities 1 - 4 are a plurality of related entities displayed in the related entity display area 61 .

在一个例子中,显示设备从服务设备获取关联实体时,还获取该关联实体对应目标实体。作为一个实施例,显示设备可语音输出该目标实体,并通过显示器显示该目标实体和关联实体。In one example, when the display device acquires the associated entity from the service device, it also acquires the target entity corresponding to the associated entity. As an embodiment, the display device may output the target entity by voice, and display the target entity and the associated entity through the display.

如图8F所示,显示设备向显示器提供的GUI600中还包括目标实体展示区63,用于展示目标实体。具体的,该目标实体展示区63可用于展示目标实体的实体信息。图8F中,目标实体展示区63中展示有作为目标实体的实体A,语音文本展示区62所展示的文本为语音输出实体A对应的文本,关联实体展示区61中展示有实体A对应的关联实体。As shown in FIG. 8F , the GUI 600 provided by the display device to the display further includes a target entity display area 63 for displaying the target entity. Specifically, the target entity display area 63 can be used to display entity information of the target entity. In FIG. 8F , the target entity display area 63 displays the entity A as the target entity, the text displayed in the voice text display area 62 is the text corresponding to the voice output entity A, and the association entity display area 61 displays the association corresponding to the entity A entity.

在一个例子中,在输出关联实体时,显示设备还可通过显示器显示步骤S51中接收到的查询语句的文本。如图8G所示,显示设备向显示器提供的GUI600中还包括查询语句展示区64,用于展示接收到的查询语句的文本。作为一个实施例,查询语句的文本可为显示设备调用语音识别服务对查询语句识别得到的文本。In one example, when outputting the associated entity, the display device may further display the text of the query statement received in step S51 through the display. As shown in FIG. 8G , the GUI 600 provided by the display device to the display further includes a query statement display area 64 for displaying the text of the received query statement. As an embodiment, the text of the query statement may be the text obtained by calling the speech recognition service on the display device to recognize the query statement.

在一个例子中,显示设备从服务设备获取关联实体时,还可获取查询语句的查询结果,这里查询结果的获取可参考上文基于图6所示架构的描述。在一个实施例中,显示设备可将该查询结果与关联实体分别显示在显示器上的不同区域,在此不再详细描述。In an example, when the display device acquires the associated entity from the service device, it can also acquire the query result of the query statement. Here, for the acquisition of the query result, reference may be made to the above description based on the architecture shown in FIG. 6 . In one embodiment, the display device may respectively display the query result and the associated entity in different areas on the display, which will not be described in detail here.

需要说明的是,在通过以上各实施例输出关联实体时,可分别使用各实施例,也可以将各实施例结合使用,本申请对此不具体限制。而且,在实际应用时,显示设备输出关联实体还有多种实现方式,以上实施例只是举例,并非用于限定。It should be noted that, when outputting an associated entity through the above embodiments, each embodiment may be used separately, or each embodiment may be used in combination, which is not specifically limited in the present application. Moreover, in practical application, there are multiple implementation manners for the display device to output the associated entity, and the above embodiments are only examples, and are not intended to be limiting.

下面从服务设备的角度,对本申请实施例提供的关联推荐方法进行描述。主要对服务设备如何依据查询语句确定目标实体,以及如何在知识图谱中查找该目标实体对应的关联实体进行举例描述。The association recommendation method provided by the embodiment of the present application is described below from the perspective of a service device. It mainly describes how the service device determines the target entity according to the query statement and how to find the associated entity corresponding to the target entity in the knowledge graph.

图9中示例性示出了应用于服务设备的关联推荐方法流程图。如图9所示,该流程包括如下步骤:FIG. 9 exemplarily shows a flowchart of an association recommendation method applied to a service device. As shown in Figure 9, the process includes the following steps:

步骤S71,服务设备接收来自显示设备的查询语句,并确定该查询语句是否满足预设的关联推荐条件;若满足,则依据该查询语句确定目标实体。Step S71, the service device receives the query statement from the display device, and determines whether the query statement satisfies the preset association recommendation condition; if so, determines the target entity according to the query statement.

作为一个实施例,服务设备接收到来自显示设备的查询语句后,可对该查询语句进行语义解析,以便后续判断该查询语句是否满足关联推荐条件。在一个实施例中,服务设备可通过部署的语义服务对查询语句进行语义解析。本申请对具体的语义解析过程不进行限制。As an embodiment, after receiving the query statement from the display device, the service device may perform semantic analysis on the query statement, so as to subsequently determine whether the query statement satisfies the associated recommendation condition. In one embodiment, the service device may perform semantic parsing on the query statement through the deployed semantic service. This application does not limit the specific semantic parsing process.

在实际应用时,依据查询语句确定目标实体有多种实现方式。在一个例子中,对于满足预设关联推荐条件的查询语句,若该查询语句中包含实体名称,则可将该查询语句中包含的实体名称对应的实体确定为目标实体;若该查询语句中不包含实体名称,则以该查询语句为当前查询语句,依据当前查询语句的前一查询语句确定目标实体。这里的前一查询语句与当前查询语句来自同一显示设备,依据前一查询语句确定目标实体的过程,可参照上述依据当前查询语句确定目标实体的过程。In practical application, there are many ways to determine the target entity according to the query statement. In one example, for a query statement that satisfies the preset association recommendation conditions, if the query statement contains an entity name, the entity corresponding to the entity name contained in the query statement can be determined as the target entity; if the query statement does not contain an entity name If the entity name is included, the query statement is used as the current query statement, and the target entity is determined according to the previous query statement of the current query statement. The previous query statement and the current query statement here come from the same display device, and the process of determining the target entity according to the previous query statement can refer to the above-mentioned process of determining the target entity according to the current query statement.

作为一个实施例,可将在当前查询语句之前预设时间内接收到的,且距离当前查询语句最近接收到的查询语句确定为前一查询语句,若不存在前一查询语句,则可将预先设置的默认实体确定为目标实体。As an embodiment, the query statement received within a preset time before the current query statement and received most recently from the current query statement may be determined as the previous query statement, if there is no previous query statement, the pre- The default entity set is determined as the target entity.

为便于理解,下面结合如何确定查询语句是否满足预设的关联推荐条件,举例描述如何依据查询语句确定目标实体:For ease of understanding, the following describes how to determine the target entity based on the query statement, in conjunction with how to determine whether the query statement satisfies the preset association recommendation conditions:

在一个例子中,当查询语句为单个实体名称时,确定满足预设的关联推荐条件。这里的实体名称,比如:人物名、影视名、音乐名、游戏名、美食名等。作为一个实施例,在确定查询语句为单个实体名称后,可将该单个实体名称对应的实体确定为目标实体。In one example, when the query statement is a single entity name, it is determined that a preset association recommendation condition is satisfied. The entity name here, such as: character name, movie name, music name, game name, food name, etc. As an embodiment, after the query statement is determined to be a single entity name, the entity corresponding to the single entity name may be determined as the target entity.

在另一个例子中,当无法查找到查询语句所要获取的信息时,确定该查询语句满足预设的关联推荐条件。这里的无法查找到查询语句所要获取的信息,以查询语句为“人物A的女儿是谁?”为例,若服务设备并未查找到人物A的女儿的信息,则可确定无法查找到该查询语句所要获取的信息。作为一个实施例,当无法查找到查询语句所要获取的信息时,服务设备可将该查询语句中包含的实体确定为目标实体。当无法查找到查询语句所要获取的信息时,比起单纯返回这一查询结果,返回查询的相关信息能够实现较好的用户体验。In another example, when the information to be acquired by the query statement cannot be found, it is determined that the query statement satisfies the preset association recommendation condition. Here, the information to be obtained by the query statement cannot be found. Taking the query statement as "who is the daughter of person A?" as an example, if the service device does not find the information of the daughter of person A, it can be determined that the query cannot be found. The information to be obtained by the statement. As an embodiment, when the information to be acquired by the query statement cannot be found, the service device may determine the entity included in the query statement as the target entity. When the information to be obtained by the query statement cannot be found, returning the relevant information of the query can achieve a better user experience than simply returning the query result.

在另一个例子中,当查询语句不具有明确语义时,确定满足预设的关联推荐条件。举例来说,这里不具有明确语义的查询语句可为“那个”、“我想”等。作为一个实施例,当查询语句不具有明确语义时,服务设备可将已接收的该查询语句的前一查询语句中包含的实体名称对应的实体确定为目标实体。一般来说,用户会在需求不明确、无法准确描述需求等情况下,输入不具有明确语义的查询语句,此时针对用户之前输出的查询语句进行关联推荐,能够帮助用户发现所需的信息,以及引导用户进行下一次查询。In another example, when the query statement does not have explicit semantics, it is determined that a preset association recommendation condition is satisfied. For example, query statements that do not have explicit semantics here may be "that", "I think", and so on. As an embodiment, when the query statement does not have explicit semantics, the service device may determine the entity corresponding to the entity name included in the previous query statement of the received query statement as the target entity. Generally speaking, when the requirements are not clear and the requirements cannot be accurately described, the user will enter a query statement without clear semantics. At this time, the relevant recommendation for the query statement previously output by the user can help the user find the required information. As well as guide the user to the next query.

在另一个例子中,当一定时间内接收到的来自同一显示设备的语义相同的查询语句的数量达到阈值时,确定满足预设的关联推荐条件。作为一个实施例,当两个查询语句的语义相似度达到阈值时,可确定两个查询语句的语义相同。作为一个实施例,服务设备可将语义相同的查询语句中包含的实体确定为目标实体。语义相同的查询语句的数量达到阈值,说明用户向显示设备多次输入了语义相同的查询语句,一般来说,出现这种情况是由于用户已进行的查询没有得到想要的查询结果,在这种情况下进行关联推荐,比起单纯返回相同的查询结果,能够实现更好的用户体验。In another example, when the number of query statements with the same semantics received from the same display device within a certain period of time reaches a threshold, it is determined that a preset association recommendation condition is satisfied. As an embodiment, when the semantic similarity of the two query statements reaches a threshold, it may be determined that the semantics of the two query statements are the same. As an embodiment, the service device may determine the entity contained in the query statement with the same semantics as the target entity. The number of query statements with the same semantics reaches the threshold, indicating that the user has input query statements with the same semantics to the display device multiple times. Generally speaking, this happens because the query that the user has performed does not get the desired query result. In this case, the association recommendation can achieve a better user experience than simply returning the same query results.

需要说明的是,在通过以上实施例确定查询语句是否满足预设的关联推荐条件时,可以分别单独使用各实施例,也可将至少两个实施例结合使用。在结合使用时,作为一个实施例,当查询语句不满足结合使用的各实施例中的所有关联推荐条件时,可确定其不满足关联推荐条件。上述实施例只是示例,实际应用中易于想到的其他实现方式,在此不再一一详述。It should be noted that, when determining whether the query statement satisfies the preset association recommendation condition through the above embodiments, each embodiment may be used separately, or at least two embodiments may be used in combination. When used in combination, as an embodiment, when the query statement does not satisfy all the association recommendation conditions in the embodiments used in combination, it may be determined that it does not satisfy the association recommendation conditions. The above embodiments are only examples, and other implementation manners that are easy to think of in practical applications will not be described in detail here.

步骤S72,按照预设的关联推荐规则,在已建立的知识图谱中查找目标实体对应的关联实体。Step S72 , according to the preset association recommendation rule, search for the associated entity corresponding to the target entity in the established knowledge graph.

本步骤S72在上述步骤S71中确定查询语句满足关联推荐条件,且已依据该查询语句确定出目标实体的情况下执行。This step S72 is executed when it is determined in the above step S71 that the query statement satisfies the association recommendation condition, and the target entity has been determined according to the query statement.

在一个例子中,本步骤S72中的关联推荐规则包括:目标实体所属的业务领域对应的关联推荐规则。作为一个实施例,服务设备中设置有业务领域和关联推荐规则的对应关系。在按照关联推荐规则查找目标实体对应的关联实体前,服务设备可确定目标实体所属的业务领域,并在业务领域和关联推荐规则的对应关系中查找该业务领域对应的关联推荐规则。作为一个实施例,目标实体所属的业务领域可通过多种方式确定,例如,根据目标实体的业务领域属性的属性值确定目标实体的业务领域、根据目标实体的标签确定目标实体的业务领域等等。In an example, the association recommendation rules in this step S72 include: association recommendation rules corresponding to the business domain to which the target entity belongs. As an embodiment, the service device is provided with a corresponding relationship between a business domain and an association recommendation rule. Before searching for the associated entity corresponding to the target entity according to the associated recommendation rule, the service device may determine the business domain to which the target entity belongs, and search for the associated recommendation rule corresponding to the business domain in the correspondence between the business domain and the associated recommendation rule. As an embodiment, the business domain to which the target entity belongs can be determined in various ways, for example, determining the business domain of the target entity according to the attribute value of the business domain attribute of the target entity, determining the business domain of the target entity according to the tag of the target entity, and so on. .

在一个实施例中,业务领域对应的关联推荐规则可根据大量用户输入的查询语句分析确定。例如,可获取大量用户输入的相邻查询语句,以分析用户的查询的实体间存在的关联等。作为一个实施例,可每隔一定时间,根据该一定时间内用户输入的查询语句对关联推荐规则进行适当调整。In one embodiment, the association recommendation rule corresponding to the business domain may be determined according to the analysis of query sentences input by a large number of users. For example, a large number of adjacent query statements input by the user can be obtained to analyze the relationship existing among the entities queried by the user, and the like. As an embodiment, the association recommendation rule may be appropriately adjusted according to the query statement input by the user within a certain period of time.

具体如何按照关联推荐规则在知识图谱中查找目标实体对应的关联实体,下文举例描述,在此暂不赘述。Specifically, how to find the associated entity corresponding to the target entity in the knowledge graph according to the association recommendation rule is described below with an example, and will not be repeated here.

在一个例子中,目标实体所属的业务领域可对应一条关联推荐规则,也可对应至少两条关联推荐规则。In one example, the business domain to which the target entity belongs may correspond to one association recommendation rule, or may correspond to at least two association recommendation rules.

当目标实体所属的业务领域对应一条关联推荐规则时,作为一个实施例,服务设备可按照该关联推荐规则在知识图谱中查找目标实体对应的关联实体。When the business domain to which the target entity belongs corresponds to an association recommendation rule, as an embodiment, the service device may search the knowledge graph for the associated entity corresponding to the target entity according to the association recommendation rule.

当目标实体所属的业务领域对应至少两条关联推荐规则时,作为一个实施例,服务设备可分别按照上述至少两条关联推荐规则在知识图谱中查找目标实体对应的关联实体。作为一个实施例,服务设备向显示设备返回的各关联实体具有一定的顺序,对于分别按照上述至少两条关联推荐规则查找到的相同的关联实体,在排序时可将其放在各关联实体的前端。When the business domain to which the target entity belongs corresponds to at least two association recommendation rules, as an embodiment, the service device may search the knowledge graph for the associated entity corresponding to the target entity according to the at least two association recommendation rules. As an embodiment, the associated entities returned by the service device to the display device are in a certain order. For the same associated entities found according to the above at least two association recommendation rules, they can be placed in the respective associated entities during sorting. front end.

当目标实体所属的业务领域对应至少两条关联推荐规则时,作为另一个实施例,服务设备可按照上述至少两条关联推荐规则中的一条查找目标实体对应的关联实体,并在查找到的关联实体不符合预设条件时,进一步按照上述至少两条关联推荐规则中的其他关联推荐规则进行查找。这里的预设条件可包括:查找到的关联实体数量小于阈值等。When the business domain to which the target entity belongs corresponds to at least two association recommendation rules, as another embodiment, the service device may search for the associated entity corresponding to the target entity according to one of the above at least two association recommendation rules, and, in the found association, When the entity does not meet the preset conditions, the search is further performed according to other association recommendation rules in the above at least two association recommendation rules. The preset conditions here may include: the number of found associated entities is less than a threshold, and the like.

至此,完成对图9所示流程的描述。So far, the description of the flow shown in FIG. 9 is completed.

通过图9所示流程,从服务设备的角度描述了本申请实施例提供的关联推荐方法,通过图9所示流程,能够对不同业务领域的目标实体按照不同的关联推荐规则进行推荐。Through the process shown in FIG. 9 , the association recommendation method provided by the embodiment of the present application is described from the perspective of a service device. Through the process shown in FIG. 9 , target entities in different business fields can be recommended according to different association recommendation rules.

在一个例子中,服务设备可通过多个模块执行图9所示流程。作为一个实施例,服务设备可包括接收模块和关联推荐模块。其中,接收模块,用于接收来自显示设备的查询语句;关联推荐模块,用于确定该查询语句是否满足预设的关联推荐条件;若满足,则依据该查询语句确定目标实体,并按照预设的关联推荐规则,在知识图谱中查找该目标实体对应的关联实体。In one example, the service device may execute the process shown in FIG. 9 through multiple modules. As an embodiment, the service device may include a receiving module and an association recommendation module. Among them, the receiving module is used to receive the query statement from the display device; the association recommendation module is used to determine whether the query statement satisfies the preset association recommendation condition; The association recommendation rule of , finds the associated entity corresponding to the target entity in the knowledge graph.

下面对图9所示流程中,如何按照关联推荐规则在在知识图谱中查找目标实体对应的关联实体进行举例描述:In the process shown in Figure 9, how to find the associated entity corresponding to the target entity in the knowledge graph according to the association recommendation rule is described as an example:

在一个例子中,业务领域可包括人物、影视、音乐、游戏和美食中的至少一个。下面对各业务领域对应的关联推荐规则进行举例描述:In one example, the business domain may include at least one of characters, movies, music, games, and food. The following is an example description of the association recommendation rules corresponding to each business field:

作为一个实施例,人物对应的关联推荐规则可包括:推荐与目标实体具有指定人物关系的人物实体,这里的指定人物关系可包括:配偶、子女、父母、队友、师徒等;推荐与目标实体属于相同职业的人物,这里的相同职业可包括:医生、影视演员、歌手、运动员等,对于某些具有多个下级分类的职业,可将不同的下级分类分别确定为不同的职业。比如对于运动员,其具有按照不同运动项目划分的多个下级分类,如:篮球运动员、足球运动员、乒乓球运动员等,可将不同下级分类分别视为不同职业。As an embodiment, the association recommendation rule corresponding to a character may include: recommending a character entity that has a specified character relationship with the target entity, where the specified character relationship may include: spouse, child, parent, teammate, mentor, etc.; recommending a character entity with the target entity Characters belonging to the same occupation, the same occupation here may include: doctors, film and television actors, singers, athletes, etc. For some occupations with multiple subclasses, different subclasses can be determined as different occupations respectively. For example, an athlete has multiple sub-categories according to different sports, such as basketball players, football players, table tennis players, etc., and different sub-categories can be regarded as different occupations respectively.

作为一个实施例,影视对应的关联推荐规则可包括:推荐与目标实体属于相同影视类型的影视;推荐目标实体的主演;推荐目标实体的导演;推荐与目标实体的主演相同的影视;推荐目标实体的导演所导演的其他影视;等等。As an embodiment, the association recommendation rules corresponding to movies may include: recommend movies of the same movie type as the target entity; recommend the star of the target entity; recommend the director of the target entity; recommend the same movie as the star of the target entity; recommend the target entity other films directed by the director;

作为一个实施例,音乐对应的关联推荐规则可包括:推荐与目标实体属于相同音乐风格的音乐,在推荐时,可优先推荐与目标实体名称相似度高的音乐这里,音乐风格可包括:国风、流行、古典、抒情等;推荐与目标实体的原唱歌手相同的音乐;推荐与目标实体的作词人相同的音乐;推荐与目标实体的作曲人相同的音乐;推荐由非原唱歌手所演唱的目标实体;等等。As an embodiment, the associated recommendation rule corresponding to music may include: recommending music belonging to the same music style as the target entity, and recommending music with a high similarity in name to the target entity when recommending. Here, the music style may include: national style , pop, classical, lyrical, etc.; recommends the same music as the original singer of the target entity; recommends the same music as the target entity's lyricist; recommends the same music as the target entity's composer; recommends singing by a non-original singer the target entity; etc.

作为一个实施例,游戏对应的关联推荐规则可包括:推荐与目标实体属于相同游戏类型的游戏;推荐与目标实体属于相同主题的游戏。上述游戏类型可包括:第一人称射击、益智、策略、角色扮演等,上述主题可包括:战争、策略、时尚等。As an embodiment, the association recommendation rule corresponding to the game may include: recommending games that belong to the same game type as the target entity; recommending games that belong to the same theme as the target entity. The above-mentioned game types may include: first-person shooter, puzzle, strategy, role-playing, etc., and the above-mentioned themes may include: war, strategy, fashion, etc.

作为一个实施例,美食对应的关联推荐规则可包括:推荐与目标实体属于相同菜系的美食;推荐与目标实体属于相同口味的美食。上述菜系可包括中国传统的八大菜系,也可包括北京菜、东北菜等其他菜系。上述口味可包括:酸、甜、苦、辣、咸、鲜中的一种或组合。As an embodiment, the associated recommendation rule corresponding to the food may include: recommending the food belonging to the same cuisine as the target entity; recommending the food belonging to the same taste as the target entity. The above-mentioned cuisines may include the eight traditional Chinese cuisines, and may also include other cuisines such as Beijing cuisine and Northeastern cuisine. The above-mentioned tastes may include: one or a combination of sour, sweet, bitter, spicy, salty, and fresh.

上述各实施例中的关联推荐规则中的目标实体为依据查询语句确定出的实体。The target entity in the association recommendation rule in the above embodiments is the entity determined according to the query statement.

在一个例子中,按照关联推荐规则在知识图谱中查找目标实体对应的关联实体可包括:依据目标实体所属的业务领域,以及目标实体与其他实体的关联关系和/或目标实体具有的属性,在知识图谱中确定目标实体对应的关联实体。In one example, searching for the associated entity corresponding to the target entity in the knowledge graph according to the association recommendation rule may include: according to the business domain to which the target entity belongs, the association relationship between the target entity and other entities and/or the attributes possessed by the target entity, in the Determine the associated entity corresponding to the target entity in the knowledge graph.

作为一个实施例,可依据目标实体所属的业务领域,在知识图谱中查找与该目标实体具有指定关联关系的实体,并将查找到的实体确定为目标实体对应的关联实体;也可依据目标实体所属的业务领域,在知识图谱中查找与目标实体具有相同的指定属性值的实体,将查找到的实体确定为目标实体对应的关联实体。As an embodiment, according to the business domain to which the target entity belongs, an entity with a specified association relationship with the target entity can be searched in the knowledge graph, and the found entity can be determined as the associated entity corresponding to the target entity; The business domain to which it belongs, searches the knowledge graph for entities with the same specified attribute value as the target entity, and determines the found entity as the associated entity corresponding to the target entity.

上述指定关系、指定属性值可依据目标实体所属业务领域对应的关联推荐规则确定。例如,若目标实体所属的业务领域为人物,则可按照人物对应的关联推荐规则,确定指定关系为指定人物关系,并在知识图谱中查找与目标实体的关系为指定人物关系的实体,将查找到的实体确定为目标实体的关联实体;也可按照人物对应的关联推荐规则,确定指定属性值为目标实体的“职业属性值”,并在知识图谱中查找具有该指定属性值的实体,将查找到的实体确定为目标实体的关联实体。The above-mentioned specified relationship and specified attribute value may be determined according to the association recommendation rule corresponding to the business domain to which the target entity belongs. For example, if the business field to which the target entity belongs is a person, the specified relationship can be determined to be a specified person relationship according to the association recommendation rules corresponding to the person, and the entity whose relationship with the target entity is a specified person relationship can be searched in the knowledge graph. The received entity is determined to be the associated entity of the target entity; it is also possible to determine the “occupational attribute value” of the target entity with the specified attribute value according to the association recommendation rules corresponding to the character, and find the entity with the specified attribute value in the knowledge graph, The found entity is determined to be the associated entity of the target entity.

在一个实施例中,知识图谱可以为基于Neo4j、TigerGraph、OrientDB等工具构建的知识图谱。下面以基于Neo4j构建的知识图谱为例,对具体如何在知识图谱中查找目标实体对应的关联实体进行举例描述:In one embodiment, the knowledge graph may be a knowledge graph constructed based on tools such as Neo4j, TigerGraph, and OrientDB. The following takes the knowledge graph constructed based on Neo4j as an example to describe how to find the associated entity corresponding to the target entity in the knowledge graph:

在一个例子中,对于基于Neo4j构建的知识图谱,可通过规则表达关系链在该知识图谱中查找指定实体。该规则表达关系链可通过对实体的属性、实体与实体间关系等方面进行限定,查找指定实体。作为一个实施例,服务设备可根据关联推荐规则生成规则表达关系链,以在知识图谱中查找目标实体对应的关联实体。In one example, for a knowledge graph constructed based on Neo4j, a specified entity can be searched in the knowledge graph through a rule expression relationship chain. The rule expresses the relationship chain and can search for the specified entity by defining the attributes of the entity, the relationship between the entity and the entity, etc. As an embodiment, the service device may generate a rule expression relationship chain according to the association recommendation rule, so as to find the associated entity corresponding to the target entity in the knowledge graph.

在根据关联推荐规则生成规则表达关系链时,作为一个实施例,服务设备可依据预设的关联推荐规则和规则表达关系链模板的对应关系,确定目标实体所属业务领域对应的关联推荐规则对应的规则表达关系链模板,该规则表达关系链模板中包括需要输入关键词的部分;服务设备可获取目标实体的指定属性值作为关键词,输入到确定出的规则表达关系链模板中,生成规则表达关系链。When generating a rule expression relationship chain according to an association recommendation rule, as an embodiment, the service device may determine the corresponding relationship between the association recommendation rule corresponding to the business domain to which the target entity belongs, according to the preset association recommendation rule and the corresponding relationship between the rule expression relationship chain template. A rule expression relationship chain template, which includes a part that needs to input keywords; the service device can obtain the specified attribute value of the target entity as a keyword, input it into the determined rule expression relationship chain template, and generate a rule expression relationship chain.

作为一个实施例,通过规则表达关系链模板,还可对查找到的关联实体的数量、顺序进行限定。As an embodiment, by expressing a relationship chain template by a rule, the number and order of the found associated entities may also be limited.

为便于理解上述内容,下面结合具体的例子进行描述:In order to facilitate the understanding of the above content, the following description is combined with specific examples:

例如:目标实体为糖醋里脊,目标实体所属业务领域为美食,美食对应的关联推荐规则为:推荐与目标实体属于相同菜系的美食,则服务设备查找与“推荐与目标实体属于相同菜系的美食”对应的规则表达关系链模板。For example: the target entity is sweet and sour pork loin, the business field of the target entity is gourmet, and the associated recommendation rule corresponding to the gourmet is: recommend the gourmet that belongs to the same cuisine as the target entity, then the service device searches for the gourmet that is the same as the "recommended and the target entity belongs to the same cuisine" "The corresponding rule expression relationship chain template.

假设查找到的规则表达关系链模板如下:Suppose the found rule expression relationship chain template is as follows:

“match(n)-[r:relate]-(m)-[t:relate]-(s:'美食')where id(n)=ENTITY andr.name='菜系'and m.name='[菜系属性值]'and t.name='菜系'and n.name='[名称属性值]'and s.describeNum>50RETURN s order by s.describeNum LIMIT 10”。"match(n)-[r:relate]-(m)-[t:relate]-(s:'food') where id(n)=ENTITY and r.name='cuisine' and m.name='[ Cuisine attribute value]'and t.name='Cuisine'and n.name='[name attribute value]'and s.describeNum>50RETURN s order by s.describeNum LIMIT 10".

该规则表达关系链用于查找所属业务领域为美食、所属菜系为[菜系属性值]的实体。其中,[菜系属性值]、[名称属性值]为需要输入关键词的部分。The rule expression relationship chain is used to find entities whose business domain is cuisine and whose cuisine is [cuisine attribute value]. Among them, [cuisine attribute value], [name attribute value] are the parts that need to input keywords.

首先简单描述该规则表达关系链模板中部分内容的含义:First, briefly describe the meaning of some content in the rule expression relationship chain template:

“(n)-[r:relate]-(m)-[t:relate]-(s:'美食')”表示实体n与实体m存在关系r,实体m与实体s存在关系t;"(n)-[r:relate]-(m)-[t:relate]-(s:'food')" means that entity n has relationship r with entity m, and entity m has relationship t with entity s;

“r.name='菜系'”表示关系r的名称为菜系,“t.name='菜系'”表示关系t的名称为菜系,“n.name='[名称属性值]'”表示实体n的名称为[名称属性值],“m.name='[菜系属性值]'”表示m的名称为[菜系属性值];"r.name='Cuisine'" means that the name of the relation r is a cuisine, "t.name='Cuisine'" means that the name of the relation t is a cuisine, and "n.name='[name attribute value]'" means that the entity n The name of m is [name attribute value], "m.name='[cuisine attribute value]'" means the name of m is [cuisine attribute value];

“RETURN s”表示输出的实体为该规则表达关系链模板中s表示的实体;“order bys.describeNum”表示根据describeNum属性对输出的实体进行排序;“LIMIT 10”表示限定输出的实体数量为10。"RETURN s" indicates that the output entity is the entity represented by s in the rule expression relationship chain template; "order bys.describeNum" indicates that the output entities are sorted according to the describeNum attribute; "LIMIT 10" indicates that the number of output entities is limited to 10 .

根据上述规则表达关系链模板,服务设备可获取目标实体糖醋里脊的“菜系”属性的属性值、“名称”属性的属性值作为关键词,将该关键词输入该规则表达关系链模板中生成规则表达关系链。According to the above rule expression relationship chain template, the service device can obtain the attribute value of the "cuisine" attribute and the attribute value of the "name" attribute of the target entity sweet and sour pork loin as a keyword, and input the keyword into the rule expression relationship chain template to generate Rules express chains of relationships.

以糖醋里脊的“菜系”属性的属性值为“浙菜”为例,则生成的规则表达关系链如下:Taking the attribute value of the "cuisine" attribute of sweet and sour pork loin as "Zhejiang cuisine" as an example, the generated rule expression relationship chain is as follows:

“match(n)-[r:relate]-(m)-[t:relate]-(s:'美食')where id(n)=ENTITY andr.name='菜系'and m.name='浙菜'and t.name='菜系'and n.name='糖醋里脊'ands.describeNum>50RETURN s order by s.describeNum LIMIT 10”。"match(n)-[r:relate]-(m)-[t:relate]-(s:'food')where id(n)=ENTITY andr.name='cuisine' and m.name='Zhe Dish' and t.name='Cuisine' and n.name='Sweet and Sour Tenderloin' ands.describeNum>50RETURN s order by s.describeNum LIMIT 10".

至此,完成对图9所示流程中如何按照关联推荐规则在知识图谱中查找目标实体对应的关联实体的描述。需要注意的是,上述实施例只是一种示例,实际应用时可能存在其他关联推荐规则,以及其他在知识图谱中查找目标实体对应的关联实体的方式,在此不再一一举例描述。So far, the description of how to search for the associated entity corresponding to the target entity in the knowledge graph according to the association recommendation rule in the process shown in FIG. 9 is completed. It should be noted that the above embodiment is only an example, and other association recommendation rules may exist in practical application, as well as other ways of finding the associated entity corresponding to the target entity in the knowledge graph, which will not be described one by one here.

如上面实施例所述,显示设备可以将接收到的查询语句发送至服务设备,以使服务设备依据该查询语句确定出需要进行关联推荐的目标实体,并在知识图谱中查找该目标实体对应的关联实体,显示设备获取该关联实体并输出,由此在显示设备与用户的交互过程中,能够针对用户输入的查询语句进行较为丰富、全面的关联推荐,提升用户体验。As described in the above embodiment, the display device can send the received query statement to the service device, so that the service device can determine the target entity that needs to be recommended for association according to the query statement, and search the knowledge graph for the corresponding target entity. The associated entity is obtained by the display device and output, so that during the interaction between the display device and the user, a relatively rich and comprehensive association recommendation can be made for the query statement input by the user, thereby improving the user experience.

最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present application. scope.

为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述示例性的讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释原理以及实际的应用,从而使得本领域技术人员更好的使用所述实施方式以及适于具体使用考虑的各种不同的变形的实施方式。For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussions are not intended to be exhaustive or to limit implementations to the specific forms disclosed above. Numerous modifications and variations are possible in light of the above teachings. The above embodiments are chosen and described to better explain the principles and practical applications, so as to enable those skilled in the art to better utilize the described embodiments and various modified embodiments suitable for specific use considerations.

Claims (10)

1.一种智能设备,其特征在于,包括:输入接口和控制器;1. an intelligent device, is characterized in that, comprises: input interface and controller; 所述控制器被配置用于:The controller is configured to: 将通过所述输入接口输入的查询语句发送至服务设备,以使服务设备在已建立的知识图谱中查找目标实体对应的关联实体,所述知识图谱用于表示实体之间的语义关系,所述目标实体为依据所述查询语句确定的实体;Send the query statement input through the input interface to the service device, so that the service device searches for the associated entity corresponding to the target entity in the established knowledge graph, where the knowledge graph is used to represent the semantic relationship between entities, and the The target entity is the entity determined according to the query statement; 从所述服务设备获取所述关联实体并输出。Acquire the associated entity from the service device and output. 2.根据权利要求1所述的智能设备,其特征在于,所述智能设备为显示设备;2. The smart device according to claim 1, wherein the smart device is a display device; 所述控制器被配置为通过语音输出所述关联实体,和/或,将所述关联实体输出至显示器以通过显示器显示所述关联实体。The controller is configured to output the associated entity by voice, and/or output the associated entity to a display to display the associated entity through the display. 3.一种服务设备,其特征在于,包括:3. A service device, characterized in that, comprising: 接收模块,用于接收来自智能设备的当前查询语句;The receiving module is used to receive the current query statement from the smart device; 关联推荐模块,用于在已建立的知识图谱中查找目标实体对应的关联实体,所述知识图谱用于表示实体之间的语义关系,所述目标实体为依据所述当前查询语句确定的实体。The association recommendation module is used to find the associated entity corresponding to the target entity in the established knowledge graph, the knowledge graph is used to represent the semantic relationship between the entities, and the target entity is the entity determined according to the current query sentence. 4.根据权利要求3所述的服务设备,其特征在于,所述关联推荐模块具体用于:4. The service device according to claim 3, wherein the association recommendation module is specifically used for: 依据所述目标实体所属的业务领域,在所述知识图谱中查找与所述目标实体具有指定关联关系的实体,将查找到的实体确定为所述目标实体对应的关联实体。According to the business domain to which the target entity belongs, the knowledge graph is searched for an entity having a specified relationship with the target entity, and the found entity is determined as the associated entity corresponding to the target entity. 5.根据权利要求3所述的服务设备,其特征在于,所述关联推荐模块具体用于:5. The service device according to claim 3, wherein the association recommendation module is specifically used for: 依据所述目标实体所属的业务领域,在所述知识图谱中查找与所述目标实体具有相同的指定属性值的实体,将查找到的实体确定为所述目标实体对应的关联实体。According to the business domain to which the target entity belongs, an entity having the same specified attribute value as the target entity is searched in the knowledge graph, and the found entity is determined as an associated entity corresponding to the target entity. 6.根据权利要求4或5任一项所述的服务设备,其特征在于,所述业务领域包括:人物、影视、音乐、游戏和美食中的至少一种。6. The service device according to any one of claims 4 or 5, wherein the business field includes at least one of characters, movies, music, games and food. 7.根据权利要求3所述的服务设备,其特征在于,所述关联推荐模块具体用于:7. The service device according to claim 3, wherein the association recommendation module is specifically used for: 当所述当前查询语句满足预设的关联推荐条件时,若所述当前查询语句包含实体名称,则将该实体名称对应的实体确定为目标实体;When the current query statement satisfies the preset association recommendation condition, if the current query statement contains an entity name, the entity corresponding to the entity name is determined as the target entity; 若所述当前查询语句不包含实体名称,则将已接收的前一查询语句中的实体名称对应的实体确定为目标实体。If the current query statement does not contain an entity name, the entity corresponding to the entity name in the received previous query statement is determined as the target entity. 8.一种关联推荐方法,其特征在于,应用于智能设备,包括:8. A method for association recommendation, characterized in that, applied to a smart device, comprising: 将通过输入接口输入的查询语句发送至服务设备,以使服务设备在已建立的知识图谱中查找目标实体对应的关联实体,所述知识图谱用于表示实体之间的语义关系,所述目标实体为依据所述查询语句确定的实体;Send the query statement input through the input interface to the service device, so that the service device searches for the associated entity corresponding to the target entity in the established knowledge graph, the knowledge graph is used to represent the semantic relationship between entities, and the target entity is the entity determined according to the query statement; 从所述服务设备获取所述关联实体并输出。Acquire the associated entity from the service device and output. 9.一种关联推荐方法,其特征在于,应用于服务设备,包括:9. An association recommendation method, characterized in that, applied to a service device, comprising: 接收来自智能设备的当前查询语句;Receive the current query statement from the smart device; 在已建立的知识图谱中查找目标实体对应的关联实体,所述知识图谱用于表示实体之间的语义关系,所述目标实体为依据所述当前查询语句确定的实体。The associated entity corresponding to the target entity is searched in the established knowledge graph, where the knowledge graph is used to represent the semantic relationship between entities, and the target entity is an entity determined according to the current query sentence. 10.根据权利要求9所述的方法,其特征在于,所述在已建立的知识图谱中查找目标实体对应的关联实体,包括:10. The method according to claim 9, wherein the searching for the associated entity corresponding to the target entity in the established knowledge graph comprises: 依据所述目标实体所属的业务领域,在所述知识图谱中查找与所述目标实体具有指定关联关系的实体,将查找到的实体确定为所述目标实体对应的关联实体;和/或,According to the business domain to which the target entity belongs, search the knowledge graph for an entity that has a specified relationship with the target entity, and determine the found entity as the associated entity corresponding to the target entity; and/or, 依据所述目标实体所属的业务领域,确定所述目标实体的指定属性值,并在所述知识图谱中查找具有所述指定属性值的实体,将查找到的实体确定为所述目标实体对应的关联实体。According to the business field to which the target entity belongs, determine the specified attribute value of the target entity, and search the knowledge graph for the entity with the specified attribute value, and determine the found entity as the corresponding entity of the target entity. Associated entity.
CN202010692647.0A 2020-07-17 2020-07-17 A kind of association recommendation method, intelligent device and service device Active CN111914134B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010692647.0A CN111914134B (en) 2020-07-17 2020-07-17 A kind of association recommendation method, intelligent device and service device
PCT/CN2021/099448 WO2022012234A1 (en) 2020-07-17 2021-06-10 Associated recommendation method, smart device and service device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010692647.0A CN111914134B (en) 2020-07-17 2020-07-17 A kind of association recommendation method, intelligent device and service device

Publications (2)

Publication Number Publication Date
CN111914134A true CN111914134A (en) 2020-11-10
CN111914134B CN111914134B (en) 2024-11-08

Family

ID=73280536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010692647.0A Active CN111914134B (en) 2020-07-17 2020-07-17 A kind of association recommendation method, intelligent device and service device

Country Status (1)

Country Link
CN (1) CN111914134B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765398A (en) * 2021-01-04 2021-05-07 珠海格力电器股份有限公司 Information recommendation method and device and storage medium
CN112885354A (en) * 2021-01-25 2021-06-01 海信视像科技股份有限公司 Display device, server and display control method based on voice
WO2022012234A1 (en) * 2020-07-17 2022-01-20 海信视像科技股份有限公司 Associated recommendation method, smart device and service device
CN114547320A (en) * 2020-11-25 2022-05-27 奇安信科技集团股份有限公司 Information processing method and device, asset knowledge graph construction method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537065A (en) * 2014-12-29 2015-04-22 北京奇虎科技有限公司 Search result pushing method and system
CN109492077A (en) * 2018-09-29 2019-03-19 北明智通(北京)科技有限公司 The petrochemical field answering method and system of knowledge based map
US20190213185A1 (en) * 2013-07-15 2019-07-11 Capricorn Holdings Pte. Ltd. Predefined semantic queries
CN110659366A (en) * 2019-09-24 2020-01-07 Oppo广东移动通信有限公司 Semantic analysis method and device, electronic equipment and storage medium
KR20200014047A (en) * 2018-07-31 2020-02-10 주식회사 포티투마루 Method, system and computer program for knowledge extension based on triple-semantic
CN110795528A (en) * 2019-09-05 2020-02-14 腾讯科技(深圳)有限公司 Data query method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190213185A1 (en) * 2013-07-15 2019-07-11 Capricorn Holdings Pte. Ltd. Predefined semantic queries
CN104537065A (en) * 2014-12-29 2015-04-22 北京奇虎科技有限公司 Search result pushing method and system
KR20200014047A (en) * 2018-07-31 2020-02-10 주식회사 포티투마루 Method, system and computer program for knowledge extension based on triple-semantic
CN109492077A (en) * 2018-09-29 2019-03-19 北明智通(北京)科技有限公司 The petrochemical field answering method and system of knowledge based map
CN110795528A (en) * 2019-09-05 2020-02-14 腾讯科技(深圳)有限公司 Data query method and device, electronic equipment and storage medium
CN110659366A (en) * 2019-09-24 2020-01-07 Oppo广东移动通信有限公司 Semantic analysis method and device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022012234A1 (en) * 2020-07-17 2022-01-20 海信视像科技股份有限公司 Associated recommendation method, smart device and service device
CN114547320A (en) * 2020-11-25 2022-05-27 奇安信科技集团股份有限公司 Information processing method and device, asset knowledge graph construction method and device
CN112765398A (en) * 2021-01-04 2021-05-07 珠海格力电器股份有限公司 Information recommendation method and device and storage medium
CN112885354A (en) * 2021-01-25 2021-06-01 海信视像科技股份有限公司 Display device, server and display control method based on voice

Also Published As

Publication number Publication date
CN111914134B (en) 2024-11-08

Similar Documents

Publication Publication Date Title
CN110737840B (en) Voice control method and display device
CN111914134B (en) A kind of association recommendation method, intelligent device and service device
CN112000820A (en) Media asset recommendation method and display device
CN111464844A (en) Screen projection display method and display equipment
CN114945102B (en) Display device and method for character recognition and display
WO2021103398A1 (en) Smart television and server
CN111984763B (en) Question answering processing method and intelligent device
CN112004157B (en) Multi-round voice interaction method and display device
WO2022048203A1 (en) Display method and display device for manipulation prompt information of input method control
CN112163086A (en) Multi-intention recognition method and display device
CN111949782B (en) Information recommendation method and service equipment
CN111770370A (en) Display device, server and media asset recommendation method
CN112380420A (en) Searching method and display device
WO2022021669A1 (en) Method for controlling intelligent image mode switching and display device
CN114627864A (en) Display device and voice interaction method
CN111897641B (en) Micro-service monitoring and scheduling method and display device
CN114390329A (en) Display device and image recognition method
CN114339347A (en) Display device and image recognition result display method
CN112053688A (en) Voice interaction method, interaction equipment and server
CN111914114A (en) Badcase mining method and electronic equipment
CN111950288B (en) Entity labeling method in named entity recognition and intelligent device
CN112199560B (en) Search method of setting items and display equipment
CN114554266B (en) Display device and display method
CN111931692A (en) Display device and image recognition method
CN114442989A (en) Natural language analysis method and 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
GR01 Patent grant
GR01 Patent grant