CN111949782A - Information recommendation method and service equipment - Google Patents
Information recommendation method and service equipment Download PDFInfo
- Publication number
- CN111949782A CN111949782A CN202010790355.0A CN202010790355A CN111949782A CN 111949782 A CN111949782 A CN 111949782A CN 202010790355 A CN202010790355 A CN 202010790355A CN 111949782 A CN111949782 A CN 111949782A
- Authority
- CN
- China
- Prior art keywords
- statement
- attribute
- recommendation
- entity
- sentence
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/36—Creation of semantic tools, e.g. ontology or thesauri
- G06F16/367—Ontology
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Animal Behavior & Ethology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides an information recommendation method and service equipment, which are used for generating recommendation sentences for answer entities corresponding to query sentences, so that a user can know the answer entities more comprehensively according to the recommendation sentences. The service device includes: an input interface and a processor; the processor is configured to: when a query statement is received through an input interface, inputting the query statement into a configured question-answering system to obtain a reply statement corresponding to the query statement; finding answer entities associated with the reply sentences in the established knowledge graph; generating a recommendation statement according to the corresponding relation between the configured attribute-attribute values of the answer entity; the recommended sentences comprise N attributes with preset quantity and corresponding attribute values, and N is larger than or equal to 1.
Description
Technical Field
The present application relates to internet technologies, and in particular, to an information recommendation method and a service device.
Background
When receiving an externally input query statement, a service device deployed with a query service on the market at present inputs the query statement into a question-and-answer system for querying, and obtains a reply statement obtained by the question-and-answer system after querying, wherein the reply statement contains information to be queried by the query statement. The question-answering system can be realized by a search engine, a knowledge graph and the like which are deployed in a service device.
However, in practical applications, if only the question-answering system is relied on to query the query statement, the user can only obtain the reply statement of the query statement, but cannot obtain other information related to the information to be queried by the query statement, so that the user cannot comprehensively know the information queried by the query statement from the reply statement.
Disclosure of Invention
The application provides an information recommendation method and service equipment, which are used for generating recommendation sentences for answer entities corresponding to query sentences, so that a user can know the answer entities more comprehensively according to the recommendation sentences.
The technical scheme provided by the application comprises the following steps:
according to a first aspect of the present application, there is provided a service apparatus comprising: an input interface and a processor;
the processor is configured to:
when a query statement is received through the input interface, inputting the query statement into a configured question-answering system to obtain a reply statement corresponding to the query statement;
finding an answer entity associated with the reply sentence in the established knowledge graph;
generating a recommendation statement according to the corresponding relation between the configured attribute-attribute values of the answer entity; the recommendation statement comprises N attributes with preset quantity and corresponding attribute values, wherein N is larger than or equal to 1.
According to a second aspect of the present application, there is provided an information recommendation method including:
when a query statement is received, inputting the query statement to a configured question-answering system to obtain a reply statement corresponding to the query statement;
finding an answer entity associated with the reply sentence in the established knowledge graph;
generating a recommendation statement according to the corresponding relation between the configured attribute-attribute values of the answer entity; the recommendation statement comprises N attributes with preset quantity and corresponding attribute values, wherein N is larger than or equal to 1.
According to the technical scheme, the N attributes and the corresponding attribute values in the recommendation sentences are used for describing the relevant information of the answer entities, so that the user can know the relevant information of the answer entities through the recommendation sentences, the visual field of the user can be expanded, the user can know more knowledge relevant to the answer entities, the user can know the answer entities specifically, the cognitive interest of the user is stimulated, and further search of the answer entities is triggered.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram illustrating an operational scenario between a display device and a control apparatus according to some embodiments;
a block diagram of a hardware configuration of a display device 200 according to some embodiments is illustrated in fig. 2;
a block diagram of the hardware configuration of the control device 100 according to some embodiments is illustrated in fig. 3;
a schematic diagram of a software configuration in a display device 200 according to some embodiments is illustrated in fig. 4;
FIG. 5 illustrates an icon control interface display diagram of an application in the display device 200, according to some embodiments;
FIG. 6 illustrates a schematic diagram of a knowledge-graph, according to some embodiments;
FIG. 7 illustrates a flow diagram of an information recommendation method according to some embodiments;
FIG. 8 illustrates a schematic diagram of a GUI provided by a serving device when displaying a recommendation statement, according to some embodiments;
FIG. 9 illustrates an implementation flow diagram of step 103 according to some embodiments;
FIG. 10 illustrates an implementation flow diagram of step 203 according to some embodiments.
Detailed Description
To make the objects, embodiments and advantages of the present application clearer, the following description of exemplary embodiments of the present application will clearly and completely describe the exemplary embodiments of the present application with reference to the accompanying drawings in the exemplary embodiments of the present application, and it is to be understood that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments described herein without inventive step, are intended to be within the scope of the claims appended hereto. In addition, while the disclosure herein has been presented in terms of one or more exemplary examples, it should be appreciated that aspects of the disclosure may be implemented solely as a complete embodiment.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and are not necessarily intended to limit the order or sequence of any particular one, Unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
Furthermore, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or device that comprises a list of elements is not necessarily limited to those elements explicitly listed, but may include other elements not expressly listed or inherent to such product or device.
The term "module," as used herein, refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
The term "remote control" as used in this application refers to a component of an electronic device (such as the display device disclosed in this application) that is typically wirelessly controllable over a relatively short range of distances. Typically using infrared and/or Radio Frequency (RF) signals and/or bluetooth to connect with the electronic device, and may also include WiFi, wireless USB, bluetooth, motion sensor, etc. For example: the hand-held touch remote controller replaces most of the physical built-in hard keys in the common remote control device with the user interface in the touch screen.
The term "gesture" as used in this application refers to a user's behavior through a change in hand shape or an action such as hand motion to convey a desired idea, action, purpose, or result.
Fig. 1 is a schematic diagram illustrating 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 device 200 through the mobile terminal 300 and the control apparatus 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, etc., and the display device 200 is controlled by wireless or other wired methods. The user may input a user command through a key on a remote controller, voice input, control panel input, etc. to control the display apparatus 200. Such as: the user can input a corresponding control command through a volume up/down key, a channel control key, up/down/left/right moving keys, a voice input key, a menu key, a power on/off key, etc. on the remote controller, to implement the function of controlling the display device 200.
In some embodiments, mobile terminals, tablets, computers, laptops, 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 program running on the smart device. The application, through configuration, may provide the user with various controls in an intuitive User Interface (UI) on a screen associated with the smart device.
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 for the purpose of one-to-one control operation and data communication. Such as: the mobile terminal 300 and the display device 200 can establish a control instruction protocol, synchronize a remote control keyboard to the mobile terminal 300, and control the display device 200 by controlling a user interface on the mobile terminal 300. The audio and video content displayed on the mobile terminal 300 can also be transmitted to the display device 200, so as to realize the synchronous display function.
As also shown in fig. 1, the display apparatus 200 also performs data communication with the server 400 through various communication means. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. Illustratively, the display device 200 receives software program updates, or accesses a remotely stored digital media library, by sending and receiving information, as well as Electronic Program Guide (EPG) interactions. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers. Other web service contents such as video on demand and advertisement services are provided through the server 400.
The display device 200 may include a liquid crystal display, an OLED display, a projection display device. The particular display device type, size, resolution, etc. are not limiting, and those skilled in the art will appreciate that the display device 200 may be modified in performance and configuration as desired.
The display apparatus 200 may additionally provide an intelligent network tv function of a computer support function including, but not limited to, a network tv, an intelligent tv, an Internet Protocol Tv (IPTV), and the like, in addition to the broadcast receiving tv function. A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is exemplarily shown in fig. 2.
In some embodiments, at least one of the controller 250, the tuner demodulator 210, the communicator 220, the detector 230, the input/output interface 255, the display 275, the audio output interface 285, the memory 260, the power supply 290, the user interface 265, and the external device interface 240 is included in the display apparatus 200.
In some embodiments, a display 275 receives image signals originating from the first processor output and displays video content and images and components of the menu manipulation interface.
In some embodiments, the display 275, includes a display screen assembly for presenting a picture, and a driving assembly that drives the display of an image.
In some embodiments, the video content is displayed from broadcast television content, or alternatively, from various broadcast signals that may be received via wired or wireless communication protocols. Alternatively, various image contents received from the network communication protocol and sent from the network server side can be displayed.
In some embodiments, the display 275 is used to present a user-manipulated UI interface generated in the display apparatus 200 and used to control the display apparatus 200.
In some embodiments, a driver assembly for driving the display is also included, depending on the type of display 275.
In some embodiments, display 275 is a projection display and may also include a projection device and a projection screen.
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 near field communication protocol chips, and an infrared receiver.
In some embodiments, the display apparatus 200 may establish control signal and data signal transmission and reception with the external control apparatus 100 or the content providing apparatus through the communicator 220.
In some embodiments, the user interface 265 may be configured to receive infrared control signals from a control device 100 (e.g., an infrared remote control, etc.).
In some embodiments, the detector 230 is a signal used by the display device 200 to collect an external environment or interact with the outside.
In some embodiments, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light, and parameters changes can be adaptively displayed by collecting the ambient light, and the like.
In some embodiments, the detector 230 may further include an image collector, such as a camera, etc., which may be configured to collect external environment scenes, collect attributes of the user or gestures interacted with the user, adaptively change display parameters, and recognize user gestures, so as to implement a function of interaction with the user.
In some embodiments, the detector 230 may also include a temperature sensor or the like, such as by sensing ambient temperature.
In some embodiments, the display apparatus 200 may adaptively adjust a display color temperature of an image. For example, the display apparatus 200 may be adjusted to display a cool tone when the temperature is in a high environment, or the display apparatus 200 may be adjusted to display a warm tone when the temperature is in a low environment.
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. Illustratively, a voice signal including a control instruction of the user to control the display device 200, or to collect an ambient sound for recognizing an ambient scene type, so that the display device 200 can adaptively adapt to an ambient noise.
In some embodiments, as shown in fig. 2, the input/output interface 255 is configured to allow data transfer between the controller 250 and external other devices or other controllers 250. Such as receiving video signal data and audio signal data of an external device, or command instruction data, etc.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: the interface can be any one or more of a high-definition multimedia interface (HDMI), an analog or data high-definition component input interface, a composite video input interface, a USB input interface, an RGB port and the like. The plurality of interfaces may form a composite input/output interface.
In some embodiments, as shown in fig. 2, the tuning demodulator 210 is configured to receive a broadcast television signal through a wired or wireless receiving manner, perform modulation and demodulation processing such as amplification, mixing, resonance, and the like, and demodulate an audio and video signal from a plurality of wireless or wired broadcast television signals, where the audio and video signal may include a television audio and video signal carried in a television channel frequency selected by a user and an EPG data signal.
In some embodiments, the frequency points demodulated by the tuner demodulator 210 are controlled by the controller 250, and the controller 250 can send out control signals according to user selection, so that the modem responds to the television signal frequency selected by the user and modulates and demodulates the television signal carried by the frequency.
In some embodiments, the broadcast television signal may be classified into a terrestrial broadcast signal, a cable broadcast signal, a satellite broadcast signal, an internet broadcast signal, or the like according to the broadcasting system of the television signal. Or may be classified into a digital modulation signal, an analog modulation signal, and the like according to a modulation type. Or the signals are classified into digital signals, analog signals and the like according to the types of the signals.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 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. Therefore, the set top box outputs the television audio and video signals modulated and demodulated by the received broadcast television signals to the main body equipment, and the main body equipment receives the audio and video signals through the first input/output interface.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. 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.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink or an icon. Operations related to the selected object, such as: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon. The user command for selecting the UI object may be a command input through various input means (e.g., a mouse, a keyboard, a touch pad, etc.) connected to the display apparatus 200 or a voice command corresponding to a voice spoken by the user.
As shown in fig. 2, the controller 250 includes at least one of a Random Access Memory 251 (RAM), a Read-Only Memory 252 (ROM), a video processor 270, an audio processor 280, other processors 253 (e.g., a Graphics Processing Unit (GPU), a Central Processing Unit 254 (CPU), a Communication Interface (Communication Interface), and a Communication Bus 256(Bus), which connects the respective components.
In some embodiments, RAM 251 is used to store temporary data for the operating system or other programs that are running
In some embodiments, ROM 252 is used to store instructions for various system boots.
In some embodiments, the ROM 252 is used to store a Basic Input Output System (BIOS). The system is used for completing power-on self-test of the system, initialization of each functional module in the system, a driver of basic input/output of the system and booting an operating system.
In some embodiments, when the power-on signal is received, the display device 200 starts to power up, the CPU executes the system boot 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 start or run the operating system. After the start of the operating system is completed, the CPU copies the temporary data of the various application programs in the memory to the RAM 251, and then, the various application programs are started or run.
In some embodiments, CPU processor 254 is used to execute operating system and application program instructions stored in memory. And executing various application programs, data and contents according to various interactive instructions received from the outside so as to finally display and play various audio and video contents.
In some example embodiments, the CPU processor 254 may comprise a plurality of processors. The plurality of processors may include a main processor and one or more sub-processors. A main processor for performing some operations of the display apparatus 200 in a pre-power-up mode and/or operations of displaying a screen in a normal mode. One or more sub-processors for one operation in a standby mode or the like.
In some embodiments, the graphics processor 253 is used to generate various graphics objects, such as: icons, operation menus, user input instruction display graphics, and the like. The display device comprises an arithmetic unit which carries out operation by receiving various interactive instructions input by a user and displays various objects according to display attributes. And the system comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor 270 is configured to receive an external video signal, and perform video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image synthesis, and the like according to a standard codec protocol of the input signal, so as to obtain a signal that can be displayed or played on the direct display device 200.
In some embodiments, 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.
The demultiplexing module is used for demultiplexing the input audio and video data stream, and if the input MPEG-2 is input, the demultiplexing module demultiplexes the input audio and video data stream into a video signal and an audio signal.
And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like.
And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display.
The frame rate conversion module is configured to convert an input video frame rate, such as a 60Hz frame rate into a 120Hz frame rate or a 240Hz frame rate, and the normal format is implemented in, for example, an interpolation frame mode.
The display format module is used for converting the received video output signal after the frame rate conversion, and changing the signal to conform to the signal of the display format, such as outputting an RGB data signal.
In some embodiments, the graphics processor 253 and the video processor may be integrated or separately configured, and when the graphics processor and the video processor are integrated, the graphics processor and the video processor may perform processing of graphics signals output to the display, and when the graphics processor and the video processor are separately configured, the graphics processor and the video processor may perform different functions, respectively, for example, a GPU + frc (frame Rate conversion) architecture.
In some embodiments, the audio processor 280 is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform noise reduction, digital-to-analog conversion, and amplification processes to obtain an audio signal that can be played in a speaker.
In some embodiments, video processor 270 may comprise one or more chips. The audio processor may also comprise one or more chips.
In some embodiments, the video processor 270 and the audio processor 280 may be separate chips or may be integrated together with the controller in one or more chips.
In some embodiments, the audio output, under the control of controller 250, receives sound signals output by audio processor 280, such as: the speaker 286, and an external sound output terminal of a generating device that can output to an external device, in addition to the speaker carried by the display device 200 itself, such as: external sound interface or earphone interface, etc., and may also include a near field communication module in the communication interface, for example: and the Bluetooth module is used for outputting sound of the Bluetooth loudspeaker.
The power supply 290 supplies power to the display device 200 from the power input from the external power source under the control of the controller 250. The power supply 290 may include a built-in power supply circuit installed inside the display apparatus 200, or may be a power supply interface installed outside the display apparatus 200 to provide an external power supply in the display apparatus 200.
A user interface 265 for receiving an input signal of a user and then transmitting the received user input signal to the controller 250. The user input signal may be a remote controller signal received through an infrared receiver, and various user control signals may be received through the network communication module.
In some embodiments, the user inputs a user command through the control apparatus 100 or the mobile terminal 300, the user input interface responds to the user input through the controller 250 according to the user input, and the display device 200 responds to the user input through the controller 250.
In some embodiments, a user may enter 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 the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
The memory 260 includes a memory storing various software modules for driving the display device 200. Such as: various software modules stored in the first memory, including: at least one of a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules.
The base module is a bottom layer software module for signal communication between various hardware in the display device 200 and for sending processing and control signals to the upper layer module. The detection module is used for collecting various information from various sensors or user input interfaces, and the management module is used for performing digital-to-analog conversion and analysis management.
For example, the voice recognition module comprises a voice analysis module and a voice instruction database module. The display control module is used for controlling the display to display the image content, and can be used for playing the multimedia image content, UI interface and other information. And the communication module is used for carrying out control and data communication with external equipment. And the browser module is used for executing a module for data communication between browsing servers. And the service module is used for providing various services and modules including various application programs. Meanwhile, the memory 260 may store a visual effect map for receiving external data and user data, images of various items in various user interfaces, and a focus object, etc.
Fig. 3 exemplarily shows a block diagram of a configuration of the control apparatus 100 according to an exemplary embodiment. As shown in fig. 3, the control apparatus 100 includes a controller 110, a communication interface 130, a user input/output interface, a memory, and a power supply source.
The control device 100 is configured to control the display device 200 and may receive an input operation instruction of a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200. Such as: the user responds to the channel up and down operation by operating the channel up and down keys on the control device 100.
In some embodiments, the control device 100 may be a smart device. Such as: the control apparatus 100 may install various applications that control the display apparatus 200 according to user demands.
In some embodiments, as shown in fig. 1, a mobile terminal 300 or other intelligent electronic device may function similar to the control device 100 after installing an application that manipulates the display device 200. Such as: the user may implement the functions of controlling the physical keys of the device 100 by installing applications, various function keys or virtual buttons of a graphical user interface available on the mobile terminal 300 or other intelligent electronic device.
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 of the control device 100, as well as the communication cooperation between the internal components and the external and internal data processing functions.
The communication interface 130 enables communication of control signals and data signals with the display apparatus 200 under the control of the controller 110. Such as: the received user input signal is transmitted to the display apparatus 200. The communication interface 130 may include at least one of a WiFi chip 131, a bluetooth module 132, an NFC module 133, and other near field communication modules.
A user input/output interface 140, wherein the input interface includes at least one of a microphone 141, a touch pad 142, a sensor 143, keys 144, and other input interfaces. Such as: the user can realize a user instruction input function through actions such as voice, touch, gesture, pressing, and the like, and the input interface converts the received analog signal into a digital signal and converts the digital signal into a corresponding instruction signal, and sends the instruction signal to the display device 200.
The output interface includes an interface that transmits the received user instruction to the display apparatus 200. In some embodiments, the interface may be an infrared interface or a radio frequency interface. Such as: when the infrared signal interface is used, the user input instruction needs to be converted into an infrared control signal according to an infrared control protocol, and the infrared control signal is sent to the display device 200 through the infrared sending module. The following steps are repeated: when the rf signal interface is used, a user input command needs to be converted into a digital signal, and then the digital signal is modulated according to the rf control signal modulation protocol and then transmitted to the display device 200 through the rf transmitting terminal.
In some embodiments, the control device 100 includes at least one of a communication interface 130 and an input-output interface 140. The control device 100 is provided with a communication interface 130, such as: the WiFi, bluetooth, NFC, etc. modules may transmit the user input command to the display device 200 through the WiFi protocol, or the bluetooth protocol, or the NFC protocol code.
A memory 190 for storing various operation programs, data and applications for driving and controlling the control apparatus 200 under the control of the controller. The memory 190 may store various control signal commands input by a user.
And a power supply 180 for providing operational power support to the various elements of the control device 100 under the control of the controller. A battery and associated control circuitry.
In some embodiments, the system may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
Referring to fig. 4, in some embodiments, the system is divided into four layers, which are an Application (Applications) layer (abbreviated as "Application layer"), an Application Framework (Application Framework) layer (abbreviated as "Framework layer"), an Android runtime (Android runtime) and system library layer (abbreviated as "system runtime library layer"), and a kernel layer from top to bottom.
In some embodiments, at least one application program runs in the application program layer, and the application programs can be Window (Window) programs carried by an operating system, system setting programs, clock programs, camera applications and the like; or may be an application developed by a third party developer such as a hi program, a karaoke program, a magic mirror program, or the like. In specific implementation, the application packages in the application layer are not limited to the above examples, and may actually include other application packages, which is not limited in this embodiment of the present application.
The framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. The application framework layer acts as a processing center that decides to let the applications in the application layer act. The application program can access the resource in the system and obtain the service of the system in execution through the API interface
As shown in fig. 4, in the embodiment of the present application, the application framework layer includes a manager (Managers), a Content Provider (Content Provider), and the like, where the manager includes at least one of the following modules: an Activity Manager (Activity Manager) is used for interacting with all activities running in the system; the Location Manager (Location Manager) is used for providing the system service or application with the access of the system Location service; a Package Manager (Package Manager) for retrieving various information related to an application Package currently installed on the device; a Notification Manager (Notification Manager) for controlling display and clearing of Notification messages; a Window Manager (Window Manager) is used to manage the icons, windows, toolbars, wallpapers, and desktop components on a user interface.
In some embodiments, the activity manager is to: managing the life cycle of each application program and the general navigation backspacing function, such as controlling the exit of the application program (including switching the user interface currently displayed in the display window to the system desktop), opening, backing (including switching the user interface currently displayed in the display window to the previous user interface of the user interface currently displayed), and the like.
In some embodiments, the window manager is configured to manage all window processes, such as obtaining a display size, determining whether a status bar is available, locking a screen, intercepting a screen, controlling a display change (e.g., zooming out, dithering, distorting, etc.) and the like.
In some embodiments, the system runtime layer provides support for the upper layer, i.e., the framework layer, and when the framework layer is used, the android operating system runs the C/C + + library included in the system runtime layer to implement the functions to be implemented by the framework layer.
In some embodiments, the kernel layer is a layer between hardware and software. As shown in fig. 4, the core layer includes at least one of the following drivers: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (such as fingerprint sensor, temperature sensor, touch sensor, pressure sensor, etc.), and so on.
In some embodiments, the kernel layer further comprises a power driver module for power management.
In some embodiments, software programs and/or modules corresponding to the software architecture of fig. 4 are stored in the first memory or the second memory shown in fig. 2 or 3.
In some embodiments, taking the magic mirror application (photographing application) as an example, when the remote control receiving device receives a remote control input operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the input operation into an original input event (including information such as a value of the input operation, a timestamp of the input operation, etc.). The raw input events are stored at the kernel layer. The application program framework layer obtains an original input event from the kernel layer, identifies a control corresponding to the input event according to the current position of the focus and uses the input operation as a confirmation operation, the control corresponding to the confirmation operation is a control of a magic mirror application icon, the magic mirror application calls an interface of the application framework layer to start the magic mirror application, and then the kernel layer is called to start a camera driver, so that a static image or a video is captured 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) that a user acts on a display screen, and the kernel layer may generate a corresponding input event according to the input operation and report the event to the application framework layer. The window mode (such as multi-window mode) corresponding to the input operation, the position and size of the window and the like are set by an activity manager of the application framework layer. And the window management of the application program framework layer draws a window according to the setting of the activity manager, 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.
In some embodiments, as shown in fig. 5, the application layer containing at least one application may display a corresponding icon control in the display, such as: the system comprises a live television application icon control, a video on demand application icon control, a media center application icon control, an application center icon control, a game application icon control and the like.
In some embodiments, the live television application may provide live television via different signal sources. For example, a live television application may provide television signals using input from cable television, radio broadcasts, satellite services, or other types of live television services. And, the live television application may display video of the live television signal on the display device 200.
In some embodiments, a video-on-demand application may provide video from different storage sources. Unlike live television applications, video on demand provides a video display from some storage source. For example, the video on demand may come from a server side of the cloud storage, from a local hard disk storage containing stored video programs.
In some embodiments, the media center application may provide various applications for multimedia content playback. For example, a media center, which may be other than live television or video on demand, may provide services that a user may access to various images or audio through a media center application.
In some embodiments, an application center may provide storage for various applications. The application may be a game, an application, or some other application associated with a computer system or other device that may be run on the smart television. The application center may obtain these applications from different sources, store them in local storage, and then be operable on the display device 200.
In order to make the description of the present application clearer and more concise, some technical terms in the present application are explained below:
1. knowledge graph: the method is also called scientific knowledge map, uses visualization technology to describe knowledge resources and carriers thereof, and excavates, analyzes, constructs, draws and displays knowledge and the mutual connection between the knowledge resources and the carriers.
FIG. 6 illustrates a schematic diagram of a knowledge-graph according to some embodiments. As shown in fig. 6, in the knowledge-graph, a node is referred to as an entity, and the entity can be replaced by things which exist objectively and can be distinguished from each other, such as concrete people, things, mechanisms, abstract concepts, and the like.
For the entities in the knowledge graph, the corresponding relationship between the attribute values and the attributes corresponding to the entities can be configured according to actual requirements during specific implementation. Taking the entity "Liu somebody" in FIG. 6 as an example, the pre-configured attributes of the entity may be: occupation, height, gender, etc., and correspondingly, the attribute values may be: specific occupation type (for example driver), specific height value (for example 180 cm), specific gender (for example male).
In addition, different entities in the knowledge-graph can be connected by connecting lines with directions. The join line may be used to represent a semantic relationship between different entities. Taking the example of the entity "a certain Liu" and the entity "a certain Zhao" in FIG. 6, the connection line between the entity "a certain Liu" and the entity "a certain Zhao" indicates that the entity "a certain Zhao" points to the entity "a certain Zhao", and if the semantic relationship corresponding to the connection line is a wife relationship, the connection line can indicate that the wife of the entity "a certain Liu" is the entity "a certain Zhao".
The knowledge-graph is briefly described above.
As described above, the service apparatus includes: an input interface and a processor. In this embodiment, the processor is configured to: when a query statement is received through an input interface, inputting the query statement into a configured question-answering system to obtain a reply statement corresponding to the query statement; finding answer entities associated with the reply sentences in the established knowledge graph; generating a recommendation statement according to the corresponding relation between the configured attribute-attribute values of the answer entity; the recommendation statement comprises N attributes with preset quantity and corresponding attribute values, wherein N is larger than or equal to 1.
Correspondingly, the embodiment also provides a method for realizing the corresponding operation of the processor. Please refer to fig. 7, which is a flowchart illustrating an information recommendation method according to an embodiment of the present application.
As shown in fig. 7, the process may include the following steps:
step 101, when receiving a query statement, inputting the query statement to a configured question-answering system to obtain a reply statement corresponding to the query statement.
In one example, a query statement may be input by the smart device to the present service device. That is, the service device and the smart device are two independent devices, and in this case, the service device may be a server. In another example, the query statement may be directly input to the service device by the user, or may be input to the service device by the user operating a control device of the service device. That is, the service device and the aforementioned smart device can be understood as one device.
It should be noted that the query statement received by the service device may be a query statement in a voice format or a query statement in a text format.
It should be further noted that the intelligent device may be a smart speaker, a smart television, a mobile phone, a computer, or the foregoing display device, and the specific type of the intelligent device is not limited in this application.
As an example, the query statement may be input to the service device through an input interface on the service device.
As one example, since the specific content of the query sentence is decided by the user's intention, the specific content of the query sentence is various. However, in practical applications, the service device cannot generate a corresponding recommendation statement for any query statement, and therefore, it is necessary to set a recommendation condition in advance to determine whether a recommendation statement can be generated for a received query statement, and generate a recommendation statement for the received query statement when the received query statement satisfies the recommendation condition.
Optionally, the preset recommendation condition may include: the query statement at least comprises a main entity and a semantic relationship between the main entity and an answer entity to be queried, and the semantic relationship is the same as a preset semantic relationship.
The following examples illustrate the main entity in the query statement and the semantic relationship between the main entity and the answer entity to be queried:
for example, when a query statement includes people and people relationships, the people in the query statement may be the main entities and the people relationships may be the semantic relationships. For example, suppose the query sentence is "who is the wife of yao? "then the main entity in the query statement is" Yaoji ", and the semantic relationship between the main entity" Yaoji "and the answer entity to be queried is" wife ".
Of course, the main entity and semantic relationship in the query sentence may be, in addition to the above-mentioned exemplary relationship between characters and characters, region and position (such as province, city leader, etc.), movie works and work information (such as actor, director, drama, producer, host, etc.), song and song information (such as singer, writer, MV director, producer, composer, etc.), country and director/country leader (such as president, minor president, tenghur, etc.), book and book information (author, translator, main edition, etc.), school and school information (leader, famous alumni, etc.), etc., and the present application does not limit the main entity and semantic relationship specifically included in the query sentence.
It should be noted that the semantic relationship in the preset recommendation condition may be set according to an actual situation, and the semantic relationship in the recommendation condition is not specifically limited in the present application.
When the service equipment receives the query statement and judges that the query statement meets the preset recommendation condition, the service equipment inputs the query statement into the configured question-answering system so that the question-answering system outputs a reply statement corresponding to the query statement. In one example, the answer entity queried by the query statement may be included in the reply statement. In another example, the reply statement may carry an answer entity ID (entity ID is described below) of the answer entity queried by the query statement. Of course, the reply sentence may also include other information according to the actual situation, such as the main entity in the query sentence and the semantic relationship between the main entity in the query sentence and the answer entity to be queried, and the content that can be included in the reply sentence is not specifically limited in the present application.
It should be noted that the above-mentioned question-answering system may be deployed in a service device, so that the service device may locally implement inputting a query statement into the question-answering system, and locally obtain a reply statement output by the question-answering system. Of course, the above-mentioned question-answering system may be deployed in other devices (referred to as target devices) besides the service device, so that the service device needs to input the query sentence into the question-answering system and obtain the reply sentence output by the question-answering system through the communication connection with the target device.
It should be further noted that the above-mentioned question-answering system can be implemented in various ways. For example, the question-answering system is implemented by a search engine, or the question-answering system is implemented by a knowledge graph, and the like, and the specific implementation manner of the question-answering system is not limited in the application.
Step 102, finding the answer entity associated with the reply sentence in the established knowledge graph.
Before this step 102 is performed, a knowledge-graph needs to be pre-established in the service device, and the knowledge-graph can be established by referring to the establishing method known to those skilled in the art, and will not be described herein. Since there may be different entities in the knowledge-graph having the same entity name, to achieve differentiation between the aforementioned different entities having the same entity name, each entity in the knowledge-graph may be assigned a unique entity ID.
In the embodiment of the present application, there are various implementations of finding the answer entity associated with the reply sentence in the established knowledge graph. As one implementation manner, as described above, in the case that the reply statement carries the answer entity ID of the answer entity, an entity matching the answer entity ID may be searched in the established knowledge graph, and the searched entity is determined as the answer entity. In this implementation manner, since the answer entity ID can uniquely identify the answer entity, even if there are a plurality of other entities having the same entity name as the answer entity, the answer entity can be accurately searched.
103, generating a recommendation statement according to the corresponding relation between the configured attribute and attribute value of the answer entity; the recommended sentences comprise N attributes with preset quantity and corresponding attribute values, and N is larger than or equal to 1.
Before the step 103 is executed, the answer entity in the knowledge graph is configured with the attribute-attribute value correspondence in advance, and the attribute-attribute value correspondence may be used to describe the relevant information of the answer entity. Some attributes for configuring an entity are listed below in a tabular manner, for example, see table 1:
TABLE 1
First level attribute categories | Second level attribute categories | Third level attribute categories | Properties |
Character | General purpose | Relationships between people | Friend's day |
Character | General purpose | Relationships between people | The former ren |
Character | General purpose | Relationships between people | Son (son) |
Character | General purpose | Relationships between people | Mother |
Character | General purpose | Relationships between people | Good friends |
Character | General purpose | Relationships between people | Daughter' s |
Character | General purpose | Relationships between people | Wife (wife) |
Character | General purpose | Relationships between people | Husband |
Character | General purpose | Relationships between people | Father and father |
Character | General purpose | Relationships between people | First love |
Character | General purpose | Character attributes | Constellation |
Character | General purpose | Character attributes | Native place |
Character | General purpose | Character attributes | Height of a person |
Character | General purpose | Character attributes | Dried rehmannia root |
Character | General purpose | Character attributes | Occupation of the world |
Character | General purpose | Character attributes | Date of birth |
Character | General purpose | Character attributes | Representative works |
Character | General purpose | Character attributes | The main achievement |
Character | Entertainment figure | Name of art | |
Character | Entertainment figure | Actor(s) | Decorating performance |
Character | Entertainment figure | Vermicelli name | |
Character | Entertainment figure | Nickname | |
Character | Entertainment figure | Brokerage firm | |
Character | Entertainment figure | Three-dimensional | |
Character | Entertainment figure | Time of departure | |
Character | Sports figure | State of the country | |
Character | Sports figure | Sports item | |
Character | Sports figure | Athletes | Coach |
Character | Sports figure | Athletes | The sports team |
Character | Sports figure | Athletes | Position on field |
Character | Sports figure | Athletes | Number on site |
Character | Sports figure | Athletes | Conventional foot |
The third example of the behavior in table 1 is described, in which "predecessor" is an attribute, and the attribute of "predecessor" is under the third-level attribute category "person relationship", the third-level attribute category "person relationship" is under the second-level attribute category "general", and the second-level attribute category "general" is under the second-level attribute category "person". What the attribute value corresponding to the attribute of "predecessor" is specifically is may be set according to the actual situation, and this is not specifically limited in this application.
It should be noted that the first-level, second-level, and third-level attribute categories in table 1 are used to classify different attributes, so as to facilitate management and planning of different attributes, and are not necessary in the process of configuring attributes for an entity.
It should be further noted that the attributes listed in table 1 are only examples, and other attributes may be configured for the entity according to actual situations in practical applications, which is not specifically limited in this application.
In the embodiment of the present application, the N attributes and the corresponding attribute values included in the recommendation statement are the attributes and the attribute values included in the correspondence between the attribute values and the attribute values configured in advance by the answer entity. As to how to generate the recommendation statement including the N attributes and the corresponding attribute values, the following will be described in detail with reference to the flow shown in fig. 9, and details are not repeated here.
As can be seen from step 103, since the attributes and the corresponding attribute values record the relevant information of the answer entity, and the generated recommended sentence includes the preset number N of attributes and the corresponding attribute values, the relevant information of the answer entity corresponding to the query sentence can be known through the recommended sentence, so that the visual field of the user can be expanded, the user can be helped to know more knowledge related to the answer entity, the user can have specific knowledge about the answer entity, the cognitive interest of the user is stimulated, and further search for the answer entity is triggered.
In the embodiment of the application, there are various implementation manners for the service device to output the recommendation statement.
As one implementation manner, as described above, when the service device and the smart device are not the same device, the service device may send the recommended sentence and the reply sentence to the smart device, and the smart device outputs the received recommended sentence and the received reply sentence, for example, by way of voice playing, or by way of display on a display if the smart device is provided with the display.
As another implementation manner, as described above, when the service device and the smart device are the same device, the service device may output in a voice playing manner, or in a case where the service device and the smart device are provided with a display, output in a display manner.
The following will describe in detail how the display displays the recommended sentence in conjunction with the GUI shown in fig. 8, and details are not described here for the moment.
The flow shown in fig. 7 is completed.
According to the technical scheme, the N attributes and the corresponding attribute values in the recommendation sentences are used for describing the relevant information of the answer entities, so that the user can know the relevant information of the answer entities through the recommendation sentences, the visual field of the user can be expanded, the user can know more knowledge relevant to the answer entities, the user can know the answer entities specifically, the cognitive interest of the user is stimulated, and further search of the answer entities is triggered.
How the above display displays the recommended sentence is described below by way of example with reference to the GUI shown in fig. 8:
fig. 8 is a schematic diagram illustrating a GUI provided by the service apparatus when displaying the recommendation sentence. As shown in fig. 8, the service apparatus may provide a GUI800 to the display, the GUI800 including a first display area 81 for displaying the query sentence therein, the first display area 81 including an item 81a for displaying the query sentence therein. The GUI800 further includes a second display area 82 for displaying the reply sentence and a third display area 83 for displaying the recommended sentence, wherein the second display area 82 includes an item 82a, and the item 82a is used for displaying the reply sentence; the third display area 83 includes an item 83a, and the item 83a is used to display a recommended sentence.
It should be noted that fig. 8 is a schematic diagram illustrating only one GUI for displaying recommended sentences. In practical application, other contents besides the query statement, the reply statement and the recommendation statement may also be displayed according to practical situations, which is not specifically limited in the present application.
How the service apparatus displays the recommendation sentence is described above. It should be noted that the above description is only exemplary and not intended to limit the present application.
How to generate a recommendation statement according to the configured attribute-attribute value correspondence relationship of the answer entity in the above step 103 is described in detail as follows:
please refer to fig. 9, which is a flowchart illustrating the implementation of step 103 according to an embodiment of the present disclosure.
As shown in fig. 9, the process may include the following steps:
step 201, selecting N attributes and corresponding attribute values from the configured attribute-attribute value correspondence of the answer entity.
As an example, in this step 201, there are multiple implementations of selecting N attributes and corresponding attribute values from all attribute-attribute value correspondences configured in the knowledge graph for the answer entity.
As one implementation manner, a selection ratio, such as 10%, 20%, etc., may be preset, and the preset selection ratio is not specifically limited in the present application. Based on this, when selecting N attributes and corresponding attribute values, the N attributes and corresponding attribute values may be selected from the corresponding relationships between the attribute-attribute values configured for the answer entity according to the preset selection ratio, so as to select the attribute with the preset selection ratio and the corresponding attribute value.
As another implementation manner, a selection number, such as 2, 4, etc., may be preset, and the preset selection number is not specifically limited in the present application. Based on this, when selecting N attributes and corresponding attribute values, the answer entity may select from the configured attribute-attribute value correspondence relationships according to the preset number of choices to select the attributes and corresponding attribute values of the preset number of choices.
Step 202, judging whether the attribute values selected from the attribute values have the same attribute value as the main entity in the query statement or the reply statement; if yes, returning to step 201; if not, go to step 203.
In the embodiment of the present application, the reason why the selected attribute value is determined to determine whether the attribute value is consistent with the main entity in the query statement or the reply statement is that: among the attribute values configured for the answer entity in advance, there may exist an attribute value that is the same as the main entity in the query statement or the reply statement. For example, the query sentence is "who is the singer of song a? "the answer sentence corresponding to the query sentence is" the singer of song a is a joker ", and the attribute" represented as "the corresponding attribute value is" song a "is configured for the answer entity corresponding to the joker" in the knowledge base. Thus, if the attribute value of "song a" and the attribute "action representative" corresponding to the attribute value are selected to generate a recommendation sentence, the recommendation sentence may include "song a" as a certain representative, and the meaning of the recommendation sentence is similar to that of the reply sentence, so that the recommendation effect that the recommendation sentence should have cannot be achieved. Therefore, by judging each selected attribute value, useless information can be prevented from being recommended to the user by a subsequently generated recommendation statement.
Step 203, inputting each attribute and the corresponding attribute value into the set recommended sentence generation model to obtain the recommended sentence.
This step 203 is performed on the premise that each selected attribute value is different from the main entity in the reply statement or the query statement.
When each selected attribute value is different from the main entity in the reply statement or the query statement, it indicates that each attribute value in the subsequently generated recommendation statement is different from the main entity, and thus a recommendation statement with a similar meaning to that of the reply statement cannot be generated. Based on the above, each selected attribute and the corresponding attribute value can be input into a preset recommended sentence generation model to obtain a recommended sentence. In the following, with reference to the flow shown in fig. 10, a detailed description is given to how the recommendation statement generation model in step 203 obtains a recommendation statement, which is not repeated herein. How the recommended sentence generation model in step 203 obtains the recommended sentence is described in detail below:
referring to fig. 10, fig. 10 is a flowchart illustrating an implementation of step 203 according to an embodiment of the present application.
As shown in fig. 10, the process may include:
step 301, for each input attribute and corresponding attribute value, finding a corresponding target statement template in a set statement template, correspondingly filling the attribute and the attribute value to a filling position of the target statement template, and generating a corresponding recommended sub-statement according to the filled attribute and attribute value in the target statement template.
As an example, in step 301, at least one statement template may be preset in the statement creation model, and these statement templates may be statement templates of the same category or may be statement templates of different categories.
When the statement generating model only comprises a statement template of a type (denoted as a statement template of a first type), the statement template of the first type at least comprises: a fill location for filling in the property (denoted as a first fill location), a fill location for filling in the property value (denoted as a second fill location), and a conjunction word connecting the first fill location and the second fill location. For example, the statement template may be "[ attribute ] is [ attribute value ]", where "[ attribute ]" is a first fill location for filling the attribute, "[ attribute value ]" is a second fill location for filling the attribute value, and "is a conjunction word connecting the first fill location and the second fill location.
Optionally, when the statement generation model includes only one type of statement template, and the statement generation model generates a recommended sub-statement for each input attribute and the corresponding attribute value, the method may include:
and selecting a target statement template from the set first-class statement templates according to each attribute and the corresponding attribute value. And then correspondingly filling the attribute to a first filling position in the target statement template, and correspondingly filling the attribute value to a second filling position in the target statement template. And finally, setting corresponding punctuation marks for the target statement template filled with the attributes and the attribute values to generate a corresponding recommended sub-statement. For example, assume that the attribute is height and the corresponding attribute value is 180 cm. Taking the target sentence template as "[ attribute ] is [ attribute value ]" as an example, after the target sentence template is filled with the assumed height and 180cm corresponding to the height, the target sentence template filled with the attribute and the corresponding attribute value, such as "height is 180 cm", can be obtained. Then, adding corresponding punctuation marks such as 'for' the target statement template filled with the attributes and the corresponding attribute values; ", the height of the obtained product is 180 cm; "such a recommendation sub-sentence.
When the statement generating model includes at least two types of statement templates, a first type of statement template and a second type of statement template, where the first type of statement template is the same as the first type of statement template in the foregoing implementation manner, which is not described herein again. The second type statement template is different from the first type statement template, and the second type statement template at least comprises: a fill position for filling the answer entity (denoted as a fifth fill position), a fill position for filling the attribute (denoted as a third fill position), a fill position for filling the attribute value (denoted as a fourth fill position), a first conjunction connecting the third fill position and the fourth fill position, and a second conjunction connecting the fifth fill position and the third fill position. For example, the second type sentence template may be "[ attribute ] of the [ answer entity ] is [ attribute value ]", where "[ answer entity ]" is a fifth filling position for filling the name of the answer entity, "[ attribute ]" is a third filling position for filling the attribute, "[ attribute value ]" is a fourth filling position for filling the value of the attribute, "is" a first conjunction word connecting the third filling position and the fourth filling position, "and" is a second conjunction word connecting the fifth filling position and the third filling position.
Optionally, when the statement generation model includes two types of statement templates, and the statement generation model generates a recommended sub-statement for each input attribute and the corresponding attribute value, the method may include: and selecting one attribute and the corresponding attribute value from the input attributes and the corresponding attribute values as the first attribute and the attribute value. And selecting a target statement template (marked as a first target statement template) from the second type statement templates, filling the first attribute and the attribute value into the first target statement template, and adding punctuation marks to obtain a recommended sub-statement corresponding to the first attribute and the attribute value. And aiming at each of the rest attributes and the corresponding attribute values, selecting a target statement template (marked as a second target statement template) from the first type statement templates, filling the attribute and the corresponding attribute values into the second target statement template, and adding punctuation marks to obtain recommended sub-statements corresponding to the attribute and the corresponding attribute values.
It should be noted that the sentence template may further include other information according to an actual situation, and the connection words in the sentence template and the punctuation marks set for the sentence template may also be selected according to the actual situation, which is not limited in the present application.
And step 302, splicing the attributes and the recommendation sub-sentences corresponding to the corresponding attribute values to obtain recommendation sentences.
In this step 302, there are various implementation ways to splice the recommended sub-sentences into the recommended sentences.
As one implementation manner, if the recommendation sub-sentences corresponding to the input attributes and the corresponding attribute values are generated according to the first-type sentence template, then the recommendation sub-sentences may be directly spliced. For example, the matching may be performed in a random manner, in an order in which the attributes and the corresponding attribute values are input into the recommended sentence generation model, or the like, and the matching manner of the recommended sub-sentences is not specifically limited in the present application.
As another implementation manner, if there is a recommendation sub-sentence (denoted as a first recommendation sub-sentence) generated according to the second-type sentence template in the recommendation sub-sentences corresponding to the input attributes and the corresponding attribute values, the first recommendation sub-sentence needs to be used as the first recommendation sub-sentence in the recommendation sentence. And splicing the rest recommendation sub-sentences except the first recommendation sub-sentence behind the first recommendation sub-sentence to generate a recommendation sentence. In the process of splicing the rest recommended sub-sentences after the first recommended sub-sentence, splicing can be performed in a random mode, according to the sequence of inputting the attributes and the corresponding attribute values into the recommended sentence generation model, and the like, and the splicing mode of the rest recommended sub-sentences is not specifically limited in the application.
How the recommendation statement generation model obtains the recommendation statement in step 203 is described in detail above. It should be noted that the above description is only exemplary and not intended to limit the present application.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.
Claims (14)
1. A service device, comprising: an input interface and a processor;
the processor is configured to:
when a query statement is received through the input interface, inputting the query statement into a configured question-answering system to obtain a reply statement corresponding to the query statement;
finding an answer entity associated with the reply sentence in the established knowledge graph;
generating a recommendation statement according to the corresponding relation between the configured attribute-attribute values of the answer entity; the recommendation statement comprises N attributes with preset quantity and corresponding attribute values, wherein N is larger than or equal to 1.
2. The service apparatus according to claim 1, wherein the correspondence between attribute-attribute values configured by the answer entity includes: and the corresponding relation between the N attributes and the corresponding attribute values.
3. The service apparatus according to claim 1,
the processor is configured to output the recommended sentence by voice; or,
the processor is configured to display the recommended sentence through a display.
4. The service apparatus according to claim 1, wherein the reply sentence carries an answer entity ID;
the answer entity associated with the reply sentence includes: and the answer entity corresponding to the ID of the answer entity in the established knowledge graph.
5. The service apparatus according to claim 1, wherein the generating of the recommendation sentence includes:
and inputting the N attributes and the corresponding attribute values into a set recommended sentence generation model to obtain the recommended sentence.
6. The service apparatus according to claim 5, wherein the recommendation statement generation model obtains the recommendation statement by:
for each input attribute and the corresponding attribute value, finding the corresponding target statement template in the set statement template, correspondingly filling the attribute and the attribute value to the filling position of the target statement template, and generating a corresponding recommended sub-statement according to the filled attribute and attribute value in the target statement template;
and splicing the attributes and the recommendation sub-sentences corresponding to the corresponding attribute values to obtain the recommendation sentences.
7. Service device according to claim 1, 5 or 6, characterized in that said reply sentence comprises at least: a main entity, a semantic relationship between the main entity and the answer entity, and the answer entity;
and the attribute values corresponding to the N attributes in the recommended sentence are different from the main entity.
8. An information recommendation method, comprising:
when a query statement is received, inputting the query statement to a configured question-answering system to obtain a reply statement corresponding to the query statement;
finding an answer entity associated with the reply sentence in the established knowledge graph;
generating a recommendation statement according to the corresponding relation between the configured attribute-attribute values of the answer entity; the recommendation statement comprises N attributes with preset quantity and corresponding attribute values, wherein N is larger than or equal to 1.
9. The method of claim 8, wherein the configured attribute-attribute value correspondence of the answer entity comprises: and the corresponding relation between the N attributes and the corresponding attribute values.
10. The method of claim 8,
outputting the recommended sentences through voice; or,
and displaying the recommended sentence through a display.
11. The method of claim 8, wherein the reply sentence carries an answer entity ID;
the answer entity associated with the reply sentence includes: and the answer entity corresponding to the ID of the answer entity in the established knowledge graph.
12. The method of claim 8, wherein generating the recommendation statement comprises:
and inputting the N attributes and the corresponding attribute values into a set recommended sentence generation model to obtain the recommended sentence.
13. The method of claim 12, wherein the recommendation statement generation model obtains the recommendation statement by:
for each input attribute and the corresponding attribute value, finding the corresponding target statement template in the set statement template, correspondingly filling the attribute and the attribute value to the filling position of the target statement template, and generating a corresponding recommended sub-statement according to the filled attribute and attribute value in the target statement template;
and splicing the attributes and the recommendation sub-sentences corresponding to the corresponding attribute values to obtain the recommendation sentences.
14. The method of claim 8, 12 or 13, wherein the query statement comprises at least: a primary entity, a semantic relationship between the primary entity and the answer entity;
and the attribute values corresponding to the N attributes in the recommended sentence are different from the main entity.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010790355.0A CN111949782B (en) | 2020-08-07 | 2020-08-07 | Information recommendation method and service equipment |
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 |
---|---|---|---|
CN202010790355.0A CN111949782B (en) | 2020-08-07 | 2020-08-07 | Information recommendation method and service equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111949782A true CN111949782A (en) | 2020-11-17 |
CN111949782B CN111949782B (en) | 2024-10-22 |
Family
ID=73332054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010790355.0A Active CN111949782B (en) | 2020-07-17 | 2020-08-07 | Information recommendation method and service equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111949782B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113038217A (en) * | 2021-03-19 | 2021-06-25 | 海信电子科技(武汉)有限公司 | Display device, server and response language generation method |
CN113079400A (en) * | 2021-03-25 | 2021-07-06 | 海信视像科技股份有限公司 | Display device, server and voice interaction method |
CN113938755A (en) * | 2021-09-18 | 2022-01-14 | 海信视像科技股份有限公司 | Server, terminal equipment and resource recommendation method |
WO2022012234A1 (en) * | 2020-07-17 | 2022-01-20 | 海信视像科技股份有限公司 | Associated recommendation method, smart device and service device |
WO2022193735A1 (en) * | 2021-03-18 | 2022-09-22 | 海信视像科技股份有限公司 | Display device and voice interaction method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108268580A (en) * | 2017-07-14 | 2018-07-10 | 广东神马搜索科技有限公司 | The answering method and device of knowledge based collection of illustrative plates |
CN109308321A (en) * | 2018-11-27 | 2019-02-05 | 烟台中科网络技术研究所 | A knowledge question answering method, knowledge question answering system and computer readable storage medium |
CN109815320A (en) * | 2018-12-26 | 2019-05-28 | 出门问问信息科技有限公司 | Answer generation method, device, equipment and the storage medium of question answering system |
KR20200014047A (en) * | 2018-07-31 | 2020-02-10 | 주식회사 포티투마루 | Method, system and computer program for knowledge extension based on triple-semantic |
CN110888988A (en) * | 2018-08-17 | 2020-03-17 | 北京搜狗科技发展有限公司 | Method, device and equipment for generating question and answer information |
CN110990527A (en) * | 2019-11-26 | 2020-04-10 | 泰康保险集团股份有限公司 | Automatic question answering method and device, storage medium and electronic equipment |
CN111339246A (en) * | 2020-02-10 | 2020-06-26 | 腾讯云计算(北京)有限责任公司 | Query statement template generation method, device, equipment and medium |
-
2020
- 2020-08-07 CN CN202010790355.0A patent/CN111949782B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108268580A (en) * | 2017-07-14 | 2018-07-10 | 广东神马搜索科技有限公司 | The answering method and device of knowledge based collection of illustrative plates |
KR20200014047A (en) * | 2018-07-31 | 2020-02-10 | 주식회사 포티투마루 | Method, system and computer program for knowledge extension based on triple-semantic |
CN110888988A (en) * | 2018-08-17 | 2020-03-17 | 北京搜狗科技发展有限公司 | Method, device and equipment for generating question and answer information |
CN109308321A (en) * | 2018-11-27 | 2019-02-05 | 烟台中科网络技术研究所 | A knowledge question answering method, knowledge question answering system and computer readable storage medium |
CN109815320A (en) * | 2018-12-26 | 2019-05-28 | 出门问问信息科技有限公司 | Answer generation method, device, equipment and the storage medium of question answering system |
CN110990527A (en) * | 2019-11-26 | 2020-04-10 | 泰康保险集团股份有限公司 | Automatic question answering method and device, storage medium and electronic equipment |
CN111339246A (en) * | 2020-02-10 | 2020-06-26 | 腾讯云计算(北京)有限责任公司 | Query statement template generation method, device, equipment and medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022012234A1 (en) * | 2020-07-17 | 2022-01-20 | 海信视像科技股份有限公司 | Associated recommendation method, smart device and service device |
WO2022193735A1 (en) * | 2021-03-18 | 2022-09-22 | 海信视像科技股份有限公司 | Display device and voice interaction method |
CN113038217A (en) * | 2021-03-19 | 2021-06-25 | 海信电子科技(武汉)有限公司 | Display device, server and response language generation method |
CN113079400A (en) * | 2021-03-25 | 2021-07-06 | 海信视像科技股份有限公司 | Display device, server and voice interaction method |
CN113938755A (en) * | 2021-09-18 | 2022-01-14 | 海信视像科技股份有限公司 | Server, terminal equipment and resource recommendation method |
Also Published As
Publication number | Publication date |
---|---|
CN111949782B (en) | 2024-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11425466B2 (en) | Data transmission method and device | |
CN111752518A (en) | Screen projection method of display equipment and display equipment | |
CN111949782B (en) | Information recommendation method and service equipment | |
CN114945102B (en) | Display device and method for character recognition and display | |
CN112004157B (en) | Multi-round voice interaction method and display device | |
CN111897478A (en) | Page display method and display equipment | |
CN112055240B (en) | Display device and operation prompt display method for pairing display device with remote controller | |
CN111836083B (en) | Display device and screen sounding method | |
CN111770370A (en) | Display device, server and media asset recommendation method | |
CN112165641A (en) | Display device | |
CN114079819A (en) | A content display method and display device | |
CN111885400A (en) | Media data display method, server and display equipment | |
CN112380420A (en) | Searching method and display device | |
CN111669662A (en) | Display device, video call method and server | |
CN111954059A (en) | Screen saver display method and display device | |
CN112073787B (en) | Display device and home page display method | |
CN111984167B (en) | Quick naming method and display device | |
CN114554266B (en) | Display device and display method | |
CN112199560B (en) | Search method of setting items and display equipment | |
CN111857936B (en) | User interface display method and display device of application program | |
CN112118476B (en) | Method for rapidly displaying program reservation icon and display equipment | |
CN113438528A (en) | Method for realizing combined key and display equipment | |
CN112367550A (en) | Method for realizing multi-title dynamic display of media asset list and display equipment | |
CN111931692A (en) | Display device and image recognition method | |
CN114390190A (en) | Display equipment and method for monitoring application to start camera |
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 |