CN116166861A - Display method and device for search results - Google Patents

Display method and device for search results Download PDF

Info

Publication number
CN116166861A
CN116166861A CN202211669887.4A CN202211669887A CN116166861A CN 116166861 A CN116166861 A CN 116166861A CN 202211669887 A CN202211669887 A CN 202211669887A CN 116166861 A CN116166861 A CN 116166861A
Authority
CN
China
Prior art keywords
application
user
data
template
input information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211669887.4A
Other languages
Chinese (zh)
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.)
Dingtalk China Information Technology Co Ltd
Original Assignee
Dingtalk China Information 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 Dingtalk China Information Technology Co Ltd filed Critical Dingtalk China Information Technology Co Ltd
Priority to CN202211669887.4A priority Critical patent/CN116166861A/en
Publication of CN116166861A publication Critical patent/CN116166861A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The specification provides a method and a device for displaying search results, wherein the method comprises the following steps: acquiring input information from a user; for a target application related to the input information, an application presentation interface corresponding to the target application is shown in a search result display area, and application data of the target application is shown in the application presentation interface.

Description

Display method and device for search results
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for displaying a search result.
Background
When a user performs a search operation, based on input information provided by the user, the client may present a corresponding search result display area to the user, and further, in the related art, the client may display an entry of an application in the search result display area, assuming that the input information of the user is associated with the application, so that the user may learn that the input information of the user is associated with the application.
However, the above display method only stays at the entry of the display application, and specific application data needs to be accessed by the user through the displayed application entry, so that the application can be acquired after entering the corresponding application operation interface, resulting in long operation path and low operation efficiency of the user.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method and apparatus for displaying search results.
According to a first aspect of embodiments of the present disclosure, a method for presenting search results is provided and applied to a client, the method including:
acquiring input information from a user;
for a target application related to the input information, an application presentation interface corresponding to the target application is shown in a search result display area, and application data of the target application is shown in the application presentation interface.
According to a second aspect of embodiments of the present disclosure, there is provided a display device of search results, applied to a client, the device including:
a first acquisition unit configured to acquire input information from a user;
and a display unit for displaying, for a target application related to the input information, an application presentation interface corresponding to the target application in a search result display area, and displaying application data of the target application in the application presentation interface.
According to a third aspect of embodiments of the present specification, there is provided an electronic device comprising:
a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of the method of the first aspect described above.
According to a fourth aspect of embodiments of the present description, there is provided a computer-readable storage medium having stored thereon executable instructions; wherein the instructions, when executed by a processor, implement the steps of the method of the first aspect described above.
According to a fifth aspect of embodiments of the present description, there is provided a computer program which, when executed by a processor, implements the steps of the method of the first aspect described above.
In the embodiment of the specification, when a user performs a search operation, it is assumed that input information provided by the user is associated with a certain application, an application display interface may be shown in a search result display area, and the application display interface may further show application data, so that the user can acquire the application data without clicking an application entry to enter a corresponding application operation interface, thereby simplifying an operation path of the user and improving operation efficiency.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and together with the description, serve to explain the principles of the specification.
FIG. 1 is a schematic diagram of a search result display area provided in an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of the architecture of a search result presentation system according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flowchart of a method for presenting search results according to an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a search bar provided in an exemplary embodiment of the present disclosure;
FIG. 5 is a schematic illustration of an application presentation interface provided in an exemplary embodiment of the present disclosure;
FIG. 6 is a schematic illustration of an application presentation interface provided in an exemplary embodiment of the present disclosure;
FIG. 7 is a schematic illustration of an application presentation interface provided in an exemplary embodiment of the present disclosure;
fig. 8 is a schematic diagram of a PC-side application presentation interface according to an exemplary embodiment of the present disclosure;
fig. 9 is a schematic diagram of a PC-side application display interface according to an exemplary embodiment of the present disclosure;
fig. 10 is a schematic diagram of a PC-side application display interface according to an exemplary embodiment of the present disclosure
FIG. 11 is a schematic illustration of a communication session application presentation interface provided in accordance with an exemplary embodiment of the present disclosure;
FIG. 12 is a schematic illustration of a communication session application presentation interface provided in accordance with an exemplary embodiment of the present disclosure;
FIG. 13 is a schematic illustration of a communication session application presentation interface provided in accordance with an exemplary embodiment of the present disclosure;
FIG. 14 is a flowchart of a method for presenting search results provided by an exemplary embodiment of the present disclosure;
FIG. 15 is a schematic diagram of an application presentation template creation provided in an exemplary embodiment of the present description;
fig. 16 is a schematic structural view of an electronic device provided in an exemplary embodiment of the present specification;
FIG. 17 is a block diagram of a search result presentation apparatus according to an exemplary embodiment of the present disclosure;
FIG. 18 is a block diagram of a search result presentation apparatus according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with aspects of one or more embodiments of the present description.
It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than described in this specification. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; while various steps described in this specification may be combined into a single step in other embodiments. It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present description. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
User information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in this specification are both information and data authorized by the user or sufficiently authorized by the parties, and the collection, use and processing of relevant data requires compliance with relevant laws and regulations and standards of the relevant country and region, and is provided with corresponding operation portals for the user to choose authorization or denial.
When a user performs a search operation, based on input information provided by the user, the client may provide the user with a corresponding search result display area, and in the related art, the client may display an entry of an application in the search result display area, assuming that the input information of the user is associated with the application, so that the user may learn that the input information thereof is associated with the application. As shown in fig. 1, fig. 1 is a schematic diagram of a search result provided in an exemplary embodiment of the present disclosure, and assuming that input information of a user is "navigation", an application entry corresponding to "navigation" may be displayed in a corresponding search result display area, for example, an application entry 101 of "navigation a," an application entry 102 of "navigation B," an application entry 103 of "navigation C," etc. are displayed in the search result display area 104, and after obtaining the search result, the user needs to click on the application entry to enter a corresponding application operation interface, thereby obtaining corresponding application data. For example, the user clicks on the "navigation A" application portal 101 to enter the application's operation interface and learn that the "navigation A" application is accompanied by a high definition offline map, and that the "navigation A" provides an online taxi taking function.
However, in the search result display scheme mentioned in the related art, when a user performs a search operation, if the input information of the user is associated with a certain application, the user can only obtain a corresponding application list (as shown in fig. 1), but cannot obtain application data, and only after the user enters an operation interface corresponding to the application by clicking an application entry, the user can obtain the corresponding application data, so that the operation path of the user is long, the operation is complex, and the efficiency is low.
In view of this, the present specification provides an improved search result display scheme to solve the problems in the related art, and the following detailed description is provided with reference to the accompanying drawings.
Fig. 2 is a schematic diagram of a search result presentation system according to an exemplary embodiment of the present disclosure, where the architecture may include a server 21, a network 22, and several electronic devices, such as a mobile phone 23, a PC (Personal Computer, a personal computer) 24, and so on.
The server 21 may be deployed on a physical server including an independent host, or the server 21 may be deployed on a virtual server (e.g., cloud server) carried by a host cluster. The server 21 may run a server-side program having a search function, so that a corresponding search service may be provided to a user in cooperation with a client-side program. More specifically, the server-side program with the search function may be a server-side program corresponding to the instant messaging application, and the search function may refer to searching for related micro applications or native applications of the instant messaging application in the instant messaging application, and the like.
And the network 22 for interaction between the mobile phone 23, the PC24 and the server 21 may include various types of wired or wireless networks. In one embodiment, the network may include a public switched telephone network (Public Switched Telephone Network, PSTN) and the internet.
The electronic devices may be a cell phone 23, a PC24, and wearable devices (e.g., smart watches and smart glasses), which are not limited in this specification. The electronic equipment can run a client side program with a search function so as to cooperate with a server side to provide corresponding search application service for a user. More specifically, the client-side program with the search function may be a client-side program corresponding to the instant messaging application, and the search function may refer to searching for related micro applications or native applications of the instant messaging application in the instant messaging application, and the like. Because the application display interface can be shown to the user in the search results corresponding to the electronic equipment, and the application data can be shown in the application display interface, when the user logs in the client to perform search operation, if the input information of the user is associated with a certain application, the application data can be directly shown in the application display interface of the associated application, the user can acquire the application data without clicking an application entry and entering the corresponding application operation interface, the operation path of the user is simplified, and the operation efficiency is improved.
Fig. 3 is a flowchart of a method for displaying search results according to an exemplary embodiment of the present disclosure, where the method may be applied to a 5-client, and specifically includes the following steps:
step 302, obtaining input information from a user.
The input information of the user may refer to input information generated by the user through a search field of the client, for example, the user may input a keyword "XX get on the car" in the search field, and the "XX get on the car" may be regarded as input information of the user. As shown in FIG. 4, FIG. 4 is an example of the present specification
An exemplary embodiment provides a search bar diagram, for example, a user may input "workflow" in search bar 401 to search for a corresponding application related to workflow 0; the user (supervisor) can input the member name "XXX" in his own group, so that the user can search the corresponding group member "XXX
The application of the approved approval such as reimbursement approval, leave-on approval and the like; the user may input "XXX taxi taking" so that a corresponding application or the like concerning taxi taking may be searched. Of course, the user may also generate the input information through the search bar at the PC end, which is not described herein.
The user may also generate the input information in a communication session, in addition to the input information in the search field, i.e., the user is in a communication object
The method comprises the step of inputting information generated in a communication session of the conversation robot, wherein the search result display area can be a communication session display area corresponding to 5 of the communication session. Communication sessions involving conversational robots may refer to intelligent replies to robots, for example, may be provided
When the robot customer service is set, in the communication session between the user and the robot customer service, the content input by the user in the session page can be regarded as the input information of the user. For example, a user asks a robot for customer service in a communication session: please provide XX taxi taking. Then "please provide XX get on the bus" may be regarded as input information for the user. In addition to the robot customer service, two parties of different users can actually communicate
Either user may be provided with a conversation robot for himself, automatically replying to the conversation of the other user, for example: user A set 0 sets the automatic reply of the conversation robot, user B can initiate conversation to user A, user B sends "hello" to user A, then to
Accordingly, "hello" may be regarded as input information of the user. And because the user A sets automatic reply, related application search matching is not needed, and a corresponding application display interface can be directly fed back to the user B according to the communication content returned by the conversation robot. That is, in the case that the input information is from the communication session, the application presentation interface may be shown in the communication session display area according to the communication content returned by the conversation robot.
5 it should be noted that although the input information of the above embodiment may be generated through a search bar or generated in a communication session, the present invention is described as
The specification is not limited to a specific input manner, and may be, for example, manual input by a user, voice input, or the like.
Step 304, for a target application related to the input information, displaying an application display interface corresponding to the target application in a search result display area, and displaying application data of the target application in the application display interface.
The application data may include content presentation data and/or functional operation items of the target application. Content presentation data is associated with application 0, and different applications may correspond to different content presentation data, which may be used to describe application details. For example, in
In the reimbursement approval application, the content display data can comprise corresponding reimbursement types, reimbursement amounts, reimbursement event and participators and the like.
FIG. 5 is a schematic diagram of an application display interface provided by an exemplary embodiment of the present disclosure, wherein a user may enter a group member name, such as "XXX", in a search field in an instant messaging application, so that the user may view the group member "XXX" in an approval application "
And (5) initiating approval. Among these, there may be a "more" function operation item 501, a "reject" function operation item 502, and a "agree" function operation item 503,5, and a reimbursement type, reimbursement amount, reimbursement event, a participant, and the like may be used as the content presentation data 504. As can be seen from FIG. 5, the present specification
The search result display method can directly display application data on the application display interface, and the application data can comprise content display data 504 and/or function operation items of the target application, so that when the user uses the search result display method, the user can directly acquire corresponding application information and start corresponding functions, and the operation of the user is greatly simplified. In a taxi taking application, the content presentation data may include corresponding candidate vehicle types, coupon categories, and the like. By showing the content display data, the user can directly know the details of the application in the application display interface, the user does not need to access the application, and the operation path of the user is shortened. The function operation items may refer to application functions corresponding to the application, for example, taking a taxi taking application as an example, there may be a "cancel taxi taking" function operation item and a "contact driver" function operation item. As shown in fig. 6, fig. 6 is a schematic view of an application presentation interface provided in an exemplary embodiment of the present specification, in which a user may input "XX get on the car" in a search bar, so that an application presentation interface 604 corresponding to the target application is shown in a search result display area 603, and application data of the target application is shown in the application presentation interface. The application presentation interface 604 shown in fig. 6 may be considered in the form of an information card on which application data is displayed, so the application presentation interface 604 may also be referred to in the form of an application presentation card. That is, the application data may include content presentation data and function operations such as a "cancel drive" function operation item 601 and a "contact driver" function operation item 602. The function operation items can enable a user to trigger directly, namely, the client can respond to triggering operation of any function operation item to start application functions related to any function operation item in the target application. Therefore, a user does not need to click an application entry to enter an operation interface of the application, and related functions of the application can be triggered and started directly in the application display interface, so that the operation path of the user is shortened. Of course, the present specification does not limit whether the content presentation data and the function selection item are presented together, that is, only the content presentation data or only the function selection item is presented according to actual requirements. As shown in fig. 7, fig. 7 is a schematic diagram of an application display interface according to an exemplary embodiment of the present disclosure, where after a user inputs "workflow" in a search bar, a corresponding "XX workflow" application may be displayed, or a corresponding "workflow" display card may be displayed. And, at this time, the application data may include only function operations such as a "my tasks" function operation item 701, a "me initiated" function operation item 702, a "my settings" function operation item 703, an "approval assistant" function operation item 704, a "help documents" function operation item 705, and a "problem consultation" function operation item 706. The user may select a corresponding function selection item by triggering an operation, so that the client starts the user-selected function application function, for example, the user selects the "my task" function operation item 701, and the user may view the task corresponding to the user. Therefore, the application data in the specification can only comprise the corresponding function operation items, so that a user does not need to click an application entry to enter an operation page of the application, and the corresponding function of the application can be realized on the application display interface, the operation path of the user is saved, and the efficiency is improved.
It should be noted that different users may correspond to different identities, for example, in a taxi taking application, user a may be the passenger identity and user B may be the driver identity. In the reimbursement approval application, user a may be the initiator and user B may be the approver. Application data matching the user may be shown in the application presentation interface because of the difference of the user. I.e. different users may show different application data, thus fitting more into the actual situation. Taking the approval application as an example, in the case that the user is an approver, the content display data may display the corresponding approval type, the approval amount, the approval result, the participators, and the like, and the function selection items may include "approve" function operation items, "reject" function operation items, and "more" function operation items. In the case that the user is the initiator, the content display data may display the corresponding approval result, the type of reimbursement, the reimbursement event, etc., and the function selection items may be "initiate" function operation items, "withdraw approval" function operation items, etc. By displaying the application data matched with the user in the application display interface, the application display interface can be more fit with the actual requirement of the user, and targeted application display is realized. In an embodiment, user data related to the user may also be shown in an application presentation interface. For example, taking a payment application as an example, it may show a user's name, a user's balance, a historical transaction record, and so forth. Taking the example of a taxi taking application, it may show the geographical location of the user, etc., as shown in fig. 6, it may show geographical location data related to the user.
As described above, the PC side can also generate the input information through the search bar, so the corresponding application interface schematic can be shown as follows.
Fig. 8 is a schematic diagram of a PC-side application presentation interface according to an exemplary embodiment of the present disclosure. The user may input "travel" in the search bar, so that an application display interface 809 corresponding to the target application (the target application may be "XX travel") may be shown in the search result display area 808, and application data of the target application may be shown in the application display interface 809, where, of course, the application display interface 809 may also be regarded as an application display card as described above in a form on the PC side, that is, "XX travel" display card is shown in the search result display area 808. In particular, the application data may include content presentation data and/or functional operation items of the target application ("XX trip"). Such as a "in car" function operation item 801, a "hotel" function operation item 802, a "travel application" function operation item 803, a "travel reimbursement" function operation item 804, a "train ticket" function operation item 805, an "air ticket" function operation item 806, and an "billing information" function operation item 807, a user can directly view specific application details at an application presentation interface, and activate a corresponding application function by triggering the function operation items as described above.
Fig. 9 is a schematic diagram of a PC-side application presentation interface according to an exemplary embodiment of the present disclosure. In which a user can input "OK" in the search field, so that a corresponding document application including "OK" can be shown in the search result display area, and since the "OK document 1" hits the keyword "OK", the "OK" can be differentially displayed so that the user can know that the document name hits the keyword. The function operation item 901 and the share function operation item 902 may also be included, so that the user triggers the function operation item to start the corresponding application function. If the "OK document 1" is saved in PDF format or the "OK document 1" is shared to other users, etc. Of course, in some embodiments, the document application may not include the function operation item, so that only the content presentation data is displayed.
Fig. 10 is a schematic diagram of a PC-side application presentation interface according to an exemplary embodiment of the present disclosure. The user can input a keyword "XX" in the search field, so as to obtain a display card of the corresponding application of "XXX", wherein a corresponding document can be attached for the user to read, for example, the document of "reference document 1" can be introduced with a corresponding flow of "XXX application", the document of "model introduction" can be introduced with the XXX model, and the like, and of course, the "copy link" function operation item 1001 and the "forward" function operation item 1002 and the "more" function operation item 1003 can also be triggered by the user, so as to start the function of the corresponding application.
As described above, the input information may be generated not only in the search field but also in the communication session in which the communication object includes the conversation robot, so that the present specification will next describe in detail how to show the application presentation interface in the communication session with reference to the accompanying drawings.
Fig. 11 is a schematic diagram of a communication session application presentation interface according to an exemplary embodiment of the present disclosure, where a user "white xiao Shuai" may be provided with a conversation robot, so that after a session is initiated to "white xiao Shuai" by another user, the conversation robot may automatically reply to a message based on the conversation. The search result display area at this time may be a communication session display area 1101 corresponding to a communication session, and the application display interface at this time may be the application display interface 1102 shown in the communication session display area 1101 according to the communication content returned by the conversation robot by the client, that is, the application display card shown in the communication session display area 1101. Where the automatically replied content may be considered content presentation data in the application data as described above, the "sign-up" function operation item 1103 may be initiated by a trigger operation by the user.
Fig. 12 is a schematic diagram of a communication session application display interface provided in an exemplary embodiment of the present disclosure, referring to fig. 12, a user "white xiao Shuai" sets an automatic reply, that is, a conversation robot as described above, and the application display interface displays that the user "white xiao Shuai" is participating in a meeting, and the ending time of the meeting is counted down, and because the meeting may be prolonged, interrupted, etc. at any time, the application display template at this time may be considered as a dynamic template, so that a client may acquire dynamic data according to a service interface defined in the dynamic template and perform dynamic rendering according to the dynamic data. If the dynamic data acquired by the service interface indicates that the conference is prolonged, the corresponding countdown can also be prolonged at the moment, and the like.
Fig. 13 is a schematic diagram of a communication session application presentation interface according to an exemplary embodiment of the present disclosure, and specifically, application data may include a "view busy" function operation item 1301 and a "reserved meeting" function operation item 1302. After the other users initiate a session to user "white xiao Shuai", based on the auto-answer function, the client may show a corresponding application presentation interface, while the other users may view the specific idle time of user "white xiao Shuai" by triggering the "view busy" function operation item 1301, and reserve a meeting with user "white xiao Shuai" by triggering the "reserve meeting" function operation item 1302. It should be noted that, because the conversation robot is adopted, the server may not match the input information, but may automatically reply, that is, the client may show the same application display interface no matter what information is input by other users, so that the matching operation of the keywords as described above may be omitted. Of course, in order to make the content of the reply of the "conversation robot" more fit to the user requirement, the keyword matching operation may also be reserved, so that the corresponding application display template is rendered, which is not limited in this specification.
In an embodiment, the search result display area may refer to a search result page, and the displaying of the application display interface may be implemented by using an application display template, that is, the client may determine an application display template corresponding to the target application, and render the application display template to generate an application display interface corresponding to the target application, and display the application display interface in the search result page, where, as previously described, the application display interface may be regarded as an application display card in form, and then the corresponding application display template may also be regarded as a card template. That is, the client described in this specification introduces a front-end technology stack dynamization scheme, so that the client has front-end dynamicity and cross-end dynamicity. The applications on the mobile operating system are subjected to the processes of source code writing, packaging compiling, issuing application shops, user upgrading and installing and the like before issuing, sometimes only the color of one control is modified, but the code is modified and a few minutes are waited for verifying the result, so that the development efficiency is low. In view of this, the present specification introduces a dynamic scheme of the front-end technology stack to the client, and the client renders the application display template to display the interface, so that even if a style needs to be changed, the style is only modified in the process of generating the application display template, and the storage can take effect, thereby accelerating the development efficiency.
Of course, the application display template may be a static template or a dynamic template, and the dynamic template may refer to a template with a dynamic change function, for example, a time change template, a taxi taking application display template dynamically displays passengers, vehicle positions (as shown in fig. 6), and the like. Correspondingly, under the condition that the application display template is a static template, the client can conduct static rendering according to static data defined in the static template; or, in the case that the application display template is a dynamic template, the client may acquire dynamic data according to a service interface defined in the dynamic template, and perform dynamic rendering according to the dynamic data.
Because the number of applications is not limited to one, there are often a plurality of applications, such as an approval application, a driving application, a document application, a workflow application, etc., so that in order for a client to accurately determine a rendered application display template, a server may be maintained with a correspondence between an application instance identifier and an application, and the client may send the input information to the server, so that the server determines a corresponding target application according to the input information, and determines an application instance identifier corresponding to the target application according to the correspondence; and receiving the application instance identifier returned by the server, and determining an application display template corresponding to the received application instance identifier as an application display template corresponding to the target application. Specifically: assuming that a keyword input by a user is XX taxi taking, the client can send the keyword to the server, the server can determine that a corresponding target application is XX taxi taking according to the keyword, and the server can send an application instance ID corresponding to XX taxi taking to the client, so that the client can determine an application display template corresponding to the received application instance ID as an application display target corresponding to the target application, and accurately determine a rendered application display template.
In an embodiment, the client may be a client of an instant messaging application, and the target application may be a micro application in the instant messaging application, and the application display interface includes an application display card. That is, the application presentation interface may be regarded as a type of application presentation card in form, such as the embodiments shown in the drawings of fig. 5, 6, and 7, etc., each of which may be regarded as showing a corresponding application presentation card, such as a "workflow" presentation card, an "XX travel" presentation card, an "approval" presentation card, etc., in the search result display area, and application data is shown on each card.
Fig. 14 is a flowchart of a method for displaying search results according to an exemplary embodiment of the present disclosure, where the method may be applied to a server, and may specifically include the following steps:
step 1402, obtaining input information from a user through a client.
In one embodiment, the input information may include: input information generated by a user in a search field; or, the user inputs information generated in the communication session of the conversation robot in the communication object, wherein the search result display area is a communication session display area corresponding to the communication session.
Step 1404, returning a corresponding search result according to the input information, so that the client side: for a target application related to the input information, an application presentation interface corresponding to the target application is shown in a search result display area, and application data of the target application is shown in the application presentation interface.
In an embodiment, the application data may include content presentation data and/or functional operation items of the target application. The application data can comprise content display data and/or function operation items of the target application, so that when the user uses the application data, the user can directly acquire corresponding application information and/or start corresponding functions, the operation of the user is simplified, and the efficiency is improved.
In an embodiment, the function operation items may be used to enable the client to respond to a trigger operation for any function operation item, and start an application function related to any function operation item in the target application.
In an embodiment, the application data may include application data that matches the user. By displaying the application data matched with the user in the application display interface, the application display interface can be more fit with the actual requirement of the user, and targeted application display is realized.
In an embodiment, in a case that the input information is from the communication session, communication content provided by the conversation robot for the input information may be returned through the communication session, so that the application display interface is shown in the communication session display area by the client according to the communication content.
In an embodiment, the application presentation interface also shows user data related to the user.
In one embodiment, the search result display area includes a search result page and the application presentation interface is generated by the client by rendering an application presentation template corresponding to the target application.
In an embodiment, in the case that the application display template is a static template, the application display interface is obtained by performing static rendering by the client according to static data defined in the static template; and under the condition that the application display template is a dynamic template, the application display interface is obtained by the client side according to dynamic data obtained by the service interface defined in the dynamic template and carrying out dynamic rendering according to the dynamic data.
In an embodiment, the server may maintain a correspondence between the application instance identifier and the application, and then the server may determine a corresponding target application according to the input information sent by the client; and determining an application instance identifier corresponding to the target application according to the corresponding relation, so that the client receives the application instance identifier returned by the server, and determining an application display template corresponding to the received application instance identifier as an application display template corresponding to the target application.
Because the requirements of modification and creation exist for the application display template, the server side can respond to the modification requirements of the user for the application display template to acquire user-input custom modification data; updating the application display template according to the custom modification data; or, responding to the creation requirement of the user for the application display template, and acquiring user-defined creation data input by the user; and creating a corresponding application display template according to the custom creation data, and updating the corresponding relation maintained by the application display template. As shown in fig. 15, a user may create a corresponding application display template at the server, and select whether the template is a static template or a dynamic template, and after the creation is completed, if the template is a dynamic template, the client may perform dynamic rendering, so that the client displays application data, such as displaying content display data and functional operation items.
The client can be a client of an instant messaging application, the target application can be a micro application in the instant messaging application, and the application display interface can display a card for the application.
Based on the above embodiment, when the user performs the search operation, it is assumed that the input information provided by the user is associated with a certain application, and then an application display interface may be shown in the search result display area, and the application display interface may further show application data, so that the user can obtain the application data without clicking an application entry to enter the corresponding application operation interface, thereby simplifying the operation path of the user and improving the operation efficiency.
Corresponding to the embodiments of the aforementioned method, the present specification also provides embodiments of an apparatus, an electronic device, and a storage medium.
Fig. 16 is a schematic structural diagram of an electronic device provided in an exemplary embodiment. Referring to fig. 16, at the hardware level, the device includes a processor 1601, a network interface 1602, a memory 1603, a non-volatile storage 1604, and an internal bus 1605, although other hardware required for other services is also possible. One or more embodiments of the present description may be implemented in a software-based manner, such as by the processor 1601 reading a corresponding computer program from the non-volatile storage 1604 into the memory 1603 and then running. Of course, in addition to software implementation, one or more embodiments of the present disclosure do not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but may also be hardware or a logic device.
FIG. 17 is a block diagram of a search result presentation apparatus provided by an exemplary embodiment. Referring to fig. 17, the apparatus may be applied to a client, and the apparatus includes:
A first obtaining unit 1702 configured to obtain input information from a user.
A display unit 1704 for displaying, for a target application related to the input information, an application presentation interface corresponding to the target application in a search result display area, and application data of the target application in the application presentation interface.
Optionally, the first obtaining unit 1702 is specifically configured to: acquiring input information generated by the user in a search bar; or, acquiring input information generated by the user in a communication session of the communication object including the conversation robot, wherein the search result display area is a communication session display area corresponding to the communication session.
Optionally, the illustrated unit 1704 is specifically configured to: and under the condition that the input information comes from the communication session, the application display interface is shown in the communication session display area according to the communication content returned by the conversation robot.
Optionally, the application data includes content presentation data and/or functional operation items of the target application.
Optionally, the apparatus further comprises:
a starting unit 1706, configured to start an application function related to any function operation item in the target application in response to a trigger operation for the any function operation item.
Optionally, the illustrated unit 1704 is specifically configured to: application data matching the user is shown in the application presentation interface.
Optionally, the apparatus further comprises:
a user data showing unit 1708 for showing user data related to the user in the application presentation interface.
Optionally, the search result display area includes a search result page, and the showing unit 1704 is specifically configured to: determining an application display template corresponding to the target application; rendering the application presentation template to generate an application presentation interface corresponding to the target application, and displaying the application presentation interface in the search result page.
Optionally, the illustrated unit 1704 is specifically configured to: under the condition that the application display template is a static template, performing static rendering according to static data defined in the 5 static templates; or, in the case that the application display template is a dynamic template, according to the application display template
And the service interface defined in the dynamic template acquires dynamic data and performs dynamic rendering according to the dynamic data.
Optionally, the server maintains a correspondence between the application instance identifier and the application. The illustrated unit 1704 is specifically configured to: the input information is sent to the server so that the server determines the corresponding target application according to the input information,
Determining an application instance identifier corresponding to the target application according to the corresponding relation; and receiving the application instance identifier returned by the server, and determining an application display template corresponding to the received application instance identifier as an application display template corresponding to the target application.
Optionally, the client is a client of an instant messaging application, the target application is a micro application in the instant messaging application, and the application display interface includes an application display card.
FIG. 18 is a block diagram of a search result presentation apparatus provided in an exemplary embodiment, and referring to FIG. 18, the apparatus may be adapted to
The device is used for a service end and comprises:
and a second obtaining unit 1802 for obtaining input information from a user through a client.
A returning unit 1804, configured to return a corresponding search result according to the input information, so that the client side: for a target application related to the input information, an application presentation interface corresponding to the target application is shown in a search result display area, and application data of the target application is shown in the application presentation interface.
Optionally, the input information includes: input information generated by the user in a search bar; or, the user inputs information generated in the communication session of the conversation robot in the communication object 0, wherein the search result display area is a communication session display area corresponding to the communication session.
Optionally, the apparatus further comprises:
a communication return unit 1806 for returning through the communication session in case the input information comes from the communication session
And returning communication contents provided by the conversation robot aiming at the input information so that the client side can show the application display interface in the communication 5-communication session display area according to the communication contents.
Optionally, the application data includes content presentation data and/or functional operation items of the target application.
Optionally, the function operation items are used for enabling the client to respond to triggering operation of any function operation item, and starting application functions related to any function operation item in the target application.
Optionally, the application data includes application data matched with the user.
0 optionally, user data related to the user is also shown in the application presentation interface.
Optionally, the search result display area includes a search result page, and the application display interface is generated by the client through rendering an application display template corresponding to the target application.
Optionally, in the case that the application presentation template is a static template, the application presentation interface is executed by the client according to the client
Static rendering is carried out on static data defined in a static template to obtain the static rendering;
5 in the case that the application display template is a dynamic template, the application display interface is used by the client according to the dynamic template
The service interface defined in the method is obtained by obtaining dynamic data and carrying out dynamic rendering according to the dynamic data.
Optionally, the server maintains a correspondence between the application instance identifier and the application, and the apparatus further includes: an application instance identification unit 1808, configured to determine a corresponding target application according to input information sent by the client; and determining an application instance identifier corresponding to the target application according to the corresponding relation, so that the client receives the application instance identifier returned by the server, and determining an application display template corresponding to the received application instance identifier as an application display template corresponding to the target application.
Optionally, the apparatus further comprises:
a modification creation unit 1810, configured to obtain user-input custom modification data in response to a modification requirement of a user for the application presentation template; updating the application display template according to the custom modification data; or, responding to the creation requirement of the user for the application display template, and acquiring user-defined creation data input by the user; and creating a corresponding application display template according to the custom creation data, and updating the corresponding relation maintained by the application display template.
Optionally, the client is a client of an instant messaging application, the target application is a micro application in the instant messaging application, and the application display interface includes an application display card.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present description. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
In a typical configuration, a computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
For a computer-readable medium (or computer-readable storage medium) as described above or any other form, computer instructions may be stored thereon, which when executed by a processor, implement one or more of the various embodiments described above, thereby implementing the solutions of the present specification.
The present specification also proposes a computer program which, when executed by a processor, implements one or more of the various embodiments described above, thereby implementing the technical solutions of the present specification. Wherein the computer program may be embodied on a computer readable medium as described above or any other form, and the present specification is not limited thereto.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present specification. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present description as detailed in the accompanying claims.
The terminology used in the description presented herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present description. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (14)

1. A method for displaying search results, applied to a client, the method comprising:
acquiring input information from a user;
for a target application related to the input information, an application presentation interface corresponding to the target application is shown in a search result display area, and application data of the target application is shown in the application presentation interface.
2. The method according to claim 1,
the obtaining input information from the user includes: acquiring input information generated by the user in a search bar; or, acquiring input information generated by the user in a communication session of which the communication object comprises a conversation robot, wherein the search result display area is a communication session display area corresponding to the communication session;
the displaying the application presentation interface corresponding to the target application in the search result display area includes: and under the condition that the input information comes from the communication session, the application display interface is shown in the communication session display area according to the communication content returned by the conversation robot.
3. The method of claim 1, the application data comprising content presentation data and/or functional operational items of the target application.
4. A method according to claim 3, the method further comprising:
and responding to the triggering operation aiming at any function operation item, and starting the application function related to any function operation item in the target application.
5. The method of claim 1, the displaying application data of the target application in the application presentation interface, comprising:
application data matching the user is shown in the application presentation interface.
6. The method of claim 1, the method further comprising:
user data associated with the user is shown in the application presentation interface.
7. The method of claim 1, the search result display area comprising a search result page, the displaying an application presentation interface in the search result display area corresponding to the target application, comprising:
determining an application display template corresponding to the target application;
rendering the application presentation template to generate an application presentation interface corresponding to the target application, and displaying the application presentation interface in the search result page.
8. The method of claim 7, the rendering the application presentation template comprising:
Under the condition that the application display template is a static template, performing static rendering according to static data defined in the static template; or alternatively, the first and second heat exchangers may be,
and under the condition that the application display template is a dynamic template, acquiring dynamic data according to a service interface defined in the dynamic template, and performing dynamic rendering according to the dynamic data.
9. The method of claim 7, wherein the server maintains a correspondence between the application instance identifier and the application; the determining the application display template corresponding to the target application comprises the following steps:
the input information is sent to the server, so that the server determines a corresponding target application according to the input information, and determines an application instance identifier corresponding to the target application according to the corresponding relation;
and receiving the application instance identifier returned by the server, and determining an application display template corresponding to the received application instance identifier as an application display template corresponding to the target application.
10. The method of claim 1, the client being a client of an instant messaging application, the target application being a micro-application in the instant messaging application, the application presentation interface comprising an application presentation card.
11. A display device of search results, applied to a client, the device comprising:
a first acquisition unit configured to acquire input information from a user;
and a display unit for displaying, for a target application related to the input information, an application presentation interface corresponding to the target application in a search result display area, and displaying application data of the target application in the application presentation interface.
12. A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method according to any of claims 1-10.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1-10 when the program is executed.
14. A computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1-10.
CN202211669887.4A 2022-12-25 2022-12-25 Display method and device for search results Pending CN116166861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211669887.4A CN116166861A (en) 2022-12-25 2022-12-25 Display method and device for search results

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211669887.4A CN116166861A (en) 2022-12-25 2022-12-25 Display method and device for search results

Publications (1)

Publication Number Publication Date
CN116166861A true CN116166861A (en) 2023-05-26

Family

ID=86414039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211669887.4A Pending CN116166861A (en) 2022-12-25 2022-12-25 Display method and device for search results

Country Status (1)

Country Link
CN (1) CN116166861A (en)

Similar Documents

Publication Publication Date Title
CN112956162B (en) Automated chat robot handling
KR101793663B1 (en) Conversational question and answer
KR20190080599A (en) Method and server for providing semi-automatic communication using chatbot and consultant
KR20180051556A (en) Method and device for implementing service functions
KR102169397B1 (en) Method and server for providing semi-automatic communication using chatbot and consultant
CN111626452B (en) Intelligent government affair processing method, device, terminal and medium
CN106991112B (en) Information query method and device
JP7108795B2 (en) Target verification for network-based services
CN110689393B (en) Man-machine interaction method, device, system and storage medium
CN109684873A (en) Data access control method, device, computer equipment and storage medium
US11494738B2 (en) Re-engineering user login / registration process for job applicants
CN108140176A (en) Search result is concurrently identified from the local search and long-range search to communication
US9514407B1 (en) Question generation in knowledge-based authentication from activity logs
JP2004139208A (en) Device, system, method, and program for accounting
CN111917631A (en) Internet financial service method, device, electronic equipment, readable storage medium and system
US10510104B2 (en) Devices and methods for acquiring data comparison information
CN109615443B (en) User processing method, device, server and storage medium based on block chain
US20230281695A1 (en) Determining and presenting information related to a semantic context of electronic message text or voice data
US20150088689A1 (en) Product Recognition Platform
CN112383469A (en) Information processing method and device, computer readable medium and electronic equipment
CN116166861A (en) Display method and device for search results
CN111626684B (en) Intelligent tax processing method, device, terminal and medium
CN104581371A (en) Method, terminal, sever and system for media interaction
CN110555593B (en) Method and device for processing issue of credit contract system
CN113221080A (en) Account registration processing 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