CN108681567A - A kind of information recommendation method and device - Google Patents
A kind of information recommendation method and device Download PDFInfo
- Publication number
- CN108681567A CN108681567A CN201810414942.2A CN201810414942A CN108681567A CN 108681567 A CN108681567 A CN 108681567A CN 201810414942 A CN201810414942 A CN 201810414942A CN 108681567 A CN108681567 A CN 108681567A
- Authority
- CN
- China
- Prior art keywords
- data information
- information
- user
- terminal device
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
A kind of information recommendation method of present invention offer and device, are related to field of communication technology, can be user's recommendation information in advance in arbitrary application interface active, user is helped more easily to use voice assistant.This method includes:The first data information is obtained by Assist API, first data information is the data information determined with the relevant data in first interface according to the first application, and first application is the corresponding application in first interface;Detect the first operation of user;In response to first operation, voice assistant is opened;Recommend first data information to user.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of information recommendation methods and device.
Background technology
With the development of intelligent terminal, the use of voice assistant is more and more extensive.Current voice assistant in use,
It is essentially all user when needing using phonetic function, starts voice assistant, then voice inputs relevant requirement;Eventually
End equipment inputs identification user demand according to voice, executes corresponding operation.The degree of intelligence of this mode is relatively low, is a kind of
Passive voice assistant.
In the prior art, there are also intelligent terminal auxiliary recommendation can be carried out in voice assistant use, but these
Assist recommendation function can only can be in certain intelligent terminal built-in applications interface or certain third-party application interfaces.Because of important affair
First preset relevant information or needs application provide the corresponding interface, make the letter of acquisition application interface after intelligent terminal calling interface
Breath.And in some applications, it, also just can not basis due to there is no the corresponding interface, the information of application interface that can not get
The application interface carries out auxiliary recommendation.
Invention content
A kind of information recommendation method of the application offer and device, can be during user uses voice assistant, arbitrary
Application interface, active is user's recommendation information in advance, helps user more easily to use voice assistant, provides more intelligent
Man-machine interaction mode.
In order to achieve the above objectives, the application adopts the following technical scheme that:
In a first aspect, the application provides a kind of information recommendation method, the method is applied to terminal device, and the terminal is set
The first interface of standby current display, this method may include:
The first data information, the first data letter are obtained by miscellaneous function application programming interface Assist API
For breath for according to the data information of the first application determined with the relevant data in first interface, first application is described the
The corresponding application in one interface;Detect the first operation of user;In response to first operation, voice assistant is opened;To user
Recommend first data information.
Second aspect, the application provide a kind of terminal device, which includes:Display module, acquisition module, detection
Module, operation module and recommending module.Wherein, display module, the first interface for showing the terminal device;Described aobvious
When showing that module shows first interface, the acquisition module, for passing through miscellaneous function application programming interface Assist
API obtains the first data information, and first data information is according to the first application and the relevant data in the first interface
Determining data information, first application is the corresponding application in first interface;The detection module, for detecting user
First operation;The operation module, if the first operation of user is detected for the detection module, in response to described first
Voice assistant is opened in operation;The recommending module, for recommending first data information to user.
The third aspect, the application provide a kind of terminal device, which includes:Processor, transceiver and memory.
Wherein, memory is for storing computer executed instructions, and when the terminal device is run, processor executes memory storage
The computer executed instructions, so that the terminal device executes one of arbitrary institute in first aspect and its various optional realization methods
The information recommendation method stated.
Fourth aspect, the application provide a kind of computer readable storage medium, are stored in computer readable storage medium
One or more programs, one or more programs include computer executed instructions, when the processor of the terminal device executes the meter
When calculation machine executes instruction, the terminal device execute it is one of arbitrary in above-mentioned first aspect and its various optional realization methods described in
Information recommendation method.
Information recommendation method and device provided by the present application pass through miscellaneous function application programming interface (Assist
Application Programming Interface, Assist API) obtain terminal device interface display application data
Information, and recommendation information is generated according to these data informations, during user uses voice assistant, recommendation is presented to user
Breath helps user more easily to use voice assistant.Middle terminal device can only be language in some applications compared with the existing technology
Sound assistant provide auxiliary recommendation service, information recommendation method provided by the invention, can user use voice assistant during,
In arbitrary application interface, active is in advance user's recommendation information, provides more intelligent man-machine interaction mode.
Description of the drawings
Fig. 1 is the hardware architecture diagram of the terminal device of information recommendation method provided in an embodiment of the present invention application;
Fig. 2 is information recommendation method schematic diagram one provided in an embodiment of the present invention;
Fig. 3-1 is the display interface schematic diagram of the terminal device of information recommendation method provided in an embodiment of the present invention application
One;
Fig. 3-2 is the display interface schematic diagram of the terminal device of information recommendation method provided in an embodiment of the present invention application
Two;
Fig. 4-1 is the display interface schematic diagram of the terminal device of information recommendation method provided in an embodiment of the present invention application
Three;
Fig. 4-2 is the display interface schematic diagram of the terminal device of information recommendation method provided in an embodiment of the present invention application
Four;
Fig. 5-1 is the display interface schematic diagram of the terminal device of information recommendation method provided in an embodiment of the present invention application
Five;
Fig. 6 is information recommendation method schematic diagram two provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram one of terminal device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram two of terminal device provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram three of terminal device provided in an embodiment of the present invention.
Specific implementation mode
Information recommendation method provided in an embodiment of the present invention and device are described in detail below in conjunction with the accompanying drawings.
The terms "and/or", only a kind of incidence relation of description affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.
Term " first " and " second " etc. in the specification and attached drawing of the present invention be for distinguishing different objects, or
Person is used to distinguish the different disposal to same target, rather than for the particular order of description object.For example, the first data information
With the second data information for distinguishing different data informations, rather than the particular order of data information is described.
In addition, the term " comprising " and " having " being previously mentioned in description of the invention and their any deformation, it is intended that
It is to cover and non-exclusive includes.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
It is defined in the step of having listed or unit, but further includes the steps that optionally that other are not listed or unit, or optionally
Further include for the intrinsic other steps of these processes, method, product or equipment or unit.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating
Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer
It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used
Such as " word is intended to that related notion is presented in specific ways.
In the description of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more.
The embodiment of the present invention provides a kind of information recommendation method, is applied to terminal device, can be set in user's using terminal
During standby voice assistant, before user's input voice information, terminal device interface display is obtained by Assist API
Application data information, and according to these data informations generate recommendation information, help user more easily use voice assistant.
In the embodiment of the present invention, terminal device can be mobile terminal device, or immobile terminal equipment.It is mobile
Terminal device can be mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device, super movement
Personal computer (ultra-mobile personal computer, UMPC), net book or personal digital assistant
(personal digital assistant, PDA) etc.;Immobile terminal equipment can be personal computer (personal
Computer, PC), television set (television, TV), automatic teller machine or self-service machine etc.;The embodiment of the present invention does not limit specifically
It is fixed.
The executive agent of information recommendation method provided in an embodiment of the present invention can be (including the movement of above-mentioned terminal device
Terminal device and immobile terminal equipment), or the function mould of the information recommendation method can be realized in the terminal device
Block and/or functional entity can specifically determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
A kind of hardware architecture diagram of Fig. 1 terminal devices 100 of each embodiment to realize the present invention.As shown in Figure 1,
Terminal device 100 includes but not limited to:Radio frequency unit 101, network module 102, audio output unit 103, input unit 104,
Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity
The components such as source 111.It will be understood by those skilled in the art that structure paired terminal is not set 100 structure of terminal device shown in Fig. 1
Standby restriction, terminal device 100 may include either combining certain components or difference than illustrating more or fewer components
Component arrangement.In embodiments of the present invention, terminal device 100 include but not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device, UMPC, net book, PDA, PC, TV, automatic teller machine or self-service machine etc..
Wherein, user input unit 107 (such as start voice for receiving relevant operation of the user on mobile phone interface
The operation of assistant).
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set
Standby communication.
Terminal device 100 has provided wireless broadband internet to the user by network module 102 and has accessed, and such as helps user
Send and receive e-mail, browse webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end
The relevant audio output of specific function that end equipment 100 executes (for example, voice broadcast recommendation information etc. on the terminal device).
Audio output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike
Wind 1042 can receive sound (for example, receiving voice messaging input by user), and can be sound by such acoustic processing
Frequency evidence.Treated, and audio data can be converted in the case of telephone calling model and can be sent via radio frequency unit 101
Format to mobile communication base station exports.
Terminal device 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when terminal device 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify 100 posture of terminal device
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
Hygrometer, thermometer, infrared sensor etc., details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user (for example, in display unit
106 display recommendation informations).Display unit 106 may include display panel 1061, and liquid crystal display (Liquid may be used
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate and terminal device 100
User setting and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area
It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments
1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it
On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch
The type for touching event provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display
Panel 1061 is to realize the function that outputs and inputs of terminal device 100 as two independent components, but in certain implementations
In example, can touch panel 1071 and display panel 1061 be integrated and be realized the function that outputs and inputs of terminal device 100, tool
Body does not limit herein.
Interface unit 108 is the interface that external device (ED) is connect with terminal device 100.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 100 or can be used in 100 He of terminal device
Transmission data between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal device 100, utilizes various interfaces and the entire terminal device of connection
100 various pieces, by running or executing the software program and/or module that are stored in memory 109, and calling storage
Data in memory 109 execute the various functions and processing data of terminal device 100, to be carried out to terminal device 100
Integral monitoring.Processor 110 may include one or more processing units;Optionally, processor 110 can integrate application processor and
Modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation
Processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110
In.
Terminal device 100 can also include the power supply 111 (such as battery) powered to all parts, optionally, power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 100 includes some unshowned function modules, details are not described herein.
The embodiment of the present invention provides a kind of information recommendation method, as shown in Fig. 2, this method may include S101-S103:
S101, the first data information is obtained.
Specifically, terminal device currently shows the first interface, is corresponded on the first interface and show one or more application.Example
Such as, show the first interface can be the display unit 106 in Fig. 1.
The data letter of the one or more application of corresponding display on the first interface is obtained by miscellaneous function (Assist) API
Breath, wherein the one or more application of corresponding display is the first application on first interface.The data letter of wherein first application
Breath can be the data information that the first application can expose, for example whether the packet name of the first application, the first application being capable of points
It hits, the first data information for applying information shown on interface etc. not to be related to data safety and information security.
Optionally, Assist API can be integrated in each application of terminal device.Pass through and configure, it is possible to specify
The particular content of application and monitoring that Assist API are monitored;Specifically, such as monitor the operation of application, using allowing to handle
Event, the type of user click event feedback searches the mode of node, time-out time, if Assist API is allowed to obtain
Window node information etc..
Specifically, when terminal device currently shows the first interface, Assist API, which can be configured as, monitors the first boundary
The one or more application of corresponding display on face obtains the data letter of the one or more application of corresponding display on the first interface
Breath.
Optionally, within the duration that application shows on the first interface, pass through the number that Assist API obtain application
It is believed that breath may include two ways:
Mode one, the data information of Assist API active obtainings application.For example, Assist API are according to the scheduled time
Period obtains the data information of application.
Mode two is reported to Assist API using by data information according to the scheduled time cycle.For example, using every
Data information is reported to Assist API by 1s.
Further, after the data information for obtaining the first application, study analysis is carried out to these data informations, according to the
In the data information of one application the first data information is determined with the relevant data in the first interface.First data information be to
The recommendation information that family is presented.
In a kind of example, the first interface is information interface, and the application of display is short message.First interface is as shown in figure 3-1.
The data information that short message can expose is obtained by Assist API, for example, the short message sending time, the number of words of short message, in short message
Holding information includes:Event-is booked a train ticket, when m- XX months XX day, departure place-Qingdao, destination-Beijing etc..
After getting the data information of short message, these data informations are analyzed.In the data information for determining short message
Include with the relevant information in interface:Short message content information.Short message content information is analyzed using recommended models, obtains recommendation information.
For example, according to information such as departure place, destination and times in short message content information, recommendation information is got after analysis to be wrapped
It includes:Operation that Pekinese's weather, the weather in Qingdao, user may execute (such as:Formulate the schedule of XX months XX day, inquiry
Pekinese's map) etc..It should be noted that when analyzing data information, suitable recommended models can be selected according to purpose, this
Apply embodiment to this without limiting.
In a kind of example, the first interface is music-playing interface, and the application of display is music playing process.First interface
As shown in Fig. 4-1.The data information that music playing process can expose is obtained by Assist API, for example, music type, is drilled
The person of singing, musical designation, music duration, music playing process parameter etc..
After getting the data information of music playing process, these data informations are analyzed.Determine music
In the data information of program with the relevant information in interface, such as:Music type, singer, musical designation.Utilize recommended models point
Music type, singer are analysed, the information such as musical designation obtain recommendation information.For example, getting recommendation after being analyzed according to singer
Information may include:The heat of the singer searches song, singer's personal information;It can also be obtained according to musical designation and singer
To recommendation information, for example switch next etc..
In a kind of example, the first interface is wechat chat interface, and the application of display is wechat.First interface such as Fig. 5-1
It is shown.The data information that wechat can expose is obtained by Assist API, for example, address list, historical information, current operation,
Wechat online hours etc..
After getting the data information of wechat, these data informations are analyzed.In the data information for determining wechat
With the relevant information in interface, such as:Current operation is chat, when including chatting object, chat with relevant data information of chatting
It is long etc..The relevant information of current operation is analyzed using recommended models, obtains recommendation information.For example, recommendation information may include:It is
It is no to phone chatting object etc..
Optionally, multiple applications can be shown at the first interface.For example, showing that ticket booking software and map are soft on the first interface
Part.The data information of ticket booking software and map software is obtained by Assist API, respectively to ticket booking software and map software
Data information is analyzed.Optionally, ticket booking software can be directed to and map software obtains recommendation information respectively, can also integrated
Ticket booking software and the data information of map software obtain recommendation information.
S102, voice assistant is opened.
Specifically, detecting the first operation of user;In response to the first operation, voice assistant is opened.Illustratively, first
Operation may include that long-press home keys or user speech input start order etc..For example, user can pass through user in Fig. 1
Input unit 107 executes the first operation, and the first operation can also be executed by the microphone 1042 of input unit in Fig. 1 104.
It should be noted that in the concrete realization, can just obtain corresponding first data letter after interface display application
Breath just recommends the first data information after user opens voice assistant to user;Can also user open voice assistant after,
Application further according to interface display obtains corresponding first data information, recommends the first data information to user.The application couple
The sequencing of S101 and S102 is not construed as limiting.
S103, recommendation information is presented to user.
Optionally, it may include various ways recommendation information to be presented to user,
Mode one, in the interface display recommendation information of terminal device.
Specifically, recommendation information can be shown by display unit in Fig. 1 106.
In a kind of example, the first interface is information interface, and the application of display is short message.First interface is as shown in figure 3-1.
Terminal device interface display the first data information as shown in figure 3-2.
In a kind of example, the first interface is music-playing interface, and the application of display is music playing process.First interface
As shown in Fig. 4-1.Terminal device interface display the first data information as shown in the Fig. 4-2.
Mode two, on the terminal device voice broadcast recommendation information.
Specifically, recommendation information can be shown by Fig. 1 sound intermediate frequencies output unit 103.
Further, after recommendation information is presented to user, user can use voice assistant according to recommendation information.If
User performs to be operated in next step, can also record the operation of user.In the process for the recommendation information for obtaining the application next time
In, it can be analyzed according to record information, filter the higher data information of frequency of occurrence, analysis user's custom is pushed away with optimization
Recommend information so that recommendation service more intelligence is more actively.
Optionally, during voice assistant use, can be combined with voice messaging input by user and first application
Data information obtains recommendation information.Specifically, in conjunction with Fig. 2, as shown in fig. 6, after step s 102, before S103, this method
Can also include S104-S105:
S104, voice messaging input by user is obtained.
Specifically, during voice assistant use, terminal device can be received by input unit 104 shown in FIG. 1
Voice messaging input by user.
S105, the second data information is obtained.
Specifically, the second data letter will be determined as in the first data information with the relevant information of voice messaging input by user
Breath.
In a kind of example, the application of the first interface display is short message, and the first interface as shown in figure 3-1, determines short message
Include with the relevant information in interface in data information:Short message content information.Short message content information is analyzed using recommended models, is obtained
First data information.For example, may include in the first data information:Pekinese's weather, the weather in Qingdao, user may execute
Operation (such as:The schedule of XX months XX day is formulated, Pekinese's map is inquired in the hotel of predetermined XX months XX day) etc..It receives
Voice messaging input by user is " setting schedule ", determines that the second data information may include " formulating the schedule of XX months XX day
Arrangement ", " hotel of predetermined XX months XX day " etc. recommend the second data information to user.
In a kind of example, the application of the first interface display is music playing process, and the first interface is as shown in Fig. 4-1.
After getting the data information of music playing process, these data informations are analyzed.Determine the data of music playing process
With the relevant information in interface in information, music type, singer are analyzed using recommended models, the information such as musical designation obtain the
One data information.For example, getting the first data information after being analyzed according to singer and may include:The heat of the singer searches song
Bent, singer's personal information;Can also get recommendation information according to musical designation and singer, for example switch next etc..
It is " whom the leading singer of this song is " to receive voice messaging input by user, determines that the second data information may include " singing
Person's personal information " etc. recommends the second data information to user.
In a kind of example, the first interface is wechat chat interface, and the application of display is wechat.First interface such as Fig. 5-1
It is shown.After getting the data information of wechat, these data informations are analyzed.Determine in the data information of wechat with boundary
The relevant information in face, such as:Current operation is chat, includes chatting object, chat duration etc. with relevant data information of chatting.
The relevant information of current operation is analyzed using recommended models, obtains the first data information.For example, the first data information can wrap
It includes:Whether chatting object etc. is phoned.It is " calling him up " to receive voice messaging input by user, determines the second number
It is believed that breath may include " making a phone call to chatting object ".It further, can also be according to the title of chatting object in mobile communication
The contact method of chatting object is searched in record, the second data information can also include the contact method of chatting object.It is pushed away to user
Recommend the second data information.
Information recommendation method provided in an embodiment of the present invention obtains answering for terminal device interface display by Assist API
Data information, and recommendation information is generated according to these data informations, during user uses voice assistant, it is in user
Existing recommendation information, helps user more easily to use voice assistant.Middle terminal device can only be answered certain compared with the existing technology
Auxiliary recommendation service is provided for voice assistant in, information recommendation method provided by the invention can be helped in user using voice
During hand, in arbitrary application interface, active is in advance user's recommendation information, provides more intelligent man-machine interaction mode.
It is above-mentioned that mainly scheme provided in an embodiment of the present invention is described from the angle of terminal device.It is appreciated that
It is that for terminal device in order to realize above-mentioned function, it comprises execute the corresponding hardware configuration of each function and/or software module.
Those skilled in the art should be readily appreciated that, terminal device described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with
Hardware or computer software drive the mode of hardware to execute, and depend on the specific application and design constraint item of technical solution
Part.Professional technician can use different methods to achieve the described function each specific application, but this
Realization should not be considered as beyond the scope of the present invention.
The embodiment of the present invention can carry out function module or functional unit according to above method example to terminal device
It divides, for example, can correspond to each function divides each function module or functional unit, it can also be by two or more
Function be integrated in a processing module.The form that hardware had both may be used in above-mentioned integrated module is realized, can also be used
The form of software function module or functional unit is realized.Wherein, it is to the division of module or unit in the embodiment of the present invention
Schematically, only a kind of division of logic function, formula that in actual implementation, there may be another division manner.
The embodiment of the present invention provides a kind of terminal device, the case where dividing each function module using corresponding each function
Under, Fig. 7 shows a kind of possible structural schematic diagram of terminal device involved in above-described embodiment.The terminal device includes
Display module 701, acquisition module 702, detection module 703, operation module 704 and recommending module 705.For example, display module 701
Can be display unit 106 in Fig. 1, acquisition module 702, detection module 703, operation module 704 and recommending module 705 can be by
Processor 110 executes in Fig. 1.
Wherein, display module 701 are used for the first interface of display terminal.
When the display module 701 shows first interface,
The acquisition module 702, for obtaining the first data information by Assist API, first data information is
According to the data information of the first application determined with the relevant data in first interface, first application is first boundary
The corresponding application in face.
The detection module 703, the first operation for detecting user.
The operation module 704, if the first operation of user is detected for the detection module 703, in response to described
First operation, opens voice assistant.
The recommending module 705, for recommending first data information to user.
Optionally, the acquisition module 702 is additionally operable to after the operation module 704 opens voice assistant, described to push away
It recommends before module 705 recommends first data information to user, obtains voice messaging input by user;The recommending module
705, be specifically used for user recommend the second data information, second data information be first data information in it is described
The relevant information of voice messaging.
Optionally, the acquisition module 702, the data specifically for obtaining first application by Assist API are believed
Breath;It is additionally operable to determine that the first data are believed with the relevant data in the first interface in the data information according to first application
Breath.
Optionally, the display module 701 is additionally operable to execute the first data described in the interface display of the terminal device
Information.
Optionally, in conjunction with Fig. 7, as shown in figure 8, terminal device provided in an embodiment of the present invention can also include playing module
706.Illustratively, playing module 706 can be the audio output unit 103 in Fig. 1.
The playing module 706, for executing the first data information described in voice broadcast on the terminal device.
Using integrated unit, Fig. 9 shows one kind of terminal device involved in above-described embodiment
Possible structural schematic diagram.The terminal device includes:Processing unit 902 and communication unit 903.Processing unit 902 was used for end
The action of end equipment carries out control management, for example, executing above-mentioned display module 701, acquisition module 702, detection module 703, behaviour
Make the step of module 704, recommending module 705 and playing module 706 execute, and/or for executing techniques described herein
Other processes.Communication unit 903 is used to support the communication of terminal device and other entities.Terminal device can also include that storage is single
Member 901 and bus 904, storage unit 901 are used for the program code and data of storage terminal device.
Wherein, above-mentioned processing unit 902 can be the processor or controller in terminal device, for example, it may be in Fig. 1
Processor 110.The processor or controller may be implemented or execute the various examples in conjunction with described in the disclosure of invention
The logic block of property, module and circuit.The processor or controller can be central processing unit, general processor, digital signal
It is processor, application-specific integrated circuit, field programmable gate array or other programmable logic device, transistor logic, hard
Part component or its arbitrary combination.It may be implemented or executes illustratively patrols in conjunction with various described in the disclosure of invention
Collect box, module and circuit.The processor can also be to realize the combination of computing function, such as include one or more micro- places
Manage device combination, the combination etc. of DSP and microprocessor.
Communication unit 903 can be transceiver, transmission circuit or communication interface etc. in terminal device, for example, it may be
Radio frequency unit 101 in Fig. 1.
Storage unit 901 can be the memory etc. in terminal device, which may include volatile memory, example
Such as random access memory;The memory can also include nonvolatile memory, such as read-only memory, flash memory,
Hard disk or solid state disk;The memory can also include the combination of the memory of mentioned kind.For example, storage unit 901 can be with
It is memory 109 in Fig. 1.
Bus 904 can be expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..Bus 904 can be divided into address bus, data/address bus, controlling bus etc..For ease of table
Show, only indicated with a thick line in Fig. 9, it is not intended that an only bus or a type of bus.
The embodiment of the present invention also provides a kind of computer readable storage medium, and one is stored in computer readable storage medium
A or multiple programs, one or more programs include instruction, when the processor of above-mentioned terminal device executes the instruction, the terminal
Equipment executes each step that terminal device executes in method flow shown in above method embodiment.
The step of method in conjunction with described in the disclosure of invention or algorithm can realize by the mode of hardware,
Can be that the mode of software instruction is executed by processor to realize.Software instruction can be made of corresponding software module, software
Module can be stored on RAM, flash memory, ROM, Erasable Programmable Read Only Memory EPROM (easable programmable ROM,
EPROM), Electrically Erasable Programmable Read-Only Memory (electrically EPROM, EEPROM), register, hard disk, movement are hard
In the storage medium of disk, CD-ROM (CD-ROM) or any other form well known in the art.A kind of illustrative storage
Medium couples are to processor, to enable a processor to from the read information, and can be written and believe to the storage medium
Breath.Certainly, storage medium can also be the component part of processor.Pocessor and storage media can be located in ASIC.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description
It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can as needed and will be upper
It states function distribution to be completed by different function modules, i.e., the internal structure of device is divided into different function modules, to complete
All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to
The corresponding process in embodiment of the method is stated, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or
The division of unit, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling, direct-coupling or communication connection discussed can be by some interfaces, device or unit
INDIRECT COUPLING or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) or processor execute described in each embodiment of the present invention
The all or part of step of method.And storage medium above-mentioned includes:It is flash memory, mobile hard disk, read-only memory, random
Access the various media that can store program code such as memory, magnetic disc or CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (9)
1. a kind of information recommendation method, which is characterized in that the method is applied to terminal device, and the terminal device is currently shown
First interface, the method includes:
The first data information is obtained by miscellaneous function application programming interface Assist API, first data information is
According to the data information of the first application determined with the relevant data in first interface, first application is first boundary
The corresponding application in face;
Detect the first operation of user;
In response to first operation, voice assistant is opened;
Recommend first data information to user.
2. information recommendation method according to claim 1, which is characterized in that after the opening voice assistant, Xiang Yong
Before first data information is recommended at family, the method further includes:
Obtain voice messaging input by user;
It is described to be specially to user's recommendation first data information:
To user recommend the second data information, second data information be first data information in the voice messaging
Relevant information.
3. information recommendation method according to claim 1 or 2, which is characterized in that the first data information of the acquisition, packet
It includes:
The data information of first application is obtained by Assist API;
According in the data information of first application the first data information is determined with the relevant data in the first interface.
4. according to the information recommendation method described in claim 1-3 any one, which is characterized in that described to described in user's recommendation
First data information, including:
The first data information described in the interface display of the terminal device;
Alternatively, the first data information described in voice broadcast on the terminal device.
5. a kind of terminal device, which is characterized in that including display module, acquisition module, detection module, operation module and recommend mould
Block;
The display module, the first interface for showing the terminal device;
When the display module shows first interface,
The acquisition module, for obtaining the first data information by miscellaneous function application programming interface Assist API,
First data information is according to the data information of the first application determined with the relevant data in first interface described the
One application is the corresponding application in first interface;
The detection module, the first operation for detecting user;
The operation module, in response to first operation, is beaten if detecting the first operation of user for the detection module
Open voice assistant;
The recommending module, for recommending first data information to user.
6. terminal device according to claim 5, which is characterized in that
The acquisition module is additionally operable to after the operation module opens voice assistant, and the recommending module is recommended to user
Before first data information, voice messaging input by user is obtained;
The recommending module is specifically used for recommending the second data information, second data information to user being first number
It is believed that breath in the relevant information of the voice messaging.
7. terminal device according to claim 5 or 6, which is characterized in that
The acquisition module, specifically for obtaining the data information of first application by Assist API;
The acquisition module is additionally operable to true with the relevant data in the first interface in the data information according to first application
Make the first data information.
8. according to the terminal device described in claim 5-7 any one, which is characterized in that the recommending module is recommended to user
First data information, specifically includes:
The display module is additionally operable to execute the first data information described in the interface display of the terminal device;
Alternatively, the terminal device further includes playing module, for executing on the terminal device first described in voice broadcast
Data information.
9. a kind of computer readable storage medium, which is characterized in that including computer instruction, when the computer instruction is in terminal
When being run in equipment so that the terminal device executes Claims 1-4 any one described information such as and recommends method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810414942.2A CN108681567A (en) | 2018-05-03 | 2018-05-03 | A kind of information recommendation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810414942.2A CN108681567A (en) | 2018-05-03 | 2018-05-03 | A kind of information recommendation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108681567A true CN108681567A (en) | 2018-10-19 |
Family
ID=63802219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810414942.2A Pending CN108681567A (en) | 2018-05-03 | 2018-05-03 | A kind of information recommendation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108681567A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110012151A (en) * | 2019-02-22 | 2019-07-12 | 维沃移动通信有限公司 | A kind of information display method and terminal device |
CN111540355A (en) * | 2020-04-17 | 2020-08-14 | 广州三星通信技术研究有限公司 | Personalized setting method and device based on voice assistant |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105915439A (en) * | 2016-04-18 | 2016-08-31 | 百度在线网络技术(北京)有限公司 | Information pushing method, device and system |
CN106126632A (en) * | 2016-06-22 | 2016-11-16 | 北京小米移动软件有限公司 | Recommend method and device |
US20170318109A1 (en) * | 2016-04-29 | 2017-11-02 | Beijing Xiaomi Mobile Software Co., Ltd. | Information Displaying Method and Apparatus, and Storage Medium |
CN107528899A (en) * | 2017-08-23 | 2017-12-29 | 广东欧珀移动通信有限公司 | Information recommendation method, device, mobile terminal and storage medium |
CN107621890A (en) * | 2017-09-27 | 2018-01-23 | 珠海市魅族科技有限公司 | Information displaying method and device, computer installation and readable storage medium storing program for executing |
CN107808007A (en) * | 2017-11-16 | 2018-03-16 | 百度在线网络技术(北京)有限公司 | Information processing method and device |
CN107862059A (en) * | 2017-11-14 | 2018-03-30 | 维沃移动通信有限公司 | A kind of song recommendations method and mobile terminal |
-
2018
- 2018-05-03 CN CN201810414942.2A patent/CN108681567A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105915439A (en) * | 2016-04-18 | 2016-08-31 | 百度在线网络技术(北京)有限公司 | Information pushing method, device and system |
US20170318109A1 (en) * | 2016-04-29 | 2017-11-02 | Beijing Xiaomi Mobile Software Co., Ltd. | Information Displaying Method and Apparatus, and Storage Medium |
CN106126632A (en) * | 2016-06-22 | 2016-11-16 | 北京小米移动软件有限公司 | Recommend method and device |
CN107528899A (en) * | 2017-08-23 | 2017-12-29 | 广东欧珀移动通信有限公司 | Information recommendation method, device, mobile terminal and storage medium |
CN107621890A (en) * | 2017-09-27 | 2018-01-23 | 珠海市魅族科技有限公司 | Information displaying method and device, computer installation and readable storage medium storing program for executing |
CN107862059A (en) * | 2017-11-14 | 2018-03-30 | 维沃移动通信有限公司 | A kind of song recommendations method and mobile terminal |
CN107808007A (en) * | 2017-11-16 | 2018-03-16 | 百度在线网络技术(北京)有限公司 | Information processing method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110012151A (en) * | 2019-02-22 | 2019-07-12 | 维沃移动通信有限公司 | A kind of information display method and terminal device |
CN110012151B (en) * | 2019-02-22 | 2021-08-24 | 维沃移动通信有限公司 | Information display method and terminal equipment |
CN111540355A (en) * | 2020-04-17 | 2020-08-14 | 广州三星通信技术研究有限公司 | Personalized setting method and device based on voice assistant |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019080929A1 (en) | Message prompting method and mobile terminal | |
CN109683847A (en) | A kind of volume adjusting method and terminal | |
CN109063583A (en) | A kind of learning method and electronic equipment based on read operation | |
CN108415652A (en) | A kind of text handling method and mobile terminal | |
CN108632446A (en) | A kind of information cuing method and mobile terminal | |
CN109271297A (en) | A kind of abnormal prompt method and mobile terminal | |
CN108681483A (en) | A kind of task processing method and device | |
CN108334272A (en) | A kind of control method and mobile terminal | |
CN108037885A (en) | A kind of operation indicating method and mobile terminal | |
CN108449481A (en) | A kind of associated person information recommends method and terminal | |
CN109871358A (en) | A kind of management method and terminal device | |
CN110046015A (en) | Using sharing method and terminal | |
CN108984066B (en) | Application icon display method and mobile terminal | |
CN110990679A (en) | Information searching method and electronic equipment | |
CN106503077A (en) | The management method of media content, device and equipment | |
CN108124059A (en) | A kind of way of recording and mobile terminal | |
CN110069675A (en) | A kind of search method and mobile terminal | |
CN109697262A (en) | A kind of information display method and device | |
CN109495638A (en) | A kind of information display method and terminal | |
CN108920054A (en) | A kind of application recommended method and terminal | |
CN109145088A (en) | A kind of searching method and private tutor's machine based on private tutor's machine | |
CN108009031A (en) | The control method and mobile terminal of a kind of application program | |
CN108133708A (en) | A kind of control method of voice assistant, device and mobile terminal | |
CN107728920A (en) | A kind of clone method and mobile terminal | |
CN107765954B (en) | Application icon updating method, mobile terminal and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181019 |