WO2019196527A1 - Data processing method, apparatus and electronic device - Google Patents

Data processing method, apparatus and electronic device Download PDF

Info

Publication number
WO2019196527A1
WO2019196527A1 PCT/CN2019/071009 CN2019071009W WO2019196527A1 WO 2019196527 A1 WO2019196527 A1 WO 2019196527A1 CN 2019071009 W CN2019071009 W CN 2019071009W WO 2019196527 A1 WO2019196527 A1 WO 2019196527A1
Authority
WO
WIPO (PCT)
Prior art keywords
type
keyword
information
name
keywords
Prior art date
Application number
PCT/CN2019/071009
Other languages
French (fr)
Chinese (zh)
Inventor
涂畅
周伟浩
Original Assignee
北京搜狗科技发展有限公司
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 北京搜狗科技发展有限公司 filed Critical 北京搜狗科技发展有限公司
Publication of WO2019196527A1 publication Critical patent/WO2019196527A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/487Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location

Definitions

  • the method further includes: receiving a play instruction, and playing corresponding multimedia data according to the play instruction.
  • the method further includes: receiving an on-screen command, according to the link corresponding to the multimedia data, and sending the link to the chat window.
  • the determining module is specifically configured to determine whether the first type of keyword belongs to the multimedia attribute information; if yes, match the first type of keyword with the second type of keyword As a matching result; if not, the first type of keyword and the second type of keyword do not match as a matching result.
  • Embodiments of the present invention also disclose an electronic device including a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one by one or more processors
  • the one or more programs include instructions for: acquiring input information, extracting the input information corresponding to a plurality of types of keywords, the type of the keyword corresponding to the type of the multimedia attribute information; and the different types of keywords Perform matching, obtain corresponding multimedia data according to the matching result; recommend the multimedia data.
  • the type includes a first type and a second type
  • the segment information is matched with the plurality of types of the thesaurus to determine the plurality of types of keywords, including:
  • the human noun library is matched to determine a first type of keyword; and the segmentation information is matched with the multimedia thesaurus to determine a second type of keyword.
  • the first type of keyword includes at least one of the following: an artist name, an actor name, a director name, a screenwriter name, and a role name
  • the second type of keywords includes at least one of the following: a song name, a TV drama name , movie name, variety name, animation name, novel name.
  • FIG. 2 is a flow chart showing the steps of an alternative embodiment of the data processing method of the present invention.
  • Step 206 Match the segmentation information with a human noun library to determine a first type of keyword.
  • the user often involves various multimedia data such as music, television, movies, etc. during the chat process, such as the local user inputting "What recent novels does Jay Chou have?", and the opposite user inputs "con profession".
  • Balloons in order to improve the accuracy of the recommended multimedia data, both the local information and the peer information can be used as input information; in addition, if the information sent by the peer is received, "Jay Chou's confession balloon is good", this is to improve the local end.
  • the user can obtain the efficiency of the multimedia data, and the peer information can be used as the input information to determine the corresponding multimedia data and recommend.
  • the input information contains information that characterizes negative emotions, it is likely that the user does not like the corresponding multimedia data, such as inputting the message "I don't like Jay Chou's nunchaku", indicating that the user does not like to listen to Jay Chou's song “Nuclear” Another example is "I hate the freedom of flying Phoenix legend", which means that users don't like to listen to the legendary song “Free Flying”; then there is no need to recommend corresponding multimedia data for users. Therefore, in an optional embodiment of the present invention, before the keyword of the input information is extracted, it may be determined whether the input information includes a keyword that represents a negative emotion, and if included, may not be recommended for the user; Including, step 204 can be performed to recommend corresponding multimedia data for the user.
  • the recommendation module 306 is configured to recommend the multimedia data.
  • the screening module 308 is configured to filter the multimedia data according to other information of the input information.
  • the segmentation module 3022 is configured to perform segmentation on the input information to obtain corresponding segmentation information.
  • the information extraction module 302 is configured to obtain the local information and the peer information during the chat process, and use the local information and/or the peer information as the input information.
  • the searching module 3042 is configured to search for multimedia attribute information corresponding to the keyword of the second type
  • the determining module 3044 is specifically configured to determine whether the keyword of the first type belongs to the multimedia attribute information; if yes, match the keyword of the first type with the keyword of the second type as Matching result; if not, the first type of keyword and the second type of keyword do not match as a matching result.
  • the data obtaining module 304 is configured to: according to the first type of keywords and the second type of keywords, according to the first type of keywords and the second type Key words to get multimedia data.
  • the first type of keyword includes at least one of the following: an artist name, an actor name, a director name, a screenwriter name, and a role name
  • the second type of keywords includes at least one of the following: Song name, TV drama name, movie name, variety name, animation name, novel name.
  • the multimedia data includes at least one of the following: a novel, a song, a movie, a TV series, a variety show, and an animation.
  • the embodiment of the present invention can obtain input information, and then extract input information corresponding to multiple types of keywords, to obtain multimedia data corresponding to the input information according to different types of keywords; and to match different types of keywords, and then The matching result obtains the corresponding multimedia data and is recommended, so that the corresponding multimedia data can be matched and recommended for the input information that cannot be identified, and the accuracy of the recommended information is improved.
  • FIG. 5 is a structural block diagram of an electronic device 500 for data processing, according to an exemplary embodiment.
  • the electronic device 500 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • Power component 506 provides power to various components of electronic device 500.
  • Power component 506 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 500.
  • the multimedia component 508 includes a screen that provides an output interface between the electronic device 500 and a user.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 508 includes a front camera and/or a rear camera. When the electronic device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 510 is configured to output and/or input an audio signal.
  • the audio component 510 includes a microphone (MIC) that is configured to receive an external audio signal when the electronic device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 504 or transmitted via communication component 516.
  • audio component 510 also includes a speaker for outputting an audio signal.
  • the I/O interface 512 provides an interface between the processing component 502 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 514 includes one or more sensors for providing electronic device 500 with a status assessment of various aspects.
  • sensor component 514 can detect an open/closed state of device 500, a relative positioning of components, such as the display and keypad of electronic device 500, and sensor component 514 can also detect a component of electronic device 500 or electronic device 500. The position changes, the presence or absence of contact of the user with the electronic device 500, the orientation or acceleration/deceleration of the electronic device 500, and the temperature change of the electronic device 500.
  • Sensor assembly 514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 514 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of an electronic device, to enable the electronic device to perform a data processing method, the method comprising: obtaining input information, extracting The input information corresponds to a plurality of types of keywords, and the type of the keyword corresponds to the type of the multimedia attribute information; the different types of keywords are matched, and the corresponding multimedia data is obtained according to the matching result; and the multimedia data is recommended.
  • the matching the different types of keywords includes: searching for multimedia attribute information corresponding to the second type of keywords, and determining, according to the multimedia attribute information, the first type of keywords and the first Whether the two types of keywords match.
  • the server may also include one or more power sources 626, one or more wired or wireless network interfaces 650, one or more input and output interfaces 658, one or more keyboards 656, and/or one or more operating systems 641, For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device
  • Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Provided are a data processing method, an apparatus and an electronic device. The method comprises: obtaining input information, extracting multiple types of keywords corresponding to the input information (102), wherein the type of the keywords corresponds to the type of multimedia attribute information; matching different types of the keywords, and obtaining corresponding multimedia data according to a result of the matching (104); and recommending the multimedia data (106). Therefore, the input information whose intention cannot be identified can be matched with the corresponding multimedia data and be recommended, and the accuracy of the recommendation information is improved.

Description

一种数据处理方法、装置和电子设备Data processing method, device and electronic device
本申请要求在中国申请的申请号为201810321907.6、申请日为2018年4月11日、发明名称为“一种数据处理方法、装置和电子设备”的发明专利申请的全部优先权。The present application claims the entire priority of the invention patent application filed in the Chinese application No. 201101321907.6, the filing date is April 11, 2018, and the invention is entitled "a data processing method, device and electronic device".
技术领域Technical field
本发明涉及数据处理技术领域,特别是涉及一种数据处理方法、装置和电子设备。The present invention relates to the field of data processing technologies, and in particular, to a data processing method, apparatus, and electronic device.
背景技术Background technique
随着计算机技术的发展,诸如手机、平板电脑等电子设备越来越普及,给人们的生活、学习、工作带来了极大的便利。这些电子设备通常安装有输入法应用程序(简称输入法),使得用户可使用该输入法进行信息输入。With the development of computer technology, electronic devices such as mobile phones and tablet computers have become more and more popular, which has brought great convenience to people's life, study and work. These electronic devices are usually equipped with an input method application (referred to as an input method), so that the user can use the input method for information input.
在用户输入过程中,通常会基于用户输入的信息给用户推荐关联信息,但现有的推荐方式都是基于关键词和模式的,如用户输入“想听时间煮雨”,可得到关键词是“时间煮雨”,模式是“想听***”,即可分析出用户意图“想听《时间煮雨》这首歌”,进而可为用户推荐这首歌。但是若用户输入信息中不包含表征模式的词,如用户输入:杨钰莹的我不想说,则无法明确用户意图,导致无法为用户推荐准确的信息。In the user input process, the related information is usually recommended to the user based on the information input by the user, but the existing recommendation methods are based on keywords and modes. For example, if the user inputs “want to listen to time to cook the rain”, the keyword can be obtained. “Time to cook the rain”, the mode is “Want to listen to ***”, you can analyze the user’s intention “Want to listen to the song “Time to Cook Rain””, and then recommend this song for users. However, if the user input does not include words that represent the pattern, such as user input: Yang Yuying's I don't want to say, the user's intention cannot be clarified, and the accurate information cannot be recommended for the user.
发明内容Summary of the invention
本发明实施例提供一种数据处理方法,以提高推荐信息的准确性。The embodiment of the invention provides a data processing method to improve the accuracy of the recommendation information.
相应的,本发明实施例还提供了一种数据处理装置和一种电子设备,用以保证上述方法的实现及应用。Correspondingly, the embodiment of the invention further provides a data processing device and an electronic device for ensuring implementation and application of the above method.
为了解决上述问题,本发明实施例公开了一种数据处理方法,具体包括:获取输入信息,提取所述输入信息对应多个类型的关键词,所述关键词的类型与多媒体属性信息的类型对应;将不同类型的关键词进行匹配,依据匹配结果获取对应的多媒体数据;推荐所述多媒体数据。In order to solve the above problem, an embodiment of the present invention discloses a data processing method, which specifically includes: acquiring input information, extracting the input information corresponding to multiple types of keywords, and the type of the keyword corresponds to a type of multimedia attribute information. Matching different types of keywords, obtaining corresponding multimedia data according to the matching result; recommending the multimedia data.
可选地,所述提取所述输入信息对应多个类型的关键词,包括:对所述输入信息进行切分,获取对应的分段信息;将所述分段信息与多个类型的词库进行匹配,确定多个类型的关键词。Optionally, the extracting the input information corresponding to multiple types of keywords includes: segmenting the input information, acquiring corresponding segmentation information; and using the segmentation information with multiple types of the thesaurus Matching to determine multiple types of keywords.
可选地,所述类型包括第一类型和第二类型,所述将所述分段信息与多个类型的词库进行匹配,确定多个类型关键词,包括:将所述分段信息与人名词库进行匹配,确定第一类型的关键词;以及将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词。Optionally, the type includes a first type and a second type, and the segment information is matched with the plurality of types of the thesaurus to determine the plurality of types of keywords, including: The human noun library is matched to determine a first type of keyword; and the segmentation information is matched with the multimedia thesaurus to determine a second type of keyword.
可选地,所述将不同类型的关键词进行匹配,包括:查找所述第二类型的关键词对应的多媒体属性信息,并依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配。Optionally, the matching the different types of keywords includes: searching for multimedia attribute information corresponding to the second type of keywords, and determining, according to the multimedia attribute information, the first type of keywords and the first Whether the two types of keywords match.
可选地,所述依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关 键词是否匹配,包括:判断所述第一类型的关键词是否属于所述多媒体属性信息;若属于,则将所述第一类型的关键词和第二类型的关键词匹配作为匹配结果;若不属于,则将所述第一类型的关键词和第二类型的关键词不匹配作为匹配结果。Optionally, determining whether the keyword of the first type and the keyword of the second type match according to the multimedia attribute information, including: determining whether the keyword of the first type belongs to the multimedia attribute information; If yes, the first type of keyword and the second type of keyword are matched as matching results; if not, the first type of keyword and the second type of keyword are not matched as matching result.
可选地,所述依据匹配结果获取对应的多媒体数据,包括:若所述第一类型的关键词和第二类型的关键词匹配,则依据所述第一类型的关键词和第二类型的关键词获取多媒体数据。Optionally, the acquiring the corresponding multimedia data according to the matching result includes: if the keyword of the first type and the keyword of the second type match, according to the keyword of the first type and the second type Keywords acquire multimedia data.
可选地,还包括:依据所述输入信息的其他信息,对所述多媒体数据进行筛选。Optionally, the method further includes: screening the multimedia data according to other information of the input information.
可选地,还包括:接收播放指令,依据所述播放指令播放对应的多媒体数据。Optionally, the method further includes: receiving a play instruction, and playing corresponding multimedia data according to the play instruction.
可选地,所述获取输入信息,包括:在聊天过程中获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息。Optionally, the obtaining the input information includes: acquiring the local information and the peer information in the chat process, and using the local information and/or the peer information as the input information.
可选地,还包括:接收上屏指令,依据所述多媒体数据对应的链接并将所述链接发送至聊天窗口。Optionally, the method further includes: receiving an on-screen command, according to the link corresponding to the multimedia data, and sending the link to the chat window.
可选地,第一类型的关键词包括以下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述第二类型的关键词包括以下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名。Optionally, the first type of keyword includes at least one of the following: an artist name, an actor name, a director name, a screenwriter name, and a role name, and the second type of keywords includes at least one of the following: a song name, a TV drama name , movie name, variety name, animation name, novel name.
可选地,所述多媒体数据包括以下至少一种:小说、歌曲、电影、电视剧、综艺、动画。Optionally, the multimedia data includes at least one of the following: a novel, a song, a movie, a TV series, a variety show, an animation.
本发明实施例还公开了一种数据处理装置,具体包括:信息提取模块,用于获取输入信息,提取所述输入信息对应多个类型的关键词,所述关键词的类型与多媒体属性信息的类型对应;数据获取模块,用于将不同类型的关键词进行匹配,依据匹配结果获取对应的多媒体数据;推荐模块,用于推荐所述多媒体数据。The embodiment of the invention further discloses a data processing device, which specifically includes: an information extraction module, configured to acquire input information, extract the input information corresponding to multiple types of keywords, the type of the keyword and the multimedia attribute information. The data acquisition module is configured to match different types of keywords, and obtain corresponding multimedia data according to the matching result; and a recommendation module, configured to recommend the multimedia data.
可选地,所述信息提取模块包括:切分模块,用于对所述输入信息进行切分,获取对应的分段信息;匹配模块,用于将所述分段信息与多个类型的词库进行匹配,确定多个类型的关键词。Optionally, the information extraction module includes: a segmentation module, configured to perform segmentation on the input information to obtain corresponding segmentation information; and a matching module, configured to use the segmentation information and the plurality of types of words The library performs matching to determine multiple types of keywords.
可选地,所述类型包括第一类型和第二类型,所述匹配模块,具体用于将所述分段信息与人名词库进行匹配,确定第一类型的关键词;以及将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词。Optionally, the type includes a first type and a second type, and the matching module is specifically configured to: match the segmentation information with a human noun library, determine a keyword of a first type; and The segment information is matched with the multimedia thesaurus to determine the second type of keywords.
可选地,所述数据获取模块包括:查找模块,用于查找所述第二类型的关键词对应的多媒体属性信息;判断模块,用于依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配。Optionally, the data obtaining module includes: a searching module, configured to search for multimedia attribute information corresponding to the keyword of the second type; and a determining module, configured to determine, according to the multimedia attribute information, the key of the first type Whether the word matches the second type of keyword.
可选地,所述判断模块,具体用于判断所述第一类型的关键词是否属于所述多媒体属性信息;若属于,则将所述第一类型的关键词和第二类型的关键词匹配作为匹配结果;若不属于,则将所述第一类型的关键词和第二类型的关键词不匹配作为匹配结果。Optionally, the determining module is specifically configured to determine whether the first type of keyword belongs to the multimedia attribute information; if yes, match the first type of keyword with the second type of keyword As a matching result; if not, the first type of keyword and the second type of keyword do not match as a matching result.
可选地,所述数据获取模块,用于若所述第一类型的关键词和第二类型的关键词匹配,则依据所述第一类型的关键词和第二类型的关键词获取多媒体数据。Optionally, the data obtaining module is configured to acquire multimedia data according to the first type of keywords and the second type of keywords if the first type of keywords and the second type of keywords match .
可选地,还包括:筛选模块,用于依据所述输入信息的其他信息,对所述多媒体数据进行筛选。Optionally, the method further includes: a screening module, configured to filter the multimedia data according to the other information of the input information.
可选地,还包括:播放模块,用于接收播放指令,依据所述播放指令播放对应的多 媒体数据。Optionally, the method further includes: a playing module, configured to receive a play instruction, and play corresponding multimedia data according to the play instruction.
可选地,所述信息提取模块,用于在聊天过程中获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息。Optionally, the information extraction module is configured to obtain the local information and the peer information during the chat process, and use the local information and/or the peer information as the input information.
可选地,还包括:发送模块,用于接收上屏指令,依据所述多媒体数据对应的链接并将所述链接发送至聊天窗口。Optionally, the method further includes: a sending module, configured to receive an on-screen command, and send the link to the chat window according to the link corresponding to the multimedia data.
可选地,第一类型的关键词包括以下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述第二类型的关键词包括以下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名。Optionally, the first type of keyword includes at least one of the following: an artist name, an actor name, a director name, a screenwriter name, and a role name, and the second type of keywords includes at least one of the following: a song name, a TV drama name , movie name, variety name, animation name, novel name.
可选地,所述多媒体数据包括以下至少一种:小说、歌曲、电影、电视剧、综艺、动画。Optionally, the multimedia data includes at least one of the following: a novel, a song, a movie, a TV series, a variety show, an animation.
本发明实施例还公开了一种可读存储介质,其特征在于,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行如本发明实施例任一所述的数据处理方法。The embodiment of the present invention further discloses a readable storage medium, wherein when the instructions in the storage medium are executed by a processor of the electronic device, enabling the electronic device to perform any of the embodiments of the present invention Data processing method.
本发明实施例还公开了一种电子设备,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:获取输入信息,提取所述输入信息对应多个类型的关键词,所述关键词的类型与多媒体属性信息的类型对应;将不同类型的关键词进行匹配,依据匹配结果获取对应的多媒体数据;推荐所述多媒体数据。Embodiments of the present invention also disclose an electronic device including a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one by one or more processors Or the one or more programs include instructions for: acquiring input information, extracting the input information corresponding to a plurality of types of keywords, the type of the keyword corresponding to the type of the multimedia attribute information; and the different types of keywords Perform matching, obtain corresponding multimedia data according to the matching result; recommend the multimedia data.
可选地,所述提取所述输入信息对应多个类型的关键词,包括:对所述输入信息进行切分,获取对应的分段信息;将所述分段信息与多个类型的词库进行匹配,确定多个类型的关键词。Optionally, the extracting the input information corresponding to multiple types of keywords includes: segmenting the input information, acquiring corresponding segmentation information; and using the segmentation information with multiple types of the thesaurus Matching to determine multiple types of keywords.
可选地,所述类型包括第一类型和第二类型,所述将所述分段信息与多个类型的词库进行匹配,确定多个类型关键词,包括:将所述分段信息与人名词库进行匹配,确定第一类型的关键词;以及将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词。Optionally, the type includes a first type and a second type, and the segment information is matched with the plurality of types of the thesaurus to determine the plurality of types of keywords, including: The human noun library is matched to determine a first type of keyword; and the segmentation information is matched with the multimedia thesaurus to determine a second type of keyword.
可选地,所述将不同类型的关键词进行匹配,包括:查找所述第二类型的关键词对应的多媒体属性信息,并依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配。Optionally, the matching the different types of keywords includes: searching for multimedia attribute information corresponding to the second type of keywords, and determining, according to the multimedia attribute information, the first type of keywords and the first Whether the two types of keywords match.
可选地,所述依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配,包括:判断所述第一类型的关键词是否属于所述多媒体属性信息;若属于,则将所述第一类型的关键词和第二类型的关键词匹配作为匹配结果;若不属于,则将所述第一类型的关键词和第二类型的关键词不匹配作为匹配结果。Optionally, determining whether the keyword of the first type and the keyword of the second type match according to the multimedia attribute information, including: determining whether the keyword of the first type belongs to the multimedia attribute information; If yes, the first type of keyword and the second type of keyword are matched as matching results; if not, the first type of keyword and the second type of keyword are not matched as matching result.
可选地,所述依据匹配结果获取对应的多媒体数据,包括:若所述第一类型的关键词和第二类型的关键词匹配,则依据所述第一类型的关键词和第二类型的关键词获取多媒体数据。Optionally, the acquiring the corresponding multimedia data according to the matching result includes: if the keyword of the first type and the keyword of the second type match, according to the keyword of the first type and the second type Keywords acquire multimedia data.
可选地,还包含用于进行以下操作的指令:依据所述输入信息的其他信息,对所述多媒体数据进行筛选。Optionally, an instruction is further included for: screening the multimedia data according to other information of the input information.
可选地,还包含用于进行以下操作的指令:接收播放指令,依据所述播放指令播放对应的多媒体数据。Optionally, an instruction is further included to: receive a play instruction, and play corresponding multimedia data according to the play instruction.
可选地,所述获取输入信息,包括:在聊天过程中获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息。Optionally, the obtaining the input information includes: acquiring the local information and the peer information in the chat process, and using the local information and/or the peer information as the input information.
可选地,还包含用于进行以下操作的指令:接收上屏指令,依据所述多媒体数据对应的链接并将所述链接发送至聊天窗口。Optionally, an instruction is further included to: receive an on-screen instruction, and send the link to the chat window according to the link corresponding to the multimedia data.
可选地,第一类型的关键词包括以下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述第二类型的关键词包括以下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名。Optionally, the first type of keyword includes at least one of the following: an artist name, an actor name, a director name, a screenwriter name, and a role name, and the second type of keywords includes at least one of the following: a song name, a TV drama name , movie name, variety name, animation name, novel name.
可选地,所述多媒体数据包括以下至少一种:小说、歌曲、电影、电视剧、综艺、动画。Optionally, the multimedia data includes at least one of the following: a novel, a song, a movie, a TV series, a variety show, an animation.
本发明实施例包括以下优点:Embodiments of the invention include the following advantages:
本发明实施例可以获取输入信息,然后提取输入信息对应多个类型的关键词,以依据不同类型的关键词,获取所述输入信息对应的多媒体数据;即将所述不同类型的关键词进行匹配,然后依据匹配结果获取对应的多媒体数据并推荐,进而能够为无法识别意图的输入信息匹配对应的多媒体数据并推荐,提高了推荐信息的准确性。The embodiment of the present invention can obtain input information, and then extract input information corresponding to multiple types of keywords, to obtain multimedia data corresponding to the input information according to different types of keywords; that is, the different types of keywords are matched, Then, the corresponding multimedia data is obtained and recommended according to the matching result, and the corresponding multimedia data can be matched and recommended for the input information that cannot be identified, thereby improving the accuracy of the recommendation information.
附图说明DRAWINGS
图1是本发明的一种数据处理方法实施例的步骤流程图;1 is a flow chart showing the steps of an embodiment of a data processing method of the present invention;
图2是本发明的一种数据处理方法可选实施例的步骤流程图;2 is a flow chart showing the steps of an alternative embodiment of the data processing method of the present invention;
图3是本发明的一种数据处理装置实施例的结构框图;3 is a block diagram showing the structure of an embodiment of a data processing apparatus of the present invention;
图4是本发明的一种数据处理装置可选实施例的结构框图;4 is a structural block diagram of an alternative embodiment of a data processing apparatus of the present invention;
图5根据一示例性实施例示出的一种用于数据处理的电子设备的结构框图;FIG. 5 is a structural block diagram of an electronic device for data processing according to an exemplary embodiment;
图6是本发明根据另一示例性实施例示出的一种用于数据处理的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device for data processing according to another exemplary embodiment of the present invention.
具体实施方式detailed description
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。The present invention will be further described in detail with reference to the accompanying drawings and specific embodiments.
参照图1,示出了本发明的一种数据处理方法实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1 , a flow chart of steps of an embodiment of a data processing method of the present invention is shown, which may specifically include the following steps:
步骤102、获取输入信息,提取所述输入信息对应多个类型的关键词。Step 102: Acquire input information, and extract the input information corresponding to multiple types of keywords.
步骤104、将不同类型的关键词进行匹配,依据匹配结果获取对应的多媒体数据。Step 104: Match different types of keywords, and obtain corresponding multimedia data according to the matching result.
本发明实施例提供的一种数据处理方法,可用于依据输入信息推荐对应的多媒体数据,因此可获取输入信息,然后为所述输入信息匹配对应的多媒体数据并推荐。其中,所述输入信息可以是应用程序的信息编辑框中的信息,所述信息编辑框中的信息可以是用户采用输入法输入的信息,也可以是采用粘贴等编辑操作输入的信息;不同的应用程序中所述信息编辑框的名称可能不同,例如,聊天应用中的信息编辑框是聊天编辑框, 浏览器中的信息编辑框是搜索框等等。若所述应用程序是即时通讯应用,所述输入信息也可以是本端已发送的信息,当然,所述输入信息还可以包括接收的对端信息;其中,本发明实施例不限制输入信息的语言,可以是中文、英文、韩文和日文等语言中的任意一种或多种。本发明实施例在为所述输入信息匹配对应的多媒体数据时,可提取所述输入信息对应多个不同类型的关键词,所述关键词的类型与多媒体属性信息的类型对应;其中,所述多媒体属性信息即多媒体数据的属性信息,所述多媒体属性信息可包括多种类型,如主题类属性信息如多媒体名称,又如人名类属性信息如多媒体的演员名、歌手名等;例如,一首歌曲对应的多媒体属性信息包括:歌曲名、歌手名、编曲人名、作词人名等,又例如电视剧对应的多媒体属性信息包括:电视剧名、演员名、导演名、编剧名等。然后可将不同类型的关键词进行匹配,确定所述输入信息对应的多媒体数据,即针对每个类型的关键词,分别将其与其他类型的关键词进行匹配,然后依据匹配结果获取所述输入信息对应的多媒体数据。The data processing method provided by the embodiment of the present invention can be used to recommend corresponding multimedia data according to the input information, so that the input information can be acquired, and then the corresponding multimedia data is matched and recommended for the input information. The input information may be information in an information edit box of the application, and the information in the information edit box may be information input by the user by using an input method, or may be information input by an editing operation such as pasting; The name of the information edit box in the application may be different. For example, the information edit box in the chat application is a chat edit box, the information edit box in the browser is a search box, and the like. If the application is an instant messaging application, the input information may also be information that has been sent by the local end. Of course, the input information may further include the received peer information; wherein, the embodiment of the present invention does not limit the input information. The language can be any one or more of languages such as Chinese, English, Korean, and Japanese. In the embodiment of the present invention, when the input information is matched with the corresponding multimedia data, the input information may be extracted corresponding to a plurality of different types of keywords, and the type of the keyword corresponds to the type of the multimedia attribute information; The multimedia attribute information is attribute information of the multimedia data, and the multimedia attribute information may include multiple types, such as theme attribute information such as a multimedia name, and a name attribute information such as a multimedia actor name, a singer name, etc.; for example, one The multimedia attribute information corresponding to the song includes: a song name, a singer name, a arranger name, a lyric name, and the like, and for example, the multimedia attribute information corresponding to the drama includes: a TV drama name, an actor name, a director name, a scriptwriter name, and the like. Then, different types of keywords can be matched, and the multimedia data corresponding to the input information is determined, that is, each type of keyword is matched with other types of keywords, and then the input is obtained according to the matching result. The multimedia data corresponding to the information.
步骤106、推荐所述多媒体数据。Step 106: Recommend the multimedia data.
在匹配得到所述输入信息对应的多媒体数据后,可推荐所述多媒体数据,例如可在输入法的推荐区域展示所述多媒体数据,也可在应用程序对应推荐区域展示所述多媒体数据;进而用户对所述多媒体数据进行操作如播放、分享等。After matching the multimedia data corresponding to the input information, the multimedia data may be recommended, for example, the multimedia data may be displayed in a recommended area of the input method, or the multimedia data may be displayed in an application corresponding recommended area; The multimedia data is operated such as playing, sharing, and the like.
本发明的一个示例中,输入信息“杨钰莹的我不想说”,可提取出两个类型的关键词,人名类的关键词“杨钰莹”,主题类的关键词“我不想说”,在确定存在歌曲《我不想说》的杨钰莹演唱版本后,可获取杨钰莹版本的歌曲《我不想说》,然后推荐给用户;用户可以选择播放该歌曲,也可以将该歌曲进行分享,若是在聊天界面,还可以将该歌曲发送给对端。本发明的另一个示例中,输入信息“胡歌的伪装者”,可提取出人名类的关键词“胡歌”,主题类的关键词“伪装者”,在确定存在电视剧《伪装者》,且主演为胡歌后,获取胡歌出演的电视剧《伪装者》并推荐给用户。In an example of the present invention, the input information "Yang Yuying's I don't want to say" can extract two types of keywords, the keyword "Yang Yuying", and the keyword "I don't want to say" in the subject category. After the song "I don't want to say" Yang Yingying's singing version, I can get the Yang Yingying version of the song "I don't want to say" and then recommend it to the user; the user can choose to play the song, or share the song, if it is in the chat interface, The song can be sent to the peer. In another example of the present invention, the input information "the pretender of Hu Ge" can extract the keyword "Hu Ge" of the name category, the keyword "pretender" of the theme category, and determine the presence of the TV drama "The Pretender". After starring in Hu Ge, he won the TV series "Pretender" starring Hu Ge and recommended it to users.
综上,本发明实施例可以获取输入信息,然后提取输入信息对应多个类型的关键词,以依据多个类型的关键词获取所述输入信息对应的多媒体数据;即将所述不同类型的关键词进行匹配,然后依据匹配结果获取对应的多媒体数据并推荐,进而能够为无法识别意图的输入信息匹配对应的多媒体数据并推荐,提高了推荐信息的准确性。In summary, the embodiment of the present invention may obtain input information, and then extract input information corresponding to multiple types of keywords, to acquire multimedia data corresponding to the input information according to multiple types of keywords; The matching is performed, and then the corresponding multimedia data is obtained and recommended according to the matching result, so that the corresponding multimedia data can be matched and recommended for the input information that cannot be identified, and the accuracy of the recommendation information is improved.
本发明的另一个实施例中,所述关键词的类型可包括第一类型和第二类型,所述第一类型的关键词可以是人名和多媒体名中的一种,第二类型的关键词可以是人名和多媒体名中的另一种,进而在确定人名和多媒体名称匹配时,可获取对应的多媒体数据并推荐。In another embodiment of the present invention, the type of the keyword may include a first type and a second type, and the first type of keyword may be one of a person name and a multimedia name, and the second type of keyword It can be another one of the person name and the multimedia name, and when the name and the multimedia name are matched, the corresponding multimedia data can be obtained and recommended.
参照图2,示出了本发明的一种数据处理方法可选实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2, a flow chart of the steps of an optional embodiment of the data processing method of the present invention is shown, which may specifically include the following steps:
步骤202、获取输入信息。Step 202: Acquire input information.
本发明实施例中,输入法可获取输入信息,然后对所述输入信息进行分析,确定所述输入信息对应的多媒体数据,并将所述多媒体数据推荐给用户,以减少用户获取对应多媒体数据的时间,提高获取多媒体数据的效率,进而提高用户体验。具体如下:In the embodiment of the present invention, the input method may obtain the input information, then analyze the input information, determine the multimedia data corresponding to the input information, and recommend the multimedia data to the user, so as to reduce the user acquiring the corresponding multimedia data. Time, improve the efficiency of access to multimedia data, and thus improve the user experience. details as follows:
步骤204、对所述输入信息进行切分,获取对应的分段信息。Step 204: Perform segmentation on the input information to obtain corresponding segmentation information.
步骤206、将所述分段信息与人名词库进行匹配,确定第一类型的关键词。Step 206: Match the segmentation information with a human noun library to determine a first type of keyword.
步骤208、将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词。Step 208: Match the segmentation information with a multimedia vocabulary to determine a second type of keyword.
本发明实施例在获取输入信息后,可提取所述输入信息对应不同类型的关键词,即可对所述输入信息进行切分,获取所述输入信息对应的分段信息,然后可将所述分段信息与多个类型的词库进行匹配,确定多个类型的关键词。本发明实施例中,所述关键词的类型可以包括第一类型和第二类型,所述第一类型可以是人名类型,所述第二类型可以是主题名类型;其中,所述第一类型可包括多个子类型,例如演员名子类型、导演名子类型、编剧名子类型,歌手名子类型、作曲者名子类型等等;当然所述第一类型可以是主题名类型,第二类型是人名类型等等,本发明对此不作限制。因此所述第一类型的关键词可以是人名和多媒体名中的一种,第二类型的关键词可以是人名和多媒体名中的另一种,因此可将分段信息与人名词库进行匹配,确定第一类型的关键词,以及将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词,即第一类型的关键词是人名,第二类型的关键词是多媒体名;其中,所述人名词库中的人名是与多媒体数据相关的人名。其中,所述多媒体数据可包括以下至少一种:小说、歌曲、电影、电视剧、综艺、动画,所述人名可包括以下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述多媒体名可包括以下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名;其中,所述小说可以是音频小说。因此,第一类型的关键词可包括以下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述第二类型的关键词为多媒体名,第二类型的关键词可包括以下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名。当然,也可以将分段信息与多媒体词库进行匹配,确定第一类型的关键词,以及将所述分段信息与人名词库进行匹配,确定第二类型的关键词,即第一类型的关键词是多媒体名,第二类型的关键词是人名,本发明实施例不作限制。After obtaining the input information, the embodiment may extract the input information corresponding to different types of keywords, and may perform segmentation on the input information to obtain segmentation information corresponding to the input information, and then the Segmentation information is matched with multiple types of thesaurus to determine multiple types of keywords. In the embodiment of the present invention, the type of the keyword may include a first type and a second type, the first type may be a person name type, and the second type may be a topic name type; wherein the first type Can include multiple subtypes, such as actor name subtype, director name subtype, script name subtype, singer name subtype, composer name subtype, etc.; of course the first type can be the subject name type, the second type It is a person name type and the like, and the present invention does not limit this. Therefore, the first type of keyword may be one of a person name and a multimedia name, and the second type of keyword may be another one of a person name and a multimedia name, so the segment information may be matched with the person noun library. Determining a first type of keyword, and matching the segmentation information with a multimedia thesaurus to determine a second type of keyword, that is, the first type of keyword is a person name, and the second type of keyword is a multimedia name Wherein the person name in the human noun library is a person name associated with the multimedia data. The multimedia data may include at least one of the following: a novel, a song, a movie, a TV series, a variety show, an animation, and the name may include at least one of the following: an artist name, an actor name, a director name, a screenwriter name, and a character name. The multimedia name may include at least one of the following: a song name, a TV drama name, a movie name, a variety name, an animation name, and a novel name; wherein the novel may be an audio novel. Therefore, the first type of keyword may include at least one of the following: an artist name, an actor name, a director name, a screenwriter name, a character name, the second type of keyword is a multimedia name, and the second type of keyword may include At least one of the following: song name, TV drama name, movie name, variety name, animation name, novel name. Of course, the segmentation information may also be matched with the multimedia thesaurus to determine the first type of keywords, and the segmentation information is matched with the human noun library to determine the second type of keywords, that is, the first type of The keyword is a multimedia name, and the keyword of the second type is a person name, which is not limited in the embodiment of the present invention.
然后将不同类型的关键词进行匹配确定匹配结果,即将第一类型的关键词和第二类型的关键词进行匹配,进而依据匹配结果获取所述输入信息对应的多媒体信息,以下以第一类型的关键词是人名,第二类型的关键词是多媒体名为例进行说明:Then, different types of keywords are matched to determine a matching result, that is, the first type of keywords and the second type of keywords are matched, and then the multimedia information corresponding to the input information is obtained according to the matching result, and the following is the first type. The keyword is a person's name, and the second type of keyword is a multimedia name example to illustrate:
步骤210、查找所述第二类型的关键词对应的多媒体属性信息。Step 210: Search for multimedia attribute information corresponding to the keyword of the second type.
步骤212、依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配。Step 212: Determine, according to the multimedia attribute information, whether the first type of keywords and the second type of keywords match.
本发明实施例中,所述第二类型的关键词和第一类型的关键词均是多媒体数据的其中一种属性信息,因此在判断所述第一类型的关键词和第二类型的关键词是否匹配时,可依据所述第二类型的关键词确定匹配的多媒体数据,再获取匹配的多媒体数据的其他属性信息,即所述第二类型的关键词对应的多媒体属性信息。其中,同一首歌曲可能存在多个版本,如歌曲《七里香》包括周杰伦版和刘瑞琪版,因此第二类型的关键词对应的多媒体属性信息也包括多组。然后再将第二类型的关键词对应的每组多媒体属性信息,分别与第一类型的关键词进行比对,以判断所述第一类型的关键词与第二类型的关键词是否匹配,得到匹配结果。具体的,针对所述第二类型的关键词的每组多媒体属性信息,可判断所述第一类型的关键词是否属于所述多媒体属性信息,若属于,则将所述第一类型的关键词和第二类型的关键词匹配作为匹配结果,若不属于,则将所述第一类型的关 键词和第二类型的关键词不匹配作为匹配结果。确定所述匹配结果是第一类型的关键词和第二类型的关键词匹配,则可执行步骤214,若所述匹配结果是第一类型的关键词和第二类型的关键词不匹配,则可执行结束的步骤,即不为用户进行推荐。In the embodiment of the present invention, the second type of keyword and the first type of keyword are all one of the attribute information of the multimedia data, so the first type of the keyword and the second type of the keyword are determined. If the matching is performed, the matched multimedia data may be determined according to the second type of keywords, and then other attribute information of the matched multimedia data, that is, the multimedia attribute information corresponding to the second type of keywords, may be obtained. Among them, there may be multiple versions of the same song. For example, the song "Qilixiang" includes the Jay Chou version and the Liu Ruiqi version, so the multimedia attribute information corresponding to the second type of keywords also includes multiple groups. Then, each set of multimedia attribute information corresponding to the second type of keyword is compared with the first type of keyword to determine whether the first type of keyword matches the second type of keyword, Match the result. Specifically, for each set of multimedia attribute information of the second type of keywords, it may be determined whether the first type of keywords belongs to the multimedia attribute information, and if so, the first type of keywords And matching the keyword of the second type as a matching result, if not, the keyword of the first type and the keyword of the second type are not matched as a matching result. If it is determined that the matching result is the first type of keyword and the second type of keyword matching, step 214 may be performed, if the matching result is that the first type of keyword and the second type of keyword do not match, The end step can be performed, that is, no recommendation is made for the user.
步骤214、依据所述第一类型的关键词和第二类型的关键词获取多媒体数据。Step 214: Acquire multimedia data according to the first type of keywords and the second type of keywords.
在确定所述第一类型的关键词和第二类型的关键词匹配时,可依据所述第一类型的关键词和第二类型的关键词,获取多媒体数据,即可查找所述第二类型的关键词对应的多媒体数据,然后采用所述第一类型的关键词对查找的多媒体数据进行筛选,进而获取所述输入信息对应的多媒体数据。例如,第一类型的关键词“周杰伦”,第二类型的关键词是“***”,根据第二类型的关键词查询到歌曲《***》包括三种不同歌手的版本,即邓紫棋版、王源版和周杰伦版;然后可依据第一类型的关键词“周杰伦”选取出周杰伦版歌曲《***》。又例如,第一类型的关键词“周迅”,第二类型的关键词是“红高粱”,根据第二类型的关键词查询到电视剧《红高粱》有两个版本,即周迅版和巩俐版,然后可依据第一类型的关键词“周迅”,选取出周迅版的电视剧《红高粱》。还例如,第一类型的关键词是“于敏”,第二类型的关键词“神雕侠侣”,根据第二类型的关键词查询到电视剧《神雕侠侣》包括五个不同导演执导的版本,即于敏、何东兴、李慧珠、李添胜和萧笙,然后可依据第一类型的关键词“于敏”选取出于敏执导的电视剧《神雕侠侣》。When it is determined that the keyword of the first type and the keyword of the second type match, the multimedia data may be acquired according to the keyword of the first type and the keyword of the second type, so that the second type may be searched The multimedia data corresponding to the keyword is used to filter the searched multimedia data by using the first type of keywords, and then the multimedia data corresponding to the input information is obtained. For example, the first type of keyword "Jay Chou", the second type of keyword is "tornado", according to the second type of keyword query to the song "Tornado" includes three different singer versions, namely Deng Ziqi version, Wang Yuan Edition and Jay Chou version; then according to the first type of keyword "Jay Chou" to select the Jay Chou version of the song "Tornado." For another example, the first type of keyword "Zhou Xun", the second type of keyword is "Red Sorghum", according to the second type of keyword query to the TV series "Red Sorghum" has two versions, namely Zhou Xun Edition and Gong Li Edition Then, according to the first type of keyword "Zhou Xun", Zhou Xun's TV series "Red Sorghum" was selected. For example, the first type of keyword is "Yu Min", the second type of keyword "Shenzhen Heroes", according to the second type of keyword query to the TV series "The Condor Heroes" includes five different directors directing The versions, namely Yu Min, He Dongxing, Li Huizhu, Li Tiansheng and Xiao Yu, can then select the TV series "The Condor Heroes" directed by Min, according to the first type of keyword "Yu Min".
本发明一个可选实施例中,所述输入信息中除包括与多媒体数据相关的第一类型的关键词和第二类型的关键词外,还可能包括其他与多媒体数据相关的其他信息,如电视剧的播出时间、歌曲的演唱场合等等,因此在依据所述第一类型的关键词和第二类型的关键词获取多媒体数据后,可提取出所述输入信息对应的其他信息,依据所述其他信息对获取的多媒体数据进行筛选,进一步提高推荐的多媒体信息的准确率。例如,周杰伦版本的《七里香》包括演唱会版和专辑版,若输入信息中其他信息为“演唱会”,则筛选出版该歌曲的演唱会版本。In an optional embodiment of the present invention, the input information may include other information related to the multimedia data, such as a TV series, in addition to the first type of keywords and the second type of keywords related to the multimedia data. The broadcast time, the singing occasion of the song, and the like, so after acquiring the multimedia data according to the first type of keyword and the second type of keyword, other information corresponding to the input information may be extracted, according to the Other information filters the acquired multimedia data to further improve the accuracy of the recommended multimedia information. For example, the Jay Chou version of "Qi Li Xiang" includes a concert version and an album version. If the other information in the input information is "concert", the concert version of the song is screened and published.
步骤216、推荐所述多媒体数据。Step 216: Recommend the multimedia data.
步骤218、接收播放指令,依据所述播放指令播放对应的多媒体数据。Step 218: Receive a play instruction, and play corresponding multimedia data according to the play instruction.
然后推荐所述多媒体数据,例如可在输入法的推荐区域展示所述多媒体数据,也可在应用程序对应推荐区域展示所述多媒体数据。进而用户在推荐区域执行播放的操作,输入法可接收播放指令,然后依据所述播放指令播放对应的多媒体数据。The multimedia data is then recommended, for example, the multimedia data may be displayed in a recommended area of the input method, and the multimedia data may also be displayed in an application corresponding recommended area. Then, the user performs an operation of playing in the recommended area, and the input method can receive the play instruction, and then play the corresponding multimedia data according to the play instruction.
本发明的一个可选实施例中,用户在聊天过程中经常会涉及到音乐、电视、电影等各种多媒体数据,如本端用户输入“周杰伦最近有什么新歌吗”,对端用户输入“告白气球”,为了提高推荐多媒体数据的准确率,可以将本端信息和对端信息均作为输入信息;此外,若接收到对端发送的信息“周杰伦的告白气球不错”,此时为提高本端用户获取多媒体数据的效率,可将对端信息作为输入信息,确定对应的多媒体数据并推荐。因此在聊天过程中,输入法可获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息;其中,获取本端信息和对端信息的方式包括多种,如可通过读屏获取,又如可通过获取聊天记录得到,等等;当然,依旧可从应用程序的信息编辑框中获取本端信息。在推荐对应的多媒体数据后,可接收上屏指令,依据所述多媒体数据对应的链接并将所 述链接发送至聊天窗口,进而对端用户可通过点击该链接播放所述多媒体数据。In an optional embodiment of the present invention, the user often involves various multimedia data such as music, television, movies, etc. during the chat process, such as the local user inputting "What recent novels does Jay Chou have?", and the opposite user inputs "confession". Balloons, in order to improve the accuracy of the recommended multimedia data, both the local information and the peer information can be used as input information; in addition, if the information sent by the peer is received, "Jay Chou's confession balloon is good", this is to improve the local end. The user can obtain the efficiency of the multimedia data, and the peer information can be used as the input information to determine the corresponding multimedia data and recommend. Therefore, in the chat process, the input method can obtain the local information and the peer information, and the local information and/or the peer information are used as the input information; wherein the manner of obtaining the local information and the peer information includes multiple types. For example, it can be obtained by reading the screen, and can be obtained by acquiring a chat record, etc.; of course, the local information can still be obtained from the information edit box of the application. After recommending the corresponding multimedia data, the upper screen command may be received, according to the link corresponding to the multimedia data, and the link is sent to the chat window, so that the peer user can play the multimedia data by clicking the link.
当输入信息中包含表征负面情绪的信息时,很可能说明用户不喜欢对应的多媒体数据,例如输入信息“我不喜欢周杰伦的双截棍”,表征用户不喜欢听周杰伦的歌曲《双截棍》,又如“我讨厌凤凰传奇的自由飞翔”,表征用户不喜欢听凤凰传奇的歌曲《自由飞翔》;则无需为用户推荐对应的多媒体数据。因此本发明的一个可选实施例中,可以在提取所述输入信息的关键词之前,可判断所述输入信息中是否包含表征负面情绪的关键词,若包含,可不为用户进行推荐;若不包含,则可执行步骤204,以为用户推荐对应的多媒体数据。When the input information contains information that characterizes negative emotions, it is likely that the user does not like the corresponding multimedia data, such as inputting the message "I don't like Jay Chou's nunchaku", indicating that the user does not like to listen to Jay Chou's song "Nuclear" Another example is "I hate the freedom of flying Phoenix legend", which means that users don't like to listen to the legendary song "Free Flying"; then there is no need to recommend corresponding multimedia data for users. Therefore, in an optional embodiment of the present invention, before the keyword of the input information is extracted, it may be determined whether the input information includes a keyword that represents a negative emotion, and if included, may not be recommended for the user; Including, step 204 can be performed to recommend corresponding multimedia data for the user.
综上,本发明实施例可以通过提取输入信息两个类型的关键词,即第一类型的关键词和第二类型的关键词词,在确定第一类型的关键词和第二类型的关键词匹配时,可获取第一类型的关键词和第二类型的关键词匹配的多媒体数据并推荐,进而能够为无法识别意图的输入信息匹配对应的多媒体数据并推荐,提高了推荐信息的准确性。In summary, the embodiment of the present invention can determine the first type of keywords and the second type of keywords by extracting two types of keywords of the input information, namely, the first type of keywords and the second type of keyword words. When matching, the multimedia data matched by the first type of keywords and the second type of keywords can be obtained and recommended, and the corresponding multimedia data can be matched and recommended for the input information that cannot be identified, and the accuracy of the recommended information is improved.
其次,本发明实施例在获取第一类型的关键词和第二类型的关键词对应的多媒体数据后,还可以依据输入信息的其他信息对获取的多媒体数据进行筛选,进一步提高推荐的多媒体信息的准确率。Secondly, after acquiring the multimedia data corresponding to the first type of keywords and the second type of keywords, the embodiment of the present invention may further filter the obtained multimedia data according to other information of the input information, thereby further improving the recommended multimedia information. Accuracy.
再次,在聊天过程中可获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息,进而提高推荐多媒体信息的准确率和效率。Again, the local information and the peer information can be obtained during the chat process, and the local information and/or the peer information are used as input information, thereby improving the accuracy and efficiency of the recommended multimedia information.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the embodiments of the present invention are not limited by the described action sequence, because In accordance with embodiments of the invention, certain steps may be performed in other sequences or concurrently. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
参照图3,示出了本发明的一种数据处理装置实施例的结构框图,具体可以包括如下模块:信息提取模块302、数据获取模块304和推荐模块306,其中:Referring to FIG. 3, a structural block diagram of an embodiment of a data processing apparatus of the present invention is shown, which may specifically include the following modules: an information extraction module 302, a data acquisition module 304, and a recommendation module 306, where:
信息提取模块302,用于获取输入信息,提取所述输入信息对应多个类型的关键词,所述关键词的类型与多媒体属性信息的类型对应;The information extraction module 302 is configured to acquire input information, and extract the input information corresponding to multiple types of keywords, where the type of the keyword corresponds to the type of the multimedia attribute information;
数据获取模块304,用于将不同类型的关键词进行匹配,依据匹配结果获取对应的多媒体数据;The data obtaining module 304 is configured to match different types of keywords, and obtain corresponding multimedia data according to the matching result;
推荐模块306,用于推荐所述多媒体数据。The recommendation module 306 is configured to recommend the multimedia data.
参照图4,示出了本发明的一种数据处理装置实施例的结构框图。本发明一个可选实施例中,所述装置还包括:筛选模块308、播放模块310和发送模块312,其中:Referring to Figure 4, there is shown a block diagram of an embodiment of a data processing apparatus of the present invention. In an optional embodiment of the present invention, the apparatus further includes: a screening module 308, a playing module 310, and a sending module 312, where:
筛选模块308,用于依据所述输入信息的其他信息,对所述多媒体数据进行筛选。The screening module 308 is configured to filter the multimedia data according to other information of the input information.
播放模块310,用于接收播放指令,依据所述播放指令播放对应的多媒体数据。The playing module 310 is configured to receive a play instruction, and play corresponding multimedia data according to the play instruction.
发送模块312,用于接收上屏指令,依据所述多媒体数据对应的链接并将所述链接发送至聊天窗口。The sending module 312 is configured to receive an upper screen command, according to the link corresponding to the multimedia data, and send the link to the chat window.
本发明一个可选实施例中,所述信息提取模块302包括:切分模块3022和匹配模块3024,其中,In an optional embodiment of the present invention, the information extraction module 302 includes: a segmentation module 3022 and a matching module 3024, where
切分模块3022,用于对所述输入信息进行切分,获取对应的分段信息;The segmentation module 3022 is configured to perform segmentation on the input information to obtain corresponding segmentation information.
匹配模块3024,用于将所述分段信息与多个类型的词库进行匹配,确定多个类型的关键词。The matching module 3024 is configured to match the segmentation information with a plurality of types of the thesaurus to determine a plurality of types of keywords.
其中,所述匹配模块3024,具体用于将所述分段信息与人名词库进行匹配,确定第一类型的关键词;以及将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词。The matching module 3024 is specifically configured to match the segmentation information with a human noun library to determine a first type of keyword; and match the segmentation information with a multimedia thesaurus to determine a second type. Keywords.
本发明一个可选实施例中,所述信息提取模块302,用于在聊天过程中获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息。In an optional embodiment of the present invention, the information extraction module 302 is configured to obtain the local information and the peer information during the chat process, and use the local information and/or the peer information as the input information.
本发明一个可选实施例中,所述数据获取模块304包括:查找模块3042和判断模块3044,其中:In an optional embodiment of the present invention, the data obtaining module 304 includes: a searching module 3042 and a determining module 3044, where:
查找模块3042,用于查找所述第二类型的关键词对应的多媒体属性信息;The searching module 3042 is configured to search for multimedia attribute information corresponding to the keyword of the second type;
判断模块3044,用于依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配。The determining module 3044 is configured to determine, according to the multimedia attribute information, whether the keyword of the first type and the keyword of the second type match.
其中,所述判断模块3044,具体用于判断所述第一类型的关键词是否属于所述多媒体属性信息;若属于,则将所述第一类型的关键词和第二类型的关键词匹配作为匹配结果;若不属于,则将所述第一类型的关键词和第二类型的关键词不匹配作为匹配结果。The determining module 3044 is specifically configured to determine whether the keyword of the first type belongs to the multimedia attribute information; if yes, match the keyword of the first type with the keyword of the second type as Matching result; if not, the first type of keyword and the second type of keyword do not match as a matching result.
本发明一个可选实施例中,所述数据获取模块304,用于若所述第一类型的关键词和第二类型的关键词匹配,则依据所述第一类型的关键词和第二类型的关键词获取多媒体数据。In an optional embodiment of the present invention, the data obtaining module 304 is configured to: according to the first type of keywords and the second type of keywords, according to the first type of keywords and the second type Key words to get multimedia data.
本发明一个可选实施例中,第一类型的关键词包括以下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述第二类型的关键词包括以下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名。In an optional embodiment of the present invention, the first type of keyword includes at least one of the following: an artist name, an actor name, a director name, a screenwriter name, and a role name, and the second type of keywords includes at least one of the following: Song name, TV drama name, movie name, variety name, animation name, novel name.
本发明一个可选实施例中,所述多媒体数据包括以下至少一种:小说、歌曲、电影、电视剧、综艺、动画。In an optional embodiment of the present invention, the multimedia data includes at least one of the following: a novel, a song, a movie, a TV series, a variety show, and an animation.
本发明实施例可以获取输入信息,然后提取输入信息对应多个类型的关键词,以依据不同类型的关键词,获取所述输入信息对应的多媒体数据;即将不同类型的关键词进行匹配,然后依据匹配结果获取对应的多媒体数据并推荐,进而能够为无法识别意图的输入信息匹配对应的多媒体数据并推荐,提高了推荐信息的准确性。The embodiment of the present invention can obtain input information, and then extract input information corresponding to multiple types of keywords, to obtain multimedia data corresponding to the input information according to different types of keywords; and to match different types of keywords, and then The matching result obtains the corresponding multimedia data and is recommended, so that the corresponding multimedia data can be matched and recommended for the input information that cannot be identified, and the accuracy of the recommended information is improved.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
图5是根据一示例性实施例示出的一种用于数据处理的电子设备500的结构框图。例如,电子设备500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 5 is a structural block diagram of an electronic device 500 for data processing, according to an exemplary embodiment. For example, the electronic device 500 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图5,电子设备500可以包括以下一个或多个组件:处理组件502,存储器504,电力组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。Referring to FIG. 5, the electronic device 500 can include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input/output (I/O) interface 512, and a sensor component 514. And communication component 516.
处理组件502通常控制电子设备500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件502可以包括一个或多个处理器520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理部件502可以包括 多媒体模块,以方便多媒体组件508和处理组件502之间的交互。 Processing component 502 typically controls the overall operation of electronic device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 502 can include one or more processors 520 to execute instructions to perform all or part of the steps of the above described methods. Moreover, processing component 502 can include one or more modules to facilitate interaction between component 502 and other components. For example, processing component 502 can include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
存储器504被配置为存储各种类型的数据以支持在设备500的操作。这些数据的示例包括用于在电子设备500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 504 is configured to store various types of data to support operation at device 500. Examples of such data include instructions for any application or method operating on electronic device 500, contact data, phone book data, messages, pictures, videos, and the like. The memory 504 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable. Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
电力组件506为电子设备500的各种组件提供电力。电力组件506可以包括电源管理***,一个或多个电源,及其他与为电子设备500生成、管理和分配电力相关联的组件。 Power component 506 provides power to various components of electronic device 500. Power component 506 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 500.
多媒体组件508包括在所述电子设备500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当电子设备500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜***或具有焦距和光学变焦能力。The multimedia component 508 includes a screen that provides an output interface between the electronic device 500 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and/or a rear camera. When the electronic device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当电子设备500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。The audio component 510 is configured to output and/or input an audio signal. For example, the audio component 510 includes a microphone (MIC) that is configured to receive an external audio signal when the electronic device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting an audio signal.
I/O接口512为处理组件502和***接口模块之间提供接口,上述***接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 512 provides an interface between the processing component 502 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
传感器组件514包括一个或多个传感器,用于为电子设备500提供各个方面的状态评估。例如,传感器组件514可以检测到设备500的打开/关闭状态,组件的相对定位,例如所述组件为电子设备500的显示器和小键盘,传感器组件514还可以检测电子设备500或电子设备500一个组件的位置改变,用户与电子设备500接触的存在或不存在,电子设备500方位或加速/减速和电子设备500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 514 includes one or more sensors for providing electronic device 500 with a status assessment of various aspects. For example, sensor component 514 can detect an open/closed state of device 500, a relative positioning of components, such as the display and keypad of electronic device 500, and sensor component 514 can also detect a component of electronic device 500 or electronic device 500. The position changes, the presence or absence of contact of the user with the electronic device 500, the orientation or acceleration/deceleration of the electronic device 500, and the temperature change of the electronic device 500. Sensor assembly 514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件516被配置为便于电子设备500和其他设备之间有线或无线方式的通信。电子设备500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。 在一个示例性实施例中,通信部件514经由广播信道接收来自外部广播管理***的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件514还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 516 is configured to facilitate wired or wireless communication between electronic device 500 and other devices. The electronic device 500 can access a wireless network based on a communication standard such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 514 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 514 also includes a near field communication (NFC) module to facilitate short range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
在示例性实施例中,电子设备500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, electronic device 500 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), A gated array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由电子设备500的处理器520执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium comprising instructions, such as a memory 504 comprising instructions executable by processor 520 of electronic device 500 to perform the above method. For example, the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行一种数据处理方法,所述方法包括:获取输入信息,提取所述输入信息对应多个类型的关键词,所述关键词的类型与多媒体属性信息的类型对应;将不同类型的关键词进行匹配,依据匹配结果获取对应的多媒体数据;推荐所述多媒体数据。A non-transitory computer readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, to enable the electronic device to perform a data processing method, the method comprising: obtaining input information, extracting The input information corresponds to a plurality of types of keywords, and the type of the keyword corresponds to the type of the multimedia attribute information; the different types of keywords are matched, and the corresponding multimedia data is obtained according to the matching result; and the multimedia data is recommended.
可选地,所述提取所述输入信息对应多个类型的关键词,包括:对所述输入信息进行切分,获取对应的分段信息;将所述分段信息与多个类型的词库进行匹配,确定多个类型的关键词。Optionally, the extracting the input information corresponding to multiple types of keywords includes: segmenting the input information, acquiring corresponding segmentation information; and using the segmentation information with multiple types of the thesaurus Matching to determine multiple types of keywords.
可选地,所述类型包括第一类型和第二类型,所述将所述分段信息与多个类型的词库进行匹配,确定多个类型关键词,包括:将所述分段信息与人名词库进行匹配,确定第一类型的关键词;以及将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词。Optionally, the type includes a first type and a second type, and the segment information is matched with the plurality of types of the thesaurus to determine the plurality of types of keywords, including: The human noun library is matched to determine a first type of keyword; and the segmentation information is matched with the multimedia thesaurus to determine a second type of keyword.
可选地,所述将不同类型的关键词进行匹配,包括:查找所述第二类型的关键词对应的多媒体属性信息,并依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配。Optionally, the matching the different types of keywords includes: searching for multimedia attribute information corresponding to the second type of keywords, and determining, according to the multimedia attribute information, the first type of keywords and the first Whether the two types of keywords match.
可选地,所述依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配,包括:判断所述第一类型的关键词是否属于所述多媒体属性信息;若属于,则将所述第一类型的关键词和第二类型的关键词匹配作为匹配结果;若不属于,则将所述第一类型的关键词和第二类型的关键词不匹配作为匹配结果。Optionally, determining whether the keyword of the first type and the keyword of the second type match according to the multimedia attribute information, including: determining whether the keyword of the first type belongs to the multimedia attribute information; If yes, the first type of keyword and the second type of keyword are matched as matching results; if not, the first type of keyword and the second type of keyword are not matched as matching result.
可选地,所述依据匹配结果获取对应的多媒体数据,包括:若所述第一类型的关键词和第二类型的关键词匹配,则依据所述第一类型的关键词和第二类型的关键词获取多媒体数据。Optionally, the acquiring the corresponding multimedia data according to the matching result includes: if the keyword of the first type and the keyword of the second type match, according to the keyword of the first type and the second type Keywords acquire multimedia data.
可选地,还包括:依据所述输入信息的其他信息,对所述多媒体数据进行筛选。Optionally, the method further includes: screening the multimedia data according to other information of the input information.
可选地,还包括:接收播放指令,依据所述播放指令播放对应的多媒体数据。Optionally, the method further includes: receiving a play instruction, and playing corresponding multimedia data according to the play instruction.
可选地,所述获取输入信息,包括:在聊天过程中获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息。Optionally, the obtaining the input information includes: acquiring the local information and the peer information in the chat process, and using the local information and/or the peer information as the input information.
可选地,还包括:接收上屏指令,依据所述多媒体数据对应的链接并将所述链接发送至聊天窗口。Optionally, the method further includes: receiving an on-screen command, according to the link corresponding to the multimedia data, and sending the link to the chat window.
可选地,第一类型的关键词包括以下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述第二类型的关键词包括以下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名。Optionally, the first type of keyword includes at least one of the following: an artist name, an actor name, a director name, a screenwriter name, and a role name, and the second type of keywords includes at least one of the following: a song name, a TV drama name , movie name, variety name, animation name, novel name.
可选地,所述多媒体数据包括以下至少一种:小说、歌曲、电影、电视剧、综艺、动画。Optionally, the multimedia data includes at least one of the following: a novel, a song, a movie, a TV series, a variety show, an animation.
图6是本发明根据另一示例性实施例示出的一种用于数据处理的电子设备600的结构示意图。该电子设备600可以是服务器,该服务器可因配置或性能不同而产生比较大的差异,可以包括一个或一个以***处理器(central processing units,CPU)622(例如,一个或一个以上处理器)和存储器632,一个或一个以上存储应用程序642或数据644的存储介质630(例如一个或一个以上海量存储设备)。其中,存储器632和存储介质630可以是短暂存储或持久存储。存储在存储介质630的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器622可以设置为与存储介质630通信,在服务器上执行存储介质630中的一系列指令操作。FIG. 6 is a schematic structural diagram of an electronic device 600 for data processing according to another exemplary embodiment of the present invention. The electronic device 600 can be a server that can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 622 (eg, one or more processors) And memory 632, one or more storage media 630 that store application 642 or data 644 (eg, one or one storage device in Shanghai). Among them, the memory 632 and the storage medium 630 may be short-term storage or persistent storage. The program stored on storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations in the server. Still further, central processor 622 can be configured to communicate with storage medium 630 to perform a series of instruction operations in storage medium 630 on the server.
服务器还可以包括一个或一个以上电源626,一个或一个以上有线或无线网络接口650,一个或一个以上输入输出接口658,一个或一个以上键盘656,和/或,一个或一个以上操作***641,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The server may also include one or more power sources 626, one or more wired or wireless network interfaces 650, one or more input and output interfaces 658, one or more keyboards 656, and/or one or more operating systems 641, For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
一种电子设备,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:获取输入信息,提取所述输入信息对应多个类型的关键词,所述关键词的类型与多媒体属性信息的类型对应;将不同类型的关键词进行匹配,依据匹配结果获取对应的多媒体数据;推荐所述多媒体数据。An electronic device comprising a memory, and one or more programs, wherein one or more programs are stored in a memory and configured to be executed by one or more processors, the one or more programs included for An instruction to: obtain input information, extract the input information corresponding to multiple types of keywords, the type of the keyword corresponds to a type of multimedia attribute information; match different types of keywords, and obtain according to the matching result Corresponding multimedia data; recommending the multimedia data.
可选地,所述提取所述输入信息对应多个类型的关键词,包括:对所述输入信息进行切分,获取对应的分段信息;将所述分段信息与多个类型的词库进行匹配,确定多个类型的关键词。Optionally, the extracting the input information corresponding to multiple types of keywords includes: segmenting the input information, acquiring corresponding segmentation information; and using the segmentation information with multiple types of the thesaurus Matching to determine multiple types of keywords.
可选地,所述类型包括第一类型和第二类型,所述将所述分段信息与多个类型的词库进行匹配,确定多个类型关键词,包括:将所述分段信息与人名词库进行匹配,确定第一类型的关键词;以及将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词。Optionally, the type includes a first type and a second type, and the segment information is matched with the plurality of types of the thesaurus to determine the plurality of types of keywords, including: The human noun library is matched to determine a first type of keyword; and the segmentation information is matched with the multimedia thesaurus to determine a second type of keyword.
可选地,所述将不同类型的关键词进行匹配,包括:查找所述第二类型的关键词对应的多媒体属性信息,并依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配。Optionally, the matching the different types of keywords includes: searching for multimedia attribute information corresponding to the second type of keywords, and determining, according to the multimedia attribute information, the first type of keywords and the first Whether the two types of keywords match.
可选地,所述依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配,包括:判断所述第一类型的关键词是否属于所述多媒体属性信息;若属于,则将所述第一类型的关键词和第二类型的关键词匹配作为匹配结果;若不属于,则 将所述第一类型的关键词和第二类型的关键词不匹配作为匹配结果。Optionally, determining whether the keyword of the first type and the keyword of the second type match according to the multimedia attribute information, including: determining whether the keyword of the first type belongs to the multimedia attribute information; If yes, the first type of keyword and the second type of keyword are matched as matching results; if not, the first type of keyword and the second type of keyword are not matched as matching result.
可选地,所述依据匹配结果获取对应的多媒体数据,包括:若所述第一类型的关键词和第二类型的关键词匹配,则依据所述第一类型的关键词和第二类型的关键词获取多媒体数据。Optionally, the acquiring the corresponding multimedia data according to the matching result includes: if the keyword of the first type and the keyword of the second type match, according to the keyword of the first type and the second type Keywords acquire multimedia data.
可选地,还包含用于进行以下操作的指令:依据所述输入信息的其他信息,对所述多媒体数据进行筛选。Optionally, an instruction is further included for: screening the multimedia data according to other information of the input information.
可选地,还包含用于进行以下操作的指令:接收播放指令,依据所述播放指令播放对应的多媒体数据。Optionally, an instruction is further included to: receive a play instruction, and play corresponding multimedia data according to the play instruction.
可选地,所述获取输入信息,包括:在聊天过程中获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息。Optionally, the obtaining the input information includes: acquiring the local information and the peer information in the chat process, and using the local information and/or the peer information as the input information.
可选地,还包含用于进行以下操作的指令:接收上屏指令,依据所述多媒体数据对应的链接并将所述链接发送至聊天窗口。Optionally, an instruction is further included to: receive an on-screen instruction, and send the link to the chat window according to the link corresponding to the multimedia data.
可选地,第一类型的关键词包括以下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述第二类型的关键词包括以下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名。Optionally, the first type of keyword includes at least one of the following: an artist name, an actor name, a director name, a screenwriter name, and a role name, and the second type of keywords includes at least one of the following: a song name, a TV drama name , movie name, variety name, animation name, novel name.
可选地,所述多媒体数据包括以下至少一种:小说、歌曲、电影、电视剧、综艺、动画。Optionally, the multimedia data includes at least one of the following: a novel, a song, a movie, a TV series, a variety show, an animation.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments can be referred to each other.
本发明实施例是参照根据本发明实施例的方法、终端设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device such that a series of operational steps are performed on the computer or other programmable terminal device to produce computer-implemented processing, such that the computer or other programmable terminal device The instructions executed above provide steps for implementing the functions specified in one or more blocks of the flowchart or in a block or blocks of the flowchart.
尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。While a preferred embodiment of the present invention has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将 一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities. There is any such actual relationship or order between operations. Furthermore, the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, or terminal device that includes a plurality of elements includes not only those elements but also Other elements that are included, or include elements inherent to such a process, method, article, or terminal device. An element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that comprises the element, without further limitation.
以上对本发明所提供的一种数据处理方法、一种数据处理装置和一种电子设备,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The data processing method, a data processing device and an electronic device provided by the present invention are described in detail above. The principles and embodiments of the present invention are described in the following examples. The description is only for helping to understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The contents of this specification are not to be construed as limiting the invention.

Claims (37)

  1. 一种数据处理方法,其特征在于,包括:A data processing method, comprising:
    获取输入信息,提取所述输入信息对应多个类型的关键词,所述关键词的类型与多媒体属性信息的类型对应;Obtaining input information, extracting the input information corresponding to multiple types of keywords, the type of the keyword corresponding to the type of the multimedia attribute information;
    将不同类型的关键词进行匹配,依据匹配结果获取对应的多媒体数据;Matching different types of keywords, and obtaining corresponding multimedia data according to the matching result;
    推荐所述多媒体数据。The multimedia data is recommended.
  2. 根据权利要求1所述的方法,其特征在于,所述提取所述输入信息对应多个类型的关键词,包括:The method according to claim 1, wherein the extracting the input information corresponds to a plurality of types of keywords, including:
    对所述输入信息进行切分,获取对应的分段信息;Segmenting the input information to obtain corresponding segmentation information;
    将所述分段信息与多个类型的词库进行匹配,确定多个类型的关键词。The segmentation information is matched with a plurality of types of thesaurus to determine a plurality of types of keywords.
  3. 根据权利要求2所述的方法,其特征在于,所述类型包括第一类型和第二类型,所述将所述分段信息与多个类型的词库进行匹配,确定多个类型关键词,包括:The method according to claim 2, wherein said type comprises a first type and a second type, said matching said segmentation information with a plurality of types of thesaurus to determine a plurality of types of keywords, include:
    将所述分段信息与人名词库进行匹配,确定第一类型的关键词;Matching the segmentation information with a human noun library to determine a first type of keyword;
    以及将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词。And matching the segmentation information with the multimedia thesaurus to determine the second type of keywords.
  4. 根据权利要求3所述的方法,其特征在于,所述将不同类型的关键词进行匹配,包括:The method according to claim 3, wherein said matching the different types of keywords comprises:
    查找所述第二类型的关键词对应的多媒体属性信息,并依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配。Searching for multimedia attribute information corresponding to the keyword of the second type, and determining, according to the multimedia attribute information, whether the keyword of the first type and the keyword of the second type match.
  5. 根据权利要求4所述的方法,其特征在于,所述依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配,包括:The method according to claim 4, wherein the determining whether the keyword of the first type and the keyword of the second type match according to the multimedia attribute information comprises:
    判断所述第一类型的关键词是否属于所述多媒体属性信息;Determining whether the keyword of the first type belongs to the multimedia attribute information;
    若属于,则将所述第一类型的关键词和第二类型的关键词匹配作为匹配结果;If yes, matching the first type of keyword with the second type of keyword as a matching result;
    若不属于,则将所述第一类型的关键词和第二类型的关键词不匹配作为匹配结果。If not, the first type of keyword and the second type of keyword do not match as a matching result.
  6. 根据权利要求4所述的方法,其特征在于,所述依据匹配结果获取对应的多媒体数据,包括:The method according to claim 4, wherein the obtaining the corresponding multimedia data according to the matching result comprises:
    若所述第一类型的关键词和第二类型的关键词匹配,则依据所述第一类型的关键词和第二类型的关键词获取多媒体数据。If the keyword of the first type matches the keyword of the second type, the multimedia data is acquired according to the keyword of the first type and the keyword of the second type.
  7. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    依据所述输入信息的其他信息,对所述多媒体数据进行筛选。The multimedia data is filtered according to other information of the input information.
  8. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    接收播放指令,依据所述播放指令播放对应的多媒体数据。Receiving a play instruction, and playing corresponding multimedia data according to the play instruction.
  9. 根据权利要求1所述的方法,其特征在于,所述获取输入信息,包括:The method of claim 1, wherein the obtaining input information comprises:
    在聊天过程中获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息。The local information and the peer information are obtained during the chat process, and the local information and/or the peer information are used as input information.
  10. 根据权利要求9所述的方法,其特征在于,还包括:The method of claim 9 further comprising:
    接收上屏指令,依据所述多媒体数据对应的链接并将所述链接发送至聊天窗口。Receiving an on-screen command, according to the link corresponding to the multimedia data and sending the link to a chat window.
  11. 根据权利要求1-10任一所述的方法,其特征在于,第一类型的关键词包括以下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述第二类型的关键词包括以 下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名。The method according to any one of claims 1 to 10, wherein the first type of keyword comprises at least one of: an artist name, an actor name, a director name, a screenwriter name, a character name, and the second type The keyword includes at least one of the following: a song name, a TV drama name, a movie name, a variety name, an animation name, and a novel name.
  12. 根据权利要求1-10任一所述的方法,其特征在于,所述多媒体数据包括以下至少一种:小说、歌曲、电影、电视剧、综艺、动画。The method according to any one of claims 1 to 10, wherein the multimedia data comprises at least one of the following: a novel, a song, a movie, a TV series, a variety show, an animation.
  13. 一种数据处理装置,其特征在于,包括:A data processing device, comprising:
    信息提取模块,用于获取输入信息,提取所述输入信息对应多个类型的关键词,所述关键词的类型与多媒体属性信息的类型对应;An information extraction module, configured to acquire input information, and extract the input information corresponding to multiple types of keywords, where the type of the keyword corresponds to a type of the multimedia attribute information;
    数据获取模块,用于将不同类型的关键词进行匹配,依据匹配结果获取对应的多媒体数据;a data acquisition module, configured to match different types of keywords, and obtain corresponding multimedia data according to the matching result;
    推荐模块,用于推荐所述多媒体数据。A recommendation module for recommending the multimedia data.
  14. 根据权利要求13所述的装置,其特征在于,所述信息提取模块包括:The device according to claim 13, wherein the information extraction module comprises:
    切分模块,用于对所述输入信息进行切分,获取对应的分段信息;a segmentation module, configured to segment the input information to obtain corresponding segmentation information;
    匹配模块,用于将所述分段信息与多个类型的词库进行匹配,确定多个类型的关键词。And a matching module, configured to match the segmentation information with a plurality of types of the thesaurus to determine a plurality of types of keywords.
  15. 根据权利要求14所述的装置,其特征在于,所述类型包括第一类型和第二类型,The apparatus of claim 14 wherein said type comprises a first type and a second type,
    所述匹配模块,具体用于将所述分段信息与人名词库进行匹配,确定第一类型的关键词;以及将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词。The matching module is specifically configured to match the segmentation information with a human noun library to determine a first type of keyword; and match the segmentation information with a multimedia thesaurus to determine a second type of keyword .
  16. 根据权利要求15所述的装置,其特征在于,所述数据获取模块包括:The device according to claim 15, wherein the data acquisition module comprises:
    查找模块,用于查找所述第二类型的关键词对应的多媒体属性信息;a search module, configured to search for multimedia attribute information corresponding to the keyword of the second type;
    判断模块,用于依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配。The determining module is configured to determine, according to the multimedia attribute information, whether the keyword of the first type and the keyword of the second type match.
  17. 根据权利要求16所述的装置,其特征在于,The device of claim 16 wherein:
    所述判断模块,具体用于判断所述第一类型的关键词是否属于所述多媒体属性信息;若属于,则将所述第一类型的关键词和第二类型的关键词匹配作为匹配结果;若不属于,则将所述第一类型的关键词和第二类型的关键词不匹配作为匹配结果。The determining module is specifically configured to determine whether the keyword of the first type belongs to the multimedia attribute information; if yes, match the keyword of the first type and the keyword of the second type as a matching result; If not, the first type of keyword and the second type of keyword do not match as a matching result.
  18. 根据权利要求16所述的装置,其特征在于,The device of claim 16 wherein:
    所述数据获取模块,用于若所述第一类型的关键词和第二类型的关键词匹配,则依据所述第一类型的关键词和第二类型的关键词获取多媒体数据。The data obtaining module is configured to acquire multimedia data according to the first type of keywords and the second type of keywords if the first type of keywords and the second type of keywords match.
  19. 根据权利要求13所述的装置,其特征在于,还包括:The device according to claim 13, further comprising:
    筛选模块,用于依据所述输入信息的其他信息,对所述多媒体数据进行筛选。And a screening module, configured to filter the multimedia data according to the other information of the input information.
  20. 根据权利要求13所述的装置,其特征在于,还包括:The device according to claim 13, further comprising:
    播放模块,用于接收播放指令,依据所述播放指令播放对应的多媒体数据。The playing module is configured to receive a play instruction, and play corresponding multimedia data according to the play instruction.
  21. 根据权利要求13所述的装置,其特征在于,The device of claim 13 wherein:
    所述信息提取模块,用于在聊天过程中获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息。The information extraction module is configured to obtain the local information and the peer information during the chat process, and use the local information and/or the peer information as the input information.
  22. 根据权利要求13所述的装置,其特征在于,还包括:The device according to claim 13, further comprising:
    发送模块,用于接收上屏指令,依据所述多媒体数据对应的链接并将所述链接发送至聊天窗口。And a sending module, configured to receive an on-screen command, according to the link corresponding to the multimedia data, and send the link to a chat window.
  23. 根据权利要求13-22任一所述的装置,其特征在于,第一类型的关键词包括以 下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述第二类型的关键词包括以下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名。The apparatus according to any one of claims 13 to 22, wherein the first type of keyword comprises at least one of the following: an artist name, an actor name, a director name, a screenwriter name, a character name, and the second type The keyword includes at least one of the following: a song name, a TV drama name, a movie name, a variety name, an animation name, and a novel name.
  24. 根据权利要求13-22任一所述的装置,其特征在于,所述多媒体数据包括以下至少一种:小说、歌曲、电影、电视剧、综艺、动画。The apparatus according to any one of claims 13-22, wherein the multimedia data comprises at least one of the following: a novel, a song, a movie, a TV series, a variety show, an animation.
  25. 一种可读存储介质,其特征在于,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行如方法权利要求1-12任一所述的数据处理方法。A readable storage medium, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the data processing method of any of claims 1-12.
  26. 一种电子设备,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:An electronic device, comprising: a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one or more by one or more processors The program contains instructions for doing the following:
    获取输入信息,提取所述输入信息对应多个类型的关键词,所述关键词的类型与多媒体属性信息的类型对应;Obtaining input information, extracting the input information corresponding to multiple types of keywords, the type of the keyword corresponding to the type of the multimedia attribute information;
    将不同类型的关键词进行匹配,依据匹配结果获取对应的多媒体数据;Matching different types of keywords, and obtaining corresponding multimedia data according to the matching result;
    推荐所述多媒体数据。The multimedia data is recommended.
  27. 根据权利要求26所述的电子设备,其特征在于,所述提取所述输入信息对应多个类型的关键词,包括:The electronic device according to claim 26, wherein the extracting the input information corresponds to a plurality of types of keywords, including:
    对所述输入信息进行切分,获取对应的分段信息;Segmenting the input information to obtain corresponding segmentation information;
    将所述分段信息与多个类型的词库进行匹配,确定多个类型的关键词。The segmentation information is matched with a plurality of types of thesaurus to determine a plurality of types of keywords.
  28. 根据权利要求27所述的电子设备,其特征在于,所述类型包括第一类型和第二类型,所述将所述分段信息与多个类型的词库进行匹配,确定多个类型关键词,包括:The electronic device according to claim 27, wherein said type comprises a first type and a second type, said matching said segmentation information with a plurality of types of thesaurus to determine a plurality of types of keywords ,include:
    将所述分段信息与人名词库进行匹配,确定第一类型的关键词;Matching the segmentation information with a human noun library to determine a first type of keyword;
    以及将所述分段信息与多媒体词库进行匹配,确定第二类型的关键词。And matching the segmentation information with the multimedia thesaurus to determine the second type of keywords.
  29. 根据权利要求28所述的电子设备,其特征在于,所述将不同类型的关键词进行匹配,包括:The electronic device according to claim 28, wherein the matching the different types of keywords comprises:
    查找所述第二类型的关键词对应的多媒体属性信息,并依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配。Searching for multimedia attribute information corresponding to the keyword of the second type, and determining, according to the multimedia attribute information, whether the keyword of the first type and the keyword of the second type match.
  30. 根据权利要求29所述的电子设备,其特征在于,所述依据所述多媒体属性信息判断所述第一类型的关键词和第二类型的关键词是否匹配,包括:The electronic device according to claim 29, wherein the determining whether the keyword of the first type and the keyword of the second type match according to the multimedia attribute information comprises:
    判断所述第一类型的关键词是否属于所述多媒体属性信息;Determining whether the keyword of the first type belongs to the multimedia attribute information;
    若属于,则将所述第一类型的关键词和第二类型的关键词匹配作为匹配结果;If yes, matching the first type of keyword with the second type of keyword as a matching result;
    若不属于,则将所述第一类型的关键词和第二类型的关键词不匹配作为匹配结果。If not, the first type of keyword and the second type of keyword do not match as a matching result.
  31. 根据权利要求29所述的电子设备,其特征在于,所述依据匹配结果获取对应的多媒体数据,包括:The electronic device according to claim 29, wherein the obtaining the corresponding multimedia data according to the matching result comprises:
    若所述第一类型的关键词和第二类型的关键词匹配,则依据所述第一类型的关键词和第二类型的关键词获取多媒体数据。If the keyword of the first type matches the keyword of the second type, the multimedia data is acquired according to the keyword of the first type and the keyword of the second type.
  32. 根据权利要求26所述的电子设备,其特征在于,还包含用于进行以下操作的指令:The electronic device of claim 26, further comprising instructions for:
    依据所述输入信息的其他信息,对所述多媒体数据进行筛选。The multimedia data is filtered according to other information of the input information.
  33. 根据权利要求26所述的电子设备,其特征在于,还包含用于进行以下操作的指 令:The electronic device of claim 26, further comprising instructions for:
    接收播放指令,依据所述播放指令播放对应的多媒体数据。Receiving a play instruction, and playing corresponding multimedia data according to the play instruction.
  34. 根据权利要求26所述的电子设备,其特征在于,所述获取输入信息,包括:The electronic device according to claim 26, wherein the obtaining input information comprises:
    在聊天过程中获取本端信息和对端信息,将所述本端信息和/或对端信息作为输入信息。The local information and the peer information are obtained during the chat process, and the local information and/or the peer information are used as input information.
  35. 根据权利要求34所述的电子设备,其特征在于,还包含用于进行以下操作的指令:The electronic device of claim 34, further comprising instructions for:
    接收上屏指令,依据所述多媒体数据对应的链接并将所述链接发送至聊天窗口。Receiving an on-screen command, according to the link corresponding to the multimedia data and sending the link to a chat window.
  36. 根据权利要求26-35任一所述的电子设备,其特征在于,第一类型的关键词包括以下至少一种:歌手名、演员名、导演名、编剧名、角色名,所述第二类型的关键词包括以下至少一种:歌曲名、电视剧名、电影名、综艺名、动画名、小说名。The electronic device according to any one of claims 26 to 35, wherein the first type of keyword comprises at least one of the following: an artist name, an actor name, a director name, a screenwriter name, a character name, and the second type. The keywords include at least one of the following: song name, TV drama name, movie name, variety name, animation name, novel name.
  37. 根据权利要求26-35任一所述的电子设备,其特征在于,所述多媒体数据包括以下至少一种:小说、歌曲、电影、电视剧、综艺、动画。The electronic device according to any one of claims 26 to 35, wherein the multimedia data comprises at least one of the following: a novel, a song, a movie, a TV series, a variety show, an animation.
PCT/CN2019/071009 2018-04-11 2019-01-09 Data processing method, apparatus and electronic device WO2019196527A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810321907.6 2018-04-11
CN201810321907.6A CN110377766A (en) 2018-04-11 2018-04-11 A kind of data processing method, device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2019196527A1 true WO2019196527A1 (en) 2019-10-17

Family

ID=68163880

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/071009 WO2019196527A1 (en) 2018-04-11 2019-01-09 Data processing method, apparatus and electronic device

Country Status (2)

Country Link
CN (1) CN110377766A (en)
WO (1) WO2019196527A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625885A (en) * 2020-05-08 2021-11-09 北京搜狗科技发展有限公司 Input method, input device and input device
CN112068711A (en) * 2020-08-25 2020-12-11 北京搜狗科技发展有限公司 Information recommendation method and device of input method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142936A (en) * 2013-05-07 2014-11-12 腾讯科技(深圳)有限公司 Audio and video match method and audio and video match device
CN106446027A (en) * 2016-08-30 2017-02-22 五八同城信息技术有限公司 Information recommendation method and apparatus
CN106446235A (en) * 2016-10-10 2017-02-22 Tcl集团股份有限公司 Video searching method and device
CN106776741A (en) * 2016-11-18 2017-05-31 北京奇虎科技有限公司 A kind of searching method and device
CN107247783A (en) * 2017-06-14 2017-10-13 上海思依暄机器人科技股份有限公司 A kind of method and device of phonetic search music

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298429B (en) * 2014-09-25 2018-05-04 北京搜狗科技发展有限公司 A kind of information displaying method and input method system based on input

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142936A (en) * 2013-05-07 2014-11-12 腾讯科技(深圳)有限公司 Audio and video match method and audio and video match device
CN106446027A (en) * 2016-08-30 2017-02-22 五八同城信息技术有限公司 Information recommendation method and apparatus
CN106446235A (en) * 2016-10-10 2017-02-22 Tcl集团股份有限公司 Video searching method and device
CN106776741A (en) * 2016-11-18 2017-05-31 北京奇虎科技有限公司 A kind of searching method and device
CN107247783A (en) * 2017-06-14 2017-10-13 上海思依暄机器人科技股份有限公司 A kind of method and device of phonetic search music

Also Published As

Publication number Publication date
CN110377766A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
TWI720062B (en) Voice input method, device and terminal equipment
RU2666966C2 (en) Audio playback control method and device
WO2020029966A1 (en) Method and device for video processing, electronic device, and storage medium
CN107644646B (en) Voice processing method and device for voice processing
WO2017157040A1 (en) Search method and device, and device used for searching
WO2016165325A1 (en) Audio information recognition method and apparatus
CN111128183B (en) Speech recognition method, apparatus and medium
CN105335414B (en) Music recommendation method and device and terminal
CN109413478B (en) Video editing method and device, electronic equipment and storage medium
CN109144285B (en) Input method and device
WO2019109663A1 (en) Cross-language search method and apparatus, and apparatus for cross-language search
CN105447109A (en) Key word searching method and apparatus
CN112068711A (en) Information recommendation method and device of input method and electronic equipment
WO2023078414A1 (en) Related article search method and apparatus, electronic device, and storage medium
CN111046210A (en) Information recommendation method and device and electronic equipment
WO2018018912A1 (en) Search method and apparatus, and electronic device
WO2019196527A1 (en) Data processing method, apparatus and electronic device
CN110244860A (en) A kind of input method, device and electronic equipment
WO2022116527A1 (en) Data processing method and device
WO2016197549A1 (en) Searching method and apparatus
WO2015188589A1 (en) User data update method and device
CN112988956B (en) Method and device for automatically generating dialogue, and method and device for detecting information recommendation effect
CN111324214B (en) Statement error correction method and device
WO2019144724A1 (en) Expression input method and apparatus
WO2023279726A1 (en) Video generation method and apparatus, and electronic device, storage medium, computer program and computer program product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19784774

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19784774

Country of ref document: EP

Kind code of ref document: A1