CN109814733B - Input-based recommendation information generation method and device - Google Patents

Input-based recommendation information generation method and device Download PDF

Info

Publication number
CN109814733B
CN109814733B CN201910015880.2A CN201910015880A CN109814733B CN 109814733 B CN109814733 B CN 109814733B CN 201910015880 A CN201910015880 A CN 201910015880A CN 109814733 B CN109814733 B CN 109814733B
Authority
CN
China
Prior art keywords
panoramic
view
panoramic picture
character
character string
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
CN201910015880.2A
Other languages
Chinese (zh)
Other versions
CN109814733A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910015880.2A priority Critical patent/CN109814733B/en
Publication of CN109814733A publication Critical patent/CN109814733A/en
Application granted granted Critical
Publication of CN109814733B publication Critical patent/CN109814733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a recommendation information generation method and device based on input, wherein the method comprises the following steps: identifying the acquired first character string to judge whether the first character string comprises any character in a preset library; if the first character string comprises a first character in a preset library, acquiring a panoramic view corresponding to the first character from the preset library; displaying a panoramic picture corresponding to the panoramic view in recommendation information corresponding to the first character string, wherein the panoramic picture is associated with a panoramic view page address; and when the panoramic picture is selected, displaying the panoramic picture on a current input interface. The method realizes recommendation of the panoramic picture to the user in the process that the user uses the input method, so that the user can input the panoramic picture, and more convenient service can be provided for the user through the input method.

Description

Input-based recommendation information generation method and device
Technical Field
The application relates to the technical field of input methods, in particular to a recommendation information generation method and device based on input.
Background
The input method refers to a coding method adopted for inputting various symbols into a computer or other equipment, such as a mobile phone, a tablet computer and the like.
With the development of internet technology, the input method is almost a necessary application used by every user, and the user can chat, edit the file and the like through instant messaging software by using the input method. At present, how to provide more convenient service for users through an input method is a problem that various input method providers need to be close to each other urgently.
Disclosure of Invention
The application provides a recommendation information generation method and device based on input, so that a panoramic picture is recommended to a user in the process that the user uses an input method, the user can input the panoramic picture, and therefore more convenient service can be provided for the user through the input method.
An embodiment of one aspect of the present application provides a recommendation information generation method based on input, including:
identifying the acquired first character string to judge whether the first character string comprises any character in a preset library;
if the first character string comprises a first character in the preset library, acquiring a panoramic view corresponding to the first character from the preset library;
displaying a panoramic picture corresponding to the panoramic view in recommendation information corresponding to the first character string, wherein the panoramic picture is associated with the panoramic view page address;
and when the panoramic picture is selected, displaying the panoramic picture on a current input interface.
According to the recommendation information generation method based on input, whether any character in the preset library is contained in the obtained first character string is judged, when the first character in the preset library is contained, the panoramic view corresponding to the first character is obtained from the preset library, the panoramic picture corresponding to the panoramic view is displayed in the recommendation information corresponding to the first character string, when the panoramic picture is selected, the panoramic picture is displayed on the current input interface, the panoramic picture is recommended to a user in the process that the user uses an input method, the user can input the panoramic picture, and therefore more convenient service can be provided for the user through the input method.
Another embodiment of the present application provides an input-based recommendation information generation apparatus, including:
the first acquisition module is used for identifying the acquired first character string so as to judge whether the first character string comprises any character in a preset library;
the second obtaining module is used for obtaining a panoramic view corresponding to the first character from the preset library when the first character string comprises the first character in the preset library;
the display module is used for displaying the panoramic picture corresponding to the panoramic view in the recommendation information corresponding to the first character string, wherein the panoramic picture is associated with the panoramic view page address;
and the display module is used for displaying the panoramic picture on the current input interface when the panoramic picture is selected.
The recommendation information generation device based on input provided by the embodiment of the application judges whether the acquired first character string contains any character in the preset library, acquires the panoramic view corresponding to the first character from the preset library when the first character in the preset library is contained, displays the panoramic picture corresponding to the panoramic view in the recommendation information corresponding to the first character string, displays the panoramic picture on the current input interface when the panoramic picture is selected, realizes that the panoramic picture is recommended to a user in the process of using an input method by the user, enables the user to input the panoramic picture, and can provide more convenient service for the user through the input method.
Another embodiment of the present application provides a computer device, which includes a processor and a memory;
wherein the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method for generating recommendation information based on input as described in the above-mentioned embodiment of an aspect.
Another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for generating recommendation information based on input as described in an embodiment of the above aspect.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a method for generating recommendation information based on input according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interactive interface for a communication application according to an embodiment of the present disclosure;
FIG. 3 is a schematic flowchart of another input-based recommendation information generation method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another method for generating recommendation information based on input according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an input-based recommendation information generation apparatus according to an embodiment of the present application;
FIG. 6 illustrates a block diagram of an exemplary computer device suitable for use to implement embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
An input-based recommendation information generation method and apparatus according to an embodiment of the present application are described below with reference to the drawings.
Fig. 1 is a schematic flowchart of a method for generating recommendation information based on input according to an embodiment of the present application.
The recommendation information generation method based on input provided by the embodiment of the application can be executed by the recommendation information generation device based on input provided by the embodiment of the application, and the device can be configured in computer equipment to recommend the panoramic picture to the user in the process that the user uses the input method, so that the user can input the panoramic picture, and more convenient and faster service can be provided for the user through the input method.
As shown in fig. 1, the input-based recommendation information generation method includes:
step 101, performing identification processing on the acquired first character string to judge whether the first character string includes any character in a preset library.
When the user inputs the information by adopting the input method, the input method can provide the recommendation information according to the character string input by the user, the user selects the content from the recommendation information, and the selected content can be displayed in the input interface.
In this embodiment, in the process of using the input method by the user, if the user inputs a segment of character string, which is referred to as a first character string herein, the recommendation information generation device based on the input may acquire the first character string input by the user. Here, the first character string may be pinyin, english abbreviation, english full name, or the like.
After the first character string is obtained, the first character string is subjected to recognition processing so as to judge whether the first character string contains any character in a preset library. The preset library comprises mapping relations between characters and the panoramic view. That is, the characters in the preset library are characters corresponding to the panorama view.
Specifically, the characters in the first character string may be compared with the characters in the preset library to determine whether there is a character in the first character string that is consistent with the characters in the preset library.
For example, if the user inputs "wuhandaxue," it can be determined whether the character string contains any character in the preset library.
Step 102, if the first character string includes a first character in a preset library, acquiring a panoramic view corresponding to the first character from the preset library.
When the first character string comprises a first character in a preset library, the first character is indicated to have a corresponding panoramic view, and then the panoramic view corresponding to the first character is searched in the preset library according to the first character.
For example, when the user inputs the pinyin "hubei wuhandaxueyquinjing" during the course of using the chinese input method, the pinyin is converted into the chinese "pan around wuhan university" including "pan around wuhan university", and then a pan view corresponding to "pan around wuhan university" is obtained in the preset library.
And 103, displaying a panoramic picture corresponding to the panoramic view in the recommendation information corresponding to the first character string, wherein the panoramic picture is associated with the page address of the panoramic view.
In this embodiment, after the panoramic view corresponding to the first character is obtained, a panoramic picture corresponding to the panoramic view, for example, a panoramic picture of a certain angle of the panoramic view, may be obtained, and the panoramic picture corresponding to the panoramic view is displayed in the recommendation information corresponding to the first character string. Taking an input method as an example, recommendation information can be displayed in an input option interface of the input method, and the recommendation information includes a panoramic picture corresponding to a panoramic view. Wherein the panoramic picture is associated with a panoramic view page address.
The recommendation information corresponding to the first character string comprises: and the first character string corresponds to recommended characters, expressions, dynamic pictures and the like. For example, in fig. 2, the user inputs the pinyin "haerbingongyedaxue" by using the input method, and the recommended information displayed in the input option interface of the input method includes a panoramic picture corresponding to the pinyin, "panoramic view of the university of harlbine industry", "harlbine", "harl", and the like.
When the panoramic picture is presented, as shown in fig. 2, the panoramic picture and the corresponding number may be presented in an input option interface.
And step 104, displaying the panoramic picture on the current input interface when the panoramic picture is selected.
When the user clicks the panoramic picture in the recommendation information or clicks the number, it can be determined that the panoramic picture is selected, and then the panoramic picture is displayed on the current input interface.
In this embodiment, the input interface may be an interactive interface of an instant messaging application, or may be a document editing interface. That is, the user may input the panorama picture while chatting with the instant messenger application. Alternatively, a panoramic picture may be input in the document when the document is edited.
As shown in fig. 2, fig. 2 is a chat interface of an instant messaging application, in which a user inputs a panoramic picture.
In practical application, the panoramic view can be obtained by splicing a plurality of panoramic pictures with different visual angles. In order to improve the accuracy of the character string recommendation information, in an embodiment of the present application, if a panoramic view corresponds to at least two panoramic pictures with different view angles, before the obtained panoramic pictures are displayed, a panoramic picture of one view angle may be obtained first, and the obtained panoramic picture is used as a picture displayed in the recommendation information. Fig. 3 is a schematic flowchart of another method for generating recommendation information based on input according to an embodiment of the present application.
As shown in fig. 3, before presenting the panoramic picture corresponding to the panoramic view in the recommendation information corresponding to the first character string, the method for generating recommendation information based on input further includes:
step 201, performing semantic recognition on other second characters except the first character in the first character string and/or second character strings adjacent to the first character string to determine a target view angle currently corresponding to the panoramic view.
Because the panoramic view is at a fixed viewpoint, 360-degree azimuth angle in the horizontal direction and 180-degree free browsing in the vertical direction can be provided, and the simplified panoramic view can only provide 360-degree browsing in the horizontal direction.
In this embodiment, the target view angle currently corresponding to the panoramic view may be determined by performing semantic recognition on each of the other characters in the first character string except the first character, which are referred to as second characters herein, or on the second character string adjacent to the first character string, or may be determined by performing semantic recognition on each of the other characters in the first character string except the first character and on the second character string adjacent to the first character string.
For example, if the first character string is "wuhadaxuezhengmianqianying", semantic recognition may be performed on characters of the first character string other than "wuhadaxuequalying", and semantics of two characters, that is, the second character "zheng" and "mian" are determined to be "front", so that it may be determined that a currently corresponding viewing angle of the panoramic view is "front".
For another example, the first character string is "wuhadaxuequinjing", the second character string adjacent to the first character is "zhengmian", semantic recognition is performed on the "zhengmian", the semantic is "front", and it may also be determined that the target view angle currently corresponding to the panoramic view is front.
Step 202, a target panoramic picture matched with a target view angle is obtained from at least two panoramic pictures with different view angles.
In this embodiment, after the target view angle corresponding to the panoramic view is determined, a panoramic picture matched with the target view angle is obtained from panoramic pictures with different view angles, and the panoramic picture is used as the target panoramic picture, so that the target panoramic picture is displayed in the recommendation information corresponding to the first character string. And when the target panoramic picture is selected, displaying the target panoramic picture in the input interface.
Wherein the target panoramic picture is associated with the panoramic view address.
In the embodiment of the application, when the panoramic view corresponds to panoramic pictures with at least two different view angles, before the recommendation information is displayed, a target view angle corresponding to the panoramic view currently can be determined according to other characters except the first character in the first character string, or the character string adjacent to the first character, or other characters except the first character in the first character string and the character string adjacent to the first character string, and the panoramic picture corresponding to the target view angle is displayed in the recommendation information as the target panoramic picture, so that the panoramic picture matched with the view angle corresponding to the panoramic view currently is recommended to a user, and the recommendation accuracy of the recommendation information is improved.
Further, in the above embodiment, since the panoramic picture displayed in the recommendation information corresponding to the first character string is associated with the panoramic view, in another embodiment of the present application, a panoramic experience may also be performed according to the panoramic picture.
Specifically, after the panoramic picture is displayed on the current input interface, when the reference request of the panoramic picture is acquired by the recommendation information generation device based on the input, a panoramic view page can be opened according to a panoramic view address associated with the panoramic picture, wherein the panoramic view page can be displayed on the top layer of the input interface in a floating manner.
That is, when the user clicks on the panoramic picture in the input interface, the top layer of the input interface floats displaying the panoramic view page. Thereby providing the user with an immersive panoramic experience.
Further, after the panoramic view page is opened, a new panoramic picture can be generated according to the visual angle adjusting instruction. The process is described below with reference to fig. 4, and fig. 4 is a schematic flowchart of another input-based recommendation information generation method provided in the embodiment of the present application.
As shown in fig. 4, the input-based recommendation information generating method includes:
step 301, performing recognition processing on the acquired first character string to determine whether the first character string includes any character in a preset library.
Step 302, if the first character string includes a first character in a preset library, a panoramic view corresponding to the first character is obtained from the preset library.
And 303, displaying a panoramic picture corresponding to the panoramic view in the recommendation information corresponding to the first character string, wherein the panoramic picture is associated with the page address of the panoramic view.
And step 304, when the panoramic picture is selected, displaying the panoramic picture on a current input interface.
In this embodiment, steps 301 to 304 are similar to steps 101 to 104, and thus are not described herein again.
And 305, opening a panoramic view page according to the panoramic view page address when a reference request of the panoramic picture is acquired.
After the panoramic picture is displayed on the current input interface, when the reference request of the panoramic picture is acquired by the recommendation information generation device based on input, a panoramic view page can be opened according to a panoramic view address associated with the panoramic picture, wherein the panoramic view page can be displayed on the top layer of the input interface in a floating mode.
That is, when the user clicks on the panoramic picture in the input interface, the top layer of the input interface floats to display the panoramic view page. Thereby providing the user with an immersive panoramic experience.
And step 306, adjusting the view angle of the panoramic view according to the obtained view angle adjusting instruction.
When a user drags a mouse or performs a click operation on the panoramic view, the input recommendation information generation device can acquire the view angle adjustment instruction and adjust the view angle of the panoramic view according to the view angle adjustment instruction. For example, a panoramic view of a building is adjusted from a frontal perspective to a lateral perspective.
And 307, when a closing instruction of the panoramic view is obtained, generating a new panoramic picture according to the current view angle of the panoramic view.
In this embodiment, a control for closing the panoramic view may be provided on the panoramic view page, or an option for closing the panoramic view may be provided, and when the user performs an operation of closing the panoramic view, the panoramic view closing instruction may be acquired by the recommendation information generation device based on the input. When the recommendation information generation device based on input acquires the closing instruction of the panoramic view, the panoramic picture matched with the current view angle can be generated according to the current view angle of the panoramic view.
And step 308, displaying the new panoramic picture in the input interface.
After the new panoramic picture is generated, the new panoramic picture may be displayed in an input interface. Specifically, the panoramic picture in the input interface may be replaced with a new panoramic picture, so as to update the panoramic picture in the input interface, or the new panoramic picture may be displayed at the tail of the input interface. For example, a new panoramic picture is displayed in the input interface at a position subsequent to the most recently entered content.
In the embodiment of the application, after the panoramic view of the panoramic picture is opened, the panoramic view visual angle can be adjusted according to the acquired adjusting instruction, and when the panoramic view is closed, a new panoramic picture is generated according to the adjusted panoramic view angle, and the panoramic picture in the input interface is updated by using the new panoramic picture, so that the panoramic picture in the input interface can be updated according to the change of the panoramic view visual angle, and the intelligent input interface has strong intelligence.
In practical application, the size of the panoramic picture may be larger than that of the input interface, and in order to ensure that the panoramic picture can be completely displayed on the input interface, the panoramic picture is displayed in front of the current input interface, and the size of the panoramic picture can be adjusted according to the size of the input interface.
Specifically, the size of the input interface is compared with the size of the panoramic picture, and if the size of the input interface is smaller than the size of the panoramic picture, the size of the panoramic picture is adjusted to be smaller than the size of the input interface according to the size of the input interface. Of course, if the size of the input interface is much larger than the size of the panoramic picture, the size of the panoramic picture may also be increased appropriately.
In the embodiment of the application, before the panoramic picture is displayed in the input interface, the size of the panoramic picture can be automatically adjusted according to the size of the input interface, so that the panoramic picture can be normally and completely displayed in the input interface.
In order to implement the foregoing embodiments, an input-based recommendation information generation device is further provided in the embodiments of the present application. Fig. 5 is a schematic structural diagram of an input-based recommendation information generation apparatus according to an embodiment of the present application.
As shown in fig. 5, the input-based recommendation information generating apparatus includes: a first obtaining module 410, a second obtaining module 420, a displaying module 430, and a first displaying module 440.
A first obtaining module 410, configured to perform recognition processing on the obtained first character string to determine whether the first character string includes any character in a preset library;
a second obtaining module 420, configured to, when the first character string includes a first character in a preset library, obtain a panoramic view corresponding to the first character from the preset library;
the displaying module 430 is configured to display a panoramic picture corresponding to the panoramic view in the recommendation information corresponding to the first character string, where the panoramic picture is associated with a panoramic view page address;
and a first display module 440, configured to display the panoramic image on the current input interface when the panoramic image is selected.
In a possible implementation manner of the embodiment of the application, the panoramic view corresponds to at least two panoramic pictures with different view angles; the apparatus may further comprise:
the determining module is used for performing semantic recognition on other second characters except the first character in the first character string and/or second character strings adjacent to the first character string to determine a target view angle corresponding to the panoramic view currently;
and the third acquisition module is used for acquiring a target panoramic picture matched with the target visual angle from the panoramic pictures with different at least two visual angles.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
and the opening module is used for opening the panoramic view page according to the panoramic view page address when the reference request of the panoramic picture is acquired.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
the first adjusting module is used for adjusting the visual angle of the panoramic view according to the obtained visual angle adjusting instruction;
the generating module is used for generating a new panoramic picture according to the current view angle of the panoramic view when a closing instruction of the panoramic view is obtained;
and the second display module is used for displaying the new panoramic picture in the input interface.
In a possible implementation manner of the embodiment of the present application, the second display module is configured to display a new panoramic picture at a tail of the input interface; or updating the panoramic picture in the input interface by using the new panoramic picture.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
and the second adjusting module is used for adjusting the size of the panoramic picture according to the size of the input interface.
In a possible implementation manner of the embodiment of the application, the input interface is an instant messaging application interactive interface or a document editing interface.
It should be noted that the explanation of the embodiment of the recommendation information generation method based on input is also applicable to the recommendation information generation device based on input of the embodiment, and therefore, the explanation is not repeated herein.
The input-based recommendation information generation device of the embodiment of the application judges whether any character in a preset library is contained in an acquired first character string, acquires a panoramic view corresponding to the first character from the preset library when the first character in the preset library is contained, displays a panoramic picture corresponding to the panoramic view in recommendation information corresponding to the first character string, displays the panoramic picture on a current input interface when the panoramic picture is selected, and realizes recommendation of the panoramic picture to a user in the process of using an input method by the user, so that the user can input the panoramic picture, and more convenient service can be provided for the user through the input method.
In order to implement the foregoing embodiments, an embodiment of the present application further provides a computer device, including a processor and a memory;
wherein the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the input-based recommendation information generation method as described in the above embodiments.
FIG. 6 illustrates a block diagram of an exemplary computer device suitable for use to implement embodiments of the present application. The computer device 12 shown in fig. 6 is only an example and should not bring any limitation to the function and use range of the embodiments of the present application.
As shown in FIG. 6, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro Channel Architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via Network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, for example, implementing the methods mentioned in the foregoing embodiments, by running a program stored in the system memory 28.
In order to implement the foregoing embodiments, the present application further proposes a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the input-based recommendation information generation method according to the foregoing embodiments.
In the description of the present specification, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer-readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (7)

1. A recommendation information generation method based on input is characterized by comprising the following steps:
identifying the acquired first character string to judge whether the first character string comprises any character in a preset library, wherein the preset library comprises a mapping relation between the character and the panoramic view;
if the first character string comprises a first character in the preset library, acquiring a panoramic view corresponding to the first character from the preset library;
displaying a panoramic picture corresponding to the panoramic view in recommendation information corresponding to the first character string, wherein the panoramic picture is associated with the panoramic view page address;
when the panoramic picture is selected, displaying the panoramic picture on a current input interface;
the panoramic view corresponds to at least two panoramic pictures with different visual angles;
before the displaying the panoramic picture corresponding to the panoramic view in the recommendation information corresponding to the first character string, the method further includes:
performing semantic recognition on other second characters except the first character in the first character string and/or second character strings adjacent to the first character string to determine a target view angle currently corresponding to the panoramic view;
acquiring a target panoramic picture matched with the target visual angle from the panoramic pictures with different visual angles;
the displaying the panoramic picture after the current input interface further comprises:
when a viewing request of the panoramic picture is acquired, opening the panoramic view page according to the panoramic view page address;
after the panoramic view page is opened according to the panoramic view page address, the method further comprises the following steps:
adjusting the view angle of the panoramic view according to the obtained view angle adjusting instruction;
when a closing instruction of a panoramic view is acquired, generating a new panoramic picture according to the current view angle of the panoramic view;
displaying the new panoramic picture in the input interface.
2. The method of claim 1, wherein said displaying the new panoramic image in the input interface comprises:
displaying the new panoramic picture at the tail part of the input interface;
or,
and updating the panoramic picture in the input interface by using the new panoramic picture.
3. The method of any of claims 1-2, wherein the displaying the panoramic image before the current input interface further comprises:
and adjusting the size of the panoramic picture according to the size of the input interface.
4. The method of any of claims 1-2, wherein the input interface is an instant messaging application interactive interface or a document editing interface.
5. An input-based recommendation information generation apparatus, comprising:
the first acquisition module is used for identifying the acquired first character string so as to judge whether the first character string comprises any character in a preset library, wherein the preset library comprises a mapping relation between the character and the panoramic view;
the second obtaining module is used for obtaining a panoramic view corresponding to the first character from the preset library when the first character string comprises the first character in the preset library;
the display module is used for displaying the panoramic picture corresponding to the panoramic view in the recommendation information corresponding to the first character string, wherein the panoramic picture is associated with the panoramic view page address;
the first display module is used for displaying the panoramic picture on a current input interface when the panoramic picture is selected;
the panoramic view corresponds to at least two panoramic pictures with different visual angles;
before the displaying the panoramic picture corresponding to the panoramic view in the recommendation information corresponding to the first character string, the method further includes:
performing semantic recognition on other second characters in the first character string except the first character and/or second character strings adjacent to the first character string to determine a target view angle currently corresponding to the panoramic view;
acquiring a target panoramic picture matched with the target visual angle from the panoramic pictures with different visual angles;
the displaying the panoramic picture after the current input interface further comprises:
opening the panoramic view page according to the panoramic view page address when a reference request of the panoramic picture is acquired;
after the panoramic view page is opened according to the panoramic view page address, the method further comprises the following steps:
adjusting the view angle of the panoramic view according to the obtained view angle adjusting instruction;
when a closing instruction of a panoramic view is acquired, generating a new panoramic picture according to the current view angle of the panoramic view;
displaying the new panoramic picture in the input interface.
6. A computer device comprising a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for implementing the input-based recommendation information generation method according to any one of claims 1 to 4.
7. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of generating recommendation information based on input of any one of claims 1-4.
CN201910015880.2A 2019-01-08 2019-01-08 Input-based recommendation information generation method and device Active CN109814733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910015880.2A CN109814733B (en) 2019-01-08 2019-01-08 Input-based recommendation information generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910015880.2A CN109814733B (en) 2019-01-08 2019-01-08 Input-based recommendation information generation method and device

Publications (2)

Publication Number Publication Date
CN109814733A CN109814733A (en) 2019-05-28
CN109814733B true CN109814733B (en) 2022-11-08

Family

ID=66604118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910015880.2A Active CN109814733B (en) 2019-01-08 2019-01-08 Input-based recommendation information generation method and device

Country Status (1)

Country Link
CN (1) CN109814733B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110309517B (en) * 2019-07-02 2023-10-17 北京百度网讯科技有限公司 Expression document processing method, device, system and storage medium
CN111147363B (en) * 2020-02-26 2021-09-07 天津银本硕果企业管理咨询合伙企业(有限合伙) Method and system for transferring third party application information in a message exchange session
CN112383662B (en) * 2020-11-09 2022-03-25 维沃移动通信有限公司 Information display method and device and electronic equipment
CN113297359B (en) * 2021-04-23 2023-11-28 阿里巴巴新加坡控股有限公司 Method and device for information interaction

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000354244A (en) * 1999-06-11 2000-12-19 Canon Inc Image processing unit, its method and computer-readable storage medium
CN101984384A (en) * 2010-10-27 2011-03-09 大连工业大学 Mobile terminal and design method of operation and control technology thereof
CN102147793A (en) * 2010-02-04 2011-08-10 吴沁园 Panoramic navigation and screenshot method
JP2012160904A (en) * 2011-01-31 2012-08-23 Sony Corp Information processor, information processing method, program, and imaging apparatus
CN103310209A (en) * 2012-03-09 2013-09-18 富士通株式会社 Method and device for identification of character string in image
CN103455167A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method, client and system for adjusting input method editor (IME) corpus based on geographical region information
CN105955506A (en) * 2016-05-20 2016-09-21 珠海市魅族科技有限公司 Information display method and information display device
WO2017115248A1 (en) * 2015-12-31 2017-07-06 Nokia Technologies Oy Method and apparatus for generating a panoramic view with regions of different dimensionality

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101913837B1 (en) * 2011-11-29 2018-11-01 삼성전자주식회사 Method for providing Panoramic image and imaging device thereof
CN104133561B (en) * 2014-07-31 2018-06-05 百度在线网络技术(北京)有限公司 Auxiliary information based on input method shows method and apparatus
CN104239535B (en) * 2014-09-22 2018-04-27 重庆邮电大学 A kind of method, server, terminal and system for word figure
CN104504109B (en) * 2014-12-30 2017-03-15 百度在线网络技术(北京)有限公司 Image searching method and device
CN107104881B (en) * 2015-05-29 2021-09-14 北京搜狗科技发展有限公司 Information processing method and device
CN106331732B (en) * 2016-09-26 2019-11-12 北京疯景科技有限公司 Generate, show the method and device of panorama content
KR102559407B1 (en) * 2016-10-19 2023-07-26 삼성전자주식회사 Computer readable recording meditum and electronic apparatus for displaying image
CN107479818B (en) * 2017-08-16 2020-01-07 维沃移动通信有限公司 Information interaction method and mobile terminal
CN108829784A (en) * 2018-05-31 2018-11-16 百度在线网络技术(北京)有限公司 Panorama recommended method, device, equipment and computer-readable medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000354244A (en) * 1999-06-11 2000-12-19 Canon Inc Image processing unit, its method and computer-readable storage medium
CN102147793A (en) * 2010-02-04 2011-08-10 吴沁园 Panoramic navigation and screenshot method
CN101984384A (en) * 2010-10-27 2011-03-09 大连工业大学 Mobile terminal and design method of operation and control technology thereof
JP2012160904A (en) * 2011-01-31 2012-08-23 Sony Corp Information processor, information processing method, program, and imaging apparatus
CN103310209A (en) * 2012-03-09 2013-09-18 富士通株式会社 Method and device for identification of character string in image
CN103455167A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method, client and system for adjusting input method editor (IME) corpus based on geographical region information
WO2017115248A1 (en) * 2015-12-31 2017-07-06 Nokia Technologies Oy Method and apparatus for generating a panoramic view with regions of different dimensionality
CN105955506A (en) * 2016-05-20 2016-09-21 珠海市魅族科技有限公司 Information display method and information display device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Textfinder: An automatic system to detect and recognize text in images;Wu Victor 等;《IEEE Transactions on pattern analysis and machine intelligence》;19991130;第21卷(第11期);1224-1229 *
Vision-and-language navigation: Interpreting visually-grounded navigation instructions in real environments;Anderson Peter 等;《Proceedings of the IEEE conference on computer vision and pattern recognition》;20181231;3674-3683 *
基于MTK平台的输入法模块设计与实现;周湛樟;《中国优秀硕士学位论文全文数据库信息科技辑》;20140115(第01期);I138-1506 *
基于用户体验的APP设计研究;黄晟;《中国优秀硕士学位论文全文数据库信息科技辑》;20130115(第01期);I136-394 *

Also Published As

Publication number Publication date
CN109814733A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN109814733B (en) Input-based recommendation information generation method and device
JP6179889B2 (en) Comment information generation device and comment display device
CN106575361B (en) Method for providing visual sound image and electronic equipment for implementing the method
US10269164B1 (en) Creating custom stickers for use on a messaging system
AU2013273829A1 (en) Time constrained augmented reality
US9607179B2 (en) Providing display content according to confidential information
CN112035195B (en) Application interface display method and device, electronic equipment and storage medium
CN109918685B (en) Computer-aided translation method, device, computer equipment and storage medium
US7721196B2 (en) Arbitrary rendering of visual elements on a code editor
US11556605B2 (en) Search method, device and storage medium
US20130298048A1 (en) Multi-source, multi-destination data transfers
CN111783508A (en) Method and apparatus for processing image
US20220406311A1 (en) Audio information processing method, apparatus, electronic device and storage medium
CN107168974B (en) Display control method and device for displaying related content of item and message in social application
JP2017068841A (en) Method implemented in computer for processing image and related text computer program product, and computer system
US20200357442A1 (en) Systems and methods for direct video retouching for text, strokes and images
CN112752158A (en) Video display method and device, electronic equipment and storage medium
KR20240110043A (en) Video processing method, video processing device, and computer-readable storage medium
CN113244612A (en) Locking mark display method and device, storage medium and electronic equipment
CN111836093B (en) Video playing method, device, equipment and medium
US20190268553A1 (en) Dynamic and contextual data replacement in video content
US20230196036A1 (en) Integrating overlaid textual digital content into displayed data via graphics processing circuitry using a frame buffer
US10915778B2 (en) User interface framework for multi-selection and operation of non-consecutive segmented information
CN114356475A (en) Display processing method, device, equipment and storage medium
CN112367295A (en) Plug-in display method and device, storage medium and electronic equipment

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