WO2020056772A1 - Information recommendation method and device, terminal, and storage medium - Google Patents

Information recommendation method and device, terminal, and storage medium Download PDF

Info

Publication number
WO2020056772A1
WO2020056772A1 PCT/CN2018/107118 CN2018107118W WO2020056772A1 WO 2020056772 A1 WO2020056772 A1 WO 2020056772A1 CN 2018107118 W CN2018107118 W CN 2018107118W WO 2020056772 A1 WO2020056772 A1 WO 2020056772A1
Authority
WO
WIPO (PCT)
Prior art keywords
shorthand
information
feature set
entry
task execution
Prior art date
Application number
PCT/CN2018/107118
Other languages
French (fr)
Chinese (zh)
Inventor
谢琴
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2018/107118 priority Critical patent/WO2020056772A1/en
Priority to CN201880096955.8A priority patent/CN112639770A/en
Publication of WO2020056772A1 publication Critical patent/WO2020056772A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the embodiments of the present application relate to electronic technology, and relate to, but are not limited to, an information recommendation method and device, terminal, and storage medium.
  • the embodiments of the present application provide an information recommendation method, device, terminal, and storage medium in order to solve at least one problem in the related technology.
  • an embodiment of the present application provides an information recommendation method, where the method includes:
  • the shorthand feature set includes keywords for characterizing a task, determining a task execution location corresponding to the shorthand information
  • an information recommendation device where the device includes:
  • the shorthand analysis module is configured to analyze the shorthand information recorded by the shorthand entry to obtain a shorthand feature set
  • a position determining module configured to determine a task execution location corresponding to the shorthand information if the shorthand feature set includes keywords for characterizing a task
  • An information acquisition module configured to acquire information to be recommended according to the task execution location and the shorthand feature set
  • the information recommendation module is configured to recommend the information to be recommended.
  • an embodiment of the present application provides a terminal including a memory and a processor.
  • the memory stores a computer program that can be run on the processor.
  • the processor executes the program, the information in the information recommendation method is implemented. step.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the steps in the foregoing information recommendation method are implemented.
  • the shorthand feature set includes keywords for characterizing a task, determining a task execution location corresponding to the shorthand information, The information to be recommended is obtained according to the task execution place and the shorthand feature set, and recommendation is performed. In this way, by combining the task execution place, when making information recommendation based on shorthand information, it is possible to avoid recommending some redundant and meaningless messages, and further improve the accuracy and intelligence of the information recommendation.
  • FIG. 1 is a schematic flowchart of an information recommendation method according to an embodiment of the present application.
  • FIG. 2A is a schematic flowchart of another information recommendation method according to an embodiment of the present application.
  • 2B is an interface diagram showing multiple shorthand entries according to an embodiment of the present application.
  • 2C is a schematic flowchart of another method for recommending information according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of implementing another information recommendation method according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an information recommendation device according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a hardware entity of a terminal according to an embodiment of the present application.
  • An embodiment of the present application provides an information recommendation method.
  • the method is applied to a terminal.
  • the terminal may be various types of electronic devices with information recommendation capabilities during the implementation process.
  • the terminal may include a mobile phone or a tablet.
  • the functions implemented by this method can be implemented by the processor in the terminal calling program code.
  • the program code can be stored in a computer storage medium. It can be seen that the terminal includes at least a processor and a storage medium.
  • FIG. 1 is a schematic flowchart of an information recommendation method according to an embodiment of the present application. As shown in FIG. 1, the method includes:
  • the shorthand information refers to some information that a user quickly records through a terminal, for example, creative inspiration, to-do items, and the like.
  • shorthand information is saved as shorthand entries, for example, saving shorthand information on a shorthand card.
  • the shorthand feature set includes at least one shorthand feature.
  • the shorthand feature may be time, a person's name, a place name, a thing name, a keyword used to characterize a task, and the like.
  • the shorthand feature set includes keywords for characterizing a task, determine a task execution location corresponding to the shorthand information
  • the shorthand feature set includes keywords used to characterize tasks, it indicates that the shorthand information may be recorded by the user to perform the task, for example, the shorthand information is "9.12 go to Shenzhen to participate in an academic seminar" , Where "participate” is a keyword used to characterize the task.
  • the verb can be determined as a keyword used to characterize a task.
  • the shorthand feature set includes "meeting”, “travel”, “medical examination”, “watching a movie”, “shopping”, “dating”, “blind date”, “interview”, “injection”, and other verb attributes. Shorthand features.
  • the task execution location refers to the task execution location when the user executes the task recorded in the shorthand information.
  • the shorthand information records “9.11 meets in Room 2101 of Xidian", where: “Western Electric's Room 2101” is the place where the task is performed when the task of "meeting” is performed; for another example, the shorthand information records "9.12 went to Shenzhen to participate in the academic seminar", of which "Shenzhen” is to perform "participate in academic seminars” The location at which the mission will be performed.
  • the information to be recommended may be obtained directly according to the shorthand feature set.
  • the shorthand feature set that is, there is no verb in the shorthand information recorded by the shorthand entry
  • the user may not record the task to be performed, but to record some information, for example, Only one dish name is recorded in the shorthand information.
  • information to be recommended can be obtained based on the dish name, for example, recommending a cooking process corresponding to the dish name for the user; for another example, the shorthand information is a photo, and through image analysis, Get the shorthand feature of this photo as "beer of a certain brand".
  • information associated with the task execution place and the shorthand feature in the shorthand feature set may be retrieved from an information recommendation database, for example, a task The place of execution is Chongqing, and the shorthand feature is the keywords: "9.11" and "travel”. Then, at this time, you can retrieve the information about the special airfare from September 11 to Chongqing from the user's current recommendation database, or , Retrieve relevant information of hotels in Chongqing (for example, hotel name, hotel address, prices of different rooms in the hotel, etc.) from the information recommendation database, or retrieve relevant information of hot pot restaurants in Chongqing, etc. from the information recommendation database.
  • a task The place of execution is Chongqing
  • the shorthand feature is the keywords: "9.11" and "travel”.
  • the information recommendation database may be a database provided by a third party, for example, a database of a search engine, a database of an online shopping application, a database of news information, etc., or a service provider that implements the method. Database.
  • displaying the to-be-recommended information in a notification bar For example, displaying the to-be-recommended information in a notification bar; for another example, when the shorthand entry receives a viewing instruction, while displaying the shorthand information recorded by the shorthand entry, it is displayed below the shorthand entry The information to be recommended.
  • the shorthand feature set includes keywords for characterizing a task
  • determine a task execution location corresponding to the shorthand information And obtain to-be-recommended information according to the task execution location and the shorthand feature set, and make a recommendation.
  • FIG. 2A is a schematic flowchart of another information recommendation method according to an embodiment of the present application. As shown in FIG. 2A, the method includes the following steps:
  • S201 Receive a viewing instruction, where the viewing instruction is used to instruct displaying shorthand information of a shorthand entry record being viewed;
  • the user may save multiple shorthand entries, that is, record multiple shorthand information.
  • the shorthand entries 21 to 2M are displayed in a collapsed state, where M is an integer greater than or equal to 1, that is, when the shorthand entries 21 to 2M are collapsed and displayed, only the shorthand entries 21 to 2M are displayed. Part of the recorded shorthand information, for example, only 10 characters are displayed. Therefore, when a user wants to view the complete shorthand information in a shorthand entry, they need to click the shorthand entry to be viewed.
  • N N shorthand entries associated with the viewed shorthand entry according to the shorthand information recorded by the viewed shorthand entry, where N is an integer greater than or equal to 1.
  • At least one shorthand feature is extracted from the shorthand information recorded by the viewed shorthand entry, and then the shorthand information recorded by the shorthand entry (including the viewed shorthand entry) that matches the shorthand feature is detected.
  • Number if the number of matching shorthand characteristics exceeds a preset number, it is determined that the shorthand entry is associated with the viewed shorthand entry; for example, the shorthand information recorded by the viewed shorthand entry is "can be designed on the bedroom bay window" "Book shelf”, which includes shorthand features (ie, keywords) as "bedroom", “bay window”, “design”, “book shelf”, and another shorthand entry recorded by the shorthand entry is "bedroom with a European-style lamp", which The included shorthand features are "bedroom", “equipped”, and "light”.
  • the shorthand features recorded in the other shorthand entry records and the shorthand features recorded in the shorthand information records of the viewed shorthand entries (ie, keywords) ) Matches: "Bedroom", “Fashion” (similar to the meaning of "Design"), assuming the preset number is 1, then determine that the other shorthand entry and the shorthand being viewed Entry association. It should be noted that the N shorthand entries include the shorthand entries being viewed.
  • the shorthand information records may be tasks or events to be performed by the user.
  • the keywords representing tasks are “meeting”, “travel” , “Party” and other action words.
  • step S206 Determine the task execution location according to the keywords representing the location, and then proceed to step S210.
  • the shorthand information is "Saturday business trip to Chongqing”.
  • the shorthand feature set obtained includes “Saturday”, “Chongqing”, and “travel”.
  • the keyword used to characterize the location is "Chongqing”.
  • "Chongqing” may be determined as the place where the task is performed.
  • step S208 Determine the position of the terminal at the task execution time as the task execution location, and then proceed to step S210;
  • the shorthand feature set includes a task
  • the execution time determines the position of the terminal at the task execution time as the task execution place.
  • the shorthand information is “Saturday business trip”
  • the corresponding shorthand feature set includes “Saturday” and “business trip”. Because there is no keyword used to characterize the location, the position of the terminal on Saturday can be determined as The place where the task is performed.
  • determining the position of the terminal at the task execution time as the task execution location includes: obtaining the terminal's location at a preset time interval within a time period corresponding to the task execution time. The current position, and detecting whether the distance between the current position of the terminal and the position of the terminal at a previous time exceeds a preset distance threshold; if the distance exceeds the distance threshold, the current position of the terminal is Determined as the place where the task is performed.
  • the current location of the terminal may be determined as the task execution location at this time, for example, The shorthand information is "watch a movie", and the corresponding shorthand feature set includes the keyword "movie”. If the current position of the terminal is determined as the task execution location at this time, then according to the current position of the terminal and The keyword "movie" can be used to obtain a movie theater that is closer to the terminal's current location and recommend it to users.
  • step S210 Acquire to-be-recommended information according to the task execution location and the shorthand feature set, and then proceed to step S212;
  • step S211 Acquire the information to be recommended according to the shorthand feature set, and then proceed to step S212;
  • the task execution location is determined according to the keyword representing the position; if the shorthand feature set does not include the A keyword to characterize the position, and the shorthand feature set includes task execution time, and the position of the terminal at the task execution time is determined as the task execution location; if the shorthand feature set does not have the for characterization The keyword of the location, and the task execution time is not included in the shorthand feature set, and the current location of the terminal is determined as the task execution location.
  • the determined task execution location is more consistent with the actual recorded content of the shorthand information, so that more effective to-be-recommended information can be obtained according to the task execution location and shorthand feature set, that is, the to-be-recommended information that is more in line with user needs.
  • the analyzing the shorthand information recorded in the N shorthand entries to obtain a shorthand feature set includes:
  • shorthand types of shorthand entries are Video shorthand, voice shorthand, and text shorthand, where shorthand entries obtained through the video shorthand function generally include video or images, shorthand entries obtained through the voice shorthand function generally include voice data, and shorthand entries obtained through the text shorthand function generally include text information .
  • the shorthand type of the one shorthand entry may be determined according to the data type of the shorthand information recorded by the one shorthand entry.
  • the shorthand type of the one shorthand entry is JPEG, that is, an image
  • the shorthand type of the one shorthand entry is image shorthand.
  • the data type of the shorthand information recorded by the one shorthand entry is MP3, that is, a recording
  • it can be determined that the shorthand type of the one shorthand entry is a voice shorthand.
  • the shorthand type is image shorthand, analyze the images in the one shorthand entry to obtain a shorthand feature subset, and determine the shorthand type of the next shorthand entry in the N shorthand entries;
  • the image includes an image and a video. If the image in the shorthand entry is image data, the image may be analyzed to obtain a shorthand feature subset; if the image in the shorthand entry is video data, in addition to the video data, In addition to analyzing the frame image to obtain a shorthand feature subset, the voice data and text data in the video data can also be analyzed to obtain a shorthand feature subset. In other embodiments, if the one shorthand entry includes an image and a text label corresponding to the image, the shorthand feature extraction may be performed on the text label to obtain a shorthand feature subset. For example, the text label and the Fields that match the preset fields are determined as a shorthand feature subset. It should be noted that, in the embodiment of the present application, the field matching the preset field refers to a field that is the same as or similar in semantics to the preset field.
  • the shorthand type is a voice shorthand, perform semantic analysis on the voice data in the one shorthand entry to obtain a shorthand feature subset, and determine the shorthand type of the next shorthand entry in the N shorthand entries;
  • the text content corresponding to the voice data may be directly extracted from the text content corresponding to the voice data and matches a preset field. Field, and the field matching the preset field is determined as a shorthand feature subset.
  • the type of the shorthand is text shorthand, determine a field that matches the preset field in the text information of the one shorthand entry record as a shorthand feature subset, and determine the next shorthand among the N shorthand entries The shorthand type of the entry.
  • the recommending the information to be recommended may include the following steps:
  • S2123 Recommend the information to be recommended whose matching degree exceeds a preset threshold.
  • recommending only the information to be recommended whose matching degree exceeds a preset threshold can avoid recommending some redundant information.
  • FIG. 3 is a schematic flowchart of another information recommendation method according to the embodiment of the present application. As shown in FIG. 3, the method may include the following steps:
  • the current positioning information is the task execution location described in the foregoing embodiment.
  • shorthand keywords are shorthand features in the shorthand feature set described in the foregoing embodiment.
  • the search result is the information to be recommended according to the foregoing embodiment. Understandably, when searching according to the shorthand keywords, it is combined with the current positioning information to obtain search results related to the current positioning information, so that the usability of the search results can be improved. For example, if the current location information is Xi'an and the short-term keywords are hospitals, the search results obtained can be "characteristic departments of various hospitals in Xi'an", "Xi'an Hospital Ranking", and so on.
  • the above information recommendation method can solve the problem of redundant and meaningless search results obtained when searching according to shorthand information in other embodiments, and further improve the accuracy and intelligence of the search results.
  • an embodiment of the present application provides an information recommendation device.
  • the device includes each module included, and each unit included in each module can be implemented by a processor in a terminal; of course, it can also be implemented by a specific
  • the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
  • FIG. 4 is a schematic structural diagram of an information recommendation device according to an embodiment of the present application.
  • the device 400 includes a shorthand analysis module 401, a location determination module 402, an information acquisition module 403, and an information recommendation module 404;
  • the shorthand analysis module 401 is configured to analyze the shorthand information recorded by the shorthand entry to obtain a shorthand feature set
  • a position determining module 402 configured to determine a task execution location corresponding to the shorthand information if the shorthand feature set includes keywords for characterizing a task
  • An information acquisition module 403 configured to acquire information to be recommended according to the task execution location and the shorthand feature set
  • the shorthand analysis module 401 includes:
  • a receiving unit configured to receive a viewing instruction, where the viewing instruction is used to instruct display of shorthand information of a shorthand entry record being viewed;
  • a determining unit configured to determine N shorthand entries associated with the viewed shorthand entry according to the shorthand information recorded by the viewed shorthand entry, where N is an integer greater than or equal to 1;
  • the analysis unit is configured to analyze the shorthand information recorded by the N shorthand entries to obtain a shorthand feature set.
  • the analysis unit is configured to:
  • the shorthand type is image shorthand, analyze the images in the one shorthand entry to obtain a shorthand feature subset, and determine the shorthand type of the next shorthand entry in the N shorthand entries;
  • the shorthand type is a voice shorthand, perform a semantic analysis on the voice data in the one shorthand entry to obtain a shorthand feature subset, and determine the shorthand type of the next shorthand entry in the N shorthand entries;
  • shorthand If the type of shorthand is text shorthand, determine a field in the text information of the shorthand entry record that matches a preset field as a subset of shorthand features, and determine the next shorthand entry in the N shorthand entries. Shorthand type.
  • the location determining module 402 is configured to:
  • the shorthand feature set includes keywords for characterizing a location, determining the task execution location according to the keywords for characterizing the location;
  • the current position of the device 400 is determined as the task execution place.
  • the information recommendation module 404 includes:
  • a model establishing unit configured to establish a user preference model based on the shorthand information of the historical shorthand entries
  • a matching degree determining unit configured to determine a matching degree between the information to be recommended and a user according to the user preference model
  • the information recommendation unit is configured to recommend the information to be recommended whose matching degree exceeds a preset threshold.
  • the above information recommendation method is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the computer software product is stored in a storage medium and includes several instructions to make
  • the terminal which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc. executes all or part of the methods described in the embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (Read Only Memory, ROM), a magnetic disk, or an optical disk, which can store program codes.
  • ROM Read Only Memory
  • magnetic disk or an optical disk, which can store program codes.
  • FIG. 5 is a schematic diagram of a hardware entity of the terminal according to the embodiment of the present application.
  • the terminal 500 includes a memory 501 and a processor 502.
  • the memory 501 A computer program that can be run on the processor 502 is stored, and when the processor 502 executes the program, the steps in the information recommendation method provided in the foregoing embodiments are implemented.
  • the memory 501 is configured to store instructions and applications executable by the processor 502, and may also cache data to be processed or processed by each module in the processor 502 and the terminal 500 (for example, image data, audio data, (Voice communication data and video communication data), can be realized by flash memory (FLASH) or random access memory (Random Access Memory, RAM).
  • FLASH flash memory
  • RAM Random Access Memory
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the steps in the information recommendation method provided in the foregoing embodiment are implemented.
  • an embodiment or “an embodiment” mentioned throughout the specification means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application.
  • the appearances of "in one embodiment” or “in an embodiment” appearing throughout the specification are not necessarily referring to the same embodiment.
  • the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • the size of the sequence numbers of the above processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not deal with the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the superiority or inferiority of the embodiments.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed components are coupled, or directly coupled, or communicated with each other through some interfaces.
  • the indirect coupling or communication connection of the device or unit may be electrical, mechanical, or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer-readable storage medium.
  • the execution includes Steps of the above method embodiment; and the foregoing storage medium includes: various types of media that can store program codes, such as a mobile storage device, a read-only memory (Read Only Memory, ROM), a magnetic disk, or an optical disc.
  • ROM Read Only Memory
  • the above-mentioned integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the computer software product is stored in a storage medium and includes several instructions to make A terminal (which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc.) executes all or part of the methods described in the embodiments of the present application.
  • the foregoing storage media include: various types of media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disc.
  • the shorthand feature set includes keywords for characterizing a task, determining a task execution location corresponding to the shorthand information, The information to be recommended is obtained according to the task execution place and the shorthand feature set, and recommendation is performed. In this way, by combining the task execution place, when making information recommendation based on shorthand information, it is possible to avoid recommending some redundant and meaningless messages, and further improve the accuracy and intelligence of the information recommendation.

Abstract

The embodiments of the present application provide an information recommendation method and device, a terminal, and a storage medium. Said method comprises: analyzing rapid record information recorded in a rapid record entry, so as to obtain a rapid record feature set; if the rapid record feature set comprises keywords for characterizing a task, determining a task execution location corresponding to the rapid record information; according to the task execution location and the rapid record feature set, acquiring information to be recommended; and recommending the information to be recommended.

Description

一种信息推荐方法及装置、终端、存储介质Information recommendation method and device, terminal and storage medium 技术领域Technical field
本申请实施例涉及电子技术,涉及但不限于一种信息推荐方法及装置、终端、存储介质。The embodiments of the present application relate to electronic technology, and relate to, but are not limited to, an information recommendation method and device, terminal, and storage medium.
背景技术Background technique
随着终端技术的发展,为了满足人们在日常生活和工作中需要随时随地的记录一些待办事项、备忘、灵感等需求,市面上出现了各种速记应用和速记工具,给多任务处理者、健忘的人、灵感创作者、移动办公者等人群带来了极大的便利。With the development of terminal technology, in order to meet the needs of people to record some to-do items, notes, inspirations, etc. in daily life and work, various shorthand applications and shorthand tools have appeared on the market for multitasking processors. , Forgetful people, inspiration creators, mobile workers and other groups bring great convenience.
在大多数速记应用中,当用户点击查看速记应用中的速记内容时,通常会在显示速记内容时,为用户推荐一些信息。然而,在根据速记内容进行信息推荐时,经常会推荐一些冗余无意义的消息。In most shorthand applications, when a user clicks to view the shorthand content in the shorthand application, it is usually recommended for the user when the shorthand content is displayed. However, when recommending information based on shorthand content, redundant and meaningless messages are often recommended.
发明内容Summary of the Invention
有鉴于此,本申请实施例为解决相关技术中存在的至少一个问题而提供一种信息推荐方法及装置、终端、存储介质。In view of this, the embodiments of the present application provide an information recommendation method, device, terminal, and storage medium in order to solve at least one problem in the related technology.
本申请实施例的技术方案是这样实现的:The technical solution of the embodiment of the present application is implemented as follows:
第一方面,本申请实施例提供一种信息推荐方法,所述方法包括:In a first aspect, an embodiment of the present application provides an information recommendation method, where the method includes:
对速记条目记录的速记信息进行分析,得到速记特征集合;Analyze the shorthand information recorded in the shorthand entry to obtain the shorthand feature set;
如果所述速记特征集合中包括用于表征任务的关键词,确定所述速记信息对应的任务执行地;If the shorthand feature set includes keywords for characterizing a task, determining a task execution location corresponding to the shorthand information;
根据所述任务执行地和所述速记特征集合获取待推荐信息;Acquiring to-be-recommended information according to the task execution place and the shorthand feature set;
将所述待推荐信息进行推荐。Recommend the information to be recommended.
第二方面,本申请实施例提供一种信息推荐装置,所述装置包括:In a second aspect, an embodiment of the present application provides an information recommendation device, where the device includes:
速记分析模块,配置为对速记条目记录的速记信息进行分析,得到速记特征集合;The shorthand analysis module is configured to analyze the shorthand information recorded by the shorthand entry to obtain a shorthand feature set;
位置确定模块,配置为如果所述速记特征集合中包括用于表征任务的关键词,确定所述速记信息对应的任务执行地;A position determining module configured to determine a task execution location corresponding to the shorthand information if the shorthand feature set includes keywords for characterizing a task;
信息获取模块,配置为根据所述任务执行地和所述速记特征集合获取待推荐信息;An information acquisition module configured to acquire information to be recommended according to the task execution location and the shorthand feature set;
信息推荐模块,配置为将所述待推荐信息进行推荐。The information recommendation module is configured to recommend the information to be recommended.
第三方面,本申请实施例提供一种终端,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述信息推荐方法中的步骤。According to a third aspect, an embodiment of the present application provides a terminal including a memory and a processor. The memory stores a computer program that can be run on the processor. When the processor executes the program, the information in the information recommendation method is implemented. step.
第四方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述信息推荐方法中的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the foregoing information recommendation method are implemented.
本申请实施例中,在对速记条目记录的速记信息进行分析,得到速记特征集合之后,如果所述速记特征集合中包括用于表征任务的关键词,确定所述速记信息对应的任务执行地,并根据所述任务执行地和所述速记特征集合获取待推荐信息,并进行推荐。这样,通过结合任务执行地,在根据速记信息进行信息推荐时,能够避免推荐一些冗余无意义的消息,进一步提高信息推荐的准确性和智能性。In the embodiment of the present application, after analyzing the shorthand information recorded in the shorthand entry to obtain a shorthand feature set, if the shorthand feature set includes keywords for characterizing a task, determining a task execution location corresponding to the shorthand information, The information to be recommended is obtained according to the task execution place and the shorthand feature set, and recommendation is performed. In this way, by combining the task execution place, when making information recommendation based on shorthand information, it is possible to avoid recommending some redundant and meaningless messages, and further improve the accuracy and intelligence of the information recommendation.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例信息推荐方法的实现流程示意图;1 is a schematic flowchart of an information recommendation method according to an embodiment of the present application;
图2A为本申请实施例的另一信息推荐方法的实现流程示意图;2A is a schematic flowchart of another information recommendation method according to an embodiment of the present application;
图2B为本申请实施例的显示多个速记条目的界面图;2B is an interface diagram showing multiple shorthand entries according to an embodiment of the present application;
图2C为本申请实施例的又一信息推荐方法的实现流程示意图;2C is a schematic flowchart of another method for recommending information according to an embodiment of the present application;
图3为本申请实施例的再一信息推荐方法的实现流程示意图;FIG. 3 is a schematic flowchart of implementing another information recommendation method according to an embodiment of the present application; FIG.
图4为本申请实施例信息推荐装置的组成结构示意图;4 is a schematic structural diagram of an information recommendation device according to an embodiment of the present application;
图5为本申请实施例终端的一种硬件实体示意图。FIG. 5 is a schematic diagram of a hardware entity of a terminal according to an embodiment of the present application.
具体实施方式detailed description
下面结合附图和实施例对本申请的技术方案进一步详细阐述。The technical solution of the present application will be further described in detail below with reference to the accompanying drawings and embodiments.
本申请实施例提供一种信息推荐方法,该方法应用于终端,一般来说,终端在实施的过程中可以为各种类型的具有信息推荐能力的电子设备,例如所述终端可以包括手机、平板电脑、台式机、个人数字助理、导航仪、数字电话、视频电话、电视机、传感设备等。该方法所实现的功能可以通过终端中的处理器调用程序代码来实现,当然程序代码可以保存在计算机存储介质中,可见,该终端至少包括处理器和存储介质。An embodiment of the present application provides an information recommendation method. The method is applied to a terminal. Generally, the terminal may be various types of electronic devices with information recommendation capabilities during the implementation process. For example, the terminal may include a mobile phone or a tablet. Computers, desktops, personal digital assistants, navigators, digital phones, video phones, televisions, sensing devices, etc. The functions implemented by this method can be implemented by the processor in the terminal calling program code. Of course, the program code can be stored in a computer storage medium. It can be seen that the terminal includes at least a processor and a storage medium.
图1为本申请实施例信息推荐方法的实现流程示意图,如图1所示,该方法包括:FIG. 1 is a schematic flowchart of an information recommendation method according to an embodiment of the present application. As shown in FIG. 1, the method includes:
S101、对速记条目记录的速记信息进行分析,得到速记特征集合;S101. Analyze the shorthand information recorded in the shorthand entry to obtain a shorthand feature set.
可以理解地,所述速记信息指的是用户通过终端快速记录的一些信息,例如,创作灵感、待办事项等。通常情况下,速记信息以速记条目的形式进行保存,例如,将速记信息保存在一张速记卡片上。所述速记特征集合包括至少一个速记特征,举例来说,所述速记特征可以是时间、人名、地名、物名、用于表征任务的关键词等等。Understandably, the shorthand information refers to some information that a user quickly records through a terminal, for example, creative inspiration, to-do items, and the like. Normally, shorthand information is saved as shorthand entries, for example, saving shorthand information on a shorthand card. The shorthand feature set includes at least one shorthand feature. For example, the shorthand feature may be time, a person's name, a place name, a thing name, a keyword used to characterize a task, and the like.
S102、如果所述速记特征集合中包括用于表征任务的关键词,确定所述速记信息对应的任务执行地;S102. If the shorthand feature set includes keywords for characterizing a task, determine a task execution location corresponding to the shorthand information;
可以理解地,如果所述速记特征集合中包括用于表征任务的关键词,说明所述速记信息中可能记录的是用户待执行的任务,例如,速记信息是“9.12去深圳参加学术研讨会”,其中“参加”为用于表征任务的关键词。一般来说,如果所述速记特征集合中有动作词,就可以将该动词确定为用于表征任务的关键词。例如,所述速记特征集合中包括“开会”、“出差”、 “体检”、“看电影”、“逛街”、“约会”、“相亲”、“面试”、“打针”等具有动词属性的速记特征。可以理解地,所述任务执行地指的是用户执行所述速记信息中记录的任务时的任务执行地点,例如,所述速记信息记录的是“9.11在西电的2101室开会”,其中,“西电的2101室”就是执行“开会”这一任务时的任务执行地点;再如,速记信息记录的是“9.12去深圳参加学术研讨会”,其中,“深圳”是执行“参加学术研讨会”这一任务时的任务执行地点。Understandably, if the shorthand feature set includes keywords used to characterize tasks, it indicates that the shorthand information may be recorded by the user to perform the task, for example, the shorthand information is "9.12 go to Shenzhen to participate in an academic seminar" , Where "participate" is a keyword used to characterize the task. Generally, if there is an action word in the shorthand feature set, the verb can be determined as a keyword used to characterize a task. For example, the shorthand feature set includes "meeting", "travel", "medical examination", "watching a movie", "shopping", "dating", "blind date", "interview", "injection", and other verb attributes. Shorthand features. Understandably, the task execution location refers to the task execution location when the user executes the task recorded in the shorthand information. For example, the shorthand information records "9.11 meets in Room 2101 of Xidian", where: "Western Electric's Room 2101" is the place where the task is performed when the task of "meeting" is performed; for another example, the shorthand information records "9.12 went to Shenzhen to participate in the academic seminar", of which "Shenzhen" is to perform "participate in academic seminars" The location at which the mission will be performed.
在其他实施例中,如果所述速记特征集合中没有表征任务的关键词,可以直接根据所述速记特征集合获取待推荐信息。一般来说,如果所述速记特征集合中没有动词,也就是速记条目记录的速记信息中没有动词,此时可以推断出用户可能记录的不是要执行的任务,而是为了记录一些信息,例如,速记信息中仅仅记录了一个菜名,此时可以根据该菜名获取待推荐信息,例如,为用户推荐与该菜名对应的烹饪过程;再如,速记信息为一张照片,通过图像分析,得到该照片的速记特征为“某品牌的啤酒”,此时可以根据“某品牌的啤酒”,为用户推荐该品牌的啤酒的相关介绍,或者,该品牌的啤酒的商品链接,以供用户选购。In other embodiments, if there are no keywords representing tasks in the shorthand feature set, the information to be recommended may be obtained directly according to the shorthand feature set. Generally speaking, if there is no verb in the shorthand feature set, that is, there is no verb in the shorthand information recorded by the shorthand entry, it can be inferred that the user may not record the task to be performed, but to record some information, for example, Only one dish name is recorded in the shorthand information. At this time, information to be recommended can be obtained based on the dish name, for example, recommending a cooking process corresponding to the dish name for the user; for another example, the shorthand information is a photo, and through image analysis, Get the shorthand feature of this photo as "beer of a certain brand". At this time, you can recommend related introduction of beers of this brand to the user according to "beer of a certain brand", or link to the product of the brand of beer for users to choose purchase.
S103、根据所述任务执行地和所述速记特征集合获取待推荐信息;S103. Obtain information to be recommended according to the task execution location and the shorthand feature set.
在其他实施例中,可以根据所述任务执行地和所述速记特征集合,从信息推荐库中检索出与所述任务执行地和所述速记特征集合中的速记特征关联的信息,例如,任务执行地是重庆,速记特征是关键词:“9.11”、“出差”,那么,此时可以从信息推荐库中检索出9月11日从用户当前位置飞往重庆的特价机票的相关信息,或者,从信息推荐库中检索出重庆的酒店的相关信息(例如,酒店名称,酒店地址,酒店的不同房间的价格等),或者,从信息推荐库中检索出重庆的火锅店的相关信息等。需要说明的是,所述信息推荐库可以是第三方提供的数据库,例如,某搜索引擎的数据库、某网购应用的数据库、某新闻资讯的数据库等,也可以是实现所述方法的 服务商建立的数据库。In other embodiments, according to the task execution place and the shorthand feature set, information associated with the task execution place and the shorthand feature in the shorthand feature set may be retrieved from an information recommendation database, for example, a task The place of execution is Chongqing, and the shorthand feature is the keywords: "9.11" and "travel". Then, at this time, you can retrieve the information about the special airfare from September 11 to Chongqing from the user's current recommendation database, or , Retrieve relevant information of hotels in Chongqing (for example, hotel name, hotel address, prices of different rooms in the hotel, etc.) from the information recommendation database, or retrieve relevant information of hot pot restaurants in Chongqing, etc. from the information recommendation database. It should be noted that the information recommendation database may be a database provided by a third party, for example, a database of a search engine, a database of an online shopping application, a database of news information, etc., or a service provider that implements the method. Database.
S104、将所述待推荐信息进行推荐。S104. Recommend the information to be recommended.
例如,将所述待推荐信息在通知栏中进行显示;再如,在所述速记条目接收到查看指令时,在显示所述速记条目记录的速记信息的同时,在所述速记条目的下方显示所述待推荐信息。For example, displaying the to-be-recommended information in a notification bar; for another example, when the shorthand entry receives a viewing instruction, while displaying the shorthand information recorded by the shorthand entry, it is displayed below the shorthand entry The information to be recommended.
在本申请实施例中,在对速记条目记录的速记信息进行分析,得到速记特征集合之后,如果所述速记特征集合中包括用于表征任务的关键词,确定所述速记信息对应的任务执行地,并根据所述任务执行地和所述速记特征集合获取待推荐信息,并进行推荐。这样,通过结合任务执行地,在根据速记信息进行信息推荐时,能够避免推荐一些冗余无意义的消息,进一步提高信息推荐的准确性和智能性。In the embodiment of the present application, after analyzing the shorthand information recorded in the shorthand entry to obtain a shorthand feature set, if the shorthand feature set includes keywords for characterizing a task, determine a task execution location corresponding to the shorthand information , And obtain to-be-recommended information according to the task execution location and the shorthand feature set, and make a recommendation. In this way, by combining the task execution place, when making information recommendation based on shorthand information, it is possible to avoid recommending some redundant and meaningless messages, and further improve the accuracy and intelligence of the information recommendation.
本申请实施例提供另一种信息推荐方法,图2A为本申请实施例的另一信息推荐方法的实现流程示意图,如图2A所示,所述方法包括以下步骤:This embodiment of the present application provides another information recommendation method. FIG. 2A is a schematic flowchart of another information recommendation method according to an embodiment of the present application. As shown in FIG. 2A, the method includes the following steps:
S201、接收查看指令,所述查看指令用于指示显示被查看的速记条目记录的速记信息;S201. Receive a viewing instruction, where the viewing instruction is used to instruct displaying shorthand information of a shorthand entry record being viewed;
需要说明的是,在实际应用中,用户可能保存了多个速记条目,也就是记录了多个速记信息,为了方便用户快速找到想查看的速记条目,如图2B所示,在界面20中,速记条目21至速记条目2M以收起的状态进行显示,其中,M为大于等于1的整数,也就是,速记条目21至速记条目2M收起显示时,只显示速记条目21至速记条目2M所记录的速记信息的部分内容,例如,只显示10个字符。所以,用户想要查看某个速记条目中完整的速记信息时,需要点击要查看的速记条目。It should be noted that in actual applications, the user may save multiple shorthand entries, that is, record multiple shorthand information. In order to facilitate users to quickly find the shorthand entry that they want to view, as shown in FIG. 2B, in interface 20, The shorthand entries 21 to 2M are displayed in a collapsed state, where M is an integer greater than or equal to 1, that is, when the shorthand entries 21 to 2M are collapsed and displayed, only the shorthand entries 21 to 2M are displayed. Part of the recorded shorthand information, for example, only 10 characters are displayed. Therefore, when a user wants to view the complete shorthand information in a shorthand entry, they need to click the shorthand entry to be viewed.
S202、根据所述被查看的速记条目记录的速记信息,确定与所述被查看的速记条目关联的N个速记条目,N为大于等于1的整数;S202. Determine N shorthand entries associated with the viewed shorthand entry according to the shorthand information recorded by the viewed shorthand entry, where N is an integer greater than or equal to 1.
在其他实施例中,从所述被查看的速记条目记录的速记信息中提取至 少一个速记特征,然后,检测速记条目(包括被查看的速记条目)记录的速记信息中与所述速记特征匹配的个数,如果与所速记特征匹配的个数超过预设数目,确定该速记条目与所述被查看的速记条目关联;例如,被查看的速记条目记录的速记信息为“卧室飘窗上可以设计书架”,其包括的速记特征(即关键词)为“卧室”、“飘窗”、“设计”、“书架”,另一速记条目记录的速记信息为“卧室装一欧式的灯”,其包括的速记特征是“卧室”、“装”、“灯”,那么,所述另一速记条目记录的速记信息中与所述被查看的速记条目记录的速记信息中的速记特征(即关键词)匹配的有:“卧室”、“装”(与“设计”含义相近),假设预设数目为1,那么,确定所述另一速记条目与被查看的速记条目关联。需要说明的是,所述N个速记条目中包括所述被查看的速记条目。In other embodiments, at least one shorthand feature is extracted from the shorthand information recorded by the viewed shorthand entry, and then the shorthand information recorded by the shorthand entry (including the viewed shorthand entry) that matches the shorthand feature is detected. Number, if the number of matching shorthand characteristics exceeds a preset number, it is determined that the shorthand entry is associated with the viewed shorthand entry; for example, the shorthand information recorded by the viewed shorthand entry is "can be designed on the bedroom bay window" "Book shelf", which includes shorthand features (ie, keywords) as "bedroom", "bay window", "design", "book shelf", and another shorthand entry recorded by the shorthand entry is "bedroom with a European-style lamp", which The included shorthand features are "bedroom", "equipped", and "light". Then, the shorthand features recorded in the other shorthand entry records and the shorthand features recorded in the shorthand information records of the viewed shorthand entries (ie, keywords) ) Matches: "Bedroom", "Fashion" (similar to the meaning of "Design"), assuming the preset number is 1, then determine that the other shorthand entry and the shorthand being viewed Entry association. It should be noted that the N shorthand entries include the shorthand entries being viewed.
S203、对所述N个速记条目记录的速记信息进行分析,得到速记特征集合;S203: Analyze the shorthand information recorded in the N shorthand entries to obtain a shorthand feature set;
S204、检测所述速记特征集合中是否包括用于表征任务的关键词;如果是,执行步骤S205;否则,执行步骤S211;S204. Detect whether the shorthand feature set includes keywords for characterizing a task; if yes, perform step S205; otherwise, perform step S211;
可以理解地,如果所述速记特征集合中包括用于表征任务的关键词,表示速记信息记录的可能是用户要执行的任务或事项,例如,表征任务的关键词为“开会”、“出差”、“聚会”等动作词。Understandably, if the shorthand feature set includes keywords used to characterize tasks, the shorthand information records may be tasks or events to be performed by the user. For example, the keywords representing tasks are "meeting", "travel" , "Party" and other action words.
S205、检测所述速记特征集合中是否包括用于表征位置的关键词;如果是,执行步骤S206;否则,执行步骤S207;S205: Detect whether the shorthand feature set includes a keyword for characterizing a location; if yes, execute step S206; otherwise, execute step S207;
S206、根据所述表征位置的关键词确定所述任务执行地,然后进入步骤S210;S206. Determine the task execution location according to the keywords representing the location, and then proceed to step S210.
例如,速记信息为“周六去重庆出差”,通过特征提取,得到的速记特征集合包括“周六”、“重庆”、“出差”,那么,用于表征位置的关键词为“重庆”,此时可以将“重庆”确定为所述任务执行地。For example, the shorthand information is "Saturday business trip to Chongqing". Through feature extraction, the shorthand feature set obtained includes "Saturday", "Chongqing", and "travel". Then, the keyword used to characterize the location is "Chongqing". At this time, "Chongqing" may be determined as the place where the task is performed.
S207、检测所述速记特征集合中是否包括任务执行时间;如果是, 执行步骤S208;否则,执行步骤S209;S207: Detect whether the shorthand feature set includes task execution time; if yes, execute step S208; otherwise, execute step S209;
S208、将终端在所述任务执行时间时的位置确定为所述任务执行地,然后进入步骤S210;S208. Determine the position of the terminal at the task execution time as the task execution location, and then proceed to step S210;
可以理解地,为了能够在最终得到的待推荐信息更为符合用户的实际需求,如果所述速记特征集合中没有用于表征位置的关键词,可以进一步地检测所述速记特征集合中是否包括任务执行时间,如果有,则将终端在所述任务执行时间时的位置确定为所述任务执行地。例如,速记信息为“周六出差”,对应的速记特征集合中包括“周六”、“出差”,因为没有用于表征位置的关键词,因此可以将终端在周六时的位置确定为所述任务执行地。在其他实施例中,所述将终端在所述任务执行时间时的位置确定为所述任务执行地,包括:在所述任务执行时间对应的时间段内,按照预设的时间间隔获取终端的当前位置,并检测所述终端的当前位置与所述终端在前一时刻的位置之间的距离是否超出预设的距离阈值;如果所述距离超过所述距离阈值,将所述终端的当前位置确定为所述任务执行地。Understandably, in order to be able to finally obtain the recommended information more in line with the actual needs of the user, if there is no keyword for characterizing the position in the shorthand feature set, it can be further detected whether the shorthand feature set includes a task The execution time, if any, determines the position of the terminal at the task execution time as the task execution place. For example, the shorthand information is “Saturday business trip”, and the corresponding shorthand feature set includes “Saturday” and “business trip”. Because there is no keyword used to characterize the location, the position of the terminal on Saturday can be determined as The place where the task is performed. In other embodiments, determining the position of the terminal at the task execution time as the task execution location includes: obtaining the terminal's location at a preset time interval within a time period corresponding to the task execution time. The current position, and detecting whether the distance between the current position of the terminal and the position of the terminal at a previous time exceeds a preset distance threshold; if the distance exceeds the distance threshold, the current position of the terminal is Determined as the place where the task is performed.
S209、将所述终端的当前位置确定为所述任务执行地,然后进入步骤S210;S209. Determine the current location of the terminal as the task execution location, and then proceed to step S210.
可以理解地,如果所述速记特征集合中既没有用于表征位置的关键词,也没有所述任务执行时间,那么此时可以将所述终端的当前位置确定为所述任务执行地,例如,速记信息为“看电影”,对应的速记特征集合中包括“电影”这一关键词,如果此时将所述终端的当前位置确定为所述任务执行地,那么根据所述终端的当前位置和“电影”这一关键词,可以获取到距离终端的当前位置较近的电影院,从而推荐给用户。Understandably, if there is neither a keyword used to characterize a location nor the task execution time in the shorthand feature set, the current location of the terminal may be determined as the task execution location at this time, for example, The shorthand information is "watch a movie", and the corresponding shorthand feature set includes the keyword "movie". If the current position of the terminal is determined as the task execution location at this time, then according to the current position of the terminal and The keyword "movie" can be used to obtain a movie theater that is closer to the terminal's current location and recommend it to users.
S210、根据所述任务执行地和所述速记特征集合获取待推荐信息,然后进入步骤S212;S210: Acquire to-be-recommended information according to the task execution location and the shorthand feature set, and then proceed to step S212;
S211、根据所述速记特征集合获取待推荐信息,然后进入步骤S212;S211. Acquire the information to be recommended according to the shorthand feature set, and then proceed to step S212;
S212、将所述待推荐信息在显示所述被查看的速记条目记录的速记信息时进行显示。S212. Display the to-be-recommended information when displaying the shorthand information recorded by the viewed shorthand entry record.
在本申请实施例中,如果所述速记特征集合中包括用于表征位置的关键词,根据所述表征位置的关键词确定所述任务执行地;如果所述速记特征集合中没有所述用于表征位置的关键词,且所述速记特征集合中包括任务执行时间,将终端在所述任务执行时间时的位置确定为所述任务执行地;如果所述速记特征集合中没有所述用于表征位置的关键词,且所述速记特征集合中没有所述任务执行时间,将所述终端的当前位置确定为所述任务执行地。这样,使得确定的任务执行地更加符合速记信息实际记录的内容,从而能够根据任务执行地和速记特征集合获取更有效的待推荐信息,也就是,更加符合用户需求的待推荐信息。In the embodiment of the present application, if the shorthand feature set includes a keyword for characterizing a location, the task execution location is determined according to the keyword representing the position; if the shorthand feature set does not include the A keyword to characterize the position, and the shorthand feature set includes task execution time, and the position of the terminal at the task execution time is determined as the task execution location; if the shorthand feature set does not have the for characterization The keyword of the location, and the task execution time is not included in the shorthand feature set, and the current location of the terminal is determined as the task execution location. In this way, the determined task execution location is more consistent with the actual recorded content of the shorthand information, so that more effective to-be-recommended information can be obtained according to the task execution location and shorthand feature set, that is, the to-be-recommended information that is more in line with user needs.
在其他实施例中,对于步骤S203,所述对所述N个速记条目记录的速记信息进行分析,得到速记特征集合,包括:In other embodiments, for step S203, the analyzing the shorthand information recorded in the N shorthand entries to obtain a shorthand feature set includes:
S2031、确定所述N个速记条目中的一个速记条目的速记类型;S2031. Determine a shorthand type of one shorthand entry among the N shorthand entries;
需要说明的是,为了满足用户在不同应用场景的需求,以方便用户快速记录一些信息,现在的速记应用通常具有影像速记功能、语音速记功能和文字速记功能,对应地,速记条目的速记类型有影像速记、语音速记和文字速记,其中,通过影像速记功能得到的速记条目一般包括视频或图像,通过语音速记功能得到的速记条目一般包括语音数据,通过文字速记功能得到的速记条目一般包括文字信息。基于此,在其他实施例中,可以根据所述一个速记条目记录的速记信息的数据类型,确定所述一个速记条目的速记类型。例如,所述一个速记条目记录的速记信息的数据类型是JPEG,即,是一张图像,那么可以确定所述一个速记条目的速记类型是影像速记。再如,所述一个速记条目记录的速记信息的数据类型是MP3,即,是一段录音,那么可以确定所述一个速记条目的速记类型是语音速记。It should be noted that in order to meet the needs of users in different application scenarios, to facilitate the user to quickly record some information, current shorthand applications usually have image shorthand functions, voice shorthand functions and text shorthand functions. Correspondingly, the shorthand types of shorthand entries are Video shorthand, voice shorthand, and text shorthand, where shorthand entries obtained through the video shorthand function generally include video or images, shorthand entries obtained through the voice shorthand function generally include voice data, and shorthand entries obtained through the text shorthand function generally include text information . Based on this, in other embodiments, the shorthand type of the one shorthand entry may be determined according to the data type of the shorthand information recorded by the one shorthand entry. For example, if the data type of the shorthand information recorded by the one shorthand entry is JPEG, that is, an image, then it can be determined that the shorthand type of the one shorthand entry is image shorthand. For another example, if the data type of the shorthand information recorded by the one shorthand entry is MP3, that is, a recording, then it can be determined that the shorthand type of the one shorthand entry is a voice shorthand.
S2032A、如果所述速记类型是影像速记,对所述一个速记条目中的影像进行分析,得到速记特征子集,并确定所述N个速记条目中的下一个速记条目的速记类型;S2032A. If the shorthand type is image shorthand, analyze the images in the one shorthand entry to obtain a shorthand feature subset, and determine the shorthand type of the next shorthand entry in the N shorthand entries;
这里,需要说明的是,所述影像包括图像和视频。如果所述一个速记条目中的影像是图像数据时,可以对所述图像进行分析,从而得到速记特征子集;如果所述一个速记条目中的影像是视频数据时,除了可以对所述视频的帧图像进行分析得到速记特征子集以外,还可以对视频数据中的语音数据和文字数据进行分析得到速记特征子集。在其他实施例中,如果所述一个速记条目中包括影像和与所述影像对应的文字标签,那么可以对所述文字标签进行速记特征提取,得到速记特征子集,例如,将文字标签中与预设字段相匹配的字段确定为速记特征子集。需要说明的是,本申请实施例中,所述与预设字段相匹配的字段,指的是与所述预设字段相同或语义相近的字段。Here, it should be noted that the image includes an image and a video. If the image in the shorthand entry is image data, the image may be analyzed to obtain a shorthand feature subset; if the image in the shorthand entry is video data, in addition to the video data, In addition to analyzing the frame image to obtain a shorthand feature subset, the voice data and text data in the video data can also be analyzed to obtain a shorthand feature subset. In other embodiments, if the one shorthand entry includes an image and a text label corresponding to the image, the shorthand feature extraction may be performed on the text label to obtain a shorthand feature subset. For example, the text label and the Fields that match the preset fields are determined as a shorthand feature subset. It should be noted that, in the embodiment of the present application, the field matching the preset field refers to a field that is the same as or similar in semantics to the preset field.
S2032B、如果所述速记类型是语音速记,对所述一个速记条目中的语音数据进行语义分析,得到速记特征子集,并确定所述N个速记条目中的下一个速记条目的速记类型;S2032B. If the shorthand type is a voice shorthand, perform semantic analysis on the voice data in the one shorthand entry to obtain a shorthand feature subset, and determine the shorthand type of the next shorthand entry in the N shorthand entries;
在其他实施例中,如果所述一个速记条目中包括语音数据和与所述语音数据对应的文字内容时,可以直接从与所述语音数据对应的文字内容中提取出与预设字段相匹配的字段,并将所述与预设字段相匹配的字段确定为速记特征子集。In other embodiments, if the one shorthand entry includes voice data and text content corresponding to the voice data, the text content corresponding to the voice data may be directly extracted from the text content corresponding to the voice data and matches a preset field. Field, and the field matching the preset field is determined as a shorthand feature subset.
S2032C、如果所述速记类型是文字速记,将所述一个速记条目记录的文字信息中与预设字段相匹配的字段确定为速记特征子集,并确定所述N个速记条目中的下一个速记条目的速记类型。S2032C. If the type of the shorthand is text shorthand, determine a field that matches the preset field in the text information of the one shorthand entry record as a shorthand feature subset, and determine the next shorthand among the N shorthand entries The shorthand type of the entry.
在其他实施例中,对于步骤S212,所述将所述待推荐信息进行推荐,如图2C所示,可以包括以下步骤:In other embodiments, for step S212, the recommending the information to be recommended, as shown in FIG. 2C, may include the following steps:
S2121、根据历史速记条目的速记信息,建立用户喜好模型;S2121. Establish a user preference model according to the shorthand information of the historical shorthand entry;
S2122、根据所述用户喜好模型确定所述待推荐信息与用户的匹配度;S2122. Determine the matching degree between the information to be recommended and the user according to the user preference model;
S2123、将所述匹配度超出预设阈值的待推荐信息进行推荐。S2123: Recommend the information to be recommended whose matching degree exceeds a preset threshold.
可以理解地,只将所述匹配度超出预设阈值的待推荐信息进行推荐,可以避免推荐一些冗余信息。Understandably, recommending only the information to be recommended whose matching degree exceeds a preset threshold can avoid recommending some redundant information.
本申请实施例提供再一信息推荐方法,图3为本申请实施例的再一信息推荐方法的实现流程示意图,如图3所示,所述方法可以包括以下步骤:This embodiment of the present application provides yet another information recommendation method, and FIG. 3 is a schematic flowchart of another information recommendation method according to the embodiment of the present application. As shown in FIG. 3, the method may include the following steps:
S301、获取终端的当前定位信息;S301. Acquire current positioning information of a terminal.
需要说明的是,所述当前定位信息即为上述实施例所述的任务执行地。It should be noted that the current positioning information is the task execution location described in the foregoing embodiment.
S302、从被查看的速记条目中提取速记关键词;S302. Extract shorthand keywords from the shorthand entries being viewed;
需要说明的是,所述速记关键词即为上述实施例所述的速记特征集合中的速记特征。It should be noted that the shorthand keywords are shorthand features in the shorthand feature set described in the foregoing embodiment.
S303、当根据所述速记关键词进行搜索时,与所述当前定位信息相结合,获得与所述当前定位信息相关的搜索结果;S303. When searching according to the shorthand keywords, combine with the current positioning information to obtain a search result related to the current positioning information.
S304、输出所述搜索结果。S304. Output the search result.
需要说明的是,所述搜索结果即为上述实施例所述的待推荐信息。可以理解地,当根据所述速记关键词进行搜索时,与所述当前定位信息相结合,获得与所述当前定位信息相关的搜索结果,这样,可以提高搜索结果的可用性。例如,如果当前定位信息为西安市,速记关键词为医院,那么获得的搜索结果可以为“西安各个医院的特色科室”、“西安医院排名”等。It should be noted that the search result is the information to be recommended according to the foregoing embodiment. Understandably, when searching according to the shorthand keywords, it is combined with the current positioning information to obtain search results related to the current positioning information, so that the usability of the search results can be improved. For example, if the current location information is Xi'an and the short-term keywords are hospitals, the search results obtained can be "characteristic departments of various hospitals in Xi'an", "Xi'an Hospital Ranking", and so on.
在本申请实施例中,通过上述信息推荐方法,可以解决在其他实施例中根据速记信息进行搜索时,获得的搜索结果冗余无意义的问题,进一步提高搜索结果的准确性和智能性。In the embodiments of the present application, the above information recommendation method can solve the problem of redundant and meaningless search results obtained when searching according to shorthand information in other embodiments, and further improve the accuracy and intelligence of the search results.
基于前述的实施例,本申请实施例提供一种信息推荐装置,该装置包括所包括的各模块、以及各模块所包括的各单元,可以通过终端中的处理器来实现;当然也可通过具体的逻辑电路实现;在实施的过程中,处理器 可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。Based on the foregoing embodiments, an embodiment of the present application provides an information recommendation device. The device includes each module included, and each unit included in each module can be implemented by a processor in a terminal; of course, it can also be implemented by a specific In the implementation process, the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
图4为本申请实施例信息推荐装置的组成结构示意图,如图4所示,所述装置400包括速记分析模块401、位置确定模块402、信息获取模块403和信息推荐模块404;其中:FIG. 4 is a schematic structural diagram of an information recommendation device according to an embodiment of the present application. As shown in FIG. 4, the device 400 includes a shorthand analysis module 401, a location determination module 402, an information acquisition module 403, and an information recommendation module 404;
速记分析模块401,配置为对速记条目记录的速记信息进行分析,得到速记特征集合;The shorthand analysis module 401 is configured to analyze the shorthand information recorded by the shorthand entry to obtain a shorthand feature set;
位置确定模块402,配置为如果所述速记特征集合中包括用于表征任务的关键词,确定所述速记信息对应的任务执行地;A position determining module 402 configured to determine a task execution location corresponding to the shorthand information if the shorthand feature set includes keywords for characterizing a task;
信息获取模块403,配置为根据所述任务执行地和所述速记特征集合获取待推荐信息;An information acquisition module 403 configured to acquire information to be recommended according to the task execution location and the shorthand feature set;
信息推荐模块404,配置为将所述待推荐信息进行推荐。The information recommendation module 404 is configured to recommend the information to be recommended.
在其他实施例中,所述速记分析模块401包括:In other embodiments, the shorthand analysis module 401 includes:
接收单元,配置为接收查看指令,所述查看指令用于指示显示被查看的速记条目记录的速记信息;A receiving unit configured to receive a viewing instruction, where the viewing instruction is used to instruct display of shorthand information of a shorthand entry record being viewed;
确定单元,配置为根据所述被查看的速记条目记录的速记信息,确定与所述被查看的速记条目关联的N个速记条目,N为大于等于1的整数;A determining unit configured to determine N shorthand entries associated with the viewed shorthand entry according to the shorthand information recorded by the viewed shorthand entry, where N is an integer greater than or equal to 1;
分析单元,配置为对所述N个速记条目记录的速记信息进行分析,得到速记特征集合。The analysis unit is configured to analyze the shorthand information recorded by the N shorthand entries to obtain a shorthand feature set.
在其他实施例中,所述分析单元,配置为:In other embodiments, the analysis unit is configured to:
确定所述N个速记条目中的一个速记条目的速记类型;Determining a shorthand type of one shorthand entry among the N shorthand entries;
如果所述速记类型是影像速记,对所述一个速记条目中的影像进行分析,得到速记特征子集,并确定所述N个速记条目中的下一个速记条目的速记类型;If the shorthand type is image shorthand, analyze the images in the one shorthand entry to obtain a shorthand feature subset, and determine the shorthand type of the next shorthand entry in the N shorthand entries;
如果所述速记类型是语音速记,对所述一个速记条目中的语音数据进行语义分析,得到速记特征子集,并确定所述N个速记条目中的下一个速 记条目的速记类型;If the shorthand type is a voice shorthand, perform a semantic analysis on the voice data in the one shorthand entry to obtain a shorthand feature subset, and determine the shorthand type of the next shorthand entry in the N shorthand entries;
如果所述速记类型是文字速记,将所述一个速记条目记录的文字信息中与预设字段相匹配的字段确定为速记特征子集,并确定所述N个速记条目中的下一个速记条目的速记类型。If the type of shorthand is text shorthand, determine a field in the text information of the shorthand entry record that matches a preset field as a subset of shorthand features, and determine the next shorthand entry in the N shorthand entries. Shorthand type.
在其他实施例中,位置确定模块402,配置为:In other embodiments, the location determining module 402 is configured to:
如果所述速记特征集合中包括用于表征位置的关键词,根据所述表征位置的关键词确定所述任务执行地;If the shorthand feature set includes keywords for characterizing a location, determining the task execution location according to the keywords for characterizing the location;
如果所述速记特征集合中没有所述用于表征位置的关键词,且所述速记特征集合中包括任务执行时间,将所述装置400在所述任务执行时间时的位置确定为所述任务执行地;If the keyword for characterizing the position is not included in the shorthand feature set and the task execution time is included in the shorthand feature set, determining the position of the device 400 at the task execution time as the task execution Ground
如果所述速记特征集合中没有所述用于表征位置的关键词,且所述速记特征集合中没有所述任务执行时间,将所述装置400的当前位置确定为所述任务执行地。If the keyword for characterizing the position is not included in the shorthand feature set, and the task execution time is not included in the shorthand feature set, the current position of the device 400 is determined as the task execution place.
在其他实施例中,信息推荐模块404,包括:In other embodiments, the information recommendation module 404 includes:
模型建立单元,配置为根据历史速记条目的速记信息,建立用户喜好模型;A model establishing unit configured to establish a user preference model based on the shorthand information of the historical shorthand entries;
匹配度确定单元,配置为根据所述用户喜好模型确定所述待推荐信息与用户的匹配度;A matching degree determining unit configured to determine a matching degree between the information to be recommended and a user according to the user preference model;
信息推荐单元,配置为将所述匹配度超出预设阈值的待推荐信息进行推荐。The information recommendation unit is configured to recommend the information to be recommended whose matching degree exceeds a preset threshold.
以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。The description of the above device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
需要说明的是,本申请实施例中,如果以软件功能模块的形式实现上述的信息推荐方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本 质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得终端(可以是手机、平板电脑、台式机、个人数字助理、导航仪、数字电话、视频电话、电视机、传感设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本申请实施例不限制于任何特定的硬件和软件结合。It should be noted that, in the embodiment of the present application, if the above information recommendation method is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application that are essentially or contribute to related technologies can be embodied in the form of software products. The computer software product is stored in a storage medium and includes several instructions to make The terminal (which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc.) executes all or part of the methods described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (Read Only Memory, ROM), a magnetic disk, or an optical disk, which can store program codes. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
对应地,本申请实施例提供一种终端,图5为本申请实施例的一种终端的硬件实体示意图,如图5所示,所述终端500包括存储器501和处理器502,所述存储器501存储有可在处理器502上运行的计算机程序,所述处理器502执行所述程序时实现上述实施例中提供的信息推荐方法中的步骤。Correspondingly, an embodiment of the present application provides a terminal. FIG. 5 is a schematic diagram of a hardware entity of the terminal according to the embodiment of the present application. As shown in FIG. 5, the terminal 500 includes a memory 501 and a processor 502. The memory 501 A computer program that can be run on the processor 502 is stored, and when the processor 502 executes the program, the steps in the information recommendation method provided in the foregoing embodiments are implemented.
需要说明的是,存储器501配置为存储由处理器502可执行的指令和应用,还可以缓存待处理器502以及终端500中各模块待处理或已经处理的数据(例如,图像数据、音频数据、语音通信数据和视频通信数据),可以通过闪存(FLASH)或随机访问存储器(Random Access Memory,RAM)实现。It should be noted that the memory 501 is configured to store instructions and applications executable by the processor 502, and may also cache data to be processed or processed by each module in the processor 502 and the terminal 500 (for example, image data, audio data, (Voice communication data and video communication data), can be realized by flash memory (FLASH) or random access memory (Random Access Memory, RAM).
对应地,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中提供的信息推荐方法中的步骤。Correspondingly, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the information recommendation method provided in the foregoing embodiment are implemented.
这里需要指出的是:以上存储介质和设备实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请存储介质和设备实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。 因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。It should be understood that “an embodiment” or “an embodiment” mentioned throughout the specification means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application. Thus, the appearances of "in one embodiment" or "in an embodiment" appearing throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the size of the sequence numbers of the above processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not deal with the embodiments of the present application. The implementation process constitutes any limitation. The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the superiority or inferiority of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, It also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or device. Without more restrictions, an element limited by the sentence "including a ..." does not exclude that there are other identical elements in the process, method, article, or device that includes the element.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed components are coupled, or directly coupled, or communicated with each other through some interfaces. The indirect coupling or communication connection of the device or unit may be electrical, mechanical, or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可 以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art may understand that all or part of the steps of the foregoing method embodiments may be implemented by a program instructing related hardware. The foregoing program may be stored in a computer-readable storage medium. When the program is executed, the execution includes Steps of the above method embodiment; and the foregoing storage medium includes: various types of media that can store program codes, such as a mobile storage device, a read-only memory (Read Only Memory, ROM), a magnetic disk, or an optical disc.
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台终端(可以是手机、平板电脑、台式机、个人数字助理、导航仪、数字电话、视频电话、电视机、传感设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application that are essentially or contribute to related technologies can be embodied in the form of software products. The computer software product is stored in a storage medium and includes several instructions to make A terminal (which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc.) executes all or part of the methods described in the embodiments of the present application. The foregoing storage media include: various types of media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disc.
以上所述,仅为本申请的实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only an implementation of this application, but the scope of protection of this application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. Covered within the scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.
工业实用性Industrial applicability
本申请实施例中,在对速记条目记录的速记信息进行分析,得到速记特征集合之后,如果所述速记特征集合中包括用于表征任务的关键词,确定所述速记信息对应的任务执行地,并根据所述任务执行地和所述速记特征集合获取待推荐信息,并进行推荐。这样,通过结合任务执行地,在根据速记信息进行信息推荐时,能够避免推荐一些冗余无意义的消息,进一步提高信息推荐的准确性和智能性。In the embodiment of the present application, after analyzing the shorthand information recorded in the shorthand entry to obtain a shorthand feature set, if the shorthand feature set includes keywords for characterizing a task, determining a task execution location corresponding to the shorthand information, The information to be recommended is obtained according to the task execution place and the shorthand feature set, and recommendation is performed. In this way, by combining the task execution place, when making information recommendation based on shorthand information, it is possible to avoid recommending some redundant and meaningless messages, and further improve the accuracy and intelligence of the information recommendation.

Claims (10)

  1. 一种信息推荐方法,其特征在于,所述方法包括:An information recommendation method, characterized in that the method includes:
    对速记条目记录的速记信息进行分析,得到速记特征集合;Analyze the shorthand information recorded in the shorthand entry to obtain the shorthand feature set;
    如果所述速记特征集合中包括用于表征任务的关键词,确定所述速记信息对应的任务执行地;If the shorthand feature set includes keywords for characterizing a task, determining a task execution location corresponding to the shorthand information;
    根据所述任务执行地和所述速记特征集合获取待推荐信息;Acquiring to-be-recommended information according to the task execution place and the shorthand feature set;
    将所述待推荐信息进行推荐。Recommend the information to be recommended.
  2. 根据权利要求1所述的方法,其特征在于,所述对速记条目记录的速记信息进行分析,得到速记特征集合,包括:The method according to claim 1, wherein the analyzing the shorthand information recorded in the shorthand entry to obtain a shorthand feature set comprises:
    接收查看指令,所述查看指令用于指示显示被查看的速记条目记录的速记信息;Receiving a viewing instruction, the viewing instruction being used to instruct displaying shorthand information of a shorthand entry record being viewed;
    根据所述被查看的速记条目记录的速记信息,确定与所述被查看的速记条目关联的N个速记条目,N为大于等于1的整数;Determine, according to the shorthand information recorded by the viewed shorthand entry, N shorthand entries associated with the viewed shorthand entry, where N is an integer greater than or equal to 1;
    对所述N个速记条目记录的速记信息进行分析,得到速记特征集合。Analyze the shorthand information recorded by the N shorthand entries to obtain a shorthand feature set.
  3. 根据权利要求2所述的方法,其特征在于,所述对所述N个速记条目记录的速记信息进行分析,得到速记特征集合,包括:The method according to claim 2, wherein the analyzing the shorthand information recorded in the N shorthand entries to obtain a shorthand feature set comprises:
    确定所述N个速记条目中的一个速记条目的速记类型;Determining a shorthand type of one shorthand entry among the N shorthand entries;
    如果所述速记类型是影像速记,对所述一个速记条目中的影像进行分析,得到速记特征子集,并确定所述N个速记条目中的下一个速记条目的速记类型。If the shorthand type is image shorthand, analyze the images in the one shorthand entry to obtain a shorthand feature subset, and determine the shorthand type of the next shorthand entry in the N shorthand entries.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, further comprising:
    如果所述速记类型是语音速记,对所述一个速记条目中的语音数据进行语义分析,得到速记特征子集,并确定所述N个速记条目中的下一个速记条目的速记类型。If the shorthand type is a voice shorthand, perform semantic analysis on the voice data in the one shorthand entry to obtain a shorthand feature subset, and determine the shorthand type of the next shorthand entry in the N shorthand entries.
  5. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, further comprising:
    如果所述速记类型是文字速记,将所述一个速记条目记录的文字信息中与预设字段相匹配的字段确定为速记特征子集,并确定所述N个速记条目中的下一个速记条目的速记类型。If the type of shorthand is text shorthand, determine a field in the text information of the shorthand entry record that matches a preset field as a subset of shorthand features, and determine the next shorthand entry in the N shorthand entries. Shorthand type.
  6. 根据权利要求1至3任一项所述的方法,其特征在于,所述确定所述速记信息对应的任务执行地,包括:The method according to any one of claims 1 to 3, wherein the determining a task execution location corresponding to the shorthand information comprises:
    如果所述速记特征集合中包括用于表征位置的关键词,根据所述表征位置的关键词确定所述任务执行地;If the shorthand feature set includes keywords for characterizing a location, determining the task execution location according to the keywords for characterizing the location;
    如果所述速记特征集合中没有所述用于表征位置的关键词,且所述速记特征集合中包括任务执行时间,将终端在所述任务执行时间时的位置确定为所述任务执行地;If the keyword for characterizing a position is not included in the shorthand feature set, and the shorthand feature set includes a task execution time, determining the position of the terminal at the task execution time as the task execution place;
    如果所述速记特征集合中没有所述用于表征位置的关键词,且所述速记特征集合中没有所述任务执行时间,将所述终端的当前位置确定为所述任务执行地。If the keyword for characterizing a position is not included in the shorthand feature set, and the task execution time is not included in the shorthand feature set, the current position of the terminal is determined as the task execution place.
  7. 根据权利要求1至3任一项所述的方法,其特征在于,所述将所述待推荐信息进行推荐,包括:The method according to any one of claims 1 to 3, wherein the recommending the information to be recommended comprises:
    根据历史速记条目的速记信息,建立用户喜好模型;Establish a user preference model based on the shorthand information of historical shorthand entries;
    根据所述用户喜好模型确定所述待推荐信息与用户的匹配度;Determining a matching degree between the information to be recommended and the user according to the user preference model;
    将所述匹配度超出预设阈值的待推荐信息进行推荐。Recommending the information to be recommended whose matching degree exceeds a preset threshold.
  8. 一种信息推荐装置,其特征在于,所述装置包括:An information recommendation device, characterized in that the device includes:
    速记分析模块,配置为对速记条目记录的速记信息进行分析,得到速记特征集合;The shorthand analysis module is configured to analyze the shorthand information recorded by the shorthand entry to obtain a shorthand feature set;
    位置确定模块,配置为如果所述速记特征集合中包括用于表征任务的关键词,确定所述速记信息对应的任务执行地;A position determining module configured to determine a task execution location corresponding to the shorthand information if the shorthand feature set includes keywords for characterizing a task;
    信息获取模块,配置为根据所述任务执行地和所述速记特征集合获取待推荐信息;An information acquisition module configured to acquire information to be recommended according to the task execution location and the shorthand feature set;
    信息推荐模块,配置为将所述待推荐信息进行推荐。The information recommendation module is configured to recommend the information to be recommended.
  9. 一种终端,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现权利要求1至7任一项所述信息推荐方法中的步骤。A terminal includes a memory and a processor, and the memory stores a computer program operable on the processor, wherein the processor implements the information according to any one of claims 1 to 7 when the processor executes the program. Steps in the recommended method.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现权利要求1至7任一项所述信息推荐方法中的步骤。A computer-readable storage medium having stored thereon a computer program, characterized in that when the computer program is executed by a processor, the steps in the information recommendation method according to any one of claims 1 to 7 are implemented.
PCT/CN2018/107118 2018-09-21 2018-09-21 Information recommendation method and device, terminal, and storage medium WO2020056772A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/107118 WO2020056772A1 (en) 2018-09-21 2018-09-21 Information recommendation method and device, terminal, and storage medium
CN201880096955.8A CN112639770A (en) 2018-09-21 2018-09-21 Information recommendation method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/107118 WO2020056772A1 (en) 2018-09-21 2018-09-21 Information recommendation method and device, terminal, and storage medium

Publications (1)

Publication Number Publication Date
WO2020056772A1 true WO2020056772A1 (en) 2020-03-26

Family

ID=69888135

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/107118 WO2020056772A1 (en) 2018-09-21 2018-09-21 Information recommendation method and device, terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN112639770A (en)
WO (1) WO2020056772A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312563A (en) * 2021-06-24 2021-08-27 北京三快在线科技有限公司 Information recommendation method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090106077A1 (en) * 2007-10-17 2009-04-23 International Business Machines Corporation Facilitating in-transit meetings using location-aware scheduling
CN103218709A (en) * 2013-05-03 2013-07-24 北京百度网讯科技有限公司 Intelligent schedule management method and system and cloud server
CN103366267A (en) * 2012-03-30 2013-10-23 北京千橡网景科技发展有限公司 Method and device for providing information based on schedule
CN105354214A (en) * 2015-09-25 2016-02-24 百度在线网络技术(北京)有限公司 Memo information generation method and apparatus
CN105427089A (en) * 2015-11-13 2016-03-23 Tcl集团股份有限公司 Intelligent agenda, setting and detecting method and agenda system
CN105554288A (en) * 2015-12-23 2016-05-04 奇瑞汽车股份有限公司 Schedule prompting method and device
CN106326283A (en) * 2015-06-30 2017-01-11 展讯通信(天津)有限公司 Information push method and system
US20180005194A1 (en) * 2016-06-30 2018-01-04 Microsoft Technology Licensing, Llc Enriched Calendar Events

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341456A (en) * 2016-08-23 2017-01-18 乐视控股(北京)有限公司 Information pushing method and information pushing device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090106077A1 (en) * 2007-10-17 2009-04-23 International Business Machines Corporation Facilitating in-transit meetings using location-aware scheduling
CN103366267A (en) * 2012-03-30 2013-10-23 北京千橡网景科技发展有限公司 Method and device for providing information based on schedule
CN103218709A (en) * 2013-05-03 2013-07-24 北京百度网讯科技有限公司 Intelligent schedule management method and system and cloud server
CN106326283A (en) * 2015-06-30 2017-01-11 展讯通信(天津)有限公司 Information push method and system
CN105354214A (en) * 2015-09-25 2016-02-24 百度在线网络技术(北京)有限公司 Memo information generation method and apparatus
CN105427089A (en) * 2015-11-13 2016-03-23 Tcl集团股份有限公司 Intelligent agenda, setting and detecting method and agenda system
CN105554288A (en) * 2015-12-23 2016-05-04 奇瑞汽车股份有限公司 Schedule prompting method and device
US20180005194A1 (en) * 2016-06-30 2018-01-04 Microsoft Technology Licensing, Llc Enriched Calendar Events

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312563A (en) * 2021-06-24 2021-08-27 北京三快在线科技有限公司 Information recommendation method, device, equipment and storage medium
CN113312563B (en) * 2021-06-24 2022-09-16 北京三快在线科技有限公司 Information recommendation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112639770A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
US11232409B2 (en) Presenting entity profile information to a user of a computing device
US10776367B2 (en) Providing a list of suggested queries
US10372469B2 (en) Method and device for displaying information
TWI492075B (en) Method for offering suggestion during conversation, electronic device using the same, and computer program product
WO2017143797A1 (en) Information pushing method and apparatus, and electronic device
US11100066B2 (en) Extended memory system
US20130024873A1 (en) Context-aware applications and methods
WO2017181663A1 (en) Method and device for matching image to search information
US11475029B2 (en) Presenting user information suggestions
WO2020156236A1 (en) Associated information pushing method and apparatus, electronic device and storage medium
US8738648B2 (en) System and method for delivery of business information through an electronic address book
WO2017020482A1 (en) Ticket information display method and device
WO2017206165A1 (en) Information sending method, information receiving method, apparatus and system
US11586690B2 (en) Client-side personalization of search results
WO2022116527A1 (en) Data processing method and device
WO2020056772A1 (en) Information recommendation method and device, terminal, and storage medium
US9633083B2 (en) Organizing search results using smart tag inferences
WO2016141822A1 (en) Search method and apparatus for contact persons
WO2022135339A1 (en) Message content input method and apparatus, and electronic device
US20180343212A1 (en) Provide status message associated with work status
CN110929122B (en) Data processing method and device for data processing
CN105320707B (en) Hot word prompting method and device based on instant messaging
US20160048581A1 (en) Presenting context for contacts
CN109241122B (en) Information acquisition method and device
JP2012194783A (en) Server to be used in application market, communication terminal, system and gui determination method

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: 18934213

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: 18934213

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09/08/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18934213

Country of ref document: EP

Kind code of ref document: A1