CN109947264B - Information display method and device and electronic equipment - Google Patents

Information display method and device and electronic equipment Download PDF

Info

Publication number
CN109947264B
CN109947264B CN201711395564.XA CN201711395564A CN109947264B CN 109947264 B CN109947264 B CN 109947264B CN 201711395564 A CN201711395564 A CN 201711395564A CN 109947264 B CN109947264 B CN 109947264B
Authority
CN
China
Prior art keywords
input
target
content
user
keyword
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.)
Active
Application number
CN201711395564.XA
Other languages
Chinese (zh)
Other versions
CN109947264A (en
Inventor
涂畅
张扬
王砚峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201711395564.XA priority Critical patent/CN109947264B/en
Publication of CN109947264A publication Critical patent/CN109947264A/en
Application granted granted Critical
Publication of CN109947264B publication Critical patent/CN109947264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an information display method, an information display device and electronic equipment, wherein the method comprises the following steps: obtaining a target keyword set representing user input intention in a first application program; responding to an instruction of a second application program for calling an input method, and obtaining a target keyword matched with the type of the second application program from the target keyword set; and displaying an input interface of the input method, and displaying the target keyword as a candidate item in the input interface. In the technical scheme, the candidate items representing the input intention of the user are displayed by fully utilizing the time for displaying the input interface, the technical problem of low utilization rate of input resources in the prior art is solved, the utilization rate of the input resources is improved, the user can directly select and input the keyword without self-input, the input time is greatly shortened, and the input efficiency is improved.

Description

Information display method and device and electronic equipment
Technical Field
The present invention relates to the field of software technologies, and in particular, to an information presentation method and apparatus, and an electronic device.
Background
With the continuous development of science and technology, the man-machine interaction mode is more and more, and the efficiency is higher and more. The input method is used more often or is used for inputting, and the input method generally provides various modes such as full screen, five strokes and double spelling to help the user to carry out quick input.
Nowadays, there are good optimizations and accelerations for user's input characters, on-screen characters, etc., for example: for the input characters of the user, when the candidate items corresponding to the input characters are provided, the input method can sort the candidate items according to the screen-on rate, the heat degree and the like of each candidate item, so that the sort more conforming to the input intention of the user is earlier, and the user can conveniently and quickly select and input the candidate items; the input method can also provide related association candidate items according to the character matching of the screen, so that the user can conveniently select the input directly. However, when the input method is just called, because there is no input character of the user and no character which is already on the screen, at this time, there is usually no candidate provided, and about 1s of time between the input interface being displayed and the user inputting the character is not fully utilized, which reduces the utilization rate of the input resource.
Disclosure of Invention
The embodiment of the invention provides an information display method, an information display device and electronic equipment, which are used for displaying candidate items representing user input intentions when an input method is called, solving the technical problem of low input resource utilization rate in the prior art and improving the utilization rate of input resources and the input efficiency.
In a first aspect, an embodiment of the present invention provides an information displaying method, including:
obtaining a target keyword set representing user input intention in a first application program;
responding to an instruction of a second application program for calling an input method, and obtaining a target keyword matched with the type of the second application program from the target keyword set;
and displaying an input interface of the input method, and displaying the target keyword as a candidate item in the input interface.
Optionally, the obtaining a target keyword set representing a user input intention in the first application program includes:
obtaining target content in the first application program;
obtaining keywords representing the input intention of the user according to the target content;
and writing the keywords into the target keyword set.
Optionally, the target content includes at least one of the following: communication content, browsing content, objects of editing operations, and input content.
Optionally, obtaining keywords representing the input intention of the user according to the target content includes:
judging whether the target content contains a preset verb and a preset noun which represent the input intention;
if yes, the preset noun in the target content is obtained to be used as a keyword for representing the input intention of the user.
Optionally, obtaining keywords representing the user input intention according to the target content includes:
training to obtain an expression mode representing the input intention of the user according to input information corresponding to the first input operation of the user in the second application program and target information used in the first application program before the first input operation;
judging whether the target content conforms to the expression mode or not according to the expression mode;
and if so, acquiring a preset keyword in the target content as a keyword for representing the input intention of the user.
Optionally, obtaining keywords representing the input intention of the user according to the target content includes:
and performing semantic recognition on the target content to obtain a keyword which expresses the input intention of the user in the target content.
Optionally, obtaining a target keyword matched with the type of the second application from the target keyword set includes:
and obtaining the target keywords of which the updating time is matched with the type of the second application program within a preset time period from the target keyword set.
Optionally, when the target content is communication content, obtaining a keyword representing a user input intention according to the target content, including:
obtaining an above content and/or a below content of the communication content;
and obtaining keywords representing the input intention of the user according to the communication content and the above content and/or the below content.
In a second aspect, an embodiment of the present application provides an information presentation apparatus, including:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring a target keyword set representing the input intention of a user in a first application program;
the matching unit is used for responding to an instruction of a second application program for calling an input method and obtaining a target keyword matched with the type of the second application program from the target keyword set;
and the display unit is used for displaying an input interface of the input method and displaying the target keyword as a candidate item in the input interface.
Optionally, the obtaining unit includes:
the acquisition module is used for acquiring target content in the first application program;
the screening module is used for obtaining key words representing the input intention of the user according to the target content;
and the storage module is used for writing the keywords into the target keyword set.
Optionally, the target content includes at least one of the following: communication content, browsing content, objects of editing operations, and input content.
Optionally, the screening module is configured to: judging whether the target content contains a preset verb and a preset noun which represent the input intention; if yes, the preset noun in the target content is obtained to be used as a keyword for representing the input intention of the user.
Optionally, the screening module is further configured to: training to obtain an expression mode representing the input intention of the user according to input information corresponding to the first input operation of the user in the second application program and target information used in the first application program before the first input operation; judging whether the target content conforms to the expression mode or not according to the expression mode; and if so, acquiring a preset keyword in the target content as a keyword for representing the input intention of the user.
Optionally, the screening module is further configured to: and performing semantic recognition on the target content to obtain a keyword which expresses the input intention of the user in the target content.
Optionally, the matching unit is configured to: and obtaining the target keywords of which the updating time is matched with the type of the second application program within a preset time period from the target keyword set.
Optionally, the screening module is further configured to: when the target content is communication content, obtaining the above content and/or the below content of the communication content; and obtaining keywords representing the input intention of the user according to the communication content and the above content and/or the below content.
In a third aspect, an embodiment of the present application also provides an electronic device, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors, where the one or more programs include instructions for:
obtaining a target keyword set representing user input intention in a first application program;
responding to an instruction of a second application program for calling an input method, and obtaining a target keyword matched with the type of the second application program from the target keyword set;
and displaying an input interface of the input method, and displaying the target keyword as a candidate item in the input interface.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the following steps:
obtaining a target keyword set representing user input intention in a first application program;
responding to an instruction of a second application program for calling an input method, and obtaining a target keyword matched with the type of the second application program from the target keyword set;
and displaying an input interface of the input method, and displaying the target keyword as a candidate item in the input interface.
One or more technical solutions in the embodiments of the present application at least have the following technical effects:
the embodiment of the application provides an information display method, which comprises the steps of obtaining a target keyword set representing input intention of a user in the running process of a first application program; responding to an instruction of a second application program for calling an input method, and acquiring a target keyword matched with the type of the second application program from the target keyword set; and displaying an input interface of the input method, and displaying the target keyword as a candidate item in the input interface. The target keyword which is possibly input in the second application program by the user is obtained through the operation of the first application program, so that the target keyword is displayed to the user when the second application program calls the input method, the time for displaying the input interface is fully utilized, the technical problem of low input resource utilization rate in the prior art is solved, the utilization rate of input resources is improved, the keyword can be directly selected and input by the user without self input, the input time is greatly shortened, and the input efficiency is improved.
Drawings
Fig. 1 is a schematic flowchart of an information presentation method according to an embodiment of the present disclosure;
fig. 2 is a block diagram of an information presentation apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the technical scheme provided by the embodiment of the application, the information display method is provided, and the keywords which are possibly input by the user in the follow-up process are obtained according to the use of the previous application program by the user, so that the corresponding keywords are displayed in the input interface as the candidate items of the input method before the user calls the input method to input, the technical problem of low input resource utilization rate in the prior art is solved, and the resource utilization rate and the input efficiency are improved.
The main implementation principle, the specific implementation mode and the corresponding beneficial effects of the technical scheme of the embodiment of the present application are explained in detail with reference to the accompanying drawings.
Examples
Referring to fig. 1, an embodiment of the present application provides an information displaying method, including:
s110: obtaining a target keyword set representing user input intention in a first application program;
s120: responding to an instruction of a second application program for calling an input method, and acquiring a target keyword matched with the type of the second application program from the target keyword set;
s130: and displaying an input interface of the input method, and displaying the target keyword as a candidate item in the input interface.
In an actual Application process, a user usually installs a plurality of Applications (APPs) in an electronic device such as a mobile phone, a computer, and the like, and an input intention of the user when using another APP may occur in the process of using one APP. For example: when the user uses the chat APP, the user chats to the fact that the hunting zone looks good, and then the user may input the hunting zone into the video APP to search for relevant video resources.
In order to improve the input efficiency when the user uses the APP, in the embodiment of the present application, step S110 is executed to obtain a target keyword set representing the input intention of the user in the running process of the first application program. The first application program may be any APP on the electronic device, or a preset APP with a high probability of occurrence of user input intention on the electronic device, such as an instant messaging APP, a game APP, a video APP, and the like.
Specifically, when S110 is executed, the target content in the first application program may be obtained first. The target content is content with a large input intention of the user, such as communication content, browsing content, input content, an object of editing operation, and the like. For example: when a user refers to web page contents using a browser, the "hunting zone diversity scenario" is copied, and then the copy target "hunting zone diversity scenario" may be used as the target content. Further, any target content in the target application program may be obtained for keyword extraction, and different types of target content may also be obtained for different types of APPs for keyword extraction, for example: the communication content of the instant messaging APP can be obtained as target content, and the browsing content of the browsing APP can be obtained as target content. And after the target content of the first application program is obtained, obtaining keywords representing the input intention of the user according to the target content. And finally, writing the obtained keywords into a target keyword set.
The acquisition of the keywords representing the input intention of the user can be obtained by analyzing according to the target content in any one of the following modes:
mode one, through semantic recognition
And performing semantic recognition on the target content to obtain keywords which are used for expressing the input intention of the user in the target content. Specifically, the target content can be identified according to the existing semantic identification database, a keyword corresponding to the behavior intention of the user is identified and obtained, whether the keyword is matched with any APP on the electronic device or not is judged, and if the keyword is matched with any APP on the electronic device, the keyword is used as the keyword representing the input intention of the user. The preset keyword list can be established for different types of APPs in advance, and if catering APPs such as American groups, hungry and hundred-degree takeaway can be established for the preset keyword list: kendir, mcdonald's day, wheat, sun chang, etc.; for the video APP such as Youku and Aiqiyi, a preset keyword list can be established: army alliance, disc spy, langya and the like. If the keywords corresponding to the user behavior intention obtained by semantic recognition hit words in the APP keyword list, the keywords may be used as keywords representing the user input intention.
For example: aiming at the target content that the taste of an egg tart of kendiry is good when a user chats, a user can try to test, the fact that the user may try the egg tart of kendiry is identified through semantics, the fact that keywords 'kendiry' and 'egg tart' corresponding to the trying action intention hit a preset keyword list of catering APP (application) such as American takeaway and kendiry on the electronic equipment is judged, and then 'kendiry' and 'egg tart' are used as keywords for representing the input intention of the user.
Mode two, recognizing through preset verbs and preset nouns
The sentence that characterizes the user's input intent typically contains an inherent form, namely, a preset verb + a preset noun, such as: "i will go to the Tianfu square for a while" and "the Tianfu square" represents the input intention of the user in the map APP. Wherein the preset verb comprises: see, go, like, try, etc., the predetermined nouns include: television/movie names, celebrity/net names, cate nouns, place names, etc. Judging whether the target content contains a preset verb and a preset name which represent the input intention; if yes, acquiring a preset name in the target content as a keyword for representing the input intention of the user; if not, the judging process is ended. For example: for the target content "i will go to the Tianfu square for a while", judging that the preset verb "go" and the preset name "Tianfu square" are included therein, the preset name "Tianfu square" is taken as a keyword representing the user's input intention.
Third, obtaining expression pattern representing input intention through training to recognize
Different users have different expression habits, and the expression mode of the user representing the input intention can be trained and obtained through the own operation habits of the users. Specifically, the input information corresponding to the first input operation of the user in the second application program and the target information used by the user in the other application program, that is, the first application program before the first input operation may be obtained, for example: the user opens the video APP call input method to input the input of the Langya Lange board for the first time, and before the user chats and inputs the Langya Board in the instant messaging software, the user wants to brush again, so that the input information of the Langya board and the corresponding target information of the Langya Board can be obtained, and the user can input the input information of the Langya Board again. Then, according to the input information input by the user in the first input operation of the second application program and the target information used in the first application program before the first input operation, training to obtain an expression pattern representing the input intention of the user, namely training to obtain the expression pattern representing the input intention of the user by taking the input information and the corresponding target information as training samples. For example: aiming at input information of Langya bang and corresponding target information of Langya bang I want to brush again, the mode of expression can be obtained through training: tv name + brush pass. Wherein, the more training samples, the more accurate the expression pattern obtained by training, and the more comprehensive the expression pattern coverage obtained by training. In order to reduce the amount of calculation during training, training samples can be screened before training, input information and target information containing the input information are obtained as effective training samples, and then training is performed on the effective training samples. After an expression mode representing the input intention of a user is obtained through training, whether the target content accords with the expression mode is judged according to the expression mode; if the preset keywords are consistent with the preset keywords, the preset keywords in the target content are obtained and used as the keywords for representing the input intention of the user, otherwise, the judging process is ended. For example: assume that expression patterns characterizing the intent of a user input include: if the target content is judged to conform to the expression mode of 'not knowing what XXX is', for example, 'not knowing when the line 13 is on' by analysis, a preset keyword 'line 13' corresponding to 'XXX' in the target content is obtained as a keyword for representing the input intention of the user.
In the specific implementation process, when the target content is the communication content, the context of the communication content often has a certain influence on the actually expressed intention of the content, so that when the keyword representing the intention of the user is obtained according to the target content, the upper content and/or the lower content of the corresponding communication content can be obtained firstly; and obtaining keywords representing the input intention of the user according to the communication content and the corresponding upper content and/or lower content. Namely, the keywords contained in the context in the chat window and the corresponding intention category are analyzed to obtain the keywords representing the input intention of the user. For example: the user chats with the friends, and the other party says: the army alliance is beautiful, and the user replies: "is there? I go to a cool look. At this time, the fact that the user has the video input intention is recognized in combination with the context, the corresponding keyword is army alliance, the keyword army alliance representing the user input intention is obtained, and the keyword army alliance is written into a preset keyword set.
And writing the obtained keywords into a preset keyword set after the keywords representing the input intention of the user are obtained in one or more ways. After the preset keyword set is obtained, an instruction of responding to the second application program to call the input method is executed S120, and a target keyword matched with the type of the second application program is obtained from the target keyword set. When the target keywords matched with the type of the second application program are obtained, keywords of the same type as the type of the second application program can be obtained as the target keywords, and keywords of a preset keyword list corresponding to the type of the second application program can also be obtained as the target keywords, wherein similarly, the preset keyword list can be preset for different types of APPs, and can also be obtained by counting the operation processes of the APPs of the different types. For example: assuming that when a user calls an input method in a browser, responding to an instruction of the browser for calling the input method, and obtaining a preset keyword list corresponding to the type of the browser comprises the following steps: haze, green board, clean energy etc. the target keyword set includes: and obtaining a target keyword haze belonging to the preset keyword list from the target keyword set.
In a specific implementation process, the association of the content between the applications has timeliness, so that the target keyword whose update time matches the type of the second application within a preset time period can be obtained from the target keyword set, for example: the user jumps from the first application to the second application within a preset time period (e.g., within 5 minutes) and invokes the input method, at which point the input method automatically matches the second application with the target keywords mined within 5 minutes.
After obtaining the target keyword, further executing S130: and displaying an input interface of the input method, and displaying the target keyword as a candidate item in the input interface, namely displaying the target keyword when the input interface is displayed for the first time. In a specific implementation process, if the number of the target keywords obtained by matching exceeds the preset value n, such as 3, when the candidate items are displayed, the obtained target keywords can be ranked according to parameters such as word frequency, heat, use times in the second application program and the like of the keywords, and the n target keywords ranked at the top are used as the candidate items to be displayed. For example: the user chats with the friends, and the other party says: "army alliance and Langya list are good" the user replies: "is yes? I go to a cool look. At the moment, the fact that the user has video input intention is recognized by combining the context of the chat content, the corresponding keywords are army alliance and Langya list, the keywords representing the user input intention, namely army alliance and Langya list are obtained and written into a preset keyword set, and if the user jumps to a video APP, candidate words are automatically displayed for the user on an input interface when the input interface is displayed for the first time when an input method is called within five minutes: the army alliance and the Langya list are selected, or the army alliance which has the highest recent popularity is selected, and the candidate word army alliance is automatically shown for the user on the input interface when the input interface is shown for the first time. The user can directly select the candidate items displayed by the input method according to the input intention of the user, the user does not need to input the candidate items by himself, and the input efficiency is improved.
In a specific implementation process, part of the keywords in the target keywords can be selected and displayed or keywords related to part of the target keywords can be selected according to the input history of the user in the second application program. For example: the obtained target keywords include "army alliance" and "reed board", and if the user has input "reed board" in the second application, the "army alliance" is selected as a candidate, and if the user has input "army alliance" and "reed board" in the second application, the keyword related to the "army alliance" and/or "reed board", such as "army alliance 2", may be selected as a candidate.
In the embodiment, the target keyword which is possibly input in the second application program by the user is obtained through the operation of the first application program, so that the target keyword is displayed to the user when the second application program calls the input method, the time for displaying the input interface is fully utilized, the technical problem of low utilization rate of input resources in the prior art is solved, the utilization rate of the input resources is improved, the user can directly select and input the keyword without self input, the input time is greatly shortened, and the input efficiency is improved.
In view of the foregoing, an information displaying method is provided in the present application, and an information displaying apparatus is correspondingly provided in the present application, please refer to fig. 2, where the apparatus includes:
an obtaining unit 21, configured to obtain a target keyword set representing a user input intention in a first application;
a matching unit 22, configured to obtain, in response to an instruction for a second application to call an input method, a target keyword that matches the type of the second application from the target keyword set;
the display unit 23 is configured to display an input interface of the input method, and display the target keyword as a candidate in the input interface.
As an optional implementation manner, the obtaining unit 21 includes: the device comprises an acquisition module, a screening module and a storage module. The acquisition module is used for: obtaining target content in the first application program; the screening module is used for: obtaining keywords representing the input intention of the user according to the target content; the storage module is used for: and writing the keywords into the target keyword set. Wherein the target content comprises at least one of: communication content, browsing content, objects of editing operations, and input content.
Specifically, when the filtering module obtains the keyword representing the input intention of the user, the filtering module may obtain the keyword in any one or more of the following manners:
1. judging whether the target content contains a preset verb and a preset noun which represent the input intention; if yes, the preset noun in the target content is obtained and used as a keyword for representing the input intention of the user.
2. Training to obtain an expression mode representing the input intention of the user according to input information corresponding to the first input operation of the user in the second application program and target information used in the first application program before the first input operation; judging whether the target content conforms to the expression mode or not according to the expression mode; and if so, acquiring a preset keyword in the target content as a keyword for representing the input intention of the user.
3. And performing semantic recognition on the target content to obtain keywords which are used for expressing the input intention of the user in the target content.
4. When the target content is communication content, obtaining the upper content and/or the lower content of the communication content; and obtaining keywords representing the input intention of the user according to the communication content and the above content and/or the below content.
As an alternative implementation, the matching unit 22 is specifically configured to: and obtaining the target keywords of which the updating time is matched with the type of the second application program within a preset time period from the target keyword set.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 3 is a block diagram illustrating an electronic device 800 for implementing an information presentation method according to an example embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 3, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/presentation (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides a presentation interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to present and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for presenting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform an information presentation method, the method comprising: obtaining a target keyword set representing user input intention in a first application program; responding to an instruction of a second application program for calling an input method, and obtaining a target keyword matched with the type of the second application program from the target keyword set; and displaying an input interface of the input method, and displaying the target keyword as a candidate item in the input interface.
Fig. 3 is a schematic structural diagram of a server in an embodiment of the present invention. The server 1900 may vary widely by configuration or performance and may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input presentation interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is only limited by the appended claims
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (12)

1. An information presentation method, comprising:
obtaining a set of target keywords characterizing a user input intention in a first application, comprising: obtaining target content in the first application program; obtaining keywords representing the input intention of the user according to the target content; writing the keywords into the target keyword set; the target content includes at least one of: communication content, browsing content, object of editing operation and input content;
responding to an instruction of a second application program for calling an input method, and obtaining a target keyword matched with the type of the second application program from the target keyword set; the second application is of a different type than the first application;
displaying an input interface of the input method, and displaying the target keyword as a candidate item in the input interface;
obtaining keywords representing the input intention of the user according to the target content, wherein the keywords comprise:
training to obtain an expression mode representing the input intention of the user according to input information corresponding to the first input operation of the user in the second application program and target information used in the first application program before the first input operation;
judging whether the target content conforms to the expression mode or not according to the expression mode;
and if so, acquiring a preset keyword in the target content as a keyword for representing the input intention of the user.
2. The method of claim 1, wherein obtaining keywords characterizing user input intent based on the target content comprises:
judging whether the target content contains a preset verb and a preset noun which represent the input intention;
if yes, the preset noun in the target content is obtained and used as a keyword for representing the input intention of the user.
3. The method of claim 1, wherein obtaining keywords characterizing user input intent based on the target content comprises:
and performing semantic recognition on the target content to obtain a keyword which expresses the input intention of the user in the target content.
4. A method according to any one of claims 1 to 3, wherein obtaining target keywords from the set of target keywords that match the type of the second application comprises:
and obtaining the target keywords of which the updating time is matched with the type of the second application program within a preset time period from the target keyword set.
5. The method of claim 1, wherein when the target content is communication content, obtaining keywords representing user input intention according to the target content comprises:
obtaining the above content and/or the below content of the communication content;
and obtaining keywords representing the input intention of the user according to the communication content and the above content and/or the below content.
6. An information presentation apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring a target keyword set representing the input intention of a user in a first application program; the acquisition unit includes:
the acquisition module is used for acquiring target content in the first application program;
the screening module is used for obtaining keywords representing the input intention of the user according to the target content;
the storage module is used for writing the keywords into the target keyword set;
the target content includes at least one of: communication content, browsing content, object of editing operation and input content;
the matching unit is used for responding to an instruction of a second application program for calling an input method and obtaining a target keyword matched with the type of the second application program from the target keyword set; the second application is of a different type than the first application;
the display unit is used for displaying an input interface of the input method and displaying the target keyword as a candidate item in the input interface;
the screening module is used for:
training to obtain an expression mode representing the input intention of the user according to input information corresponding to the first input operation of the user in the second application program and target information used in the first application program before the first input operation;
judging whether the target content conforms to the expression mode or not according to the expression mode;
and if so, acquiring a preset keyword in the target content as a keyword for representing the input intention of the user.
7. The apparatus of claim 6, wherein the screening module is further to:
judging whether the target content contains a preset verb and a preset noun which represent the input intention;
if yes, the preset noun in the target content is obtained to be used as a keyword for representing the input intention of the user.
8. The apparatus of claim 6, wherein the screening module is further to:
and performing semantic recognition on the target content to obtain a keyword which expresses the input intention of the user in the target content.
9. The apparatus according to any of claims 6 to 8, wherein the matching unit is configured to:
and obtaining the target keywords of which the updating time is matched with the type of the second application program within a preset time period from the target keyword set.
10. The apparatus of claim 6, wherein the screening module is further to:
when the target content is communication content, obtaining the above content and/or the below content of the communication content;
and obtaining keywords representing the input intention of the user according to the communication content and the above content and/or the below content.
11. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein the one or more programs configured to be executed by the one or more processors comprise operating instructions for performing the method of any of claims 1-5.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201711395564.XA 2017-12-21 2017-12-21 Information display method and device and electronic equipment Active CN109947264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711395564.XA CN109947264B (en) 2017-12-21 2017-12-21 Information display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711395564.XA CN109947264B (en) 2017-12-21 2017-12-21 Information display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109947264A CN109947264A (en) 2019-06-28
CN109947264B true CN109947264B (en) 2023-03-14

Family

ID=67005773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711395564.XA Active CN109947264B (en) 2017-12-21 2017-12-21 Information display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109947264B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314452A (en) * 2010-06-30 2012-01-11 北京搜狗科技发展有限公司 Method for navigation through input method platform and system
CN104076944A (en) * 2014-06-06 2014-10-01 北京搜狗科技发展有限公司 Chat emoticon input method and device
CN104298429A (en) * 2014-09-25 2015-01-21 北京搜狗科技发展有限公司 Information presentation method based on input and input method system
CN105930452A (en) * 2016-04-21 2016-09-07 北京紫平方信息技术股份有限公司 Smart answering method capable of identifying natural language
CN106095749A (en) * 2016-06-03 2016-11-09 杭州量知数据科技有限公司 A kind of text key word extracting method based on degree of depth study
CN106326303A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Spoken language semantic analysis system and method
CN106406565A (en) * 2016-09-29 2017-02-15 维沃移动通信有限公司 Vocabulary input method for mobile terminal and mobile terminal
CN106415527A (en) * 2016-08-31 2017-02-15 北京小米移动软件有限公司 Message communication method and device
CN106710592A (en) * 2016-12-29 2017-05-24 北京奇虎科技有限公司 Speech recognition error correction method and speech recognition error correction device used for intelligent hardware equipment
CN106708282A (en) * 2015-12-02 2017-05-24 北京搜狗科技发展有限公司 Recommending method and device and device for recommending
CN106896932A (en) * 2016-06-07 2017-06-27 阿里巴巴集团控股有限公司 A kind of candidate word recommends method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722483B (en) * 2011-03-29 2017-07-25 百度在线网络技术(北京)有限公司 For determining method, device and equipment that the candidate item of input method sorts
CN103226393B (en) * 2013-04-12 2016-05-18 百度在线网络技术(北京)有限公司 A kind of input method and equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314452A (en) * 2010-06-30 2012-01-11 北京搜狗科技发展有限公司 Method for navigation through input method platform and system
CN104076944A (en) * 2014-06-06 2014-10-01 北京搜狗科技发展有限公司 Chat emoticon input method and device
CN104298429A (en) * 2014-09-25 2015-01-21 北京搜狗科技发展有限公司 Information presentation method based on input and input method system
CN106326303A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Spoken language semantic analysis system and method
CN106708282A (en) * 2015-12-02 2017-05-24 北京搜狗科技发展有限公司 Recommending method and device and device for recommending
CN105930452A (en) * 2016-04-21 2016-09-07 北京紫平方信息技术股份有限公司 Smart answering method capable of identifying natural language
CN106095749A (en) * 2016-06-03 2016-11-09 杭州量知数据科技有限公司 A kind of text key word extracting method based on degree of depth study
CN106896932A (en) * 2016-06-07 2017-06-27 阿里巴巴集团控股有限公司 A kind of candidate word recommends method and device
CN106415527A (en) * 2016-08-31 2017-02-15 北京小米移动软件有限公司 Message communication method and device
CN106406565A (en) * 2016-09-29 2017-02-15 维沃移动通信有限公司 Vocabulary input method for mobile terminal and mobile terminal
CN106710592A (en) * 2016-12-29 2017-05-24 北京奇虎科技有限公司 Speech recognition error correction method and speech recognition error correction device used for intelligent hardware equipment

Also Published As

Publication number Publication date
CN109947264A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN108227950B (en) Input method and device
CN106897937B (en) Method and device for displaying social sharing information
CN106095465B (en) Method and device for setting identity image
CN107784045B (en) Quick reply method and device for quick reply
CN107315487B (en) Input processing method and device and electronic equipment
CN107666536B (en) Method and device for searching terminal
CN107291772B (en) Search access method and device and electronic equipment
CN107402767B (en) Method and device for displaying push message
CN106331328B (en) Information prompting method and device
CN104951522B (en) Method and device for searching
CN109814730B (en) Input method and device and input device
CN109521888B (en) Input method, device and medium
CN111629270A (en) Candidate item determination method and device and machine-readable medium
CN111177521A (en) Method and device for determining query term classification model
CN109842688B (en) Content recommendation method and device, electronic equipment and storage medium
CN109901726B (en) Candidate word generation method and device and candidate word generation device
CN110020082B (en) Searching method and device
CN109799916B (en) Candidate item association method and device
CN112784151A (en) Method and related device for determining recommendation information
CN109947264B (en) Information display method and device and electronic equipment
CN110968246A (en) Intelligent Chinese handwriting input recognition method and device
CN110213062B (en) Method and device for processing message
CN114691277A (en) Application program processing method, intelligent terminal and storage medium
CN109725736B (en) Candidate sorting method and device and electronic equipment
CN113870195A (en) Target map detection model training and map detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant